:root{--forest:#087cf2;--forest-dark:#084da6;--green:#096dd0;--mint:#e8f3ff;--ink:#132b53;--muted:#66809e;--line:#e1eaf5;--paper:#f1f7fd;--shadow:0 3px 14px #16376308;font-family:Arial,"Segoe UI",sans-serif;background:var(--paper)}
body{background:var(--paper)}.sidebar{width:232px;background:linear-gradient(160deg,#193a57,#102a44);color:white;border:0}.workspace{margin-left:232px}.content{max-width:1920px;padding:20px 22px 24px}.topbar{height:76px;padding:0 22px;background:#fff;border-color:#dfe9f5;gap:16px;position:relative;z-index:3}
.institutional-brand{padding:18px 12px 15px;display:flex;flex-direction:column;gap:3px;text-align:center;flex-shrink:0}.institutional-brand>small{font-size:8px;letter-spacing:.4px;color:#deebf9}.institutional-brand>strong{font-size:16px;letter-spacing:.6px}.institutional-brand>p{font-family:Georgia,serif;font-size:14px;font-style:italic;color:#d9e8f6;line-height:1.4;margin:9px 0 0}
.brand-crest{width:75px;height:82px;position:relative;overflow:hidden;border-radius:8px;background:#fff;margin-bottom:5px}.brand-crest img{position:absolute;width:126px;max-width:none;height:auto;left:-25px;top:-5px}
.sidebar nav{padding:0 10px 12px}.sidebar .nav-item{border-radius:4px;color:#dce8f5;font-size:12px;font-weight:400;padding:11px 12px;min-height:41px;gap:12px}.sidebar .nav-item svg{flex-shrink:0}.sidebar .nav-item:hover{background:#ffffff12;color:white}.sidebar .nav-item.active{background:linear-gradient(90deg,#058cff,#0071e6);color:#fff;box-shadow:inset 3px 0 #b9e5ff;font-weight:700}.sidebar .nav-app-ugel{font-size:15px;font-weight:700;background:#edf4fc;color:#1a4977;margin:8px 0}.sidebar .nav-app-ugel:hover{background:#daeafb;color:#0b5bbb}.sidebar .nav-app-ugel.active{color:white}
.nav-group>summary{display:flex;gap:12px;align-items:center;color:#dce8f5;padding:11px 12px;font-size:12px;cursor:pointer;list-style:none}.nav-group>summary::-webkit-details-marker{display:none}.nav-group>summary svg{width:18px;flex-shrink:0}.nav-chevron{margin-left:auto;font-size:20px;line-height:14px}.nav-group[open] .nav-chevron{transform:rotate(90deg)}.nav-group>div{border-left:1px solid #53718c;margin:0 0 5px 20px;padding-left:6px}.sidebar .nav-group .nav-item{font-size:11px;padding:8px 9px;min-height:34px}.sidebar .nav-group .nav-item svg{width:15px;height:15px}.nav-group>summary:hover{background:#ffffff0b}
.nav-students{margin:5px 0}.nav-students>summary{border-radius:7px;gap:9px;font-weight:700;min-height:48px;line-height:1.35}.nav-students>summary>span:not(.nav-chevron){flex:1;min-width:0}.nav-students[open]>summary,.nav-students.has-active>summary{background:linear-gradient(110deg,#078bfa,#0563ce);color:#fff;box-shadow:inset 0 0 0 1px #55b7ff66,0 3px 10px #041d3733}.nav-students>div{margin:7px 0 7px 21px;padding:0 0 0 9px;border-left:1px solid #4084ad}.sidebar .nav-students .nav-item{position:relative;gap:9px;margin:3px 0;padding:10px 8px;min-height:41px;line-height:1.4;font-size:12px;text-align:left;border-radius:6px}.sidebar .nav-students .nav-item::before{content:'';position:absolute;left:-13px;width:5px;height:5px;border-radius:50%;background:#65a5cd}.sidebar .nav-students .nav-item svg{width:19px;height:19px}.sidebar .nav-students .nav-item span{white-space:normal;overflow-wrap:break-word}.nav-students>summary:focus-visible,.sidebar .nav-students .nav-item:focus-visible{outline:2px solid #a5e2ff;outline-offset:2px}
.sidebar-bottom{border-top:1px solid #ffffff14;color:#c2d7e9;line-height:1.5;padding:18px 22px;font-size:10px;background:linear-gradient(#153551df,#102d45df),url('landscape.svg') bottom/cover}.sidebar-bottom strong{color:#fff;margin-bottom:4px}
.mobile-menu{display:inline-flex;background:none;color:#214b73;padding:6px;border-radius:5px;flex-shrink:0}.mobile-menu:hover{background:#edf4fc}.system-heading{min-width:0}.system-heading>strong{display:block;font-size:16px;color:#072a66;line-height:1.25}.system-heading>span:not(.sr-only){display:block;margin-top:4px;font-size:10px;color:#5d7596}.system-heading b{color:#174477}.system-heading i{font-style:normal;color:#aebed1;padding:0 7px}
.top-right{gap:14px;flex-shrink:0}.year-control{display:flex;align-items:center;gap:7px;border:1px solid #dbe8f7;padding:8px 9px;border-radius:6px;box-shadow:0 1px 5px #31619609;font-size:12px;font-weight:700;color:#075dbb}.year-pill{padding:0 4px;background:white;border:0;font-size:12px;color:#15356a;font-weight:700;max-width:83px}.header-icon{background:transparent;color:#365573;padding:5px;position:relative;display:inline-flex;border-radius:5px}.header-icon:hover{background:#edf4fc}.header-icon>span{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;border-radius:20px;background:#f43c51;border:2px solid white;color:white;font-size:9px;display:grid;place-items:center}.header-icon>span[hidden]{display:none}
.avatar{width:39px;height:39px;background:#007aff;color:white;font-size:13px}.account{gap:9px;max-width:220px;padding:0}.account-text{font-size:11px;line-height:1.35;color:#103466}.account-text>b,.account-text>span{display:block}.account-text>span{color:#537497;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:center;gap:20px;color:#627a9c;font-size:10px;padding:0 22px 16px}.workspace-footer b{font-weight:400}.workspace-footer>span:last-child{text-align:right}.workspace-footer .footer-credit{color:#00b050;text-align:center;font-size:clamp(16px,1.4vw,26px);font-weight:400;line-height:1.4;overflow-wrap:break-word}
@media(max-width:1050px){.workspace-footer{grid-template-columns:minmax(0,1fr);text-align:center}.workspace-footer>span:last-child{text-align:center}}
.sidebar-collapsed .sidebar{transform:translateX(-100%)}.sidebar-collapsed .workspace{margin-left:0}
.btn.primary{background:#087cf2;border-color:#087cf2}.btn.primary:hover{background:#0064cd}.btn{border-color:#dae5f2;color:#20446f;box-shadow:0 1px 2px #153b5c03}.btn:hover{background:#edf5ff}.card,.filters{border-color:#e0eaf5;box-shadow:var(--shadow)}.badge.green{color:#17864c;background:#ddf7e9}.badge.amber{color:#b57915;background:#fff1cd}.badge.blue{color:#0670d8;background:#dfedff}.hero-note{background:#eaf4ff;border-color:#d2e6fb;color:#356491}.metric-icon{background:#edf5ff;color:#087cf2}.progress{background:#e5effb}.login-story{background:linear-gradient(135deg,#123555,#045bb5)}.login-form-wrap{background:#f4f8fd}.login-form .eyebrow{color:#087cf2}
.home-dashboard{color:#12366b}.home-scope{display:flex;gap:14px;align-items:center;justify-content:flex-end;margin-bottom:12px;font-size:10px;color:#6a809d}.home-scope>label{display:flex;gap:8px;align-items:center;margin-right:auto;font-size:11px}.home-scope select{font-size:11px;padding:6px 9px;max-width:330px;background:#fff;border-color:#dce7f4}.home-link{display:inline-flex;align-items:center;gap:5px;background:none;border:0;padding:0;font-size:11px;color:#0077ee;cursor:pointer;text-align:left;font-weight:600;line-height:1.35}.home-link:hover{text-decoration:underline}.home-solid{background:#0781fc;color:white;padding:7px 10px;border-radius:4px}.home-solid:hover{background:#0069d3;text-decoration:none}
.home-welcome{position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;min-height:158px;padding:23px 28px;border-radius:7px;border:1px solid #b3d3f2;background:linear-gradient(90deg,#003775 0%,#075bbb 42%,#126dc593 65%,#0b416421 100%),url('landscape.svg') right center/auto 100% no-repeat,#277fae;color:white;margin-bottom:12px}
.home-welcome h1{font-size:28px;line-height:1.18;letter-spacing:0;margin:0 0 8px;color:white;font-weight:700}.home-welcome-copy{position:relative;z-index:1;max-width:74%}.home-welcome-copy>p{font-size:14px;line-height:1.4;color:#deedff;margin:0}.home-welcome-actions{display:flex;gap:36px;margin-top:17px}.home-welcome-actions .home-link{color:white;font-size:12px;gap:12px;font-weight:500}.home-welcome-motto{font-family:Georgia,serif;font-size:22px;font-style:italic;text-align:center;line-height:1.25;align-self:flex-end;margin:0;text-shadow:0 1px 7px #002c50;transform:rotate(-5deg);max-width:25%}
.home-institution{display:flex;gap:22px;align-items:center;background:white;border:1px solid #e0eaf5;border-radius:7px;padding:18px 20px;margin-bottom:12px;box-shadow:var(--shadow);min-width:0}.home-school-mark{flex:0 0 108px;width:108px;min-height:121px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#1568aa;background:linear-gradient(155deg,#e8f6ff,#d9eaff);border:2px solid #c9deee;clip-path:polygon(0 0,50% 5%,100% 0,95% 74%,50% 100%,5% 74%);padding:10px 5px 18px}.home-school-mark>strong{font-size:16px;letter-spacing:1px}.home-school-mark>span{font-size:6px;letter-spacing:.6px}.home-institution-main{flex:1;min-width:0}.home-institution-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:6px}.home-eyebrow{font-size:9px;font-weight:700;text-transform:uppercase;background:#dbedff;color:#0e66b1;padding:4px 7px;border-radius:4px}.home-institution-status{display:flex;align-items:center;gap:6px;background:#e8f8f0;padding:5px 10px;border-radius:5px;color:#198a55;font-size:10px;white-space:nowrap}.home-institution h2{font-size:22px;letter-spacing:-.3px;color:#08295b;margin-bottom:5px;line-height:1.25}.home-location{display:flex;align-items:center;gap:6px;font-size:12px;margin-bottom:15px;color:#385d88}.home-location svg{color:#007bff;flex-shrink:0}.home-institution-facts{display:grid;grid-template-columns:.8fr 1.2fr 1.4fr;gap:14px}.home-institution-facts>div{display:flex;gap:10px;align-items:center;border-right:1px solid #e4edf8;padding-right:12px}.home-institution-facts>div:last-child{border:0;padding-right:0}.home-institution-facts svg{flex-shrink:0;color:#007df6}.home-institution-facts span{font-size:10px;color:#567393}.home-institution-facts strong{display:block;font-size:11px;font-weight:700;color:#15376d;margin-top:4px;line-height:1.35}.home-institution blockquote{display:grid;align-items:center;margin:0;align-self:stretch;flex:0 0 155px;background:#f0f6fc;border-radius:5px;padding:15px;font-size:15px;font-style:italic;line-height:1.6;color:#1e487b;text-align:center}
.blue{--tone:#007bff;--tint:#e8f4ff;--deep:#083c8a}.green{--tone:#05b56a;--tint:#e8f8f1;--deep:#097c48}.amber{--tone:#ffad05;--tint:#fff8e4;--deep:#965c00}.purple{--tone:#873df6;--tint:#f2eaff;--deep:#6331c9}.red{--tone:#ff3d57;--tint:#fff0f2;--deep:#ce263f}
.home-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.home-kpi{display:flex;gap:12px;align-items:center;background:linear-gradient(100deg,var(--tint),color-mix(in srgb,var(--tint) 60%,white));border:3px solid white;border-radius:7px;box-shadow:0 0 0 1px #e0eaf5;padding:10px 11px;text-align:left;position:relative;min-height:90px;color:var(--deep)}.home-kpi:hover{box-shadow:0 0 0 1px var(--tone),0 5px 15px #12356613}.home-kpi-icon{background:var(--tone);color:white;display:grid;place-items:center;min-width:52px;height:59px;border-radius:7px}.home-kpi-text{display:flex;flex-direction:column;min-width:0;gap:3px;padding-right:6px}.home-kpi-text>strong{font-size:28px;line-height:1;font-weight:700}.home-kpi-text>b{font-size:11px;line-height:1.2}.home-kpi-text>small{font-size:9px;line-height:1.3;opacity:.85}.home-kpi-arrow{position:absolute;right:8px;bottom:7px;border-radius:50%;background:color-mix(in srgb,var(--tone) 13%,white);color:var(--tone);height:19px;width:19px;text-align:center;line-height:17px;font-size:23px}
.home-row{display:grid;grid-template-columns:1.08fr 1fr;gap:12px;margin-bottom:12px;align-items:stretch}.home-services-row{grid-template-columns:1.18fr 1fr}.home-card{border:1px solid #dfeaf6;border-radius:7px;box-shadow:var(--shadow);background:white;padding:10px 12px;min-width:0;overflow:hidden}.home-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.home-card-header h2{display:flex;gap:8px;align-items:center;font-size:13px;color:#12376a;margin:0;letter-spacing:0;line-height:1.3}.home-card-header h2 svg{color:#0780f9;flex-shrink:0}.home-card-header>.home-link{font-size:10px;flex-shrink:0}.home-card table{font-size:10px;line-height:1.3}.home-card th{color:#264970;background:#edf4fb;font-size:9px;text-transform:none;letter-spacing:0;border:1px solid #e9eff7;padding:6px 7px;white-space:nowrap}.home-card td{padding:6px 7px;border:1px solid #e9eff7;font-size:10px;line-height:1.3}.home-card td small{font-size:9px;color:#7186a0;margin-top:2px;line-height:1.25}.home-card td .home-link{font-size:10px}.home-card tr:last-child td{border-bottom:1px solid #e9eff7}.home-date{font-size:9px!important;white-space:nowrap}.home-status{display:inline-flex;padding:3px 7px;border-radius:3px;font-size:9px;white-space:nowrap;background:var(--tint,#f0f4f8);color:var(--deep,#53718a)}.home-status.green{background:#daf7e6}.home-status.red{background:#ffe1e7}.home-alert-description{display:flex;gap:8px;align-items:flex-start}.home-alert-symbol{display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:19px;height:19px;background:#ffb500;color:white;font-size:14px;font-weight:700;margin-top:1px}.home-alert-symbol.pending{background:#ff4359}
.home-empty{display:flex;align-items:center;justify-content:center;color:#7c90a8;font-size:12px;line-height:1.6;min-height:148px;padding:25px;text-align:center}.home-level-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px}.level-1{background:#ff668b}.level-2{background:#0785fc}.level-3{background:#29bf88}.home-service-action{display:inline-flex;background:#0b82fb;color:white;padding:4px 5px;border-radius:4px}.home-service-action:hover{background:#005cc5}.home-year-tag{border:1px solid #e0eaf5;border-radius:4px;padding:5px 10px;font-size:10px}.home-inline-note{color:#73869c;font-size:9px;line-height:1.3;margin:7px 0 0}
.home-chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:147px;color:#7e94b1;text-align:center;font-size:10px;padding:14px}.home-chart-empty svg{color:#9cc8f2}.home-chart-empty strong{color:#466b90;font-size:12px}.home-chart-empty>div{display:flex;gap:18px;margin-top:4px;font-size:9px;color:#5c799a}.home-chart{display:flex;height:153px;margin:10px 10px 27px 2px;gap:12px}.home-chart-axis{display:flex;flex-direction:column;justify-content:space-between;width:30px;text-align:right;font-size:9px;color:#59799e}.home-chart-plot{display:flex;gap:15%;justify-content:center;align-items:flex-end;flex:1;border-left:1px solid #d6e5f6;border-bottom:1px solid #d6e5f6;background:repeating-linear-gradient(to top,#e5edf7 0,#e5edf7 1px,transparent 1px,transparent 25%)}.home-chart-column{position:relative;display:flex;align-items:flex-end;justify-content:center;width:25%;height:100%;background:none;padding:0;border:0}.home-chart-bar{width:100%;max-width:130px;border-radius:4px 4px 0 0;position:relative;opacity:.85}.home-chart-bar strong{position:absolute;bottom:100%;left:0;right:0;font-size:12px;color:#15366b;margin-bottom:4px}.home-chart-column:hover .home-chart-bar{opacity:1;box-shadow:0 0 0 2px #b3d7ff}.home-chart-label{position:absolute;top:100%;margin-top:7px;font-size:10px;color:#335985;white-space:nowrap}
.home-indicators{margin-bottom:0}.home-indicators>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.home-indicator{display:flex;align-items:center;gap:10px;min-width:0;text-align:left;background:var(--tint);padding:12px 10px;border-radius:5px;color:var(--deep);min-height:78px}.home-indicator:hover{box-shadow:inset 0 0 0 1px var(--tone)}.home-indicator-icon{color:var(--tone);flex-shrink:0}.home-indicator>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}.home-indicator strong{font-size:20px;line-height:1.1}.home-indicator b{font-size:10px;font-weight:500}.home-indicator small{font-size:9px;line-height:1.3}
@media(min-width:1750px){.home-card table,.home-card td{font-size:12px}.home-card th{font-size:11px}.home-card td small{font-size:10px}.home-card td .home-link{font-size:12px}.home-institution h2{font-size:27px}.home-welcome h1{font-size:32px}.home-card-header h2{font-size:16px}.home-kpi-text>b{font-size:13px}.home-kpi-text>small{font-size:11px}.home-kpi-icon{width:64px;height:64px}}
@media(max-width:1350px){.system-heading>strong{font-size:13px}.system-heading>span:not(.sr-only){font-size:9px}.top-right{gap:9px}.account-text{display:none}.home-welcome h1{font-size:24px}.home-welcome-copy>p{font-size:12px}.home-welcome-motto{font-size:18px}.home-institution{gap:15px;padding:15px}.home-institution blockquote{display:none}.home-kpi{gap:8px;padding:9px 7px}.home-kpi-icon{min-width:40px;height:48px}.home-kpi-icon svg{width:26px}.home-kpi-text>strong{font-size:24px}.home-kpi-text>b{font-size:10px}.home-kpi-text>small{font-size:8px}.home-card{padding:9px}.home-card-header h2{font-size:12px}.home-overview-row .home-card td{font-size:11px}.home-indicator{gap:7px;padding:10px 7px}.home-indicator-icon svg{width:22px}}
@media(max-width:1050px){.home-overview-row{grid-template-columns:1fr}.sidebar{width:205px}.workspace{margin-left:205px}.topbar{padding:0 15px;gap:10px}.content{padding:16px}.system-heading>span:not(.sr-only){display:none}.system-heading>strong{max-width:250px}.home-scope{flex-wrap:wrap;justify-content:flex-start;gap:8px}.home-scope>label{width:100%;margin:0}.home-welcome-motto{display:none}.home-welcome-copy{max-width:100%}.home-welcome{padding:20px}.home-institution-facts{grid-template-columns:1fr 1.4fr}.home-institution-facts>div:last-child{grid-column:1/-1}.home-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.home-kpi:nth-child(n+4){grid-column:span 1}.home-services-row{grid-template-columns:1fr}.home-indicators>div{grid-template-columns:repeat(3,minmax(0,1fr))}.home-welcome-actions{gap:20px}.workspace-footer{flex-direction:column;gap:5px;padding:0 16px 15px}}
@media(max-width:700px){.sidebar{width:232px}.workspace{margin-left:0}.sidebar.open{transform:none}.topbar{height:67px;padding:0 10px;gap:6px}.system-heading>strong{font-size:11px;max-width:145px}.top-right{gap:4px}.year-control{padding:6px 4px;gap:3px}.year-control>span,.year-control>svg,.top-right>.header-icon[data-act="app-ugel"]{display:none}.avatar{width:29px;height:29px;font-size:10px}.header-icon svg{width:19px}.account{margin:0 2px}.year-pill{font-size:11px;padding:0;max-width:63px}.home-scope select{max-width:none;width:100%;flex:1}.home-scope>label{align-items:flex-start;flex-direction:column}.home-scope>span{font-size:9px}.content{padding:12px}.home-welcome{min-height:176px;padding:19px}.home-welcome h1{font-size:22px}.home-welcome-copy>p{font-size:12px}.home-welcome-actions{gap:13px;flex-wrap:wrap}.home-welcome-actions .home-link{font-size:10px;gap:5px}.home-welcome-actions svg{width:17px}.home-institution{padding:13px;align-items:flex-start;gap:10px}.home-school-mark{flex-basis:58px;width:58px;min-height:76px;padding:9px 2px 12px}.home-school-mark svg{width:29px;height:29px}.home-school-mark strong{font-size:10px}.home-school-mark span{display:none}.home-institution h2{font-size:17px;line-height:1.3}.home-institution-top{align-items:flex-start;flex-direction:column;gap:6px}.home-eyebrow{font-size:8px}.home-institution-status{font-size:8px;padding:3px 5px}.home-institution-status svg{width:12px;height:12px}.home-location{font-size:10px;line-height:1.4}.home-institution-facts{grid-template-columns:1fr;gap:9px}.home-institution-facts>div{border:0;padding:0}.home-institution-facts>div:last-child{grid-column:auto}.home-institution-facts svg{width:18px;height:18px}.home-institution-facts strong{font-size:10px}.home-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-kpi:last-child{grid-column:1/-1}.home-kpi-text>b{font-size:11px}.home-kpi-text>small{font-size:9px}.home-kpi{min-height:82px}.home-card-header h2{font-size:12px}.home-card .table-scroll{overflow-x:auto}.home-overview-row table{min-width:575px}.home-overview-row .home-card:last-child table{min-width:500px}.home-services-row table{min-width:600px}.home-indicators>div{grid-template-columns:repeat(2,minmax(0,1fr))}.home-indicator:last-child{grid-column:1/-1}.home-card-header>.home-link{font-size:9px}.home-indicator{min-height:80px}.home-chart{height:165px}.sidebar-collapsed .sidebar.open{transform:none}}
@media print{.workspace-footer,.home-scope,.mobile-menu{display:none!important}.workspace,.sidebar-collapsed .workspace{margin:0}.home-dashboard .home-welcome{background:#084fa3!important}.home-welcome-actions{display:none}.home-card,.home-institution,.home-kpis,.home-indicators{break-inside:avoid}.home-dashboard *{-webkit-print-color-adjust:exact;print-color-adjust:exact}.home-overview-row{grid-template-columns:1fr}.home-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Shared institutional heading for all application modals. */
#modal{--dialog-heading-text:#fff;--dialog-heading-muted:#d8eaff}
#modal>.dialog-head{color:var(--dialog-heading-text);background:linear-gradient(115deg,#123b63 0%,#174f86 60%,#1967aa 100%);border-bottom:3px solid #62b4f5;box-shadow:0 3px 12px #123b6320}
#modal>.dialog-head h2{color:var(--dialog-heading-text);font-weight:700;line-height:1.3}
#modal>.dialog-head>.icon-btn{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid #ffffff60;border-radius:9px;background:#ffffff14;color:#fff;font-size:23px;line-height:1;transition:background .15s,border-color .15s}
#modal>.dialog-head>.icon-btn:hover{background:#ffffff2e;border-color:#ffffffa8}
#modal>.dialog-head>.icon-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* Personnel lookup inside the user registration form. */
.user-teacher-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.user-teacher-toolbar strong{color:#123b63;font-size:14px}
.user-teacher-toolbar p{margin:5px 0 0;font-size:12px;color:#5d7596;line-height:1.5}
.user-teacher-toolbar>.btn{flex-shrink:0;color:#075dbb;border-color:#bed8f6;background:#f0f7ff}
.user-teacher-panel{border:1px solid #cfe0f4;border-radius:10px;background:#f5f9ff;padding:16px;margin-bottom:20px}
.user-teacher-panel[hidden],.user-teacher-selected[hidden]{display:none}
.user-teacher-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.user-teacher-institution,.user-teacher-search{grid-column:1/-1}
.user-teacher-filters .field{margin:0;min-width:0}
.user-teacher-filters input,.user-teacher-filters select{width:100%}
.user-teacher-results{max-height:280px;overflow:auto;overscroll-behavior:contain;margin-top:10px}
.user-teacher-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:white;border:1px solid #dde7f3;border-radius:7px;margin-bottom:8px}
.user-teacher-result>div{min-width:0}
.user-teacher-result strong{display:block;font-size:12px;line-height:1.5;color:#123b63;overflow-wrap:anywhere}
.user-teacher-result span{display:block;font-size:11px;line-height:1.6;color:#5d7596;overflow-wrap:anywhere}
.user-teacher-result>.btn{flex-shrink:0}
.user-teacher-more{width:100%}
.user-teacher-selected{padding:13px 15px;margin-bottom:20px;border:1px solid #bcd9ef;border-radius:8px;background:#edf7ff;color:#214b73}
.user-teacher-selected strong,.user-teacher-selected span{display:block;line-height:1.6;font-size:12px;overflow-wrap:anywhere}
.user-teacher-selected p{font-size:12px;margin:7px 0 0}
@media(max-width:600px){.user-teacher-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.user-teacher-toolbar>.btn{width:100%}.user-teacher-panel{padding:12px}.user-teacher-result{align-items:flex-start;flex-direction:column}.user-teacher-result>.btn{align-self:flex-end}}

/* Tablas académicas: misma jerarquía y cuadrícula que la nómina de matrícula. */
.academic-table-card{border:1px solid #b9cce0;border-radius:12px;box-shadow:0 4px 16px #163b6010}
.academic-table-card .card-head{padding:22px 23px;background:#fff}
.academic-table-card .card-head>.small{color:#527191;font-weight:600}
.academic-table-card .search{border:1px solid #c5d4e5;border-radius:8px;background:#fff}
.academic-table-card .table-scroll{border-top:1px solid #173e65}
.academic-table-card table{min-width:760px}
.academic-table-card thead,.academic-table-card th{background:#1d456e}
.academic-table-card th{font-family:Arial,"Segoe UI",sans-serif;font-size:11px;font-weight:700;letter-spacing:.8px;color:#fff;padding:16px 23px;border-top:0;border-bottom:3px solid #4a9fe9;border-right:1px solid #527394}
.academic-table-card th:last-child{border-right:0}
.academic-table-card td{padding:18px 23px;border-bottom:1px solid #c5d4e5;border-right:1px solid #cbd9e8;color:#294968;font-size:12px;line-height:1.5}
.academic-table-card td:last-child{border-right:0}
.academic-table-card td strong{color:#1c3b60;font-weight:700}
.academic-table-card tbody tr:nth-child(odd){background:#fff}
.academic-table-card tbody tr:nth-child(even){background:#f1f6fc}
.academic-table-card tbody tr:last-child td{border-bottom:0}
.academic-table-card tbody tr:hover,.academic-table-card tbody tr:focus-within{background:#e3effc}
.academic-table-card tbody tr:hover td:first-child,.academic-table-card tbody tr:focus-within td:first-child{box-shadow:inset 3px 0 #2d80ca}
@media(max-width:600px){.academic-table-card .card-head{align-items:stretch;flex-direction:column;gap:14px;padding:18px 16px}.academic-table-card .search{width:100%;max-width:none}.academic-table-card th,.academic-table-card td{padding-inline:17px}}

.academic-table-card td small{color:#637c96;font-size:11px;line-height:1.5;margin-top:5px}
.academic-table-card .section-actions{min-width:220px;max-width:320px;white-space:normal}
.academic-table-card .section-delete-reason{display:block;max-width:300px}
.academic-table-card .section-delete{color:#a32532;border-color:#e6bcc2;background:#fff8f8}
.academic-table-card .section-delete:hover{color:#811b25;background:#fce8ea;border-color:#cb7782}
.assignments-table-card table{min-width:900px}
.assignments-table-card td:first-child{min-width:190px}
.assignments-table-card td:nth-child(4){white-space:nowrap}
.assignments-table-card th:last-child,.assignments-table-card td:last-child{text-align:right;white-space:nowrap}
.assignments-table-card td:last-child .btn{border-color:#b9cfe5;background:#fff;color:#245b92;border-radius:6px}
.assignments-table-card td:last-child .btn:hover{background:#eaf3fe;border-color:#7caddc}

.nav-item[data-secondary-only][hidden]{display:none!important}
