/*
 * Customer-Editor-Shell V19 — Topbar-Iteration
 *
 * Scope:    body.customer-editor-v19 (additiv zu body.customer-backoffice)
 *           AKTIV NUR auf den 6 main.php-Routen:
 *             /customer/tour/create-tour
 *             /customer/tour/edit-tour/{id}
 *             /customer/tour/edit-group/{id}
 *             /customer/hotspot/index/{id}
 *             /customer/floorplan/{id}
 *             /customer/setting/index/{id}
 *
 * Tokens:   frontend/web/css/tokens-tour-generator.css (NICHT verändern)
 * Spec:     docs/tasks/2026-06-09-customer-editor-shell-v19.md (§ 3.2 Topbar)
 * Inventar: docs/tasks/2026-06-09-customer-editor-shell-v19-inventory.md
 *
 * Topbar-Iteration (§ 1–§ 12):
 *   - Header-Hintergrund + Border
 *   - Markenwort / Logo
 *   - Vier-Schritt-Pills (#enabledul, #disabledul)
 *   - Nav-Step-Arrows (Pfeile zwischen Pills)
 *   - Sprach-Dropdown (.dash-lang-wrap / .dash-lang-menu)
 *   - Credit-/Plan-Summary (Wrapper-Klasse .editor-shell-credit-summary)
 *   - Logout-Kreis (.account-navi)
 *   - Mobile-Dropdown (select.mobile-menu)
 *
 * Komponenten-Iteration (§ 13–§ 20):
 *   - Buttons (.btn-primary/-info/-secondary/-primary-2/-default/-danger)
 *   - Panels (.panel / .panel-heading / .panel-body)
 *   - Formulare (text-artige Felder, KEINE checkbox/radio/range/color/spectrum)
 *   - Bootstrap-Tabs (.nav-tabs)
 *   - Modals (.wolowo-popup, Tutorial #step1–#step4, Upgrade-Hülle)
 *   - Snackbar + Tour-Live-Notice
 *   - Fokus-Zustände
 *
 * NICHT in dieser Datei:
 *   - Inhaltslogik der Subviews, krpano-Bühne, Hotspot-Inspector,
 *     Floorplan-Spot-Editor (Markup/JS unangetastet)
 *   - Z-Index-Stacks der Modals (Bestand-!important bleibt)
 *
 * Spezifitäts-Strategie: höhere Selektor-Spezifität durch ID + Klasse,
 * !important nur wo Bestand-CSS mit gleicher Spezifität gewinnen würde.
 * Begründung jeweils im Block-Kommentar.
 *
 * Keine direkten Hex-Werte. Nur var(--token).
 */

/* ============================================================
 * § 2 · Header-Container
 *
 * Bestand (common.css Z. 2108-2117):
 *   .stepmenu_header { position: relative; z-index: 4; }
 *   .stepmenu_header .navbar-fixed-top {
 *     border-bottom: 0; border-radius: 0; margin-bottom: 0;
 *     min-height: 0; height: 50px;
 *     background-color: #28323E;  ← Dark Slate
 *   }
 * main.php Inline-Style (Z. 211):
 *   #stepMenu { margin-bottom: 0 !important; }  ← !important
 * Plus Plan-Variante (.tour_premium etc.) am Navbar.
 *
 * Wir setzen weiße Surface + feinen Border + ruhigen Shadow.
 * ============================================================ */
body.customer-editor-v19 #stepMenu,
body.customer-editor-v19 .stepmenu_header {
    background: var(--bg-page) !important;
}

body.customer-editor-v19 #stepMenu .navbar-fixed-top,
body.customer-editor-v19 .stepmenu_header .navbar-fixed-top {
    background: var(--bg-surface) !important;
    background-color: var(--bg-surface) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--border-default);
    box-shadow: var(--shadow-sm);
    height: auto;
    min-height: 64px;
}

/* Plan-Style auf Navbar (.tour_free / .tour_premium / .tour_hosting /
 * .tour_legacy_premium) — alle gleiche ruhige Surface, keine farbige
 * Differenzierung. */
body.customer-editor-v19 #stepMenu .navbar-fixed-top.tour_free,
body.customer-editor-v19 #stepMenu .navbar-fixed-top.tour_premium,
body.customer-editor-v19 #stepMenu .navbar-fixed-top.tour_hosting,
body.customer-editor-v19 #stepMenu .navbar-fixed-top.tour_legacy_premium {
    background: var(--bg-surface) !important;
    background-color: var(--bg-surface) !important;
}

/* Anchor-Farbe innerhalb der Topbar generell dunkel auf hell */
body.customer-editor-v19 #stepMenu a,
body.customer-editor-v19 .stepmenu_header a {
    color: var(--text-primary);
}

/* ============================================================
 * § 3 · Markenwort / Logo
 *
 * Bestand (common.css Z. 2118-2138):
 *   .stepmenu_header .navbar-fixed-top .navbar-brand {
 *     background-image: url(.../wolowo-logo-icon-magenta-grey.svg);
 *     width: 100px; height: 100px; background-color: white;
 *     border-radius: 50%; top: -18px; left: -13px;
 *     box-shadow: 0 15px 15px 0 rgba(0,0,0,0.47);
 *     position: relative; z-index: 2;
 *   }
 * Das ist ein dicker weißer Kreis mit Magenta-Grey-Logo — heftiger Brand-Akzent.
 *
 * Neu: ruhiges, kleines Logo. Den Kreis lösen wir auf. Das Logo-Asset selbst
 * wird per CSS-Filter neutral gefärbt (analog Iteration 4 `brightness(0)`).
 * Inhalt unangetastet (leerer <a class="navbar-brand"></a>).
 * ============================================================ */
/* Logo = Wortmarke "wolowo360" (Fraunces), wie Dashboard/Stammdaten — statt des
   alten W-Icons. Editor-Leiste ist hell -> dunkle Schrift. (2026-07-05) */
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-brand,
body.customer-editor-v19 .stepmenu_header .navbar-fixed-top .navbar-brand {
    width: auto !important;
    height: auto !important;
    background-image: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    top: auto !important;
    left: auto !important;
    box-shadow: none !important;
    margin: 0 var(--space-5) !important;
    padding: 0 !important;
    position: relative;
    z-index: 2;
    filter: none;
    opacity: 1;
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    letter-spacing: -0.01em;
    line-height: 64px;
    color: var(--text-primary) !important;
}

body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-brand:hover,
body.customer-editor-v19 .stepmenu_header .navbar-fixed-top .navbar-brand:hover {
    background-color: transparent !important;
    color: var(--accent) !important;
    opacity: 1;
}

/* ============================================================
 * § 4 · Vier-Schritt-Pills (#enabledul / #disabledul)
 *
 * Bestand (common.css Z. 2161-2196):
 *   .stepmenu_header .navbar-fixed-top .navbar-nav li {
 *     border-left: 1px solid #000;
 *     box-shadow: 1px 0 0 0 rgba(77, 85, 98, 0.5) inset;
 *   }
 *   .stepmenu_header .navbar-fixed-top .navbar-nav li a {
 *     color: #fff; padding: 15px 25px;
 *   }
 *   .stepmenu_header .navbar-fixed-top .navbar-nav li a:hover {
 *     background-color: var(--accent, #A8553B); color: #fff;  ← MAGENTA
 *   }
 *   .stepmenu_header .navbar-fixed-top .navbar-nav li.active a {
 *     background-color: var(--accent, #A8553B);  ← MAGENTA
 *   }
 *
 * Wir mappen Magenta-Active → Accent-Subtle + Accent-Text, Hover analog,
 * Border weg, Icon-Layer behält die Bestand-Sprite-Logik (wird via
 * Filter dunkler).
 * ============================================================ */
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li,
body.customer-editor-v19 #enabledul.navbar-nav > li,
body.customer-editor-v19 #disabledul.navbar-nav > li {
    border-left: 0 !important;
    box-shadow: none !important;
}

body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li > a,
body.customer-editor-v19 #enabledul > li > a,
body.customer-editor-v19 #disabledul > li > a {
    color: var(--text-secondary) !important;
    background: transparent !important;
    padding: var(--space-3) var(--space-5) !important;
    font-family: var(--font-sans);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-sm);
    transition: background var(--duration-quick) var(--ease-standard),
                color var(--duration-quick) var(--ease-standard);
}

body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li > a:hover,
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li > a:focus,
body.customer-editor-v19 #enabledul > li > a:hover,
body.customer-editor-v19 #disabledul > li > a:hover {
    color: var(--text-primary) !important;
    background: var(--bg-surface-alt) !important;
}

body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li.active > a,
body.customer-editor-v19 #enabledul > li.active > a,
body.customer-editor-v19 #disabledul > li.active > a {
    color: var(--accent) !important;
    background: var(--accent-subtle) !important;
}

/* Disabled-Variante (.tabdisabled) — ruhiger gedämpft */
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li > a.tabdisabled {
    background: var(--bg-muted) !important;
    color: var(--text-tertiary) !important;
    cursor: not-allowed;
}

/* Bestand-Icon-Sprites in den Pills (background-image SVGs) — leicht
 * dimmen, damit sie auf hellem Grund nicht hart wirken. */
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li > a .icon {
    filter: brightness(0) saturate(100%);
    opacity: 0.7;
    transition: opacity var(--duration-quick) var(--ease-standard);
}
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li > a:hover .icon,
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li.active > a .icon {
    opacity: 1;
}

/* Nav-Step-Arrows zwischen Pills (Inline-Style in main.php Z. 157-175
 * setzt color:rgba(255,255,255,0.45) per main.php-internem <style>;
 * dieser greift mit (0,1,1) und unsere ID-Selektoren stechen). */
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li.nav-step-arrow {
    color: var(--text-tertiary);
    padding: var(--space-3) var(--space-2);
}
body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-nav > li.nav-step-arrow .fa {
    color: var(--text-tertiary);
}

/* Step-Btn (?-Hilfe-Button neben den Pills) */
body.customer-editor-v19 #stepMenu .step-btn > a {
    color: var(--text-secondary) !important;
    background: var(--bg-surface-alt) !important;
    border-radius: var(--radius-full);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-3) 0 0 var(--space-3);
    text-decoration: none;
}
body.customer-editor-v19 #stepMenu .step-btn > a:hover {
    background: var(--accent-subtle) !important;
    color: var(--accent) !important;
}

/* ============================================================
 * § 5 · Sprach-Dropdown
 *
 * Bestand-Markup (main.php Z. 86-99): .dash-lang-wrap, .dash-lang-btn,
 * .dash-lang-menu. Iteration 4 hat dieselben Selektoren auf homemain.php
 * gestylt — wir reproduzieren das Pattern hier mit eigener Spezifität.
 * ============================================================ */
body.customer-editor-v19 .dash-lang-btn {
    color: var(--text-secondary) !important;
    font-family: var(--font-sans);
    padding: var(--space-3) var(--space-3) !important;
}
body.customer-editor-v19 .dash-lang-btn:hover,
body.customer-editor-v19 .dash-lang-btn:focus {
    color: var(--accent) !important;
}

body.customer-editor-v19 .dash-lang-menu {
    background: var(--bg-surface);
    border-color: var(--border-default);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
}
body.customer-editor-v19 .dash-lang-menu a {
    color: var(--text-primary);
}
body.customer-editor-v19 .dash-lang-menu a:hover {
    background: var(--bg-surface-alt);
}
body.customer-editor-v19 .dash-lang-menu a.is-active {
    background: var(--accent-subtle);
    color: var(--accent);
    font-weight: var(--font-weight-semibold);
}
body.customer-editor-v19 .dash-lang-divider {
    background: var(--border-default);
    height: 1px;
    margin: var(--space-2) 0;
}

/* ============================================================
 * § 6 · Credit-/Plan-Zusammenfassung (additive Wrapper-Klasse)
 *
 * Bestand-Markup (main.php Z. 191-200) hat KEINE CSS-Klasse — nur
 * Inline-Styles auf einem anonymen <div>. Computed-Style war im
 * Vorher-Protokoll überall null.
 *
 * QA-genehmigte additive Klasse: .editor-shell-credit-summary
 *   - additiv (im Bestand-Markup ergänzt)
 *   - NICHT von JS verwendet (Grep in main.php + frontend/web/js/* leer)
 *   - dokumentiert in diesem CSS-Header und in der main.php-Änderung
 *
 * Inline-Styles bleiben am Element bestehen (color:rgba(255,255,255,0.8) etc.)
 * — wir überstimmen sie mit höherer Spezifität + !important nur, wo nötig.
 * ============================================================ */
body.customer-editor-v19 .editor-shell-credit-summary {
    color: var(--text-secondary) !important;
    font-family: var(--font-sans);
    font-size: var(--font-size-body-sm);
}
body.customer-editor-v19 .editor-shell-credit-summary > span {
    color: var(--text-secondary);
}
body.customer-editor-v19 .editor-shell-credit-summary a {
    color: var(--text-secondary) !important;
    text-decoration: none;
}
body.customer-editor-v19 .editor-shell-credit-summary a:hover {
    color: var(--accent) !important;
}
/* Upgraden- / Premium-Pill innerhalb der Credit-Summary
 * Bestand-Inline: background:#4CAF50 (Premium-Pill) / .btn-info (Upgraden) */
body.customer-editor-v19 .editor-shell-credit-summary .btn.btn-info,
body.customer-editor-v19 .editor-shell-credit-summary #aSlelectState {
    background: var(--accent) !important;
    background-image: none !important;
    border-color: var(--accent) !important;
    color: var(--text-on-accent) !important;
}
body.customer-editor-v19 .editor-shell-credit-summary .btn.btn-info:hover,
body.customer-editor-v19 .editor-shell-credit-summary #aSlelectState:hover {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
}
body.customer-editor-v19 .editor-shell-credit-summary .btn.btn-xs[style*="background:#4CAF50"] {
    background: var(--status-ok-bg) !important;
    color: var(--status-ok-fg) !important;
}

/* ============================================================
 * § 7 · Account-Navi (Logout-Kreis)
 *
 * Bestand (common.css Z. 2197-2200):
 *   .stepmenu_header .navbar-fixed-top .account-navi {
 *     float: right; left: auto !important;
 *     height: 70px; width: 70px;
 *   }
 * Markup main.php Z. 201-205: <div class="account-navi" id="acntNav">
 *
 * Iteration 4 hatte das Pattern bereits auf homemain.php. Hier mit
 * äquivalenter Spezifität für die Editor-Shell.
 * ============================================================ */
body.customer-editor-v19 .account-navi,
body.customer-editor-v19 #acntNav,
body.customer-editor-v19 #stepMenu .navbar-fixed-top .account-navi {
    background: var(--bg-surface) !important;
    background-image: none !important;
    border: 1px solid var(--border-default) !important;
    box-shadow: var(--shadow-sm) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--radius-full) !important;
    margin: var(--space-3) var(--space-5) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: right;
}
body.customer-editor-v19 .account-navi ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.customer-editor-v19 .account-navi ul li {
    border: 0 !important;
    padding: 0 !important;
    display: inline-block;
}
body.customer-editor-v19 .account-navi a,
body.customer-editor-v19 #exit-tour {
    color: var(--accent) !important;
    background: transparent !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: var(--font-size-body-lg);
}
body.customer-editor-v19 .account-navi a:hover,
body.customer-editor-v19 #exit-tour:hover {
    color: var(--accent-hover) !important;
}

/* ============================================================
 * § 8 · Mobile-Dropdown (select.mobile-menu)
 *
 * Bestand (common.css Z. 2141-2160): wird zur Laufzeit per JS erzeugt;
 * Standard hat Dark-Slate-Background + weißen Text + grauen Dropdown-Pfeil.
 * Bestand-Inventar § 5 fordert: Dropdown bleibt funktional, kein
 * Custom-DOM-Ersatz.
 *
 * Wir behalten das <select> ohne Interaktions-Änderung, ändern nur
 * Token-basierte Optik. JS-Hook .mobile-menu unverändert.
 * ============================================================ */
body.customer-editor-v19 #stepMenu .navbar-fixed-top .mobilemenuDiv {
    width: auto !important;
    margin: var(--space-3) var(--space-4) !important;
    padding: 0 !important;
}
body.customer-editor-v19 #stepMenu .navbar-fixed-top .mobilemenuDiv .mobile-menu,
body.customer-editor-v19 select.mobile-menu {
    background: var(--bg-input) !important;
    background-image: none !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-default) !important;
    border-radius: var(--radius-sm) !important;
    padding: var(--space-2) var(--space-4) !important;
    font-family: var(--font-sans);
    font-size: var(--font-size-body);
    /* Bestand setzt -webkit-appearance:none mit eigenem dropdown_grey.svg —
     * wir lassen Bestand-Appearance default-style: kommt aus Bestand-CSS,
     * wirkt im hellen Layout neutral. */
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    width: auto !important;
    min-width: 160px;
}
body.customer-editor-v19 select.mobile-menu:focus {
    border-color: var(--border-focus) !important;
    outline: 0;
    box-shadow: var(--shadow-focus);
}

/* ============================================================
 * § 9 · Hidden-Inputs + Preloader + nav-Helper
 * ============================================================ */
body.customer-editor-v19 #hdnGroupPanoramaCount {
    /* unsichtbar bleiben, kein style-Override nötig */
}

body.customer-editor-v19 #preloader {
    background: var(--bg-page);
}
/* Altes SVG-Logo raus, neue Wortmarke rein — wie Topbar/Dashboard (2026-07-06) */
body.customer-editor-v19 #preloader .loader-text img {
    display: none;
}
body.customer-editor-v19 #preloader .loader-text::after {
    content: "wolowo360";
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 28px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}
/* Weißes Ring-SVG wäre auf heller Surface unsichtbar -> dunkel tinten */
body.customer-editor-v19 #preloader .inner img.loader-img {
    filter: brightness(0) saturate(100%);
    opacity: 0.4;
}

/* ============================================================
 * § 10 · Body-Padding wegen fixed Topbar
 * ============================================================ */
body.customer-editor-v19 {
    padding-top: 80px;
}
body.customer-editor-v19 #stepMenu .navbar-fixed-top {
    top: 0;
}

/* ============================================================
 * § 11 · Responsive
 *
 * Tablet (768-991) — Bestand hat eine vorhandene Inline-Style-Regel
 * `.navbar-nav > li.nav-step-arrow { display: none }` für ≤991, die wir
 * NICHT ändern (sie ist im main.php-internen <style>). Pills bleiben
 * mit Labels sichtbar.
 *
 * Mobile (≤767) — Pills werden vom Bestand-JS in ein <select> umgewandelt.
 * Bestand `.collapse` greift; wir setzen nichts dagegen.
 * ============================================================ */
@media (max-width: 991px) {
    body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-brand {
        margin: var(--space-3) var(--space-3);
        width: 120px !important;
    }
    body.customer-editor-v19 .dash-lang-wrap {
        margin-left: var(--space-3) !important;
    }
    body.customer-editor-v19 .editor-shell-credit-summary {
        margin-right: var(--space-3) !important;
    }
}

@media (max-width: 767px) {
    body.customer-editor-v19 #stepMenu .navbar-fixed-top {
        min-height: 56px;
    }
    body.customer-editor-v19 #stepMenu .navbar-fixed-top .navbar-brand {
        width: 100px !important;
        margin-left: var(--space-3) !important;
    }
    body.customer-editor-v19 .editor-shell-credit-summary {
        display: none !important;
    }
    body.customer-editor-v19 .account-navi,
    body.customer-editor-v19 #acntNav {
        margin: var(--space-2) var(--space-3) !important;
        width: 40px !important;
        height: 40px !important;
    }
    body.customer-editor-v19 {
        padding-top: 70px;
    }
}

/* ============================================================
 * § 13 · Buttons — Bootstrap-/Bestand-Overrides
 *
 * Bestand-Farben (customer-backoffice-unified.css + Bootstrap):
 *   .btn-primary / .btn-info : teils Magenta var(--accent, #A8553B), teils Blau var(--accent, #A8553B)
 *   .btn-secondary           : Magenta var(--accent, #A8553B)
 *   .btn-primary-2           : Bluetooth-Blau var(--accent, #A8553B)
 * Gleiches Mapping wie Dashboard-Iteration 4 (customer-v19.css § Buttons):
 * CTA → --accent, neutrale Buttons → ruhige Surface.
 *
 * !important nur dort, wo Bestand mit gleicher oder höherer Spezifität
 * (background-image-Gradients) sonst gewinnt — identisch zu Iteration 4.
 * Wirkt auf Editor-Shell UND auf die Subview-Buttons (gewollt, § 3.4).
 * ============================================================ */
body.customer-editor-v19 .btn,
body.customer-editor-v19 .btn-default {
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: var(--font-weight-medium);
    transition: background var(--duration-quick) var(--ease-standard),
                color var(--duration-quick) var(--ease-standard),
                border-color var(--duration-quick) var(--ease-standard);
}

body.customer-editor-v19 .btn-primary,
body.customer-editor-v19 .btn-info {
    background: var(--accent) !important;
    background-image: none !important;
    border-color: var(--accent) !important;
    color: var(--text-on-accent) !important;
}
body.customer-editor-v19 .btn-primary:hover,
body.customer-editor-v19 .btn-primary:focus,
body.customer-editor-v19 .btn-info:hover,
body.customer-editor-v19 .btn-info:focus {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: var(--text-on-accent) !important;
}

/* .btn-secondary war Magenta — ruhiger Default-Look (CTAs nutzen .btn-primary). */
body.customer-editor-v19 .btn-secondary {
    background: var(--bg-surface) !important;
    background-image: none !important;
    border-color: var(--border-default) !important;
    color: var(--text-primary) !important;
}
body.customer-editor-v19 .btn-secondary:hover,
body.customer-editor-v19 .btn-secondary:focus,
body.customer-editor-v19 .btn-secondary:active {
    background: var(--bg-surface-alt) !important;
    border-color: var(--border-strong) !important;
    color: var(--text-primary) !important;
}

/* .btn-primary-2 war Blau — auf Accent mappen. */
body.customer-editor-v19 .btn-primary-2 {
    background: var(--accent) !important;
    background-image: none !important;
    border-color: var(--accent) !important;
    color: var(--text-on-accent) !important;
}
body.customer-editor-v19 .btn-primary-2:hover,
body.customer-editor-v19 .btn-primary-2:active {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: var(--text-on-accent) !important;
}

body.customer-editor-v19 .btn-default {
    background: var(--bg-surface);
    border-color: var(--border-default);
    color: var(--text-primary);
}
body.customer-editor-v19 .btn-default:hover,
body.customer-editor-v19 .btn-default:focus {
    background: var(--bg-surface-alt);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

/* Destruktive Aktionen bleiben klar als destruktiv erkennbar (§ 4.3 Haupt-Task). */
body.customer-editor-v19 .btn-danger {
    background: var(--status-risk-bg) !important;
    background-image: none !important;
    border-color: var(--status-risk-bg) !important;
    color: var(--status-risk-fg) !important;
}

/* ============================================================
 * § 14 · Panels
 *
 * Bestand .panel: graue Bootstrap-3-Box. Neu: weiße Surface, feiner
 * Border, ruhiger Shadow, Fraunces-Heading.
 *
 * Ausnahme bleibt unangetastet: main.php Z. 79-82 setzt
 * `#upgrade-modal .panel.premium { background:transparent; border:0; … }`
 * mit höherer Spezifität (ID) — die transparenten Premium-Panels in den
 * Upgrade-Modals behalten ihren Bestand-Look.
 * ============================================================ */
body.customer-editor-v19 .panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
body.customer-editor-v19 .panel-heading {
    background: var(--bg-surface-alt);
    border-bottom: 1px solid var(--border-default);
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
}
body.customer-editor-v19 .panel-title {
    color: var(--text-primary);
    font-family: var(--font-display);
}
body.customer-editor-v19 .panel-body {
    background: var(--bg-surface);
    color: var(--text-primary);
}

/* ============================================================
 * § 15 · Formulare — nur text-artige Felder
 *
 * Bewusst NICHT angefasst: input[type=checkbox|radio|range|color],
 * Spectrum-Color-Picker und Switch/Toggle-Controls in setting/index.php.
 * Diese tragen funktionale Bestand-Styles; ein generischer input-Override
 * würde sie brechen (Inventar § 6.3 / § 3.4).
 * ============================================================ */
body.customer-editor-v19 .form-control,
body.customer-editor-v19 input[type="text"],
body.customer-editor-v19 input[type="email"],
body.customer-editor-v19 input[type="url"],
body.customer-editor-v19 input[type="tel"],
body.customer-editor-v19 input[type="password"],
body.customer-editor-v19 input[type="number"],
body.customer-editor-v19 input[type="search"],
body.customer-editor-v19 textarea,
body.customer-editor-v19 select.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    box-shadow: none;
}
body.customer-editor-v19 .form-control:focus,
body.customer-editor-v19 input[type="text"]:focus,
body.customer-editor-v19 input[type="email"]:focus,
body.customer-editor-v19 input[type="url"]:focus,
body.customer-editor-v19 input[type="tel"]:focus,
body.customer-editor-v19 input[type="password"]:focus,
body.customer-editor-v19 input[type="number"]:focus,
body.customer-editor-v19 input[type="search"]:focus,
body.customer-editor-v19 textarea:focus,
body.customer-editor-v19 select.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: var(--shadow-focus);
    outline: 0;
}
body.customer-editor-v19 .control-label,
body.customer-editor-v19 label {
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

/* ============================================================
 * § 16 · Bootstrap-Tabs (.nav-tabs) — setting/index.php "Verwalten"
 *
 * Bestand: Magenta-aktive Tabs. Neu: ruhiger Accent-Unterstrich.
 * tab-pane-/JS-Logik (Zeile 1823/2441) bleibt unberührt — nur Optik.
 * ============================================================ */
body.customer-editor-v19 .nav-tabs {
    border-bottom: 1px solid var(--border-default);
}
body.customer-editor-v19 .nav-tabs > li > a {
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-weight: var(--font-weight-medium);
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    margin-right: var(--space-2);
    transition: color var(--duration-quick) var(--ease-standard),
                border-color var(--duration-quick) var(--ease-standard);
}
body.customer-editor-v19 .nav-tabs > li > a:hover,
body.customer-editor-v19 .nav-tabs > li > a:focus {
    color: var(--text-primary);
    background: transparent;
    border-color: transparent transparent var(--border-strong);
}
body.customer-editor-v19 .nav-tabs > li.active > a,
body.customer-editor-v19 .nav-tabs > li.active > a:hover,
body.customer-editor-v19 .nav-tabs > li.active > a:focus {
    color: var(--accent);
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--accent);
}

/* ============================================================
 * § 17 · Modals — .wolowo-popup (Tutorial #step1–#step4, Upgrade,
 *        Subview-Popups, bootbox)
 *
 * LADEORDNUNG-Vorbehalt aus Topbar-Bericht: customer-editor-v19.css lädt
 * VOR modal.css/popup.css. Deshalb hier ausschließlich Selektoren mit
 * erhöhter Spezifität (body.customer-editor-v19 + .wolowo-popup +
 * .modal-content = (0,3,0)), die bare .modal-content (0,1,0) und
 * .wolowo-popup .modal-content (0,2,0) aus den später geladenen Sheets
 * überstechen. Z-Index NICHT angefasst (setting/index.php registerCss
 * hält dort !important-Stacks).
 * ============================================================ */
body.customer-editor-v19 .wolowo-popup .close {
    color: var(--text-secondary);
    opacity: 0.8;
    text-shadow: none;
}
body.customer-editor-v19 .wolowo-popup .close:hover {
    color: var(--accent);
    opacity: 1;
}

/* ============================================================
 * § 18 · Tutorial-/Upgrade-Modal-Hülle (visuell, kein Inhalt)
 *
 * #step1–#step4 und #upgrade-modal nutzen .wolowo-popup (→ § 17) plus
 * .common-modal / .upgrade-modal / .upgrade-modal-header. Nur die Hülle
 * und der Header werden ruhiger; Credits-/Feature-Inhalte und die
 * transparenten .panel.premium-Blöcke bleiben unverändert (§ 11.2/11.3 Spec).
 * ============================================================ */
body.customer-editor-v19 .upgrade-modal-header {
    background: var(--bg-surface-alt);
    border-bottom: 1px solid var(--border-default);
    color: var(--text-primary);
    font-family: var(--font-display);
}
body.customer-editor-v19 .common-modal .modal-content,
body.customer-editor-v19 .upgrade-modal .modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
}

/* ============================================================
 * § 19 · Snackbar + Tour-Live-Notice (edit_tour.php)
 *
 * Selektoren wie Dashboard-Iteration 4; greift auf den Editor-Subviews,
 * wo die Bestand-Snackbar gerendert wird.
 * ============================================================ */
body.customer-editor-v19 .wolowo-snackbar {
    background: var(--text-primary);
    color: var(--text-on-ink);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
body.customer-editor-v19 .tour-live-notice,
body.customer-editor-v19 #tour-live-notice {
    background: var(--bg-surface);
    border: 1px solid var(--status-ok-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
body.customer-editor-v19 .tour-live-notice__badge {
    background: var(--status-ok-bg);
    color: var(--status-ok-fg);
    border-radius: var(--radius-full);
}
body.customer-editor-v19 .tour-live-notice__title {
    color: var(--text-primary);
    font-family: var(--font-display);
}
body.customer-editor-v19 .tour-live-notice__text {
    color: var(--text-secondary);
}

/* ============================================================
 * § 20 · Fokus-Zustände (Accessibility)
 * ============================================================ */
body.customer-editor-v19 .btn:focus-visible,
body.customer-editor-v19 a:focus-visible,
body.customer-editor-v19 input:focus-visible,
body.customer-editor-v19 select:focus-visible,
body.customer-editor-v19 textarea:focus-visible,
body.customer-editor-v19 button:focus-visible {
    outline: 0;
    box-shadow: var(--shadow-focus);
}

/* ============================================================
 * § 21 · Reduced motion
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
    body.customer-editor-v19 * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
 * § 22 · QA-Iteration 2026-06-11 — Bleed-through-Fixes
 *
 * Legacy customer-backoffice-unified.css / grundrisse.css setzen
 * Quicksand/Montserrat und Alt-Magenta (var(--accent, #A8553B)) mit hoeherer
 * Spezifitaet als die §1-Basisregeln (z.B. `.btn{font-family:Quicksand}`,
 * `.savedPanoramaDiv .panorama_name`). Daher hier scoped Overrides
 * mit !important (Hauskonvention, vgl. die 120 !important oben).
 * Befund: edit-tour/hotspot/floorplan QA-Walkthrough 2026-06-11.
 * ============================================================ */

/* --- Fonts: Inter fuer Body/Buttons/Labels --- */
body.customer-editor-v19 .btn,
body.customer-editor-v19 .panorama_name,
body.customer-editor-v19 .savedPanoramaDiv,
body.customer-editor-v19 figcaption,
body.customer-editor-v19 .txt,
body.customer-editor-v19 .stepmenu_header a,
body.customer-editor-v19 #add-imgbox {
    font-family: var(--font-sans) !important;
}

/* --- Fonts: Fraunces fuer alle Headings (Montserrat-Leak floorplan h3) --- */
body.customer-editor-v19 h1,
body.customer-editor-v19 h2,
body.customer-editor-v19 h3,
body.customer-editor-v19 h4,
body.customer-editor-v19 h5,
body.customer-editor-v19 h6,
body.customer-editor-v19 .panel-title {
    font-family: var(--font-display) !important;
}

/* --- Farbwelt: Alt-Magenta -> V19 Terracotta-Akzent ---
 * Hinweis: Destruktiv-Aktionsfarbe (Loeschen) ist eine Design-
 * Entscheidung. Default = Marken-Akzent; bei Bedarf hier auf einen
 * eigenen Danger-Ton umstellen. */
body.customer-editor-v19 a.delete,
body.customer-editor-v19 div.bottom {
    background-color: var(--accent) !important;
}

/* --- #8 Hotspot-Toolbar: Alt-Magenta-Icons -> V19 Terracotta-Linienicons ---
 * Linke Werkzeugleiste (.side_toogle): Hotspot hinzufuegen/entfernen/Text/Medien.
 * Neue Assets unter images/tourgenerator/v19/, Hover = gleiches Icon. */
body.customer-editor-v19 .addicon,
body.customer-editor-v19 .addicon:hover {
    background-image: url(../images/tourgenerator/v19/hotspot-add.svg) !important;
}
body.customer-editor-v19 .delicon,
body.customer-editor-v19 .delicon:hover {
    background-image: url(../images/tourgenerator/v19/hotspot-remove.svg) !important;
}
body.customer-editor-v19 .texticon,
body.customer-editor-v19 .texticon:hover {
    background-image: url(../images/tourgenerator/v19/hotspot-info.svg) !important;
}
body.customer-editor-v19 .imegon,
body.customer-editor-v19 .imegon:hover {
    background-image: url(../images/tourgenerator/v19/hotspot-media.svg) !important;
}

/* --- #10 Upload-Plus: blaues Kreuz (add-blue-grey) -> V19-Terracotta-Plus --- */
body.customer-editor-v19 .add-panorama .fileupload,
body.customer-editor-v19 .add-panorama .fileupload:hover {
    background-image: url(../images/tourgenerator/v19/upload-plus.svg) !important;
}

/* ============================================================
 * § Sanierung Batch A (2026-06-12) — Alt-Blau (var(--accent, #A8553B) / Bootstrap-Link)
 * Ursache: grundrisse.css `.delete/.badge{...var(--accent, #A8553B)}`, hochladen.css
 * `.img-light-box{background:var(--accent, #A8553B)}` und klassenlose "Gruppe oeffnen"-
 * Links (Bootstrap-Link-Blau). Scope-spezifisch auf V19-Akzent.
 * ============================================================ */
/* Legacy-Selektoren sind teils sehr tief (bis 0,8,1) ohne !important
   (z.B. `.hochladen-page ...figure .img-light-box`) -> gezieltes !important. */
body.customer-editor-v19 .floorplane-page .delete,
body.customer-editor-v19 .floorplane-page .badge {
    background-color: var(--accent) !important;
}
/* Ausnahme: In der Radar-Toolbar ist `li.delete` nur der WRAPPER um
   a.drag-radar-rm.delicon — die Akzentflaeche oben uebermalte das
   Linienicon zu einem vollen Terracotta-Quadrat (Frank-QA floorplan
   2026-07-06). Icon kommt aus hotspot-remove.svg (§ #8). */
body.customer-editor-v19 .floorplane-page .hotspot_toolbar #drag-list li.delete {
    background-color: transparent !important;
}
body.customer-editor-v19 .floorplane-page .badge {
    color: #fff !important;
    font-family: var(--font-sans) !important;
}
body.customer-editor-v19 .img-light-box {
    background-color: var(--accent) !important;
}
body.customer-editor-v19 .groupbox-info .no_of_img a,
body.customer-editor-v19 .groupbox-info a {
    color: var(--accent) !important;
}

/* "Bilder benennen"/Cropper-Modal: vormals Inline `background:var(--accent, #A8553B)` im
   Header (views/site/_cropper_modal_multiple.php) -> ausgelagert + V19-Akzent. */
body.customer-editor-v19 .cropperModal .cropper-modal-header,
body.customer-editor-v19 .cropper-modal-header {
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* Papierkorb transparent: Bestand zeigte gefuellte Terracotta-Kreise
   (Batch-A `a.delete{background:accent}`). Gewuenscht: transparenter
   Hintergrund, nur Icon sichtbar (Panorama-Delete = fa-trash-o,
   Gruppen-Delete = bg-image rubbish). */
body.customer-editor-v19 .thumb_boxes a.delete,
body.customer-editor-v19 .panel-heading a.delete,
body.customer-editor-v19 .groupbox-info a.delete,
body.customer-editor-v19 figure a.delete {
    background-color: transparent !important;
}
body.customer-editor-v19 .thumb_boxes a.delete i.fa-trash-o,
body.customer-editor-v19 figure a.delete i.fa-trash-o {
    color: var(--accent) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
body.customer-editor-v19 .panel-heading a.delete,
body.customer-editor-v19 .groupbox-info a.delete {
    background-image: url(../images/rubbish-blue_grey.svg) !important;
}

/* ============================================================
 * § Sanierung Batch B (2026-06-12) — Rest Alt-Magenta/-Blau Editor
 * Custom-Scrollbar (mCSB_dragger_bar var(--accent, #A8553B) !important), .magenta-bullet
 * (var(--accent, #A8553B)) und hotspot Alt-Blau (var(--accent, #A8553B)) -> V19-Akzent.
 * ============================================================ */
body.customer-editor-v19 .mCSB_dragger .mCSB_dragger_bar,
body.customer-editor-v19 .mCSB_dragger_bar {
    background-color: var(--accent) !important;
}
body.customer-editor-v19 .magenta-bullet {
    background: var(--accent) !important;
}
body.customer-editor-v19 .tour-play,
body.customer-editor-v19 .floorplan_icon,
body.customer-editor-v19 .owl-theme .owl-nav .owl-next,
body.customer-editor-v19 .owl-theme .owl-nav .owl-prev,
body.customer-editor-v19 .owl-next,
body.customer-editor-v19 .owl-prev,
body.customer-editor-v19 .home-scroll,
body.customer-editor-v19 .home-scroll span {
    background-color: var(--accent) !important;
}
/* Hotspot: Alt-Blau-Textlink in der unteren Panorama-Leiste -> Akzent. */
body.customer-editor-v19 .bottominner a {
    color: var(--accent) !important;
}

/* ============================================================
 * § 23 · Tour-Erstellen-Workflow — Legacy-Hover-/Tooltip-Bleed-through
 *   (2026-06-13)
 *
 * Befund (QA-Walkthrough /es|/de|/en|/ar  customer/tour/create-tour
 * "Paso 1 de 4 - Ponle nombre a tu tour" + die drei Folgeschritte
 * edit-tour / floorplan / hotspot / setting):
 *
 * Normal-, Button-, Input- und Fokus-Zustaende sind bereits V19
 * (siehe § 13 Buttons, § 15 Formulare, § 20 Fokus). EINZIGER Alt-Design-
 * Rest, der erst NACH einer Interaktion erscheint:
 *
 *  (a) Bootstrap-Tooltips (data-toggle="tooltip" auf #submitForm,
 *      .payment-modal sowie der Vier-Schritt-Navigation) tragen den
 *      Alt-Magenta-Look var(--accent, #A8553B) + Quicksand aus common.css/modal.css/
 *      createtour.css:
 *        `.tooltip > .tooltip-inner   { background:var(--accent, #A8553B); font:Quicksand }`  (0,2,0)
 *        `.tooltip.<pos> .tooltip-arrow{ border-<pos>-color:var(--accent, #A8553B) }`          (0,3,0)
 *      Tooltips haengt Bootstrap an <body> -> liegen im Editor-Scope.
 *      Gemessen vor Fix: tooltip-inner = rgb(170,11,87).
 *
 *  (b) Der Modal-Schliessen-Button (.wodal .modal-content .modal-header
 *      .close, modal.css:1230, background:var(--accent, #A8553B)) ist bereits durch
 *      customer-shell-v19.css:549 auf eine ruhige V19-Flaeche gemappt,
 *      besass aber KEINEN sichtbaren Hover-/Tastaturfokus-Zustand.
 *
 * Fix: strikt auf body.customer-editor-v19 gescopt (deckt genau die vier
 * Workflow-Schritte ab, keine globale/Universal-Hover-Regel). Tooltip-
 * Flaeche = ruhiges Ink (wie die V19-Snackbar, § 19), Arrow gleichfarbig.
 * Spezifitaet (0,3,1)/(0,4,1) schlaegt den Bestand ohne !important; nur der
 * Close-Hover braucht !important gegen die !important-Basis aus § shell.
 * ============================================================ */
body.customer-editor-v19 .tooltip {
    background: transparent !important;
    border: 0 !important;
}
body.customer-editor-v19 .tooltip > .tooltip-inner {
    background-color: var(--text-primary) !important;
    color: var(--text-on-ink) !important;
    font-family: var(--font-sans) !important;
    font-size: var(--font-size-body-sm) !important;
    border: 0 !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-md) !important;
}
body.customer-editor-v19 .tooltip.top .tooltip-arrow {
    border-top-color: var(--text-primary) !important;
}
body.customer-editor-v19 .tooltip.bottom .tooltip-arrow {
    border-bottom-color: var(--text-primary) !important;
}
body.customer-editor-v19 .tooltip.left .tooltip-arrow {
    border-left-color: var(--text-primary) !important;
}
body.customer-editor-v19 .tooltip.right .tooltip-arrow {
    border-right-color: var(--text-primary) !important;
}

/* Modal-Close: sichtbarer V19-Hover-/Active-/Tastaturfokus-Zustand.
   .close (Text-"x", create-tour Upgrade-Modal) + .clos (Img-"x",
   Schritt-Modale #step1-4). Beide werden in customer-shell-v19.css mit
   !important auf eine ruhige Surface gesetzt -> Hover braucht !important. */
body.customer-editor-v19 .modal-header .close:hover,
body.customer-editor-v19 .modal-header .close:focus-visible,
body.customer-editor-v19 .modal-header .clos:hover,
body.customer-editor-v19 .modal-header .clos:focus-visible {
    background: var(--accent-subtle) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    opacity: 1 !important;
}
body.customer-editor-v19 .modal-header .close:active,
body.customer-editor-v19 .modal-header .clos:active {
    background: var(--accent-soft) !important;
    border-color: var(--accent-hover) !important;
    color: var(--accent-hover) !important;
}

/* Panoramen-Gruppe: etwas mehr Abstand zur (fixierten) Topbar + flacherer
   Gruppenkopf. Nur Padding/Margin (der absolut positionierte "+"-Button bleibt
   unangetastet). Feinwerte nach Sichtpruefung justierbar. (2026-07-05) */
body.customer-editor-v19 .addimages_section {
    padding-top: 72px;
}
body.customer-editor-v19 .drop-area .panel-heading,
body.customer-editor-v19 .panorama_boxes .panel-heading {
    padding-bottom: 8px;
    margin-bottom: 10px;
}

/* ============================================================
 * § QA 2026-07-11 (Frank) — Gruppenkopf, Bildnamen, Muelltonnen
 * Befund edit-tour/9977805:
 *  (1) Kopf "Panoramen (N)" rendert Inter 24px braun (#6A5848), klebt
 *      links oben am Band; Titel ist seit heute fix (nicht editierbar,
 *      _load_tour_group.php) -> Fraunces H3, Ink, vertikal mittig.
 *  (2) Bildnamen 16px zu gross -> 13px; Panorama-Muelltonne haengt
 *      unten in der Namenszeile, Hover ohne Feedback -> weisser
 *      Kreis-Button oben rechts AUF dem Bild, Hover Terracotta.
 *  (3) Gruppen-Muelltonne war Alt-Blau (rubbish-blue_grey.svg) und
 *      ragt unten aus dem Band -> FA-Icon, vertikal mittig im Band.
 * ============================================================ */

/* (1) Kopftypografie: schlaegt die generische .txt->Inter-Regel (§22)
   via hoehere Spezifitaet; cursor default, da nicht mehr editierbar */
/* !important auf font-size/cursor: hochladen.css traegt
   `.hochladen-page .addimages_section .outer_boxes .panel .panel-heading h3`
   (Spezifitaet 0,4,2) mit 2.4rem + cursor:text */
body.customer-editor-v19 .drop-area .panel-heading h3.txt,
body.customer-editor-v19 .panorama_boxes .panel-heading h3.txt {
    font-family: var(--font-display) !important;
    font-size: var(--font-size-h3) !important;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary) !important;
    cursor: default !important;
    margin: 0;
    padding: 4px 0 0 16px;
    line-height: var(--line-height-h3, 1.4);
}
body.customer-editor-v19 .drop-area .panel-heading .group-pano-count,
body.customer-editor-v19 .panorama_boxes .panel-heading .group-pano-count {
    color: var(--text-secondary);
    font-size: var(--font-size-body-lg);
    font-weight: var(--font-weight-regular, 400);
}

/* (3) Gruppen-Muelltonne: blaues SVG raus, FA-Papierkorb rein;
   vertikal mittig im Kopfband statt unten herausragend */
body.customer-editor-v19 .drop-area .panel-heading,
body.customer-editor-v19 .panorama_boxes .panel-heading {
    position: relative;
}
body.customer-editor-v19 .panel-heading .buttons {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-50%);
    margin: 0 !important;
}
body.customer-editor-v19 .panel-heading .buttons a.delete {
    background-image: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: background-color var(--duration-base, 150ms) ease, color var(--duration-base, 150ms) ease;
}
body.customer-editor-v19 .panel-heading .buttons a.delete::before {
    content: "\f014"; /* fa-trash-o */
    font-family: FontAwesome;
    font-size: 15px;
    line-height: 1;
}
body.customer-editor-v19 .panel-heading .buttons a.delete:hover,
body.customer-editor-v19 .panel-heading .buttons a.delete:focus {
    background-color: var(--accent-subtle) !important;
    color: var(--accent);
}

/* (2a) Bildnamen: 16px -> 13px, Placeholder gedaempft */
body.customer-editor-v19 figure .panorama_name,
body.customer-editor-v19 figure .panorama-name-input {
    font-size: var(--font-size-body-sm) !important;
}
body.customer-editor-v19 figure .panorama_name {
    color: var(--text-primary);
}
body.customer-editor-v19 figure .panorama_name.placeholder {
    color: var(--text-tertiary);
}

/* (2b) Panorama-Muelltonne: aus der Namenszeile hoch auf die Bildecke,
   als runder Surface-Button mit klarem Hover-Feedback */
body.customer-editor-v19 .thumb_boxes figure a.delete {
    top: 8px !important;
    right: 8px !important;
    bottom: auto !important;
    left: auto !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    z-index: 3;
    transition: background-color var(--duration-base, 150ms) ease, border-color var(--duration-base, 150ms) ease;
}
body.customer-editor-v19 .thumb_boxes figure a.delete i.fa-trash-o {
    color: var(--text-secondary) !important;
    text-shadow: none !important;
    font-size: 14px;
    line-height: 1;
}
body.customer-editor-v19 .thumb_boxes figure a.delete:hover,
body.customer-editor-v19 .thumb_boxes figure a.delete:focus {
    background-color: var(--accent-subtle) !important;
    border-color: var(--accent);
}
body.customer-editor-v19 .thumb_boxes figure a.delete:hover i.fa-trash-o,
body.customer-editor-v19 .thumb_boxes figure a.delete:focus i.fa-trash-o {
    color: var(--accent) !important;
}
