/* Paint the complete viewport in the current theme while Safari resizes it. */
html{background-color:var(--canvas,var(--bg,#f5f8fc));min-height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html[data-theme=dark]{background-color:var(--canvas,var(--bg,#0b1523))}
@media(any-pointer:coarse){
 body{min-height:100vh;min-height:100dvh}
 body[data-dashboard-view]{min-height:0!important}
 body[data-dashboard-view] .dash-app{height:var(--spynexo-viewport-height,100dvh)!important;max-height:var(--spynexo-viewport-height,100dvh)!important;min-height:0!important;width:auto!important;transition:none!important}
 #dash-nav-dialog{height:var(--spynexo-viewport-height,100dvh)!important;max-height:var(--spynexo-viewport-height,100dvh)!important}
 body.spynexo-modal-open .modal-backdrop{height:var(--spynexo-viewport-height,100dvh)!important;max-height:var(--spynexo-viewport-height,100dvh)!important;overflow-y:auto!important}
}
@media(any-pointer:coarse) and (orientation:landscape) and (max-height:600px){
 .topbar,.dash-app>header{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--paper,var(--canvas,#fff))!important}
 body[data-dashboard-view] .dash-app>header{min-height:54px!important;padding-block:7px!important}
 body[data-dashboard-view] .dash-app>main{padding-bottom:8px!important;min-height:0!important}
 body[data-dashboard-view] .dash-header-identity{flex-wrap:nowrap!important}
 .modal-backdrop.open{align-items:flex-start!important;padding-block:10px!important}
 .modal-backdrop.open>.modal{margin-block:auto!important;max-height:none!important}
}
