﻿@charset "UTF-8";
:root{--navy:#062d72;--navy-2:#0b438f;--blue:#1768c4;--cyan:#19b7e5;--yellow:#ffd400;--bg:#f2f8fc;--surface:#ffffff;--surface-soft:#f8fbfe;--line:#d7e5f1;--ink:#17324d;--muted:#60738c;--shadow-sm:0 3px 10px rgba(20,60,90,.08);--shadow-md:0 9px 24px rgba(20,60,90,.13);--shell-topbar-height:52px;--shell-sidebar-width:168px;--shell-gutter:10px}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Arial,"Segoe UI",sans-serif}
[hidden]{display:none!important}
.skip-link{position:fixed;top:8px;left:8px;z-index:3000;padding:9px 13px;border:2px solid #1768c4;border-radius:7px;background:#fff;color:#062d72;transform:translateY(-180%);transition:transform .2s ease}.skip-link:focus{transform:translateY(0)}
body.is-login{min-height:100dvh;background:#edf5fb;color:var(--navy)}
.login-screen{min-height:100dvh;display:flex;align-items:center;justify-content:flex-end;padding:clamp(20px,4vw,56px);overflow-x:hidden;overflow-y:auto}
.login-educadmaule-brand{position:absolute;top:20px;left:24px;z-index:2;width:clamp(190px,20vw,270px);height:80px;display:flex;align-items:center;justify-content:flex-start;padding:8px 12px;border:1px solid rgba(180,207,226,.72);border-radius:11px;background:rgba(255,255,255,.88);box-shadow:0 8px 24px rgba(4,35,67,.14);backdrop-filter:blur(6px);pointer-events:none}
.login-educadmaule-brand img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:left center}
body.is-login .login-panel,body.visual-modern.is-login .login-panel,body.visual-classic.is-login .login-panel{position:relative!important;width:min(388px,calc(100vw - 32px))!important;max-width:388px!important;height:auto!important;margin:0!important;padding:23px 26px 18px!important;display:grid!important;gap:13px!important;overflow:visible!important;border:1px solid rgba(168,198,222,.78)!important;border-radius:16px!important;background:rgba(255,255,255,.93)!important;box-shadow:0 18px 48px rgba(5,45,88,.2)!important;backdrop-filter:blur(8px)!important;text-align:left!important}
body.is-login #loginLogo,body.visual-modern.is-login #loginLogo,body.visual-classic.is-login #loginLogo{width:62px!important;height:76px!important;min-width:62px!important;min-height:76px!important;margin:0 auto 2px!important;padding:6px!important;border:1px solid #d3e5f2!important;border-radius:13px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 7px 18px rgba(13,86,168,.12)!important;overflow:hidden!important}
#loginLogo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
body.is-login #loginSystemTitle{max-width:100%!important;margin:0!important;color:var(--navy)!important;font-size:clamp(1.35rem,2.5vw,1.68rem)!important;font-weight:750!important;line-height:1.12!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.is-login .login-panel>div>p{margin:4px 0 0!important;color:#58708a!important;font-size:.82rem!important;line-height:1.25!important;text-align:center!important}
body.is-login .login-form{display:grid!important;gap:11px!important}
body.is-login .login-form label{display:grid;margin:0;gap:6px;color:#183b61;font-size:.78rem;font-weight:700;line-height:1.2}
body.is-login .login-form label[hidden]{display:none!important}
body.is-login .login-form input:not([type=checkbox]),body.is-login .login-form select{width:100%;min-height:42px;height:42px;margin:0;padding:8px 11px;border:1px solid #a9c5db;border-radius:8px;background:#fff;color:#17324d;font:inherit;box-shadow:inset 0 1px 2px rgba(20,60,90,.04);transition:border-color .18s ease,box-shadow .18s ease}
body.is-login .login-form input:not([type=checkbox]):focus{outline:0;border-color:#1768c4;box-shadow:0 0 0 3px rgba(25,183,229,.2)}
body.is-login .password-field{display:grid;grid-template-columns:minmax(0,1fr) 44px;width:100%;margin:0}
body.is-login .password-field input{min-width:0;margin:0!important;border-radius:8px 0 0 8px!important}
body.is-login .password-toggle{width:44px;min-width:44px;height:42px;border:1px solid #a9c5db;border-left:0;border-radius:0 8px 8px 0;background:#edf7fd;color:#0754a1;cursor:pointer}
body.is-login .password-toggle:hover{background:#dff2fb}
body.is-login .login-remember{display:flex!important;align-items:center!important;gap:8px!important;color:#31516e!important;font-size:.76rem!important;font-weight:600!important}
body.is-login .login-remember input{width:17px;height:17px;margin:0;accent-color:#118a63}
body.is-login .login-form .btn-primary{width:100%!important;min-height:43px!important;margin-top:1px!important;border:1px solid #078c9b!important;border-radius:8px!important;background:linear-gradient(180deg,#20bfe8,#12a9d4)!important;color:#052c5f!important;font-weight:800!important;box-shadow:0 6px 14px rgba(25,183,229,.2)!important;cursor:pointer!important}
body.is-login .login-form .btn-primary:hover{background:linear-gradient(180deg,#35c8ed,#18b1da)!important;transform:translateY(-1px)}
body.is-login #loginHelp{min-height:17px;margin:0;color:#b42318;font-size:.72rem;font-weight:700;line-height:1.25;text-align:center}
@media (max-width:700px){.login-screen{align-items:flex-start;justify-content:center;padding:86px 16px 18px;overscroll-behavior-y:contain}.login-educadmaule-brand{top:13px;left:50%;width:200px;height:62px;transform:translateX(-50%);justify-content:center;padding:6px 10px}.login-educadmaule-brand img{object-position:center}body.is-login .login-panel,body.visual-modern.is-login .login-panel,body.visual-classic.is-login .login-panel{width:min(380px,100%)!important;margin:auto!important;padding:21px 22px 16px!important}.login-screen::before{background:rgba(4,35,67,.24)}}
@media (max-width:420px){.login-screen{padding:76px 12px 12px}.login-educadmaule-brand{top:10px;width:176px;height:54px}body.is-login .login-panel,body.visual-modern.is-login .login-panel,body.visual-classic.is-login .login-panel{width:100%!important;padding:18px 17px 14px!important;border-radius:13px!important}body.is-login #loginLogo{width:56px!important;height:69px!important;min-width:56px!important;min-height:69px!important}body.is-login #loginSystemTitle{font-size:1.28rem!important}}
body.is-authenticated{background:linear-gradient(135deg,#f3f8fd 0%,#eef6fc 55%,#f9f6ee 100%);color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility}
body.is-authenticated .app-shell,body.visual-modern.is-authenticated .app-shell,body.visual-classic.is-authenticated .app-shell{display:block!important;width:100%!important;max-width:100vw!important;min-height:100dvh!important;padding:0!important;overflow:visible!important}
body.is-authenticated .topbar,body.visual-modern.is-authenticated .topbar,body.visual-classic.is-authenticated .topbar{position:fixed!important;inset:0 0 auto 0!important;z-index:1000!important;width:100%!important;max-width:none!important;height:var(--shell-topbar-height)!important;min-height:var(--shell-topbar-height)!important;max-height:var(--shell-topbar-height)!important;display:block!important;margin:0!important;padding:4px 10px!important;gap:0!important;border:0!important;border-bottom:3px solid var(--yellow)!important;border-radius:0!important;background:linear-gradient(100deg,#05275f 0%,#073b83 62%,#0b4b98 100%)!important;box-shadow:0 4px 16px rgba(4,35,83,.2)!important;overflow:visible!important}
body.is-authenticated .brand-row,body.visual-modern.is-authenticated .brand-row,body.visual-classic.is-authenticated .brand-row{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:41px!important;min-height:41px!important;max-height:41px!important;display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.is-authenticated .brand,body.visual-modern.is-authenticated .brand,body.visual-classic.is-authenticated .brand{display:flex!important;grid-template-columns:none!important;flex:1 1 0!important;align-items:center!important;gap:7px!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
body.is-authenticated .identidad-institucional,body.visual-modern.is-authenticated .identidad-institucional,body.visual-classic.is-authenticated .identidad-institucional{display:block!important;min-width:0!important}
body.is-authenticated .brand h1,body.visual-modern.is-authenticated .brand h1,body.visual-classic.is-authenticated .brand h1{width:auto!important;max-width:100%!important;margin:0!important;color:#fff!important;font-size:.93rem!important;line-height:1.05!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
body.is-authenticated .brand p,body.visual-modern.is-authenticated .brand p,body.visual-classic.is-authenticated .brand p{display:block!important;width:auto!important;max-width:100%!important;margin:2px 0 0!important;color:#cfe5ff!important;font-size:.53rem!important;line-height:1.1!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important}
.contenedor-logo{width:31px!important;height:37px!important;min-width:31px!important;flex:0 0 31px!important;padding:2px!important;border-radius:6px!important;background:#fff!important;overflow:hidden!important}
.contenedor-logo img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
body.is-authenticated .active-module-card,body.is-authenticated .topbar-search,body.visual-modern.is-authenticated .active-module-card,body.visual-modern.is-authenticated .topbar-search,body.visual-classic.is-authenticated .active-module-card,body.visual-classic.is-authenticated .topbar-search{display:none!important}
body.is-authenticated .actions,body.visual-modern.is-authenticated .actions,body.visual-classic.is-authenticated .actions{position:static!important;inset:auto!important;transform:none!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:none!important;display:flex!important;grid-template-columns:none!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;margin:0 0 0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.is-authenticated .actions>.year-control,body.is-authenticated .actions>.icon-btn,body.visual-modern.is-authenticated .actions>.year-control,body.visual-modern.is-authenticated .actions>.icon-btn,body.visual-classic.is-authenticated .actions>.year-control,body.visual-classic.is-authenticated .actions>.icon-btn{width:auto!important;min-width:0!important;min-height:28px!important;height:28px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;margin:0!important;padding:3px 8px!important;border:1px solid #6e9bd1!important;border-radius:5px!important;background:#124a98!important;color:#fff!important;font-size:.63rem!important;line-height:1!important;white-space:nowrap!important;overflow:visible!important;box-shadow:none!important}
body.is-authenticated .actions>.hidden-file{display:none!important}
body.is-authenticated #mainNav,body.visual-modern.is-authenticated #mainNav,body.visual-classic.is-authenticated #mainNav{position:fixed!important;inset:var(--shell-topbar-height) auto 0 0!important;z-index:900!important;width:var(--shell-sidebar-width)!important;max-width:var(--shell-sidebar-width)!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:7px 5px!important;background:var(--navy)!important;display:flex!important;grid-template-columns:none!important;flex-direction:column!important;align-content:initial!important;gap:4px!important;transform:none!important;visibility:visible!important;pointer-events:auto!important;overflow-x:hidden!important;overflow-y:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.is-authenticated #mainNav::before,body.visual-modern.is-authenticated #mainNav::before,body.visual-classic.is-authenticated #mainNav::before{content:none!important;display:none!important}
.mobile-menu-toggle,body.is-authenticated .mobile-menu-toggle,body.visual-modern.is-authenticated .mobile-menu-toggle,body.visual-classic.is-authenticated .mobile-menu-toggle{display:none!important;width:30px;height:28px;place-items:center;padding:0;border:1px solid #74a5d6;border-radius:6px;background:#124a98;color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.18)}
body.is-authenticated .year-control select,body.visual-modern.is-authenticated .year-control select,body.visual-classic.is-authenticated .year-control select{width:58px!important;min-width:58px!important;min-height:21px!important;height:21px!important;margin:0!important;padding:1px 4px!important;border:0!important;border-radius:4px!important;background:#fff!important;color:#17324d!important;font-size:.61rem!important}
.nav-group-label{display:none}
body.is-authenticated #appMain,body.visual-modern.is-authenticated #appMain,body.visual-classic.is-authenticated #appMain{position:relative!important;margin:0 0 0 var(--shell-sidebar-width)!important;width:auto!important;max-width:none!important;min-width:0!important;min-height:100dvh!important;padding:calc(var(--shell-topbar-height) + 8px) var(--shell-gutter) 18px!important;background:radial-gradient(circle at 12% 4%,rgba(23,104,196,.07),transparent 30%),linear-gradient(135deg,#f5f9fd 0%,#eff7fc 60%,#faf8f2 100%)!important;overflow:visible!important}
body.is-authenticated #appMain .module,body.is-authenticated #appMain .module.active,body.visual-modern.is-authenticated #appMain .module,body.visual-modern.is-authenticated #appMain .module.active,body.visual-classic.is-authenticated #appMain .module,body.visual-classic.is-authenticated #appMain .module.active{width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}
body.is-authenticated .sidebar-resize-handle,body.visual-modern.is-authenticated .sidebar-resize-handle,body.visual-classic.is-authenticated .sidebar-resize-handle{display:none!important}
/* Informe académico de calificaciones: sistema visual único. */
#module-informes .academic-grade-report {
  --report-navy: #062d72;
  --report-blue: #1768c4;
  --report-cyan: #eaf7fd;
  --report-yellow: #ffd400;
  --report-border: #cbdbea;
  --report-ink: #17324d;
  width: min(100%,816px);
  max-width: 816px;
  margin: 18px auto;
  padding: 8mm;
  overflow: visible;
  border: 1px solid #d8e3ee;
  border-top: 4px solid var(--report-blue);
  border-radius: 3px;
  background: #fff;
  color: var(--report-ink);
  font-family: Arial,"Segoe UI",sans-serif;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 16px 38px rgba(20,60,90,.16);
}
#module-informes .academic-report-header {
  display: grid;
  grid-template-columns: 55px minmax(0,1fr) 100px;
  align-items: center;
  gap: 14px;
  min-height: 65px;
  margin: 0 0 8px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--report-blue);
}
#module-informes .academic-report-primary-logo {
  width: 55px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#module-informes .academic-report-primary-logo .logo-informe {
  display: block;
  width: 55px;
  height: 65px;
  max-width: 55px;
  max-height: 65px;
  object-fit: contain;
}
#module-informes .academic-report-secondary-logo {
  width: 100px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
#module-informes .academic-report-secondary-logo .logo-informe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100px;
  max-height: 50px;
  object-fit: contain;
}
#module-informes .academic-report-heading {
  min-width: 0;
  text-align: left;
}
#module-informes .academic-report-heading span {
  display: block;
  margin: 0 0 2px;
  color: var(--report-navy);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
}
#module-informes .academic-report-heading h1 {
  margin: 0;
  color: var(--report-blue);
  font-size: 1.42rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
#module-informes .academic-report-heading p {
  margin: 3px 0 0;
  color: #60728e;
  font-size: .78rem;
  font-weight: 600;
}
#module-informes .academic-report-student-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
  margin: 0 0 9px;
  padding: 7px;
  border: 1px solid #d7e5f2;
  border-radius: 9px;
  background: #edf5ff;
}
#module-informes .academic-report-field {
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid #dce7f1;
  border-radius: 7px;
  background: #fff;
}
#module-informes .academic-report-field.is-wide { grid-column: span 2; }
#module-informes .academic-report-field span {
  display: block;
  margin-bottom: 2px;
  color: #5b708a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}
#module-informes .academic-report-field b {
  display: block;
  min-width: 0;
  color: var(--report-ink);
  font-size: .82rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
#module-informes .academic-report-section { margin: 0 0 9px; }
#module-informes .academic-report-section > h2,
#module-informes .academic-report-observation > h2 {
  margin: 0;
  padding: 5px 9px;
  border-left: 4px solid var(--report-yellow);
  border-radius: 5px 5px 0 0;
  background: var(--report-navy);
  color: #fff;
  font-size: .82rem;
  line-height: 1.25;
}
#module-informes .academic-report-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #b9cee2;
  border-top: 0;
  border-radius: 0 0 7px 7px;
  background: #fff;
  scrollbar-color: #8bb6df #edf5fb;
}
#module-informes .academic-grade-table {
  width: 100%;
  min-width: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}
#module-informes .academic-grade-table thead { display: table-header-group; }
#module-informes .academic-grade-table th {
  padding: 6px 3px;
  border: 1px solid #2f69a9;
  background: var(--report-blue);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}
#module-informes .academic-grade-table td {
  padding: 5px 3px;
  border: 1px solid #d5e2ee;
  color: var(--report-ink);
  font-size: .78rem;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
}
#module-informes .academic-grade-table tbody tr:nth-child(even) td { background: #f1f9fd; }
#module-informes .academic-grade-table .academic-grade-subject {
  width: 36%;
  padding-left: 7px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
#module-informes .academic-grade-table .academic-grade-value { width: 5.6%; }
#module-informes .academic-grade-table .academic-grade-average { width: 8%; }
#module-informes .academic-grade-table.is-annual .academic-grade-subject { width: 36%; }
#module-informes .academic-grade-table.is-annual th:not(.academic-grade-subject),
#module-informes .academic-grade-table.is-annual td:not(.academic-grade-subject) { width: 16%; }
#module-informes .academic-grade-mark {
  min-width: 26px;
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  border-radius: 5px;
  color: var(--report-ink);
  font-weight: 800;
  white-space: nowrap;
}
#module-informes .academic-grade-mark.is-empty { color: #8998a9; font-weight: 600; }
#module-informes .academic-grade-mark.is-red { color: #a61b1b; background: #fff0f0; }
#module-informes .academic-grade-mark.is-yellow { color: #765500; background: #fff8d9; }
#module-informes .academic-grade-mark.is-blue { color: #075ba8; background: #eaf5ff; }
#module-informes .academic-grade-mark.is-green { color: #13733a; background: #eaf9ef; }
#module-informes .academic-grade-mark.is-pending,
#module-informes .academic-grade-mark.is-exempt,
#module-informes .academic-grade-mark.is-conceptual { color: #174f83; background: #e7f3fc; }
#module-informes .academic-grade-average .academic-grade-mark {
  width: 100%;
  color: #fff;
  background: var(--report-blue);
}
#module-informes .academic-report-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
}
#module-informes .academic-report-status.is-approved { color: #126b37; background: #e8f7ed; }
#module-informes .academic-report-status.is-support { color: #a11f1f; background: #feecec; }
#module-informes .academic-report-status.is-pending { color: #59697c; background: #eef2f6; }
#module-informes .academic-report-empty {
  padding: 14px !important;
  color: #66788e !important;
  text-align: center !important;
}
#module-informes .academic-report-summary {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 7px;
  margin: 0 0 9px;
}
#module-informes .academic-report-summary article {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid #c8dced;
  border-radius: 8px;
  background: #f8fbfe;
}
#module-informes .academic-report-summary span {
  display: block;
  color: #60728a;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}
#module-informes .academic-report-summary b {
  display: block;
  margin-top: 2px;
  color: var(--report-navy);
  font-size: .92rem;
  overflow-wrap: anywhere;
}

#module-informes .academic-report-observation {
  margin: 0 0 9px;
  border: 1px solid #c8dced;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}
#module-informes .academic-report-observation h2 small { margin-left: 5px; font-weight: 500; opacity: .85; }
#module-informes .academic-report-observation p {
  min-height: 42px;
  margin: 0;
  padding: 9px 11px;
  color: #304963;
  font-size: .78rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#module-informes .academic-report-continuation-note {
  min-height: 0 !important;
  padding-top: 0 !important;
  color: #60728e !important;
  font-size: .68rem !important;
  font-style: italic;
}
#module-informes .academic-report-signatures,
.report-print-page .academic-report-signatures {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: end;
  gap: 28px;
  margin: 24px auto 12px;
  max-width: 560px;
}
#module-informes .academic-report-signatures > div,
.report-print-page .academic-report-signatures > div {
  min-width: 0;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-top: 8px;
  border-bottom: 1.5px solid #172033;
  text-align: center;
}
#module-informes .academic-report-signatures .firma-digital,
.report-print-page .academic-report-signatures .firma-digital {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 52px;
  margin: 0 auto 5px;
  object-fit: contain;
}
#module-informes .academic-report-signatures span,
.report-print-page .academic-report-signatures span {
  padding: 5px 4px 0;
  color: #172033;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
}
#module-informes .academic-report-signatures b,
.report-print-page .academic-report-signatures b {
  font-size: .68rem;
  font-weight: 600;
  color: #435972;
}
#module-informes .academic-report-footer {
  margin: 0 -8mm -8mm;
  padding: 6px 8mm;
  background: var(--report-navy);
  color: #fff;
  font-size: .66rem;
  text-align: center;
  overflow-wrap: anywhere;
}
#module-informes .academic-grade-report-continuation .academic-report-observation { margin-top: 14px; }
/* Informe de niveles de logro: logos acotados y contenido compacto. */
#module-informes .achievement-report-heading,
.achievement-report-page .achievement-report-heading {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 100px;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-top: 3px solid #1768c4;
  border-bottom: 1px solid #cbdbea;
  background: #fff;
  color: #062d72;
}
#module-informes .achievement-report-heading h1,
.achievement-report-page .achievement-report-heading h1 {
  margin: 2px 0;
  color: #1768c4;
  font-size: 1.25rem;
  line-height: 1.15;
}
#module-informes .achievement-report-heading span,
.achievement-report-page .achievement-report-heading span,
#module-informes .achievement-report-heading p,
.achievement-report-page .achievement-report-heading p {
  display: block;
  margin: 0;
  color: #60728e;
  font-size: .74rem;
}
#module-informes .achievement-nuvez-screen-brand,
.achievement-report-page .achievement-nuvez-screen-brand {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  overflow: hidden;
  text-align: center;
}
#module-informes .achievement-nuvez-screen-brand img,
.achievement-report-page .achievement-nuvez-screen-brand img {
  display: block;
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
}
#module-informes .achievement-nuvez-screen-brand span,
.achievement-report-page .achievement-nuvez-screen-brand span {
  max-width: 48px;
  overflow: hidden;
  color: #60728e;
  font-size: 7px;
  line-height: 1.05;
  white-space: normal;
}
.achievement-report-page {
  width: 100%;
  max-width: 816px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  color: #172033;
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 10pt;
}
.achievement-report-page img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.achievement-report-logo { width: 55px; height: 65px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.achievement-report-logo.secondary { width: 100px; height: 50px; justify-self: end; }
.achievement-report-logo .logo-informe { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.achievement-report-heading-copy { min-width: 0; }
.achievement-report-heading-copy small { display: block; margin-top: 3px; color: #60728e; font-size: .68rem; }

.achievement-screen-header {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 100px;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
  padding: 10px 14px;
  border-top: 3px solid #1768c4;
  border-bottom: 1px solid #cbdbea;
  background: #fff;
}
.achievement-screen-header > div:nth-child(2) { min-width: 0; }
.achievement-screen-header span { display: block; color: #60728e; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.achievement-screen-header h2 { margin: 2px 0; color: #062d72; font-size: 1.15rem; line-height: 1.15; }
.achievement-screen-header p { margin: 0; color: #60728e; font-size: .75rem; }
.achievement-screen-logo { width: 55px; height: 65px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.achievement-screen-logo.secondary { width: 100px; height: 50px; justify-self: end; }
.achievement-screen-logo .logo-informe { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.achievement-report-meta { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 0 0 10px; padding: 8px; border: 1px solid #cbdbea; border-radius: 8px; background: #f2f8fc; }
.achievement-report-meta div { min-width: 0; padding: 6px 8px; border: 1px solid #d9e6f1; border-radius: 6px; background: #fff; }
.achievement-report-meta b, .achievement-report-meta span { display: block; overflow-wrap: anywhere; }
.achievement-report-meta b { color: #062d72; font-size: .67rem; text-transform: uppercase; }
.achievement-report-meta span { margin-top: 2px; color: #243f5d; font-size: .76rem; }
.achievement-filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 8px; }
.achievement-filters label { min-width: 0; display: grid; gap: 4px; }
.achievement-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 0 0 10px; }
.achievement-kpi { min-width: 0; padding: 7px 8px; border: 1px solid #d9e6f1; border-left: 4px solid #1768c4; border-radius: 7px; background: #f8fbfe; }
.achievement-kpi span,.achievement-kpi b { display: block; overflow-wrap: anywhere; }
.achievement-kpi span { color: #60728e; font-size: .66rem; line-height: 1.15; }
.achievement-kpi b { margin-top: 3px; color: #17324d; font-size: .83rem; line-height: 1.15; }
.achievement-kpi.level-i { border-left-color: #dc4c4c; background: #fff4f4; }
.achievement-kpi.level-e { border-left-color: #d59a00; background: #fff9e8; }
.achievement-kpi.level-a { border-left-color: #199451; background: #eefaf2; }
.achievement-chart-grid { display: grid; grid-template-columns: minmax(0,1fr) 170px; align-items: center; gap: 14px; }
.achievement-bars { display: grid; gap: 7px; }
.achievement-bar { display: grid; grid-template-columns: 82px minmax(70px,1fr) 76px; align-items: center; gap: 7px; color: #304963; font-size: .7rem; }
.achievement-bar b { font-size: .7rem; }
.achievement-bar-track { display: block; height: 9px; overflow: hidden; border-radius: 999px; background: #e5edf5; }
.achievement-bar-track i { display: block; height: 100%; min-width: 0; border-radius: inherit; background: #1768c4; }
.achievement-bar.i .achievement-bar-track i { background: #dc4c4c; }
.achievement-bar.e .achievement-bar-track i { background: #d59a00; }
.achievement-bar.a .achievement-bar-track i { background: #199451; }
.achievement-pie-wrap { display: grid; grid-template-columns: 86px minmax(0,1fr); align-items: center; gap: 8px; }
.achievement-pie { width: 82px; height: 82px; border: 1px solid #d9e6f1; border-radius: 50%; background: conic-gradient(#dc4c4c 0 var(--pi),#d59a00 var(--pi) var(--pe),#199451 var(--pe) 100%); box-shadow: inset 0 0 0 16px #fff; }
.achievement-pie-legend { display: grid; gap: 4px; color: #304963; font-size: .66rem; }
.achievement-pie-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #1768c4; }
.achievement-pie-legend .i::before { background: #dc4c4c; }
.achievement-pie-legend .e::before { background: #d59a00; }
.achievement-pie-legend .a::before { background: #199451; }
.achievement-results-card { overflow: hidden; }
.achievement-table-scroll { width: 100%; overflow-x: auto; }
.achievement-results-table { width: 100%; min-width: 740px; border-collapse: collapse; table-layout: auto; }
.achievement-results-table th { padding: 6px 5px; border: 1px solid #2f69a9; background: #062d72; color: #fff; font-size: .72rem; text-align: center; white-space: nowrap; }
.achievement-results-table td { padding: 5px; border: 1px solid #d5e2ee; color: #17324d; font-size: .74rem; text-align: center; vertical-align: middle; }
.achievement-results-table tbody tr:nth-child(even) td { background: #f1f9fd; }
.achievement-results-table td:nth-child(2), .achievement-results-table td:nth-child(3) { text-align: left; }
.achievement-results-table .level-i td:last-child, .achievement-results-table .level-i td:nth-last-child(2) { background: #fff0f0; color: #9e2525; }
.achievement-results-table .level-e td:last-child, .achievement-results-table .level-e td:nth-last-child(2) { background: #fff8d9; color: #765500; }
.achievement-results-table .level-a td:last-child, .achievement-results-table .level-a td:nth-last-child(2) { background: #eaf9ef; color: #13733a; }
.achievement-results-table .level-none td:last-child, .achievement-results-table .level-none td:nth-last-child(2) { background: #eef2f6; color: #59697c; }
.achievement-analysis { margin-top: 12px; padding: 12px; border: 1px solid #cbdbea; border-radius: 8px; background: #fff; }
.achievement-analysis h3 { margin: 0; color: #062d72; font-size: 1rem; }
.achievement-analysis-note { margin: 3px 0 9px; color: #60728e; font-size: .72rem; }
.achievement-analysis-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.achievement-analysis-grid article { min-width: 0; padding: 8px; border: 1px solid #d9e6f1; border-radius: 7px; background: #f8fbfe; }
.achievement-analysis-grid article:last-child { grid-column: 1 / -1; }
.achievement-analysis-grid b { display: block; color: #1768c4; font-size: .72rem; }
.achievement-analysis-grid p { margin: 3px 0 0; color: #304963; font-size: .75rem; line-height: 1.35; overflow-wrap: anywhere; }
.achievement-analysis-editor { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #cbdbea; }
.achievement-analysis-editor label { display: grid; gap: 4px; color: #062d72; font-size: .72rem; font-weight: 700; }
.achievement-analysis-editor textarea { min-height: 54px; padding: 7px; border: 1px solid #b7cee3; border-radius: 6px; resize: vertical; }
.achievement-analysis-editor button { grid-column: 1 / -1; justify-self: start; }
@media screen and (max-width:900px) {
  #module-informes .academic-grade-report { padding: 6mm; }
  #module-informes .academic-report-student-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #module-informes .academic-report-field.is-wide { grid-column: span 2; }
  #module-informes .academic-report-footer { margin: 0 -6mm -6mm; padding-inline: 6mm; }
}
@media screen and (max-width:700px) {
  .achievement-screen-header { grid-template-columns: 46px minmax(0,1fr) 72px; gap: 8px; padding: 8px 10px; }
  .achievement-report-heading { grid-template-columns: 46px minmax(0,1fr) 72px; gap: 8px; padding: 9px 10px; }
  .achievement-report-logo { width: 46px; height: 54px; }
  .achievement-report-logo.secondary { width: 72px; height: 38px; }
  .achievement-screen-logo { width: 46px; height: 54px; }
  .achievement-screen-logo.secondary { width: 72px; height: 38px; }
  .achievement-screen-header h2 { font-size: .95rem; }
  .achievement-report-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .achievement-analysis-grid, .achievement-analysis-editor { grid-template-columns: 1fr; }
  .achievement-analysis-grid article:last-child, .achievement-analysis-editor button { grid-column: auto; }
}
@media screen and (max-width:700px) {
  #module-informes .academic-grade-report {
    width: 100%;
    margin: 10px auto;
    padding: 14px;
    border-radius: 8px;
  }
  #module-informes .academic-report-header {
    grid-template-columns: 46px minmax(0,1fr) 72px;
    gap: 8px;
    min-height: 54px;
  }
  #module-informes .academic-report-primary-logo { width: 46px; height: 54px; }
  #module-informes .academic-report-primary-logo .logo-informe { width: 46px; height: 54px; max-width: 46px; max-height: 54px; }
  #module-informes .academic-report-secondary-logo { width: 72px; height: 38px; }
  #module-informes .academic-report-secondary-logo .logo-informe { max-width: 72px; max-height: 38px; }
  #module-informes .academic-report-heading span { font-size: .82rem; }
  #module-informes .academic-report-heading h1 { font-size: 1.02rem; }
  #module-informes .academic-report-heading p { font-size: .68rem; }
  #module-informes .academic-report-student-grid,
  #module-informes .academic-report-summary,
  #module-informes .academic-report-signatures { grid-template-columns: 1fr; max-width: 320px; }
  #module-informes .academic-report-field.is-wide { grid-column: span 1; }
  #module-informes .academic-report-table-scroll { overscroll-behavior-inline: contain; }
  #module-informes .academic-grade-table { min-width: 640px; }
  #module-informes .academic-report-signatures { gap: 12px; }
  #module-informes .academic-report-footer { margin: 0 -14px -14px; padding: 7px 14px; }
}


/* Vista previa segura de importacion de calificaciones */
.grade-import-preview{margin:16px 0;border:1px solid #cfe0f3;background:#fff;border-radius:12px;overflow:hidden}
.grade-import-preview .list-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#eef6ff;border-bottom:1px solid #d7e7f7}
.grade-import-preview .table-wrap{max-height:320px;overflow:auto}
.grade-import-preview table{width:100%;border-collapse:collapse;font-size:.88rem}
.grade-import-preview th,.grade-import-preview td{padding:8px 10px;border-bottom:1px solid #e5edf5;text-align:left;white-space:nowrap}
.grade-import-preview th{background:#062d72;color:#fff;position:sticky;top:0;z-index:1}
.grade-import-errors{margin:10px 16px;padding:10px 10px 10px 28px;border-radius:8px;background:#fff6e8;color:#7a4b00;font-size:.85rem}
.grade-import-preview .form-actions{display:flex;gap:10px;flex-wrap:wrap;padding:12px 16px}
.report-pdf-capture{position:absolute!important;top:0!important;left:0!important;z-index:-1!important;width:197.9mm!important;max-width:197.9mm!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important;pointer-events:none!important}
.report-pdf-capture .report-print-root,.report-pdf-capture .report-print-page{width:197.9mm!important;max-width:197.9mm!important;min-height:0!important;margin:0!important;padding-inline:0!important;overflow:visible!important;background:#fff!important;box-shadow:none!important}
.report-pdf-capture.report-landscape-capture,.report-pdf-capture.report-landscape-capture .report-print-root,.report-pdf-capture.report-landscape-capture .report-print-page{width:261.4mm!important;max-width:261.4mm!important}
.report-pdf-capture .academic-report-table-scroll,.report-pdf-capture .achievement-table-scroll{overflow:visible!important}
.report-pdf-capture table,.report-pdf-capture tbody{break-inside:auto!important;page-break-inside:auto!important}
.report-pdf-capture thead{display:table-header-group!important}
.report-pdf-capture tr{break-inside:avoid!important;page-break-inside:avoid!important}
@media(max-width:700px){.grade-import-preview .list-card-head{align-items:flex-start;flex-direction:column}.grade-import-preview th,.grade-import-preview td{padding:7px 8px;font-size:.8rem}}@media print {
  @page { size: Letter portrait; margin: 9mm; }
  @page achievement { size: Letter landscape; margin: 9mm; }
  .achievement-report-page {
    page: achievement;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10pt !important;
  }
  .achievement-report-page .achievement-table-scroll { overflow: visible !important; }
  .achievement-report-page .achievement-results-table { width: 100% !important; min-width: 0 !important; table-layout: auto !important; }
  .achievement-report-page .achievement-results-table thead { display: table-header-group !important; }
  .achievement-report-page .achievement-results-table tbody { break-inside: auto !important; page-break-inside: auto !important; }
  .achievement-report-page .achievement-results-table tr { break-inside: avoid !important; page-break-inside: avoid !important; }
  .achievement-report-page .achievement-report-heading {
    grid-template-columns: 15mm minmax(0, 1fr) 26.5mm !important;
    gap: 3mm !important;
    margin-bottom: 3mm !important;
    padding: 2mm 3mm !important;
    border-top-width: .8mm !important;
  }
  .achievement-report-page .achievement-report-logo {
    width: 14.5mm !important;
    height: 17mm !important;
  }
  .achievement-report-page .achievement-report-logo.secondary {
    width: 26.5mm !important;
    height: 13mm !important;
  }
  .achievement-report-page .achievement-report-logo .logo-informe {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  .achievement-report-page .achievement-nuvez-screen-brand {
    width: 18mm !important;
    height: 14mm !important;
  }
  .achievement-report-page .achievement-nuvez-screen-brand img {
    width: 8mm !important;
    height: 8mm !important;
    max-width: 8mm !important;
    max-height: 8mm !important;
  }
  .achievement-report-page .achievement-kpis { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 1.6mm !important; margin-bottom: 2.5mm !important; }
  .achievement-report-page .achievement-kpi { padding: 1.5mm 1.8mm !important; border-radius: 1.5mm !important; }
  .achievement-report-page .achievement-chart-grid { grid-template-columns: minmax(0,1fr) 42mm !important; gap: 3mm !important; }
  .achievement-report-page .achievement-bar { grid-template-columns: 21mm minmax(20mm,1fr) 20mm !important; gap: 1.5mm !important; }
  .achievement-report-page .achievement-pie-wrap { grid-template-columns: 21mm minmax(0,1fr) !important; gap: 2mm !important; }
  .achievement-report-page .achievement-pie { width: 20mm !important; height: 20mm !important; box-shadow: inset 0 0 0 4mm #fff !important; }
  .achievement-report-page > .card,.achievement-report-page .achievement-report-content > .card { margin: 0 0 2.5mm !important; padding: 2.2mm !important; border-radius: 1.5mm !important; box-shadow: none !important; }
  .achievement-report-page .achievement-nuvez-screen-brand span { font-size: 5.5pt !important; }
  html,body { margin: 0 !important; background: #fff !important; color: #111 !important; }
  .report-print-root { width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .report-print-page { width: 100% !important; max-width: none !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; background: #fff !important; overflow: visible !important; break-after: page; page-break-after: always; }
  .report-print-page:last-child { break-after: auto; page-break-after: auto; }
  .report-print-page table { width: 100% !important; }
  .report-print-page thead { display: table-header-group !important; }
  .report-print-page table, .report-print-page tbody { break-inside: auto; page-break-inside: auto; }
  .report-print-page tr, .report-print-page figure, .report-print-page .signatures, .report-print-page .academic-report-header, .report-print-page .academic-report-student-grid, .report-print-page .academic-report-summary, .report-print-page .academic-report-signatures { break-inside: avoid; page-break-inside: avoid; }
  .report-print-page img { max-width: 100% !important; height: auto !important; object-fit: contain !important; }
  .no-print { display: none !important; }
  .academic-report-print-page {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    break-after: page;
    page-break-after: always;
  }
  .academic-report-print-page:last-child { break-after: auto; page-break-after: auto; }
  #module-informes .academic-grade-report,
  .academic-grade-report.academic-grade-report-print {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1.1mm solid #1768c4 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    font-family: Arial,"Segoe UI",sans-serif !important;
    font-size: 10pt !important;
    line-height: 1.25 !important;
    box-shadow: none !important;
    overflow: visible !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .academic-grade-report .academic-report-header {
    grid-template-columns: 15mm minmax(0,1fr) 27mm !important;
    gap: 3mm !important;
    min-height: 17mm !important;
    margin-bottom: 2mm !important;
    padding-bottom: 2mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .academic-grade-report .academic-report-primary-logo,
  .academic-grade-report .academic-report-primary-logo .logo-informe {
    width: 14.5mm !important;
    height: 17mm !important;
    max-width: 14.5mm !important;
    max-height: 17mm !important;
    object-fit: contain !important;
  }
  .academic-grade-report .academic-report-secondary-logo {
    width: 26.5mm !important;
    height: 13mm !important;
  }
  .academic-grade-report .academic-report-secondary-logo .logo-informe {
    width: 100% !important;
    height: 100% !important;
    max-width: 26.5mm !important;
    max-height: 13mm !important;
    object-fit: contain !important;
  }
  .academic-grade-report .academic-report-heading span { font-size: 10pt !important; }
  .academic-grade-report .academic-report-heading h1 { font-size: 14pt !important; }
  .academic-grade-report .academic-report-heading p { font-size: 10pt !important; }
  .academic-grade-report .academic-report-student-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 1.2mm !important;
    margin-bottom: 2mm !important;
    padding: 1.3mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .academic-grade-report .academic-report-field { padding: 1.2mm 1.6mm !important; }
  .academic-grade-report .academic-report-field.is-wide { grid-column: span 2 !important; }
  .academic-grade-report .academic-report-field span { font-size: 8.5pt !important; }
  .academic-grade-report .academic-report-field b { font-size: 10pt !important; }
  .academic-grade-report .academic-report-section { margin-bottom: 2mm !important; }
  .academic-grade-report .academic-report-section > h2,
  .academic-grade-report .academic-report-observation > h2 { padding: 1.2mm 2mm !important; font-size: 10pt !important; }
  .academic-grade-report .academic-report-table-scroll { overflow: visible !important; }
  .academic-grade-report .academic-grade-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }
  .academic-grade-report .academic-grade-table thead { display: table-header-group !important; }
  .academic-grade-report .academic-grade-table tr { break-inside: avoid; page-break-inside: avoid; }
  .academic-grade-report .academic-grade-table th,
  .academic-grade-report .academic-grade-table td {
    padding: 1.1mm .6mm !important;
    font-size: 10pt !important;
    line-height: 1.12 !important;
  }
  .academic-grade-report .academic-grade-mark {
    min-width: 0 !important;
    min-height: 5mm !important;
    padding: .4mm .7mm !important;
    font-size: 10pt !important;
  }
  .academic-grade-report .academic-report-summary {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 1.4mm !important;
    margin-bottom: 2mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .academic-grade-report .academic-report-summary article { padding: 1.3mm 1.8mm !important; }
  .academic-grade-report .academic-report-summary span { font-size: 8.5pt !important; }
  .academic-grade-report .academic-report-summary b { font-size: 10pt !important; }

  .academic-grade-report .academic-report-observation {
    margin-bottom: 2mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .academic-grade-report .academic-report-observation p {
    min-height: 10mm !important;
    padding: 1.8mm 2.2mm !important;
    font-size: 10pt !important;
  }
  .academic-grade-report .academic-report-signatures {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12mm !important;
    max-width: 145mm !important;
    margin: 7mm auto 3mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .academic-grade-report .academic-report-signatures > div { min-height: 22mm !important; }
  .academic-grade-report .academic-report-signatures .firma-digital {
    width: auto !important;
    height: auto !important;
    max-width: 27mm !important;
    max-height: 10mm !important;
    object-fit: contain !important;
  }
  .academic-grade-report .academic-report-signatures span { font-size: 9pt !important; }
  .academic-grade-report .academic-report-footer {
    margin: 0 !important;
    padding: 1.5mm 2mm !important;
    font-size: 8.5pt !important;
  }
}
.active-module-card { display:none !important; }
#topbarSearchWrap:empty { display:none !important; }
/* Calificaciones parciales y promedios: lectura consistente en pantalla, móvil e impresión. */
#module-informes .academic-grade-table.has-semester-average:not(.is-annual) .academic-grade-subject { width: 29%; }
#module-informes .academic-grade-table.has-semester-average:not(.is-annual) .academic-grade-value { width: 4.4%; }
#module-informes .academic-grade-table.has-semester-average:not(.is-annual) .academic-grade-average { width: 13.5%; }
#module-informes .academic-report-grade-block + .academic-report-grade-block { margin-top: 8px; }
#module-informes .academic-report-table-caption {
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #b9cee2;
  border-bottom: 0;
  background: #edf5ff;
  color: #315f91;
  font-size: .72rem;
  font-weight: 800;
}
@media screen and (max-width:700px) {
  #module-informes .academic-grade-table.has-semester-average:not(.is-annual) { min-width: 780px; }
  #module-informes .academic-grade-table.is-annual { min-width: 620px; }
}
@media print {
  .academic-grade-report .academic-grade-table.has-semester-average:not(.is-annual) .academic-grade-subject { width: 29% !important; }
  .academic-grade-report .academic-grade-table.has-semester-average:not(.is-annual) .academic-grade-value { width: 4.4% !important; }
  .academic-grade-report .academic-grade-table.has-semester-average:not(.is-annual) .academic-grade-average { width: 13.5% !important; }
  .academic-grade-report .academic-report-grade-block { break-inside: avoid; page-break-inside: avoid; }
}
/* Accesibilidad y marcas institucionales. */

body.is-login .login-platform-watermark.nuvez-creator-credit {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 2px 0 0 !important;
  padding-top: 9px !important;
  border-top: 1px solid #d5e3ed !important;
  color: #52677a !important;
  opacity: .72 !important;
  filter: none !important;
  pointer-events: none !important;
}
body.is-login .login-platform-watermark.nuvez-creator-credit img {
  width: 30px !important;
  height: 24px !important;
  max-width: 30px !important;
  max-height: 24px !important;
  object-fit: contain !important;
}
body.is-login .login-platform-watermark.nuvez-creator-credit span {
  display: block !important;
  color: #52677a !important;
  font-size: .62rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}.nuvez-header-credit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 7px;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,.26);
  color: #fff;
}
.nuvez-header-credit img {
  width: 38px !important;
  height: 30px !important;
  object-fit: contain !important;
  filter: grayscale(1) brightness(2);
}
.nuvez-header-credit span { display: none !important; }
/* Aplicación institucional compacta: única estructura de navegación y contenidos. */
.nuvez-header-credit{display:flex;align-items:center;gap:5px;margin-left:6px;padding-left:7px;border-left:1px solid rgba(255,255,255,.24);color:#fff}
.nuvez-header-credit img{width:34px;height:25px;object-fit:contain;filter:grayscale(1) brightness(2)}
.nuvez-header-credit span{display:none}
body.is-authenticated #mainNav .categoria-menu{appearance:none!important;width:100%!important;min-width:0!important;min-height:38px!important;height:auto!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;margin:0!important;padding:7px 8px!important;border:1px solid #dfb900!important;border-left:4px solid transparent!important;border-radius:7px!important;background:linear-gradient(180deg,#ffda22,#ffd400)!important;color:#062d72!important;font-size:.7rem!important;font-weight:750!important;line-height:1.15!important;text-align:left!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;cursor:pointer!important;box-shadow:0 2px 5px rgba(1,28,70,.16)!important;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important}
body.is-authenticated #mainNav .categoria-menu i{width:19px!important;flex:0 0 19px!important;color:#062d72!important;font-size:.82rem!important;text-align:center!important}
body.is-authenticated #mainNav .categoria-menu span{min-width:0!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
body.is-authenticated #mainNav .categoria-menu:hover,body.is-authenticated #mainNav .categoria-menu.activa{border-left-color:#19b7e5;background:linear-gradient(180deg,#fff6bd,#ffe66e);color:#062d72;box-shadow:inset 0 -2px 0 #062d72,0 5px 12px rgba(0,0,0,.14);transform:translateX(2px)}
body.is-authenticated.watermark-full::before{display:none}
#appMain .module,#appMain .module.active{min-width:0!important;min-height:0!important;height:auto!important;overflow:visible!important}
body.is-authenticated #appMain .module-head,body.is-authenticated #appMain .module-hero,body.is-authenticated #appMain .category-panel-head,body.visual-modern.is-authenticated #appMain .module-head,body.visual-modern.is-authenticated #appMain .module-hero,body.visual-modern.is-authenticated #appMain .category-panel-head,body.visual-classic.is-authenticated #appMain .module-head,body.visual-classic.is-authenticated #appMain .module-hero,body.visual-classic.is-authenticated #appMain .category-panel-head{position:relative!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 10px!important;padding:11px 15px!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:12px!important;background:linear-gradient(115deg,#17398f,#2361d4 62%,#6f98ec)!important;color:#fff!important;box-shadow:0 8px 20px rgba(21,66,151,.17)!important;overflow:hidden!important;contain:none!important}
body.is-authenticated #appMain .module-head.module-hero,body.visual-modern.is-authenticated #appMain .module-head.module-hero,body.visual-classic.is-authenticated #appMain .module-head.module-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,42%)!important;align-items:center!important;gap:10px!important}
body.is-authenticated #appMain .category-panel-head,body.visual-modern.is-authenticated #appMain .category-panel-head,body.visual-classic.is-authenticated #appMain .category-panel-head{display:block!important}
body.is-authenticated #appMain .module-hero-content,body.visual-modern.is-authenticated #appMain .module-hero-content,body.visual-classic.is-authenticated #appMain .module-hero-content{display:block!important;min-width:0!important;min-height:0!important;height:auto!important;overflow:visible!important}
body.is-authenticated #appMain .module-head h1,body.is-authenticated #appMain .module-head h2,body.is-authenticated #appMain .module-hero h1,body.is-authenticated #appMain .module-hero h2,body.is-authenticated #appMain .category-panel-head h1,body.visual-modern.is-authenticated #appMain .module-head h1,body.visual-modern.is-authenticated #appMain .module-head h2,body.visual-modern.is-authenticated #appMain .module-hero h1,body.visual-modern.is-authenticated #appMain .module-hero h2,body.visual-modern.is-authenticated #appMain .category-panel-head h1{width:auto!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:0!important;color:#fff!important;font-size:clamp(1.1rem,1.8vw,1.55rem)!important;line-height:1.12!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
body.is-authenticated #appMain .module-head p,body.is-authenticated #appMain .module-hero p,body.is-authenticated #appMain .category-panel-head p,body.visual-modern.is-authenticated #appMain .module-head p,body.visual-modern.is-authenticated #appMain .module-hero p,body.visual-modern.is-authenticated #appMain .category-panel-head p{display:block!important;width:auto!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:3px 0 0!important;color:#e6f1ff!important;font-size:.74rem!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
body.is-authenticated #appMain .module-badge,body.visual-modern.is-authenticated #appMain .module-badge,body.visual-classic.is-authenticated #appMain .module-badge{width:max-content!important;max-width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;margin:4px 0!important;white-space:normal!important}
body.is-authenticated #appMain .module-actions-inline,body.visual-modern.is-authenticated #appMain .module-actions-inline,body.visual-classic.is-authenticated #appMain .module-actions-inline{display:flex!important;grid-template-columns:none!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:0!important;max-height:none!important;margin:0!important;gap:7px!important;overflow:visible!important}
body.is-authenticated #appMain .module-actions-inline button,body.visual-modern.is-authenticated #appMain .module-actions-inline button,body.visual-classic.is-authenticated #appMain .module-actions-inline button{width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:34px!important;max-height:none!important;padding:7px 10px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
#appMain .card,#appMain .course-context,#appMain .attendance-panel,#appMain .config-card{max-width:100%;margin:0 0 10px;padding:11px;border:1px solid var(--line);border-left:3px solid #087b86;border-radius:11px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:var(--shadow-sm)}
#appMain .grid,#appMain .grid.two,#appMain .grid.three,#appMain .form-grid,#appMain .config-grid{min-width:0;gap:9px;align-items:start}
#appMain input,#appMain select,#appMain textarea{max-width:100%}
#appMain .form-actions,#appMain .data-actions{display:flex;flex-wrap:wrap;gap:7px}
#appMain .form-actions>* ,#appMain .data-actions>*{min-height:34px}
#appMain .table-wrap{width:100%;max-width:100%;overflow-x:auto;border-radius:8px;-webkit-overflow-scrolling:touch}
#appMain .table-wrap table{min-width:640px}
#appMain button:not(.categoria-menu){max-width:100%;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
#appMain button:not(.categoria-menu):hover{transform:translateY(-1px)}
/* Controles, botones y tablas: lenguaje visual común. */
#appMain :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){min-height:38px;padding:8px 10px;border:1px solid #b9cee0;border-radius:8px;background:#fff;color:var(--ink);font:inherit;line-height:1.25;box-shadow:inset 0 1px 2px rgba(20,60,90,.04);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
#appMain :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea):hover{border-color:#8eafd0}
#appMain :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(25,183,229,.18);background:#fff}
#appMain label{color:#25445f;font-weight:650}
#appMain :where(.btn-primary,button.primary,.tarjeta-modulo-action){border:1px solid #062d72;background:linear-gradient(180deg,#0b438f,#062d72);color:#fff;box-shadow:0 3px 8px rgba(6,45,114,.18)}
#appMain :where(.btn-primary,button.primary):hover{background:linear-gradient(180deg,#1257ad,#08387f);box-shadow:0 6px 14px rgba(6,45,114,.24)}
#appMain :where(.btn-secondary,.soft,button.soft){border:1px solid #b8cde1;background:linear-gradient(180deg,#fff,#eef6fc);color:#123f72}
#appMain :where(.btn-secondary,.soft,button.soft):hover{border-color:#7fa7cc;background:#e9f5fd}
#appMain :where(button,a,[role="button"]):focus-visible,body.is-authenticated #mainNav .categoria-menu:focus-visible{outline:3px solid rgba(25,183,229,.55);outline-offset:2px}
#appMain .module:not(#module-informes) .table-wrap{border:1px solid var(--line);background:#fff;box-shadow:0 3px 10px rgba(20,60,90,.06)}
#appMain .module:not(#module-informes) .table-wrap table{border-collapse:separate;border-spacing:0}
#appMain .module:not(#module-informes) .table-wrap thead th{background:#0a438e;color:#fff;font-weight:750}
#appMain .module:not(#module-informes) .table-wrap tbody tr:nth-child(even) td{background:#f5faff}
#appMain .module:not(#module-informes) .table-wrap tbody tr:hover td{background:#fffbe6}
#module-inicio .dashboard-home{width:100%;min-width:0}
body.is-authenticated #module-inicio .home-header,body.visual-modern.is-authenticated #module-inicio .home-header,body.visual-classic.is-authenticated #module-inicio .home-header{position:relative!important;width:100%!important;min-width:0!important;height:auto!important;min-height:74px!important;max-height:none!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 74px!important;grid-template-rows:auto auto auto auto!important;align-content:center!important;align-items:center!important;column-gap:9px!important;row-gap:1px!important;margin:0!important;padding:7px 12px!important;border:0!important;border-radius:11px!important;background:linear-gradient(115deg,#203e9f,#096be2 65%,#6f98ec)!important;color:#fff!important;box-shadow:none!important;overflow:hidden!important}
body.is-authenticated #module-inicio .home-header .home-corner-logo,body.visual-modern.is-authenticated #module-inicio .home-header .home-corner-logo,body.visual-classic.is-authenticated #module-inicio .home-header .home-corner-logo{position:static!important;inset:auto!important;grid-row:1/span 4!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:56px!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
body.is-authenticated #module-inicio .home-header .home-corner-logo-left,body.visual-modern.is-authenticated #module-inicio .home-header .home-corner-logo-left,body.visual-classic.is-authenticated #module-inicio .home-header .home-corner-logo-left{grid-column:1!important}
body.is-authenticated #module-inicio .home-header .home-corner-logo-right,body.visual-modern.is-authenticated #module-inicio .home-header .home-corner-logo-right,body.visual-classic.is-authenticated #module-inicio .home-header .home-corner-logo-right{grid-column:3!important;justify-self:end!important;width:74px!important;height:34px!important}
body.is-authenticated #module-inicio .home-header .home-corner-logo img,body.visual-modern.is-authenticated #module-inicio .home-header .home-corner-logo img,body.visual-classic.is-authenticated #module-inicio .home-header .home-corner-logo img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
body.is-authenticated #module-inicio .home-header>span,body.is-authenticated #module-inicio .home-header>h1,body.is-authenticated #module-inicio .home-header>p,body.is-authenticated #module-inicio .home-header>.home-school-year,body.visual-modern.is-authenticated #module-inicio .home-header>span,body.visual-modern.is-authenticated #module-inicio .home-header>h1,body.visual-modern.is-authenticated #module-inicio .home-header>p,body.visual-modern.is-authenticated #module-inicio .home-header>.home-school-year{grid-column:2!important;min-width:0!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
body.is-authenticated #module-inicio .home-header>span,body.visual-modern.is-authenticated #module-inicio .home-header>span{font-size:.55rem!important}
body.is-authenticated #module-inicio .home-header>h1,body.visual-modern.is-authenticated #module-inicio .home-header>h1{margin:0!important;color:#fff!important;font-size:clamp(1.25rem,2vw,1.75rem)!important;font-weight:400!important;line-height:1.05!important}
body.is-authenticated #module-inicio .home-header>p,body.is-authenticated #module-inicio .home-header>.home-school-year,body.visual-modern.is-authenticated #module-inicio .home-header>p,body.visual-modern.is-authenticated #module-inicio .home-header>.home-school-year{font-size:.59rem!important;line-height:1.15!important}
#module-inicio .home-header>.home-school-year{opacity:.9}
.home-module-directory{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:8px 0 0!important}
#appMain .home-section-group{--category-accent:#1768c4;min-width:0;height:auto;margin:0;padding:7px;border:1px solid #bed2ef;border-left:3px solid var(--category-accent);border-radius:9px;background:#fff;box-shadow:0 3px 9px rgba(20,60,90,.07)}
#appMain .home-section-group.categoria-academica{--category-accent:#18a957}
#appMain .home-section-group.categoria-comunidad{--category-accent:#ef3d3d}
#appMain .home-section-group.categoria-seguimiento{--category-accent:#19aee8}
#appMain .home-section-group.categoria-institucional{--category-accent:#e88409}
#appMain .home-section-group.categoria-administracion{--category-accent:#708096}
.list-card-head{min-height:24px;display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 6px;padding:0 2px 5px;border-bottom:1px solid #dbe7f0;color:#153d86}
.list-card-head h3{margin:0;font-size:.73rem;font-weight:700}.home-group-count{font-size:.62rem;color:#4f6481;white-space:nowrap}
.section-link-grid{width:100%!important;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(180px,200px))!important;gap:7px!important;align-items:stretch!important;justify-content:start!important}
body.is-authenticated #appMain .section-link-card,body.visual-modern.is-authenticated #appMain .section-link-card{appearance:none!important;width:100%!important;min-width:0!important;min-height:98px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:5px!important;padding:9px!important;border:1px solid var(--line)!important;border-top:4px solid var(--category-accent)!important;border-radius:10px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;color:var(--ink)!important;text-align:left!important;overflow:visible!important;box-shadow:var(--shadow-sm)!important}
#appMain .section-link-card:hover{border-color:#c4d8ea;background:#fffdf0;box-shadow:var(--shadow-md);transform:translateY(-2px)}
#appMain .section-link-card>i{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;margin:0;border:1px solid #cce5f6;border-radius:9px;background:linear-gradient(145deg,#eff9ff,#dceffc);color:#087ccc;font-size:.92rem;box-shadow:inset 0 1px 0 #fff,0 3px 8px rgba(20,90,150,.1)}
#appMain .section-link-card>span{min-width:0;width:100%}
#appMain .section-link-card b{display:block;margin:0;color:#123251;font-size:.79rem;font-weight:750;line-height:1.16;white-space:normal;overflow-wrap:anywhere}
#appMain .section-link-card small{display:block;margin-top:2px;color:var(--muted);font-size:.59rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.panel-categoria{--category-accent:#1768c4;width:100%;max-width:none;margin:0;padding:0}
.panel-categoria.categoria-academica{--category-accent:#18a957}.panel-categoria.categoria-comunidad{--category-accent:#ef3d3d}.panel-categoria.categoria-seguimiento{--category-accent:#19aee8}.panel-categoria.categoria-institucional{--category-accent:#e88409}.panel-categoria.categoria-administracion{--category-accent:#708096}
.module-breadcrumb{width:fit-content!important;max-width:100%!important;min-height:26px!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;margin:0 0 7px!important;padding:4px 8px!important;border:1px solid #d9e6f3!important;border-radius:7px!important;background:#fff!important;color:#5d718c!important;font-size:.67rem!important;line-height:1.2!important}
.module-breadcrumb span,.module-breadcrumb button{color:#1768c4!important;font-weight:600!important}.module-breadcrumb button{display:inline!important;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.module-breadcrumb i{color:#8ba0b9!important;font-size:.55rem!important}.module-breadcrumb b{color:#17324d!important}
.grid-modulos{width:100%!important;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(175px,210px))!important;gap:9px!important;align-items:stretch!important;justify-content:start!important}
#module-category-panel .tarjeta-modulo{appearance:none;width:100%;min-width:0;min-height:148px;height:auto;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px;border:1px solid var(--line);border-top:4px solid var(--category-accent);border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff);color:var(--ink);text-align:left;overflow:visible;box-shadow:var(--shadow-sm)}
#module-category-panel .tarjeta-modulo:hover{border-color:#c4d8ea;background:#fffdf0;box-shadow:var(--shadow-md);transform:translateY(-2px)}
#module-category-panel .tarjeta-modulo-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;margin:0 0 2px;border-radius:9px;background:#e6f4ff;color:var(--category-accent);font-size:1rem}
#module-category-panel .tarjeta-modulo h3{margin:0;color:#17324d;font-size:.84rem;line-height:1.15;white-space:normal}
#module-category-panel .tarjeta-modulo p{margin:0;color:#5d718c;font-size:.65rem;line-height:1.28;white-space:normal}
#module-category-panel .tarjeta-modulo small{margin-top:auto;color:#58799c;font-size:.61rem}
#module-category-panel .tarjeta-modulo-action{min-height:25px;display:inline-flex;align-items:center;gap:5px;margin-top:2px;padding:3px 8px;border-radius:5px;background:#062d72;color:#fff;font-size:.65rem}
.institution-strip,.portal-metrics{gap:8px!important}.institution-strip{margin-top:8px!important}.portal-metrics{margin-top:8px!important}
@media (min-width:761px) and (max-width:1100px){:root{--shell-sidebar-width:156px}.section-link-grid{grid-template-columns:repeat(auto-fill,minmax(145px,160px))!important}.grid-modulos{grid-template-columns:repeat(auto-fill,minmax(175px,210px))!important}}
@media (max-width:760px){:root{--shell-topbar-height:86px;--shell-sidebar-width:0px}body.is-authenticated .topbar,body.visual-modern.is-authenticated .topbar,body.visual-classic.is-authenticated .topbar{height:var(--shell-topbar-height)!important;min-height:var(--shell-topbar-height)!important;max-height:var(--shell-topbar-height)!important;padding:5px 8px!important;background:linear-gradient(100deg,#05275f 0%,#073b83 62%,#0b4b98 100%)!important;overflow:visible!important}body.is-authenticated .brand-row,body.visual-modern.is-authenticated .brand-row,body.visual-classic.is-authenticated .brand-row{height:73px!important;min-height:73px!important;max-height:73px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:37px 32px!important;align-content:center!important;gap:2px 6px!important;padding:0!important;background:transparent!important}body.is-authenticated .brand,body.visual-modern.is-authenticated .brand,body.visual-classic.is-authenticated .brand{grid-column:1!important;grid-row:1!important;max-width:calc(100% - 46px)!important}body.is-authenticated .nuvez-header-credit,body.visual-modern.is-authenticated .nuvez-header-credit,body.visual-classic.is-authenticated .nuvez-header-credit{position:absolute!important;top:2px!important;right:0!important;margin:0!important}body.is-authenticated .actions,body.visual-modern.is-authenticated .actions,body.visual-classic.is-authenticated .actions{grid-column:1!important;grid-row:2!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.72fr)!important;gap:4px!important;margin:0!important;padding:0 0 0 36px!important}body.is-authenticated .actions>.year-control,body.is-authenticated .actions>.icon-btn,body.visual-modern.is-authenticated .actions>.year-control,body.visual-modern.is-authenticated .actions>.icon-btn,body.visual-classic.is-authenticated .actions>.year-control,body.visual-classic.is-authenticated .actions>.icon-btn{width:100%!important;min-width:0!important;max-width:100%!important;padding-left:3px!important;padding-right:3px!important;font-size:.58rem!important;overflow:visible!important}.mobile-menu-toggle,body.is-authenticated .mobile-menu-toggle,body.visual-modern.is-authenticated .mobile-menu-toggle,body.visual-classic.is-authenticated .mobile-menu-toggle{display:grid!important;position:fixed!important;top:51px!important;left:8px!important;right:auto!important;bottom:auto!important;width:30px!important;height:28px!important;min-height:28px!important;place-items:center!important;padding:0!important;z-index:1100!important}body.is-authenticated #mainNav,body.visual-modern.is-authenticated #mainNav,body.visual-classic.is-authenticated #mainNav{inset:var(--shell-topbar-height) auto 0 0!important;width:min(286px,86vw)!important;max-width:min(286px,86vw)!important;display:flex!important;transform:translateX(-105%)!important;transition:transform .2s ease!important;background:var(--navy)!important;box-shadow:10px 0 24px rgba(0,0,0,.22)!important}body.is-authenticated #mainNav.open,body.visual-modern.is-authenticated #mainNav.open,body.visual-classic.is-authenticated #mainNav.open{transform:translateX(0)!important}body.is-authenticated #appMain,body.visual-modern.is-authenticated #appMain,body.visual-classic.is-authenticated #appMain{margin-left:0!important;width:100%!important;max-width:none!important;padding:94px 8px 14px!important;overflow:visible!important}body.is-authenticated #appMain .module-head.module-hero,body.visual-modern.is-authenticated #appMain .module-head.module-hero,body.visual-classic.is-authenticated #appMain .module-head.module-hero{grid-template-columns:1fr!important;align-items:start!important;padding:10px 12px!important}body.is-authenticated #appMain .module-actions-inline,body.visual-modern.is-authenticated #appMain .module-actions-inline,body.visual-classic.is-authenticated #appMain .module-actions-inline{width:100%!important;justify-content:flex-start!important}.section-link-grid,.grid-modulos{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.is-authenticated #module-inicio .home-header,body.visual-modern.is-authenticated #module-inicio .home-header{grid-template-columns:38px minmax(0,1fr) 56px!important;min-height:67px!important;padding:6px 8px!important}body.is-authenticated #module-inicio .home-header .home-corner-logo,body.visual-modern.is-authenticated #module-inicio .home-header .home-corner-logo{width:38px!important;height:48px!important}body.is-authenticated #module-inicio .home-header .home-corner-logo-right,body.visual-modern.is-authenticated #module-inicio .home-header .home-corner-logo-right{width:56px!important;height:28px!important}body.is-authenticated #module-inicio .home-header>h1,body.visual-modern.is-authenticated #module-inicio .home-header>h1{font-size:1.05rem!important}}
@media (max-width:760px){body.is-authenticated .actions>.year-control,body.visual-modern.is-authenticated .actions>.year-control,body.visual-classic.is-authenticated .actions>.year-control{grid-column:1!important;grid-row:1!important;display:flex!important}body.is-authenticated .actions>#myAccountBtn,body.visual-modern.is-authenticated .actions>#myAccountBtn,body.visual-classic.is-authenticated .actions>#myAccountBtn{grid-column:2!important;grid-row:1!important}body.is-authenticated .actions>#logoutBtn,body.visual-modern.is-authenticated .actions>#logoutBtn,body.visual-classic.is-authenticated .actions>#logoutBtn{grid-column:3!important;grid-row:1!important}}
@media (max-width:520px){body.is-authenticated .brand h1{font-size:.78rem!important}body.is-authenticated .brand p{font-size:.48rem!important}.section-link-grid,.grid-modulos{grid-template-columns:1fr!important}#appMain .section-link-card{min-height:82px!important}#module-category-panel .tarjeta-modulo{min-height:132px!important}body.is-authenticated #module-inicio .home-header,body.visual-modern.is-authenticated #module-inicio .home-header{grid-template-columns:34px minmax(0,1fr) 46px!important}body.is-authenticated #module-inicio .home-header .home-corner-logo,body.visual-modern.is-authenticated #module-inicio .home-header .home-corner-logo{width:34px!important;height:43px!important}body.is-authenticated #module-inicio .home-header .home-corner-logo-right,body.visual-modern.is-authenticated #module-inicio .home-header .home-corner-logo-right{width:46px!important;height:24px!important}body.is-authenticated #module-inicio .home-header>h1,body.visual-modern.is-authenticated #module-inicio .home-header>h1{font-size:.92rem!important}body.is-authenticated #module-inicio .home-header>span,body.is-authenticated #module-inicio .home-header>p,body.is-authenticated #module-inicio .home-header>.home-school-year{font-size:.5rem!important}}
@media print{body.is-authenticated .topbar,body.is-authenticated #mainNav,.menu-toggle,.institution-strip,.portal-metrics{display:none!important}body.is-authenticated #appMain{margin:0!important;width:100%!important;padding:0!important;background:#fff!important}}

/* Informe semestral visual alineado con el boletín institucional de referencia. */
#module-informes .academic-grade-report:not(.is-anual) {
  --report-reference-blue: #1560c6;
  --report-reference-pale: #dfe6fa;
  --report-reference-cell: #edf3fb;
  max-width: 816px;
  padding: 10px;
  border-color: #cbdcf2;
  border-top: 6px solid var(--report-reference-blue);
  border-radius: 9px 9px 22px 22px;
  box-shadow: 0 12px 32px rgba(42, 76, 126, .13);
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-header {
  grid-template-columns: 86px minmax(0, 1fr) 112px;
  min-height: 86px;
  margin: -10px -10px 4px;
  padding: 10px 28px;
  border: 1px solid #b8d0ef;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-heading h1 {
  color: #083984;
  font-size: 1.25rem;
  font-weight: 500;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-heading p {
  color: #34527c;
  font-size: .69rem;
  font-weight: 500;
}
#module-informes .academic-report-document-title {
  margin: 4px 0 5px;
  color: #263d70;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-student-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px 8px;
  margin-bottom: 7px;
  padding: 6px 10px;
  border: 0;
  border-radius: 0;
  background: var(--report-reference-pale);
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-field {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-field.is-wide { grid-column: span 4; }
#module-informes .academic-grade-report:not(.is-anual) .academic-report-field span {
  margin: 0;
  font-size: .57rem;
  font-weight: 500;
  text-transform: none;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-field b {
  min-height: 20px;
  display: flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: #354e7b;
  font-size: .62rem;
  font-weight: 500;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-section > h2 {
  padding: 3px 8px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #273d69;
  font-size: .7rem;
  font-weight: 500;
  text-align: center;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-table-scroll {
  border: 3px solid var(--report-reference-pale);
  border-radius: 0;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table th {
  padding: 5px 3px;
  border: 1px solid #c0cee0;
  background: #f2f6fb;
  color: #173c76;
  font-size: .66rem;
  font-weight: 500;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table td {
  height: 25px;
  padding: 2px 3px;
  border-color: #c6d3e4;
  background: #f8fafd;
  font-size: .65rem;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table tbody tr:nth-child(even) td { background: #f8fafd; }
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-subject { width: 32%; }
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-value { width: 5.4%; }
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-average { width: 9%; }
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-mark {
  width: 100%;
  min-width: 0;
  min-height: 18px;
  padding: 1px 2px;
  border-radius: 5px;
  background: var(--report-reference-cell);
  font-size: .63rem;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-average .academic-grade-mark {
  color: #fff;
  background: var(--report-reference-blue);
}
#module-informes .academic-report-key-metrics { margin: 9px 0 8px; }
#module-informes .academic-report-key-metrics article {
  min-height: 45px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f8fbff;
}
#module-informes .academic-report-inline-observation { border-left: 3px solid var(--report-reference-blue); }
#module-informes .academic-report-inline-observation h2,
#module-informes .academic-report-final-observation h2 {
  padding: 7px 10px 2px;
  border: 0;
  background: #fff;
  color: #31496e;
  font-size: .62rem;
  font-weight: 500;
  text-transform: uppercase;
}
#module-informes .academic-report-academic-summary > h2 {
  margin: 6px 0 5px;
  color: #273d69;
  font-size: .7rem;
  font-weight: 500;
  text-align: center;
}
#module-informes .academic-report-period-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 12px 16px;
  padding: 7px 9px;
  background: var(--report-reference-pale);
}
#module-informes .academic-report-period-summary article,
#module-informes .academic-report-formative-grid article {
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid #cfe0ef;
  border-radius: 14px;
  background: #fff;
}
#module-informes .academic-report-period-summary span,
#module-informes .academic-report-formative-grid span {
  display: block;
  color: #657692;
  font-size: .57rem;
  text-transform: uppercase;
}
#module-informes .academic-report-period-summary b,
#module-informes .academic-report-formative-grid b {
  display: block;
  margin-top: 2px;
  color: #093a78;
  font-size: .76rem;
  font-weight: 500;
}
#module-informes .academic-report-formative-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 86%;
  margin: 0 auto 18px;
}
#module-informes .academic-report-formative-grid article { min-height: 48px; }
#module-informes .academic-report-final-observation {
  width: 88%;
  min-height: 82px;
  margin: 0 auto 12px;
  border-radius: 14px;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-footer { display: none; }
@media (max-width: 700px) {
  #module-informes .academic-grade-report:not(.is-anual) .academic-report-header { grid-template-columns: 50px minmax(0,1fr) 74px; padding-inline: 10px; }
  #module-informes .academic-grade-report:not(.is-anual) .academic-report-student-grid { grid-template-columns: 1fr; }
  #module-informes .academic-grade-report:not(.is-anual) .academic-report-field,
  #module-informes .academic-grade-report:not(.is-anual) .academic-report-field.is-wide { grid-column: auto; }
  #module-informes .academic-report-formative-grid { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media print {
  .academic-grade-report:not(.is-anual) .academic-report-footer { display: none !important; }
}

#module-informes .academic-report-attendance,
.report-print-page .academic-report-attendance {
  margin: 0 0 9px;
  border: 1px solid #c8dced;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}
#module-informes .academic-report-attendance h2,
.report-print-page .academic-report-attendance h2 {
  margin: 0;
  padding: 6px 9px;
  border-left: 4px solid #ffd400;
  background: #062d72;
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
}
#module-informes .academic-report-attendance > div,
.report-print-page .academic-report-attendance > div {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
}
#module-informes .academic-report-attendance article,
.report-print-page .academic-report-attendance article {
  min-width: 0;
  padding: 7px 9px;
  border-right: 1px solid #d9e6f1;
  background: #f8fbfe;
}
#module-informes .academic-report-attendance article:last-child,
.report-print-page .academic-report-attendance article:last-child { border-right: 0; }
#module-informes .academic-report-attendance span,
.report-print-page .academic-report-attendance span {
  display: block;
  color: #60728a;
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
}
#module-informes .academic-report-attendance b,
.report-print-page .academic-report-attendance b {
  display: block;
  margin-top: 2px;
  color: #062d72;
  font-size: .92rem;
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  #module-informes .academic-report-attendance > div,
  .report-print-page .academic-report-attendance > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Observaciones del informe: recuadro visual tipo formulario institucional */
#module-informes .academic-report-final-observation,
.report-print-page .academic-report-final-observation {
  width: 100%;
  min-height: 102px;
  margin: 8px 0 12px;
  border: 1px solid #b9d9f3;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}
#module-informes .academic-report-final-observation h2,
.report-print-page .academic-report-final-observation h2 {
  margin: 0;
  padding: 10px 14px 5px;
  border: 0;
  background: transparent;
  color: #183d73;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
#module-informes .academic-report-final-observation p,
.report-print-page .academic-report-final-observation p {
  min-height: 55px;
  padding: 8px 14px 14px;
  color: #1f3857;
  font-size: .86rem;
}

/* Informe individual/masivo: plantilla institucional unica tipo vista previa. */
#module-informes .academic-grade-report:not(.is-anual),
.report-print-page > .academic-grade-report:not(.is-anual) {
  --report-reference-blue: #1560c6;
  --report-reference-navy: #062d72;
  --report-reference-pale: #dfe6fa;
  --report-reference-cell: #edf3fb;
  width: 100%;
  max-width: 816px;
  min-height: 0;
  padding: 8px;
  border: 1px solid #b8d0ef;
  border-top: 5px solid var(--report-reference-blue);
  border-radius: 7px 7px 20px 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 76, 126, .12);
  color: #0e2c56;
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 10px;
  line-height: 1.18;
}
.report-print-page > .academic-grade-report:not(.is-anual) {
  max-width: none !important;
  margin: 0 !important;
  box-shadow: none !important;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-header,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-header {
  grid-template-columns: 76px minmax(0,1fr) 110px;
  min-height: 70px;
  margin: -8px -8px 3px;
  padding: 8px 26px;
  border: 1px solid #b8d0ef;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-primary-logo,
#module-informes .academic-grade-report:not(.is-anual) .academic-report-primary-logo .logo-informe,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-primary-logo,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-primary-logo .logo-informe {
  width: 48px !important;
  height: 56px !important;
  max-width: 48px !important;
  max-height: 56px !important;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-secondary-logo,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-secondary-logo {
  width: 92px !important;
  height: 40px !important;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-heading h1,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-heading h1 {
  color: #083984;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.08;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-heading p,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-heading p {
  margin-top: 2px;
  color: #34527c;
  font-size: 9px !important;
  font-weight: 500;
}
#module-informes .academic-report-document-title,
.report-print-page .academic-report-document-title {
  margin: 3px 0 5px;
  color: #263d70;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-student-grid,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-student-grid {
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 4px 8px;
  margin: 0 0 6px;
  padding: 5px 9px;
  border: 0;
  border-radius: 0;
  background: var(--report-reference-pale);
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-field,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-field {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-field.is-wide,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-field.is-wide { grid-column: span 4; }
#module-informes .academic-grade-report:not(.is-anual) .academic-report-field span,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-field span {
  margin: 0;
  color: #667895;
  font-size: 8px !important;
  font-weight: 500;
  text-transform: none;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-field b,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-field b {
  min-height: 18px;
  display: flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff;
  color: #354e7b;
  font-size: 8px !important;
  font-weight: 500;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-section,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-section { margin: 0 0 5px; }
#module-informes .academic-grade-report:not(.is-anual) .academic-report-section > h2,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-section > h2 {
  padding: 3px 8px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #273d69;
  font-size: 10px !important;
  font-weight: 500;
  text-align: center;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-table-scroll,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-table-scroll {
  border: 3px solid var(--report-reference-pale);
  border-radius: 0;
  overflow: visible !important;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table th,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-grade-table th {
  padding: 4px 3px;
  border: 1px solid #c0cee0;
  background: #f2f6fb;
  color: #173c76;
  font-size: 9px !important;
  font-weight: 500;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table td,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-grade-table td {
  height: 22px;
  padding: 1px 3px;
  border-color: #c6d3e4;
  background: #f8fafd;
  color: #0f2d56;
  font-size: 9px !important;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-subject,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-subject { width: 33%; }
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-value,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-value { width: 5.2%; }
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-average,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-grade-table .academic-grade-average { width: 9%; }
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-mark,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-grade-mark {
  width: 100%;
  min-width: 0;
  min-height: 17px;
  padding: 1px 2px;
  border-radius: 5px;
  background: var(--report-reference-cell);
  font-size: 9px !important;
  font-weight: 500;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-grade-average .academic-grade-mark,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-grade-average .academic-grade-mark {
  color: #fff;
  background: var(--report-reference-blue);
  font-weight: 700;
}
#module-informes .academic-report-key-metrics,
.report-print-page .academic-report-key-metrics {
  gap: 6px;
  margin: 7px 0 7px;
}
#module-informes .academic-report-key-metrics article,
.report-print-page .academic-report-key-metrics article {
  min-height: 42px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #f8fbff;
}
#module-informes .academic-report-key-metrics span,
.report-print-page .academic-report-key-metrics span,
#module-informes .academic-report-attendance span,
.report-print-page .academic-report-attendance span,
#module-informes .academic-report-period-summary span,
.report-print-page .academic-report-period-summary span {
  font-size: 8px !important;
  font-weight: 500;
}
#module-informes .academic-report-key-metrics b,
.report-print-page .academic-report-key-metrics b,
#module-informes .academic-report-attendance b,
.report-print-page .academic-report-attendance b,
#module-informes .academic-report-period-summary b,
.report-print-page .academic-report-period-summary b {
  font-size: 12px !important;
  font-weight: 500;
}
#module-informes .academic-report-key-metrics small,
.report-print-page .academic-report-key-metrics small { font-size: 8px !important; }
#module-informes .academic-report-attendance,
.report-print-page .academic-report-attendance {
  margin: 0 0 6px;
  border-radius: 6px;
}
#module-informes .academic-report-attendance h2,
.report-print-page .academic-report-attendance h2 {
  padding: 5px 9px;
  border-left: 4px solid #ffd400;
  background: var(--report-reference-navy);
  font-size: 10px !important;
}
#module-informes .academic-report-attendance article,
.report-print-page .academic-report-attendance article { padding: 6px 9px; }
#module-informes .academic-report-academic-summary > h2,
.report-print-page .academic-report-academic-summary > h2 {
  margin: 5px 0 4px;
  color: #273d69;
  font-size: 10px !important;
  font-weight: 500;
  text-align: center;
}
#module-informes .academic-report-period-summary,
.report-print-page .academic-report-period-summary {
  gap: 8px;
  margin: 0 10px 12px;
  padding: 7px 9px;
  background: var(--report-reference-pale);
}
#module-informes .academic-report-period-summary article,
.report-print-page .academic-report-period-summary article {
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid #cfe0ef;
  border-radius: 12px;
  background: #fff;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-observation,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-observation,
#module-informes .academic-grade-report:not(.is-anual) .academic-report-footer,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-footer { display: none !important; }
#module-informes .academic-grade-report:not(.is-anual) .academic-report-signatures,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-signatures {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
  max-width: 540px;
  margin: 58px auto 8px;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-signatures > div,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-signatures > div {
  min-height: 42px;
  padding-top: 0;
  border-bottom: 1px solid #172033;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-signatures .firma-digital,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-signatures .firma-digital {
  max-width: 125px;
  max-height: 36px;
  margin-bottom: 2px;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-signatures span,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-signatures span {
  padding-top: 2px;
  font-size: 9px !important;
  font-weight: 500;
  line-height: 1.12;
}
#module-informes .academic-grade-report:not(.is-anual) .academic-report-signatures b,
.report-print-page > .academic-grade-report:not(.is-anual) .academic-report-signatures b {
  font-size: 9px !important;
  font-weight: 500;
}
@media print {
  .report-print-page > .academic-grade-report:not(.is-anual),
  #module-informes .academic-grade-report:not(.is-anual) {
    box-shadow: none !important;
  }
}

/* Centro de Reportes: distribucion compacta y fluida en pantalla. */
#module-informes .course-context,
#module-informes .report-control-panel,
#module-informes .layout-report-actions,
#module-informes .layout-insight-wrap.report-insights,
#module-informes .report-observation-editor {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

#module-informes .course-context,
#module-informes .report-control-panel,
#module-informes .report-observation-editor,
#module-informes .layout-report-actions,
#module-informes .layout-insight-wrap.report-insights {
  margin-bottom: 10px !important;
}

#module-informes .course-context { padding: 8px 10px !important; }
#module-informes .report-control-panel { padding: 9px !important; }

#module-informes .report-filter-grid {
  grid-template-columns: minmax(120px, 1.05fr) minmax(150px, 1.25fr) minmax(110px, .85fr) minmax(150px, 1.35fr) minmax(96px, .75fr) minmax(140px, 1.15fr) !important;
  gap: 8px !important;
  align-items: end !important;
}

#module-informes .report-filter-grid > label,
#module-informes .report-filter-grid > button { min-width: 0 !important; }
#module-informes .report-filter-grid > button { min-height: 30px !important; padding: 6px 10px !important; }

#module-informes .report-observation-editor { padding: 9px !important; }
#module-informes .report-observation-editor .list-card-head {
  min-height: 0 !important;
  margin-bottom: 7px !important;
  padding: 0 0 6px !important;
}
#module-informes .report-observation-editor .list-card-head h3 { font-size: .82rem !important; }
#module-informes .report-observation-editor .list-card-head small { font-size: .62rem !important; line-height: 1.2 !important; }
#module-informes .report-observation-layout { gap: 8px !important; }
#module-informes .report-period-field { width: min(190px, 100%) !important; }
#module-informes .report-observation-grid { gap: 8px !important; }

#module-informes .report-observation-box {
  min-height: 0 !important;
  grid-template-rows: auto auto auto !important;
  gap: 5px !important;
  padding: 9px !important;
  border-radius: 10px !important;
}
#module-informes .report-observation-box > span { font-size: .74rem !important; }
#module-informes .report-observation-box > span i {
  width: 24px !important;
  height: 24px !important;
  border-radius: 7px !important;
}
#module-informes .report-observation-box small { min-height: 0 !important; font-size: .6rem !important; }
#module-informes .report-observation-box textarea {
  min-height: 64px !important;
  height: 64px !important;
  max-height: 140px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
}
#module-informes .report-observation-actions { margin-top: 0 !important; padding-top: 0 !important; }

#module-informes .layout-report-actions {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 7px !important;
  padding: 8px !important;
}
#module-informes .layout-report-actions button {
  min-height: 58px !important;
  grid-template-columns: 26px minmax(0, 1fr) !important;
  gap: 6px !important;
  padding: 7px !important;
}
#module-informes .layout-report-actions i {
  width: 26px !important;
  height: 26px !important;
  font-size: .72rem !important;
}
#module-informes .layout-report-actions b { font-size: .72rem !important; }
#module-informes .layout-report-actions small { font-size: .58rem !important; line-height: 1.15 !important; }

#module-informes .layout-insight-wrap.report-insights { gap: 7px !important; padding: 8px !important; }
#module-informes .layout-insight-head h3 { font-size: .78rem !important; }
#module-informes .layout-insight-grid { gap: 7px !important; }
#module-informes .layout-insight {
  min-height: 64px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 7px !important;
  padding: 7px !important;
}
#module-informes .layout-insight i { width: 28px !important; height: 28px !important; }
#module-informes .layout-insight span,
#module-informes .layout-insight small { font-size: .62rem !important; }
#module-informes .layout-insight b { margin: 1px 0 !important; font-size: 1rem !important; }

@media (min-width: 1280px) {
  #module-informes .report-filter-grid > button { grid-column: auto !important; }
}

@media (min-width: 761px) and (max-width: 1279px) {
  #module-informes .layout-report-actions { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  #module-informes .layout-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
  #module-informes .report-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #module-informes .report-filter-grid > button { grid-column: span 1 !important; }
  #module-informes .layout-report-actions { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #module-informes .layout-insight-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 420px) {
  #module-informes .report-filter-grid { grid-template-columns: 1fr !important; }
  #module-informes .report-filter-grid > button { grid-column: auto !important; }
  #module-informes .layout-report-actions { grid-template-columns: 1fr !important; }
}
/* Informes: curso, periodo y observaciones en tarjetas alineadas. */
#module-informes .course-context-main {
  display: grid !important;
  grid-template-columns: minmax(170px, .62fr) minmax(0, 1.38fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
}
#module-informes .course-context-main > label,
#module-informes .course-context-meta {
  min-width: 0 !important;
  padding: 7px 9px !important;
  border: 1px solid #cfe0ef !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
}
#module-informes .course-context-main > label select {
  margin-top: 3px !important;
}
#module-informes .course-context-meta {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
}
#module-informes .course-context-meta b {
  color: #1b416f !important;
  font-size: .76rem !important;
}
#module-informes .course-context-meta small {
  color: #6a7e99 !important;
  font-size: .6rem !important;
}

#module-informes .report-observation-editor .report-observation-layout {
  display: grid !important;
  grid-template-columns: minmax(180px, .52fr) minmax(0, 1.48fr) !important;
  gap: 8px 12px !important;
  align-items: stretch !important;
}
#module-informes .report-observation-editor .list-card-head {
  grid-column: 1 / -1 !important;
}
#module-informes .report-observation-editor .report-period-field {
  grid-column: 1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  align-self: start !important;
  padding: 8px 9px !important;
  border: 1px solid #cfe0ef !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
}
#module-informes .report-observation-editor .report-observation-grid {
  grid-column: 2 !important;
  grid-row: 2 / span 2 !important;
  min-width: 0 !important;
}
#module-informes .report-observation-editor .report-observation-box {
  height: 100% !important;
}
#module-informes .report-observation-editor .report-observation-actions {
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: end !important;
  justify-content: stretch !important;
}
#module-informes .report-observation-editor .report-observation-actions button {
  width: 100% !important;
}

@media (max-width: 760px) {
  #module-informes .course-context-main {
    grid-template-columns: 1fr !important;
  }
  #module-informes .report-observation-editor .report-observation-layout {
    grid-template-columns: 1fr !important;
  }
  #module-informes .report-observation-editor .list-card-head,
  #module-informes .report-observation-editor .report-period-field,
  #module-informes .report-observation-editor .report-observation-grid,
  #module-informes .report-observation-editor .report-observation-actions {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
body.is-login .login-form .btn-guardian-access{width:100%;min-height:40px;border:1px solid #8fc6a3;border-radius:8px;background:#f2fbf4;color:#166534;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}body.is-login .login-form .btn-guardian-access:hover{background:#e1f5e6;border-color:#52a36c}
/* Distribuci-n responsive del login: contenedor institucional centrado. */
body.is-login .login-screen{min-height:100dvh;display:grid!important;grid-template-columns:minmax(0,65fr) minmax(360px,35fr);align-items:center;justify-content:center;column-gap:clamp(28px,4vw,72px);padding:clamp(20px,3vw,44px) max(24px,calc((100vw - 1560px)/2));background-position:center!important;background-size:cover!important;overflow-x:hidden}
body.is-login .login-educadmaule-brand{position:relative!important;top:auto!important;left:auto!important;z-index:1;grid-column:1;width:min(100%,720px)!important;height:auto!important;min-height:0!important;margin:0!important;padding:clamp(16px,2.2vw,28px)!important;border-radius:14px!important;justify-self:start;background:rgba(255,255,255,.86)!important;box-shadow:0 12px 32px rgba(4,35,67,.12)!important;pointer-events:none}
body.is-login .login-educadmaule-brand img{width:min(100%,390px)!important;height:auto!important;max-height:130px!important;object-position:left center!important}
body.is-login .login-panel,body.visual-modern.is-login .login-panel,body.visual-classic.is-login .login-panel{grid-column:2;justify-self:center;width:min(100%,420px)!important;max-width:420px!important;margin:0!important;padding:clamp(20px,2vw,26px)!important;gap:11px!important}
body.is-login .login-platform-watermark.nuvez-creator-credit{margin-top:0!important;padding-top:7px!important}
@media (max-width:980px){body.is-login .login-screen{grid-template-columns:minmax(0,1fr) minmax(360px,400px);column-gap:clamp(20px,3vw,36px);padding-inline:clamp(20px,3vw,36px)}body.is-login .login-educadmaule-brand{width:min(100%,520px)!important;padding:18px!important}body.is-login .login-educadmaule-brand img{width:min(100%,310px)!important;max-height:105px!important}}
@media (max-width:700px){body.is-login .login-screen{grid-template-columns:minmax(0,1fr);align-content:center;gap:18px;padding:18px 16px 22px!important}body.is-login .login-panel,body.visual-modern.is-login .login-panel,body.visual-classic.is-login .login-panel{grid-column:1;grid-row:1;justify-self:center;width:min(100%,400px)!important;padding:20px!important}body.is-login .login-educadmaule-brand{grid-column:1;grid-row:2;justify-self:center;width:min(100%,400px)!important;padding:14px 16px!important;text-align:center}body.is-login .login-educadmaule-brand img{width:min(100%,260px)!important;max-height:82px!important;object-position:center!important}}
@media (max-width:420px){body.is-login .login-screen{padding:12px!important;gap:12px}body.is-login .login-panel,body.visual-modern.is-login .login-panel,body.visual-classic.is-login .login-panel{width:100%!important;padding:18px 16px!important}body.is-login .login-educadmaule-brand{width:100%!important;padding:12px!important}.login-educadmaule-brand img{max-height:68px!important}}
@media (max-width:700px){body.is-login .login-educadmaule-brand{transform:none!important;justify-content:center!important}}
body.is-login .login-form .btn-guardian-access{display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}

/* Login Apoderado: acceso visual independiente del login de funcionarios. */
@keyframes guardian-login-text-in {
  from { opacity: 0; transform: translateY(12px); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes guardian-login-panel-in {
  from { opacity: 0; transform: scale(.98) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
body.is-login.guardian-login .login-screen {
  grid-template-columns: minmax(0, 1fr) !important;
  place-items: center !important;
  padding: clamp(20px, 5vw, 56px) !important;
  background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.9) 0 10%, transparent 35%), linear-gradient(135deg, #fff9dc 0%, #ffe78a 48%, #dba51d 100%) !important;
}
body.is-login.guardian-login .login-screen::before { display: none !important; }
body.is-login.guardian-login .login-educadmaule-brand,
body.is-login.guardian-login #loginLogo,
body.is-login.guardian-login .login-platform-watermark { display: none !important; }
body.is-login.guardian-login .login-panel,
body.visual-modern.is-login.guardian-login .login-panel,
body.visual-classic.is-login.guardian-login .login-panel {
  grid-column: 1 !important;
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  padding: clamp(26px, 4vw, 38px) !important;
  border: 1px solid rgba(177, 123, 0, .42) !important;
  border-top: 5px solid #d59a05 !important;
  border-radius: 18px !important;
  background: rgba(255, 253, 242, .96) !important;
  box-shadow: 0 22px 50px rgba(112, 76, 3, .22) !important;
  animation: guardian-login-panel-in .58s cubic-bezier(.2,.75,.25,1) both;
}
body.is-login.guardian-login .login-panel > div > h1,
body.is-login.guardian-login .login-panel > div > p,
body.is-login.guardian-login .login-form label,
body.is-login.guardian-login .login-form .btn-primary,
body.is-login.guardian-login .login-form .btn-guardian-access {
  animation: guardian-login-text-in .5s ease both;
}
body.is-login.guardian-login .login-panel > div > h1 { color: #7a5000 !important; font-size: clamp(1.55rem, 3vw, 2rem) !important; animation-delay: .1s; }
body.is-login.guardian-login .login-panel > div > p { color: #9a6a00 !important; animation-delay: .18s; }
body.is-login.guardian-login .login-form label { color: #735000 !important; }
body.is-login.guardian-login .login-form label:nth-of-type(1) { animation-delay: .25s; }
body.is-login.guardian-login .login-form label:nth-of-type(2) { animation-delay: .32s; }
body.is-login.guardian-login .login-form label:nth-of-type(3) { animation-delay: .39s; }
body.is-login.guardian-login .login-form input:not([type=checkbox]) { border-color: #e4c15b !important; background: #fffdf3 !important; color: #5d4300 !important; }
body.is-login.guardian-login .login-form input:not([type=checkbox]):focus { border-color: #d59a05 !important; box-shadow: 0 0 0 3px rgba(238, 184, 31, .24) !important; }
body.is-login.guardian-login .login-form .btn-primary { border-color: #be7e00 !important; background: linear-gradient(135deg, #f9cf42, #d99a06) !important; color: #4a3200 !important; box-shadow: 0 8px 18px rgba(191, 127, 0, .24) !important; animation-delay: .46s; }
body.is-login.guardian-login .login-form .btn-primary:hover { background: linear-gradient(135deg, #ffe47a, #e2a60f) !important; }
body.is-login.guardian-login .login-form .btn-guardian-access { border-color: #d8ac35 !important; background: #fff6cf !important; color: #805600 !important; animation-delay: .53s; }
body.is-login.guardian-login .login-form .btn-guardian-access:hover { background: #ffec9c !important; border-color: #bd8200 !important; }
body.is-login.guardian-login .password-toggle { color: #9b6900 !important; }
@media (max-width: 700px) { body.is-login.guardian-login .login-screen { padding: 18px !important; } }
@media (prefers-reduced-motion: reduce) { body.is-login.guardian-login *, body.is-login.guardian-login *::before, body.is-login.guardian-login *::after { animation: none !important; transition: none !important; } }
/* Centro de Reportes: men- compacto de informes. */
body.is-authenticated #module-informes .layout-report-actions { display:grid !important; grid-template-columns:repeat(7,minmax(0,1fr)) !important; gap:8px !important; margin:12px 0 !important; padding:0 !important; background:transparent !important; }
body.is-authenticated #module-informes .layout-report-actions button { display:flex !important; align-items:center !important; justify-content:center !important; gap:9px !important; min-height:48px !important; padding:9px 10px !important; border:1px solid #c9dcef !important; border-radius:10px !important; background:#f8fbff !important; color:#163c69 !important; box-shadow:none !important; font-size:.82rem !important; font-weight:800 !important; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease !important; }
body.is-authenticated #module-informes .layout-report-actions button i { width:auto !important; height:auto !important; padding:0 !important; background:transparent !important; color:#1476df !important; font-size:1rem !important; }
body.is-authenticated #module-informes .layout-report-actions button span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.is-authenticated #module-informes .layout-report-actions button:hover { transform:translateY(-2px); border-color:#1476df !important; background:#f1f7ff !important; box-shadow:0 0 18px rgba(20,118,223,.22) !important; }
body.is-authenticated #module-informes .layout-report-actions button.active { border-color:#1476df !important; background:linear-gradient(135deg,#1678e5,#245bbd) !important; color:#fff !important; box-shadow:0 7px 17px rgba(20,98,195,.24) !important; }
body.is-authenticated #module-informes .layout-report-actions button.active i { color:#fff !important; }
@media (max-width:1100px) { body.is-authenticated #module-informes .layout-report-actions { grid-template-columns:repeat(4,minmax(0,1fr)) !important; } }
@media (max-width:680px) { body.is-authenticated #module-informes .layout-report-actions { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:7px !important; } body.is-authenticated #module-informes .layout-report-actions button { min-height:44px !important; font-size:.78rem !important; } }
/* Ranking por curso: lectura responsiva y salida Carta horizontal. */
#module-informes .report-course-paper .report-grade-table {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}
#module-informes .report-course-paper .report-grade-table table {
  min-width: 920px !important;
}
#module-informes .report-course-paper .report-grade-table th,
#module-informes .report-course-paper .report-grade-table td {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

@media print {
  @page { size: Letter landscape; margin: 7mm; }
  .report-print-page:has(.report-course-paper) {
    width: 279.4mm !important;
    min-height: 215.9mm !important;
    max-height: 215.9mm !important;
    padding: 7mm !important;
  }
  .report-print-page .report-course-paper {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    font-size: 7pt !important;
    line-height: 1.12 !important;
  }
  .report-print-page .report-course-paper .report-course-top,
  .report-print-page .report-course-paper .report-summary-line,
  .report-print-page .report-course-paper .report-attendance-metric {
    display: none !important;
  }
  .report-print-page .report-course-paper .report-header { margin-bottom: 2mm !important; }
  .report-print-page .report-course-paper .report-header h2 { font-size: 11pt !important; }
  .report-print-page .report-course-paper .report-header p,
  .report-print-page .report-course-paper .report-student,
  .report-print-page .report-course-paper .report-student div { font-size: 7pt !important; }
  .report-print-page .report-course-paper .report-title { margin: 2mm 0 !important; font-size: 13pt !important; }
  .report-print-page .report-course-paper .report-grade-box { margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
  .report-print-page .report-course-paper .report-grade-table { overflow: visible !important; }
  .report-print-page .report-course-paper .report-grade-table table { min-width: 0 !important; width: 100% !important; table-layout: fixed !important; }
  .report-print-page .report-course-paper .report-grade-table th,
  .report-print-page .report-course-paper .report-grade-table td { padding: 1.2mm 1.5mm !important; font-size: 7pt !important; line-height: 1.1 !important; vertical-align: middle !important; }
  .report-print-page .report-course-paper .report-grade-table th:nth-child(1),
  .report-print-page .report-course-paper .report-grade-table td:nth-child(1) { width: 8% !important; }
  .report-print-page .report-course-paper .report-grade-table th:nth-child(2),
  .report-print-page .report-course-paper .report-grade-table td:nth-child(2) { width: 20% !important; }
  .report-print-page .report-course-paper .report-grade-table th:nth-child(3),
  .report-print-page .report-course-paper .report-grade-table td:nth-child(3) { width: 52% !important; }
  .report-print-page .report-course-paper .report-grade-table th:nth-child(4),
  .report-print-page .report-course-paper .report-grade-table td:nth-child(4) { width: 20% !important; }
  .report-print-page .report-course-paper .report-grade-table th:nth-child(n+5),
  .report-print-page .report-course-paper .report-grade-table td:nth-child(n+5) { display: none !important; }
  .report-print-page .report-course-paper .report-grade-table thead { display: table-header-group !important; }
  .report-print-page .report-course-paper .report-grade-table tr { break-inside: avoid !important; page-break-inside: avoid !important; }
}

/* El generador PDF captura en pantalla; replica la composici-n de impresi-n. */
.report-pdf-render .report-course-paper {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  font-size: 7pt !important;
  line-height: 1.12 !important;
}
.report-pdf-render .report-course-paper .report-course-top,
.report-pdf-render .report-course-paper .report-summary-line,
.report-pdf-render .report-course-paper .report-attendance-metric { display: none !important; }
.report-pdf-render .report-course-paper .report-header { margin-bottom: 2mm !important; }
.report-pdf-render .report-course-paper .report-header h2 { font-size: 11pt !important; }
.report-pdf-render .report-course-paper .report-header p,
.report-pdf-render .report-course-paper .report-student,
.report-pdf-render .report-course-paper .report-student div { font-size: 7pt !important; }
.report-pdf-render .report-course-paper .report-title { margin: 2mm 0 !important; font-size: 13pt !important; }
.report-pdf-render .report-course-paper .report-grade-box { margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.report-pdf-render .report-course-paper .report-grade-table { overflow: visible !important; }
.report-pdf-render .report-course-paper .report-grade-table table { min-width: 0 !important; width: 100% !important; table-layout: fixed !important; }
.report-pdf-render .report-course-paper .report-grade-table th,
.report-pdf-render .report-course-paper .report-grade-table td { padding: 1.2mm 1.5mm !important; font-size: 7pt !important; line-height: 1.1 !important; vertical-align: middle !important; }
.report-pdf-render .report-course-paper .report-grade-table th:nth-child(1),
.report-pdf-render .report-course-paper .report-grade-table td:nth-child(1) { width: 8% !important; }
.report-pdf-render .report-course-paper .report-grade-table th:nth-child(2),
.report-pdf-render .report-course-paper .report-grade-table td:nth-child(2) { width: 20% !important; }
.report-pdf-render .report-course-paper .report-grade-table th:nth-child(3),
.report-pdf-render .report-course-paper .report-grade-table td:nth-child(3) { width: 52% !important; }
.report-pdf-render .report-course-paper .report-grade-table th:nth-child(4),
.report-pdf-render .report-course-paper .report-grade-table td:nth-child(4) { width: 20% !important; }
.report-pdf-render .report-course-paper .report-grade-table th:nth-child(n+5),
.report-pdf-render .report-course-paper .report-grade-table td:nth-child(n+5) { display: none !important; }
.report-pdf-render .report-course-paper .report-grade-table thead { display: table-header-group !important; }
.report-pdf-render .report-course-paper .report-grade-table tr { break-inside: avoid !important; page-break-inside: avoid !important; }
/* Pantalla de acceso institucional */
body.is-login .login-screen{
  position:relative; isolation:isolate; grid-template-columns:minmax(430px,1fr) minmax(380px,450px)!important;
  min-height:100dvh; padding:clamp(28px,4vw,64px)!important; column-gap:clamp(36px,6vw,110px)!important;
  background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.91) 30%,rgba(255,255,255,.12) 60%,rgba(0,47,103,.24) 100%),var(--visual-login-bg,var(--login-bg)) center/cover no-repeat!important;
}
body.is-login .login-screen::before{content:""!important;position:absolute!important;inset:auto auto 0 0!important;width:63%!important;height:32%!important;z-index:-1!important;background:linear-gradient(112deg,#003b91 0%,#0054b8 78%,transparent 78%)!important;clip-path:polygon(0 24%,31% 0,100% 68%,100% 100%,0 100%)!important;opacity:.95!important}
body.is-login .login-educadmaule-brand{align-self:start!important;position:relative!important;display:block!important;width:min(100%,560px)!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
body.is-login .login-educadmaule-brand img{width:min(100%,420px)!important;max-height:145px!important;object-fit:contain!important;object-position:left center!important}
body.is-login .login-educadmaule-brand::after{content:"Gestión Escolar Moderna\A Plataforma integral para nuestra comunidad educativa.\A\A Información en Tiempo Real\A Consulta información actualizada de forma rápida y segura.\A\A Fácil y Accesible\A Ingresa desde cualquier dispositivo cuando lo necesites.";white-space:pre-line;display:block;margin-top:34px;padding-left:76px;color:#1b5198;font-size:.9rem;line-height:1.55;font-weight:400;text-shadow:0 1px 0 #fff}
body.is-login .login-educadmaule-brand::first-line{font-weight:800;color:#003f98}
body.is-login .login-panel,body.visual-modern.is-login .login-panel,body.visual-classic.is-login .login-panel{width:min(100%,450px)!important;max-width:450px!important;padding:34px!important;border:1px solid rgba(135,190,229,.7)!important;border-radius:22px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 22px 52px rgba(0,38,92,.3)!important;gap:14px!important}
body.is-login #loginLogo{width:108px!important;height:108px!important;min-width:108px!important;min-height:108px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#0045a4!important;color:white!important;box-shadow:none!important;font-size:2.8rem!important;display:grid!important;place-items:center!important}
body.is-login #loginLogo img{display:none!important}
body.is-login .login-panel h1{font-size:1.45rem!important;color:#00429a!important;font-weight:800!important}
body.is-login .login-panel>div>p{font-size:.9rem!important;color:#6281ab!important}
body.is-login .login-form{gap:13px!important;margin-top:8px}
body.is-login .login-form label{font-size:.8rem!important;color:#37608e!important}
body.is-login .login-form input:not([type=checkbox]){height:44px!important;min-height:44px!important;border-color:#c1d6e9!important;border-radius:9px!important;padding-left:14px!important}
body.is-login .login-form .password-toggle{height:44px!important;background:#fff!important;border-color:#c1d6e9!important}
body.is-login .login-remember{margin-top:0!important}
body.is-login .login-form .btn-primary{min-height:46px!important;border:0!important;border-radius:24px!important;background:linear-gradient(100deg,#006dcc,#0050b7)!important;color:#fff!important;font-size:.95rem!important;box-shadow:0 7px 16px rgba(0,76,181,.22)!important}
body.is-login .login-form .btn-guardian-access{min-height:44px!important;border:2px solid #0877e8!important;border-radius:24px!important;background:#fff!important;color:#0061c5!important;font-size:.9rem!important}
body.is-login .login-platform-watermark.nuvez-creator-credit{border-top:1px solid #d8e4ef!important;margin-top:8px!important;padding-top:12px!important;justify-content:center!important}
@media (max-width:700px){body.is-login .login-screen{grid-template-columns:1fr!important;padding:24px 16px!important;background:linear-gradient(rgba(255,255,255,.82),rgba(255,255,255,.82)),var(--visual-login-bg,var(--login-bg)) center/cover!important}body.is-login .login-educadmaule-brand{display:none!important}body.is-login .login-panel{grid-column:1!important;width:min(100%,430px)!important;padding:26px 22px!important}body.is-login .login-screen::before{display:none!important}}
body.is-login #loginLogo::after{content:"";font-family:inherit;font-weight:400;line-height:1}
body.is-login .login-panel h1{font-size:0!important;line-height:1!important}
body.is-login .login-panel h1::after{content:"Acceso para Funcionarios";font-size:1.45rem;line-height:1.15}
body.is-login .login-form label:not(.login-remember){position:relative;padding-left:0}
body.is-login .login-form label:not(.login-remember)::before{position:absolute;z-index:1;top:28px;left:13px;color:#0061bd;font-family:inherit;font-weight:400}
body.is-login .login-form label:nth-child(1)::before{content:""}
body.is-login .login-form label:nth-child(2)::before{content:""}
body.is-login .login-form label:nth-child(1) input,body.is-login .login-form label:nth-child(2) input{padding-left:40px!important}

/* Animaciones de acceso: discretas y limitadas a propiedades compuestas. */
@keyframes login-fade-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes login-fade-in{from{opacity:0}to{opacity:1}}
@keyframes login-icon-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes login-background-drift{from{background-position:center center}to{background-position:center 48%}}
@keyframes login-info-reveal{from{opacity:0;clip-path:inset(0 0 100% 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
@keyframes login-title-type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}

body.is-login .login-screen{animation:login-background-drift 18s ease-in-out infinite alternate;will-change:background-position}
body.is-login .login-educadmaule-brand{animation:login-fade-up .6s cubic-bezier(.2,.75,.25,1) both}
body.is-login .login-educadmaule-brand::after{animation:login-info-reveal .75s .32s cubic-bezier(.2,.75,.25,1) both}
body.is-login .login-panel{animation:login-fade-up .65s .12s cubic-bezier(.2,.75,.25,1) both}
body.is-login #loginLogo{animation:login-fade-in .45s .3s ease both,login-icon-float 4.8s 1s ease-in-out infinite;will-change:transform}
body.is-login .login-panel h1::after{display:inline-block;animation:login-title-type .7s .38s steps(22,end) both}
body.is-login .login-panel>div>p{animation:login-fade-up .45s .48s ease both}
body.is-login .login-form label:nth-child(1){animation:login-fade-up .42s .54s ease both}
body.is-login .login-form label:nth-child(2){animation:login-fade-up .42s .61s ease both}
body.is-login .login-form .login-remember{animation:login-fade-up .42s .68s ease both}
body.is-login .login-form .btn-primary{animation:login-fade-up .42s .75s ease both;transition:transform .25s ease,box-shadow .25s ease,filter .25s ease!important}
body.is-login .login-form .btn-guardian-access,body.is-login .login-platform-watermark{animation:login-fade-in .45s .8s ease both;transition:transform .25s ease,box-shadow .25s ease,filter .25s ease!important}
body.is-login .login-form .btn-primary:hover{transform:translateY(-1px) scale(1.018)!important;box-shadow:0 10px 22px rgba(0,76,181,.28)!important;filter:brightness(1.04)}
body.is-login .login-form .btn-guardian-access:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(0,97,197,.14);filter:brightness(1.025)}
body.is-login .password-toggle,body.is-login .login-form input:not([type=checkbox]){transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease!important}

@media (prefers-reduced-motion:reduce){
  body.is-login .login-screen,body.is-login .login-educadmaule-brand,body.is-login .login-educadmaule-brand::after,body.is-login .login-panel,body.is-login #loginLogo,body.is-login .login-panel h1::after,body.is-login .login-panel>div>p,body.is-login .login-form label,body.is-login .login-form .btn-primary,body.is-login .login-form .btn-guardian-access,body.is-login .login-platform-watermark{animation:none!important;transition:none!important}
}

/* Conserva el t-tulo institucional real durante la animaci-n de escritura. */
body.is-login:not(.guardian-login) .login-panel h1::after{content:"Nombre del Colegio"}
body.is-login.guardian-login .login-panel h1::after{content:"Portal del Apoderado"}

/* Login Nombre del Colegio: textos claros y animacion accesible */
@keyframes plumero-title-reveal{from{opacity:0;transform:translateY(10px);letter-spacing:.08em}to{opacity:1;transform:translateY(0);letter-spacing:.01em}}
@keyframes plumero-copy-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
body.is-login .login-panel h1{font-size:clamp(1.55rem,3vw,2rem)!important;line-height:1.16!important;color:#003f98!important;font-weight:900!important;letter-spacing:.01em!important;text-shadow:0 1px 0 #fff;animation:plumero-title-reveal .58s .28s cubic-bezier(.2,.75,.25,1) both!important}
body.is-login .login-panel h1::after{display:none!important;content:none!important;animation:none!important}
body.is-login .login-panel>div>p{max-width:34ch!important;font-size:.92rem!important;line-height:1.45!important;color:#345f8e!important;font-weight:600!important;animation:plumero-copy-reveal .48s .42s ease both!important}
body.is-login .login-form label{font-size:.84rem!important;font-weight:800!important;color:#214d7d!important;animation:plumero-copy-reveal .42s ease both!important}
body.is-login .login-form input:not([type=checkbox]){font-size:.96rem!important;font-weight:600!important;color:#163d67!important}
body.is-login .login-form input:not([type=checkbox])::placeholder{color:#6e87a1!important;opacity:1!important}
body.is-login #loginHelp{font-size:.78rem!important;line-height:1.4!important}
body.is-login .login-educadmaule-brand::after{max-width:430px;padding:18px 22px 18px 76px!important;border-left:4px solid #0a63bd;border-radius:0 14px 14px 0;background:rgba(255,255,255,.75);font-size:.98rem!important;line-height:1.58!important;color:#174f91!important;animation:plumero-copy-reveal .7s .3s cubic-bezier(.2,.75,.25,1) both!important}
body.is-login.guardian-login .login-panel h1{color:#7a5000!important}
body.is-login.guardian-login .login-panel>div>p{color:#805b08!important}
body.is-login.guardian-login .login-form label{color:#735000!important}
@media(max-width:700px){body.is-login .login-panel h1{font-size:1.62rem!important}.guardian-login-notice{font-size:.78rem}}
@media(prefers-reduced-motion:reduce){body.is-login .login-panel h1,body.is-login .login-panel>div>p,body.is-login .login-form label,body.is-login .login-educadmaule-brand::after{animation:none!important;transform:none!important}}
/* Portal del Funcionario: directorio visual de m-dulos */
body.is-authenticated:not(.guardian-portal-only) { --shell-sidebar-width:0px; --shell-topbar-height:64px; background:#F3F8FC!important; overflow-x:hidden; }
body.is-authenticated:not(.guardian-portal-only) #mainNav, body.is-authenticated:not(.guardian-portal-only) .sidebar-resize-handle, body.is-authenticated:not(.guardian-portal-only) .mobile-menu-toggle { display:none!important; }
body.is-authenticated:not(.guardian-portal-only) .topbar { height:var(--shell-topbar-height)!important; background:#102A5C!important; border-bottom:1px solid rgba(187,221,234,.45)!important; box-shadow:0 4px 16px rgba(16,42,92,.16)!important; }
body.is-authenticated:not(.guardian-portal-only) #appMain { margin-left:0!important; min-width:0!important; min-height:100vh; padding:calc(var(--shell-topbar-height) + 26px) clamp(16px,3vw,56px) 48px!important; background:#F3F8FC!important; overflow-x:clip; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio { width:min(100%,1720px); margin:0 auto; color:#143A6E; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-dashboard-home, body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-module-directory, body.is-authenticated:not(.guardian-portal-only) #module-inicio .modern-tile-group { background:transparent!important; border:0!important; box-shadow:none!important; }

body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header { display:grid!important; grid-template-columns:auto minmax(0,1fr) minmax(420px,.9fr)!important; align-items:center!important; gap:clamp(18px,2.5vw,42px)!important; margin:0 0 24px!important; padding:clamp(24px,3.5vw,42px)!important; color:#102A5C!important; background:radial-gradient(circle at 48% 20%,rgba(190,221,248,.72),transparent 32%),linear-gradient(112deg,#EAF8FB 0%,#E7F0FF 55%,#F0F7FF 100%)!important; border:1px solid #BBDDEA!important; border-left:7px solid #22A6B3!important; border-radius:18px!important; box-shadow:0 16px 32px rgba(38,80,130,.09)!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-brand { display:grid; place-items:center; width:96px; height:96px; overflow:hidden; background:#E6F3FF; border:1px solid #D3E5F5; border-radius:50%; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-brand img { width:96px!important; height:96px!important; padding:12px; object-fit:contain; border-radius:50%; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-copy { min-width:0; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-kicker { display:block; margin-bottom:5px; color:#22A6B3; font-size:.78rem; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header h1 { margin:0; color:#102A5C!important; font-size:clamp(1.8rem,3vw,2.8rem); line-height:1.08; letter-spacing:-.035em; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header p { margin:12px 0 9px!important; color:#143A6E!important; font-size:clamp(.96rem,1.5vw,1.12rem); }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-meta { display:flex; flex-wrap:wrap; gap:8px 18px; color:#31527B; font-size:.86rem; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-meta span { display:inline-flex; align-items:center; gap:7px; min-width:0; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-meta i { color:#22A6B3; }

body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-item { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:10px; min-height:106px; padding:15px 12px; color:#143A6E; background:#DDF4F9; border:1px solid #BBDDEA; border-radius:14px; box-shadow:0 8px 18px rgba(34,91,124,.08); font-size:.73rem; font-weight:700; line-height:1.35; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-item i { display:grid; width:42px; height:42px; place-items:center; border-radius:50%; background:#EAF6FF; font-size:1.12rem; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-item span { display:grid; gap:2px; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-item strong { font-size:1.45rem; line-height:1; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-blue strong,body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-blue i { color:#1976D2; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-turquoise strong,body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-turquoise i { color:#149BA8; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-purple strong,body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-purple i { color:#8657E8; }

body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-dashboard-indicators { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px!important; margin:0 0 30px!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-dashboard-indicators article { display:grid!important; grid-template-columns:30px minmax(0,1fr)!important; gap:2px 10px!important; align-items:center!important; padding:15px!important; color:#143A6E!important; background:#E1F4F7!important; border:1px solid #BBDDEA!important; border-radius:14px!important; box-shadow:none!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-dashboard-indicators article > i { grid-row:span 2; color:#22A6B3; font-size:1.2rem; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-dashboard-indicators span { color:#527092; font-size:.77rem; font-weight:700; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-dashboard-indicators strong { color:#143A6E; font-size:.88rem; overflow-wrap:anywhere; }

body.is-authenticated:not(.guardian-portal-only) #module-inicio .modern-tile-group { margin:0 0 34px!important; padding:0!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .module-section-bar { display:flex!important; align-items:center!important; gap:11px!important; margin:0 0 14px!important; padding:0!important; background:transparent!important; border:0!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .module-section-icon { display:grid; width:30px; height:30px; place-items:center; flex:0 0 auto; color:#fff; background:#22A6B3; border-radius:50%; font-size:.88rem; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .section-tone-blue .module-section-icon { background:#2185F5; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .section-tone-green .module-section-icon { background:#2DBA78; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .section-tone-orange .module-section-icon { background:#FF7A2F; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .section-tone-purple .module-section-icon { background:#8657E8; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .module-section-copy { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 12px; min-width:0; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .module-section-copy h2 { margin:0; color:#102A5C; font-size:clamp(1.1rem,1.6vw,1.35rem); }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .module-section-copy p { display:none; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .module-section-count { padding:5px 10px; color:#087F87; background:#E1F4F2; border-radius:999px; font-size:.74rem; font-weight:800; }

body.is-authenticated:not(.guardian-portal-only) #module-inicio .modern-tile-grid { display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; gap:16px!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.modern-module-tile { display:grid!important; grid-template-columns:52px minmax(0,1fr)!important; grid-template-rows:1fr auto!important; gap:13px!important; align-items:start!important; min-width:0!important; min-height:210px!important; padding:22px!important; overflow:hidden!important; text-align:left!important; color:#143A6E!important; background:#DDF4F9!important; border:1px solid #BBDDEA!important; border-top:4px solid #22A6B3!important; border-radius:18px!important; box-shadow:0 10px 22px rgba(23,81,115,.09)!important; transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.modern-module-tile:hover,body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.modern-module-tile:focus-visible { background:#C4EBF5!important; box-shadow:0 16px 28px rgba(23,81,115,.16)!important; transform:translateY(-4px); outline:none!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.tile-blue { border-top-color:#2185F5!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.tile-green { border-top-color:#2DBA78!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.tile-orange { border-top-color:#FF7A2F!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.tile-purple { border-top-color:#8657E8!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-icon { display:grid!important; width:52px!important; height:52px!important; place-items:center!important; color:#22A6B3!important; background:#E8F7FB!important; border-radius:50%!important; font-size:1.32rem!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .tile-blue .school-module-icon { color:#2185F5!important; background:#EAF3FF!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .tile-green .school-module-icon { color:#2DBA78!important; background:#E8F9F0!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .tile-orange .school-module-icon { color:#FF7A2F!important; background:#FFF1E8!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .tile-purple .school-module-icon { color:#8657E8!important; background:#F1ECFF!important; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-content { display:grid; gap:8px; min-width:0; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-label { color:#102A5C!important; font-size:1rem!important; font-weight:800!important; line-height:1.28!important; overflow-wrap:anywhere; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-description { color:#31527B; font-size:.81rem; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-action { display:inline-flex; grid-column:1/-1; align-items:center; gap:11px; align-self:end; color:#168B99; font-size:.83rem; font-weight:800; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-action i { font-size:1rem; transition:transform .2s ease; }
body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile:hover .school-module-action i { transform:translateX(5px); }

@media (max-width:1510px) { body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header { grid-template-columns:auto minmax(0,1fr)!important; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-summary { grid-column:1/-1; margin-left:114px; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .modern-tile-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; } }
@media (max-width:1040px) { body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-dashboard-indicators { grid-template-columns:repeat(2,minmax(0,1fr))!important; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .modern-tile-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; } }
@media (max-width:760px) { body.is-authenticated:not(.guardian-portal-only) #appMain { padding:calc(var(--shell-topbar-height) + 16px) 14px 32px!important; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header { grid-template-columns:1fr!important; gap:18px!important; padding:24px!important; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-brand { display:none; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-header-summary { grid-column:auto; grid-template-columns:1fr; margin:0; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .home-summary-item { min-height:76px; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .modern-tile-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:12px!important; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.modern-module-tile { min-height:196px!important; padding:17px!important; grid-template-columns:44px minmax(0,1fr)!important; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-icon { width:44px!important; height:44px!important; font-size:1.12rem!important; } }
@media (max-width:520px) { body.is-authenticated:not(.guardian-portal-only) #module-inicio .staff-dashboard-indicators, body.is-authenticated:not(.guardian-portal-only) #module-inicio .modern-tile-grid { grid-template-columns:1fr!important; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .module-section-bar { align-items:flex-start!important; } body.is-authenticated:not(.guardian-portal-only) #module-inicio .school-module-tile.modern-module-tile { min-height:174px!important; } }body.is-authenticated:not(.guardian-portal-only) #module-inicio > .card { color:#143A6E!important; background:#DDF4F9!important; border:1px solid #BBDDEA!important; border-radius:18px!important; box-shadow:0 10px 22px rgba(23,81,115,.09)!important; }
/* Portal del Funcionario: flujo responsive y regreso al men- */
body.is-authenticated:not(.guardian-portal-only) { overflow-x:hidden!important; }
body.is-authenticated:not(.guardian-portal-only) #appMain { width:100%!important; max-width:none!important; min-width:0!important; padding:calc(var(--shell-topbar-height) + 20px) 20px 28px!important; margin:0 auto!important; overflow:visible!important; }
body.is-authenticated:not(.guardian-portal-only) #appMain .module { width:100%!important; max-width:none!important; height:auto!important; min-height:auto!important; margin:0 auto!important; padding:0!important; overflow:visible!important; }
body.is-authenticated:not(.guardian-portal-only) #appMain .module > section,
body.is-authenticated:not(.guardian-portal-only) #appMain .module > .card,
body.is-authenticated:not(.guardian-portal-only) #appMain .module > .module-head { display:block!important; width:100%!important; max-width:none!important; height:auto!important; min-height:auto!important; margin:0 0 24px!important; clear:both!important; overflow:visible!important; }
body.is-authenticated:not(.guardian-portal-only) #appMain .module .module-head,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .module-section-bar,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .modern-tile-group,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .card { position:static!important; clear:both!important; overflow:visible!important; }

body.is-authenticated:not(.guardian-portal-only) .staff-back-to-menu { position:sticky!important; top:calc(var(--shell-topbar-height) + 12px)!important; z-index:80!important; display:inline-flex!important; align-items:center!important; gap:9px!important; width:max-content!important; max-width:100%!important; min-height:42px!important; margin:0 0 16px!important; padding:10px 15px!important; color:#fff!important; background:#102A5C!important; border:1px solid #102A5C!important; border-radius:12px!important; box-shadow:0 8px 18px rgba(16,42,92,.2)!important; font-weight:800!important; cursor:pointer!important; transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease!important; }
body.is-authenticated:not(.guardian-portal-only) .staff-back-to-menu:hover,
body.is-authenticated:not(.guardian-portal-only) .staff-back-to-menu:focus-visible { color:#fff!important; background:#143A6E!important; box-shadow:0 12px 24px rgba(16,42,92,.28)!important; outline:0!important; transform:translateX(-2px); }

body.is-authenticated:not(.guardian-portal-only) #appMain .module .grid,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .form-grid,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .cards-grid,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .portal-metrics,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .teacher-dash-grid,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .head-teacher-kpis,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .head-teacher-content-grid { display:grid!important; grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))!important; gap:18px!important; width:100%!important; max-width:none!important; margin:0 0 24px!important; }
body.is-authenticated:not(.guardian-portal-only) #appMain .module .modern-tile-grid { display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; gap:18px!important; width:100%!important; max-width:none!important; }
body.is-authenticated:not(.guardian-portal-only) #appMain .module .card,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .school-module-tile { box-sizing:border-box!important; width:100%!important; height:auto!important; min-height:220px!important; margin:0!important; display:flex!important; flex-direction:column!important; justify-content:space-between!important; }
body.is-authenticated:not(.guardian-portal-only) #appMain .module :is(h1,h2,h3,p,small,span,td,th) { overflow-wrap:anywhere; }
body.is-authenticated:not(.guardian-portal-only) #appMain .module .table-wrap,
body.is-authenticated:not(.guardian-portal-only) #appMain .module .smart-table { max-width:100%!important; overflow-x:auto!important; }

@media (max-width:1350px) { body.is-authenticated:not(.guardian-portal-only) #appMain .module .modern-tile-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; } }
@media (max-width:1040px) { body.is-authenticated:not(.guardian-portal-only) #appMain .module .modern-tile-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; } }
@media (max-width:760px) { body.is-authenticated:not(.guardian-portal-only) #appMain { padding:calc(var(--shell-topbar-height) + 16px) 14px 24px!important; } body.is-authenticated:not(.guardian-portal-only) #appMain .module > section,body.is-authenticated:not(.guardian-portal-only) #appMain .module > .card,body.is-authenticated:not(.guardian-portal-only) #appMain .module > .module-head { margin-bottom:20px!important; } body.is-authenticated:not(.guardian-portal-only) #appMain .module .modern-tile-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; } }
@media (max-width:560px) { body.is-authenticated:not(.guardian-portal-only) .staff-back-to-menu { top:calc(var(--shell-topbar-height) + 8px)!important; width:100%!important; justify-content:center!important; } body.is-authenticated:not(.guardian-portal-only) #appMain .module .modern-tile-grid { grid-template-columns:1fr!important; } body.is-authenticated:not(.guardian-portal-only) #appMain .module .card,body.is-authenticated:not(.guardian-portal-only) #appMain .module .school-module-tile { min-height:220px!important; } }
/* Plataforma completa: cuadr-cula uniforme de contenidos */
body.is-authenticated #appMain { width:100%!important; max-width:none!important; overflow-x:hidden!important; }
body.is-authenticated #appMain .module { width:100%!important; max-width:none!important; min-width:0!important; height:auto!important; min-height:auto!important; margin:0 auto!important; overflow:visible!important; }
body.is-authenticated #appMain .module > * { width:100%; max-width:none!important; min-width:0; height:auto; min-height:auto; margin-bottom:24px; clear:both; }
body.is-authenticated #appMain .module :is(.grid,.form-grid,.cards-grid,.portal-metrics,.teacher-dash-grid,.head-teacher-kpis,.head-teacher-content-grid,.users-summary-grid,.function-check-grid,.teacher-check-grid,.access-suggestion-grid,.guardian-summary,.institution-strip,.dashboard-grid,.report-card-grid) { display:grid!important; grid-template-columns:repeat(auto-fit,minmax(max(280px,calc((100% - 54px) / 4)),1fr))!important; gap:18px!important; align-items:stretch!important; width:100%!important; max-width:none!important; min-width:0!important; margin:0 0 18px!important; }
body.is-authenticated #appMain .module .modern-tile-grid { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:18px!important; align-items:stretch!important; width:100%!important; max-width:none!important; }
body.is-authenticated #appMain .module :is(.card,.panel-listado,.modern-tile-group,.module-section-bar,.teacher-assignment-card,.portal-card,.school-module-tile,.form-grid,.grid) { position:static!important; box-sizing:border-box!important; width:100%!important; max-width:none!important; min-width:0!important; height:auto!important; min-height:0!important; overflow:visible!important; }
body.is-authenticated #appMain .module :is(.card,.panel-listado,.teacher-assignment-card,.portal-card,.school-module-tile) { display:flex!important; flex-direction:column!important; justify-content:space-between!important; align-items:stretch!important; }
body.is-authenticated #appMain .module :is(h1,h2,h3,h4,p,small,span,label,td,th,button) { min-width:0!important; overflow-wrap:anywhere!important; word-break:normal!important; }
body.is-authenticated #appMain .module :is(.table-wrap,.smart-table,.table-scroll) { width:100%!important; max-width:100%!important; overflow-x:auto!important; }

@media (max-width:980px) { body.is-authenticated #appMain .module :is(.grid,.form-grid,.cards-grid,.portal-metrics,.teacher-dash-grid,.head-teacher-kpis,.head-teacher-content-grid,.users-summary-grid,.function-check-grid,.teacher-check-grid,.access-suggestion-grid,.guardian-summary,.institution-strip,.dashboard-grid,.report-card-grid), body.is-authenticated #appMain .module .modern-tile-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; } }
@media (max-width:640px) { body.is-authenticated #appMain { padding-left:14px!important; padding-right:14px!important; } body.is-authenticated #appMain .module > * { margin-bottom:18px!important; } body.is-authenticated #appMain .module :is(.grid,.form-grid,.cards-grid,.portal-metrics,.teacher-dash-grid,.head-teacher-kpis,.head-teacher-content-grid,.users-summary-grid,.function-check-grid,.teacher-check-grid,.access-suggestion-grid,.guardian-summary,.institution-strip,.dashboard-grid,.report-card-grid), body.is-authenticated #appMain .module .modern-tile-grid { grid-template-columns:1fr!important; gap:14px!important; } }
/* Login basico con foto aerea del colegio */
body.is-login:not(.is-authenticated) .login-screen,
body.visual-modern.is-login:not(.is-authenticated) .login-screen,
body.visual-classic.is-login:not(.is-authenticated) .login-screen {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  place-items: center !important;
  min-height: 100dvh !important;
  padding: 24px !important;
  background:
    linear-gradient(rgba(5, 20, 34, .42), rgba(5, 20, 34, .42)),
    url("../assets/fondo-aerea-colegio.png") center / cover no-repeat !important;
  animation: none !important;
  overflow: auto !important;
}

body.is-login:not(.is-authenticated) .login-screen::before,
body.is-login:not(.is-authenticated) .login-screen::after,
body.is-login:not(.is-authenticated) .login-educadmaule-brand,
body.is-login:not(.is-authenticated) .login-feature-list,
body.is-login:not(.is-authenticated) .login-value-bar,
body.is-login:not(.is-authenticated) .login-motto-line,
body.is-login:not(.is-authenticated) .login-trust-strip {
  display: none !important;
  content: none !important;
}

body.is-login:not(.is-authenticated) .login-panel,
body.visual-modern.is-login:not(.is-authenticated) .login-panel,
body.visual-classic.is-login:not(.is-authenticated) .login-panel {
  grid-column: 1 !important;
  width: min(100%, 380px) !important;
  max-width: 380px !important;
  margin: 0 !important;
  padding: 26px 24px 22px !important;
  gap: 14px !important;
  border: 1px solid rgba(255, 255, 255, .62) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28) !important;
  backdrop-filter: blur(5px) !important;
  animation: none !important;
}

body.is-login:not(.is-authenticated) #loginLogo {
  width: 74px !important;
  height: 74px !important;
  min-width: 74px !important;
  min-height: 74px !important;
  margin: 0 auto 2px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #fff url("../assets/logo-colegio.svg") center / contain no-repeat !important;
  color: transparent !important;
  box-shadow: none !important;
  animation: none !important;
}

body.is-login:not(.is-authenticated) .login-title-block {
  text-align: center !important;
}

body.is-login:not(.is-authenticated) .login-panel h1,
body.is-login.guardian-login:not(.is-authenticated) .login-panel h1 {
  margin: 0 !important;
  color: #102a43 !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  animation: none !important;
}

body.is-login:not(.is-authenticated) .login-panel h1::after {
  display: none !important;
  content: none !important;
}

body.is-login:not(.is-authenticated) .login-panel > div > p,
body.is-login.guardian-login:not(.is-authenticated) .login-panel > div > p {
  max-width: none !important;
  margin: 5px 0 0 !important;
  color: #52606d !important;
  font-size: .9rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  animation: none !important;
}

body.is-login:not(.is-authenticated) .login-form {
  gap: 13px !important;
  margin-top: 2px !important;
}

body.is-login:not(.is-authenticated) .login-field-group {
  gap: 11px !important;
}

body.is-login:not(.is-authenticated) .login-form label {
  color: #243b53 !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  animation: none !important;
}

body.is-login:not(.is-authenticated) .login-input-shell {
  height: 44px !important;
  border: 1px solid #bcccdc !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.is-login:not(.is-authenticated) .login-input-shell:focus-within {
  border-color: #1d70b8 !important;
  box-shadow: 0 0 0 3px rgba(29, 112, 184, .16) !important;
}

body.is-login:not(.is-authenticated) .login-input-shell > i {
  color: #52606d !important;
}

body.is-login:not(.is-authenticated) .login-form input:not([type=checkbox]) {
  height: 42px !important;
  min-height: 42px !important;
  color: #102a43 !important;
  font-size: .95rem !important;
  font-weight: 500 !important;
  background: transparent !important;
}

body.is-login:not(.is-authenticated) .login-options-row {
  align-items: center !important;
  gap: 8px !important;
}

body.is-login:not(.is-authenticated) .login-staff-hint {
  display: none !important;
}

body.is-login:not(.is-authenticated) .login-form .btn-primary {
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #145da0 !important;
  color: #fff !important;
  font-size: .95rem !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  animation: none !important;
}

body.is-login:not(.is-authenticated) .login-form .btn-primary:hover,
body.is-login:not(.is-authenticated) .login-form .btn-primary:focus-visible {
  transform: none !important;
  background: #0f4f8a !important;
  filter: none !important;
}

body.is-login:not(.is-authenticated) .login-form .btn-guardian-access {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #145da0 !important;
  box-shadow: none !important;
  font-size: .84rem !important;
  text-align: center !important;
  animation: none !important;
}

body.is-login:not(.is-authenticated) .guardian-access-copy,
body.is-login:not(.is-authenticated) .guardian-access-cta i {
  display: none !important;
}

body.is-login:not(.is-authenticated) .guardian-access-cta {
  justify-content: center !important;
}

body.is-login:not(.is-authenticated) #loginHelp {
  min-height: 18px !important;
  color: #9b1c1c !important;
  font-size: .78rem !important;
  text-align: center !important;
}

@media (max-width: 520px) {
  body.is-login:not(.is-authenticated) .login-screen,
  body.visual-modern.is-login:not(.is-authenticated) .login-screen,
  body.visual-classic.is-login:not(.is-authenticated) .login-screen {
    padding: 16px !important;
    background-position: center top !important;
  }

  body.is-login:not(.is-authenticated) .login-panel,
  body.visual-modern.is-login:not(.is-authenticated) .login-panel,
  body.visual-classic.is-login:not(.is-authenticated) .login-panel {
    width: min(100%, 360px) !important;
    padding: 22px 18px 20px !important;
  }
}


/* Informes: las plantillas se eligen solo desde el selector desplegable. */
body.is-authenticated #module-informes .report-type-card,
body.is-authenticated #module-informes .layout-report-actions {
  display: none !important;
}
