/*
 * The app's outline, painted before any script runs, so a cold load isn't a blank screen. A file
 * rather than an inline <style>, so the Content Security Policy needs no exception for it. The
 * colours repeat tokens.css's page and sidebar backgrounds.
 */

html,
body,
#root {
  height: 100%;
  margin: 0;
}

body {
  background: #ffffff;
}

.app-loading {
  display: flex;
  height: 100%;
}

.app-loading__sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #f7f7f5;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #191919;
  }

  .app-loading__sidebar {
    background: #202020;
  }
}

@media (max-width: 720px) {
  .app-loading__sidebar {
    display: none;
  }
}
