
body.mc-v852 .app>main.content>header.merchant-topbar,body.mc-v852 .app.sidebar-mini>main.content>header.merchant-topbar{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 14px!important;background:linear-gradient(110deg,#2b2e32,#313438 60%,#292c30)!important;overflow:visible!important;color:#f5f4f0!important;z-index:12000!important}.mt-brand{display:flex;align-items:center;gap:12px;color:#fbfaf9;text-decoration:none;white-space:nowrap;flex:none;padding-right:14px;border-right:1px solid #ffffff15}.mt-brand>span{display:grid;place-items:center;width:36px;height:36px;background:linear-gradient(135deg,#526273,#526273);border-radius:10px;font-size:25px;font-weight:800;border:1px solid #ffffff25;box-shadow:0 3px 14px #9f8a522b}.mt-brand b{font-size:12px}.merchant-topbar .mt-menu{flex:none}.merchant-topbar .top-search{flex:1 1 300px!important;min-width:160px!important;max-width:480px!important;height:40px!important;border-radius:10px!important;padding:0 12px!important;margin:0!important;background:#3d4044!important;border-color:#4d5054!important}.merchant-topbar .top-search input{min-width:0!important;font-size:11px!important}.merchant-topbar .top-search kbd{white-space:nowrap;font-size:9px!important}.merchant-topbar #mcHeaderClock{flex:none!important;min-width:138px!important;margin:0!important;padding:0 16px!important;border-left:1px solid #ffffff14;border-right:1px solid #ffffff14;font-size:15px!important}.merchant-topbar .header-actions{gap:7px!important;margin-left:auto!important;min-width:0!important;flex:none!important}.merchant-topbar .head-btn{width:32px!important;height:36px!important;min-width:32px!important;display:grid!important;place-items:center!important;padding:6px!important;background:transparent!important;border:1px solid transparent!important;border-radius:8px!important;color:#526273!important;text-decoration:none}.merchant-topbar .head-btn:hover{background:#ffffff0c!important;border-color:#ffffff15!important}.merchant-topbar .head-btn .ui-icon{width:20px!important;height:20px!important;fill:none;stroke:currentColor;stroke-width:1.8}.merchant-topbar .admin-language{width:132px!important;height:40px!important;padding:0 10px!important;font-size:11px!important;background:#3d4044!important;border:1px solid #4d5054!important;border-radius:10px!important}.merchant-topbar .mc-mode-switch{height:36px!important;padding:3px!important;gap:2px!important;background:#282b2f!important;border-radius:9px!important}.merchant-topbar .mc-mode-switch button{width:28px!important;height:28px!important;padding:5px!important;border-radius:7px!important}.merchant-topbar .account-pill{padding:0!important;margin:0!important;border:1px solid #4f5256!important;border-radius:10px!important;background:#3d4044!important;min-width:0!important}.mt-profile-toggle{display:flex;align-items:center;gap:8px;padding:6px 9px;background:transparent;border:0;color:#fbfaf9;cursor:pointer;text-align:left;font:inherit;min-width:0}.merchant-topbar .header-avatar{width:31px!important;height:31px!important;flex:0 0 31px!important;font-size:15px!important;border-radius:9px!important}.merchant-topbar .head-user{min-width:0;max-width:160px}.merchant-topbar .account-name b{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.merchant-topbar .account-crown{width:11px!important;height:11px!important}.merchant-topbar .account-meta{font-size:8px!important;gap:5px!important}.mt-chevron{font-size:14px;color:#526273}.mt-workspace{position:relative;flex:none}.mt-workspace summary{list-style:none;display:flex;align-items:center;gap:9px;padding:6px 10px;height:40px;background:#3d4044;border:1px solid #4d5054;border-radius:10px;cursor:pointer;box-sizing:border-box}.mt-workspace summary::-webkit-details-marker{display:none}.mt-workspace summary>svg{width:20px;height:20px;flex:none}.mt-workspace b{font-size:10px;display:block}.mt-workspace small{font-size:8px;color:#526273;display:block;margin-top:3px}.mt-workspace small i{display:inline-block;width:5px;height:5px;background:#25cba1;border-radius:50%;margin-right:4px}.mt-workspace>div{position:absolute;top:49px;right:0;width:210px;padding:7px;border:1px solid var(--ui-line,#edebe5);border-radius:12px;background:var(--ui-surface,#fff);box-shadow:0 15px 50px #13161a35;z-index:13000}.mt-workspace button{width:100%;padding:11px;border:0;background:transparent;border-radius:8px;color:var(--ui-ink,#323539);text-align:left;font-size:12px;cursor:pointer}.mt-workspace button:hover{background:var(--ui-soft,#f8f7f4)}.merchant-topbar #profileMenu{top:calc(100% - 3px)!important;right:14px!important;width:260px!important;border-radius:14px!important;padding:12px!important;box-shadow:0 20px 65px #16191d35!important}.merchant-topbar #profileMenu .menu-user{padding:8px 4px 16px!important;border-bottom:1px solid var(--ui-line,#f1efea);margin-bottom:8px}.merchant-topbar #profileMenu a,.merchant-topbar #profileMenu form button{padding:11px 8px!important;min-height:39px!important;border-radius:8px!important;font-size:12px!important;display:flex;align-items:center;gap:12px}.merchant-topbar #profileMenu a svg{width:18px!important;height:18px!important}.merchant-topbar #profileMenu .menu-user b{font-size:12px!important}.merchant-topbar #profileMenu .menu-user small{font-size:10px!important}.merchant-topbar #profileMenu .danger{color:#ed526b!important}.mt-profile-toggle:focus-visible,.mt-workspace summary:focus-visible{outline:2px solid #526273;outline-offset:2px}
@media(min-width:901px){body.mc-v852 .app.sidebar-mini>main.content>header.merchant-topbar,body.mc-v852 .app>main.content>header.merchant-topbar{margin-left:-52px!important;width:calc(100% + 52px)!important;max-width:none!important}.app aside#sidebar .side-brand{visibility:hidden!important}.merchant-topbar .mobile-menu-btn{display:none!important}}
@media(max-width:1450px){.merchant-topbar .mt-brand b{display:none}.merchant-topbar .mt-brand{padding-right:0;border:0}.merchant-topbar .mt-workspace>summary{display:none}.merchant-topbar #mcHeaderClock{min-width:124px!important;padding:0 10px!important}.merchant-topbar .head-user{max-width:120px}}
@media(max-width:1050px){.merchant-topbar .mt-brand{display:none}.merchant-topbar .mt-menu{display:none!important}.merchant-topbar .top-search{max-width:none!important}.merchant-topbar #mcHeaderClock{display:none!important}.merchant-topbar .mt-help,.merchant-topbar .mt-apps{display:none!important}}
@media(max-width:700px){.merchant-topbar .head-user,.merchant-topbar .mt-chevron{display:none!important}.merchant-topbar .admin-language{width:90px!important}.merchant-topbar .top-search{min-width:70px!important}.merchant-topbar .top-search kbd{display:none!important}.merchant-topbar .header-actions{gap:3px!important}.merchant-topbar .mc-mode-switch{display:none!important}.merchant-topbar .account-pill{flex:none}.mt-profile-toggle{padding:3px}.merchant-topbar .top-search input{width:100%}.merchant-topbar .head-btn[title=Fullscreen]{display:none!important}}

@media(min-width:901px){body.mc-v852 .app.sidebar-mini aside#sidebar .side-brand{visibility:hidden!important}}

/* V8.145: centered rail brand and complete account menu. */
body.mc-v852 .merchant-topbar .mt-brand{width:52px!important;min-width:52px!important;justify-content:center!important;padding:0!important;border:0!important;margin-left:-14px!important;align-self:stretch!important;display:flex!important}
body.mc-v852 .merchant-topbar .mt-brand>span{width:40px;height:40px;border-radius:11px}
body.mc-v852 .merchant-topbar .account-pill .head-user{display:block!important;width:142px!important;max-width:142px!important}
body.mc-v852 .merchant-topbar .account-name{display:flex!important;align-items:center;gap:5px;margin:0!important}
body.mc-v852 .merchant-topbar .account-name b{font-size:11px!important;line-height:16px!important;color:#fafaf9!important}
body.mc-v852 .merchant-topbar .account-meta{display:flex!important;align-items:center!important;line-height:13px!important;color:#d8dadd!important}
body.mc-v852 .merchant-topbar .account-role{font-size:7px!important;padding:1px 4px!important;background:#526273!important;border-radius:4px!important;color:white!important}
body.mc-v852 .merchant-topbar .account-online{display:flex!important;align-items:center;gap:3px;color:#3ce5b3!important}
body.mc-v852 .merchant-topbar .header-avatar img,.merchant-topbar .menu-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
body.mc-v852 .merchant-topbar #profileMenu{width:278px!important;max-width:calc(100vw - 24px)!important;top:calc(100% - 2px)!important;right:12px!important;padding:12px!important;background:var(--ui-surface,#fff)!important}
body.mc-v852 .merchant-topbar #profileMenu .menu-user{display:flex!important;align-items:center!important;gap:12px!important;padding:8px 6px 14px!important}
body.mc-v852 .merchant-topbar #profileMenu .menu-avatar{display:grid;place-items:center;width:42px!important;height:42px!important;flex:0 0 42px;border-radius:12px;background:linear-gradient(135deg,#526273,#526273);color:#fff!important;font-size:20px!important}
.mt-menu-identity{min-width:0;flex:1}.mt-menu-identity b{display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}.mt-menu-identity small{display:block;margin-top:4px}.mt-menu-crown{color:#e6a524!important;width:13px!important;height:13px!important}.mt-menu-online{display:flex;align-items:center;gap:5px;font-size:10px;color:#13b98c;margin-top:6px}.mt-menu-online i{width:6px;height:6px;background:currentColor;border-radius:50%}
body.mc-v852 .merchant-topbar #profileMenu a{background:transparent!important;gap:11px!important;padding:11px 8px!important;font-size:12px!important}
body.mc-v852 .merchant-topbar #profileMenu a:hover{background:var(--ui-soft,#f9f8f6)!important}
body.mc-v852 .merchant-topbar #profileMenu a span{flex:1}.merchant-topbar #profileMenu .mt-menu-arrow{margin-left:auto;width:13px!important;height:13px!important;color:#526273}
body.mc-v852 .merchant-topbar #profileMenu form button{width:100%;border:0;background:transparent!important;text-align:left}
@media(max-width:1200px){body.mc-v852 .merchant-topbar .account-pill .head-user{width:112px!important;max-width:112px!important}.merchant-topbar .top-search{flex-basis:160px!important}}
@media(max-width:700px){body.mc-v852 .merchant-topbar .account-pill .head-user{display:none!important}body.mc-v852 .merchant-topbar .mt-brand{display:none!important}}

/* V8.146: one original sidebar logo, centered in the rail. */
@media(min-width:901px){
body.mc-v852 .app>main.content>header.merchant-topbar,body.mc-v852 .app.sidebar-mini>main.content>header.merchant-topbar{margin-left:0!important;width:100%!important;max-width:100%!important}
body.mc-v852 .app aside#sidebar .side-brand,body.mc-v852 .app.sidebar-mini aside#sidebar .side-brand{visibility:visible!important;display:flex!important;width:100%!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important}
body.mc-v852 .app aside#sidebar .side-brand .brandmark,body.mc-v852 .app.sidebar-mini aside#sidebar .side-brand .brandmark{position:static!important;margin:0!important;transform:none!important;flex:0 0 34px!important}
body.mc-v852 .app aside#sidebar .side-brand>div:not(.brandmark){display:none!important}
}
/* V8.147: account identity and dropdown matching the profile reference. */
body.mc-v852 .merchant-topbar .account-pill .head-user{display:block!important;width:156px!important;max-width:156px!important}
body.mc-v852 .merchant-topbar .mt-profile-toggle{padding:6px 10px!important;gap:10px!important}
body.mc-v852 .merchant-topbar .account-name b{font-size:12px!important;line-height:18px!important}
body.mc-v852 .merchant-topbar #profileMenu{width:326px!important;padding:0!important;border-radius:18px!important;overflow:visible!important;border:1px solid #f0efea!important;background:var(--ui-surface,#fff)!important;max-height:calc(100dvh - 100px)!important}
body.mc-v852 .merchant-topbar #profileMenu:before{content:"";position:absolute;right:25px;top:-8px;width:16px;height:16px;transform:rotate(45deg);background:var(--ui-surface,#fff);border-left:1px solid #f0efea;border-top:1px solid #f0efea}
body.mc-v852 .merchant-topbar #profileMenu .menu-user{padding:22px 20px!important;margin:0!important;background:linear-gradient(130deg,var(--ui-surface,#fff),var(--ui-soft,#f8f7f4))!important;border-radius:18px 18px 0 0!important;gap:15px!important}
body.mc-v852 .merchant-topbar #profileMenu .menu-avatar{width:60px!important;height:60px!important;flex:0 0 60px!important;border-radius:15px!important;font-size:24px!important}
body.mc-v852 .merchant-topbar #profileMenu .menu-user b{font-size:15px!important;line-height:20px!important}
body.mc-v852 .merchant-topbar #profileMenu .menu-user small{font-size:12px!important;margin-top:4px!important}
.bp-account-meta{display:flex;align-items:center;gap:12px;margin-top:10px}.bp-account-meta>span:first-child{font-size:10px;background:#f4f2ee;color:#526273;border-radius:7px;padding:4px 7px;font-weight:700}.bp-account-meta .mt-menu-online{margin:0;font-size:11px}.bp-menu-label{font-size:10px;font-weight:700;color:#526273;padding:16px 20px 7px;letter-spacing:.3px}
body.mc-v852 .merchant-topbar #profileMenu a{padding:13px 20px!important;border-radius:0!important;font-size:13px!important;min-height:46px!important;gap:14px!important}
body.mc-v852 .merchant-topbar #profileMenu a>svg:first-child{width:21px!important;height:21px!important;color:inherit!important}
body.mc-v852 .merchant-topbar #profileMenu .menu-sep{margin:10px 20px 0!important;border-top:1px solid var(--ui-line,#f1efea)}
body.mc-v852 .merchant-topbar #profileMenu form{padding:6px 8px 10px!important}body.mc-v852 .merchant-topbar #profileMenu form button{padding:12px!important;font-size:13px!important;gap:14px!important}
body.mc-v852 .merchant-topbar #profileMenu .danger{color:#f33f59!important}
/***** Hide the drawer header close icon in every workspace menu. *****/
body.mc-v852 :is(#siteBookDrawer,#operationsDrawer,#leaderMenuDrawer,#accountDrawer,#profileInfoDrawer,#domainSiteDrawer,#chatIncDrawer)>:is(header,.account-drawer-head,.pid-head,.cid-head,.dsd-head) button[aria-label^="Tutup"]{display:none!important}
@media(max-width:700px){body.mc-v852 .merchant-topbar .account-pill .head-user{display:none!important}body.mc-v852 .merchant-topbar #profileMenu{width:min(326px,calc(100vw - 24px))!important;overflow-y:auto!important}}

/* V8.157: anchor the single logo to the same rail center as navigation icons. */
@media(min-width:901px){
body.mc-v852 .app aside#sidebar .side-brand,body.mc-v852 .app.sidebar-mini aside#sidebar .side-brand{position:relative!important;width:52px!important;min-width:52px!important;max-width:52px!important;box-sizing:border-box!important}
body.mc-v852 .app aside#sidebar .side-brand .brandmark,body.mc-v852 .app.sidebar-mini aside#sidebar .side-brand .brandmark{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;box-sizing:border-box!important;margin:0!important;padding:0!important;font-size:24px!important}
}

/* V8.158: center the rail logo on the 74px topbar, slightly lower. */
@media(min-width:901px){body.mc-v852 .app aside#sidebar .side-brand .brandmark,body.mc-v852 .app.sidebar-mini aside#sidebar .side-brand .brandmark{top:37px!important}}
