/* ── ESG Social Page ────────────────────────────────────────── */

/* KPI Grid */
.social-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .social-kpi-grid { grid-template-columns: 1fr; }
}

.social-kpi-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.social-kpi-bar {
    width: 6px;
    flex-shrink: 0;
}
.social-kpi-body {
    padding: 20px 22px;
    flex: 1;
}
.social-kpi-title {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}
.social-kpi-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.social-kpi-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #999;
}
.social-kpi-delta.up   { color: #e03e3e; }
.social-kpi-delta.down { color: #2b82d5; }
.social-kpi-delta.flat { color: #aaa; }

/* Chart */
.social-chart-wrap {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 24px;
    max-width: 820px;
    margin: 0 auto 16px;
}
.social-chart-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    font-size: 13px;
    color: #555;
    flex-wrap: wrap;
}
.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
}
.legend-dash {
    display: inline-block;
    width: 20px;
    height: 0;
    border-top: 2px dashed;
    margin-right: 4px;
    vertical-align: middle;
}

/* Table */
.social-table-unit {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.social-table-wrap {
    overflow-x: auto;
}
.social-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.social-table thead th {
    background: #2c3e50;
    color: #fff;
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}
.social-table tbody tr:nth-child(even) { background: #f8f9fa; }
.social-table tbody tr:hover           { background: #eef2ff; }
.social-table tbody tr.row-total td    { font-weight: 700; background: #f0f2f5; }
.social-table td {
    padding: 10px 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #444;
}
.social-table td.row-label { text-align: left; }
.social-table td.remark    { text-align: left; font-size: 12px; color: #777; white-space: nowrap; }
