/* V288 · Environment identity, independent of user role and colour theme. */
html[data-twt-environment]{--twt-env-height:calc(36px + env(safe-area-inset-top,0px));--twt-env-accent:#e18d18;scroll-padding-top:calc(var(--twt-env-height) + 8px)}
html[data-twt-environment] body{padding-top:calc(var(--twt-env-height) + var(--twt-env-body-padding,0px))!important}
#twt-environment-bar{position:fixed!important;inset:0 0 auto 0!important;z-index:2147483000!important;box-sizing:border-box!important;height:var(--twt-env-height)!important;display:flex!important;align-items:center!important;gap:10px!important;padding:env(safe-area-inset-top,0px) 18px 0!important;background:#f5a623!important;color:#142d35!important;border-bottom:1px solid #b9760f!important;font:12px/1.2 Inter,Arial,sans-serif!important;letter-spacing:.025em!important;white-space:nowrap!important;isolation:isolate}
#twt-environment-bar strong{font:800 12px/1.2 Inter,Arial,sans-serif!important;color:inherit!important;letter-spacing:.07em!important}
#twt-environment-bar [data-env-hint]{margin-left:auto!important;font:500 12px/1.2 Inter,Arial,sans-serif!important;color:inherit!important}
#twt-environment-bar .twt-environment-dot{display:block!important;width:9px!important;height:9px!important;background:#142d35!important;border-radius:50%!important;flex:0 0 9px!important}
html[data-twt-environment=live]{--twt-env-accent:#297d5c}
html[data-twt-environment=live] #twt-environment-bar{background:#142d35!important;color:#fff!important;border-color:#406462!important}
html[data-twt-environment=live] #twt-environment-bar .twt-environment-dot{background:#76d7c4!important}
html[data-twt-environment=local] #twt-environment-bar{background:#e8edf0!important;color:#142d35!important;border-color:#c2cdd2!important}
html[data-twt-environment=check] #twt-environment-bar{background:#fff0ce!important;color:#142d35!important;border-color:#e18d18!important}
html[data-twt-environment] :is(.app,.public-layout){min-height:calc(100vh - var(--twt-env-height))!important;min-height:calc(100dvh - var(--twt-env-height))!important}
html[data-twt-environment] :is(.app>aside,.public-sidebar){box-shadow:inset -4px 0 0 var(--twt-env-accent)!important}
html[data-twt-environment] :is(.topbar,.tb-window-heading){top:var(--twt-env-height)!important}
@media(min-width:701px){html[data-twt-environment] .app>aside{top:var(--twt-env-height)!important;height:calc(100vh - var(--twt-env-height))!important;height:calc(100dvh - var(--twt-env-height))!important}}
@media(max-width:700px){html[data-twt-environment] .app>aside{top:auto!important;height:auto!important}}
@media(max-width:520px){#twt-environment-bar{padding:env(safe-area-inset-top,0px) 10px 0!important;gap:7px!important}#twt-environment-bar [data-env-hint]{display:none!important}}
html[data-twt-env-embedded=true]{--twt-env-height:28px}
@media print{#twt-environment-bar{display:none!important}html[data-twt-environment] body{padding-top:var(--twt-env-body-padding,0px)!important}html[data-twt-environment] :is(.app,.public-layout){min-height:0!important}}
