/* ==========================================================================
   Aktionen v2.2 – ONLY targets .l7n .l7h .l7f .l7b elements.
   Zero reach outside own elements.
   ========================================================================== */

.l7-dot { margin: 0 5px; opacity: 0.2; }
.l7-clr { font-weight: 700; }

/* Fix: Leere cta-box Elemente verstecken (Ghost-Element im Raw HTML) */
a.cta-box:empty { display: none !important; }

/* ==========================================================================
   NAV – Erbt alles von Salient
   ========================================================================== */
.l7n {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.l7n-name { font-weight: 600; }
.l7n-sep { margin: 0 3px; opacity: 0.3; }
.l7n-time { font-weight: 500; opacity: 0.75; }

/* ==========================================================================
   HERO
   ========================================================================== */
.l7h {
    font-family: inherit;
    color: inherit;
    max-width: 347px;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    list-style: none !important;
}
.l7h::before, .l7h::after { display: none !important; content: none !important; }

.l7h-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
}
.l7h-row::before, .l7h-row::after { display: none !important; content: none !important; }

.l7h-label {
    font-size: 0.65em;
    font-weight: 500;
    color: inherit;
    opacity: 0.4;
}
.l7h-row .l7-clr { font-size: 0.65em; }

.l7h-track {
    width: 100%;
    height: 3px;
    background: rgba(128,128,128,0.15);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}
.l7h-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease, background 0.4s ease;
}

.l7h-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    font-size: 0.65em;
    color: inherit;
    opacity: 0.5;
    line-height: 1.3;
    background: none !important;
    border: none !important;
    white-space: nowrap;
    list-style: none !important;
}
.l7h-info::before, .l7h-info::after { display: none !important; content: none !important; }

.l7h--critical .l7-clr,
.l7h--high .l7-clr { animation: l7p 1.8s ease-in-out infinite; }

/* Fallback: nur Text, kein Balken */
.l7h--fallback, .l7f--fallback {
    border: none !important;
    background: none !important;
}
.l7h--fallback .l7h-info {
    margin: 0 !important;
    opacity: 0.5;
}
.l7f--fallback {
    padding: 8px 0 !important;
}
.l7f--fallback .l7f-info {
    margin: 0 !important;
    color: #888;
    font-size: 0.78em;
}

/* ==========================================================================
   FORMULAR
   ========================================================================== */
.l7f {
    font-family: inherit;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 6px;
    padding: 10px 12px !important;
    margin: 0 0 12px 0 !important;
    list-style: none !important;
}
.l7f::before, .l7f::after { display: none !important; content: none !important; }

.l7f-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
}
.l7f-row::before, .l7f-row::after { display: none !important; content: none !important; }

.l7f-label { font-size: 0.7em; font-weight: 500; color: #888; }
.l7f-row .l7-clr { font-size: 0.7em; }

.l7f-track {
    width: 100%;
    height: 3px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}
.l7f-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease, background 0.4s ease;
}

.l7f-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0 0 0 !important;
    padding: 0 !important;
    font-size: 0.72em;
    color: #555;
    line-height: 1.3;
    background: none !important;
    border: none !important;
    list-style: none !important;
}
.l7f-info::before, .l7f-info::after { display: none !important; content: none !important; }

.l7f--critical .l7-clr,
.l7f--high .l7-clr { animation: l7p 1.8s ease-in-out infinite; }

/* ==========================================================================
   STICKY BAR
   ========================================================================== */
.l7b {
    position: fixed;
    left: 0; right: 0;
    z-index: 99999;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.85em;
    background: #F5C518;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.l7b::before, .l7b::after { display: none !important; content: none !important; }
.l7b--top { top: 0; }
.l7b--bottom { bottom: 0; }
.l7b--hidden { transform: translateY(-100%); }
.l7b--bottom.l7b--hidden { transform: translateY(100%); }

.l7b-in {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.l7b-name { font-weight: 600; }
.l7b-time { font-weight: 500; opacity: 0.75; }
.l7b-cta {
    font-weight: 600;
    color: inherit !important;
    text-decoration: none !important;
    background: rgba(255,255,255,0.3);
    padding: 2px 10px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.1);
}
.l7b-cta:hover { background: rgba(255,255,255,0.5); }
.l7b-x {
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: rgba(0,0,0,0.3); font-size: 18px;
    cursor: pointer; padding: 4px 8px; line-height: 1;
}
.l7b-x:hover { color: rgba(0,0,0,0.6); }

.admin-bar .l7b--top { top: 32px; }
@media (max-width: 782px) { .admin-bar .l7b--top { top: 46px; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@keyframes l7p { 0%,100%{opacity:1} 50%{opacity:.6} }

@media (max-width: 999px) {
    .l7h { max-width: 100%; }
    .l7h-info { white-space: normal; }
}
@media (max-width: 768px) {
    .l7h-info, .l7f-info { font-size: 0.68em; }
    .l7b { padding: 6px 14px; padding-right: 32px; font-size: 0.75em; }
}
