/* MADA V114 — Staff sign-out always visible; QR login one-screen after removing parent guide. */
body[data-mada-auth="login"] .mada-login-extra{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
body[data-mada-auth="login"] .mada-login-extra .qr-login-main{width:100%!important;min-height:42px!important}
/* Common signed-in header: visible independent of menu/sidebar/navigation settings. */
.mada-topbar .mada114-header-logout{
 display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;
 gap:7px;min-height:43px;min-width:118px;padding:8px 13px!important;
 border:1px solid #f2c7d9!important;border-radius:12px!important;
 background:#fff0f6!important;color:#9f1559!important;
 font-size:13px!important;font-weight:900!important;line-height:1.25!important;
 box-shadow:none!important;white-space:nowrap!important;
}
.mada-topbar .mada114-header-logout span{font-size:20px;line-height:1!important}
.mada-topbar .mada114-header-logout:focus-visible,.mada114-staff-logout:focus-visible{outline:3px solid #176fb7!important;outline-offset:2px}
.mada-topbar .mada114-header-logout:disabled,.mada114-staff-logout:disabled{opacity:.55!important;pointer-events:none}
/* Do not hide it on staff internal pages or when the account menu is closed. */
body.mada108-staff-user .mada-topbar{display:flex!important;align-items:center!important}
body.mada108-staff-user .mada-topbar .mada114-header-logout{order:3}
.mada108-head-actions .mada114-staff-logout{
 display:inline-flex!important;align-items:center;justify-content:center;gap:6px;
 min-height:38px;padding:7px 12px!important;background:#fff0f6!important;color:#a0175c!important;
 border:1px solid #f2c8da!important;border-radius:11px!important;font-size:12px!important;
 font-weight:900!important;box-shadow:none!important;white-space:nowrap!important;
}
/* Avoid the prior (per-page) dock duplicating the single persistent V112 bar. */
body.mada112-nav-live .mada107-staff-bottom{display:none!important}
@media(max-width:760px){
 .mada-topbar .mada114-header-logout{min-width:42px!important;min-height:42px!important;padding:8px 10px!important;gap:0!important}
 .mada-topbar .mada114-header-logout b{display:none!important}
 .mada-topbar .mada114-header-logout span{font-size:22px}
 .mada108-head-actions{flex-wrap:wrap;justify-content:flex-start;inset-inline-end:10px;inset-inline-start:10px;gap:6px}
 .mada108-welcome{padding-top:73px!important}
 .mada108-head-actions .mada114-staff-logout{min-height:36px;padding:5px 8px!important;font-size:11px!important}
}
@media(max-width:360px){
 .mada108-welcome{padding-top:84px!important}
 .mada-topbar .mada114-header-logout{min-width:40px!important;min-height:40px!important;padding:6px!important}
 .mada108-head-actions .mada114-staff-logout span{display:none}
}
@media print{.mada114-header-logout,.mada114-staff-logout{display:none!important}}
