body:has(.br-staff-app){background:#f5f6fb}.br-staff-app{width:96vw!important;max-width:1680px!important;background:#f5f6fb!important;color:#30203f!important;border-radius:16px!important;padding:18px!important}.br-staff-sidebar{background:linear-gradient(#f3eeff,#fff5f3)!important;border:1px solid #e4ddeb!important;color:#30203f!important;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}.br-staff-brand,.br-staff-nav a{color:#30203f!important}.br-staff-brand small{color:#775893!important}.br-staff-nav a.active,.br-staff-nav a:hover{background:#ffe800!important}.br-staff-sidebar-note{color:#786887!important}.br-staff-header{display:flex!important;background:#fff;padding:18px!important;border:1px solid #e4ddeb;border-radius:14px;align-items:center!important}.br-staff-header h1{color:#30203f!important;font-size:25px!important}.br-staff-header p{color:#786887!important}.br-staff-header .br-staff-kicker{color:#775893!important}.br-staff-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.br-panel-search{font-size:11px;color:#786887}.br-panel-search input{display:block;background:#f2eff6;border:1px solid #e4ddeb;border-radius:8px;padding:10px;min-width:180px;font-size:14px}.br-staff-intro,.br-staff-empty{background:#fff!important;color:#786887!important;border:1px solid #e4ddeb!important}.br-staff-summary,.br-staff-trip-list,.br-staff-card{border:1px solid #e4ddeb;box-shadow:0 3px 12px #30203f05!important}.br-staff-metrics>div{background:#fff!important;border-radius:14px!important}.br-staff-card{min-height:120px!important;border-radius:16px!important}.br-staff-quiet{border:1px solid #e4ddeb}.br-staff-back{color:#50316b!important}.br-staff-request-link{background:#f4e8ff!important}.br-staff-request-link small{color:#786887!important}.br-staff-nav a[hidden],.br-staff-card[hidden]{display:none!important}@media(max-width:760px){.br-staff-app{width:100%!important;margin:0!important;padding:12px!important}.br-staff-sidebar{position:static;max-height:none}.br-staff-header{display:block!important}.br-staff-tools{margin-top:12px}.br-panel-search{width:100%}.br-panel-search input{width:100%;min-width:0}}

.br-staff-app{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border-radius:0!important;min-height:100vh}.br-staff-shell{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:0!important}.br-staff-sidebar{position:fixed!important;left:0;top:0;width:250px;height:100vh;max-height:100vh!important;box-sizing:border-box;border-radius:0!important;margin:0!important;z-index:20}.br-staff-main{grid-column:2;padding:22px}.br-staff-nav{display:block!important;overflow:visible!important}.br-staff-nav a{white-space:normal!important;margin:4px 0!important}.br-staff-sidebar-note{display:block!important}@media(max-width:760px){.br-staff-shell{grid-template-columns:170px minmax(0,1fr)!important}.br-staff-sidebar{width:170px;padding:10px!important}.br-staff-brand{font-size:22px!important}.br-staff-main{padding:12px}.br-staff-nav a{font-size:13px}.br-staff-cards{grid-template-columns:1fr!important}.br-staff-metrics{grid-template-columns:1fr!important}}

/* Portal-only full viewport; theme content containers must not center dashboard. */
body:has(.br-staff-app){overflow-x:hidden}
body:has(.br-staff-app) .wp-site-blocks,body:has(.br-staff-app) .site-content,body:has(.br-staff-app) .content-area,body:has(.br-staff-app) .site-main,body:has(.br-staff-app) .entry-content,body:has(.br-staff-app) .wp-block-post-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body:has(.br-staff-app) .br-staff-app{width:100vw!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box}
.br-staff-shell{width:100%!important;max-width:none!important}.br-staff-main{width:100%!important;max-width:none!important;margin:0!important;padding:16px!important;box-sizing:border-box}.br-staff-header{width:100%!important;max-width:none!important;margin:0 0 16px!important;box-sizing:border-box}.br-staff-workspace{width:100%!important;max-width:none!important;margin:0!important;padding:14px!important;box-sizing:border-box}.br-staff-workspace>.wrap{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}.br-staff-workspace>.wrap>form,.br-staff-workspace>.wrap>fieldset,.br-staff-workspace>.wrap>section{width:100%!important;max-width:none!important;box-sizing:border-box}.br-staff-workspace .widefat,.br-staff-workspace .br-bookings{width:100%!important;max-width:none!important}.br-staff-sidebar{top:0!important;height:100dvh!important;max-height:100dvh!important}body.admin-bar .br-staff-sidebar{top:32px!important;height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important}.br-staff-header>div:first-child{min-width:0}.br-staff-header h1{overflow-wrap:anywhere}
@media(max-width:782px){body.admin-bar .br-staff-sidebar{top:46px!important;height:calc(100dvh - 46px)!important;max-height:calc(100dvh - 46px)!important}}
@media(max-width:760px){.br-staff-main{padding:10px!important}.br-staff-workspace{padding:10px!important}.br-staff-header{padding:12px!important}}

body:has(.br-staff-app) .br-staff-sidebar{top:0!important;height:100dvh!important;max-height:100dvh!important}
