:root {
  --navy:#11385c;
  --navy-2:#0a2c4d;
  --blue:#0c5ea8;
  --blue-soft:#eaf3fb;
  --teal:#167f83;
  --teal-soft:#e8f6f4;
  --amber:#d28b00;
  --amber-soft:#fff7df;
  --red:#b83b45;
  --red-soft:#fff0f1;
  --green:#287a4b;
  --green-soft:#edf8f1;
  --ink:#12263f;
  --muted:#68778a;
  --line:#dbe4ee;
  --surface:#ffffff;
  --bg:#f4f7fb;
  --shadow:0 8px 28px rgba(17,56,92,.08);
  --radius:16px;
  --sidebar:268px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.hidden{display:none!important}

/* Login */
.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(340px,520px) 1fr;background:#eef3f8}
.login-panel{position:relative;background:#fff;display:flex;flex-direction:column;justify-content:center;padding:64px 64px 112px;box-shadow:24px 0 60px rgba(17,56,92,.08);z-index:2}
.login-brand{width:100%;max-width:365px;background:var(--navy);border-radius:14px;padding:12px 16px;margin-bottom:42px}
.login-brand{display:grid;grid-template-columns:1.04fr 1fr;align-items:stretch;gap:0;width:100%;max-width:430px;overflow:hidden;background:#123a5e;border-radius:12px;padding:0;margin-bottom:42px;box-shadow:0 8px 20px rgba(8,35,61,.16)}.login-brand>img:first-child{display:block;width:100%;min-width:0;min-height:96px;object-fit:contain;background:#123a5e;border-radius:0;box-shadow:none}.brand-divider{display:none}.login-brand .uta-logo{width:100%;min-width:0;height:96px;object-fit:contain;background:#123a5e;border-radius:0;padding:12px;box-sizing:border-box;box-shadow:none}
.login-kicker{font-size:.76rem;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:var(--teal)}
.login-panel h1{font-size:2rem;line-height:1.15;margin:10px 0 10px}
.login-panel p{color:var(--muted);line-height:1.65;margin:0 0 24px}
.google-btn{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:14px 18px;border-radius:11px;font-weight:750;box-shadow:0 5px 18px rgba(17,56,92,.08)}
.google-g{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:conic-gradient(#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);color:#fff;font-weight:900;font-size:.8rem;border:3px solid #fff;outline:1px solid #d7dfeb}
.login-note{margin-top:18px;padding:13px 15px;background:#f7f9fc;border:1px solid var(--line);border-radius:10px;font-size:.84rem;color:var(--muted)}
.login-demo{margin-top:20px;font-size:.78rem;color:#8290a0}
.login-footer{position:absolute;right:64px;bottom:24px;left:64px;padding-top:14px;border-top:1px solid var(--line);color:#91a0af;font-size:.68rem;line-height:1.6;text-align:center}.login-footer a{color:inherit;text-decoration:none;font-weight:700}.login-footer a:hover{color:var(--teal);text-decoration:underline}
.login-art{position:relative;isolation:isolate;overflow:hidden;background-color:#0c2f50;background-image:linear-gradient(90deg,rgba(4,28,49,.68),rgba(5,35,54,.30)),url('/images/ucn-uta-login-hero.webp');background-size:cover;background-position:center;background-repeat:no-repeat;display:flex;align-items:center;justify-content:center;padding:70px}.login-photo{display:none}
.login-art:before,.login-art:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.15)}
.login-art:before{display:none}
.login-art:after{width:420px;height:420px;right:90px;bottom:-210px}
.login-art-card{position:relative;z-index:1;color:#fff;max-width:650px;padding:34px 38px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(6,35,56,.42);box-shadow:0 24px 70px rgba(2,22,38,.28);backdrop-filter:blur(5px)}
.login-art-card h2{font-size:3rem;line-height:1.04;margin:0 0 18px}
.login-art-card p{font-size:1.15rem;line-height:1.7;color:rgba(255,255,255,.78)}
.login-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px}
.login-point{padding:16px;border:1px solid rgba(255,255,255,.16);border-radius:13px;background:rgba(255,255,255,.07);backdrop-filter:blur(8px)}
.login-point strong{display:block;margin-bottom:4px}
.login-point small{color:rgba(255,255,255,.7)}

/* Shell */
.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);box-sizing:border-box;display:flex;flex-direction:column;background:linear-gradient(180deg,var(--navy-2),var(--navy));color:#fff;padding:20px 14px 28px;overflow:auto;z-index:40}
.side-brand{padding:8px 8px 18px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:12px}
.side-brand img{display:block;width:100%;height:auto;max-width:225px}
.side-logo-emblem{display:none!important}
.side-faculty{display:grid;gap:3px;margin-top:14px;line-height:1.25}.side-faculty strong{color:#fff;font-size:.86rem;font-weight:760;letter-spacing:.01em}.side-faculty span{color:rgba(255,255,255,.64);font-size:.7rem;letter-spacing:.045em;text-transform:uppercase}
.nav-section{font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.42);font-weight:850;margin:20px 12px 7px}
.nav-link{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;color:rgba(255,255,255,.84);font-size:.92rem;margin:2px 0;transition:.16s ease}
.nav-link:hover{background:rgba(255,255,255,.08);color:#fff}
.nav-link.active{background:#1a4c79;color:#fff;box-shadow:inset 3px 0 0 #67c9c7}
.nav-context-switch{border:1px solid rgba(103,201,199,.28);background:rgba(103,201,199,.08)}
.nav-icon{width:22px;text-align:center;font-size:1rem;opacity:.95}
.side-footer{margin:26px 10px 8px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:.7rem;color:rgba(255,255,255,.5);line-height:1.5;margin-top:auto}
.main-frame{grid-column:2;min-width:0}
.app-shell,.sidebar{transition:grid-template-columns .2s ease,width .2s ease,transform .2s ease}.sidebar-controls{display:flex;justify-content:flex-end;gap:5px;margin:0 2px 10px}.sidebar-controls button{width:28px;height:28px;border:1px solid rgba(255,255,255,.18);border-radius:7px;background:rgba(255,255,255,.08);color:#fff;font-weight:850}.sidebar-controls button:hover{background:rgba(255,255,255,.16)}.sidebar-compact{grid-template-columns:76px minmax(0,1fr)}.sidebar-compact .sidebar{width:76px;padding-inline:9px}.sidebar-compact .sidebar-controls{justify-content:center}.sidebar-compact .side-brand{padding:5px 3px 12px}.sidebar-compact .side-brand img{width:48px;margin:auto}.sidebar-compact .side-faculty,.sidebar-compact .nav-section,.sidebar-compact .nav-link>span:not(.nav-icon),.sidebar-compact .side-footer{display:none}.sidebar-compact .nav-link{justify-content:center;padding:12px 8px}.sidebar-compact .nav-icon{width:auto;font-size:1.12rem}.sidebar-hidden{grid-template-columns:0 minmax(0,1fr)}.sidebar-hidden .sidebar{transform:translateX(-100%)}.sidebar-restore{position:fixed;left:14px;top:16px;z-index:60;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--navy);box-shadow:var(--shadow);font-size:1.05rem}.sidebar-hidden .topbar{padding-left:68px}
.topbar{height:72px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:30}
.top-left{display:flex;align-items:center;gap:12px}
.sidebar-toggle{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:transparent;color:#4f5c68;transition:.15s ease}.sidebar-toggle:hover{background:#eef3f7;color:var(--navy)}.hamburger-icon{display:grid;gap:4px;width:24px}.hamburger-icon i{display:block;width:24px;height:2px;border-radius:2px;background:currentColor}.sidebar-backdrop{display:none}
.sidebar-hidden .topbar{padding-left:28px}
.sidebar-compact .side-brand{display:grid;place-items:center;overflow:visible}.sidebar-compact .side-logo-full{display:none}.sidebar-compact .side-logo-emblem{display:block!important;width:48px;height:48px;max-width:none;border:0;border-radius:0;box-shadow:none}
.menu-btn{display:none;width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:#fff}
.top-title strong{display:block;color:var(--navy);font-size:.98rem}
.top-title span{display:block;color:var(--muted);font-size:.75rem;margin-top:2px}
.top-actions{display:flex;align-items:center;gap:10px}
.period-select{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 12px;color:var(--navy);font-weight:700}
.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy)}
.user-pill{display:flex;align-items:center;gap:9px;padding:5px 9px 5px 5px;border:1px solid var(--line);border-radius:999px;background:#fff}
.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);font-weight:850}
.user-pill span{font-size:.88rem;font-weight:700}
.page{padding:30px;max-width:1540px;margin:0 auto}
.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}
.page-header h1{font-size:1.75rem;line-height:1.15;margin:0 0 7px;color:var(--navy)}
.page-header p{margin:0;color:var(--muted);line-height:1.55;max-width:860px}
.eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;font-weight:850;color:var(--teal);margin-bottom:7px}
.header-actions{display:flex;gap:8px;flex-wrap:wrap}
.btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 14px;font-weight:750;color:var(--navy);display:inline-flex;align-items:center;gap:8px}
.btn:hover{box-shadow:0 5px 16px rgba(17,56,92,.08)}
.btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none;pointer-events:none}
.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.btn.teal{background:var(--teal);border-color:var(--teal);color:#fff}
.btn.danger{background:#fff;border-color:#f1c8cc;color:var(--red)}
.btn.sm{font-size:.8rem;padding:7px 10px}
.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800;background:var(--blue-soft);color:var(--blue)}
.badge.green{background:var(--green-soft);color:var(--green)}
.badge.amber{background:var(--amber-soft);color:#9a6600}
.badge.red{background:var(--red-soft);color:var(--red)}
.badge.gray{background:#eef2f6;color:#5e6d7e}
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.card-pad{padding:20px}
.card-title{font-size:1rem;font-weight:850;color:var(--navy);margin:0 0 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.card-subtitle{font-size:.82rem;color:var(--muted);margin:-7px 0 14px;line-height:1.5}
.stat-card{display:flex;align-items:center;gap:14px;padding:18px}
.stat-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);font-size:1.25rem;font-weight:900}
.stat-icon.teal{background:var(--teal-soft);color:var(--teal)}
.stat-icon.amber{background:var(--amber-soft);color:var(--amber)}
.stat-card small{display:block;color:var(--muted);font-weight:700;margin-bottom:4px}
.stat-card strong{display:block;font-size:1.3rem;color:var(--navy)}
.stat-card em{display:block;font-style:normal;font-size:.74rem;color:var(--muted);margin-top:2px}
.section{margin-top:18px}
.list{display:flex;flex-direction:column}
.list-row{display:flex;align-items:center;gap:13px;padding:12px 0;border-top:1px solid var(--line)}
.list-row:first-child{border-top:0;padding-top:0}
.list-row:last-child{padding-bottom:0}
.list-date{width:72px;font-weight:850;color:var(--blue);font-size:.84rem}
.list-main{flex:1;min-width:0}
.list-main strong{display:block;font-size:.88rem;margin-bottom:2px}
.list-main span{display:block;font-size:.76rem;color:var(--muted)}
.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.quick-link{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;transition:.15s ease}
.quick-link:hover{border-color:#b9cbe0;transform:translateY(-1px);box-shadow:0 6px 14px rgba(17,56,92,.08)}
.quick-link .qicon{width:38px;height:38px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:1.1rem}
.quick-link.teal .qicon{background:var(--teal-soft);color:var(--teal)}
.quick-link.amber .qicon{background:var(--amber-soft);color:var(--amber)}
.quick-link strong{font-size:.84rem;color:var(--navy)}
.quick-link span{font-size:.72rem;color:var(--muted);display:block;margin-top:2px}
.quick-link .arrow{margin-left:auto;color:#8a98a8}
.alert{border-radius:13px;padding:14px 16px;border:1px solid var(--line);display:flex;gap:11px;align-items:flex-start;background:#fff}
.alert.info{background:#f1f7fd;border-color:#cfdfef}
.alert.warning{background:var(--amber-soft);border-color:#f0dfab}
.alert.danger{background:var(--red-soft);border-color:#f1c8cc}
.alert.success{background:var(--green-soft);border-color:#cce8d6}
.alert strong{display:block;font-size:.84rem;margin-bottom:3px}
.alert p{margin:0;color:#5e6d7e;font-size:.8rem;line-height:1.45}
.notice-strip{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--amber-soft);border:1px solid #f0dfab;border-radius:13px;margin-top:18px}
.notice-strip strong{font-size:.83rem;color:#785100;min-width:120px}
.notice-strip span{font-size:.82rem;color:#66552c}
.admic-credit{color:inherit;text-decoration:none;font-weight:inherit}.admic-credit:hover{text-decoration:underline;color:var(--teal)}

/* Centro docente */
.hub-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:26px 28px;border-radius:var(--radius);background:linear-gradient(125deg,#11385c 0%,#0d5c87 58%,#157f83 100%);color:#fff;box-shadow:var(--shadow)}
.hub-hero .eyebrow{color:#93e0dc}.hub-hero h1{font-size:1.85rem;margin:0 0 8px}.hub-hero p{margin:0;max-width:720px;color:rgba(255,255,255,.78);line-height:1.55}
.hub-period{min-width:210px;padding:15px 17px;border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(255,255,255,.1)}
.hub-period span,.hub-period small{display:block;font-size:.72rem;color:rgba(255,255,255,.7)}.hub-period strong{display:block;margin:5px 0;font-size:1.08rem}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:13px}.section-heading h2{margin:0 0 4px;color:var(--navy);font-size:1.08rem}.section-heading p{margin:0;color:var(--muted);font-size:.8rem}
.hub-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hub-action{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 5px 14px rgba(17,56,92,.04)}
.hub-action:hover{border-color:#9ebbd2;transform:translateY(-1px)}.hub-action-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:11px;background:var(--teal-soft);color:var(--teal);font-weight:900}
.hub-action strong{display:block;color:var(--navy);font-size:.84rem}.hub-action p{margin:4px 0 0;color:var(--muted);font-size:.72rem;line-height:1.4}.hub-action .arrow{margin-left:auto;color:#8293a4}.hub-action.disabled{opacity:.62}
.hub-route{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-route>a{display:flex;gap:10px;padding:12px;border:1px solid var(--line);border-radius:11px}.hub-route>a>span{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-weight:900}
.hub-route strong,.hub-route small{display:block}.hub-route strong{font-size:.82rem;color:var(--navy)}.hub-route small{margin-top:3px;color:var(--muted);font-size:.7rem;line-height:1.35}
.hub-link-list{display:grid;gap:8px}.hub-link-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:10px}.hub-link-list strong,.hub-link-list span{display:block}.hub-link-list strong{font-size:.8rem;color:var(--navy)}.hub-link-list span{font-size:.7rem;color:var(--muted);margin-top:3px}.hub-link-list b{color:var(--teal)}
.hub-contact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-contact-list>div{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px}.hub-contact-list strong,.hub-contact-list small,.hub-contact-list a{display:block}.hub-contact-list strong{font-size:.78rem;color:var(--navy)}.hub-contact-list small,.hub-contact-list a{font-size:.68rem;color:var(--muted);margin-top:2px}.empty-state{color:var(--muted);font-size:.8rem;padding:10px 0}

/* Tables / forms */
.table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:12px;background:#fff;scrollbar-width:thin;scrollbar-color:#b8c7d6 transparent}
table{width:100%;border-collapse:collapse;min-width:720px}
th,td{text-align:left;padding:12px 13px;border-bottom:1px solid var(--line);font-size:.8rem;vertical-align:top}
th{background:#f7f9fc;color:#536375;text-transform:uppercase;letter-spacing:.045em;font-size:.68rem}
tr:last-child td{border-bottom:0}
.table-actions{white-space:nowrap}.table-actions .btn+.btn{margin-left:5px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:.74rem;font-weight:800;color:#536375}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 11px;color:var(--ink);outline:none}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#84afd4;box-shadow:0 0 0 3px rgba(12,94,168,.08)}
.password-input{position:relative;display:block}.field .password-input input{padding-right:44px}.password-toggle{position:absolute;top:50%;right:5px;display:grid;place-items:center;width:34px;height:34px;padding:0;transform:translateY(-50%);border:0;border-radius:7px;background:transparent;color:#536375;cursor:pointer}.password-toggle:hover{background:#eef4f7;color:var(--navy)}.password-toggle:focus-visible{outline:2px solid #84afd4;outline-offset:1px}.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.field textarea{min-height:110px;resize:vertical}
.field-help{display:block;color:var(--muted);font-size:.66rem;line-height:1.35}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.search{position:relative;min-width:260px;flex:1;max-width:420px}
.search input{width:100%;padding:10px 12px 10px 36px;border:1px solid var(--line);border-radius:10px;background:#fff}
.search:before{content:"⌕";position:absolute;left:12px;top:7px;color:#718194;font-size:1.2rem}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.filters select{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 10px;color:#506071;font-size:.8rem}

/* Content pages */
.info-hero{padding:21px;background:linear-gradient(135deg,#11385c,#0d5c87);border-radius:var(--radius);color:#fff;box-shadow:var(--shadow)}
.info-hero h2{margin:0 0 8px;font-size:1.25rem}
.info-hero p{margin:0;color:rgba(255,255,255,.77);line-height:1.55;max-width:930px}
.home-workspace{display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:900px;padding:30px 32px;border:1px solid #cbdcea;border-radius:18px;background:linear-gradient(118deg,#fff 0%,#f6fbff 63%,#e6f2f8 100%);box-shadow:0 14px 35px rgba(17,56,92,.07)}.home-workspace-copy{max-width:620px}.home-eyebrow{display:block;margin-bottom:8px;color:var(--teal);font-size:.68rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.home-workspace h2{margin:0 0 8px;color:var(--navy);font-size:1.35rem}.home-workspace p{margin:0;color:var(--muted);line-height:1.55}.home-workspace-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.home-workspace-actions .btn{white-space:nowrap}.btn.subtle{background:transparent}
.kpi-inline{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.kpi-inline span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:6px 10px;font-size:.76rem}
.timeline{position:relative;padding-left:26px}
.timeline:before{content:"";position:absolute;left:8px;top:7px;bottom:7px;width:2px;background:#d9e5ef}
.timeline-item{position:relative;padding:0 0 18px 11px}
.timeline-item:last-child{padding-bottom:0}
.timeline-item:before{content:"";position:absolute;left:-22px;top:5px;width:9px;height:9px;background:var(--blue);border:3px solid #fff;box-shadow:0 0 0 1px #aac4dc;border-radius:50%}
.timeline-item strong{display:block;font-size:.87rem;color:var(--navy)}
.timeline-item span{display:block;font-size:.77rem;color:var(--muted);margin-top:2px}
.calendar-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start}
.calendar-card{height:fit-content}
.calendar-table{min-width:0;table-layout:fixed}
.calendar-table th:first-child,.calendar-table td:first-child{width:42%}
.calendar-table th:nth-child(2),.calendar-table td:nth-child(2){width:24%}
.calendar-table th:nth-child(3),.calendar-table td:nth-child(3),.calendar-table th:nth-child(4),.calendar-table td:nth-child(4){width:17%}
.steps{counter-reset:step;display:grid;gap:10px}
.step{position:relative;padding:14px 14px 14px 54px;border:1px solid var(--line);border-radius:12px;background:#fff}
.step:before{counter-increment:step;content:counter(step);position:absolute;left:14px;top:14px;width:28px;height:28px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);font-weight:900;border-radius:50%}
.step strong{display:block;font-size:.85rem;margin-bottom:3px}
.step span{font-size:.78rem;color:var(--muted);line-height:1.45}
.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.topic-card{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}
.topic-card strong{display:block;color:var(--navy);font-size:.86rem;margin-bottom:5px}
.topic-card p{margin:0;color:var(--muted);font-size:.77rem;line-height:1.45}
.resource-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.resource-card{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;flex-direction:column;min-height:162px}
.filetype{font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:var(--teal);margin-bottom:8px}
.resource-card h3{font-size:.9rem;margin:0 0 6px;color:var(--navy)}
.resource-card p{font-size:.75rem;color:var(--muted);line-height:1.45;margin:0 0 12px;flex:1}
.resource-meta{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.resource-meta span{font-size:.66rem;background:#f0f4f8;color:#607083;border-radius:999px;padding:4px 7px}
.resource-actions{display:flex;gap:7px}
.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.contact-card{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.contact-top{display:flex;align-items:center;gap:11px;margin-bottom:10px}
.contact-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);font-weight:900}
.contact-card h3{font-size:.86rem;margin:0 0 2px;color:var(--navy)}
.contact-card .role{font-size:.72rem;color:var(--muted)}
.contact-lines{display:grid;gap:5px;font-size:.74rem;color:#536375}

/* Admin */
.admin-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.career-dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.career-dashboard-heading h2{margin:4px 0 6px;color:var(--navy);font-size:1.28rem}.career-dashboard-heading p{margin:0;color:var(--muted);font-size:.78rem}.career-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.career-dashboard-card{overflow:hidden}.career-dashboard-card>header{position:relative;padding:20px 20px 17px;background:linear-gradient(135deg,#103a60,#176a89);color:#fff}.career-dashboard-card>header .badge{position:absolute;right:18px;top:18px;background:rgba(255,255,255,.16);color:#d9fff1;border-color:rgba(255,255,255,.2)}.career-code{display:inline-block;margin-bottom:12px;padding:4px 8px;border-radius:6px;background:rgba(255,255,255,.13);font-size:.68rem;font-weight:900;letter-spacing:.08em}.career-dashboard-card h3{margin:0 0 7px;padding-right:62px;font-size:1.02rem;line-height:1.25}.career-dashboard-card header p{min-height:32px;margin:0;color:rgba(255,255,255,.72);font-size:.7rem;line-height:1.4}.career-metrics{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);background:#fff}.career-metrics>div{padding:14px 6px;text-align:center;border-right:1px solid var(--line)}.career-metrics>div:last-child{border-right:0}.career-metrics strong,.career-metrics span{display:block}.career-metrics strong{color:var(--navy);font-size:1.1rem}.career-metrics span{margin-top:3px;color:var(--muted);font-size:.59rem;font-weight:750}.career-curricula-list{display:grid;gap:0;min-height:78px;padding:7px 18px;background:#fff}.career-curricula-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.career-curricula-list>div:last-child{border-bottom:0}.career-curricula-list>div>div{display:grid;gap:3px}.career-curricula-list strong{font-size:.74rem;color:var(--blue)}.career-curricula-list span{font-size:.66rem;color:var(--muted)}.career-dashboard-card>footer{display:flex;gap:7px;flex-wrap:wrap;padding:13px 18px;background:#f8fafc;border-top:1px solid var(--line)}.career-dashboard-card>footer .btn{flex:1;min-width:82px;text-align:center;font-size:.67rem}
.admin-schedule-preview{padding:22px}.admin-schedule-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.admin-schedule-preview-head h2{margin:3px 0 5px;color:var(--navy);font-size:1.2rem}.admin-schedule-preview-head p{margin:0;color:var(--muted);font-size:.76rem}.admin-schedule-filters{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(260px,1fr) minmax(140px,.35fr);gap:12px;margin-bottom:16px}.admin-schedule-days{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:8px;overflow-x:auto}.admin-schedule-day{min-height:150px;border:1px solid var(--line);border-radius:10px;background:#f8fafc;overflow:hidden}.admin-schedule-day>header{padding:9px;text-align:center;background:#1c5d86;color:#fff;font-size:.72rem;font-weight:850}.admin-schedule-day>em{display:block;padding:18px 8px;text-align:center;color:#93a2b1;font-size:.68rem;font-style:normal}.admin-schedule-day article{margin:7px;padding:9px;border-left:3px solid #f0b84c;border-radius:7px;background:#fff;box-shadow:0 3px 8px rgba(17,56,92,.08)}.admin-schedule-day article.confirmado{border-left-color:#36a778}.admin-schedule-day article.suspendido{border-left-color:#c65d68;opacity:.62}.admin-schedule-day article div{display:flex;justify-content:space-between;gap:6px}.admin-schedule-day article strong{color:var(--blue);font-size:.68rem}.admin-schedule-day article span{color:var(--muted);font-size:.59rem}.admin-schedule-day article b{display:block;margin-top:5px;color:var(--navy);font-size:.66rem;line-height:1.25}.admin-schedule-day article small{display:block;margin-top:4px;color:var(--muted);font-size:.59rem}
.admin-schedule-grid-wrap{overflow:auto;border:1px solid #cbd9e5;border-radius:12px}.admin-schedule-grid{min-width:1080px;table-layout:fixed;border-collapse:separate;border-spacing:0}.admin-schedule-grid thead th{padding:11px 8px;text-align:center;background:#1c5d86;color:#fff;border-right:1px solid rgba(255,255,255,.14)}.admin-schedule-grid th:first-child{width:105px}.admin-schedule-grid tbody th{padding:12px 7px;text-align:center;background:#edf4f8;border-right:1px solid #d4e0e9}.admin-schedule-grid tbody th strong,.admin-schedule-grid tbody th span{display:block}.admin-schedule-grid tbody th strong{color:var(--blue);font-size:.82rem}.admin-schedule-grid tbody th span{margin-top:4px;color:var(--muted);font-size:.61rem}.admin-schedule-grid td{height:122px;padding:7px;vertical-align:top;background:#fbfdff;border-right:1px solid #dce5ed}.admin-schedule-grid-card,.admin-schedule-empty-slot{width:100%;text-align:left}.admin-schedule-grid-card{display:grid;gap:5px;margin-bottom:6px;padding:9px;border:0;border-left:3px solid #f0b84c;border-radius:8px;background:#fff;box-shadow:0 3px 9px rgba(17,56,92,.1)}.admin-schedule-grid-card.confirmado{border-left-color:#36a778}.admin-schedule-grid-card.suspendido{border-left-color:#c65d68;opacity:.62}.admin-schedule-grid-card span{display:flex;justify-content:space-between;gap:5px}.admin-schedule-grid-card strong{color:var(--navy);font-size:.66rem}.admin-schedule-grid-card small{color:var(--muted);font-size:.57rem}.admin-schedule-grid-card b{color:var(--blue);font-size:.62rem}.admin-schedule-grid-card em{color:var(--muted);font-size:.56rem;font-style:normal}.admin-schedule-empty-slot{min-height:34px;border:1px dashed transparent;border-radius:7px;background:transparent;color:#8a99a8;text-align:center;font-size:.64rem;font-weight:750;opacity:.35}.admin-schedule-grid td:hover .admin-schedule-empty-slot{border-color:#9fbed5;background:#eef6fb;color:var(--blue);opacity:1}
.academic-schedule{display:grid;gap:0}.schedule-hero{display:grid;grid-template-columns:220px minmax(0,1fr) auto;align-items:center;gap:26px;padding:26px 30px;border-radius:18px 18px 0 0;background:linear-gradient(120deg,#102f50 0%,#15577f 58%,#1d7899 100%);color:#fff;box-shadow:0 12px 34px rgba(17,56,92,.16)}
.schedule-hero img{display:block;width:100%;max-width:210px}.schedule-hero .eyebrow{color:#9ee4dd}.schedule-hero h1{margin:0 0 8px;font-size:clamp(1.55rem,2.4vw,2.25rem);line-height:1.1}.schedule-hero p{margin:0;color:rgba(255,255,255,.76);font-size:.85rem}.schedule-status{align-self:start;white-space:nowrap;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:8px 12px;background:rgba(255,255,255,.1);font-size:.73rem;font-weight:850}.schedule-status.preliminary{color:#ffe39a}.schedule-status.confirmed{color:#b9f3d1}.schedule-status.pending{color:#d4e2ef}
.schedule-controls{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(300px,1.2fr) minmax(280px,1fr);gap:16px;align-items:end;padding:18px 22px;background:#fff;border:1px solid var(--line);border-top:0}.schedule-source{display:grid;gap:4px;padding:2px 0}.schedule-source strong{font-size:.73rem;color:#536375}.schedule-source span{font-size:.72rem;color:var(--muted)}.schedule-source div{display:flex;gap:12px;flex-wrap:wrap}.schedule-source a{font-size:.72rem;font-weight:800;color:var(--blue)}.schedule-source a.schedule-manage{color:var(--teal)}
.schedule-level-tabs{display:flex;overflow:auto;background:#f8fafc;border:1px solid var(--line);border-top:0}.schedule-level-tabs button{position:relative;flex:1;min-width:120px;border:0;background:transparent;padding:16px 14px;color:#64748b;font-size:.82rem;font-weight:850}.schedule-level-tabs button:after{content:"";position:absolute;left:22%;right:22%;bottom:0;height:3px;border-radius:3px 3px 0 0;background:transparent}.schedule-level-tabs button:hover{color:var(--blue);background:#fff}.schedule-level-tabs button.active{color:var(--navy);background:#fff}.schedule-level-tabs button.active:after{background:var(--blue)}
.schedule-board{margin-top:20px;padding:26px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.schedule-board-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.schedule-board-heading h2{margin:0;color:var(--navy);font-size:1.35rem}.schedule-board-heading>span{font-size:.72rem;font-weight:800;color:var(--muted);background:#f1f5f9;border-radius:999px;padding:6px 9px}
.schedule-pending-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;padding:11px 13px;border:1px solid #cfdfef;border-radius:10px;background:#f1f7fd}.schedule-pending-note strong{font-size:.78rem;color:var(--navy)}.schedule-pending-note span{font-size:.74rem;color:var(--muted)}
.schedule-wrap{overflow:auto;border:1px solid #cbd9e5;border-radius:13px;background:#fff}.schedule-table{min-width:1120px;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.schedule-table thead th{background:linear-gradient(180deg,#1f648f,#18567e);color:#fff;text-align:center;padding:14px 10px;border-right:1px solid rgba(255,255,255,.12);border-bottom:0}.schedule-table thead th:first-child{border-radius:12px 0 0 0}.schedule-table thead th:last-child{border-radius:0 12px 0 0}
.schedule-table th:first-child{width:115px}.schedule-table tbody th{background:#f0f5f9;border-right:1px solid #d5e0e9;border-bottom:1px solid #d5e0e9;padding:14px 10px;text-align:center;vertical-align:top}.schedule-table tbody th strong,.schedule-table tbody th span{display:block}.schedule-table tbody th strong{font-size:1rem;color:#245a7c}.schedule-table tbody th span{margin-top:6px;color:#526579;font-size:.68rem;font-weight:650}.schedule-table td{min-width:190px;height:138px;padding:9px;vertical-align:top;border-right:1px solid #dce5ed;border-bottom:1px solid #dce5ed;background:#fff}.schedule-table td.empty{background:linear-gradient(135deg,#fff,#fbfdff)}
.schedule-card{background:#617f90;color:#fff;border:0;border-left:4px solid #f0b84c;border-radius:9px;padding:10px 11px;margin-bottom:7px;box-shadow:0 4px 11px rgba(20,54,77,.14)}.schedule-card.confirmado{background:#2f7180;border-left-color:#75d6b0}.schedule-card.suspendido{background:#8c6770;border-left-color:#ff9aa5;opacity:.8}.schedule-course{display:flex;align-items:center;justify-content:space-between;gap:8px}.schedule-course strong{color:#fff;font-size:.76rem}.schedule-course span{color:rgba(255,255,255,.76);font-size:.63rem}.schedule-nrc{margin-top:4px;color:rgba(255,255,255,.8);font-size:.66rem;font-weight:750}.schedule-card h3{font-size:.76rem;line-height:1.3;margin:6px 0}.schedule-card p{color:rgba(255,255,255,.86);font-size:.68rem;margin:3px 0}.schedule-card p em{font-weight:700}.schedule-room{display:inline-flex;margin-top:7px;padding:3px 6px;border-radius:5px;background:rgba(255,255,255,.15);color:#fff;font-size:.66rem;font-weight:750}
.schedule-mobile{display:none}
.schedule-legend{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.schedule-legend-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.schedule-legend-heading h3{margin:0;color:var(--navy);font-size:.95rem}.schedule-legend-heading span{color:var(--muted);font-size:.72rem}.schedule-legend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.schedule-legend-grid article{display:grid;gap:3px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdff}.schedule-legend-grid strong{color:var(--blue);font-size:.72rem}.schedule-legend-grid span{font-size:.75rem;font-weight:750;color:var(--navy)}.schedule-legend-grid small{font-size:.65rem;color:var(--muted)}
.curriculum-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:22px;align-items:end}.curriculum-summary{display:flex;gap:24px}.curriculum-summary>div{display:grid;gap:4px;min-width:90px}.curriculum-summary small{color:var(--muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.curriculum-summary strong{color:var(--navy);font-size:.94rem}.curriculum-sources{display:flex;gap:8px}.curriculum-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.curriculum-level{overflow:hidden}.curriculum-level>header{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;background:linear-gradient(120deg,var(--navy),#17668b);color:#fff}.curriculum-level>header>div{display:flex;align-items:baseline;gap:8px}.curriculum-level>header span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.curriculum-level>header strong{font-size:1.4rem}.curriculum-level>header small{color:rgba(255,255,255,.72)}.curriculum-level>div{display:grid}.curriculum-level article{display:grid;grid-template-columns:108px 1fr;gap:12px;padding:12px 16px;border-top:1px solid var(--line)}.curriculum-level article:first-child{border-top:0}.curriculum-course-code{color:var(--blue);font-size:.74rem;font-weight:850}.curriculum-level article div{display:grid;gap:3px}.curriculum-level article strong{font-size:.8rem;color:var(--ink)}.curriculum-level article small{font-size:.67rem;color:var(--muted)}
.curriculum-designer-head{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(320px,1.2fr);gap:28px;align-items:end}.curriculum-designer-head>div:last-child{display:grid;gap:4px}.curriculum-designer-head small{font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:800}.curriculum-designer-head strong{font-size:1.05rem;color:var(--navy)}.curriculum-designer-head span{font-size:.75rem;color:var(--muted)}.curriculum-add{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(160px,.6fr) minmax(260px,1.3fr) 100px auto auto;gap:12px;align-items:end}.curriculum-add h2{font-size:1.05rem;margin:5px 0 0;color:var(--navy)}.curriculum-check{display:flex;align-items:center;gap:7px;padding:10px 0;font-size:.78rem;font-weight:800;color:var(--navy)}.curriculum-designer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.curriculum-designer-level{overflow:hidden}.curriculum-designer-level>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;color:#fff;background:linear-gradient(120deg,var(--navy),#17668b)}.curriculum-designer-level>header div{display:flex;gap:8px;align-items:baseline}.curriculum-designer-level>header span{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}.curriculum-designer-level>header strong{font-size:1.3rem}.curriculum-designer-level>header small{color:rgba(255,255,255,.72)}.curriculum-designer-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 14px;border-top:1px solid var(--line)}.curriculum-designer-list>article:first-child{border-top:0}.curriculum-designer-list>article>div:first-child{display:grid;gap:3px}.curriculum-designer-list article strong{color:var(--blue);font-size:.72rem}.curriculum-designer-list article span{font-size:.78rem;font-weight:750;color:var(--ink)}.curriculum-designer-list article small{font-size:.65rem;color:var(--muted)}.curriculum-card-actions{display:flex;align-items:center;gap:5px}.curriculum-card-actions select{max-width:82px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px;font-size:.7rem}.curriculum-card-actions .btn{white-space:nowrap}.curriculum-empty{padding:22px;text-align:center;color:var(--muted);font-size:.75rem;background:#fafcfe}
.admin-link{padding:17px;border:1px solid var(--line);border-radius:13px;background:#fff}
.admin-link strong{display:block;font-size:.86rem;color:var(--navy);margin-bottom:4px}
.admin-link span{font-size:.73rem;color:var(--muted);line-height:1.4}
.admin-table-group th{padding:12px 14px!important;background:#edf4fa!important;color:var(--navy)!important;text-align:left!important;border-top:2px solid #ccdae7!important;font-size:.78rem!important;letter-spacing:.02em}.admin-table-group th span{float:right;padding:3px 8px;border-radius:999px;background:#fff;color:var(--muted);font-size:.64rem;font-weight:750}
@media(max-width:1150px){.career-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:880px){.career-dashboard-grid{grid-template-columns:1fr}.career-dashboard-heading{align-items:flex-start;flex-direction:column}}
.form-workspace{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,2fr);gap:16px;align-items:start}
.form-catalog{display:grid;gap:8px}
.form-choice{border:1px solid var(--line);border-radius:11px;background:#fff;padding:12px;text-align:left;color:var(--navy)}
.form-choice strong,.form-choice span{display:block}.form-choice span{font-size:.72rem;color:var(--muted);margin-top:4px}
.form-choice.active{border-color:var(--blue);background:var(--blue-soft)}
.field-wide{grid-column:1/-1}
.field-builder{display:grid;gap:8px}
.field-builder-row{display:grid;grid-template-columns:1fr 1.4fr .8fr 110px 1.5fr auto;gap:8px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.field-builder-row input,.field-builder-row select,table input,table select{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px;color:var(--ink)}
.field-builder-row label{font-size:.72rem;display:flex;align-items:center;gap:5px}.field-builder-row label input{width:auto}
.modal-actions{margin-top:20px;display:flex;justify-content:flex-end;gap:10px}
.survey-confirmation{display:flex;gap:16px;align-items:flex-start;padding:8px 2px 2px}.survey-confirmation-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:50%;background:#fff4d6;border:1px solid #ebce7d;color:#9a6700;font-size:1.45rem;font-weight:900}.survey-confirmation h3{margin:2px 0 7px;color:var(--navy);font-size:1.06rem}.survey-confirmation p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.55}@media(max-width:520px){.survey-confirmation{gap:12px}.survey-confirmation-icon{flex-basis:40px;height:40px}.modal-actions{flex-direction:column-reverse}.modal-actions .btn{width:100%}}
.json-preview{max-width:360px;max-height:150px;overflow:auto;white-space:pre-wrap;font-size:.7rem;margin:0}
.dropzone{border:2px dashed #b8cadb;border-radius:14px;background:#f8fbfd;padding:34px 22px;text-align:center;transition:.15s ease}
.dropzone.dragover{border-color:var(--teal);background:var(--teal-soft)}
.dropzone strong{display:block;color:var(--navy);margin-bottom:6px}
.dropzone p{margin:0;color:var(--muted);font-size:.8rem}
.file-queue{margin-top:14px}
.file-row{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(110px,1fr)) 80px;gap:8px;align-items:center;padding:9px;border-top:1px solid var(--line)}
.file-row:first-child{border-top:0}
.file-name{font-size:.78rem;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-row select{width:100%;border:1px solid var(--line);border-radius:8px;padding:7px;font-size:.74rem;background:#fff}
.progress{height:8px;background:#e9eef4;border-radius:999px;overflow:hidden}
.progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--blue),var(--teal));transition:width .3s ease}
.accordion{display:grid;gap:10px}
.accordion details{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.accordion summary{list-style:none;cursor:pointer;padding:14px 16px;font-weight:850;color:var(--navy);display:flex;justify-content:space-between}
.accordion summary::-webkit-details-marker{display:none}
.accordion summary:after{content:"＋";font-weight:500;color:#708196}
.accordion details[open] summary:after{content:"−"}
.accordion .details-content{padding:0 16px 16px;color:#5f6f81;font-size:.8rem;line-height:1.6}

.toast{position:fixed;right:24px;bottom:24px;z-index:80;max-width:380px;background:#102e4b;color:#fff;padding:13px 15px;border-radius:11px;box-shadow:0 18px 45px rgba(0,0,0,.2);opacity:0;transform:translateY(14px);pointer-events:none;transition:.2s ease;font-size:.8rem;line-height:1.45}
.toast.show{opacity:1;transform:translateY(0)}

.curriculum-designer-head{grid-template-columns:minmax(260px,.8fr) minmax(300px,1.2fr) auto}.view-switch{display:flex!important;flex-direction:row!important;gap:4px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#f4f7fb}.view-switch button{border:0;border-radius:8px;background:transparent;padding:8px 10px;color:var(--muted);font-size:.72rem;font-weight:800}.view-switch button.active{background:#fff;color:var(--blue);box-shadow:0 2px 8px rgba(17,56,92,.1)}.curriculum-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.curriculum-map-toolbar .search{min-width:260px}.curriculum-map-toolbar>small{color:var(--muted);font-size:.7rem}.curriculum-legend{display:flex;gap:14px;align-items:center}.curriculum-legend span{display:flex;align-items:center;gap:6px;font-size:.68rem;font-weight:800;color:var(--muted)}.curriculum-legend span:before{content:"";width:10px;height:10px;border-radius:3px;background:#176aa6}.curriculum-legend .elective:before{background:#178b82}.curriculum-legend .general:before{background:#916bb1}.curriculum-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px;align-items:start}.curriculum-year-scroll{overflow-x:auto;padding-bottom:8px}.curriculum-years{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:12px;min-width:1050px}.curriculum-year{display:grid;gap:10px;align-content:start}.curriculum-year>header{padding:10px 12px;text-align:center;text-transform:uppercase;letter-spacing:.08em;color:#fff;background:var(--navy);border-radius:8px;font-size:.7rem;font-weight:900}.curriculum-semester{height:575px;border:1px solid var(--line);border-radius:11px;background:#f8fafc;overflow:hidden;transition:.15s}.curriculum-semester:has(.curriculum-map-card:active){border-color:var(--teal)}.curriculum-semester-head{display:flex;justify-content:space-between;align-items:center;padding:10px 11px;background:#fff;border-bottom:1px solid var(--line)}.curriculum-semester-head>div{display:grid;gap:2px}.curriculum-semester-head strong{font-size:.72rem;color:var(--blue)}.curriculum-semester-head small{font-size:.6rem;color:var(--muted)}.curriculum-semester-head button{width:26px;height:26px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--blue);font-weight:900}.curriculum-map-list{display:grid;gap:6px;padding:7px;max-height:525px;overflow-y:auto}.curriculum-map-card{display:grid;grid-template-rows:auto 1fr auto;align-content:start;gap:3px;width:100%;height:67px;border:0;border-left:4px solid #0f568d;border-radius:7px;padding:8px 9px;text-align:left;background:#176aa6;color:#fff;box-shadow:0 2px 6px rgba(17,56,92,.12);cursor:grab}.curriculum-map-card.elective{background:#178b82;border-left-color:#79d4c8}.curriculum-map-card.general{background:#765394;border-left-color:#cbb1e1}.curriculum-map-card strong{font-size:.62rem;color:rgba(255,255,255,.78)}.curriculum-map-card span{font-size:.68rem;line-height:1.25;font-weight:750;overflow:hidden}.curriculum-map-card small{font-size:.58rem;color:rgba(255,255,255,.7)}.curriculum-map-card:hover,.curriculum-map-card.selected{transform:translateY(-1px);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--amber),0 5px 12px rgba(17,56,92,.2)}.curriculum-map-card.dimmed{opacity:.18;filter:grayscale(.5)}.curriculum-drop-hint{display:grid;place-items:center;min-height:180px;border:1px dashed #b8cadb;border-radius:8px;color:#91a0af;font-size:.67rem}.curriculum-inspector{position:sticky;top:90px;overflow:hidden}.curriculum-inspector>header{padding:18px;background:linear-gradient(135deg,var(--navy),#17668b);color:#fff}.curriculum-inspector h3{margin:7px 0;font-size:1rem;line-height:1.25}.curriculum-inspector>header>span{font-size:.7rem;color:rgba(255,255,255,.75)}.curriculum-inspector .card-pad{display:grid;gap:12px}.curriculum-inspector-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:.75rem}.curriculum-inspector-empty{display:grid;gap:8px;padding:28px 20px;text-align:center}.curriculum-inspector-empty strong{color:var(--navy)}.curriculum-inspector-empty span{font-size:.72rem;line-height:1.5;color:var(--muted)}
@media(max-width:1150px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3,.resource-list,.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.curriculum-workspace{grid-template-columns:1fr}.curriculum-inspector{position:static}}
@media(max-width:1150px){.schedule-hero{grid-template-columns:180px minmax(0,1fr)}.schedule-status{grid-column:2}.schedule-controls{grid-template-columns:1fr 1fr}.schedule-source{grid-column:1/-1}.schedule-legend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:880px){:root{--sidebar:250px}.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:.2s ease}.sidebar.open{transform:translateX(0)}.main-frame{grid-column:auto}.menu-btn{display:inline-grid;place-items:center}.page{padding:22px 16px}.topbar{padding:0 14px}.period-select{display:none}.user-pill span{display:none}.grid-2,.grid-3,.grid-4,.resource-list,.contact-grid,.topic-grid,.curriculum-levels{grid-template-columns:1fr}.page-header{flex-direction:column}.login-page{grid-template-columns:1fr}.login-art{display:none}.login-panel{min-height:100vh;padding:38px 28px 104px}.login-footer{right:28px;bottom:20px;left:28px}.quick-grid{grid-template-columns:1fr}.form-grid,.form-workspace,.hub-action-grid,.hub-route,.hub-contact-list,.curriculum-toolbar{grid-template-columns:1fr}.curriculum-summary{flex-wrap:wrap}.curriculum-sources{flex-wrap:wrap}.hub-hero,.section-heading{align-items:flex-start;flex-direction:column}.hub-period{width:100%}.admin-nav{grid-template-columns:1fr}.schedule-hero{grid-template-columns:1fr;padding:22px}.schedule-hero img{max-width:190px}.schedule-status{grid-column:1;justify-self:start}.schedule-controls{grid-template-columns:1fr}.schedule-source{grid-column:auto}.schedule-board{padding:18px 12px}.schedule-board-heading,.schedule-legend-heading{align-items:flex-start;flex-direction:column}.schedule-legend-grid{grid-template-columns:1fr}.file-row{grid-template-columns:1fr 1fr}.file-row .file-name{grid-column:1/-1}.field-builder-row{grid-template-columns:1fr 1fr}.field-builder-row>*:nth-child(5){grid-column:1/-1}}
@media(max-width:880px){.sidebar-expanded .sidebar,.sidebar-compact .sidebar{transform:translateX(0);box-shadow:12px 0 30px rgba(5,28,50,.2)}.sidebar-hidden .sidebar{transform:translateX(-100%)}.sidebar-compact .sidebar{width:76px}.sidebar-hidden .topbar{padding-left:14px}.sidebar-toggle{width:40px;padding:0;justify-content:center}.sidebar-toggle-label{display:none}.top-title{display:none}.sidebar-backdrop{display:block;position:fixed;inset:0;z-index:39;border:0;background:rgba(8,30,50,.35);backdrop-filter:blur(1px)}}
@media(max-width:880px){.home-workspace{align-items:flex-start;flex-direction:column;padding:24px}.home-workspace-actions{flex-wrap:wrap}}
@media(max-width:700px){.toolbar{align-items:stretch;flex-direction:column}.toolbar .search,.toolbar .header-actions,.toolbar .header-actions .btn{width:100%}.responsive-table{display:block;min-width:0;padding:8px;background:#f4f7fb}.responsive-table thead{display:none}.responsive-table tbody{display:grid;gap:12px}.responsive-table tr{display:grid;border:1px solid #d8e3ec;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(17,56,92,.07)}.responsive-table td{display:grid;grid-template-columns:1fr;gap:4px;align-items:start;padding:11px 14px;border-bottom:1px solid #edf1f5;font-size:.78rem;line-height:1.35;overflow-wrap:anywhere}.responsive-table td:before{content:attr(data-label);color:#718196;font-size:.59rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.responsive-table td:first-child{padding-top:14px}.responsive-table td:first-child:not([data-label="Acciones"]){font-weight:800;color:var(--navy)}.responsive-table td:last-child{border-bottom:0}.responsive-table td select,.responsive-table td input,.responsive-table td textarea{width:100%;min-width:0}.responsive-table .table-actions{display:flex;flex-direction:row;align-items:center;gap:8px;padding:12px 14px;background:#f7fafc;white-space:normal}.responsive-table .table-actions:before{margin-right:auto}.responsive-table .table-actions .btn{flex:1;margin:0;min-height:36px}.responsive-table .admin-table-group{display:block;border:0;border-radius:0;background:transparent;box-shadow:none}.responsive-table .admin-table-group th{display:block;border:0!important;border-radius:8px;padding:9px 10px!important}.responsive-table .admin-table-group th span{margin-left:8px}.table-wrap:has(.responsive-table){border:0;background:transparent}}
@media(max-width:420px){.responsive-table{padding:5px}.responsive-table td{padding-inline:11px}.responsive-table .table-actions{flex-direction:column;align-items:stretch}.responsive-table .table-actions:before{margin:0}.responsive-table .table-actions .btn{width:100%}}
@media(max-width:700px){.schedule-wrap{display:none}.schedule-mobile{display:block}.schedule-day-slider{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 12px;scroll-snap-type:x proximity;scrollbar-width:none}.schedule-day-slider::-webkit-scrollbar{display:none}.schedule-day-slider button{flex:0 0 auto;min-width:48px;border:0;border-radius:999px;padding:10px 14px;background:#eef2f6;color:#63748a;font-size:.75rem;font-weight:850;scroll-snap-align:start}.schedule-day-slider button.active{background:#173f66;color:#fff;box-shadow:0 4px 10px rgba(17,56,92,.16)}.schedule-mobile-day{margin:0 0 10px;color:var(--navy);font-size:.9rem;font-weight:850}.schedule-mobile-block{margin:0 0 12px;padding:14px 14px 8px;border-left:3px solid #f0a000;border-radius:13px;background:#fff;box-shadow:0 5px 16px rgba(17,56,92,.08)}.schedule-mobile-block>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 11px;border-bottom:1px solid #e6edf3;color:var(--navy)}.schedule-mobile-block>header strong{font-size:.8rem}.schedule-mobile-block>header span{padding:6px 8px;border-radius:7px;background:#eef3f7;color:var(--navy);font-size:.67rem;font-weight:850}.schedule-mobile-block .schedule-card{margin:12px 0 5px;background:#fff;color:var(--navy);border-left:0;box-shadow:none;padding:2px 2px 5px}.schedule-mobile-block .schedule-course strong,.schedule-mobile-block .schedule-card h3{color:var(--navy)}.schedule-mobile-block .schedule-course span,.schedule-mobile-block .schedule-nrc,.schedule-mobile-block .schedule-card p{color:#526579}.schedule-mobile-block .schedule-room{background:#eaf0f5;color:var(--navy)}.schedule-mobile-empty{padding:22px 16px;border:1px dashed #cbd9e5;border-radius:12px;text-align:center;color:var(--muted);font-size:.78rem}}
.curriculum-designer-head{grid-template-columns:minmax(300px,1fr) auto;align-items:end;padding:16px 18px}.curriculum-designer-head>.field{max-width:620px}.curriculum-add{grid-template-columns:minmax(180px,.7fr) minmax(300px,1.5fr) 100px auto auto;padding:16px 18px}
@media(max-width:1150px){.curriculum-add{grid-template-columns:repeat(2,minmax(0,1fr))}.curriculum-add>div:first-child{grid-column:auto}}
@media(max-width:880px){.curriculum-designer-head,.curriculum-designer-grid,.curriculum-add{grid-template-columns:1fr}.curriculum-designer-list>article{grid-template-columns:1fr}.curriculum-card-actions{flex-wrap:wrap}.curriculum-map-toolbar{align-items:flex-start;flex-direction:column}.curriculum-map-toolbar .search{width:100%;min-width:0}.curriculum-legend{flex-wrap:wrap}.view-switch{width:100%}.view-switch button{flex:1}}
@media(max-width:700px){.admin-schedule-preview{padding:16px 12px}.admin-schedule-preview-head{align-items:flex-start;flex-direction:column}.admin-schedule-filters{grid-template-columns:1fr}.admin-schedule-days{grid-template-columns:repeat(6,minmax(150px,1fr));padding-bottom:6px;scroll-snap-type:x proximity}.admin-schedule-day{scroll-snap-align:start}}
@media(max-width:700px){.calendar-table{table-layout:auto}.calendar-table th,.calendar-table td,.calendar-table th:first-child,.calendar-table td:first-child,.calendar-table th:nth-child(2),.calendar-table td:nth-child(2),.calendar-table th:nth-child(3),.calendar-table td:nth-child(3),.calendar-table th:nth-child(4),.calendar-table td:nth-child(4){width:auto!important}.calendar-table td .badge{width:max-content;max-width:100%;white-space:normal}}
