/* Shared header: adapt to available space without collisions. */
@media screen{
.topbar{height:auto;min-height:76px;flex-wrap:wrap;align-items:center;gap:10px 14px;padding-top:8px;padding-bottom:8px;box-sizing:border-box}
.topbar .topbar-left{flex:0 1 auto;min-width:0;max-width:100%}
.topbar .breadcrumb{min-width:0;flex-wrap:wrap}
.topbar #breadcrumb-current{white-space:normal;overflow-wrap:break-word}
.topbar .topbar-school-identity{position:static;flex:1 1 290px;min-width:0;max-width:100%;padding-left:0;gap:10px;box-sizing:border-box;justify-content:flex-start}
.topbar .topbar-school-logo{flex-shrink:0}
.topbar .topbar-school-identity .topbar-school-name{min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word;text-align:left;font-size:clamp(14px,1.4vw,18px);line-height:1.25}
.topbar .topbar-right{flex:0 1 auto;min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.topbar .topbar-right>*{flex-shrink:0}
@media(max-width:1200px){
.topbar{min-height:62px;padding-top:8px;padding-bottom:8px}
.topbar .topbar-left{flex:0 1 auto;max-width:45%}
.topbar .topbar-school-identity{flex:1 1 230px}
.topbar .topbar-right{flex:1 1 100%;width:100%;justify-content:flex-end}
.topbar .breadcrumb{font-size:12px}
}
@media(max-width:480px){
.topbar{gap:7px 10px}
.topbar .topbar-school-identity{flex-basis:190px;gap:6px}
.topbar .topbar-school-logo{width:44px;height:34px;flex-basis:44px}
.topbar .topbar-school-identity .topbar-school-name{font-size:14px}
.topbar .topbar-right{gap:6px}
.topbar .topbar-right .button{padding-left:7px;padding-right:7px}
}
}
