.twac-dashboard {
    color: #1d2327;
    box-sizing: border-box;
    max-width: 1040px;
    margin: 0 auto;
    min-width: 0;
    width: 100%;
}

.twac-message {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
}

.twac-message--success {
    border-color: #00a32a;
}

.twac-message--error {
    border-color: #d63638;
}

.twac-dashboard__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.twac-dashboard__header h2 {
    margin: 0 0 6px;
}

.twac-dashboard__header p {
    margin: 0;
    color: #646970;
}

.twac-share-box {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 16px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}

.twac-application-form {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 18px;
}

.twac-application-form label {
    display: block;
    margin-bottom: 16px;
}

.twac-application-form span {
    color: #1d2327;
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.twac-application-form input,
.twac-application-form textarea {
    border: 1px solid #8c8f94;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 10px 12px;
    width: 100%;
}

.twac-application-form button {
    background: #1d2327;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    padding: 10px 16px;
}

.twac-share-box span,
.twac-stats span {
    display: block;
    color: #646970;
    font-size: 14px;
    margin-bottom: 8px;
}

.twac-share-box input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 15px;
}

.twac-share-box strong {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 22px;
    letter-spacing: 0;
}

.twac-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.twac-stats article {
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
    background: #fff;
}

.twac-stats strong {
    display: block;
    font-size: 28px;
    line-height: 1.2;
}

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

.twac-chart-panel {
    background: #fff;
    border: 1px solid #dcdcde;
    box-sizing: border-box;
    border-radius: 6px;
    margin-bottom: 24px;
    max-width: 100%;
    min-width: 0;
    padding: 16px;
    width: 100%;
}

.twac-chart-panel__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.twac-chart-panel__header h3 {
    margin: 0;
}

.twac-chart {
    box-sizing: border-box;
    display: block;
    height: 280px;
    max-height: 280px;
    max-width: 100%;
    min-height: 280px;
    pointer-events: none;
    touch-action: pan-y;
    width: 100%;
}

.twac-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.twac-chart-legend span {
    align-items: center;
    color: #646970;
    display: inline-flex;
    gap: 6px;
    font-size: 13px;
}

.twac-chart-legend i {
    border-radius: 999px;
    display: inline-block;
    height: 10px;
    width: 10px;
}

.twac-table-wrap h3 {
    margin: 0 0 12px;
}

.twac-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.twac-table-wrap th,
.twac-table-wrap td {
    border: 1px solid #dcdcde;
    padding: 12px;
    text-align: left;
}

.twac-table-wrap th {
    background: #f6f7f7;
}

@media (max-width: 760px) {
    .twac-share-box,
    .twac-stats {
        grid-template-columns: 1fr;
    }

    .twac-chart-panel__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .twac-chart-panel {
        padding: 14px;
    }

    .twac-chart {
        display: block !important;
        height: 240px !important;
        max-height: 240px !important;
        min-height: 240px !important;
        min-width: 0 !important;
        pointer-events: none !important;
        touch-action: pan-y !important;
        width: 100% !important;
    }
}
