/*
Theme Name: OKR Productivity Theme
Theme URI: https://example.com/
Author: OpenAI
Description: Theme shell for the OKR Productivity WordPress app.
Version: 1.9.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: okr-productivity-theme
*/

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: linear-gradient(135deg,#abcfd0 0%,#d7e9e7 48%,#cfd8eb 100%);
}

body.okrp-theme-body{color:#13241f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
*{box-sizing:border-box}
a{text-decoration:none}

.okrp-theme-app{min-height:100vh;overflow-x:hidden}


@media (max-width:900px){
  html,
  body.okrp-theme-body,
  body.okrp-theme-body .okrp-theme-app{
    height:auto!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:auto!important;
  }

  body.okrp-theme-body.okrp-chat-room-lock{
    height:100dvh!important;
    overflow:hidden!important;
  }
}


/* v1.8.9 companion: authenticated app scrolls inside the SPA main container on mobile. */
@media (max-width:900px){
  body.okrp-theme-body:not(.okrp-public-login-body):not(.okrp-chat-room-lock){
    height:100dvh!important;
    overflow:hidden!important;
  }
  body.okrp-theme-body:not(.okrp-public-login-body):not(.okrp-chat-room-lock) .okrp-theme-app{
    height:100%!important;
    min-height:100%!important;
    overflow:hidden!important;
  }
  body.okrp-theme-body:not(.okrp-public-login-body):not(.okrp-chat-room-lock) .okrp-main{
    height:100dvh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
  }
}
