.analytics-filters { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; margin: 1.2rem 0; }
.analytics-filters label { display: grid; gap: .3rem; font-size: .82rem; color: #a9b0cc; flex: 1 1 140px; }
.analytics-filters input, .analytics-filters select { width: 100%; min-width: 0; color: #eef1ff; background: #0b0e20; border: 1px solid #3a416c; border-radius: 8px; padding: .6rem; font: inherit; }
.analytics-filters .analytics-checkbox { display: flex; align-items: center; flex: 0 0 auto; padding-bottom: .7rem; }
.analytics-filters input[type="checkbox"] { width: 16px; }
.analytics-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: .8rem; margin: 1rem 0; }
.analytics-cards article { border: 1px solid #343b61; background: #151a35; border-radius: 10px; padding: 1rem; }
.analytics-cards h3 { font-size: .85rem; color: #b6c0e3; font-weight: 500; margin: 0 0 .5rem; }
.analytics-cards strong { font-size: 1.9rem; color: #a9bbff; }
.analytics-cards p { color: #a9b0cc; font-size: .75rem; margin: .4rem 0 0; }
.analytics-daily { max-height: 340px; margin-bottom: 1rem; }
.analytics-daily thead { position: sticky; top: 0; background: #101329; }
.analytics-badge { display: inline-block; padding: .1rem .35rem; background: #403520; color: #ffd88b; border-radius: 5px; font-size: .72rem; }
.analytics-lessons th { white-space: normal; min-width: 85px; font-size: .8rem; }
.analytics-lessons th[scope="row"] { min-width: 175px; color: #eef1ff; font-weight: 500; }
.analytics-lessons td { vertical-align: top; }
.analytics-lessons summary { cursor: pointer; color: #a9bbff; }
.analytics-details { width: 350px; max-width: 75vw; white-space: normal; font-size: .82rem; }
.analytics-details dt { color: #a9b0cc; margin-top: .7rem; }
.analytics-details dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
#analyticsMeta { font-size: .78rem; overflow-wrap: anywhere; }
#analyticsView > .panel + .panel { margin-top: 1rem; }
@media (max-width: 1000px) { header { flex-wrap: wrap; } header > .brand:last-child { flex: 1 1 100%; } header .admin-tabs { flex: 1; } }
