/* OEZ Premium · Seiten-CSS „kundenportal“
   Besitz: S10 Kundenportal – Händlerbereich (Plugin oez_haendler_dashboard, Seitentyp Plugin), Mein Konto, Bestelllisten/Wunschzettel.
   Eingehängt in layout/header.tpl (Block layout-header-head-css) auf PAGE_MEINKONTO, PAGE_WUNSCHLISTE und PAGE_PLUGIN.
   Ersetzt die Plugin-Mini-CI (frontend/css/dashboard.css, integration.css, claims.css: eigenes Token-Set, DM Sans/Manrope per Google-@import,
   13 px Basis) – alle Regeln hier nur mit Tokens aus premium-tokens.css, keine Hex-Werte, kein Dark-Mode, kein externer Request.
   Plugin-Selektoren (.st-*, .rma-*, data-*) bleiben Hooks für dashboard.js/claims.js/scanner.js und werden nur über .oez-portal gestylt,
   damit andere Plugin-Seiten (gleicher Seitentyp) unberührt bleiben. Scanner-Dialog: plugins/oez_haendler_dashboard/frontend/css/scanner.css.
   Abschnitte: A Rahmen & Navigation · B Händlerbereich-Übersicht und Views · C Reklamationscenter · D Standard-Konto (jtl.php) */

/* == A · Rahmen & Navigation ======================================================================= */
.oez-portal { --oez-portal-gap: var(--oez-s-6); padding-block: var(--oez-s-4) var(--oez-s-12); /* Regel 12.11. spätabends: erstes Element 16 px unter der Brotkrume */ color: var(--oez-ink); font-family: var(--oez-font-text); font-size: var(--oez-fs-16); line-height: var(--oez-lh-text); }
.oez-portal *, .oez-portal *::before, .oez-portal *::after { box-sizing: border-box; }
.oez-portal .oez-dash { gap: var(--oez-portal-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .oez-portal .oez-dash { grid-template-columns: 240px minmax(0, 1fr); column-gap: var(--oez-s-8); } } /* PORTAL-05 */
.oez-portal a:not(.oez-btn), .oez-portal .oez-status-strip a, .oez-portal .oez-row__title a, .oez-portal .oez-product__name a { text-decoration: none !important; }
.oez-portal p a:not(.oez-btn), .oez-portal .oez-conditions a, .oez-portal .oez-help a, .oez-portal .oez-row__title a:hover, .oez-portal .oez-product__name a:hover { text-decoration: underline !important; text-underline-offset: .18em; }
.oez-portal__top { display: grid; gap: var(--oez-s-3); min-width: 0; }
/* Chips-Zeile scrollt in sich: ohne Containment trägt ihre Inhaltsbreite (alle Chips) die Seite auf (Snackys #content ist Flex-Item). */
.oez-portal-nav--chips { contain: inline-size; min-width: 0; max-width: 100%; }
/* Aktiver Bereich steht mobil vorn in der Chip-Zeile (sonst außerhalb des Sichtfelds); folgt aria-current auch beim View-Wechsel per dashboard.js */
.oez-account-nav--chips li:has(> a[aria-current]) { order: -1; }
.oez-portal { min-width: 0; max-width: 100%; }
.oez-portal__main { display: grid; gap: var(--oez-portal-gap); min-width: 0; align-content: start; }
.oez-portal__main > * { min-width: 0; }
.oez-portal__main > [hidden] { display: none !important; }
.oez-portal__view { display: grid; gap: var(--oez-portal-gap); min-width: 0; align-content: start; }
.oez-portal__view[hidden] { display: none !important; }
.oez-portal .oez-dash__side { align-content: start; }
.oez-portal__contact { min-width: 0; }
@media (max-width: 1023px) {
  .oez-portal .oez-dash__side { order: 3; }
  .oez-portal .oez-portal__contact { order: 4; }
  .oez-portal .oez-portal__top { order: 1; }
  .oez-portal .oez-portal__main { order: 2; }
  .oez-portal .oez-portal-nav--side { display: none; }
}
@media (min-width: 1024px) {
  .oez-portal .oez-portal__top { display: none; }
  .oez-portal .oez-dash { grid-template-rows: auto auto 1fr; }
  .oez-portal .oez-dash__side { grid-column: 1; grid-row: 1; }
  .oez-portal .oez-portal__contact { grid-column: 1; grid-row: 2; align-self: start; }
  .oez-portal .oez-portal__main { grid-column: 2; grid-row: 1 / span 3; }
}
.oez-portal .oez-account-nav a, .oez-portal .oez-account-nav button { text-decoration: none !important; }
.oez-portal .oez-account-nav .oez-icon { flex: 0 0 auto; }
.oez-portal .oez-account-nav a:focus-visible, .oez-portal .oez-account-nav button:focus-visible,
.oez-portal .oez-account-nav a.st-nav:focus-visible, .oez-portal .oez-account-nav a.st-nav.active:focus-visible, .oez-portal .oez-account-nav a[aria-current]:focus-visible { outline: 2px solid var(--oez-orange-text); outline-offset: 2px; box-shadow: none; }
/* Gate 2 PA-02: Farbe nie einziges Fokus-/Hoversignal – Snackys färbt Links bei :hover/:focus orange (2,4:1) */
.oez-portal .oez-account-nav a:hover, .oez-portal .oez-account-nav a:focus { color: var(--oez-ink); }
.oez-portal .oez-account-nav--chips a[aria-current]:hover, .oez-portal .oez-account-nav--chips a[aria-current]:focus { color: var(--oez-white); }
.oez-portal-nav--side .oez-account-nav__group:first-child { padding-top: 0; }
/* Seitenköpfe der Views: eine H1 je sichtbarer View */
.oez-portal__head { display: grid; gap: var(--oez-s-2); text-align: left; justify-items: start; }
.oez-portal__head h1 { margin: 0; font-weight: var(--oez-fw-num); font-size: var(--oez-fs-24); line-height: var(--oez-lh-tight); }
.oez-portal__head p { margin: 0; color: var(--oez-ink-2); max-width: 64ch; }
@media (min-width: 768px) { .oez-portal__head h1 { font-size: var(--oez-fs-30); } }
.oez-portal .oez-card > h2, .oez-portal .oez-card__head h2 { margin: 0; font-size: var(--oez-fs-24); line-height: var(--oez-lh-tight); letter-spacing: -0.01em; } /* Feinschliff PORTAL-04: Kartentitel 24/30 wie Katalog .oez-card > h2 */
.oez-portal h2, .oez-portal h3 { color: var(--oez-ink); }
.oez-portal :where(a:not(.oez-btn, .st-nav, .oez-whatsapp)) { color: var(--oez-ink); }
.oez-portal .oez-account-nav--chips a[aria-current], .oez-portal .oez-account-nav--chips a[aria-current] .oez-icon { color: var(--oez-white); }
.oez-portal h1 { font-weight: var(--oez-fw-num); }
/* Ansprechpartnerin in der schmalen Seitenleiste: Person oben, Kontaktwege darunter */
.oez-portal-contact { display: grid; gap: var(--oez-s-3); }
.oez-portal-contact .oez-person { grid-template-columns: 64px minmax(0, 1fr); gap: var(--oez-s-3); align-items: center; }
.oez-portal-contact > .oez-btn { justify-self: start; }
.oez-portal-contact .oez-person__photo { width: 64px; height: 64px; } /* PORTAL-13 */
@media (min-width: 1024px) { .oez-portal-contact .oez-person { grid-template-columns: 1fr; } } /* Seitenleiste 240 px: Foto über dem Text */
.oez-portal-contact .oez-person__role, .oez-portal-contact .oez-help { font-size: var(--oez-fs-13); color: var(--oez-ink-3); }
.oez-portal-contact .oez-person__role { display: block; }
.oez-portal-contact__links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--oez-s-1); }
.oez-portal-contact__links a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--oez-s-2); align-items: start; min-height: var(--oez-control); padding: var(--oez-s-2) 0; color: var(--oez-ink); text-decoration: none !important; }
.oez-portal-contact__links .oez-icon { color: var(--oez-orange-text); margin-top: 2px; }
.oez-portal-contact__links b { display: block; font-size: var(--oez-fs-14); overflow-wrap: anywhere; }
.oez-portal-contact__links small { display: block; font-size: var(--oez-fs-13); color: var(--oez-ink-3); }
.oez-portal-contact__links a:hover b { text-decoration: underline; }
.oez-portal-contact .oez-whatsapp { justify-self: start; }
.oez-portal .oez-collection > .oez-badge { justify-self: start; }
/* Mobil: eine untere Aktionsleiste (Scanner) ist das einzige klebende Element (Shell §16) */
.oez-portal .oez-sticky-bar .oez-btn { min-height: var(--oez-control); }

/* == B · Händlerbereich: Übersicht und Views ======================================================= */
/* Snackys/Layout gibt auf Plugin-Seiten <h1>{Linktitel}</h1> in #content aus – im Portal trägt jede View ihre eigene H1. */
#content:has(> .oez-portal) > h1, #content:has(> #oez-studio) > h1 { display: none; }
/* Snackys-Überschriften (Versalien, Display-Schrift) im Portal neutralisieren */
.oez-portal h1, .oez-portal h2, .oez-portal h3, .oez-portal h4 { text-transform: none; letter-spacing: normal; font-family: var(--oez-font-text); color: var(--oez-ink); }
.oez-portal h2 { font-size: var(--oez-fs-20); font-weight: var(--oez-fw-num); line-height: var(--oez-lh-tight); margin: 0; }
.oez-portal h3 { font-size: var(--oez-fs-18); font-weight: var(--oez-fw-strong); line-height: var(--oez-lh-tight); margin: 0; }
.oez-portal .oez-card__head { align-items: flex-start; flex-wrap: wrap; }
.oez-portal .oez-card__head .oez-kicker { display: block; margin-bottom: var(--oez-s-1); }
.oez-portal .oez-card > h2 + p, .oez-portal .oez-card > h2 + .oez-text-sm { margin-top: var(--oez-s-2); }
.oez-portal .oez-mt-3 { margin-top: var(--oez-s-3); } .oez-portal .oez-mt-4 { margin-top: var(--oez-s-4); }
.oez-portal p { margin: 0; }
.oez-portal .oez-help { font-size: var(--oez-fs-13); color: var(--oez-ink-3); }

/* Hinweis nach Aktion (st-notice) mit Schließen-Knopf */
.oez-portal__notice { grid-template-columns: auto 1fr auto; align-items: start; }
.oez-portal__notice .oez-alert__actions { grid-column: auto; }
.oez-portal__notice[hidden] { display: none; }
.oez-alert__close { width: 44px; height: 44px; margin: calc(-1 * var(--oez-s-2)) calc(-1 * var(--oez-s-3)) 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--oez-ink-2); display: grid; place-content: center; cursor: pointer; }
.oez-alert__close:hover { background: var(--oez-white); color: var(--oez-ink); }
.oez-alert__close:focus-visible { outline: 2px solid var(--oez-orange-text); outline-offset: 2px; }

/* Kopf mit Ladenfoto (kompakt: „Deine letzte Bestellung“ bleibt mobil im ersten Bildschirm) */
.oez-portal .oez-dash-hero { min-height: 0; padding: var(--oez-s-5); gap: var(--oez-s-2); text-align: left; justify-items: start; }
.oez-portal .oez-dash-hero__title { font-size: var(--oez-fs-24); font-weight: var(--oez-fw-num); line-height: var(--oez-lh-tight); padding-right: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .oez-portal .oez-dash-hero { padding: var(--oez-s-6); } .oez-portal .oez-dash-hero__title { font-size: var(--oez-fs-30); padding-right: 200px; } }
@media (max-width: 767px) {
  .oez-portal { --oez-portal-gap: var(--oez-s-6); } /* PORTAL-05: mobil 24 px */
  .oez-portal .oez-dash-hero { padding: var(--oez-s-4); }
  .oez-portal .oez-dash-hero > .oez-kicker { display: none; }
  .oez-portal .oez-dash-hero__edit { position: static; justify-self: start; order: 9; min-height: 0; }
  .oez-portal .oez-card { padding: var(--oez-s-4); }
}
#content:has(> .oez-portal) > #alert-list:empty { display: none; }
.oez-portal a.oez-btn:not(.oez-btn--link), .oez-portal a.oez-whatsapp { text-decoration: none !important; }
.oez-portal a.oez-btn--link { text-decoration: underline !important; text-underline-offset: .18em; } /* PORTAL-10: Link-Buttons einheitlich unterstrichen */
.oez-portal .oez-dash-hero__edit { min-height: var(--oez-control-sm); }
.oez-portal .oez-dash-hero__store { font-weight: var(--oez-fw-strong); color: var(--oez-ink); overflow-wrap: anywhere; }
.oez-portal-pos--0 { object-position: center 0%; } .oez-portal-pos--10 { object-position: center 10%; } .oez-portal-pos--20 { object-position: center 20%; }
.oez-portal-pos--30 { object-position: center 30%; } .oez-portal-pos--40 { object-position: center 40%; } .oez-portal-pos--50 { object-position: center 50%; }
.oez-portal-pos--60 { object-position: center 60%; } .oez-portal-pos--70 { object-position: center 70%; } .oez-portal-pos--80 { object-position: center 80%; }
.oez-portal-pos--90 { object-position: center 90%; } .oez-portal-pos--100 { object-position: center 100%; }

/* Wartestatus: Schritte in einer Reihe ab 768 px */
.oez-portal-wait h2 { font-size: var(--oez-fs-24); }
.oez-portal .oez-steps--row { gap: var(--oez-s-4); }
@media (min-width: 768px) { .oez-portal .oez-steps--row { grid-template-columns: repeat(3, 1fr); } }
.oez-portal .oez-steps > li > div > b { font-size: var(--oez-fs-16); }

/* Zeilen (Nachkauf, Listen, Bestellungen) */
.oez-portal .oez-row__body { min-width: 0; }
.oez-portal .oez-row__title { overflow-wrap: anywhere; }
.oez-portal .oez-row__title a { text-decoration: none; }
.oez-portal .oez-row__title a:hover { text-decoration: underline; }
.oez-portal .oez-row__price { display: grid; justify-items: end; line-height: 1.2; }
.oez-portal .oez-row__amount { white-space: nowrap; } /* Prüfung 1.2.5 WL-01: Betrag mit hochgestellter 3. Stelle und € bleibt eine Zeile */
.oez-portal .oez-row__price--locked { display: inline-flex; align-items: center; gap: var(--oez-s-1); color: var(--oez-ink-3); }
.oez-portal .oez-row__price--locked small { display: inline; }
.oez-portal .oez-row.is-out .oez-row__media, .oez-portal .oez-row.is-out .oez-row__title { opacity: .6; }
.oez-portal .oez-row.is-out .oez-stock { display: inline-flex; margin-top: 2px; }
.oez-portal .oez-row.is-current { background: var(--oez-orange-50); margin-inline: calc(-1 * var(--oez-s-3)); padding-inline: var(--oez-s-3); border-radius: var(--oez-r-sm); }
.oez-portal .oez-qty--sm { height: var(--oez-control); grid-template-columns: 44px 52px 44px; }
.oez-portal .oez-qty button .oez-icon { width: 16px; height: 16px; }
.oez-portal .oez-qty input { font-size: var(--oez-fs-16); min-width: 0; }
.oez-portal .oez-row__actions .oez-btn--sm { min-height: var(--oez-control); }
@media (max-width: 639px) {
  .oez-portal-orders .oez-row { grid-template-columns: 1fr; }
  .oez-portal-orders .oez-row__actions { justify-content: flex-start; }
  .oez-portal .oez-row--product .oez-row__price { justify-items: start; margin-right: auto; }
}
.oez-portal .oez-thumbs img { width: 56px; height: 56px; }
.oez-portal-poslist { list-style: none; margin: var(--oez-s-2) 0 0; padding: 0; display: grid; gap: 0; font-size: var(--oez-fs-14); }
.oez-portal-poslist li { display: flex; justify-content: space-between; gap: var(--oez-s-4); padding: var(--oez-s-2) 0; border-bottom: 1px solid var(--oez-line); }
.oez-portal-poslist li:last-child { border-bottom: 0; }
.oez-portal-poslist b { white-space: nowrap; }
.oez-portal-poslist b::after { content: " ×"; color: var(--oez-ink-3); font-weight: var(--oez-fw-ui); }
.oez-portal-rebuy { margin-top: var(--oez-s-6); padding-top: var(--oez-s-5); border-top: 1px solid var(--oez-line); display: grid; gap: var(--oez-s-3); }
.oez-portal__inline-form { display: contents; }
.oez-portal-enterguard { display: none !important; }
.oez-portal-rebuy__block + .oez-portal-rebuy__block { margin-top: var(--oez-s-5); padding-top: var(--oez-s-4); border-top: 1px dashed var(--oez-line); }

/* Scanner-Leiste im Inhalt: nicht klebend */
.oez-portal .oez-scan-bar { position: static; }
.oez-portal .oez-scan-bar b { color: var(--oez-white); }
.oez-portal .oez-scan-bar .oez-btn { min-height: var(--oez-control); }
@media (max-width: 767px) { .oez-portal .oez-scan-bar.st-scan-entry { display: none; } } /* mobil trägt die untere Leiste den Scanner */
.oez-portal .oez-upload { cursor: pointer; }
.oez-portal .oez-upload:focus-within { outline: 2px solid var(--oez-orange-text); outline-offset: 2px; }
.oez-portal .oez-upload span { font-size: var(--oez-fs-13); color: var(--oez-ink-3); }

/* Status-Strip */
.oez-portal .oez-status-strip a { min-height: 64px; }
.oez-portal .oez-status-strip .oez-icon { width: 24px; height: 24px; color: var(--oez-ink); } /* PORTAL-09: Händlerbereich und Konto gleich */

/* Warenkorb + Konditionen nebeneinander ab 768 px */
.oez-portal-2 { display: grid; gap: var(--oez-portal-gap); align-items: start; }
@media (min-width: 768px) { .oez-portal-2 { grid-template-columns: 1fr 1fr; } .oez-portal-2 > :only-child { grid-column: 1 / -1; } }
.oez-portal .oez-conditions { margin: 0; }
.oez-portal .oez-link--arrow { display: inline-flex; align-items: center; gap: .35em; min-height: var(--oez-control-sm); }
.oez-portal-fill--5 { --oez-progress-value: 5%; } .oez-portal-fill--10 { --oez-progress-value: 10%; } .oez-portal-fill--15 { --oez-progress-value: 15%; }
.oez-portal-fill--20 { --oez-progress-value: 20%; } .oez-portal-fill--25 { --oez-progress-value: 25%; } .oez-portal-fill--30 { --oez-progress-value: 30%; }
.oez-portal-fill--35 { --oez-progress-value: 35%; } .oez-portal-fill--40 { --oez-progress-value: 40%; } .oez-portal-fill--45 { --oez-progress-value: 45%; }
.oez-portal-fill--50 { --oez-progress-value: 50%; } .oez-portal-fill--55 { --oez-progress-value: 55%; } .oez-portal-fill--60 { --oez-progress-value: 60%; }
.oez-portal-fill--65 { --oez-progress-value: 65%; } .oez-portal-fill--70 { --oez-progress-value: 70%; } .oez-portal-fill--75 { --oez-progress-value: 75%; }
.oez-portal-fill--80 { --oez-progress-value: 80%; } .oez-portal-fill--85 { --oez-progress-value: 85%; } .oez-portal-fill--90 { --oez-progress-value: 90%; }
.oez-portal-fill--95 { --oez-progress-value: 95%; } .oez-portal-fill--100 { --oez-progress-value: 100%; }

/* Neu im Sortiment: schlanke Karten */
.oez-portal-section { display: grid; gap: var(--oez-s-4); }
.oez-portal-section__head { margin-bottom: 0; align-items: flex-end; }
.oez-portal-products.oez-grid--products { --oez-grid-min: 160px; }
@media (min-width: 1024px) { .oez-portal-products.oez-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.oez-portal-tile .oez-product__name { font-size: var(--oez-fs-14); }
.oez-portal-tile .oez-product__name a { text-decoration: none; }
.oez-portal .oez-portal-tile .oez-product__media > img[width][height]:not(.zoomImg) { width: calc(100% - 2 * var(--oez-s-4)) !important; height: calc(100% - 2 * var(--oez-s-4)) !important; max-width: none; }

/* Leerzustände, Formulare */
.oez-portal-empty { padding: var(--oez-s-8) var(--oez-s-5); }
.oez-portal .oez-card > .oez-empty { border: 0; background: transparent; padding: var(--oez-s-6) var(--oez-s-4); }
.oez-card.oez-portal-empty { border-style: dashed; box-shadow: none; }
.oez-portal-empty .oez-icon--lg { width: 32px; height: 32px; color: var(--oez-ink-3); }
.oez-portal-save { display: grid; gap: var(--oez-s-3); }
@media (min-width: 480px) { .oez-portal-save { grid-template-columns: 1fr auto; align-items: end; } }
.oez-portal .oez-field { display: grid; gap: var(--oez-s-1); }
.oez-portal .oez-label { font-weight: var(--oez-fw-label); font-size: var(--oez-fs-14); }
.oez-portal-settings { display: grid; gap: var(--oez-s-4); max-width: 640px; }
.oez-portal-photo { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--oez-r-md); border: 1px solid var(--oez-line); }
.oez-portal-photo[hidden] { display: none; }
.oez-portal-range { width: 100%; min-height: var(--oez-control); accent-color: var(--oez-orange); }
.oez-portal-pagination { display: flex; justify-content: space-between; align-items: center; gap: var(--oez-s-3); flex-wrap: wrap; font-size: var(--oez-fs-14); }
.oez-portal .oez-collection { position: relative; }

/* Dialoge: groß, mobil Vollbild (.oez-modal--full) */
.oez-portal .oez-modal--full { width: min(96vw, 760px); max-height: min(90vh, 900px); }
.oez-portal-dialog { display: grid; grid-template-rows: auto 1fr auto; max-height: inherit; min-height: 0; }
.oez-portal-dialog > form { display: contents; }
.oez-portal .oez-modal__body { overflow: auto; min-height: 0; }
.oez-portal .oez-modal__head h2 { margin: 0; }
.oez-portal .oez-modal__foot { align-items: center; justify-content: space-between; padding-top: var(--oez-s-4); border-top: 1px solid var(--oez-line); }
.oez-portal .oez-modal__foot > :only-child { margin-left: auto; }
.oez-portal-dialog__delete { border-top: 0 !important; padding-top: 0 !important; }
@media (max-width: 767px) {
  .oez-portal .oez-modal--full { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .oez-portal .oez-modal__head, .oez-portal .oez-modal__body, .oez-portal .oez-modal__foot { padding-inline: var(--oez-gutter); }
}

/* Kein Zugriff (denied.tpl) */
.oez-portal--denied { display: grid; place-items: start center; }
.oez-portal-denied { display: grid; gap: var(--oez-s-3); max-width: 640px; width: 100%; }
.oez-portal-denied h1 { font-size: var(--oez-fs-30); margin: 0; }

/* Gate 2 KD-04 · Nick N17 a) (12.11.): Portal-H1 in der Display-Schrift wie im übrigen Shop (.oez-display-md), Anrede „Hallo {Vorname}“.
   Steht am Ende von B, damit sie die Neutralisierung oben (Manrope) für H1 überstimmt; H2/H3 bleiben Manrope. Lange Namen brechen um. */
.oez-portal h1, .oez-portal .oez-portal__head h1, .oez-portal .oez-dash-hero__title, .oez-portal .oez-portal-denied h1 {
  font-family: var(--oez-font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--oez-ls-display);
  line-height: var(--oez-lh-display); font-size: var(--oez-display-md); text-wrap: balance; overflow-wrap: anywhere; hyphens: auto;
}

.oez-portal .oez-card__head:has(> .oez-btn--link) { flex-wrap: nowrap; } /* PORTAL-11 */
.oez-portal .oez-card__head:has(> .oez-btn--link) > .oez-btn--link { flex: 0 0 auto; white-space: nowrap; }
@media (min-width: 1024px) { .oez-portal .oez-account-nav--side .oez-icon { width: 20px; height: 20px; } } /* PORTAL-16 */
/* PORTAL-06: Konditionen über volle Breite, innen zweispaltig ab 1024 px; Warenkorb + Bestelllisten als Zweispalter */
@media (min-width: 1024px) { .oez-portal .oez-portal-cond .oez-conditions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--oez-s-4) var(--oez-s-8); } }
/* PORTAL-12: Karten ohne Bild mit Platzhalter, Markenzeile hält die Höhe */
.oez-portal-tile .oez-product__media .oez-photo--placeholder { position: absolute; inset: var(--oez-s-4); display: grid; place-items: center; min-height: 0; padding: 0; color: var(--oez-ink-3); }
.oez-portal-tile .oez-product__brand { min-height: 1lh; }
/* PORTAL-08: Konto-Übersicht mit Kopf wie im Händlerbereich (bis S10-10 Redirect) */
.oez-portal--konto .oez-konto-hero { margin: 0; }

/* == C · Reklamationscenter (claims.tpl, claim-center.tpl) ========================================= */
/* Systemklassen aus premium-components.css (.oez-alert, .oez-chip, .oez-case, .oez-timeline, .oez-rows, .oez-form-row, .oez-upload, .oez-steps--row,
   .oez-modal, .oez-empty, .oez-pagination); hier nur Layout, Lücken (.oez-modal--full) und 44-px-Touch-Ziele. Hooks [data-rma-*] bleiben ungestylt. */
.oez-portal .oez-rma, .oez-portal .oez-rma-legacy { display: grid; gap: var(--oez-s-5); min-width: 0; }
.oez-portal .oez-rma [hidden], .oez-portal .oez-rma-legacy [hidden] { display: none !important; }
.oez-portal .oez-rma .oez-portal__head, .oez-portal .oez-rma .oez-portal__head h1 { text-align: start; }
.oez-portal .oez-rma-legacy > h2 { margin: 0; font-size: var(--oez-fs-20); line-height: var(--oez-lh-tight); }
.oez-portal .oez-rma__h3 { margin: 0; font-size: var(--oez-fs-16); font-weight: var(--oez-fw-strong); line-height: var(--oez-lh-tight); }
.oez-portal .oez-rma__muted, .oez-portal .oez-rma__pageinfo { margin: 0; font-size: var(--oez-fs-14); color: var(--oez-ink-3); }
.oez-portal .oez-rma__lead { margin: 0; color: var(--oez-ink-2); }
.oez-portal .oez-rma-text { white-space: pre-line; overflow-wrap: anywhere; }
.oez-portal .oez-rma p, .oez-portal .oez-rma-legacy p { margin: 0; }
/* Intro: Hinweis mit Primär-Button (mobil volle Breite, ab 768 rechts) */
.oez-portal .oez-rma__intro .oez-alert__actions .oez-btn { white-space: normal; }
@media (max-width: 767px) { .oez-portal .oez-rma__intro .oez-alert__actions { grid-column: 1 / -1; } .oez-portal .oez-rma__intro .oez-alert__actions .oez-btn { width: 100%; } }
@media (min-width: 768px) { .oez-portal .oez-rma__intro { grid-template-columns: auto 1fr auto; align-items: center; } .oez-portal .oez-rma__intro .oez-alert__actions { grid-column: 3; margin-top: 0; } }
/* Filter-Chips umbrechend, Touch-Ziel 44 px */
.oez-portal .oez-rma .oez-chip { min-height: 44px; }
.oez-portal .oez-rma .oez-chip:focus-visible, .oez-portal .oez-rma summary:focus-visible, .oez-portal .oez-rma a:focus-visible,
.oez-portal .oez-rma-legacy summary:focus-visible, .oez-portal .oez-rma-legacy a:focus-visible { outline: none; box-shadow: var(--oez-focus); }
/* Reklamationskarte */
.oez-portal .oez-rma__list { display: grid; gap: var(--oez-s-3); }
.oez-portal .oez-rma-case > summary { grid-template-columns: 1fr auto auto; min-height: 64px; border-radius: var(--oez-r-md); }
.oez-portal .oez-rma-case__head { display: grid; gap: 2px; min-width: 0; }
.oez-portal .oez-rma-case__head .oez-case__title { overflow-wrap: anywhere; }
.oez-portal .oez-rma-case__chevron { color: var(--oez-ink-3); transition: transform var(--oez-t-fast) var(--oez-ease); }
.oez-portal .oez-rma-case[open] > summary .oez-rma-case__chevron { transform: rotate(180deg); }
.oez-portal .oez-rma-case[open] > summary { border-bottom: 1px solid var(--oez-line); border-radius: var(--oez-r-md) var(--oez-r-md) 0 0; }
.oez-portal .oez-rma-case .oez-case__body { padding-top: var(--oez-s-4); }
.oez-portal .oez-rma-case .oez-pill { white-space: normal; height: auto; min-height: 28px; padding-block: 2px; }
@media (max-width: 639px) {
  .oez-portal .oez-rma-case > summary { grid-template-columns: 1fr auto; padding: var(--oez-s-4); }
  .oez-portal .oez-rma-case > summary > .oez-pill { grid-column: 1; grid-row: 2; justify-self: start; }
  .oez-portal .oez-rma-case__chevron { grid-column: 2; grid-row: 1 / span 2; }
  .oez-portal .oez-rma-case .oez-case__body { padding-inline: var(--oez-s-4); }
}
.oez-portal .oez-rma-items { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--oez-line); }
.oez-portal .oez-rma-items .oez-row { align-items: start; }
.oez-portal .oez-rma-items__text { display: grid; gap: var(--oez-s-1); min-width: 0; }
.oez-portal .oez-rma-items__line { font-size: var(--oez-fs-14); color: var(--oez-ink-2); }
.oez-portal .oez-rma-items__note { padding-left: var(--oez-s-3); border-left: 2px solid var(--oez-line-strong); color: var(--oez-ink-2); }
@media (max-width: 639px) { .oez-portal .oez-rma-items .oez-row { grid-template-columns: 1fr; } .oez-portal .oez-rma-items .oez-row__actions { justify-content: flex-start; } }
.oez-portal .oez-rma .oez-alert > div { display: grid; gap: var(--oez-s-1); min-width: 0; }
/* Nachweise */
.oez-portal .oez-rma-files { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--oez-s-2); }
.oez-portal .oez-rma-files li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--oez-s-1) var(--oez-s-3); padding: var(--oez-s-2) var(--oez-s-3); border: 1px solid var(--oez-line); border-radius: var(--oez-r-md); background: var(--oez-surface-2); }
.oez-portal .oez-rma-files__kind { flex: 1 0 100%; font-size: var(--oez-fs-13); color: var(--oez-ink-3); }
.oez-portal .oez-rma-files__link, .oez-portal .oez-rma-files__name { display: inline-flex; align-items: center; gap: var(--oez-s-2); min-height: 44px; overflow-wrap: anywhere; min-width: 0; }
.oez-portal .oez-rma-files__link { font-weight: var(--oez-fw-label); text-decoration: underline; text-underline-offset: .18em; }
/* Antwortformular und Upload */
.oez-portal .oez-rma-reply { gap: var(--oez-s-4); padding: var(--oez-s-4); border-radius: var(--oez-r-md); background: var(--oez-surface-2); }
.oez-portal .oez-rma-reply .oez-cta-row .oez-btn { white-space: normal; }
.oez-portal .oez-rma-upload { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: start; padding: var(--oez-s-3) var(--oez-s-4); background: var(--oez-white); }
.oez-portal .oez-rma-upload:focus-within { border-color: var(--oez-ink); box-shadow: var(--oez-focus); }
.oez-portal .oez-rma-upload input[type="file"] { width: 100%; min-width: 0; font-size: var(--oez-fs-14); color: var(--oez-ink-2); }
.oez-portal .oez-rma-upload input[type="file"]:focus-visible { outline: none; }
.oez-portal .oez-rma-upload input[type="file"]::file-selector-button { min-height: 44px; margin-right: var(--oez-s-3); padding: 0 var(--oez-s-4); border: 1.5px solid var(--oez-ink); border-radius: var(--oez-r-sm); background: var(--oez-white); color: var(--oez-ink); font: inherit; font-weight: var(--oez-fw-label); cursor: pointer; }
.oez-portal .oez-rma-upload input[type="file"]::file-selector-button:hover { background: var(--oez-ink); color: var(--oez-white); }
/* Leerzustände und Seitenwechsel */
.oez-portal .oez-rma__empty { padding: var(--oez-s-8) var(--oez-s-5); }
.oez-portal .oez-rma__empty--filter { padding: var(--oez-s-5); }
.oez-portal .oez-rma__empty .oez-cta-row { justify-content: center; }
.oez-portal .oez-rma__pages { justify-content: space-between; flex-wrap: wrap; gap: var(--oez-s-3); }
.oez-portal .oez-rma__pages a { display: inline-flex; align-items: center; gap: var(--oez-s-2); height: auto; min-height: 44px; padding: 0 var(--oez-s-4); border: 1.5px solid var(--oez-line-strong); border-radius: var(--oez-r-md); text-decoration: none; }
.oez-portal .oez-rma__pages a:last-child { margin-left: auto; }
/* Dialog „Neue Reklamation melden“: .oez-modal groß, mobil Vollbild (.oez-modal--full, Spec 10 §9) */
.oez-portal .oez-rma-dialog { width: min(92vw, 820px); max-width: 820px; max-height: 90dvh; overflow: auto; overscroll-behavior: contain; }
.oez-portal .oez-rma-dialog .oez-modal__head { align-items: flex-start; }
.oez-portal .oez-rma-dialog .oez-modal__head > div { display: grid; gap: var(--oez-s-1); }
.oez-portal .oez-rma-dialog .oez-modal__head h2 { margin: 0; font-size: var(--oez-fs-20); line-height: var(--oez-lh-tight); }
.oez-portal .oez-rma-dialog .oez-modal__close { width: 44px; height: 44px; flex: 0 0 auto; }
.oez-portal .oez-rma-dialog .oez-modal__close:focus-visible { outline: none; box-shadow: var(--oez-focus); }
.oez-portal .oez-rma-dialog .oez-modal__body { display: grid; gap: var(--oez-s-5); color: var(--oez-ink); padding-bottom: var(--oez-s-6); }
@media (max-width: 767px) {
  .oez-portal .oez-rma-dialog.oez-modal--full { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .oez-portal .oez-rma-dialog .oez-modal__head { position: sticky; top: 0; z-index: 1; padding-block: var(--oez-s-3); background: var(--oez-white); border-bottom: 1px solid var(--oez-line); }
}
.oez-portal .oez-rma a.oez-link { color: var(--oez-orange-text); text-decoration: underline; text-underline-offset: .18em; }
.oez-portal .oez-rma a.oez-link:hover { color: var(--oez-ink); }
.oez-portal .oez-rma-steps { gap: var(--oez-s-3); grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: var(--oez-s-4); border-bottom: 1px solid var(--oez-line); }
.oez-portal .oez-rma-steps li { grid-template-columns: 1fr; gap: var(--oez-s-2); justify-items: start; }
.oez-portal .oez-rma-steps li::before { width: 32px; height: 32px; font-size: var(--oez-fs-16); }
.oez-portal .oez-rma-steps > li > div > b { font-size: var(--oez-fs-14); line-height: 1.3; }
.oez-portal .oez-rma-steps li.is-pending > div > b { color: var(--oez-ink-3); font-weight: var(--oez-fw-label); }
@media (min-width: 640px) { .oez-portal .oez-rma-steps li { grid-template-columns: 32px 1fr; align-items: center; } }
.oez-portal .oez-rma-step { display: grid; gap: var(--oez-s-4); min-width: 0; }
.oez-portal .oez-rma-search { display: grid; gap: var(--oez-s-3); }
@media (min-width: 480px) { .oez-portal .oez-rma-search { grid-template-columns: 1fr auto; align-items: end; } }
.oez-portal .oez-rma-orders { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--oez-line); }
.oez-portal .oez-rma-orders li { border-bottom: 1px solid var(--oez-line); }
.oez-portal .oez-rma-orders__link { min-height: 64px; padding: var(--oez-s-3); border-bottom: 0; border-radius: var(--oez-r-sm); text-decoration: none; color: var(--oez-ink); }
.oez-portal .oez-rma-orders__link:hover { background: var(--oez-surface-2); }
.oez-portal .oez-rma-orders__go { display: inline-flex; align-items: center; gap: var(--oez-s-2); font-weight: var(--oez-fw-label); color: var(--oez-orange-text); white-space: nowrap; }
@media (max-width: 479px) { .oez-portal .oez-rma-orders__link { grid-template-columns: 1fr; } }
.oez-portal .oez-rma-chosen { display: flex; flex-wrap: wrap; align-items: center; gap: var(--oez-s-2) var(--oez-s-3); padding: var(--oez-s-3) var(--oez-s-4); border-radius: var(--oez-r-md); background: var(--oez-surface-2); }
.oez-portal .oez-rma-chosen .oez-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; }
.oez-portal .oez-rma-form { gap: var(--oez-s-6); }
.oez-portal .oez-rma-positions { display: grid; gap: var(--oez-s-3); }
.oez-portal .oez-rma-position { display: grid; gap: var(--oez-s-2); padding: var(--oez-s-3) var(--oez-s-4) var(--oez-s-4); border: 1.5px solid var(--oez-line); border-radius: var(--oez-r-md); background: var(--oez-white); min-width: 0; }
.oez-portal .oez-rma-position:has([data-rma-select]:checked) { border-color: var(--oez-orange); box-shadow: inset 3px 0 0 var(--oez-orange); }
.oez-portal .oez-rma .oez-check { min-height: 44px; align-items: center; }
.oez-portal .oez-rma .oez-check > span { overflow-wrap: anywhere; min-width: 0; }
.oez-portal .oez-rma-position__meta { padding-left: calc(22px + var(--oez-s-3)); }
.oez-portal .oez-rma-position__fields { display: grid; gap: var(--oez-s-4); min-width: 0; margin: var(--oez-s-2) 0 0; padding: var(--oez-s-4) 0 0; border: 0; border-top: 1px solid var(--oez-line); }
.oez-portal .oez-rma-transport { display: grid; gap: var(--oez-s-4); padding: var(--oez-s-4); border-radius: var(--oez-r-md); background: var(--oez-surface-2); }
.oez-portal .oez-rma .oez-field { min-width: 0; }
.oez-portal .oez-rma .oez-form-row { align-items: start; }
.oez-portal .oez-rma .oez-label { justify-content: flex-start; flex-wrap: wrap; gap: var(--oez-s-1) var(--oez-s-2); }
.oez-portal .oez-rma .oez-textarea { min-height: 96px; }
.oez-portal .oez-rma-pickup { border: 1px solid var(--oez-line); border-radius: var(--oez-r-md); }
.oez-portal .oez-rma-pickup > summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--oez-s-3); min-height: 52px; padding: var(--oez-s-2) var(--oez-s-4); cursor: pointer; font-weight: var(--oez-fw-label); border-radius: var(--oez-r-md); }
.oez-portal .oez-rma-pickup > summary::-webkit-details-marker { display: none; }
.oez-portal .oez-rma-pickup > summary:focus-visible { outline: none; box-shadow: var(--oez-focus); }
.oez-portal .oez-rma-pickup__chevron { color: var(--oez-ink-3); transition: transform var(--oez-t-fast) var(--oez-ease); }
.oez-portal .oez-rma-pickup[open] .oez-rma-pickup__chevron { transform: rotate(180deg); }
.oez-portal .oez-rma-pickup__body { display: grid; gap: var(--oez-s-4); padding: 0 var(--oez-s-4) var(--oez-s-4); }
.oez-portal .oez-rma-ack { padding: var(--oez-s-3) var(--oez-s-4); border-radius: var(--oez-r-md); background: var(--oez-orange-50); font-weight: var(--oez-fw-label); }
.oez-portal .oez-rma-form__message:empty { display: none; }
.oez-portal .oez-rma-form__submit .oez-btn { min-width: min(100%, 280px); }
@media (max-width: 479px) { .oez-portal .oez-rma-form__submit .oez-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .oez-portal .oez-rma-case__chevron, .oez-portal .oez-rma-pickup__chevron { transition: none; } }

/* == D · Standard-Konto (jtl.php: Übersicht, Bestellungen, Bestelldetail, Adressen, Zugang, Bestelllisten) == */
/* Rahmen-Ergänzung Konto: Inhalt in der Snackys-#content-Breite, Karten volle Breite */
.oez-portal--konto .oez-portal__main > .oez-card, .oez-portal--konto .oez-portal__main > section { margin: 0; }
.oez-portal--konto .oez-card > h2, .oez-portal--konto .oez-card__head h2 { font-size: var(--oez-fs-24); letter-spacing: -0.01em; }
.oez-portal--konto .oez-card > h2.oez-h4 { font-size: var(--oez-fs-20); }
.oez-portal--konto .oez-card__head { margin-bottom: var(--oez-s-3); }
.oez-portal--konto .oez-card p { margin: 0 0 var(--oez-s-2); }
.oez-portal--konto .oez-card p:last-child { margin-bottom: 0; }
.oez-portal--konto address, .oez-portal--konto .oez-konto-address { font-style: normal; line-height: var(--oez-lh-text); margin: 0 0 var(--oez-s-2); }
.oez-portal--konto .oez-help { font-size: var(--oez-fs-14); color: var(--oez-ink-3); }
.oez-portal--konto .oez-status-strip a { text-decoration: none !important; min-height: 44px; }
.oez-portal--konto .oez-status-strip a b { color: var(--oez-ink); }
.oez-portal--konto .oez-status-strip small { display: block; line-height: 1.35; }
.oez-portal--konto .oez-btn, .oez-portal--konto a.oez-btn { text-decoration: none !important; }
.oez-portal--konto .oez-btn--link, .oez-portal--konto a.oez-btn--link { text-decoration: underline !important; }
.oez-portal--konto .oez-btn--sm { min-height: 44px; }
.oez-portal--konto .oez-cta-row { display: flex; flex-wrap: wrap; gap: var(--oez-s-3); align-items: center; }
.oez-portal--konto .oez-empty p { max-width: 48ch; }
/* Navigation Standard-Konto: Konto-Links ohne .st-nav fallen sonst unter die Linkfarbe aus A (Text Ink auf Ink im aktiven Chip) */
.oez-portal--konto .oez-account-nav--chips a[aria-current] { color: var(--oez-white); }
/* Übersicht */
.oez-portal--konto .oez-portal__main > hr, .oez-portal--konto .oez-portal__main > .oez-portal__view > hr { display: none; }
.oez-konto-entry__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: stretch; } /* PORTAL-07: eine Zeile, gleiche Höhe */
.oez-konto-entry__grid > a { height: 100%; align-items: start; }
.oez-konto-last__order { display: grid; gap: var(--oez-s-3); }
.oez-konto-last__order h3 { margin: 0; }
.oez-konto-last .oez-order-card__facts { margin: 0; align-items: center; }
.oez-konto-data { display: grid; gap: var(--oez-s-4); }
@media (min-width: 768px) { .oez-konto-data { grid-template-columns: 1fr 1fr; align-items: start; } }
.oez-konto-dl { display: grid; gap: var(--oez-s-2); margin: 0 0 var(--oez-s-3); }
.oez-konto-dl > div { display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: var(--oez-s-3); align-items: center; min-height: 32px; }
.oez-konto-dl dt { font-weight: var(--oez-fw-ui); color: var(--oez-ink-3); font-size: var(--oez-fs-14); }
.oez-konto-dl dd { margin: 0; overflow-wrap: anywhere; }
.oez-konto-dl dd .oez-btn--link { padding-inline: 0; }
.oez-konto-delete { margin: 0; font-size: var(--oez-fs-14); }
.oez-konto-delete .oez-link { color: var(--oez-ink-3); font-weight: var(--oez-fw-ui); }
.oez-konto-wait .oez-steps { gap: var(--oez-s-4); margin-bottom: var(--oez-s-3); }
.oez-portal--konto .credit-info { margin: 0; }
/* Hinweis Händlerbereich (Bestellungen) */
.oez-portal--konto .oez-konto-hint { margin: 0; }
.oez-portal--konto .oez-konto-hint .oez-link--arrow { white-space: nowrap; }
/* Bestellungen: Zeilen, mobil Karten */
.oez-konto-orders { padding-block: var(--oez-s-2); }
.oez-konto-order { grid-template-columns: 1fr auto; grid-template-areas: "id status" "sum action"; gap: var(--oez-s-2) var(--oez-s-4); padding-block: var(--oez-s-4); }
.oez-konto-order__id { grid-area: id; display: grid; gap: 2px; min-width: 0; }
.oez-konto-order__id .oez-row__title { color: var(--oez-ink); text-decoration: none !important; font-variant-numeric: tabular-nums; }
.oez-konto-order__id .oez-row__title:hover { text-decoration: underline !important; }
.oez-konto-order__status { grid-area: status; justify-self: end; }
.oez-konto-order__sum { grid-area: sum; align-self: center; }
.oez-konto-order__sum small, .oez-konto-item__sum small { display: inline; margin-left: .35em; font-size: var(--oez-fs-13); font-weight: var(--oez-fw-ui); color: var(--oez-ink-3); }
.oez-konto-order__action { grid-area: action; justify-self: end; }
@media (min-width: 768px) {
  .oez-konto-order { grid-template-columns: minmax(0, 1fr) 11rem 9rem auto; grid-template-areas: "id sum status action"; }
  .oez-konto-order__sum { justify-self: end; }
  .oez-konto-order__status { justify-self: start; }
}
.oez-portal--konto .pagination, .oez-portal--konto .pagination-wrapper { margin-top: 0; }
/* Bestelldetail */
.oez-konto-od__status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--oez-s-2) var(--oez-s-3); }
.oez-konto-od__status > span:not(.oez-pill)::before { content: "·"; margin-right: var(--oez-s-3); color: var(--oez-ink-3); }
.oez-konto-od__actions { margin: 0; }
#order-details > hr, #order-details > script { display: none; }
.oez-konto-items__head { display: none; }
@media (min-width: 768px) { .oez-konto-items__head { display: flex; justify-content: space-between; padding-bottom: var(--oez-s-2); border-bottom: 1px solid var(--oez-line-strong); font-size: var(--oez-fs-13); color: var(--oez-ink-3); font-weight: var(--oez-fw-label); } }
.oez-konto-item { align-items: start; }
.oez-konto-item .oez-row__media { width: 56px; height: 56px; color: var(--oez-ink-3); }
.oez-konto-item .oez-row__media img { width: auto; height: auto; max-width: 48px; max-height: 48px; }
.oez-konto-item__body { display: grid; gap: var(--oez-s-1); min-width: 0; }
.oez-konto-item .oez-row__title a { text-decoration: none !important; color: var(--oez-ink); }
.oez-konto-item .oez-row__title a:hover { text-decoration: underline !important; }
.oez-konto-item__qty { font-size: var(--oez-fs-14); color: var(--oez-ink-2); }
.oez-konto-item__qty b { color: var(--oez-ink); font-weight: var(--oez-fw-label); }
.oez-konto-item__qty .oez-price-third { font-size: var(--oez-fs-12); line-height: 0; vertical-align: super; }
.oez-konto-item .oez-pfand-line { justify-self: start; margin-top: var(--oez-s-1); }
.oez-konto-item__sum { padding-top: 2px; }
@media (max-width: 479px) {
  .oez-konto-item { grid-template-columns: 48px 1fr; }
  .oez-konto-item .oez-row__media { width: 48px; height: 48px; }
  .oez-konto-item__sum { grid-column: 2; justify-self: stretch; text-align: right; padding-top: 0; }
}
.oez-konto-item--deposit { padding: var(--oez-s-3) 0; border-bottom: 1px solid var(--oez-line); }
.oez-konto-item--deposit:last-child { border-bottom: 0; }
.oez-konto-item--deposit .oez-pfand-line { display: inline-flex; }
.oez-konto-od__sum { margin-top: var(--oez-s-4); padding-top: var(--oez-s-4); border-top: 1px solid var(--oez-line-strong); max-width: 26rem; margin-left: auto; font-size: var(--oez-fs-16); }
.oez-konto-od__sum .oez-summary__row > span:first-child { display: grid; }
.oez-konto-od__sum .oez-summary__row > span:last-child { white-space: nowrap; color: var(--oez-ink); }
.oez-konto-od__info { display: grid; gap: var(--oez-s-4); }
.oez-konto-od__info .oez-card__head { margin: 0; }
.oez-konto-od__info > .oez-konto-od__fact, .oez-konto-od__info hr { margin: 0; }
@media (min-width: 768px) {
  .oez-konto-od__info { grid-template-columns: 1fr 1fr; }
  .oez-konto-od__info > .oez-card__head, .oez-konto-od__info > .oez-help, .oez-konto-od__info > .panel-title, .oez-konto-od__info > .table-responsive { grid-column: 1 / -1; }
}
.oez-konto-od__fact h3 { margin: 0 0 var(--oez-s-2); font-size: var(--oez-fs-16); }
.oez-konto-od__fact p { margin: 0; }
.oez-konto-od__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--oez-s-1); }
.oez-konto-od__info hr { display: none; }
.oez-konto-od__info .table { width: 100%; font-size: var(--oez-fs-14); background: var(--oez-white); }
.oez-konto-od__info .table th, .oez-konto-od__info .table td { padding: 10px 12px; border-bottom: 1px solid var(--oez-line); }
/* Formulare (Firmendaten, Lieferadressen, Zugang, Konto löschen, Bestelllisten): JTL-Markup bleibt, nur Optik */
.oez-konto-form { display: grid; gap: var(--oez-s-4); }
.oez-portal--konto form .form-group { margin-bottom: var(--oez-s-4); }
.oez-portal--konto form label, .oez-portal--konto form .control-label { font-weight: var(--oez-fw-label); font-size: var(--oez-fs-14); color: var(--oez-ink); margin-bottom: var(--oez-s-1); }
.oez-portal--konto form .form-control, .oez-portal--konto form input[type="text"], .oez-portal--konto form input[type="email"], .oez-portal--konto form input[type="tel"], .oez-portal--konto form input[type="password"], .oez-portal--konto form select { min-height: var(--oez-control); font-size: var(--oez-fs-16); }
.oez-portal--konto form .btn, .oez-portal--konto form input[type="submit"] { min-height: var(--oez-control); }
.oez-portal--konto form .btn-lg { font-size: var(--oez-fs-16); }
.oez-portal--konto form .btn-block { width: auto; min-width: min(100%, 280px); }
@media (max-width: 479px) { .oez-portal--konto form .btn-block { width: 100%; } }
.oez-portal--konto form .required-info { font-size: var(--oez-fs-13); color: var(--oez-ink-3); }
.oez-portal--konto fieldset.panel, .oez-portal--konto form.panel { border: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.oez-portal--konto fieldset legend, .oez-portal--konto legend.h4 { position: static; top: auto; float: none; width: 100%; padding: 0; font-size: var(--oez-fs-18); font-weight: var(--oez-fw-strong); line-height: var(--oez-lh-tight); margin: 0 0 var(--oez-s-2); border: 0; }
.oez-portal--konto fieldset + fieldset { margin-top: var(--oez-s-8); }
.oez-portal--konto .sa-card { border: 0; box-shadow: none; background: none; }
.oez-portal--konto .sa-card .card-body { padding: 0; }
.oez-portal--konto .sa-card .item { display: flex; align-items: center; gap: var(--oez-s-2); padding: var(--oez-s-3) 0; border-bottom: 1px solid var(--oez-line); }
.oez-portal--konto .sa-card .item:last-child { border-bottom: 0; }
.oez-portal--konto .sa-card .btn-blank, .oez-portal--konto .oez-konto-wl .btn-blank { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.oez-portal--konto .text-muted, .oez-portal--konto small.text-muted { color: var(--oez-ink-3); font-size: var(--oez-fs-14); }
.oez-portal--konto .alert { border-radius: var(--oez-r-md); }
.oez-portal--konto #er_twofa > svg { width: 48px; height: 48px; fill: var(--oez-ink-3); }
.oez-konto-delete-form .oez-btn--secondary, .oez-konto-delete-form input[type="submit"] { min-height: var(--oez-control); }
/* Bestelllisten / Gemerkte Artikel */
.oez-konto-wl .item { display: flex; align-items: center; gap: var(--oez-s-3); padding: var(--oez-s-3) 0; border-bottom: 1px solid var(--oez-line); }
.oez-konto-wl .item:last-child { border-bottom: 0; }
.oez-konto-wl .item a { color: var(--oez-ink); text-decoration: none !important; }
.oez-konto-wl .item a:hover { text-decoration: underline !important; }
.oez-konto-wl .btn-group { display: inline-flex; gap: var(--oez-s-1); }
.oez-konto-wl .icon.inactive { opacity: .4; }
.oez-konto-wl-new .input-group { display: flex; gap: var(--oez-s-2); flex-wrap: wrap; }
.oez-konto-wl-new .form-control { flex: 1 1 14rem; }
/* SEPA-Box (snippets/oez-sepa-info.tpl) – Konto und Händlerbereich */
.oez-sepa { display: grid; gap: var(--oez-s-3); }
.oez-sepa p { margin: 0; color: var(--oez-ink-2); }
.oez-sepa p strong { color: var(--oez-ink); }
.oez-sepa__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--oez-s-2) var(--oez-s-3); }
.oez-sepa__head h2 { margin: 0; font-size: var(--oez-fs-18); }
.oez-sepa__head input { width: 20px; height: 20px; margin: 0; }
.oez-sepa__details summary { list-style: none; cursor: pointer; }
.oez-sepa__details summary::-webkit-details-marker { display: none; }
.oez-sepa__details[open] summary { margin-bottom: var(--oez-s-4); }
.oez-sepa__flow { display: grid; gap: var(--oez-s-4); }
.oez-sepa__steps li > div > span { font-size: var(--oez-fs-16); color: var(--oez-ink); }
.oez-sepa__steps li::before { width: 32px; height: 32px; }
.oez-sepa__steps li { grid-template-columns: 32px minmax(0, 1fr); }
.oez-sepa, .oez-sepa__details, .oez-sepa__flow { min-width: 0; }
.oez-sepa__details summary, .oez-sepa__flow .oez-btn { white-space: normal; height: auto; min-height: var(--oez-control); text-align: center; }
.oez-sepa a { overflow-wrap: anywhere; }
.oez-sepa__flow .oez-btn { justify-self: start; text-decoration: none !important; }
.oez-sepa__bank { padding: var(--oez-s-3) var(--oez-s-4); background: var(--oez-surface-2); border-radius: var(--oez-r-md); }
.oez-sepa .oez-help { font-size: var(--oez-fs-13); color: var(--oez-ink-3); }
@media (max-width: 479px) { .oez-sepa__details summary, .oez-sepa__flow .oez-btn { width: 100%; justify-content: center; } }
/* PORTAL-03: kein Zusatzabstand Brotkrume → Konto (Abstand regelt die Shell, O-4) */
#account.oez-portal--konto { margin-top: 0; }
/* PORTAL-01: Wartezustand Statuskarte + Gewerbenachweis */
.oez-konto-waitgrid > .oez-card, .oez-konto-proofcol > .oez-card { height: 100%; }
.oez-konto-proofcol { display: grid; min-width: 0; }
.oez-konto-proofcol > [hidden] { display: none !important; }
/* „Später nachreichen“: oez-register.js blendet die Karte aus; der Hinweis erscheint sofort (nicht erst nach dem Neuladen) */
.oez-konto-proofcol:has(> [data-oez-wait-proof][hidden]) > [data-oez-wait-proof-later] { display: block !important; }
.oez-konto-wait > h2 { font-size: var(--oez-fs-24); }
@media (min-width: 1024px) { .oez-konto-waitgrid { grid-template-columns: 3fr 2fr; } }
/* Nick G21 b) (13.11.): Händlerbereich-Kopf ohne Ladenfoto mit Platzhalter-Fläche (Mockup kundenportal.html (a)), hochwertig statt grauer Box:
   helle Markenfläche (orange-50 → weiß), OEZ-Bildmarke in weißer Kachel, dezentes Wasserzeichen der Bildmarke, Link „Ladenfoto hinzufügen“.
   G22 a) bleibt: Scanner-Leiste nach dem Nachkauf (keine Regel nötig). */
.oez-portal .oez-dash-hero__ph { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--oez-s-4);
  min-height: 112px; padding: var(--oez-s-4) var(--oez-s-5); margin-bottom: var(--oez-s-2); justify-self: stretch; border-radius: var(--oez-r-md); border: 1px solid var(--oez-orange-100);
  background: linear-gradient(120deg, var(--oez-orange-50) 0%, var(--oez-white) 70%); color: var(--oez-ink); text-decoration: none !important;
  transition: border-color var(--oez-t-fast), box-shadow var(--oez-t-fast); }
.oez-portal .oez-dash-hero__ph:hover { border-color: var(--oez-orange-200); box-shadow: var(--oez-shadow-sm); }
.oez-portal .oez-dash-hero__ph:focus-visible { outline: 2px solid var(--oez-orange-text); outline-offset: 2px; }
.oez-portal .oez-dash-hero__ph-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--oez-r-md); background: var(--oez-white); box-shadow: var(--oez-shadow-sm); }
.oez-portal .oez-dash-hero__ph-mark img { width: 40px; height: 40px; }
.oez-portal .oez-dash-hero__ph-text { position: relative; z-index: 1; display: grid; gap: 2px; min-width: 0; }
.oez-portal .oez-dash-hero__ph-text b { font-size: var(--oez-fs-16); font-weight: var(--oez-fw-strong); }
.oez-portal .oez-dash-hero__ph-text small { font-size: var(--oez-fs-13); color: var(--oez-ink-2); max-width: 52ch; }
.oez-portal .oez-dash-hero__ph-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .4em; min-height: var(--oez-control-sm); font-size: var(--oez-fs-14);
  font-weight: var(--oez-fw-label); color: var(--oez-orange-text); text-decoration: underline; text-underline-offset: .18em; white-space: nowrap; }
.oez-portal .oez-dash-hero__ph-wm { position: absolute; right: -24px; top: 50%; width: 200px; height: 200px; transform: translateY(-50%); opacity: .07; pointer-events: none; }
@media (max-width: 767px) {
  /* mobil als 72-px-Kachel rechts neben der Begrüßung – kostet keine Höhe, „Erneut bestellen“ bleibt im ersten Bildschirm */
  .oez-portal .oez-dash-hero:has(.oez-dash-hero__ph) { padding-right: calc(var(--oez-s-4) + 72px + var(--oez-s-3)); }
  .oez-portal .oez-dash-hero__ph { position: absolute; top: var(--oez-s-4); right: var(--oez-s-4); width: 72px; height: 72px; min-height: 0; margin: 0; padding: 0;
    display: grid; place-items: center; grid-template-columns: 1fr; }
  .oez-portal .oez-dash-hero__ph-mark { width: 100%; height: 100%; box-shadow: none; background: transparent; }
  .oez-portal .oez-dash-hero__ph-text, .oez-portal .oez-dash-hero__ph-wm { display: none; }
  .oez-portal .oez-dash-hero__ph-cta { position: absolute; right: 4px; bottom: 4px; width: 26px; height: 26px; min-height: 0; justify-content: center; border-radius: 50%; background: var(--oez-white); box-shadow: var(--oez-shadow-sm); }
  .oez-portal .oez-dash-hero__ph-cta > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Gate-2-Sichtung 16.11. · Blickmuster und Richtungshinweise (Notiz Aufmerksamkeit & Wahrnehmung): eine Aufgabe je Bildschirm,
   zusammengehörige Elemente als Gruppe, genau ein Richtungshinweis (Akzentkante), Orange im ersten Bildschirm nur am Hauptbutton. */
.oez-portal .oez-order-card--focus { border-left: 4px solid var(--oez-orange); box-shadow: var(--oez-shadow-md); }
.oez-portal .oez-order-card__act { display: grid; gap: var(--oez-s-2); margin-top: var(--oez-s-4); }
.oez-portal .oez-order-card__act .oez-help { margin: 0; max-width: 60ch; }
.oez-portal .oez-order-card__missing { display: flex; gap: var(--oez-s-2); align-items: flex-start; margin: var(--oez-s-3) 0 0; font-size: var(--oez-fs-13); color: var(--oez-ink-2); }
.oez-portal .oez-order-card__missing .oez-icon { color: var(--oez-warn-text); flex: 0 0 auto; margin-top: 2px; }
/* Lieferbares zuerst: ausverkaufte Zeilen ans Ende der Liste (gleiche Aufgabe = eine Gruppe) */
.oez-portal .oez-rows > .oez-row.is-out { order: 1; }
/* Ladenfoto-Platzhalter (G21 b) als ruhige Fläche rechts im Kopf statt Band darüber: kürzerer Weg von der Begrüßung zur Bestellung;
   Link in Ink statt Orange, damit der Hauptbutton das einzige Orange bleibt */
.oez-portal .oez-dash-hero__ph-cta { color: var(--oez-ink-2); }
@media (min-width: 768px) {
  .oez-portal .oez-dash-hero:has(.oez-dash-hero__ph) { grid-template-columns: minmax(0, 1fr) 280px; column-gap: var(--oez-s-6); align-items: center; }
  .oez-portal .oez-dash-hero:has(.oez-dash-hero__ph) > :not(.oez-dash-hero__ph) { grid-column: 1; }
  .oez-portal .oez-dash-hero__ph { grid-column: 2; grid-row: 1 / span 4; margin: 0; min-height: 0; height: 100%; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; padding: var(--oez-s-4); }
  .oez-portal .oez-dash-hero__ph-mark { grid-row: 1 / span 2; width: 56px; height: 56px; }
  .oez-portal .oez-dash-hero__ph-text small { display: none; }
  .oez-portal .oez-dash-hero__ph-cta { grid-column: 2; }
  .oez-portal .oez-dash-hero:has(.oez-dash-hero__ph) .oez-dash-hero__title { padding-right: 0; }
}

/* Mobil: Scanner in der unteren Leiste dunkel wie die Scanner-Leiste im Inhalt – Orange bleibt dem Hauptbutton der Seite („Erneut bestellen“) */
.oez-portal .oez-portal-sticky .oez-btn:not(.oez-btn--secondary) { --_bg: var(--oez-ink); --_bd: var(--oez-ink); --_fg: var(--oez-white); }
.oez-portal .oez-portal-sticky .oez-btn:not(.oez-btn--secondary):hover { color: var(--oez-white); } /* Orchestrator 20.11.: .oez-btn:hover setzt ink → dunkel auf dunkel (vgl. efcb2f9) */
.oez-portal .oez-order-card__act .oez-btn--link { color: var(--oez-ink); }

/* Gate-2-Sichtung 16.11. · Wartezustand (account/oez-wait-story.tpl): Inhalte und ihr CSS aus den S8-Partials (oez-wait.css); hier nur der Rahmen. */
.oez-wait-story { display: grid; gap: var(--oez-portal-gap, var(--oez-s-6)); min-width: 0; }
.oez-wait-story__status { display: grid; gap: var(--oez-s-5); align-content: start; }
.oez-wait-story__status > h2 { margin: 0; font-size: var(--oez-fs-24); }
/* Wartezustand: Preiszone der Neuheiten-Karten ruhig (keine Reihe orange unterstrichener „noch nicht freigeschaltet“, Stress summiert sich) */
.oez-portal--dashboard.is-pending .oez-portal-tile .oez-price__gate { color: var(--oez-ink-3); text-decoration: none; font-weight: var(--oez-fw-ui); }

/* ===== E · Bestellliste /Wunschliste (snippets/wishlist.tpl, Nick 20.11.: Listen-Einkauf verständlich) =====
   Reiter für die Listen, Zeilen statt großer Kacheln, eine Hauptaktion, Verwaltung eingeklappt. Mobil trägt die untere Leiste die Hauptaktion. */
.oez-wl__head .oez-link { display: inline-flex; align-items: center; gap: var(--oez-s-1); font-weight: var(--oez-fw-ui); }
.oez-wl__lists { display: grid; gap: var(--oez-s-3); min-width: 0; }
.oez-wl__listbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--oez-s-2); align-items: start; min-width: 0; }
.oez-wl__listbar .oez-chip-row { list-style: none; margin: 0; padding-block: 0 2px; min-width: 0; }
.oez-wl__listbar .oez-chip-row > li { flex: none; }
.oez-portal .oez-wl__listbar .oez-chip { min-height: var(--oez-control-sm, 40px); color: var(--oez-ink); text-decoration: none; }
.oez-portal .oez-wl__listbar .oez-chip--active, .oez-portal .oez-wl__listbar .oez-chip--active:hover { color: var(--oez-white); }
@media (min-width: 768px) { .oez-wl__listbar .oez-chip-row--scroll { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; -webkit-mask-image: none; mask-image: none; } }
.oez-wl__new > summary { list-style: none; border-style: dashed; }
.oez-wl__new > summary::-webkit-details-marker { display: none; }
.oez-wl__new[open] { grid-column: 1 / -1; display: grid; gap: var(--oez-s-3); }
.oez-wl__new[open] > summary { justify-self: start; }
.oez-wl__new-form { display: grid; gap: var(--oez-s-2); padding: var(--oez-s-4); border: 1px solid var(--oez-line); border-radius: var(--oez-r-md); background: var(--oez-white); }
.oez-wl__inline { display: flex; flex-wrap: wrap; gap: var(--oez-s-2); }
.oez-wl__inline .oez-input { flex: 1 1 14rem; min-width: 0; }
.oez-wl__target { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0 var(--oez-s-2); margin: 0; color: var(--oez-ink-2); }
.oez-wl__target > .oez-icon { color: var(--oez-ink-3); margin-top: 3px; }
.oez-wl__inline-form { grid-column: 2; margin: 0; }
.oez-wl__inline-form .oez-btn--link { padding-inline: 0; }
.oez-wl__sym { display: inline-grid; place-items: center; width: 24px; height: 24px; vertical-align: middle; border-radius: 50%; background: var(--oez-white); color: var(--oez-ink); box-shadow: var(--oez-shadow-sm); }
.oez-wl__card { display: grid; gap: var(--oez-s-4); }
.oez-wl__rows { min-width: 0; }
.oez-wl__row .oez-row__media img { max-width: 48px; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.oez-wl__row .oez-row__title a { color: var(--oez-ink); text-decoration: none; }
.oez-wl__row .oez-row__title a:hover { text-decoration: underline; }
.oez-wl__row .oez-row__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--oez-s-2); }
.oez-wl__row .oez-row__price { text-align: right; min-width: 6.5rem; }
.oez-wl__row .oez-stock { display: inline-flex; margin-top: var(--oez-s-1); }
.oez-wl__remove { color: var(--oez-ink-3); gap: var(--oez-s-1); min-height: var(--oez-control-sm, 40px); }
.oez-wl__remove:hover { color: var(--oez-ink); }
.oez-wl__note { margin-top: var(--oez-s-1); }
.oez-wl__note > summary { display: inline-flex; align-items: center; gap: var(--oez-s-1); min-height: 32px; cursor: pointer; list-style: none; font-size: var(--oez-fs-13); color: var(--oez-ink-3); }
.oez-wl__note > summary::-webkit-details-marker { display: none; }
.oez-wl__note > summary:hover { color: var(--oez-ink); text-decoration: underline; }
.oez-wl__note-field.oez-textarea { min-height: 64px; margin-top: var(--oez-s-1); font-size: var(--oez-fs-14); }
.oez-wl__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--oez-s-3); padding-top: var(--oez-s-4); border-top: 1px solid var(--oez-line); }
.oez-wl__status { margin: 0; min-height: 1.4em; }
.oez-wl__all { margin-left: auto; }
.oez-wl__empty { display: grid; gap: var(--oez-s-4); }
.oez-wl__empty h2 { margin: 0; }
.oez-wl__how { margin: 0; padding-left: 1.4em; display: grid; gap: var(--oez-s-2); color: var(--oez-ink-2); }
.oez-wl__how b { color: var(--oez-ink); }
.oez-wl__manage { padding: 0; }
.oez-wl__manage > summary { display: flex; align-items: center; gap: var(--oez-s-2); min-height: var(--oez-control); padding: var(--oez-s-3) var(--oez-s-5); cursor: pointer; list-style: none; font-weight: var(--oez-fw-ui); }
.oez-wl__manage > summary::-webkit-details-marker { display: none; }
.oez-wl__manage > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--oez-t-fast); }
.oez-wl__manage[open] > summary::after { transform: rotate(-135deg); }
.oez-wl__manage-body { display: grid; gap: var(--oez-s-4); padding: 0 var(--oez-s-5) var(--oez-s-5); }
.oez-wl__manage-body .oez-help { margin: 0; }
.oez-wl__manage-actions { display: flex; flex-wrap: wrap; gap: var(--oez-s-2); }
.oez-wl__manage-actions form { margin: 0; }
@media (max-width: 767px) {
  .oez-wl__foot .oez-wl__all { display: none; }
  .oez-wl__row { position: relative; }
  .oez-wl__row .oez-row__body { padding-right: var(--oez-control); }
  .oez-wl__row .oez-row__actions { justify-content: flex-start; }
  .oez-wl__row .oez-row__price { text-align: left; min-width: 0; margin-right: auto; }
  .oez-wl__remove { position: absolute; top: var(--oez-s-2); right: 0; width: var(--oez-control); padding: 0; justify-content: center; }
}
/* Händlerbereich › Bestelllisten: Brücke zur Bestellliste aus dem Sortiment (Listen-Symbol) */
.oez-portal-wl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--oez-s-4); border-left: 3px solid var(--oez-orange); }
.oez-portal-wl__text { display: grid; gap: var(--oez-s-1); flex: 1 1 22rem; min-width: 0; }
.oez-portal-wl__text h2, .oez-portal-wl__text p { margin: 0; }
.oez-portal-wl__sub { margin: 0 0 var(--oez-s-2); }
.oez-konto-wl__default { color: var(--oez-ok-text); font-weight: var(--oez-fw-ui); }
