.grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}

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

.card {
    border: 1px solid #e8eaed;
    border-radius: 12px;
    background: #fff;
    padding: 16px 18px 12px;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

:global(.dark) .card {
    border-color: #334155;
    background: #0e1726;
}

.metricsRow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .metricsRow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.metricCell {
    min-width: 0;
}

.metricSelect {
    display: block;
    width: 100%;
    max-width: 75%;
    border: 0;
    background: transparent;
    color: #5f6368;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

:global(.dark) .metricSelect {
    color: #94a3b8;
}

.metricValue {
    font-size: 26px;
    font-weight: 600;
    color: #202124;
    line-height: 1.15;
}

:global(.dark) .metricValue {
    color: #f1f5f9;
}

.metricChange {
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.changeUp {
    color: #137333;
}

.changeDown {
    color: #c5221f;
}

.changeFlat {
    color: #5f6368;
}

.chartHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 0 0;
}

.chartWrap {
    flex: 1;
    min-height: 220px;
}

.footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
    border-top: 1px solid #f1f3f4;
    margin-top: 8px;
}

:global(.dark) .footer {
    border-top-color: #334155;
}

.linkBtn {
    border: 0;
    background: transparent;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
}

.linkBtn:hover {
    text-decoration: underline;
}

.rtHeader {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.rtEyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5f6368;
}

:global(.dark) .rtEyebrow {
    color: #94a3b8;
}

.rtBig {
    font-size: 40px;
    font-weight: 600;
    color: #202124;
    line-height: 1.1;
    margin-top: 4px;
}

:global(.dark) .rtBig {
    color: #f8fafc;
}

.rtMeta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.sourcePill {
    font-size: 11px;
    font-weight: 600;
    color: #137333;
    background: #e6f4ea;
    border-radius: 999px;
    padding: 2px 8px;
}

.muted {
    font-size: 11px;
    color: #80868b;
}

.rtSubtitle {
    margin-top: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #5f6368;
}

.minuteBars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 56px;
    margin: 8px 0 14px;
    padding: 0 2px;
}

.minuteBar {
    flex: 1;
    min-width: 2px;
    background: #1a73e8;
    border-radius: 2px 2px 0 0;
    opacity: 0.85;
}

.tableHead,
.tableRow {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 8px;
    align-items: center;
}

.tableHead {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #5f6368;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f3f4;
}

:global(.dark) .tableHead {
    border-bottom-color: #334155;
}

.tableBody {
    flex: 1;
    overflow: auto;
    max-height: 180px;
}

.tableRow {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 13px;
}

:global(.dark) .tableRow {
    border-bottom-color: #1e293b;
}

.pathCell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #202124;
}

:global(.dark) .pathCell {
    color: #e2e8f0;
}

.barCell {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.shareBar {
    height: 8px;
    background: #1a73e8;
    border-radius: 2px;
    max-width: 64px;
    min-width: 4px;
}

.emptyMini {
    font-size: 12px;
    color: #80868b;
    padding: 12px 0;
}
