:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#183049;background:#f3f6fb;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#102c49;color:white;padding:23px max(5vw,20px);display:flex;align-items:center;justify-content:space-between;gap:22px}a{color:#1267a8;text-underline-offset:3px}header a{color:white;text-decoration:none}.brand{font-size:24px;font-weight:800;letter-spacing:-.7px}.brand span{font-weight:400;color:#a8c9e5;font-size:18px;margin-left:10px}nav{display:flex;gap:23px;align-items:center;flex-wrap:wrap}nav form{margin:0}.link{background:none;padding:0;color:white;font-size:16px;min-height:auto}main{max-width:1250px;margin:48px auto;padding:0 28px;min-height:70vh}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#50728e;margin-bottom:14px}h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1.3px;margin:0 0 15px}h2{font-size:24px}h3{font-size:20px;margin-top:0}.intro{color:#5b6b7d;font-size:19px;margin-bottom:30px}.card{background:#fff;border:1px solid #dce5ef;border-radius:15px;padding:26px;margin:24px 0;box-shadow:0 6px 22px #17345105}.narrow{max-width:560px}.search,.filters{display:flex;gap:18px;align-items:end;flex-wrap:wrap}.search>div{flex:1;min-width:230px}.filters>div{flex:1;min-width:180px}label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}input,select{font:inherit;background:#fff;color:#183049;border:1px solid #b8c9da;border-radius:8px;padding:12px;width:100%;min-height:47px}select{max-width:100%}.narrow input,.narrow select{margin-bottom:21px}button,.button{border:0;background:#0878c0;color:#fff;border-radius:8px;padding:13px 22px;font:inherit;font-weight:650;cursor:pointer;display:inline-block;min-height:47px;text-decoration:none}button:hover,.button:hover{background:#075e98}.secondary{background:#e9f2fa;color:#15587e;font-size:14px;padding:10px 13px}.secondary:hover{background:#d4e8f7}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #edae38;outline-offset:3px}.table-wrap{overflow-x:auto;background:#fff;border:1px solid #dce5ef;border-radius:12px;margin:20px 0}table{border-collapse:collapse;width:100%;text-align:left}th{background:#eaf0f7;color:#486078;font-size:12px;text-transform:uppercase;letter-spacing:.6px;padding:17px}td{padding:18px 17px;border-top:1px solid #e6edf4;font-size:14px;line-height:1.5;min-width:110px}td:first-child{min-width:190px}small{display:block;color:#61748a;margin-top:6px}td .button{white-space:nowrap;margin:4px 0}.pill{display:inline-block;background:#edf4fb;padding:5px 11px;border-radius:7px;color:#225d8f;font-weight:700}.notice{padding:17px 20px;background:#e6f1fc;border-left:4px solid #4b92c9;border-radius:5px;line-height:1.6}.error{background:#fff0ee;border-color:#c74734}.success{background:#e8f6ee;border-color:#339261}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:28px}fieldset{border:0;padding:0;margin:0;display:flex;gap:15px;flex-wrap:wrap;min-width:330px}.radio{display:flex;align-items:center;gap:5px;font-weight:400;white-space:nowrap;margin:0}.radio input{width:19px;height:19px;min-height:0;accent-color:#0878c0}.save{position:sticky;bottom:0;background:#f3f6fbef;padding:18px 0;display:flex;gap:25px;align-items:center}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}footer{text-align:center;color:#718399;font-size:13px;padding:30px;border-top:1px solid #dce5ef}@media(max-width:700px){header{flex-direction:column;align-items:start}main{margin-top:32px;padding:0 18px}.card{padding:20px}.search button{width:100%}nav{gap:18px;font-size:14px}.section-head{align-items:start;flex-direction:column}td,th{padding:13px}.save{flex-wrap:wrap}}

/* Portada de acceso */
.home-page{background:radial-gradient(ellipse at 85% 12%,#315c79 0,transparent 50%),linear-gradient(130deg,#0b1d31,#193c59 65%,#28596a);color:#fff;min-height:100vh}
.home-page header{background:#0c2236b8;border-bottom:1px solid #ffffff16}
.home-page main{max-width:1250px;margin:42px auto 56px;min-height:65vh}
.home-page .eyebrow{color:#a5c7df}.home-page h1{font-size:clamp(33px,4.5vw,58px);max-width:980px;line-height:1.12;margin-bottom:20px}
.home-intro{font-size:clamp(17px,2vw,21px);line-height:1.6;color:#d5e3ed;margin:0 0 30px;max-width:870px}
.home-note{background:#e9f2ff;color:#143e66;border:1px solid #87b5ed;border-radius:13px;padding:22px 26px;display:flex;align-items:center;gap:18px;margin:26px 0}
.home-note>span{font-size:32px}.home-note strong{display:block;font-size:20px}.home-note div>span{display:block;margin-top:6px;font-size:14px;color:#486b8a}
.access-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:24px}
.access-card{padding:32px 34px;border-radius:24px;display:flex;flex-direction:column;text-decoration:none;border:1px solid #ffffff38;box-shadow:0 18px 45px #0002;transition:transform .18s ease,box-shadow .18s ease;min-height:370px}
.access-card:hover{transform:translateY(-4px);box-shadow:0 24px 50px #0003}.students-card{background:#f9fbfe;color:#152f4b}.teachers-card{background:#122c47;color:#fff;border-color:#54748d}
.access-badge{align-self:flex-start;border-radius:30px;padding:8px 13px;font-size:13px;background:#e9f1ff;color:#2463a0}.teachers-card .access-badge{background:#2a4868;color:#c6d9ec}
.access-icon{width:65px;height:65px;display:grid;place-items:center;border-radius:19px;background:#e9f1ff;color:#166ec2;margin:26px 0 18px}.access-icon svg{width:38px;height:38px}.teachers-card .access-icon{background:#294967;color:#fff}
.access-card h2{font-size:clamp(23px,2.4vw,30px);margin:8px 0 14px;letter-spacing:-.6px}.access-card p{color:#60768e;font-size:17px;line-height:1.65;max-width:450px;margin:0 0 24px}.teachers-card p{color:#b8ccde}.access-action{margin-top:auto;display:flex;align-items:center;gap:20px;font-weight:700;font-size:16px}.access-action>span{font-size:28px;font-weight:400}.home-page footer{color:#a5bfd4;border-color:#ffffff20;background:#0a203445}
@media(max-width:700px){.access-grid{grid-template-columns:1fr}.access-card{min-height:320px;padding:26px}.home-note{padding:19px}.home-note strong{font-size:17px}.home-page main{margin-top:30px}.home-page nav{gap:13px}.access-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.access-card{transition:none}}

/* Fondo de la consulta por matrícula */
.student-page{background:#183349;min-height:100vh;position:relative;isolation:isolate;color:#fff}
.student-page::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(110deg,rgba(9,27,46,.78),rgba(12,35,57,.56)),url('imagenes/fondo-alumnos.png') center center/cover no-repeat;pointer-events:none}
.student-page header{background:rgba(12,34,54,.92);border-bottom:1px solid #ffffff25}
.student-page .eyebrow{color:#c0d8ee}.student-page .intro{color:#edf4fb}
.student-page .card{background:rgba(255,255,255,.97);color:#183049;border-color:#e0e8f1;box-shadow:0 12px 35px #0002}
.student-page .table-wrap{background:#fff;color:#183049;box-shadow:0 12px 35px #0002}
.student-page .notice{color:#183e63;background:#e9f3ff}.student-page .notice.error{background:#fff0ee;color:#853324}
.student-page footer{background:rgba(12,34,54,.86);border-color:#ffffff25;color:#d5e5f2}
@media(max-width:700px){.student-page::before{background-position:62% center}.student-page h1{font-size:32px}}
