
.chdtic-app {
    max-width: 1200px;
    margin: 1.5rem auto;
    font-size: 16px;
}

.chdtic-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.chdtic-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.chdtic-field select {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    background: #fff;
}

.chdtic-summary {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 15px 0;
    padding: 14px 16px;
    border-radius: 6px;
    background: #f5f5f5;
}

.chdtic-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.chdtic-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
    background: #fff;
}

.chdtic-table th,
.chdtic-table td {
    padding: 10px 9px;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
}

.chdtic-table th {
    font-weight: 700;
    background: #f1f1f1;
}

.chdtic-table .chdtic-materia {
    text-align: left;
    font-weight: 600;
    min-width: 220px;
}

.chdtic-empty {
    opacity: .45;
}

.chdtic-status {
    margin: 10px 0;
}

@media (max-width: 700px) {
    .chdtic-form {
        grid-template-columns: 1fr;
    }

    .chdtic-summary {
        flex-direction: column;
        gap: 10px;
    }
}
