.students-page{color:#103a67;font-size:12px}.student-scope{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.student-scope>div{color:#516e91}.student-scope span{margin:0 12px;color:#98abc2}.student-scope label{display:flex;align-items:center;gap:12px}.student-scope select{max-width:340px}.student-banner{display:grid;grid-template-columns:100px minmax(180px,1.4fr) minmax(155px,.7fr) minmax(180px,1fr);gap:15px;padding:15px;background:white;border:1px solid #d8e7f6;border-radius:6px;align-items:center;margin-bottom:12px}.student-school-logo{height:135px;display:flex;align-items:center;justify-content:center;color:#23649e}.student-school-logo img{width:100%;height:100%;object-fit:contain}.student-school-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.student-school-info h1{font-size:19px;color:#082754;margin:0;line-height:1.25}.student-integrated{display:inline-block;background:#ffedca;color:#765216;padding:5px 8px;font-size:10px;border-radius:4px}.student-motto{font-style:italic;color:#3a78bd;margin:8px 0}.student-school-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px 8px;margin-top:12px;font-size:10px}.student-school-facts>span{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.student-services{padding:12px;background:#f0f8ff;border-radius:6px;font-size:10px}.student-services>strong{display:block;color:#0058b3}.student-services>small{display:block;margin:4px 0 8px;color:#5c7d9a}.student-services>div{display:flex;justify-content:space-between;gap:7px;padding:6px 0;border-top:1px solid #dceefa}.student-services span{display:flex;align-items:center;gap:5px}.student-school-photo{display:flex;min-height:135px;align-items:center;justify-content:center;flex-direction:column;gap:10px;border-radius:5px;color:#6992b2;background:#f0f6fc;text-align:center}.student-school-photo img{width:100%;height:145px;object-fit:cover;border-radius:5px}.student-all{grid-template-columns:70px 1fr;min-height:135px}.student-all h1{font-size:22px;margin:0 0 7px}.student-all p{color:#60758d}.student-note{font-size:11px}.student-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:13px}.student-kpi{display:flex;gap:10px;align-items:center;padding:12px 10px;border:1px solid #e1eefa;background:#fff;border-radius:6px}.student-kpi>span{display:flex;align-items:center;justify-content:center;background:#d9eeff;color:#087aff;border-radius:5px;min-width:46px;height:59px}.student-kpi strong{display:block;font-size:23px;color:#092764;line-height:1.1}.student-kpi b{display:block;margin:6px 0 4px;font-size:11px}.student-kpi small{display:block;color:#6183a7;font-size:10px;line-height:1.4}.student-kpi.active>span{background:#d4f2e4;color:#04a862}.student-kpi.transferred>span{background:#fff1cb;color:#f3a300}.student-kpi.sections>span{background:#e9dcff;color:#8634e8}.student-kpi.observed>span{background:#ffdde6;color:#ef3157}.student-body{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(245px,1fr);gap:12px}.student-main,.student-aside{min-width:0}.student-card{border:1px solid #e0edf8;background:#fff;border-radius:6px;padding:13px;margin-bottom:12px;min-width:0}.student-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #e3edf8;padding-bottom:9px;margin-bottom:10px}.student-card h2{display:flex;align-items:center;gap:7px;font-size:14px;margin:0;color:#0a2860}.student-card .btn{font-size:10px;min-height:30px;padding:6px 8px;white-space:nowrap}.student-filters{display:grid;grid-template-columns:repeat(5,minmax(70px,1fr)) minmax(125px,1.2fr);gap:7px;overflow-x:auto;padding-bottom:8px}.student-filters label{font-size:10px;color:#244b72}.student-filters input,.student-filters select{font-size:11px;padding:7px;width:100%;margin-top:6px;min-height:32px}.student-filters form{margin:0}.student-filters form label>div{display:flex;align-items:center}.student-filters form button{margin-top:6px;height:32px;border-radius:0 4px 4px 0}.student-filters input{border-radius:4px 0 0 4px;min-width:70px}.student-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;margin:6px 0 12px}.student-toolbar>div{display:flex;gap:5px;flex-wrap:wrap}.student-toolbar label{display:flex;gap:5px;align-items:center;font-size:10px}.student-toolbar select{padding:5px}.students-page table{font-size:10px}.students-page th{background:#edf6fe;color:#1b4d7d;font-size:10px;white-space:nowrap;text-transform:none}.students-page td,.students-page th{padding:8px 7px;border-right:1px solid #e4effa}.students-page td{color:#29486d}.students-page tbody tr.selected{background:#edf6ff}.student-status{display:inline-block;padding:4px 7px;border-radius:4px;font-size:10px;background:#eff2f6;color:#4e6177;white-space:nowrap}.student-status.status-ACTIVA{background:#d1f4e1;color:#0e7c4d}.student-status.status-TRASLADADA,.student-status.status-PROGRAMADA{background:#fff0c0;color:#927009}.student-status.status-RETIRADA{background:#ffe3e9;color:#c13756}.student-row-actions{display:flex;gap:4px}.student-row-actions .btn:first-child{background:#0879f6;color:white;border-color:#0879f6}.student-row-actions .btn:nth-child(2){background:#fff2cc;color:#956013}.student-observed{color:#d83a5c!important}.student-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;font-size:10px}.student-pagination>div{display:flex;align-items:center;gap:8px}.student-level-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0}.student-level-summary>div:first-child{min-width:0;flex:1}.student-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}.student-donut{flex-shrink:0;width:105px;height:105px;display:flex;align-items:center;justify-content:center;border-radius:50%}.student-donut>div{display:flex;align-items:center;justify-content:center;flex-direction:column;background:white;width:68px;height:68px;border-radius:50%;color:#0c3670}.student-donut strong{font-size:22px}.student-donut small{font-size:10px}.student-alert-list{list-style:none;margin:0;padding:0}.student-alert-list li+li{border-top:1px solid #edf2f8}.student-alert-list button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;background:none;padding:10px 0;font-size:11px;color:#24628f;cursor:pointer}.student-alert-list button:hover{background:#f4faff}.student-alert-list button>span{flex:1}.student-alert-list b{padding:3px 6px;background:#fff0f3;color:#d62f52;border-radius:3px}.student-quick-content{display:flex;gap:10px;margin-bottom:13px}.student-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;width:48px;height:48px;flex-shrink:0;background:#e1edfa;color:#1b63ae}.student-quick-content dl{margin:0;display:grid;grid-template-columns:76px 1fr;gap:7px;font-size:10px;min-width:0}.student-quick-content dt{color:#64839f}.student-quick-content dd{margin:0;overflow-wrap:anywhere}.student-explanation{padding:12px;line-height:1.6;color:#32679b;background:#eaf5ff;border:1px solid #d9ecfd;border-radius:5px;font-size:10px}.student-empty{padding:25px 10px;color:#7991a6;font-size:12px;text-align:center}.student-filter-note{font-size:11px;background:#eef7ff;padding:8px;margin-bottom:10px}.student-full-profile{display:grid;grid-template-columns:190px 1fr;gap:10px;font-size:13px;margin:20px 0}.student-full-profile dt{font-weight:700;color:#3c6385}.student-full-profile dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}#student-import-preview{margin-top:20px}#student-import-preview .table-scroll{max-height:300px;overflow:auto}#student-import-preview>button{margin-top:15px}
@media(min-width:1600px){.student-banner{grid-template-columns:125px minmax(300px,1.5fr) minmax(205px,.7fr) minmax(260px,1.1fr)}.student-school-info h1{font-size:24px}.student-body{grid-template-columns:minmax(0,2.15fr) minmax(350px,1fr)}.students-page table{font-size:12px}.student-kpi{padding:14px}.student-kpi b{font-size:13px}.student-donut{width:145px;height:145px}.student-donut>div{width:94px;height:94px}}
@media(max-width:1150px){.student-banner{grid-template-columns:85px minmax(190px,1fr) minmax(140px,.7fr)}.student-school-photo{display:none}.student-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.student-body{grid-template-columns:1fr}.student-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.student-aside .student-card{margin:0}.student-explanation{margin:0;align-self:start}.student-filters{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}}
@media(max-width:700px){.student-scope{align-items:stretch;flex-direction:column}.student-scope label{flex-direction:column;align-items:stretch;gap:5px}.student-scope select{max-width:none}.student-banner{grid-template-columns:60px minmax(0,1fr);gap:12px}.student-school-logo{height:100px}.student-services{grid-column:1/-1}.student-services>div{display:inline-flex;margin-right:15px;gap:12px}.student-school-info h1{font-size:17px}.student-school-facts{grid-template-columns:1fr}.student-school-facts>span:nth-child(2){display:none}.student-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.student-kpi{padding:10px 7px;gap:7px}.student-kpi>span{min-width:35px;height:45px}.student-kpi>span svg{width:25px}.student-kpi strong{font-size:21px}.student-kpi b{font-size:11px}.student-kpi:last-child{grid-column:1/-1}.student-aside{grid-template-columns:1fr}.student-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.student-filters input{min-width:0}.student-card{padding:10px}.student-card h2{font-size:13px}.student-level-summary{justify-content:space-around}.student-donut{width:130px;height:130px}.student-donut>div{width:84px;height:84px}.student-full-profile{grid-template-columns:1fr;gap:5px}.student-full-profile dd{margin-bottom:10px}.student-all{grid-template-columns:1fr}.student-all-icon{display:none}}
@media print{body.student-print #app,body.student-print #toast{display:none!important}body.student-print #modal{position:static;display:block!important;width:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:visible;box-shadow:none}body.student-print #modal::backdrop{display:none}body.student-print #modal button,body.student-print #modal .dialog-head{display:none!important}body.student-print #modal .table-scroll{overflow:visible}body.student-print #modal table{font-size:10px;width:100%}body.student-print #modal th,body.student-print #modal td{padding:5px}body.student-print #modal tr{break-inside:avoid}}

/* Student record: identity first, with accessible tabs for the detailed record. */
dialog.student-detail-dialog{width:min(1120px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #d7e4f2;border-radius:18px;color:#203e5d;box-shadow:0 28px 90px #102d5552;overflow:hidden}
dialog.student-detail-dialog[open]{display:flex;flex-direction:column}
.student-detail-dialog::backdrop{background:#122e4d80;backdrop-filter:blur(4px)}
.student-detail-dialog .dialog-head{position:relative;flex:none;padding:17px 26px;gap:16px}
.student-detail-dialog .dialog-head h2{display:flex;align-items:center;gap:11px;font-size:18px;letter-spacing:-.25px}
.student-detail-heading-icon{display:grid;place-items:center;width:35px;height:35px;border:1px solid #ffffff30;border-radius:10px;background:#ffffff12}
.student-detail-dialog .dialog-body{min-height:0;padding:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b6c9dc #f5f8fc;background:#f5f8fc}
.student-detail-summary{padding:27px 28px 0;background:linear-gradient(110deg,#fff 55%,#f3f8ff);border-bottom:1px solid #e1eaf4}
.student-detail-identity{display:flex;align-items:flex-start;gap:18px}
.student-detail-avatar{display:grid;place-items:center;flex:none;width:72px;height:72px;border-radius:20px;background:#e9f2ff;border:1px solid #cfdef2;color:#2765a7;font-size:26px;font-weight:700;letter-spacing:1px}
.student-detail-name{flex:1;min-width:0}
.student-detail-eyebrow{display:block;margin-bottom:7px;font-size:10px;font-weight:700;letter-spacing:1.5px;color:#577a9d}
.student-detail-name h3{margin:0;color:#143856;font-size:25px;font-weight:750;line-height:1.25;letter-spacing:-.6px;overflow-wrap:anywhere}
.student-detail-name>p{display:flex;align-items:flex-start;gap:7px;margin:9px 0 12px;font-size:12px;color:#5a7591;line-height:1.5;overflow-wrap:anywhere}
.student-detail-name>p svg{flex:none;margin-top:1px}
.student-detail-tags{display:flex;flex-wrap:wrap;gap:7px 18px;font-size:11px;color:#5a7591}
.student-detail-tags strong{color:#244a70;font-size:13px;margin-left:5px;font-variant-numeric:tabular-nums}
.student-detail-status{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:220px;flex-shrink:0;padding-top:3px;font-size:10px;color:#627d97}
.student-detail-status .student-status{padding:7px 11px;border-radius:7px;font-size:11px;line-height:1.5;white-space:normal;text-align:center}
.student-detail-status small{font-size:10px}
.student-detail-academic{display:grid;grid-template-columns:1.4fr 1fr .8fr 1fr;margin:24px 0 0;padding:17px 0 20px;border-top:1px solid #e0eaf4;gap:16px}
.student-detail-academic>div{min-width:0;padding-left:20px;border-left:1px solid #e0eaf4}
.student-detail-academic>div:first-child{padding-left:0;border-left:0}
.student-detail-academic dt{font-size:10px;color:#607d97;margin-bottom:7px}
.student-detail-academic dd{margin:0;color:#204d78;font-size:17px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.student-detail-tabs{display:flex;position:sticky;top:0;z-index:2;padding:0 24px;gap:10px;background:#fff;border-bottom:1px solid #dce6f1;overflow-x:auto;scrollbar-width:thin}
.student-detail-tabs [role=tab]{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;padding:18px 12px 16px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#60778f;font-size:12px;font-weight:600;white-space:nowrap}
.student-detail-tabs [role=tab]:hover{color:#175eae;background:#f5f9fe}
.student-detail-tabs [aria-selected=true]{color:#1465c1;border-bottom-color:#2477d8;background:#f6faff}
.student-detail-tabs [role=tab]:focus-visible{outline:2px solid #2677d3;outline-offset:-5px;border-radius:5px}
.student-detail-panels{padding:23px 28px 26px;min-height:290px}
.student-detail-panels [role=tabpanel][hidden]{display:none}
.student-detail-panels [role=tabpanel]:focus-visible,.student-detail-panels .table-scroll:focus-visible{outline:2px solid #2677d3;outline-offset:4px;border-radius:8px}
.student-detail-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:17px;align-items:start}
.student-detail-card{min-width:0;padding:21px 22px;border:1px solid #dfe8f2;border-radius:12px;background:#fff;box-shadow:0 2px 4px #1a436205}
.student-detail-card+.student-detail-card{margin-top:18px}
.student-detail-grid>.student-detail-card{margin:0}
.student-detail-card-wide{grid-column:1/-1}
.student-detail-card header{margin-bottom:20px}
.student-detail-card h3,.student-detail-section-heading h3{font-size:14px;margin:0;color:#234a70;line-height:1.4}
.student-detail-card header p,.student-detail-section-heading p{font-size:11px;color:#698099;margin:5px 0 0;line-height:1.5}
.student-detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 22px;margin:0}
.student-detail-fields>div{min-width:0}
.student-detail-fields dt{color:#647c94;font-size:11px;line-height:1.45;margin-bottom:6px}
.student-detail-fields dd{margin:0;color:#24445f;font-size:14px;font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.student-detail-fields .student-detail-missing,.student-detail-missing{color:#75869a;font-weight:400}
.student-detail-fields-three,.student-detail-contact{grid-template-columns:repeat(3,minmax(0,1fr))}
.student-detail-documentation{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #f0dfbb;border-radius:9px;background:#fffbf2;color:#946820}
.student-detail-documentation svg{flex:none;margin-top:2px}
.student-detail-documentation strong{display:block;font-size:13px;line-height:1.5}
.student-detail-documentation p{margin:6px 0 0;font-size:11px;line-height:1.6}
.student-detail-documentation.is-complete{background:#f1faf6;color:#247153;border-color:#d1eadf}
.student-detail-notes{margin:0;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.student-detail-section-heading{margin:24px 0 16px}
.student-family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.student-family-card{min-width:0;background:#fff;border:1px solid #dfe8f2;border-radius:12px;padding:20px}
.student-family-role{display:flex;align-items:center;gap:7px;color:#376797;font-size:11px;font-weight:700}
.student-family-card h4{font-size:15px;line-height:1.5;color:#234a70;margin:13px 0 18px;overflow-wrap:anywhere}
.student-family-card .student-detail-fields{grid-template-columns:1fr;gap:14px}
.student-family-card .student-detail-fields dd{font-size:12px;font-weight:500}
.student-detail-source{display:flex;align-items:center;gap:12px;background:#eff5fd;border:1px solid #dbe8f7;border-radius:9px;padding:14px 16px;margin-bottom:22px;color:#2f689f}
.student-detail-source svg{flex:none}
.student-detail-source>div{min-width:0}
.student-detail-source strong{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.student-detail-source span{display:block;font-size:11px;color:#5f7b97;margin-top:5px}
.student-detail-source-note{font-size:11px;color:#688099;margin:22px 0 0;padding-top:15px;border-top:1px solid #e4ebf3}
.student-detail-empty{text-align:center;padding:30px 20px;color:#70859a;line-height:1.6;font-size:12px}
.student-detail-empty svg{color:#8faac5;margin-bottom:14px}
.student-detail-empty h3{font-size:16px;color:#385e82;margin:0 0 8px}
.student-detail-empty p{margin:0}
.student-detail-panels .table-scroll{max-width:100%;border:1px solid #e2eaf3;border-radius:8px}
.student-detail-panels table{font-size:12px;width:100%;min-width:660px}
.student-detail-panels th{background:#f2f6fb;color:#5d7892;font-size:10px;text-transform:none;padding:12px}
.student-detail-panels td{padding:13px 12px;vertical-align:middle;color:#24445f}
.student-detail-panels td small{display:block;margin-top:5px;color:#7890a6;font-size:10px}
.student-detail-panels .notice{margin-top:20px;font-size:12px}
.student-detail-dialog .dialog-footer{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 28px;background:#fff;border-top:1px solid #dce6f1}
.student-detail-footer-note{display:flex;align-items:center;gap:8px;font-size:11px;color:#71879d}
.student-detail-actions{display:flex;gap:10px}
.student-detail-actions .btn{min-height:41px;padding:10px 17px;font-size:12px}
.student-detail-actions .primary{background:#176ac8;border-color:#176ac8;color:#fff}
.student-detail-actions .primary:hover{background:#1059ad}
.student-detail-dialog .btn:focus-visible{outline:3px solid #a7ccfb;outline-offset:3px}
@media(max-width:780px){
 .student-detail-identity{flex-wrap:wrap;gap:14px}
 .student-detail-status{flex-direction:row;align-items:center;flex-wrap:wrap;max-width:none;width:100%;padding-top:0}
 .student-detail-status small{margin-left:auto}
 .student-detail-name h3{font-size:22px}
 .student-detail-academic{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .student-detail-academic>div:nth-child(3){padding-left:0;border-left:0}
 .student-detail-grid{grid-template-columns:1fr}
 .student-family-grid{grid-template-columns:1fr}
 .student-family-card .student-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .student-detail-fields-three,.student-detail-contact{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:500px){
 dialog.student-detail-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:13px}
 .student-detail-dialog .dialog-head{padding:13px 15px;gap:8px}
 .student-detail-dialog .dialog-head h2{font-size:16px;gap:8px}
 .student-detail-heading-icon{width:30px;height:30px;border-radius:8px}
 .student-detail-summary{padding:20px 16px 0}
 .student-detail-avatar{width:47px;height:47px;border-radius:14px;font-size:19px}
 .student-detail-identity{gap:11px}
 .student-detail-name h3{font-size:20px;letter-spacing:-.3px}
 .student-detail-tags{flex-direction:column;gap:7px;font-size:10px}
 .student-detail-tags strong{font-size:12px}
 .student-detail-status{margin-top:6px;gap:7px}
 .student-detail-status small{margin-left:0}
 .student-detail-academic{margin-top:18px;padding:16px 0}
 .student-detail-academic dd{font-size:15px}
 .student-detail-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px;gap:0}
 .student-detail-tabs [role=tab]{justify-content:flex-start;font-size:11px;padding:14px 8px 12px;gap:6px;white-space:normal;text-align:left}
 .student-detail-tabs [role=tab] svg{width:15px;height:15px}
 .student-detail-panels{padding:16px 13px 20px;min-height:240px}
 .student-detail-card,.student-family-card{padding:18px 16px}
 .student-detail-fields{gap:18px 14px}
 .student-detail-fields dd{font-size:13px}
 .student-detail-contact{grid-template-columns:1fr}
 .student-detail-dialog .dialog-footer{padding:12px 15px}
 .student-detail-footer-note{display:none}
 .student-detail-actions{justify-content:flex-end;width:100%}
}

/* Student registration: a single scrolling body with persistent actions. */
dialog.student-form-dialog{width:min(1100px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #d5e3f2;border-radius:18px;box-shadow:0 28px 90px #102d5552;color:#193858;overflow:hidden}
dialog.student-form-dialog[open]{display:flex;flex-direction:column}
dialog.student-form-dialog::backdrop{background:#132c4c70;backdrop-filter:blur(4px)}
.student-form-dialog .dialog-head{position:relative;flex:none;padding:23px 28px}
.student-dialog-heading{display:flex;align-items:center;gap:16px;min-width:0}
.student-dialog-icon{display:flex;align-items:center;justify-content:center;flex:none;width:54px;height:54px;border:1px solid #ffffff45;border-radius:15px;background:#ffffff14;color:var(--dialog-heading-text)}
.student-dialog-eyebrow{display:block;color:var(--dialog-heading-muted);font-size:10px;font-weight:700;letter-spacing:1.4px;margin-bottom:5px}
.student-form-dialog .dialog-head h2{font-size:23px;line-height:1.25;letter-spacing:-.4px}
.student-dialog-heading p{margin:6px 0 0;font-size:12px;line-height:1.5;color:var(--dialog-heading-muted)}
.student-form-dialog .dialog-body{min-height:0;padding:20px 28px 26px;background:#f5f8fc;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#bbcede #f5f8fc}
.student-form-intro{display:flex;justify-content:space-between;gap:12px;margin:0 0 17px;font-size:12px;line-height:1.5;color:#647b91}
.student-form-intro>span:last-child{white-space:nowrap;font-size:11px}
.student-form-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.student-form-section{min-width:0;padding:19px 20px 20px;background:#fff;border:1px solid #dfe8f2;border-radius:12px;box-shadow:0 2px 3px #18375b03}
.student-section-wide{grid-column:1/-1}
.student-form-section>header{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.student-section-number{display:flex;align-items:center;justify-content:center;flex:none;width:31px;height:31px;border-radius:9px;background:#eef5fd;color:#3971ac;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}
.student-form-section h3{margin:0;color:#1b3c60;font-size:14px;font-weight:700;line-height:1.3}
.student-form-section header p{margin:4px 0 0;color:#70849a;font-size:11px;line-height:1.45}
.student-form-section .form-grid{gap:15px 16px;align-items:start}
.student-section-academic .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.student-section-identity .form-grid{grid-template-columns:1.1fr 2fr 1fr 1.15fr}
.student-form-dialog .field{min-width:0;margin:0;gap:7px;color:#3b536e;font-size:12px;font-weight:600}
.student-form-dialog .field input,.student-form-dialog .field select,.student-form-dialog .field textarea{width:100%;max-width:100%;min-height:43px;border:1px solid #d2dfed;border-radius:7px;background:#fff;padding:11px 12px;font-size:13px;font-weight:400;line-height:1.4;color:#1b3c60;transition:border-color .15s,box-shadow .15s}
.student-form-dialog .field select{padding-right:24px}
.student-form-dialog .field textarea{min-height:90px;resize:vertical}
.student-form-dialog .field input::placeholder,.student-form-dialog .field textarea::placeholder{color:#889bad;opacity:1}
.student-form-dialog .field input:hover,.student-form-dialog .field select:hover,.student-form-dialog .field textarea:hover{border-color:#a8c2df}
.student-form-dialog .field input:focus,.student-form-dialog .field select:focus,.student-form-dialog .field textarea:focus{border-color:#3983dc;outline:2px solid #dcecff;outline-offset:1px;box-shadow:0 0 0 3px #3983dc08}
.student-form-dialog .required{color:#c33d4e}
.student-form-dialog #form-error:empty{display:none}
.student-form-dialog #form-error:not(:empty){margin-bottom:16px;scroll-margin:10px}
.student-form-dialog #form-error:focus{outline:2px solid #d24e65;outline-offset:3px;border-radius:8px}
.student-form-dialog .dialog-footer{position:relative;flex:none;justify-content:space-between;align-items:center;padding:17px 28px;border-top:1px solid #dfe8f2;box-shadow:0 -3px 14px #23486e05;gap:16px}
.student-form-footer-note{display:flex;align-items:center;gap:8px;color:#72869b;font-size:11px;line-height:1.4}
.student-form-footer-note svg{flex:none;color:#7798b9}
.student-form-actions{display:flex;align-items:center;gap:10px}
.student-form-actions .btn{min-height:44px;padding:11px 19px;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap;justify-content:center}
.student-form-actions .primary{background:#1467d5;border-color:#1467d5;color:white;box-shadow:0 3px 7px #1467d526}
.student-form-actions .primary:hover{background:#0e56b6;border-color:#0e56b6}
.student-form-actions .primary:disabled{opacity:.6;cursor:wait}
.student-form-actions .student-form-cancel{color:#506984;border-color:#d2dfed;background:#fff}
.student-form-actions .student-form-cancel:hover{background:#f0f5fb}
.student-form-dialog button:focus-visible{outline:3px solid #a7ccfb;outline-offset:3px}
@media(max-width:850px){
 .student-section-identity .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .student-form-sections{grid-template-columns:1fr}
 .student-form-footer-note{max-width:190px}
}
@media(max-width:600px){
 dialog.student-form-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:14px}
 .student-form-dialog .dialog-head{padding:17px 16px;gap:10px;align-items:flex-start}
 .student-dialog-heading{gap:10px;align-items:flex-start}
 .student-dialog-icon{width:38px;height:38px;border-radius:10px}
 .student-dialog-icon svg{width:21px;height:21px}
 .student-dialog-eyebrow{font-size:9px;letter-spacing:.8px;margin:1px 0 5px}
 .student-form-dialog .dialog-head h2{font-size:18px;letter-spacing:-.2px}
 .student-dialog-heading p{font-size:11px;margin-top:5px}
 .student-form-dialog .dialog-body{padding:16px 13px 20px}
 .student-form-intro{flex-direction:column;gap:5px;font-size:11px;margin-bottom:13px}
 .student-form-section{padding:16px 14px;border-radius:10px}
 .student-form-section>header{align-items:flex-start;margin-bottom:16px}
 .student-form-section h3{font-size:13px}
 .student-form-section .form-grid{grid-template-columns:1fr;gap:15px}
 .student-form-dialog .field input,.student-form-dialog .field select,.student-form-dialog .field textarea{font-size:16px}
 .student-form-dialog .dialog-footer{padding:12px 14px;display:block}
 .student-form-footer-note{display:none}
 .student-form-actions{display:grid;grid-template-columns:auto 1fr;gap:9px}
 .student-form-actions .btn{padding:11px 13px;font-size:12px}
}
