.ereignisse-filter { max-width: 260px; margin-bottom: 1.5rem; }
.page-cockpit-ereignisse .li-box-row2 { margin-top: 0; }
.page-cockpit-ereignisse .li-item--row { grid-template-columns: minmax(150px, auto) minmax(150px, auto) 70px 1fr auto; flex-wrap: nowrap; gap: 1.5rem; }
.page-cockpit-ereignisse .ch-kanal-logo { margin-right: .8rem; }
.page-cockpit-ereignisse .li-box-date { margin-right: 5px; }
.page-cockpit-ereignisse .li-box-row1 { padding-left: 5px; }
.page-cockpit-ereignisse .li-item--row .li-box-meta { display: flex; flex-direction: column; gap: .15rem; text-align: left; align-items: flex-start; }
.ereignisse-who { display: flex; flex-direction: column; gap: .15rem; text-align: left; }
.ereignisse-who .ti { margin-right: 8px; }
.ereignisse-who .li-box-ort, .ereignisse-who .li-box-name { display: block; }

.cockpit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
}



.ota-logo {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.cockpit-badge {
    font-size: .8rem;
    font-weight: 500;
    padding: .15rem .6rem;
    border-radius: 5px;
    white-space: nowrap;
}

.cockpit-badge--anreise   { background: var(--sidebar-hover); min-width: 90px; text-align: center; margin-right: .75rem; background: var(--accent-yellow); color: var(--text-green); }
.cockpit-badge--abreise   { background: var(--sidebar-hover); min-width: 90px; text-align: center; margin-right: .75rem; }



.li-box-detail .ti { font-size: 1.1rem; vertical-align: middle; margin-right: .2rem; }



/* ── Booking Status ──────────────────────────────────────────────────────── */
.booking-status {
    display: inline-block;
    text-align: center;
    padding: .15rem .5rem .16rem .5rem;
    margin-right: 10px;
    border-radius: 10px 4px 10px 4px;
    font-size: .8rem;
    background: var(--border);
    color: var(--muted);
    min-width: 103px;
}

.booking-status--buchung     { background: #c54d4d; color: #fff; }
.booking-status--reserviert  { background: #f39832; color: #fff; }
.booking-status--blockiert   { background: #3c689d; color: #fff; }
.booking-status--geschlossen { background: #8280a1; color: #fff; }
.booking-status--modified    { background: #c54d4d; color: #fff; }
.booking-status--cancelled   { background: #c6deb6; color: #5f705a; }

.cockpit-tools-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.cockpit-tool-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border-radius: 10px;
    color: var(--body-text);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background .15s ease;
}
.cockpit-tool-box .ti { font-size: 1.3rem; flex-shrink: 0; }
.cockpit-tool-box:hover { background: color-mix(in srgb, var(--bg-white) 40%, transparent); text-decoration: none; }


@media (max-width: 640px) {
    .cockpit-grid { grid-template-columns: 1fr; gap: 0; }
    .cockpit-tools-row { flex-direction: column; }
    .cockpit-tool-box { padding: 1rem; }
    .li-box-row1 { flex-wrap: wrap; }
    .li-box-meta { margin-left: 0; }
}

@media (max-width: 768px) {
    .page-cockpit-ereignisse .li-item--row {
        grid-template-columns: 1fr 1fr;
        gap: .75rem;
    }
    .page-cockpit-ereignisse .li-box-row2 { display: none; }
    .page-cockpit-ereignisse .li-box-date { display: none; }
}

/* Statistik */
.stat-dash { display: grid; grid-template-columns: 350px 1fr; gap: 1rem; margin-top: 1.5rem; margin-bottom: 2rem; align-items: start; }
.stat-dash-right { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-dash-box { position: relative; padding: 1rem 1.25rem; overflow: hidden; background: var(--bg-white); border: none; margin-bottom: 0; }
.stat-dash-box--main { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: .9rem 1.25rem; background: var(--bg-white); }
.stat-dash-box--main .stat-dash-label { text-align: center; }
.stat-dash-main-inner { display: flex; align-items: center; gap: 1rem; }
.stat-dash-label { font-size: .8rem; color: var(--muted); margin-bottom: .35rem; }
.stat-dash-box--main .stat-dash-label { margin-bottom: .75rem; font-size: .85rem; }
.stat-dash-value { font-size: 1.2rem; font-weight: 700; color: var(--body-text); }
.stat-dash-icon { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 2rem; color: var(--border); }
.stat-minus { color: var(--muted-light); }
@keyframes stat-progress { 0% { stroke-dasharray: 0 100; } }
@media (max-width: 900px) { .stat-dash { grid-template-columns: 1fr; } }
.stat-ch-list { flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.stat-ch-row { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: .5rem; font-size: .8rem; }
.stat-ch-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--ch-color); }
.stat-ch-name { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-ch-pct { color: var(--body-text); font-weight: 600; text-align: right; }
.stat-arc { animation: stat-progress .8s ease-out forwards; }
.stat-chart--sm { width: 44px; margin: 0 auto; }
.stat-chart--md { width: 80px; margin: 0 auto; }
.stat-chart--lg { width: 121px; flex-shrink: 0; }
.stat-chart-svg { display: block; width: 100%; }
.stat-zero { text-align: center; padding: 1rem 0; }
.stat-zero-pct { font-size: 2.5rem; font-weight: 700; color: var(--body-text); }
.stat-td-zeitraum { white-space: nowrap; color: var(--muted); font-size: .85rem; }
.stat-kanal-logo { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; vertical-align: middle; }

/* Statistik-Detailliste als List-Card (wie /gast) */
.stat-liste { list-style: none; margin: 0; padding: 0; }
.stat-item {
    display: grid !important;
    list-style: none;
    margin: 0;
    width: 100%;
    grid-template-columns: 40px 1fr 180px 60px 100px 100px 110px;
    align-items: center;
    gap: .75rem;
    padding: .7rem .8rem;
    color: var(--body-text);
}
.stat-item li:nth-child(4),
.stat-item li:nth-child(5),
.stat-item li:nth-child(6),
.stat-item li:last-child { text-align: right; }
.stat-gastname { font-weight: 600; }

/* Statistik-Typübersicht (ul/li wie Detailliste) */
.stat-typ-item {
    display: grid !important;
    list-style: none;
    margin: 0;
    width: 100%;
    grid-template-columns: 1fr 90px 90px 60px 110px 100px 100px;
    align-items: center;
    gap: 2rem;
    padding: .7rem .8rem;
    color: var(--body-text);
}
.stat-typ-item li:nth-child(2) { text-align: center; }
.stat-typ-item li:nth-child(3),
.stat-typ-item li:nth-child(4),
.stat-typ-item li:nth-child(5),
.stat-typ-item li:nth-child(6),
.stat-typ-item li:last-child { text-align: right; }
.stat-header-row { padding: 0 !important; }
.stat-header {
    font-size: .8rem !important;
    color: var(--muted) !important;
    letter-spacing: .04em;
    padding: .3rem .8rem !important;
    background: transparent !important;
}


/* ── Statistik mobil ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Typübersicht: Belegungen + Nächte ausblenden */
    .stat-typ-item { grid-template-columns: 1fr 70px 100px 100px 100px; gap: .5rem; }
    .stat-typ-item li:nth-child(3),
    .stat-typ-item li:nth-child(4) { display: none; }

    /* Detailliste: Nächte + Provision ausblenden */
    .stat-item { grid-template-columns: 40px 1fr 140px 90px 50px; gap: .5rem; }
    .stat-item li:nth-child(4),
    .stat-item li:nth-child(6) { display: none; }
}

@media (max-width: 480px) {
    /* Dashboard: Donut kompakter */
    .stat-chart--lg { width: 110px; }

    /* Typübersicht: Card-Layout */
    .stat-typ-item {
        grid-template-columns: 1fr auto auto;
        grid-template-areas:
            "name  ausl btn"
            "meta  meta btn";
        padding: .5rem .75rem;
        gap: .2rem 2rem;
    }
    .stat-typ-item li { text-align: left; }
    .stat-typ-item li:nth-child(1) { grid-area: name; }
    .stat-typ-item li:nth-child(2) { grid-area: ausl; }
    .stat-typ-item li:nth-child(3) { display: none; }
    .stat-typ-item li:nth-child(4) { display: none; }
    .stat-typ-item li:nth-child(5) { grid-area: meta; font-size: .85rem; color: var(--muted); }
    .stat-typ-item li:nth-child(6) { display: none; }
    .stat-typ-item li:nth-child(7) { grid-area: btn; }

    /* Detailliste: einzelne li als Karten */
    .stat-header-row { display: none; }
    .stat-item {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "logo name  btn"
            "logo meta  btn"
            "logo preis btn";
        padding: .5rem .75rem;
        gap: 1rem;
    }
    .stat-item li { text-align: left; }
    .stat-item li:nth-child(1) { grid-area: logo; }
    .stat-item li:nth-child(2) { grid-area: name; font-size: .9rem; }
    .stat-item li:nth-child(3) { grid-area: meta; font-size: .8rem; color: var(--muted); }
    .stat-item li:nth-child(4) { display: none; }
    .stat-item li:nth-child(5) { grid-area: preis; font-size: .85rem; }
    .stat-item li:nth-child(6) { display: none; }
    .stat-item li:nth-child(7) { grid-area: btn; }
}

/* Support-Glocke (Link auf /support) */
.topbar-support-link { position: relative; }
.topbar-support-badge {
    position: absolute;
    top: 0;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #c54d4d;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Support-Timeline (/support) */
.sup-tl-wrap {
    max-width: 840px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
}
.sup-tl { list-style: none; margin: 0; padding: 0; }
.sup-tl-item { position: relative; padding: 0 0 1.75rem 1.4rem; border-left: 2px solid var(--border); }
.sup-tl-item:last-child { padding-bottom: .2rem; }
.sup-tl-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: .3rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}
.sup-tl-datum { font-size: .8rem; color: var(--muted); }
.sup-tl-betreff { font-weight: 700; font-size: 1rem; margin: .2rem 0 .5rem; }
.sup-tl-antwort {
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.55;
    background: var(--body-bg);
    border-radius: 10px;
    padding: .8rem 1rem;
    white-space: pre-line;
}
.sup-tl-frage {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.5;
    margin-top: .6rem;
    padding-left: .75rem;
    border-left: 3px solid var(--border);
    white-space: pre-line;
}
.sup-tl-frage-label { display: block; font-size: .75rem; font-weight: 600; margin-bottom: .2rem; }
