.container {
    max-width: 1180px;
    margin: 20px auto;
    padding: 0 16px;
}

.cardlogs {
    margin-top: 0.75rem;
}

.cardlogs>div{
    margin-bottom: 0.75rem;
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 0 0.5rem 0.5rem 0.5rem;
    overflow: hidden;
}

.night .cardlogs>div{
    border: 1px solid #444;
}

.cardlogs>div:last-child{
    margin-bottom: 0;
}

.cardlogs>div>h2{
    margin-bottom: 0.5rem;
    font-size: 0.6rem;
    border-bottom: 1px solid #eee;
    padding: 0.25rem 0.5rem;
    background-color: #f6f7fa;
    width: calc(100% + 1rem);
    margin-left: -0.5rem;
}

.night .cardlogs>div>h2{
    background-color: #181a1b;
    border-bottom: 1px solid #444;
    color: #aaa;
}

.btn {
    background: #476675;
    color: #fff;
    padding: 0px 0.75rem;
    height: 38px;
    line-height: 38px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #476675;
}

.btn:hover {
    background: #3a5363;
}

.chart-wrap {
    position: relative;
    height: 300px;
    margin-top: 10px;
    background: #fafbfc;
    border-radius: 8px;
    padding: 10px;
}

.night .chart-wrap{
    background-color: #444;
}

.chart-wrap canvas{
    border:1px solid #eee;
}

.night .chart-wrap canvas{
    border:1px solid #444;
}

.badge {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.5rem;
    color: #fff;
}

.b2 { background:#52c41a; } 
.b3 { background:#1890ff; } 
.b4 { background:#fa8c16; } 
.b5 { background:#f5222d; }

.toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.toolbar input {
    flex: 1;
}

.hidden {
    display: none;
}


.empty {
    text-align: center;
    padding: 40px;
    color: #bbb;
}

footer {
    text-align: center;
    color: #aaa;
    font-size: 12px;
    padding: 20px;
}

.progress {
    height: 6px;
    background: #eef0f2;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 10px;
}

.progress>div {
    height: 100%;
    background: #476675;
    width: 0;
    transition: width .2s;
}

.two-cols {
    margin-top: 0.5rem;
}

.two-cols>div{
    border: 1px solid #eee;
    padding: 0.5rem;
}

.night .two-cols>div{
    border: 1px solid #444;
}

.two-cols>div:nth-child(1){
    margin-bottom: 0.5rem;
}

.two-cols h3{
    margin-bottom: 0.5rem;
    font-size: 0.6rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.night .two-cols h3{
    border-bottom: 1px solid #444;
    color: #aaa;
}

@media (max-width: 768px) {
    .two-cols {
        grid-template-columns: 1fr;
    }
}

/***********************************************************/


.demodatalist{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.demodatalist>div{
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

.night .demodatalist>div {
    background-color: #444;
}

.demodatalist>div>div:first-child{
    font-weight: 600;
    color: #3498db;
    margin-bottom: 8px;
    font-size: 0.6rem;
}

.demodatalist>div>div:last-child{
    font-size: 0.6rem;
    word-wrap: break-word;
}

@media screen and (max-width: 1048px){
    .demodatalist{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 490px){
    .demodatalist{
        grid-template-columns: repeat(1, 1fr);
    }
}