/* 导航设计稿：仅调整系统头部，保留现有操作入口。 */
:root{--header-height:56px}
.topbar{background:#2d61eb url('assets/header-design-background.svg') center/100% 100% no-repeat;border-bottom:0;color:#fff}
.topbar .brand,.is-collapsed .topbar .brand{flex:0 0 auto;gap:10px;padding:0 20px 0 24px}
.topbar .brand-mark{width:32px;height:36px;object-fit:contain;border-radius:0;background:transparent}
body .topbar .brand strong,body .is-collapsed .topbar .brand strong{font-size:20px;font-weight:700;font-style:italic;letter-spacing:.03em;text-shadow:none;white-space:nowrap}
.topbar-content{justify-content:space-between;gap:8px;border-left:0;padding:0 22px 0 0}
.topbar .header-tools{margin-left:auto;gap:16px;min-width:0}
.topbar .header-building{border:0;border-left:1px solid #e8edfb4d;padding:0 0 0 16px;color:#fff;white-space:nowrap}
.topbar .header-building .ui-icon{color:#fff}
.header-mode{gap:4px}
.header-mode-button{min-height:34px;padding:6px 9px;border:0;border-radius:4px;background:transparent;color:#fff;font-size:14px;font-weight:400}
.header-mode-button .ui-icon{width:16px;height:16px}
.header-mode-button:hover:not(:disabled),.header-mode-button.active,.header-mode-button.active:hover{background:#ffffff24;color:#fff;border-color:transparent}
.topbar .header-message{min-width:32px;padding:5px;color:#fff}
.message-dot{top:3px;right:3px;bottom:auto;background:#ef5615;border:0}
.topbar .account{display:flex;align-items:center;gap:8px;min-height:36px;color:#fff}
.topbar .avatar{display:block;width:28px;height:28px;border-radius:50%;background:transparent;object-fit:cover}
.header-account-name{font-size:14px;white-space:nowrap}
.topbar .account>.ui-icon{width:16px;height:16px;color:#fff}
.topbar .account:focus-within{outline:2px solid #fff;outline-offset:2px;border-radius:3px}
@media(max-width:1100px){.topbar .header-tools{gap:8px}.topbar .brand,.is-collapsed .topbar .brand{padding-left:14px;padding-right:10px}.topbar-content{padding-right:10px}}
@media(max-width:800px){.topbar .header-building{display:none}.header-mode-button{gap:4px;padding:6px}.header-account-name{display:none}}
@media(max-width:640px){:root{--header-height:56px}.topbar .brand,.is-collapsed .topbar .brand{gap:6px;padding-left:8px;padding-right:4px}.topbar .brand-mark{width:26px;height:30px}body .topbar .brand strong,body .is-collapsed .topbar .brand strong{font-size:14px;letter-spacing:0}.topbar-content{padding-right:6px}.topbar .header-tools{gap:2px}.topbar .avatar{width:24px;height:24px}.topbar .account{gap:3px}.topbar .account>.ui-icon{width:13px;height:13px}.header-mode-button{min-height:32px;font-size:12px}}
@media(max-width:480px){.header-mode-button span{display:none}.header-mode-button .ui-icon{width:17px;height:17px}.topbar .header-message{min-width:28px}.topbar .mobile-menu-toggle{min-width:28px;padding:4px}}
@media(max-width:380px){body .topbar .brand strong,body .is-collapsed .topbar .brand strong{font-size:12px}.topbar .brand-mark{width:24px;height:28px}.header-mode-button{padding:4px}.topbar .account>.ui-icon{display:none}}

/* 综合大屏入口与设计稿大屏画面。 */
.header-dashboard-entry{display:inline-flex;align-items:center;justify-content:center;width:128px;height:32px;min-height:0;padding:0;border:0;border-radius:4px;background:transparent}
.header-dashboard-entry img{display:block;width:128px;height:32px;object-fit:contain}
.header-dashboard-entry:hover:not(:disabled){background:#ffffff20}
.header-dashboard-entry:focus-visible{outline:2px solid #fff;outline-offset:2px}
.dashboard-reference{display:flex;align-items:center;justify-content:center;width:100%;height:100dvh;overflow:hidden;background:#071622}
.dashboard-reference-frame{position:relative;width:min(100vw,177.777778dvh);aspect-ratio:16/9;flex:none}
.dashboard-reference-frame>img{display:block;width:100%;height:100%;object-fit:contain}
.dashboard-manage{position:absolute;left:85.9%;top:1.35%;width:4.5%;height:4.3%;min-height:0;padding:0;border:0;border-radius:4px;background:transparent;color:#fff}
.dashboard-manage>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.dashboard-manage:hover:not(:disabled){background:#ffffff20;color:#fff}
.dashboard-manage:focus-visible{outline:2px solid #9ae9ff;outline-offset:2px}
.dashboard-manage:disabled{background:transparent;cursor:default}
@media(max-width:700px){.dashboard-manage{top:1%;left:auto;right:1%;width:auto;height:auto;min-width:60px;min-height:32px;padding:4px 10px;background:#14527adf;border:1px solid #8cc7e2}.dashboard-manage>span{position:static;width:auto;height:auto;overflow:visible;clip:auto}.header-dashboard-entry,.header-dashboard-entry img{width:112px}}
