/* Custom Scrollbar für ein sauberes Dark-UI */
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #020617;
    }
    ::-webkit-scrollbar-thumb {
      background: #1e293b;
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #334155;
    }

html { color-scheme: dark; }
body { overflow-x: hidden; }
header .max-w-7xl > .flex,
main .max-w-7xl > section .flex {
  min-width: 0;
  max-width: 100%;
}
.header-actions {
  min-width: 0;
  max-width: 100%;
}
#toast-container { left: 1rem; right: 1rem; width: auto; max-width: 24rem; margin-left: auto; }
pre { max-width: 100%; }
@media (max-width: 1200px) {
  header .max-w-7xl > .flex {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  header h1 { font-size: 1rem; line-height: 1.3; }
  .metric-card-body { flex-direction: column; align-items: stretch; }
  .metric-actions { width: 100%; }
  .metric-actions > button { width: 100%; justify-content: center; }
}
