/* 仅作用于现有页头内的品牌，不改变页头、导航、业务区或考场结构。 */
.topbar .brand{gap:12px;max-width:100%;isolation:isolate}
.topbar .brand .brand-mark{width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:0 5px 12px #1769b21c}
.topbar .brand .brand-emblem{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 0 #ffffffb3);transition:filter .2s ease}
.topbar .brand .brand-copy{gap:2px;min-width:0}
.topbar .brand .brand-title{font-size:22px;line-height:1.18;font-weight:800;letter-spacing:-.025em;color:#153452;text-shadow:0 1px 0 #fff;white-space:nowrap}
.topbar .brand .brand-ai{display:inline-block;margin-right:.08em;font-weight:850;letter-spacing:-.055em;color:#2563eb;background:linear-gradient(125deg,#2254dc 8%,#1482cf 60%,#078c9d);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
.topbar .brand .subsystem-badge{gap:7px;padding:0;margin:0;background:none;border:0;border-radius:0;font-size:11px;line-height:1.25;font-weight:500;letter-spacing:.09em;color:#526d8c;white-space:normal}
.topbar .brand .subsystem-badge::before{content:"";flex:0 0 15px;width:15px;height:3px;border-radius:3px;background:linear-gradient(90deg,#2563eb,#06b6d4);box-shadow:4px 0 8px #06b6d422}
.login-page .topbar .brand .brand-title{font-size:24px}
.topbar .brand:hover .brand-emblem,.topbar .brand:focus-visible .brand-emblem{filter:drop-shadow(0 2px 6px #128acb40)}
@media(min-width:701px) and (max-width:1279px){
 .topbar .brand .brand-title{font-size:20px}
 .topbar .brand .brand-mark{width:40px;height:40px;flex-basis:40px}
}
@media(min-width:701px) and (max-width:1050px){.topbar .brand .brand-title{font-size:19px;white-space:normal}}
@media(max-width:700px){
 .topbar .brand{gap:10px}
 .topbar .brand .brand-mark{width:38px;height:38px;flex-basis:38px;border-radius:10px}
 .topbar .brand .brand-title,.login-page .topbar .brand .brand-title{font-size:18px;line-height:1.35;letter-spacing:-.02em;white-space:normal;overflow-wrap:anywhere}
 .topbar .brand .brand-copy{gap:3px}
 .topbar .brand .subsystem-badge{font-size:10.5px;letter-spacing:.04em;line-height:1.4}
}
@media(prefers-reduced-motion:reduce){.topbar .brand .brand-emblem{transition:none}}
@media(forced-colors:active){.topbar .brand .brand-ai{background:none;-webkit-text-fill-color:currentColor;color:LinkText}.topbar .brand .subsystem-badge::before{background:CanvasText;box-shadow:none}}
@media print{.topbar .brand .brand-ai{background:none;-webkit-text-fill-color:#153452}.topbar .brand .brand-emblem{filter:none}}

/* 新质品牌：中文双字前缀，保持现有页头高度与操作区域。 */
.topbar .brand .brand-prefix{margin-right:0;letter-spacing:0;font-weight:800}
.topbar .brand .subsystem-badge{font-family:"Songti SC","STSong","Noto Serif CJK SC",serif;letter-spacing:.14em}
@media(max-width:700px){.topbar .brand .subsystem-badge{letter-spacing:.09em}}
