/* 2.3.217: two filter buttons and persistent homepage under modal */
.apel-hub--v4 .apel-home-discoverybar--v4{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:9px!important;align-items:center!important}
.apel-hub--v4 .apel-home-discoverybar--v4 .apel-home-discoverybar__when{display:flex!important;align-items:center!important;gap:10px!important;width:auto!important;flex:0 1 auto!important}
.apel-hub--v4 .apel-home-discoverybar--v4 .apel-home-period-tabs{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;gap:7px!important}
.apel-hub--v4 .apel-home-discoverybar--v4 .apel-territory-filter{margin-left:0!important;width:auto!important;flex:0 1 auto!important}
.apelw-filter-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}
.apel-hub--v4 .apelw-filter-button{box-sizing:border-box!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;min-height:36px!important;min-width:144px!important;max-width:180px!important;margin:0!important;padding:7px 12px!important;border-radius:999px!important;border:1px solid transparent!important;font:900 9px/1.2 Montserrat,Arial,sans-serif!important;text-align:center!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:0 4px 12px #0005!important;transition:filter .15s ease,transform .15s ease!important}
.apel-hub--v4 .apelw-filter-public{background:#e60091!important;color:#fff!important;border-color:#ff48b6!important}
.apel-hub--v4 .apelw-filter-manager{background:#ffd432!important;color:#241700!important;border-color:#ffeb71!important}
.apel-hub--v4 .apelw-filter-button:hover{filter:brightness(1.12);transform:translateY(-1px)}
#apelw-home-overlay[hidden]{display:none!important}#apelw-home-overlay{position:fixed!important;inset:0!important;z-index:2147483000!important;background:rgba(2,3,12,.81)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important}
#apelw-home-overlay .apelw-home-panel{width:min(1450px,98vw)!important;height:min(94dvh,1100px)!important;display:flex!important;flex-direction:column!important;border-radius:15px!important;overflow:hidden!important;border:1px solid #e60091!important;background:#100b20!important;box-shadow:0 20px 80px #000d!important}
#apelw-home-overlay .apelw-home-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;background:#231034!important;color:#fff!important;padding:10px 16px!important;font:800 12px Montserrat,Arial,sans-serif!important}
#apelw-home-overlay .apelw-home-head button{background:#e60091!important;border:0!important;border-radius:8px!important;padding:8px 12px!important;color:#fff!important;font-size:20px!important;cursor:pointer!important}
#apelw-home-frame{width:100%!important;flex:1!important;min-height:0!important;border:0!important;background:#0d0b1c!important}body.apelw-home-lock{overflow:hidden!important}
@media(max-width:1050px){.apel-hub--v4 .apel-home-discoverybar--v4{justify-content:flex-start!important}.apelw-filter-actions{width:auto}}
@media(max-width:620px){.apel-hub--v4 .apel-home-discoverybar--v4 .apel-home-discoverybar__when{width:100%!important}.apel-hub--v4 .apel-home-discoverybar--v4 .apel-territory-filter{width:100%!important}.apelw-filter-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.apel-hub--v4 .apelw-filter-button{width:100%!important;max-width:none!important;min-width:0!important}#apelw-home-overlay{padding:4px!important}#apelw-home-overlay .apelw-home-panel{width:100%!important;height:98dvh!important}}

#apelw-home-overlay .apelw-home-head-actions{display:flex!important;align-items:center!important;gap:8px!important}#apelw-home-overlay .apelw-home-head .apelw-home-action{background:#313842!important;border:1px solid #728090!important;border-radius:9px!important;color:white!important;font:800 12px Montserrat,Arial,sans-serif!important;padding:9px 14px!important;cursor:pointer!important}#apelw-home-overlay .apelw-home-head .apelw-home-manage{background:#ffd432!important;color:#211900!important;border-color:#ffd432!important}#apelw-home-overlay .apelw-home-head button[hidden]{display:none!important}@media(max-width:620px){#apelw-home-overlay .apelw-home-head-actions{gap:5px!important}#apelw-home-overlay .apelw-home-head .apelw-home-action{padding:8px!important;font-size:10px!important}}
