.panel,
.stats article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
}
.panel {
    margin-bottom: 18px;
}
.panelhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}
.stats article span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}
.stats article b {
    display: block;
    font-size: 29px;
    margin-top: 9px;
}
.station-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.station-tile {
    border: 1px solid var(--line);
    background: white;
    border-radius: 11px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
}
.station-tile:hover {
    border-color: #9bb8fa;
    background: #f8faff;
}
.station-tile b,
.station-tile small {
    display: block;
}
.station-tile b {
    font-size: 14px;
}
.station-tile small {
    color: var(--muted);
    margin-top: 5px;
}
.tag {
    font-size: 10px;
    background: #e8f7ef;
    color: #138052;
    padding: 6px 9px;
    border-radius: 30px;
    font-weight: 700;
}
.empty {
    padding: 25px;
    color: var(--muted);
    font-size: 13px;
}
.hidden {
    display: none !important;
}
@media (max-width: 800px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }
    .stats article {
        padding: 15px;
    }
    .stats article b {
        font-size: 25px;
    }
    .station-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.panel,
.stats article,
.station-tile,
.history-item,
.recent-item,
.station-manage,
.camera,
.edit-banner,
.reportbar {
    box-shadow:
        0 2px 7px rgba(28, 53, 87, 0.07),
        0 1px 2px rgba(28, 53, 87, 0.04);
}
.station-tile,
.camera,
.history-item,
.recent-item {
    transition:
        box-shadow 0.16s ease,
        transform 0.16s ease,
        border-color 0.16s ease;
}
.station-tile:hover,
.camera:hover,
.history-item:hover,
.recent-item:hover {
    box-shadow:
        0 5px 13px rgba(28, 53, 87, 0.11),
        0 2px 4px rgba(28, 53, 87, 0.05);
}
