/* Dateien, weitere Funktionen: Hochladen-Streifen, Bild vergrößern, Bearbeiten, Link-Blatt, Ablegen. Nur Token aus neu.css, nur transform und opacity bewegt. */

/* Hochladen: ein Streifen über der Hauptaktion, mit Fortschritt und Abbrechen; Knopf immer am selben Platz */
.ladung { position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(var(--leiste-h) + var(--sp) + 74px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px 14px; border-radius: var(--r); overflow: hidden;
  background: var(--glas); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: var(--hoehe-hoch); }
.ladung-text { flex: 1; min-width: 0; display: grid; }
.ladung-zahl { font-weight: 600; }
.ladung-name { color: var(--leise); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ladung .knopf { flex: none; min-height: 38px; padding: 0 14px; }
.ladung-balken { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--text) 10%, transparent); }
.ladung-balken i { display: block; width: 100%; height: 100%; background: var(--blau); transform: scaleX(0); transform-origin: left; transition: transform .2s linear; }
body:has(.ladung) .meldung { bottom: calc(var(--leiste-h) + var(--sp) + 148px + env(safe-area-inset-bottom)); }   /* die Meldung weicht dem Streifen aus */
@media (min-width: 900px) { body:has(.ladung) .meldung { bottom: 100px; } .ladung { bottom: 28px; left: 288px; right: 40px; } }

/* Ablegen am PC */
.ablegen { outline: 2px dashed var(--blau); outline-offset: -6px; border-radius: var(--r); }

/* Vorschau: Bild antippbar, Bearbeiten */
.vorschau img.antippbar { cursor: zoom-in; }
.feld.editor { min-height: 38dvh; max-height: 55dvh; resize: vertical; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre; overflow: auto; }
.zoom { position: fixed; inset: 0; z-index: 70; background: #000; animation: ein .18s ease-out backwards; }
.zoom-buehne { position: absolute; inset: 0; display: grid; place-items: center; overflow: auto; -webkit-overflow-scrolling: touch; }
.zoom-buehne img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.zoom-buehne.gross { display: block; }
.zoom-buehne.gross img { max-width: none; max-height: none; width: 220%; cursor: zoom-out; }
.zoom-zu { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(40, 40, 44, .72); color: #fff; }

/* Blatt mit Auswahlzeilen und Knopfspalte */
.knopfspalte { display: grid; gap: 8px; margin-top: 14px; }
.linkblatt .feld { margin-top: 10px; }
.linkblatt .knopfreihe { margin-top: 14px; }
.blatt .knopf[href] { text-align: center; }
