/* Shared public-page header (home/teachers/auth). Self-contained — no dependency on
   per-page variables, .wrap or .btn, so it looks identical on every page. */
.sh-nav{background:#f2f5fced;position:sticky;top:0;z-index:20;border-bottom:1px solid #dce5f470;backdrop-filter:blur(10px)}
.sh-inner{max-width:1230px;margin:auto;padding:0 40px;height:84px;display:flex;align-items:center;justify-content:flex-start;gap:26px;width:100%}
.sh-brand{display:flex;align-items:center;flex-shrink:0}
.sh-brand img{display:block;width:158px;height:auto;object-fit:contain}
.sh-links{display:flex;gap:30px;font-size:15px;font-weight:500}
.sh-links a{color:#142e52;white-space:nowrap}
.sh-links a:hover{color:#2054aa}
.sh-end{display:flex;align-items:center;gap:22px;font-size:14px;margin-inline-start:auto}
.sh-login{white-space:nowrap;color:#142e52;font-weight:600}
.sh-login:hover{color:#2054aa}
.sh-register{display:inline-flex;align-items:center;gap:8px;background:#f28a38;color:#142e52;padding:11px 19px;border-radius:10px;font-weight:700;white-space:nowrap}
.sh-register:hover{background:#ffa55f;transform:none}
.sh-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #DCE9FE;border-radius:10px;background:#fff;color:#0250CA;flex-shrink:0}
.sh-toggle:hover{background:#F0F5FF}
#sh-mobile-panel{display:none}
#sh-mobile-panel:not([hidden]){display:grid;max-height:70vh;overflow:auto;padding:8px 20px 16px;background:#fff;border-bottom:1px solid #E0E5ED}
#sh-mobile-panel a{display:block;padding:12px 10px;border-bottom:1px solid #EFF4FC;font-size:16px;color:#001653}
#sh-mobile-panel a:hover{background:#F0F5FF}
@media(max-width:980px){.sh-links,.sh-login,.sh-register{display:none}.sh-toggle{display:flex}.sh-inner{height:68px;padding:0 18px;gap:12px}.sh-brand img{width:120px}}
