/* Konfigurator: Anpassungen für Tablet und Handy (Audit M66, N26, 31.10.2026).
   Liegt als eigene Datei neben dem Build, weil der Build sonst nicht angefasst wird.
   Bis 1023 px stapelt der Build Vorschau und Eingabe; im eingebetteten Fenster blieben dann nur 70 px für die Modellauswahl. */
@media (min-width: 640px) and (max-width: 1023.98px) {
  /* Vorschau links, Eingabe rechts wie auf dem großen Bildschirm */
  .lg\:flex-row { flex-direction: row !important; }
  .sm\:h-\[45vh\] { height: auto !important; flex: 1 1 0% !important; min-width: 0; width: auto !important; }
  .lg\:w-\[440px\] { width: 340px !important; flex: none !important; }
  /* Werkzeugleiste bleibt in der Vorschau */
  [data-testid="viewer-toolbar"] { gap: 5px !important; }
}
/* Preisfeld lag über den Ansichts-Reitern, sobald die Vorschau schmal ist */
@media (max-width: 1130px) {
  div:has(> [data-testid="preis-montage"]) { top: 52px !important; right: 8px !important; }
}
@media (max-width: 639.98px) {
  div:has(> [data-testid="preis-montage"]) { top: 42px !important; right: 6px !important; padding: 4px 8px !important; min-width: 0 !important; }
  [data-testid="preis-montage"] button { padding: 1px 4px !important; }
  [data-testid="preis-brutto"] { font-size: 18px !important; }
}
