.ecc-page .ecc-header-context{display:flex;align-items:center;gap:12px;margin-bottom:0}
.ecc-page .ecc-header-context .ecc-crumb{margin:0}
.ecc-page .ecc-header-context #eccBack{min-height:32px;padding:5px 10px;font-size:12px;white-space:nowrap}
.ecc-page .ecc-header-actions .ecc-header-edit{min-height:40px;padding:9px 16px;white-space:nowrap}
@media(max-width:600px){.ecc-page .ecc-header-context{flex-wrap:wrap;gap:7px}.ecc-page .ecc-header-actions .ecc-header-edit{width:100%}}
body:has(.ecc-page) .sidebar{position:sticky;height:100vh;padding:68px 8px 14px}
body:has(.ecc-page) .sidebar .brand{position:absolute;top:0;left:0;right:0;box-sizing:border-box;height:68px;padding:8px 20px;background:#10498f;border-bottom:0;gap:10px}
body:has(.ecc-page) .sidebar .brand-name{font-size:0;color:#fff}
body:has(.ecc-page) .sidebar .brand-name:after{content:attr(data-event-org);font-size:15px}
body:has(.ecc-page) .sidebar .brand-sub{font-size:0;color:#c8d9ef}
body:has(.ecc-page) .sidebar .brand-sub:after{content:"会员服务与管理平台";font-size:11px}
body:has(.ecc-page) .sidebar .brand-logo{position:relative;width:34px;height:34px;border-radius:7px;background:#0873f9;color:transparent;box-shadow:none;font-size:0}
body:has(.ecc-page) .sidebar .brand-logo:after{background:#fff;box-shadow:7px -7px 0 -1px #fff,14px -2px 0 -1px #fff}
body:has(.ecc-page) .sidebar .brand-logo:after,body:has(.evl-page) .sidebar .brand-logo:after{box-sizing:border-box;left:9px;top:8px;bottom:auto;width:16px;height:18px;border:1px solid #fff;border-radius:2px;background:linear-gradient(#fff 0 0) 4px 4px/8px 1px no-repeat,linear-gradient(#fff 0 0) 4px 8px/8px 1px no-repeat,linear-gradient(#fff 0 0) 4px 12px/6px 1px no-repeat;box-shadow:none}
body:has(.ecc-page) .app,body:has(.evl-page) .app{background:#fff}
body:has(.ecc-page) .main:has(.ecc-page)>.content,body:has(.evl-page) .main:has(.evl-page)>.content{background:#fff}
body:has(.ecc-page) .sidebar .sidebar-foot{display:none}
body:has(.ecc-page) .main:has(.ecc-page)>.topbar .topbar-actions-toggle{display:flex;width:auto;min-width:190px;height:44px;gap:9px;padding:3px 8px;border:0;border-radius:8px;background:transparent;color:#1d4174;white-space:nowrap}
body:has(.ecc-page) .topbar-actions-toggle .topbar-menu-dots{display:none}
body:has(.ecc-page) .topbar-actions-toggle .topbar-account-avatar{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#e4f1ff;color:#0874e8;font-size:14px;font-weight:700}
body:has(.ecc-page) .topbar-actions-toggle .topbar-account-copy{display:grid;gap:2px;min-width:0;text-align:left;line-height:1.2}
body:has(.ecc-page) .topbar-actions-toggle .topbar-account-copy b{overflow:hidden;max-width:150px;color:#173f73;font-size:13px;text-overflow:ellipsis}
body:has(.ecc-page) .topbar-actions-toggle .topbar-account-copy small{overflow:hidden;max-width:150px;color:#6b82a2;font-size:11px;text-overflow:ellipsis}
body:has(.ecc-page) .topbar-actions-toggle .topbar-account-chevron{flex:none;color:#6b82a2}
@media(max-width:760px){body:has(.ecc-page) .main:has(.ecc-page)>.topbar .topbar-actions-toggle{width:44px;min-width:44px;padding:0;justify-content:center}body:has(.ecc-page) .topbar-actions-toggle .topbar-account-copy,body:has(.ecc-page) .topbar-actions-toggle .topbar-account-chevron{display:none}}
body:has(.evl-page) .sidebar{position:sticky;height:100vh;padding:68px 8px 14px}
body:has(.evl-page) .sidebar .brand{position:absolute;top:0;left:0;right:0;box-sizing:border-box;height:68px;padding:8px 20px;background:#10498f;border-bottom:0;gap:10px}
body:has(.evl-page) .sidebar .brand-name{font-size:0;color:#fff}
body:has(.evl-page) .sidebar .brand-name:after{content:attr(data-event-org);font-size:15px}
body:has(.evl-page) .sidebar .brand-sub{font-size:0;color:#c8d9ef}
body:has(.evl-page) .sidebar .brand-sub:after{content:"会员服务与管理平台";font-size:11px}
body:has(.evl-page) .sidebar .brand-logo{position:relative;width:34px;height:34px;border-radius:7px;background:#0873f9;color:transparent;box-shadow:none;font-size:0}
body:has(.evl-page) .main:has(.evl-page)>.topbar .topbar-actions-toggle{display:flex;width:auto;min-width:190px;height:44px;gap:9px;padding:3px 8px;border:0;border-radius:8px;background:transparent;color:#1d4174;white-space:nowrap}
body:has(.evl-page) .topbar-actions-toggle .topbar-menu-dots{display:none}
body:has(.evl-page) .topbar-actions-toggle .topbar-account-avatar{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#e4f1ff;color:#0874e8;font-size:14px;font-weight:700}
body:has(.evl-page) .topbar-actions-toggle .topbar-account-copy{display:grid;gap:2px;min-width:0;text-align:left;line-height:1.2}
body:has(.evl-page) .topbar-actions-toggle .topbar-account-copy b{overflow:hidden;max-width:150px;color:#173f73;font-size:13px;text-overflow:ellipsis}
body:has(.evl-page) .topbar-actions-toggle .topbar-account-copy small{overflow:hidden;max-width:150px;color:#6b82a2;font-size:11px;text-overflow:ellipsis}
body:has(.evl-page) .topbar-actions-toggle .topbar-account-chevron{flex:none;color:#6b82a2}
@media(max-width:760px){body:has(.evl-page) .main:has(.evl-page)>.topbar .topbar-actions-toggle{width:44px;min-width:44px;padding:0;justify-content:center}body:has(.evl-page) .topbar-actions-toggle .topbar-account-copy,body:has(.evl-page) .topbar-actions-toggle .topbar-account-chevron{display:none}}
.event-header-tools{display:none;align-items:center;gap:4px;margin-right:4px;color:#173f73}
body:has(.ecc-page) .event-header-tools,body:has(.evl-page) .event-header-tools{display:flex}
.event-header-tools[hidden]{display:none!important}
.event-header-tool-wrap{position:relative;display:flex;align-items:center}
.event-header-tool{position:relative;width:40px;min-width:40px;height:40px;padding:0;color:#174b96}
.event-header-tool[hidden]{display:none!important}
.event-header-tool:hover{background:#eef6ff;color:#0865ef}
.event-header-tool:focus-visible,.event-header-close:focus-visible,.event-notification-read:focus-visible{outline:2px solid #0865ef;outline-offset:2px}
.event-header-unread{position:absolute;top:7px;right:7px;min-width:8px;height:8px;padding:0 2px;border:1px solid #fff;border-radius:99px;background:#0865ef;color:#fff;font-size:9px;line-height:7px;text-align:center}
.event-header-unread:not([hidden]){min-width:16px;height:16px;line-height:14px;top:3px;right:2px}
.event-header-popover{position:fixed;top:60px;right:16px;z-index:300;width:min(360px,calc(100vw - 32px));max-height:min(70vh,560px);overflow:auto;border:1px solid #d6e5f8;border-radius:12px;background:#fff;box-shadow:0 14px 42px rgba(19,58,105,.2);color:#173f73}
.event-header-popover[hidden]{display:none}
.event-header-popover-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e5eef9}
.event-header-popover-head h2{margin:0;font-size:16px;color:#12376f}
.event-header-close{width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:#58759a;font-size:22px;cursor:pointer}
.event-header-close:hover{background:#eff6ff}
.event-header-empty{margin:0;padding:22px 16px;color:#7186a4;font-size:13px;text-align:center}
.event-notification-item{padding:12px 16px;border-bottom:1px solid #edf2f9}
.event-notification-item:last-child{border-bottom:0}
.event-notification-title{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#153c78;font-size:13px;font-weight:700}
.event-notification-item.is-unread .event-notification-title:before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:#0874e8}
.event-notification-time{flex:none;color:#8294ae;font-size:11px;font-weight:400}
.event-notification-body{margin:6px 0 0;color:#5e7697;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.event-notification-read{margin-top:8px;padding:3px 8px;border:1px solid #c9ddf8;border-radius:6px;background:#f6faff;color:#0874e8;font-size:11px;cursor:pointer}
.event-notification-read:hover{background:#eaf4ff}
.event-help-panel{padding-bottom:6px}
.event-help-panel p{margin:12px 16px;color:#536d8e;font-size:13px;line-height:1.65}
@media(max-width:600px){.event-header-tools{gap:0;margin-right:0}.event-header-tool{width:40px;min-width:40px;height:40px}.event-header-popover{top:60px;right:12px;width:calc(100vw - 24px);max-height:calc(100vh - 76px)}}
@media(max-width:760px){
  body:has(.ecc-page) #app>.sidebar,body:has(.evl-page) #app>.sidebar{display:flex!important;position:fixed;inset:0 auto auto 0;z-index:200;width:164px;height:52px;min-height:52px;max-width:none;padding:0;transform:none!important;overflow:visible;box-shadow:none}
  body:has(.ecc-page) #app>.sidebar .brand,body:has(.evl-page) #app>.sidebar .brand{left:0;right:auto;width:164px;height:52px;padding:6px 12px;background:#10498f;border:0;gap:7px}
  body:has(.ecc-page) #app>.sidebar .brand-logo,body:has(.evl-page) #app>.sidebar .brand-logo{flex:0 0 28px;width:28px;height:28px}
  body:has(.ecc-page) #app>.sidebar .brand-name:after,body:has(.evl-page) #app>.sidebar .brand-name:after{font-size:12px}
  body:has(.ecc-page) #app>.sidebar .brand-sub:after,body:has(.evl-page) #app>.sidebar .brand-sub:after{font-size:9px}
  body:has(.ecc-page) #app>.sidebar .nav,body:has(.ecc-page) #app>.sidebar .sidebar-foot,body:has(.evl-page) #app>.sidebar .nav,body:has(.evl-page) #app>.sidebar .sidebar-foot{display:none}
  body:has(.ecc-page) #app>.main>.topbar,body:has(.evl-page) #app>.main>.topbar{box-sizing:border-box;height:52px;min-height:52px;flex-wrap:nowrap;gap:8px;padding:0 10px 0 164px}
  body:has(.ecc-page) #app>.main>.topbar #pageTitle,body:has(.ecc-page) #app>.main>.topbar #pageCrumb,body:has(.ecc-page) #app>.main>.topbar .topbar-spacer,body:has(.evl-page) #app>.main>.topbar #pageTitle,body:has(.evl-page) #app>.main>.topbar #pageCrumb,body:has(.evl-page) #app>.main>.topbar .topbar-spacer{display:none}
  body:has(.ecc-page) #app>.main>.topbar .nav-toggle,body:has(.evl-page) #app>.main>.topbar .nav-toggle{flex:0 0 40px;width:40px;height:40px;margin:0;padding:0}
  body.sidebar-open:has(.ecc-page) #app>.sidebar,body.sidebar-open:has(.evl-page) #app>.sidebar{inset:0 auto 0 0;width:264px;height:100vh;max-width:84vw;padding:68px 8px 14px;transform:none!important;box-shadow:var(--ui-shadow-hover,var(--site-shadow))}
  body.sidebar-open:has(.ecc-page) #app>.sidebar .brand,body.sidebar-open:has(.evl-page) #app>.sidebar .brand{width:100%;height:68px;padding:8px 16px}
  body.sidebar-open:has(.ecc-page) #app>.sidebar .brand-logo,body.sidebar-open:has(.evl-page) #app>.sidebar .brand-logo{flex-basis:34px;width:34px;height:34px}
  body.sidebar-open:has(.ecc-page) #app>.sidebar .nav,body.sidebar-open:has(.evl-page) #app>.sidebar .nav{display:block}
}

/* Keep event routes on the standard mobile drawer instead of a mini event-only sidebar. */
@media(max-width:760px){
  body:has(.ecc-page) #app>.sidebar,body:has(.evl-page) #app>.sidebar{position:fixed!important;inset:0 auto 0 0!important;z-index:200!important;width:264px!important;height:100vh!important;max-width:84vw!important;padding:var(--sp-5) var(--sp-3)!important;transform:translateX(-100%)!important;overflow:visible!important;box-shadow:var(--ui-shadow-hover,var(--site-shadow))!important}
  body.sidebar-open:has(.ecc-page) #app>.sidebar,body.sidebar-open:has(.evl-page) #app>.sidebar{transform:translateX(0)!important}
  body:has(.ecc-page) #app>.sidebar .brand,body:has(.evl-page) #app>.sidebar .brand{position:static!important;width:auto!important;height:auto!important;padding:4px 10px 18px!important;background:transparent!important;border:0!important;gap:12px!important}
  body:has(.ecc-page) #app>.sidebar .nav,body:has(.evl-page) #app>.sidebar .nav{display:flex!important;flex-direction:column!important;overflow-y:auto!important}
  body:has(.ecc-page) #app>.sidebar .sidebar-foot,body:has(.evl-page) #app>.sidebar .sidebar-foot{display:block!important}
  body:has(.ecc-page) #app>.main>.topbar,body:has(.evl-page) #app>.main>.topbar{box-sizing:border-box;height:auto!important;min-height:0!important;flex-wrap:wrap!important;gap:var(--sp-4)!important;padding:var(--sp-4) var(--sp-4)!important}
  body:has(.ecc-page) #app>.main>.topbar #pageTitle,body:has(.evl-page) #app>.main>.topbar #pageTitle{display:block!important}
  body:has(.ecc-page) #app>.main>.topbar #pageCrumb,body:has(.evl-page) #app>.main>.topbar #pageCrumb{display:block!important}
  body:has(.ecc-page) #app>.main>.topbar .topbar-spacer,body:has(.evl-page) #app>.main>.topbar .topbar-spacer{display:block!important}
}
