/* Idiova Academy v10.11 – compact responsive header, no changes to billing */
.site-header{height:70px;}
.site-header .header-inner{width:min(1280px,calc(100% - 40px));gap:13px;justify-content:flex-start;flex-wrap:nowrap;}
.site-header .header-inner>.brand{min-width:0;flex:0 0 auto;gap:7px;margin:0;order:0;}
.site-header .brand-emblem{width:42px;height:42px;border-radius:12px;box-shadow:0 3px 9px #12313c16;}
.site-header .brand-lettering strong{font-size:22px;line-height:1;}
.site-header .brand-lettering small{font-size:7px;letter-spacing:.15em;margin-top:5px;}
.site-header .header-inner>.lsl-lang-box{order:2;flex:0 0 auto;margin-left:auto;min-width:0;gap:0;}
.site-header .lsl-lang-box label{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;}
.site-header .lsl-lang-box .lsl-lang-select{width:54px;max-width:54px;padding:7px 4px;font-size:11px;font-weight:800;line-height:1.2;min-height:34px;border-radius:9px;text-align:center;}
.site-header .header-auth-actions{order:3;display:flex;gap:7px;align-items:center;flex:0 0 auto;white-space:nowrap;}
.site-header .header-auth-actions a{font:800 12px/1.1 'DM Sans',system-ui,sans-serif;display:inline-flex;justify-content:center;align-items:center;min-height:36px;padding:9px 12px;border-radius:10px;transition:background .18s,border-color .18s;}
.site-header .auth-signin{color:#17333b;border:1px solid #d5ded9;background:#fff;}
.site-header .auth-signin:hover{background:#f0f4f1;}
.site-header .auth-signup{color:white;border:1px solid #163f49;background:#123540;}
.site-header .auth-signup:hover{background:#23515c;}
.site-header .menu-toggle{display:flex!important;order:4;flex:0 0 39px;width:39px;height:39px;margin:0;border-radius:11px;gap:0;}
.site-header .menu-toggle>.menu-dots{display:block;position:static;width:auto;height:auto;background:none;border:0;color:#1e3941;font-family:system-ui,sans-serif;font-size:26px;font-weight:800;line-height:1;letter-spacing:0;}
.site-header .header-inner>.nav-links{display:none;position:absolute;left:auto;right:max(20px,calc((100vw - 1280px)/2 + 20px));top:70px;width:min(330px,calc(100vw - 24px));max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;z-index:103;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:10px 15px;background:#fffefa;border:1px solid #e3e9e4;border-radius:0 0 16px 16px;box-shadow:0 18px 35px #12343d28;}
.site-header .header-inner>.nav-links.open{display:flex;}
.site-header .header-inner>.nav-links a{display:block;color:#203a42;font-size:13px;padding:11px 8px;white-space:normal;border-bottom:1px solid #eaf0eb;}
.site-header .header-inner>.nav-links a:last-child{border:0;}
.site-header .header-inner>.nav-links .mobile-student-link{display:block;}
.site-header .header-inner>.nav-links a:hover{color:#855c2f;background:#fbf5eb;border-radius:7px;}
@media(max-width:650px){
 .site-header{height:60px!important;}
 .site-header .header-inner{width:calc(100% - 22px);gap:6px;}
 .site-header .header-inner>.brand{gap:5px;flex:0 1 auto;}
 .site-header .brand-emblem{width:30px;height:30px;border-radius:8px;flex:0 0 30px;}
 .site-header .brand-lettering strong{font-size:16px;letter-spacing:-.09em;}
 .site-header .brand-lettering small{font-size:5px;letter-spacing:.08em;margin-top:4px;}
 .site-header .header-inner>.lsl-lang-box{margin-left:auto;}
 .site-header .lsl-lang-box .lsl-lang-select{width:48px;max-width:48px;min-height:32px;font-size:10px;padding:4px 2px;}
 .site-header .header-auth-actions{gap:4px;}
 .site-header .header-auth-actions a{min-height:32px;font-size:10px;padding:7px 7px;border-radius:8px;}
 .site-header .menu-toggle{flex:0 0 32px!important;width:32px!important;height:34px!important;padding:0;border-radius:9px;}
 .site-header .menu-toggle>.menu-dots{font-size:24px;}
 .site-header .header-inner>.nav-links{top:60px;right:11px;width:min(310px,calc(100vw - 22px));padding:8px 12px;}
}
@media(max-width:365px){
 .site-header .brand-lettering small{display:none;}
 .site-header .brand-lettering strong{font-size:15px;}
 .site-header .brand-emblem{width:28px;height:28px;flex-basis:28px;}
 .site-header .header-inner{gap:4px;width:calc(100% - 16px);}
 .site-header .header-auth-actions{gap:3px;}
 .site-header .header-auth-actions a{padding:7px 5px;font-size:9.6px;}
 .site-header .menu-toggle{flex-basis:30px!important;width:30px!important;}
}

/* v10.12 — director action visible exclusively after authenticated server authorization */
.site-header .header-inner>.nav-links .director-menu-link[hidden]{display:none!important;}
.site-header .header-inner>.nav-links .director-menu-link:not([hidden]){
 display:flex;align-items:center;gap:9px;margin-bottom:7px;padding:12px 11px;
 border:1px solid #d6e5d9;border-radius:10px;background:#eef7f0;
 color:#143b35;font-weight:800;
}
.site-header .header-inner>.nav-links .director-menu-link:not([hidden])::before{
 content:'◆';color:#418778;font-size:11px;line-height:1;
}
.site-header .header-inner>.nav-links .director-menu-link:not([hidden]):focus-visible{
 outline:2px solid #2c8978;outline-offset:2px;
}
