html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
}

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

  /* WebView Flutter (fundo transparente): evita body preto entre card e mapa */
  body.flutter-webview {
    background: transparent;
  }

  .status-card-mobile-sheet,
  .status-card-mobile-sheet .MuiCardContent-root {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
  }
}

.root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media print {
  * {
    height: auto !important;
    overflow: visible !important;
  }
}