.stat, .card {
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 12px;
    padding: 14px;
}

.stat span {
    display: block;
    color: #666;
    margin-bottom: 8px;
}

.stat strong {
    font-size: 28px;
}

.btn {
    border: 1px solid #cfd7e6;
    background: #fff;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

#importExcelBtn {
    padding: 8px 10px;
}

.btn:hover {
    background: #f2f5fb;
}

.btn.primary {
    background: #2d6cdf;
    color: #fff;
    border-color: #2d6cdf;
}

.btn.primary:hover {
    background: #2159bc;
}

.btn.danger {
    background: #fff0f0;
    color: #a62222;
    border-color: #f0c1c1;
}

.btn.small {
    padding: 8px 12px;
    font-size: 14px;
}

.btn-quiet {
    opacity: 0.92;
}

.badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef3ff;
    font-size: 12px;
}

.status-new { background: #eef3ff; }
.status-soon { background: #fff2cc; }
.status-overdue { background: #ffe0e0; }
.status-done { background: #dff5df; }
.neutral { background: #ececec; }
.important { background: #eadcff; }

.actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    line-height: 1.2;
}

.inline-check input[type="checkbox"],
.check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 auto;
}

.inline-check span {
    display: inline-block;
}

.option-box {
    gap: 8px;
}

.checkbox-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.check-item {
    display: flex;
    gap: 8px;
    align-items: center;
    border: 1px solid #e1e7f0;
    border-radius: 8px;
    padding: 8px 10px;
    background: #fafcff;
}

.demo-box {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.mini-btn {
    border: 1px solid #cfd7e6;
    background: #f6f8fc;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.table-wrap {
    overflow-x: auto;
}

.summary-block-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.summary-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.small-title {
    font-size: 14px;
    margin-top: 8px;
}

.summary-table,
.detail-report-table,
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.summary-table th,
.summary-table td,
.detail-report-table th,
.detail-report-table td,
.comparison-table th,
.comparison-table td {
    border: 1px solid #dde3ee;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
}

.summary-table th,
.detail-report-table th,
.comparison-table th {
    background: #f5f7fb;
    font-weight: 600;
}

.summary-table th:first-child {
    width: 240px;
}

.participants-table th,
.participants-table td {
    white-space: normal;
}

.toast-container {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2000;
}

.toast {
    background: #222;
    color: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    min-width: 240px;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.2s;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background: #a62222;
}

@media (max-width: 900px) {
    .checkbox-list {
        grid-template-columns: 1fr;
    }
}
