/* Modul eBay-Bestellungen, Bestellakte: Stilregeln, die nur die Akte braucht (Artikel der Bestellung, Anschriften, Preise,
   Rechnung). Die Akte selbst (af-akte, ak-…) steht in oo.css – hier nie etwas davon überschreiben, nur unter .eb-akte
   ergänzen. Klassen mit der Vorsilbe eb-ak-… (die Akte selbst eb-akte). Eingebunden in Dokument.razor nach oo.ebay.css.
   Nur Marken aus oo.css (hell und dunkel); Blau gibt es hier nicht. */

/* Laden, Fehler, die Zeile „im PC-Programm“ */
.eb-ak-laedt { margin: 16px 14px; color: var(--tinte-5); }
.eb-ak-fehler { margin-top: 40px; }
.eb-ak-fehler .kn { justify-self: center; margin-top: 8px; }
.eb-ak-pc { flex: 0 0 auto; margin: 0; padding: 7px 14px 8px; border-top: 1px solid var(--linie); background: var(--grund); color: var(--tinte-5); font-size: 12px; }
.eb-ak-blass { color: var(--tinte-5); font-size: 12px; font-weight: 400; }

/* Kopf: Bestellnummer mit Kopierknopf, Aktionen umbrechen im schmalen Blatt */
.eb-ak-nr { display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.eb-ak-nr .kopie { width: 22px; height: 22px; opacity: 0; }
.eb-ak-nr:hover .kopie, .eb-ak-nr .kopie:focus-visible { opacity: 1; }
.eb-akte .ak-aktionen { row-gap: 6px; }

/* Die Beschriftungen der Bestelldetails sind länger als in der Kundenakte („Versanddienstleister“, „Rechnungsnummer“):
   die Spalte ist darum 132 px breit statt 124 – am PC wie am Handy. ☠️ In 124 bzw. 104 px lief „Versanddienstleister“ in
   den Wert, und „Rechnungsnummer“ brach mitten im Wort (im Wirt bei 390 px gesehen). Was trotzdem nicht passt, bricht um. */
.eb-akte .ak-zeile { grid-template-columns: 132px minmax(0, 1fr) 22px; }
.eb-akte .ak-zeile .wl { min-width: 0; overflow-wrap: anywhere; }

/* Die Werte der Bestelldetails stehen ganz da und brechen um (SKU, Sendungsnummer, Versandart, USt-IdNr., E-Mail): hier
   liest man nach, und am Handy gibt es kein Überfahren für den Tooltip. ☠️ Einzeilig schnitt der Browser lange Werte
   ohne „…“ ab: der Wert ist eine Flex-Zeile (für die Marke dahinter), und text-overflow gilt in einem Flex-Behälter nicht
   (Durchsicht 12.11.2026). Die Zeile wächst mit (min-height in oo.css). */
.eb-akte .ak-zeile .w, .eb-akte .ak-zeile a { white-space: normal; overflow-wrap: anywhere; }

/* Abschnittskopf mit „Kopieren“ */
.eb-ak-abkopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.eb-ak-abkopf h3 { margin-bottom: 0; }
.eb-ak-abkopf .kn { height: 24px; padding: 0 6px; color: var(--tinte-4); font-size: 12px; }
.eb-ak-wert { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.eb-ak-wert .abz { flex: 0 0 auto; }

/* Hervorgehoben (Gesamt, Offen), abgesetzt (eBay-Gebühr unter dem Strich), Notiz des Käufers */
.eb-akte .ak-zeile.stark .w { color: var(--tinte-1); font-size: 14px; font-weight: 600; }
.eb-akte .ak-zeile.stark.alarm .w { color: var(--alarm); }
.eb-akte .ak-zeile.abgesetzt { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--linie-fein); }
.eb-akte .ak-zeile.abgesetzt .w { color: var(--tinte-4); }
.eb-akte .ak-zeile.notiz { align-items: start; }
.eb-akte .ak-zeile.notiz .w { padding: 3px 6px; border-radius: 3px; background: var(--warn-grund); color: var(--tinte-1); white-space: pre-wrap; overflow-wrap: anywhere; }
.eb-ak-preise .ak-zeile .w { justify-content: flex-end; font-variant-numeric: tabular-nums; }

/* Positionen: Bezeichnung über ihrer Zeilengruppe, Haarlinie dazwischen */
.eb-ak-pos { display: grid; padding: 6px 0 7px; border-bottom: 1px solid var(--linie-fein); }
.eb-ak-pos:last-child { border-bottom: 0; padding-bottom: 0; }
.eb-ak-pos-titel { display: grid; gap: 1px; margin-bottom: 3px; }
.eb-ak-pos-titel strong { color: var(--tinte-1); font-weight: 600; overflow-wrap: anywhere; }
.eb-ak-variante { color: var(--tinte-4); font-size: 12px; font-style: italic; }
.eb-akte .ak-zeile.eb-ak-preis { grid-template-columns: 132px minmax(0, 1fr) auto; }
.eb-ak-preis .w, .eb-ak-sendung a { font-variant-numeric: tabular-nums; }
.eb-ak-summe { color: var(--tinte-1); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Anschriften als Block, der Name voran */
.eb-ak-anschrift { display: grid; gap: 1px; margin-bottom: 4px; color: var(--tinte-2); }
.eb-ak-lieferadresse .eb-ak-anschrift span:first-child { color: var(--tinte-1); font-weight: 600; }

/* Hinweis „Sendungsnummer liegt vor, eBay meldete keinen Versand“, Verweis zur Rechnung */
.eb-ak-hinweis { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; color: var(--warn); font-size: 12px; }
.eb-ak-hinweis .sym { flex: 0 0 auto; margin-top: 2px; }
.eb-ak-verweis { display: inline-block; margin-top: 6px; color: var(--tinte-1); font-weight: 600; text-decoration: underline; text-decoration-color: var(--linie-stark); text-underline-offset: 2px; }
.eb-ak-verweis:hover { text-decoration-color: var(--tinte-3); }

/* Ohne Zeigen mit der Maus (Handy, Tablet) gibt es kein Überfahren: die Kopierknöpfe stehen immer da. */
@media (hover: none) {
  .eb-akte .ak-zeile .kopie, .eb-ak-nr .kopie { opacity: 1; }
}

