/* Shared EVA shell. Keep BE page-content styles separate from the navigation. */
.eva-ui .eva-market-context{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:5px 13px 13px}
.eva-ui .eva-market-chip,.eva-ui .eva-market-change{display:inline-flex;align-items:center;min-height:29px;padding:4px 9px;border-radius:var(--bs-border-radius,6px);font-size:11px;font-weight:700;text-decoration:none}
.eva-ui .eva-market-chip{background:var(--bs-primary-bg-subtle,#eeedff);color:var(--bs-primary,#5955d1)}
.eva-ui .eva-market-chip.is-be{background:var(--bs-warning-bg-subtle,#fff2d9);color:var(--bs-warning-text-emphasis,#8d5d00)}
.eva-ui .eva-market-change{border:1px solid var(--bs-border-color,#dedee9);color:var(--bs-body-color,#273044);background:var(--bs-body-bg,#fff)}
.eva-ui .eva-market-change:hover,.eva-ui .eva-market-change:focus-visible{border-color:var(--bs-primary,#5955d1);color:var(--bs-primary,#5955d1)}
.eva-ui .be-shell-header{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;min-height:64px!important;height:64px!important;padding:0 20px!important}
.eva-ui .be-shell-header .topbar-left{display:flex;align-items:center;flex:0 1 auto;min-width:145px;max-width:240px}
.eva-ui .be-shell-header .topbar-left>div{min-width:0}
.eva-ui .be-shell-header .top-title{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eva-ui .be-shell-header .topbar-right{display:flex!important;align-items:center;justify-content:flex-end!important;flex:1 1 auto;min-width:0;width:auto!important;gap:8px;flex-wrap:nowrap!important}
.eva-ui .be-shell-header .bea-global{display:flex;align-items:center;flex:1 1 150px;min-width:100px;max-width:420px;height:40px;margin:0 auto 0 0;padding:0 12px;border:1px solid var(--bs-border-color,#dedee9);border-radius:var(--bs-border-radius,6px);background:var(--bs-body-bg,#fff)}
.eva-ui .be-shell-header .bea-global input{min-width:0;width:100%;font:inherit;font-size:13px}
.eva-ui .be-shell-header .bea-quick,.eva-ui .be-shell-header .eva-create-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:40px;white-space:nowrap}
.eva-ui .be-shell-header .bea-notify,.eva-ui .be-shell-header .be-cancel-notification{display:inline-grid;place-items:center;position:relative;flex:0 0 40px;width:40px;height:40px;min-height:40px;margin:0}
.eva-ui .be-shell-header .bea-language-form{display:flex;flex:0 0 auto;margin:0}
.eva-ui .be-shell-header .bea-user{display:flex;align-items:center;flex:0 0 auto;gap:8px}
.eva-ui .be-shell-header .bea-user span{display:flex;align-items:flex-end}
.eva-ui .be-agent-workspace .bea-main{width:100%;max-width:1540px;margin:0 auto}
.eva-ui .eva-unified-header{grid-template-columns:minmax(145px,1fr) auto!important;grid-template-areas:"title actions" "ranking ranking"!important;align-items:center!important;min-height:0!important;height:auto!important;padding:8px 20px!important;row-gap:6px!important}
.eva-ui .eva-unified-header .eva-team-leaderboard{grid-area:ranking;display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 10px;min-width:0;max-width:100%;width:100%;max-height:none;overflow:visible!important;white-space:normal}
.eva-ui .eva-unified-header .eva-team-live{flex:0 0 auto;font-size:11px;font-weight:800}
.eva-ui .eva-unified-header .eva-team-rank{display:inline-flex;flex:0 1 auto;align-items:center;gap:6px;min-width:150px;max-width:min(100%,320px);min-height:32px;padding:4px 10px;text-align:left;white-space:nowrap}
.eva-ui .eva-unified-header .eva-team-rank>strong{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}
.eva-ui .eva-unified-header .eva-team-rank>b{flex:none;font-size:14px;font-weight:700}
.eva-ui .eva-unified-header .eva-team-rank>em{flex:none;font-size:13px;font-weight:700}
.eva-ui .eva-unified-header .eva-team-rank>small{flex:none;font-size:12px;font-weight:700}
.eva-ui .eva-unified-header .eva-team-rank:focus-visible{outline:2px solid var(--bs-primary,#5955d1);outline-offset:2px}
.eva-ui .eva-unified-header .topbar-left,.eva-ui .eva-unified-header .topbar-right{min-width:0}
.eva-ui .eva-unified-header .topbar-right{flex-wrap:nowrap!important}
@media (min-width:992px) and (max-width:1199.98px){
  .eva-ui .eva-unified-header .eva-mobile-more{display:block;flex:none}
  .eva-ui .eva-unified-header .eva-mobile-more>summary{display:grid;place-items:center;width:40px;height:40px}
}
@media (max-width:1199.98px) and (min-width:992px){
  .eva-ui .be-shell-header .bea-user span{display:none}
  .eva-ui .be-shell-header .bea-global{max-width:260px}
  .eva-ui .be-shell-header .bea-quick>span,.eva-ui .be-shell-header .eva-create-action>span{display:none}
  .eva-ui .be-shell-header .bea-quick,.eva-ui .be-shell-header .eva-create-action{width:40px;padding:0!important}
}
@media (max-width:991.98px){
  :root body.eva-ui .be-shell-header{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;height:calc(56px + env(safe-area-inset-top))!important;min-height:calc(56px + env(safe-area-inset-top))!important;padding:env(safe-area-inset-top) 12px 0!important}
  :root body.eva-ui .be-shell-header .topbar-left{display:flex!important;align-items:center;flex:1 1 0!important;max-width:none!important;min-width:0!important;width:auto!important;order:0!important}
  :root body.eva-ui .be-shell-header .topbar-left>div{min-width:0;flex:1}
  :root body.eva-ui .be-shell-header .top-title{display:block;font-size:15px!important;line-height:1.2;max-width:none!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  :root body.eva-ui .be-shell-header .topbar-right{display:flex!important;align-items:center;justify-content:flex-end!important;flex:0 0 auto!important;min-width:0!important;width:auto!important;gap:8px!important;order:1!important;overflow:visible}
  :root body.eva-ui .be-shell-header .eva-create-action,:root body.eva-ui .be-shell-header .bea-quick,:root body.eva-ui .be-shell-header .bea-notify,:root body.eva-ui .be-shell-header .be-cancel-notification,:root body.eva-ui .be-shell-header .eva-mobile-more>summary{display:inline-grid!important;place-items:center;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important}
  :root body.eva-ui .be-shell-header .bea-quick{margin-left:0!important}
  :root body.eva-ui .be-shell-header .eva-create-action>span,:root body.eva-ui .be-shell-header .bea-quick>span{display:none!important}
  :root body.eva-ui .be-shell-header .bea-global,:root body.eva-ui .be-shell-header .bea-language-form,:root body.eva-ui .be-shell-header .bea-user,:root body.eva-ui .be-shell-header .bea-closing-script-trigger{display:none!important}
  :root body.eva-ui .be-shell-header .eva-mobile-more{display:block!important;position:relative;flex:0 0 44px!important;order:2;margin:0!important}
  :root body.eva-ui .be-shell-header .eva-mobile-more-menu{display:grid!important;gap:8px;max-height:calc(100dvh - 72px);overflow:auto}
  :root body.eva-ui .be-shell-header .eva-mobile-more-menu .bea-global{display:flex!important;width:100%;min-width:0;max-width:none;flex:0 0 auto;margin:0}
  :root body.eva-ui .be-shell-header .eva-mobile-more-menu .bea-language-form,:root body.eva-ui .be-shell-header .eva-mobile-more-menu .bea-user,:root body.eva-ui .be-shell-header .eva-mobile-more-menu .bea-closing-script-trigger{display:flex!important;width:100%;max-width:100%;margin:0}
  :root body.eva-ui .be-shell-header .eva-mobile-more-menu .bea-global input{min-width:0;width:100%}
  :root body.eva-ui .eva-unified-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"title actions" "ranking ranking"!important;column-gap:8px!important;row-gap:0!important;height:auto!important;min-height:56px!important;padding:6px 12px!important}
  :root body.eva-ui .eva-unified-header .topbar-left{grid-area:title;min-width:0!important;max-width:none!important;width:auto!important;flex:1 1 0!important;order:0!important}
  :root body.eva-ui .eva-unified-header .topbar-right{grid-area:actions;display:flex!important;justify-content:flex-end!important;min-width:0;width:auto!important;flex:0 0 auto!important;order:1!important}
  :root body.eva-ui .eva-unified-header .eva-team-leaderboard{grid-area:ranking;order:2!important;max-width:100%;max-height:none;overflow:visible!important;flex-wrap:wrap!important}
  :root body.eva-ui .eva-unified-header .top-title{display:block!important;max-width:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  :root body.eva-ui .eva-unified-header .eva-mobile-more-menu .eva-search-action{display:flex!important;align-items:center;justify-content:flex-start;gap:8px;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:auto!important;padding:10px!important}
  :root body.eva-ui .eva-unified-header .eva-mobile-more-menu .eva-search-action>span{display:inline!important}
}
@media (max-width:430px){
  :root body.eva-ui .be-shell-header .topbar-left{gap:6px!important}
  :root body.eva-ui .be-shell-header .topbar-right{gap:5px!important}
  :root body.eva-ui .be-shell-header{padding-left:8px!important;padding-right:8px!important;gap:5px!important}
}
@media (max-width:680px){
  :root body.eva-ui .eva-unified-header{row-gap:1px!important;padding:2px 12px!important}
  :root body.eva-ui .eva-unified-header .eva-team-leaderboard{gap:1px 10px;padding:0}
  :root body.eva-ui .eva-unified-header .eva-team-live{flex:0 0 100%;line-height:1}
  :root body.eva-ui .eva-unified-header .eva-team-rank{display:grid;flex:1 1 calc(50% - 5px);grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"rank name name" "sales sales conversion";column-gap:5px;row-gap:1px;min-width:150px;max-width:none;min-height:37px;padding:2px 8px;line-height:1.1}
  :root body.eva-ui .eva-unified-header .eva-team-rank>b{grid-area:rank}
  :root body.eva-ui .eva-unified-header .eva-team-rank>strong{grid-area:name}
  :root body.eva-ui .eva-unified-header .eva-team-rank>em{grid-area:sales}
  :root body.eva-ui .eva-unified-header .eva-team-rank>small{grid-area:conversion}
}
@media (max-width:359.98px){
  :root body.eva-ui .eva-unified-header .eva-team-rank{display:flex;flex:1 1 100%;min-height:30px}
}
