:root{--y:#ffc928;--bg:#101719;--panel:#192326;--line:#344145;--text:#f7f7f7;--muted:#aeb9bc}
*{box-sizing:border-box} body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text)}
#startAnsicht{width:min(100%,460px);min-height:100vh;margin:auto;padding:24px 18px 18px;display:flex;flex-direction:column}
.startHeader{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px}.brandSmart{margin-top:7px;font-size:22px;font-weight:750;color:var(--y)}
.iconButton{width:46px;height:46px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);font-size:22px}
#startVan{display:block;margin-top:2px;font-size:18px;font-weight:700}
.scanMain{width:100%;min-height:78px;border:0;border-radius:17px;background:var(--y);color:#101010;font-size:20px;font-weight:800;margin-bottom:12px}
.startActions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.secondaryAction{min-height:62px;border:1px solid var(--line);border-radius:15px;background:var(--panel);color:var(--text);font-size:15px;font-weight:650}
.orderStartButton{width:100%;min-height:62px;margin-top:auto;border:0;border-radius:16px;background:#f5f6f6;color:#101415;font-size:17px;font-weight:800}
#appFooter{margin-top:14px!important;text-align:center;font-size:11px!important;color:#7f8c90!important;line-height:1.45}
@media(min-width:700px){#startAnsicht{min-height:760px;padding-top:38px}}

  .eingabeOverlay{
    display:none;
    position:fixed;
    inset:0;
    z-index:1000;
    background:var(--bg);
    overflow:auto;
    padding:18px;
  }
  .eingabeOverlayInnen{
    width:min(100%,460px);
    margin:0 auto;
  }
  .overlayZurueck{
    min-height:44px;
    border:1px solid var(--line);
    border-radius:13px;
    background:var(--panel);
    color:var(--text);
    padding:0 16px;
    font-size:15px;
    font-weight:650;
    margin-bottom:16px;
  }
  .eingabeOverlay input:not([type="checkbox"]){
    width:100%;
    min-height:50px;
    border:1px solid var(--line);
    border-radius:13px;
    padding:0 14px;
    font-size:18px;
    margin-bottom:10px;
  }
  .eingabeOverlay button:not(.overlayZurueck){
    min-height:48px;
    border-radius:13px;
    padding:0 16px;
  }


.uiIcon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:0 0 auto}
.scanMain .uiIcon{width:30px;height:30px;margin-right:12px}
.iconButton{display:flex;align-items:center;justify-content:center}
.secondaryAction{display:flex;align-items:center;justify-content:center;gap:9px}



.strykerOriginalLogo{
  display:block;
  width:190px;
  max-width:58vw;
  height:auto;
  object-fit:contain;
  object-position:left center;
  margin:0;
}

/* Scanner-Seite – angepasst an das Design der Startseite */
#cameraBox .overlayZurueck{
  margin-bottom:16px;
}
#cameraBox #scanStatus{
  width:100%;
  margin-top:0 !important;
  min-height:24px !important;
  text-align:center;
  color:var(--y);
  font-size:16px;
  font-weight:800;
}
#cameraBox #scanTrigger,
#cameraBox #torchBtn{
  width:100%;
  min-height:62px;
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--panel);
  color:var(--text);
  font-size:20px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}
#cameraBox #scanTrigger{
  border:0;
  background:var(--y);
  color:#101010;
  font-size:20px;
  font-weight:800;
}
#cameraBox #scanTrigger .uiIcon,
#cameraBox #torchBtn .uiIcon{width:24px;height:24px}

/* Manuelle Eingabe – nur diese Seite */
#manuelleEingabe h2{
  color:var(--y);
  font-size:16px;
  font-weight:800;
  text-align:center;
}
#manuelleEingabe #manuellSuchenBtn{
  width:100%;
  min-height:62px;
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--panel);
  color:var(--text);
  font-size:20px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}
#manuelleEingabe #manuellSuchenBtn .uiIcon{width:24px;height:24px;}
#manuelleEingabe #manuellArtikelAufnehmenBtn{
  width:100%;
  min-height:62px;
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--panel);
  color:var(--text);
  font-size:20px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}
#manuelleEingabe #manuellArtikelAufnehmenBtn .uiIcon{width:24px;height:24px;}

/* Neuer-Artikel-Ablauf – nur Darstellung innerhalb des Scanner-Ergebnisses */
#cameraBox #scanErgebnis{
  margin-top:0;
}
#cameraBox #scanErgebnis h3{
  color:var(--y);
  font-size:18px;
  font-weight:800;
  text-align:center;
}
#cameraBox #scanErgebnis p{
  font-size:18px;
  line-height:1.4;
}
#cameraBox #scanErgebnis input:not([type="number"]){
  width:100%;
  min-height:62px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#f5f6f6;
  color:#101415;
  padding:0 16px;
  font-size:20px;
  margin:4px 0 12px;
}
#cameraBox #scanErgebnis button{
  width:100%;
  min-height:68px;
  margin-top:10px;
  border:0;
  border-radius:17px;
  background:var(--y);
  color:#101010;
  font-size:20px;
  font-weight:800;
}
#cameraBox #scanErgebnis input[type="number"]{
  min-height:52px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#f5f6f6;
  color:#101415;
  padding:0 10px;
  font-size:18px;
}

/* Bekannter Artikel: identische Menge-/Favoritenzeile bei Scanner und manueller Suche */
:is(#cameraBox #scanErgebnis, #manuelleEingabe) #ergebnis > p {
  margin: 0 0 10px;
}
:is(#cameraBox #scanErgebnis, #manuelleEingabe) .mengeFavoritZeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
}
:is(#cameraBox #scanErgebnis, #manuelleEingabe) .mengeFavoritZeile p {
  margin: 0;
}
:is(#cameraBox #scanErgebnis, #manuelleEingabe) #favoritStern {
  margin-left: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
:is(#cameraBox #scanErgebnis, #manuelleEingabe) #favoritStern button {
  width: auto;
  min-width: 56px;
  min-height: 56px;
  margin: 0;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--y);
  font-size: 38px !important;
  line-height: 1;
}
:is(#cameraBox #scanErgebnis, #manuelleEingabe) .mengeFavoritZeile + button {
  margin-top: 8px;
}

@media (max-width: 520px) {
  #manuellBtn {
    font-size: 20px !important;
    white-space: nowrap !important;
    gap: 10px !important;
  }
}

/* Startseite: vier Aktionen untereinander, gleiche Breite/Höhe/Schriftgröße */
.startActionsEinheitlich{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  margin-bottom:10px !important;
}
.startActionsEinheitlich .scanMain,
.startActionsEinheitlich .secondaryAction,
#bestellungButtonBereich .orderStartButton{
  width:100% !important;
  min-height:68px !important;
  margin:0 !important;
  font-size:20px !important;
  font-weight:800 !important;
  white-space:nowrap !important;
}
#bestellungButtonBereich{
  margin:0 !important;
}


/* Standard-Aktionsbutton – dunkel */
.actionButton{
  width:100%;
  min-height:62px;
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--panel);
  color:var(--text);
  font-size:20px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}

.actionButton .uiIcon{
  width:24px;
  height:24px;
}

/* Standard-Eingabefeld – weiß */
.inputField{
  width:100%;
  min-height:62px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#f5f6f6;
  color:#101415;
  padding:0 16px;
  font-size:20px;
  margin:4px 0 12px;
}
#ccAktiv{
  width:20px;
  height:20px;
  margin:0 8px 0 0;
  vertical-align:middle;
}
.settingsField{
  margin:0;
}

.settingsField .inputField{
  margin:2px 0 0;
}


#einstellungenAnsicht h2 + .settingsField{
  margin-top:-12px;
}


#cameraBox #scanErgebnis h3.neuerArtikelTitel{
  color:var(--text);
}
#ergebnis > p {
  text-align: center;
}
#manuelleEingabe #ergebnis h3 {
  text-align: center;
}

#manuelleEingabe #ergebnis .scanMain {
  min-height: 78px;
}
/* Favoritenansicht */
#favoritenAnsicht {
  min-height: 100vh;
  padding: 24px 18px;
  background: var(--bg);
  color: var(--text);
}

.favoritenInhalt {
  width: min(100%, 460px);
  margin: 0 auto;
}





#favoritenListe {
  display: grid;
  gap: 12px;
}

.favoritKarte {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
}

.favoritKopf {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.favCheck {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  margin: 5px 0 0;
  accent-color: var(--y);
}

.favoritInfo {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.favoritInfo strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
}

.favoritEntfernen {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 25px;
}

.favoritMenge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 17px;
  touch-action: manipulation;
}

.favoritMenge button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 25px;
  font-weight: 700;
  touch-action: manipulation;
}

.favoritMenge input {
  width: 65px;
  height: 44px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: #101010;
  font-size: 19px;
  text-align: center;
}

/* Einheitlicher Bestellbutton: Scanner, manuelle Suche und Favoriten */
:is(#cameraBox #scanErgebnis, #manuelleEingabe, #favoritenAnsicht) button.bestellButton {
  width: 100%;
  min-height: 70px;
  margin-top: 18px;
  padding: 12px;
  border: 0;
  border-radius: 17px;
  background: var(--y);
  color: #101010;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.bestellButton .uiIcon {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  margin: 0;
}


/* Bestellansicht: bestehende Favoriten-Karten und Mengensteuerung wiederverwenden */
#bestellungAnsicht {
  min-height:100vh;
  padding:24px 18px;
  background:var(--bg);
  color:var(--text);
}
.bestellungInhalt { width:min(100%,460px); margin:0 auto; }
.bestellungUebersicht {
  display:flex; justify-content:space-between; gap:12px; align-items:center;
  margin:0 0 12px; font-size:14px; color:var(--muted);
}
#bestellungPositionen { color:var(--y); font-weight:700; white-space:nowrap; }
#bestellliste { display:grid; gap:12px; }
.bestellungLeer { padding:18px 0; color:var(--muted); }
.bestellungEntfernen {
  flex-shrink:0; width:48px; height:48px;
  border:1px solid var(--line); border-radius:12px;
  background:var(--bg); color:#f28b82;
  display:flex; align-items:center; justify-content:center;
}
.bestellungEntfernen .uiIcon { width:24px; height:24px; }
.bestellungAktionen { margin-top:26px; display:grid; gap:10px; }
.bestellungAktionen .actionButton { margin-top:0; }
#bestellungAnsicht .bestellungAktionen .bestellButton {
  width:100%; min-height:70px; margin:0; padding:12px;
  border:0; border-radius:17px; background:var(--y);
  color:#101010; font-size:20px; font-weight:800;
  display:flex; align-items:center; justify-content:center; gap:10px;
}

/* Bestellverlauf: bestehende Karten- und Buttonstile wiederverwenden */
#verlaufAnsicht{min-height:100vh;padding:24px 18px;background:var(--bg);color:var(--text)}
.verlaufInhalt{width:min(100%,460px);margin:0 auto}
.verlaufHinweis,.verlaufStatus{color:var(--muted);font-size:14px;line-height:1.5}
#verlauf{display:grid;gap:12px}
.verlaufKarte{display:grid;gap:12px}
.verlaufKopf{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.verlaufDatum{font-weight:800;font-size:17px}
.verlaufArtikel{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.verlaufArtikel li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;line-height:1.45}
.verlaufMenge{font-weight:800;white-space:nowrap;color:var(--y)}
.verlaufArtikelText{min-width:0;overflow-wrap:anywhere}
.verlaufArtikelText strong{display:block}
.verlaufAktionen{display:flex;align-items:center;gap:10px}
.verlaufAktionen .secondaryAction{flex:1;min-height:48px;padding:8px;font-size:14px}
.verlaufAktionen .bestellungEntfernen{width:48px;height:48px}
.verlaufAlleLoeschen{width:100%;margin-top:20px;padding:10px;color:#f28b82}


/* Bestell Smart – gemeinsame Artikelanzeige (manuelle Suche ist Vorlage).
   #ergebnis wird beim Scannen in #scanErgebnis verschoben.
   Nur bekannte Artikel mit .mengeFavoritZeile werden optisch vereinheitlicht. */
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis:has(.mengeFavoritZeile) {
  font-size: 16px;
  line-height: 1.4;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis:has(.mengeFavoritZeile) > p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 10px;
  text-align: center;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .mengeFavoritZeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .mengeFavoritZeile p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .mengeFavoritZeile input[type="number"] {
  width: 60px;
  min-height: 50px;
  padding: 0 14px;
  font-size: 18px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f5f6f6;
  color: #101415;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis #favoritStern button {
  box-sizing: border-box;
  width: 56px;
  min-width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0 !important;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--y);
  font-family: Arial, sans-serif;
  font-size: 38px !important;
  font-weight: 400;
  line-height: 1;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis button.bestellButton {
  width: 100%;
  min-height: 70px;
  margin-top: 18px;
  padding: 12px;
  border: 0;
  border-radius: 17px;
  background: var(--y);
  color: #101010;
  font-size: 20px;
  font-weight: 800;
}

/* Bestell Smart: deaktivierte Artikel sichtbar kennzeichnen */
.artikelDeaktiviert{color:#a82424;background:#fff0ef;border-radius:8px;padding:8px 10px;font-weight:600;}


/* Bestell Smart 1.1.3 – manueller ABC/123-Tastaturumschalter.
   Nur das Eingabefeld der manuellen Suche; andere Ansichten bleiben unverändert. */
#manuelleEingabe .tastaturZeile {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 0 0 10px;
}
#manuelleEingabe .tastaturZeile #suche {
  box-sizing: border-box;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  margin: 0;
}
#manuelleEingabe .tastaturZeile #tastaturWechsel {
  box-sizing: border-box;
  flex: 0 0 58px;
  width: 58px;
  min-width: 58px;
  height: 50px;
  min-height: 50px;
  padding: 0 !important;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}
#manuelleEingabe .tastaturHinweis {
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--text);
}


/* Bestell Smart Live-Treffer unter der manuellen Artikelsuche.
   Keine Änderungen an Overlay-Scroll, Tastaturumschalter oder anderen Ansichten. */
#manuelleEingabe #ergebnis .liveHinweis {
  margin: 12px 2px 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
#manuelleEingabe #ergebnis .liveListe {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}
#manuelleEingabe #ergebnis button.liveTreffer {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}
#manuelleEingabe #ergebnis button.liveTreffer:focus-visible {
  outline: 2px solid var(--y);
  outline-offset: 2px;
}
#manuelleEingabe #ergebnis .liveNummer {
  font-size: 17px;
  font-weight: 800;
  color: var(--y);
}
#manuelleEingabe #ergebnis .liveName {
  font-size: 14px;
  line-height: 1.35;
  color: var(--text);
}


/* Bestell Smart TEST – einheitliche Trefferanzeige für Scanner und manuelle Suche */
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .artikelTrefferKarte {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .artikelDetailZeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  align-items: start;
  text-align: left;
  margin: 0;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .artikelDetailLabel {
  font-weight: 800;
  color: var(--text);
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .artikelDetailWert {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .artikelDetailBezeichnung .artikelDetailWert,
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis .artikelDetailBarcode .artikelDetailWert {
  text-align: left;
}
:is(#manuelleEingabe, #cameraBox #scanErgebnis) #ergebnis:has(.artikelTrefferKarte) > p {
  text-align: left;
}


/* Scan eines unbekannten Barcodes: identische ABC/123-Eingabe wie bei manueller Suche. */
#cameraBox #scanErgebnis #ergebnis .barcodeArtikelTastatur {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 0 0 10px;
}
#cameraBox #scanErgebnis #ergebnis .barcodeArtikelTastatur #neueArtikelnummer {
  box-sizing: border-box;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  margin: 0;
}
#cameraBox #scanErgebnis #ergebnis .barcodeArtikelTastatur #neueArtikelTastaturWechsel {
  box-sizing: border-box;
  flex: 0 0 58px;
  width: 58px;
  min-width: 58px;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0 !important;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}
#cameraBox #scanErgebnis #ergebnis .tastaturHinweis {
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--text);
}
/* TEST Favoritengruppen – ausschließlich vorhandene Designvariablen verwenden. */
#favoritenAnsicht #favoritenGruppeNeu { margin-top: 0; margin-bottom: 12px; }
#favoritenGruppen { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
#favoritenGruppen .favoritenGruppenZeile { display:flex; gap: 8px; align-items: stretch; min-width:0; }
#favoritenGruppen .favoritenGruppenAuswahl { flex:1; min-width:0; min-height:56px; padding: 10px 14px; border:1px solid var(--line); border-radius:15px; background:var(--panel); color:var(--text); text-align:left; font-size:17px; font-weight:700; overflow-wrap:anywhere; }
#favoritenGruppen .favoritenGruppenAuswahl.aktiv { border-color:var(--y); }
#favoritenGruppen .favoritenGruppenVerwalten { width:54px; min-height:56px; padding:0; border:1px solid var(--line); border-radius:15px; background:var(--panel); color:var(--text); font-size:22px; }
#favoritenAnsicht .favoritGruppenButton { min-height:42px; margin-top:12px; padding:7px 12px; border:1px solid var(--line); border-radius:12px; background:var(--bg); color:var(--text); font-size:15px; font-weight:650; }
#favoritenAnsicht .favoritGruppenPanel { margin-top:10px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--bg); }
#favoritenAnsicht .favoritGruppenPanel label { display:flex; gap:10px; align-items:center; padding:8px 0; font-size:16px; }
#favoritenAnsicht .favoritGruppenPanel input { width:22px; height:22px; accent-color:var(--y); }
#favoritenAnsicht .favoritGruppenPanel p { margin:4px 0; }

/* TEST: Gruppennamen direkt in der bestehenden Favoritenansicht eingeben. */
#favoritenGruppeForm[hidden] { display: none; }
#favoritenGruppeForm { margin: 0 0 14px; }
#favoritenGruppeForm label { display: block; margin-bottom: 8px; }
#favoritenGruppeName { width: 100%; box-sizing: border-box; }
#favoritenGruppeForm .favoritenGruppeAktionen { display: flex; gap: 10px; margin-top: 10px; }
#favoritenGruppeForm .favoritenGruppeAktionen button { flex: 1; min-width: 0; }

/* TEST: Beide Aktionen gleich gross, nebeneinander und mit gleicher Schrift. */
#favoritenGruppeForm .favoritenGruppeAktionen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
#favoritenGruppeForm .favoritenGruppeAktionen button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 62px;
  height: 62px;
  margin: 0;
  padding: 10px 8px;
  border-radius: 15px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Favoritengruppen: mobile Einspaltenansicht; vorhandene App-Farben und Buttons. */
#favoritenAnsicht, #favoritenAnsicht .favoritenInhalt, #favoritenGruppen,
#favoritenGruppen .favoritenGruppenEintrag, #favoritenGruppeForm { min-width: 0; max-width: 100%; }
#favoritenAnsicht { overflow-x: clip; }
#favoritenAnsicht .favoritenInhalt { width: min(100%, 460px); }
#favoritenGruppeForm { padding: 0; width: 100%; }
#favoritenGruppeForm label, #favoritenGruppen .favoritenGruppenBearbeiten label {
  display: block; margin: 0 0 8px; color: var(--text); font-size: 16px;
}
#favoritenGruppeName, #favoritenGruppen .favoritenGruppenBearbeiten input {
  display:block; width:100%; min-width:0; max-width:100%; height:50px;
  padding:10px 12px; box-sizing:border-box;
  border:1px solid var(--line); border-radius:12px;
  background:#fff; color:#101010; font-size:18px; line-height:1.3;
}
#favoritenGruppeForm .favoritenGruppeAktionen { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:10px; }
#favoritenGruppeForm .favoritenGruppeAktionen button,
#favoritenGruppen .favoritenGruppenBearbeitenAktionen button {
  display:flex; align-items:center; justify-content:center;
  width:100%; min-width:0; min-height:56px; height:56px; margin:0;
  padding:8px; border-radius:15px; font-size:16px; font-weight:700; line-height:1.2;
}
#favoritenAnsicht #favoritenGruppeNeu { width:100%; }
#favoritenGruppen .favoritenGruppenEintrag { width:100%; }
#favoritenGruppen .favoritenGruppenAuswahl,
#favoritenGruppen .favoritenGruppenVerwalten,
#favoritenAnsicht .favoritGruppenButton { appearance:none; -webkit-appearance:none; font-family:inherit; }
#favoritenGruppen .favoritenGruppenAuswahl { width:100%; }
#favoritenGruppen .favoritenGruppenVerwalten { flex: 0 0 54px; }
#favoritenAnsicht .favoritGruppenButton { padding: 9px 12px; font-size:16px; }
#favoritenGruppen .favoritenGruppenBearbeiten {
  width:100%; margin-top:8px; padding:14px; border:1px solid var(--line);
  border-radius:15px; background:var(--panel);
}
#favoritenGruppen .favoritenGruppenBearbeitenAktionen {
  display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:10px; margin-top:12px;
}
#favoritenGruppen .favoritenGruppeLoeschen {
  display:block; width:100%; min-height:48px; margin-top:10px;
  color:var(--text); font-size:16px; font-weight:650;
}

/* TEST Favoritengruppen: Aktionspaare exakt gleich hoch.
   Höhere Spezifität als die allgemeine .bestellButton-Regel,
   sonst keine Änderungen an den bestehenden Farben/Schriften. */
#favoritenAnsicht #favoritenGruppeForm .favoritenGruppeAktionen button,
#favoritenAnsicht #favoritenGruppen .favoritenGruppenBearbeitenAktionen button {
  box-sizing: border-box;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border-radius: 15px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sprache und Empfänger verwenden die vorhandenen Einstellungsfelder. */
#appSprache { max-width:100%; }
#empfaengerHinweis { display:block; margin-top:6px; line-height:1.4; }
#einstellungenAnsicht label[for="appSprache"], #einstellungenAnsicht label[for="bestellEmpfaenger"] { font-weight:700; }

/* TEST: alle vier Einstellungsfelder wie das bestehende VAN-Feld. */
#einstellungenAnsicht :is(#einstellungenVan, #ccEmail, #appSprache, #bestellEmpfaenger) {
  box-sizing:border-box;
  width:100%;
  height:50px;
  min-height:50px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:13px;
  font-family:inherit;
  font-size:18px;
  margin:2px 0 10px;
}
#empfaengerHinweis { color:var(--y); }

/* CC-Adresse und Aktivierung in einer Zeile, gleiche Höhe wie VAN. */
#einstellungenAnsicht .settingsCcRow {
  display:grid;
  grid-template-columns:minmax(0, 1fr) 50px;
  gap:10px;
  align-items:center;
  margin:2px 0 10px;
}
#einstellungenAnsicht .settingsCcRow #ccEmail {
  min-width:0;
  margin:0;
}
#einstellungenAnsicht .settingsCcRow #ccAktiv {
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  display:block;
  width:50px;
  height:50px;
  min-height:50px;
  margin:0;
  padding:0;
  border:1px solid var(--line);
  border-radius:13px;
  background-color:var(--panel);
  background-position:center;
  background-repeat:no-repeat;
  background-size:22px 22px;
  cursor:pointer;
}
#einstellungenAnsicht .settingsCcRow #ccAktiv:checked {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='%23aeb9bc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#einstellungenAnsicht :is(#ccAktiv, #appSprache):focus {
  outline:2px solid var(--line);
  outline-offset:2px;
}
#einstellungenAnsicht :is(#ccAktiv, #appSprache):focus-visible {
  outline-color:var(--muted);
}
#einstellungenAnsicht #empfaengerHinweis {
  margin:0 0 10px;
  font-size:13px;
  line-height:1.4;
  color:var(--y);
}

/* Originalbild und Abmessungen erhalten; nur die separate ®-Ecke ausblenden. */
.strykerOriginalLogo {
  clip-path:polygon(0 0, 94.7916667% 0, 94.7916667% 25.6024096%, 100% 25.6024096%, 100% 100%, 0 100%);
}

/* Arabic UI direction; part numbers, barcodes and numeric inputs stay LTR. */
[dir="rtl"] .favoritInfo,[dir="rtl"] .liveTreffer,[dir="rtl"] .verlaufArtikelText {text-align:start}
[dir="rtl"] .scanMain .uiIcon {margin-right:0;margin-inline-end:12px}
.artikelDetailWert,.liveNummer,.favoritInfo strong,.verlaufArtikelText strong,
input[type="number"],input[type="email"],#suche,#einstellungenVan,#bestellEmpfaenger,#ccEmail {direction:ltr;unicode-bidi:isolate}
