:root{--bs-primary:#256b82;--bs-primary-rgb:37,107,130}body{background:#f3f6f9;color:#253b4a;min-height:100vh}.site-header{background:#fff;border-top:4px solid #256b82;border-bottom:1px solid #e3eaf0}.brand{display:flex;align-items:center;gap:12px;color:#203b4d;font-size:23px;font-weight:700;text-decoration:none}.brand small{display:block;font-size:9px;letter-spacing:1.5px;color:#718392;margin-top:3px}.brand-icon{width:43px;height:43px;border-radius:12px;background:#e5f2f6;display:grid;place-items:center;color:#256b82;font-size:28px}.site-nav{background:#fff;border-bottom:1px solid #e3eaf0}.eyebrow{font-size:10px;letter-spacing:2px;color:#748797;font-weight:700}.card{border:1px solid #e2e9ef;border-radius:12px;box-shadow:0 4px 18px #213f5410}.btn-primary{background:#256b82;border-color:#256b82}.btn-primary:hover{background:#1e5668;border-color:#1e5668}.login-card{max-width:450px;margin:3rem auto}.table th{font-size:12px;color:#607887}.stat{font-size:30px;font-weight:700}.table td{vertical-align:middle}.form-label{font-weight:600}footer{border-top:1px solid #e0e8ee}
.result-year>summary{cursor:pointer;list-style:none}.result-year>summary::-webkit-details-marker{display:none}.result-year>summary .mdi-chevron-down{display:inline-block;transition:transform .15s}.result-year:not([open])>summary .mdi-chevron-down{transform:rotate(-90deg)}.result-year>summary:focus-visible{outline:2px solid #256b82;outline-offset:2px}

/* Narrow-screen layout: keep wide data tables inside their own scroll region. */
.header-inner,.brand,.header-account,main .card,main .card-body{min-width:0}
.brand-icon{flex-shrink:0}.brand>span:last-child{min-width:0}.brand small,.account-name{overflow-wrap:anywhere}
.mobile-navigation,.mobile-table-hint{display:none}
.table-responsive{max-width:100%;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.table-responsive:focus-visible{outline:2px solid #256b82;outline-offset:2px}
.result-exam .table{min-width:650px}.result-exam .table th:first-child{min-width:175px}
.result-exam h3,.result-year>summary>span,.privacy-document{overflow-wrap:anywhere;min-width:0}
@media(max-width:767.98px){
 .header-inner{flex-wrap:wrap;gap:.75rem!important}.header-account{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;text-align:left!important}
 .account-name{flex:1}.header-account form{flex-shrink:0;margin-left:0!important}.brand{font-size:21px;max-width:100%}.brand small{font-size:8px;letter-spacing:.6px;line-height:1.5}.brand-icon{width:40px;height:40px}
 .site-nav .desktop-navigation{display:none!important}.mobile-navigation{display:block}.mobile-navigation summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:.5rem .25rem;font-weight:600;cursor:pointer;list-style:none}.mobile-navigation summary::-webkit-details-marker{display:none}
 .mobile-navigation-links{display:grid;gap:.5rem}.mobile-navigation-links a{justify-content:flex-start}.mobile-navigation[open]>summary>.mdi-chevron-down{transform:rotate(180deg)}
 .mobile-navigation summary:focus-visible{outline:2px solid #256b82;outline-offset:2px}.mobile-table-hint{display:block}
 .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}.form-control,.form-select{font-size:16px;min-height:44px}.form-check{min-height:44px;padding-top:.4rem}.form-check-input{width:1.25rem;height:1.25rem}.form-check-label{padding-left:.25rem}
 .login-card{margin:1rem auto}.login-card>.card-body{padding:1.5rem!important}main.container-xl{padding-top:1.25rem!important;padding-bottom:1.25rem!important}main h1{font-size:1.35rem}.result-year>summary{padding:1rem}.result-year>.px-3{padding-right:.65rem!important;padding-left:.65rem!important}.result-exam h3{font-size:1rem}
}
@media(prefers-reduced-motion:reduce){.result-year>summary .mdi-chevron-down{transition:none}}
/* Database-driven module > menu > REQ navigation; native details supports touch and keyboard. */
.desktop-navigation{align-items:flex-start}.navigation-module{min-width:180px;max-width:320px;flex:1}.navigation-module>summary{cursor:pointer;min-height:44px;padding:10px;font-weight:600;border-radius:6px}.navigation-module[open]>summary{background:#e5f2f6}.menu-branches{list-style:none;padding:0 0 0 12px;margin:0}.menu-group>summary{cursor:pointer;min-height:44px;padding:10px 6px;font-weight:600}.menu-link{display:block;padding:10px 12px;min-height:44px;border-radius:6px;color:#253b4a;text-decoration:none;overflow-wrap:anywhere}.menu-link:hover,.menu-link.active{background:#e5f2f6;color:#1e5668}.menu-link.active{font-weight:700}.navigation-module summary:focus-visible,.menu-group summary:focus-visible,.menu-link:focus-visible{outline:2px solid #256b82;outline-offset:2px}.mobile-navigation-links .navigation-module{max-width:none;width:100%}
/* One dropdown level: the panel floats over content rather than expanding the header. */
.desktop-navigation{align-items:center}.navigation-direct{font-weight:600;white-space:nowrap}.navigation-module{position:relative;flex:0 0 auto;min-width:0;max-width:none}.navigation-module>summary{white-space:nowrap}.navigation-module>summary.active{color:#1e5668;background:#e5f2f6}.desktop-navigation .navigation-module>.menu-branches{position:absolute;top:100%;left:0;z-index:1050;min-width:230px;max-width:calc(100vw - 32px);padding:8px;background:#fff;border:1px solid #e2e9ef;border-radius:8px;box-shadow:0 8px 24px #213f5420}.mobile-navigation-links .navigation-module>.menu-branches{position:static;padding:4px 0 4px 12px}.mobile-navigation-links .navigation-module{width:100%}
/* Emphasize result headings, department names and the final exam score. */
.result-exam header h3,.result-exam .table thead th,.result-exam .table tbody td:first-child,.result-exam .table tfoot th{font-weight:700;color:#253b4a}
.result-exam .table tfoot th{font-size:18px}

.result-exam header .text-primary{font-size:18px;line-height:1.5}
.result-exam header h3{font-size:20px;line-height:1.4}
.result-student-name{font-size:26px;font-weight:700;line-height:1.4}
.result-year>summary>span:first-child{font-size:20px;font-weight:700;line-height:1.4}