/* Keep one viewport-sized rotation plane so fixed menus share the same origin. */
body.screen-inverted{
 position:fixed!important;top:var(--rotation-top,0px)!important;left:var(--rotation-left,0px)!important;
 width:var(--rotation-width,100vw)!important;height:var(--rotation-height,100dvh)!important;
 min-height:0!important;max-height:none!important;margin:0!important;overflow:hidden!important;
 transform:rotate(180deg);transform-origin:50% 50%;
 --safe-top:env(safe-area-inset-bottom,0px);--safe-bottom:env(safe-area-inset-top,0px);
 padding-left:env(safe-area-inset-right,0px);padding-right:env(safe-area-inset-left,0px);box-sizing:border-box;
}
body.screen-inverted #isokratisContent{--fixed-top:0px;--fixed-height:var(--rotation-height,100dvh)}
body.screen-inverted:not(.fixed-view) #isokratisContent{height:100%;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body.screen-inverted.fixed-view #isokratisContent{top:0;height:100%}
#screenRotationToggle{min-width:44px;min-height:44px;accent-color:var(--gold)}
@media print{body.screen-inverted{position:static!important;transform:none!important;height:auto!important;overflow:visible!important}body.screen-inverted #isokratisContent{height:auto!important;overflow:visible!important}}
