.executive-filter-card {
    margin-bottom: 18px;
    padding: 20px;
}

.executive-filters {
    display: grid;
    grid-template-columns: minmax(120px, .65fr) minmax(160px, .85fr) minmax(190px, 1fr) minmax(210px, 1.2fr) auto;
    gap: 14px;
    align-items: end;
}

.executive-filters .filter-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.executive-filters input,
.executive-filters select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--border-color-strong);
    border-radius: 10px;
    background: var(--bg-input);
    color: var(--text-primary);
    font: inherit;
}

.executive-status {
    margin: 0 0 18px;
}

.executive-empty {
    padding: 54px 20px;
    text-align: center;
}

.executive-empty .icon {
    margin-bottom: 12px;
    font-size: 44px;
}

.executive-empty h2 {
    margin-bottom: 8px;
    font-size: 21px;
}

.executive-empty p {
    color: var(--text-secondary);
}

.executive-period-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-card);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.executive-period-strip > div {
    min-width: 0;
    padding: 15px;
    border-right: 1px solid var(--border-color);
    text-align: center;
}

.executive-period-strip > div:last-child { border-right: 0; }
.executive-period-strip span,
.executive-period-strip strong { display: block; }
.executive-period-strip span { margin-bottom: 6px; color: var(--text-secondary); font-size: 13px; }
.executive-period-strip strong { overflow-wrap: anywhere; font-size: 17px; }

.executive-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.executive-kpi {
    position: relative;
    min-width: 0;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-card-hover));
    box-shadow: 0 8px 24px var(--shadow-color);
}

.executive-kpi::after {
    position: absolute;
    right: -30px;
    bottom: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(33, 150, 243, .08);
    content: '';
}

.executive-kpi-head {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
}

.executive-kpi-icon { font-size: 24px; }
.executive-kpi > strong { display: block; overflow-wrap: anywhere; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.executive-kpi > small { display: block; margin-top: 8px; color: var(--text-muted); font-size: 12px; }

.executive-secondary-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.executive-secondary-metric {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: var(--bg-card);
}

.executive-secondary-metric span { color: var(--text-secondary); font-size: 13px; }
.executive-secondary-metric strong { overflow-wrap: anywhere; text-align: right; }

.executive-card {
    margin-bottom: 18px;
    padding: 0;
    overflow: hidden;
}

.executive-card-header {
    padding: 19px 21px;
    border-bottom: 1px solid var(--border-color);
}

.executive-card-header h3 { margin-bottom: 5px; }
.executive-card-header p { color: var(--text-secondary); font-size: 13px; line-height: 1.45; }

.executive-platform-table,
.executive-comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.executive-platform-table th,
.executive-platform-table td,
.executive-comparison-table th,
.executive-comparison-table td {
    padding: 15px 17px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
}

.executive-platform-table thead th,
.executive-comparison-table thead th {
    background: var(--th-bg);
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.executive-platform-table tbody tr { border-left: 5px solid transparent; }
.executive-platform-table tbody tr.platform-shopee { border-left-color: #ee4d2d; }
.executive-platform-table tbody tr.platform-shein { border-left-color: #f1f1f1; }
.executive-platform-table tbody tr.platform-tiktok { border-left-color: #fe2c55; }
.executive-platform-table tbody tr.platform-mercado-livre { border-left-color: #ffe600; }
.executive-platform-table tbody tr.platform-other { border-left-color: var(--accent-primary); }
.executive-platform-table td strong,
.executive-platform-table td span { display: block; }
.executive-platform-table td span { margin-top: 4px; color: var(--text-secondary); font-size: 12px; }
.executive-platform-name { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.executive-comparison-table tbody th { color: var(--text-primary); }
.executive-comparison-table tbody td { white-space: nowrap; }
.executive-comparison-table tbody tr:last-child th,
.executive-comparison-table tbody tr:last-child td,
.executive-platform-table tbody tr:last-child th,
.executive-platform-table tbody tr:last-child td { border-bottom: 0; }

.executive-variation {
    display: inline-flex;
    min-width: 78px;
    padding: 5px 9px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.executive-variation.positive { background: rgba(0, 184, 148, .15); color: #00b894; }
.executive-variation.negative { background: rgba(214, 48, 49, .15); color: #ef6262; }
.executive-variation.neutral { background: var(--th-bg); color: var(--text-secondary); }
.executive-no-data { padding: 38px 18px !important; color: var(--text-muted); text-align: center !important; }
.executive-platforms-mobile { display: none; }

.executive-platform-card {
    margin: 0 15px 14px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-primary);
    border-radius: 12px;
    background: var(--bg-card-hover);
}

.executive-platform-card.platform-shopee { border-left-color: #ee4d2d; }
.executive-platform-card.platform-shein { border-left-color: #f1f1f1; }
.executive-platform-card.platform-tiktok { border-left-color: #fe2c55; }
.executive-platform-card.platform-mercado-livre { border-left-color: #ffe600; }
.executive-platform-card h4 { margin-bottom: 13px; }
.executive-platform-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.executive-platform-card > div > div { min-width: 0; }
.executive-platform-card > div > div > span:first-child { display: block; margin-bottom: 5px; color: var(--text-secondary); font-size: 12px; }
.executive-platform-card strong { display: block; overflow-wrap: anywhere; }
.executive-platform-card strong + span { display: block; margin-top: 3px; color: var(--text-muted); font-size: 11px; }

@media (max-width: 1100px) {
    .executive-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .executive-filters .btn { width: 100%; }
    .executive-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .executive-filter-card { padding: 15px; }
    .executive-filters { grid-template-columns: 1fr; }
    .executive-period-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .executive-period-strip > div { border-bottom: 1px solid var(--border-color); }
    .executive-period-strip > div:nth-child(2n) { border-right: 0; }
    .executive-period-strip > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
    .executive-kpis { grid-template-columns: 1fr; }
    .executive-platforms-desktop { display: none; }
    .executive-platforms-mobile { display: block; padding-top: 15px; }
    .executive-card-header { padding: 16px; }
}

@media (max-width: 420px) {
    .executive-platform-card > div { grid-template-columns: 1fr; }
}
