* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0a10 0%, #13131e 100%);
    color: #e8e8f0;
    min-height: 100vh;
    padding: 1.5rem;
}
.container { max-width: 1400px; margin: 0 auto; }

/* ── Header ── */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.hero-eyebrow {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: #5b63d6; margin-bottom: .3rem;
}
h1 {
    font-size: 1.9rem; font-weight: 800; letter-spacing: -.5px;
    background: linear-gradient(135deg, #a3a9ec, #5b63d6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: .25rem;
}
.subtitle { color: #83868f; font-size: .85rem; }
.header-stats { display: flex; gap: .6rem; }
.stat-pill {
    background: #10101a; border: 1px solid rgba(255,255,255,.07);
    border-radius: .75rem; padding: .6rem 1rem; text-align: center; min-width: 80px;
}
.stat-num { display: block; font-size: 1.3rem; font-weight: 800; color: #a3a9ec; line-height: 1; }
.stat-lbl { display: block; font-size: .68rem; color: #83868f; margin-top: .2rem; }

/* ── Filter ── */
.filter-card {
    background: #10101a; border: 1px solid rgba(255,255,255,.07);
    border-radius: .875rem; padding: .9rem 1rem; margin-bottom: 1rem;
    display: flex; flex-direction: column; gap: .7rem;
}
.filter-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.filter-search {
    flex: 1; min-width: 200px;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: .5rem; color: #e8e8f0; font-size: .85rem;
    padding: .5rem .75rem; font-family: inherit;
}
.filter-search:focus { outline: none; border-color: rgba(91,99,214,.5); }
.filter-select {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: .5rem; color: #e8e8f0; font-size: .82rem;
    padding: .5rem .7rem; cursor: pointer; font-family: inherit; min-width: 140px;
}
.chip-group { display: flex; gap: .3rem; flex-wrap: wrap; }
.chip {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    border-radius: .4rem; color: #a9abb6; font-size: .76rem; font-weight: 600;
    padding: .32rem .75rem; cursor: pointer; transition: all .15s; font-family: inherit;
}
.chip:hover { background: rgba(255,255,255,.09); color: #e8e8f0; }
.chip.active {
    background: rgba(91,99,214,.18); border-color: rgba(91,99,214,.4); color: #a3a9ec;
}
.btn-reset {
    margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.1);
    border-radius: .4rem; color: #83868f; font-size: .76rem; padding: .32rem .7rem;
    cursor: pointer; font-family: inherit;
}
.btn-reset:hover { color: #e8e8f0; border-color: rgba(255,255,255,.2); }

/* ── Log-Liste ── */
.log-card {
    background: #10101a; border: 1px solid rgba(255,255,255,.07);
    border-radius: .875rem; overflow: hidden;
}
.log-card-head {
    padding: .7rem 1rem; border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .76rem; color: #83868f; font-weight: 600;
}
.log-list { max-height: 70vh; overflow-y: auto; }
.log-list::-webkit-scrollbar { width: 6px; }
.log-list::-webkit-scrollbar-track { background: transparent; }
.log-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

.log-row {
    display: flex; align-items: flex-start; gap: .75rem;
    padding: .7rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
    border-left: 3px solid transparent;
    transition: background .12s;
}
.log-row:hover { background: rgba(255,255,255,.02); }
.log-row:last-child { border-bottom: none; }
.log-icon { font-size: 1rem; flex-shrink: 0; line-height: 1.4; }
.log-main { flex: 1; min-width: 0; }
.log-top { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .2rem; }
.log-modul { font-size: .74rem; font-weight: 700; }
.log-typ {
    font-size: .62rem; font-weight: 700; padding: .1rem .4rem;
    border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.log-objekt {
    font-size: .72rem; color: #83868f; font-family: ui-monospace, monospace;
    background: rgba(255,255,255,.04); padding: .05rem .35rem; border-radius: .25rem;
}
.log-desc { font-size: .85rem; color: #e8e8f0; line-height: 1.35; word-break: break-word; }
.log-details { font-size: .72rem; color: #83868f; margin-top: .15rem; }
.log-meta { text-align: right; flex-shrink: 0; }
.log-user { font-size: .7rem; color: #a9abb6; margin-bottom: .1rem; white-space: nowrap; }
.log-time { font-size: .7rem; color: #6a6d78; white-space: nowrap; }

.log-empty { text-align: center; color: #6a6d78; padding: 3rem 1rem; font-size: .88rem; }
.log-card-foot { padding: .6rem; text-align: center; }
.btn-more {
    background: rgba(91,99,214,.12); border: 1px solid rgba(91,99,214,.25);
    border-radius: .5rem; color: #a3a9ec; font-size: .8rem; font-weight: 600;
    padding: .5rem 1.4rem; cursor: pointer; font-family: inherit;
}
.btn-more:hover { background: rgba(91,99,214,.2); }

/* ── Mobile ── */
@media (max-width: 768px) {
    body { padding: 1rem .75rem; }
    h1 { font-size: 1.45rem; }
    .page-header { flex-direction: column; }
    .header-stats { width: 100%; }
    .stat-pill { flex: 1; }
    .filter-row { flex-direction: column; align-items: stretch; }
    .filter-search, .filter-select { min-width: 0; width: 100%; }
    .btn-reset { margin-left: 0; width: 100%; padding: .5rem; }
    .chip-group { justify-content: space-between; }
    .chip { flex: 1; text-align: center; }
    .log-row { flex-wrap: wrap; padding: .65rem .75rem; }
    .log-meta { text-align: left; width: 100%; margin-top: .3rem;
                display: flex; gap: .6rem; padding-left: 1.75rem; }
    .log-list { max-height: none; }
}
