/* Scan-Helfer für den CargoSoft-Scanner (28.09.2026) - nur bei APP_SCANNER.
   Handschuh-tauglich: große Flächen, eine Spalte; die Nummer steht groß. */
.sh-kamera {
  position: relative;
  margin: 0 0 0.7rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--color-surface-line);
}
.sh-video {
  display: block;
  width: 100%;
  height: min(52vh, 360px);
  object-fit: cover;
}
/* Die rote Linie zeigt das Band, das gelesen wird (mittlere Hälfte). */
.sh-linie {
  position: absolute;
  left: 6%; right: 6%;
  top: 50%;
  height: 2px;
  background: #ff4d4d;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 77, 77, 0.8);
  pointer-events: none;
}
.sh-kamera-knopf { margin-bottom: 0.5rem; }
.sh-foto { position: relative; overflow: hidden; margin-bottom: 0.5rem; }
.sh-datei { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.sh-meldung, .sh-kopiert {
  min-height: 1.3em;
  margin: 0.3rem 0 0.8rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.sh-meldung.ok, .sh-kopiert.ok { color: #4ade80; font-weight: 600; }
.sh-meldung.fehler, .sh-kopiert.fehler { color: #fca5a5; }

.sh-beschriftung { display: block; margin: 0.4rem 0 0.3rem; font-weight: 600; }
.sh-feld-reihe { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; }
.sh-nummer {
  flex: 1;
  min-width: 0;
  min-height: 58px;
  padding: 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid var(--color-surface-line);
  background: var(--color-bg);
  color: var(--color-text);
}
.sh-nummer:focus { outline: 2px solid var(--color-accent-bright); outline-offset: 2px; }
.sh-abc { flex: none; min-width: 64px; min-height: 58px; }
.sh-kopieren { min-height: 62px; font-size: 1.15rem; }
.sh-cargosoft {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 1.2rem;
}

.sh-unter { margin: 0.4rem 0 0.4rem; font-size: 1rem; }
.sh-leer { color: var(--color-text-dim); font-size: 0.9rem; }
.sh-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  min-height: 52px;
  font: inherit;
  text-align: left;
  color: var(--color-text);
  cursor: pointer;
}
.sh-zeile-nr { font-family: var(--font-mono); font-size: 1.05rem; overflow-wrap: anywhere; }
.sh-zeile-tat { flex: none; font-size: 0.8rem; color: var(--color-accent-bright); }
.sh-zeile:active { transform: scale(0.99); }
