.lc-forecast-chat-card {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    margin-top: .75rem;
    padding: .9rem;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--lc-border, #dbe2ea);
    border-radius: var(--lc-radius-md, 12px);
    background: var(--lc-surface, #fff);
    color: var(--lc-text, #172033);
    box-shadow: var(--lc-shadow-sm, 0 4px 16px rgba(15, 23, 42, .08));
}

.lc-forecast-chat-title {
    margin-bottom: .55rem;
    font-weight: 700;
}

.lc-forecast-chat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .45rem;
}

.lc-forecast-chat-chip {
    padding: .25rem .55rem;
    border-radius: 999px;
    background: var(--lc-surface-muted, #f4f6f9);
    color: var(--lc-text-muted, #556176);
    font-size: .78rem;
}

.lc-forecast-chat-chart {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 300px;
    box-sizing: border-box;
    overflow: hidden;
}

.lc-forecast-chat-chart .plot-container,
.lc-forecast-chat-chart .svg-container {
    max-width: 100%;
}

.lc-forecast-chat-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: 260px;
    margin-top: .55rem;
    box-sizing: border-box;
    overflow: auto;
    border: 1px solid var(--lc-border, #dbe2ea);
    border-radius: 9px;
}

.lc-forecast-chat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
}

.lc-forecast-chat-table th,
.lc-forecast-chat-table td {
    padding: .45rem .6rem;
    border-bottom: 1px solid var(--lc-border, #dbe2ea);
    text-align: right;
    white-space: nowrap;
}

.lc-forecast-chat-table th:first-child,
.lc-forecast-chat-table td:first-child {
    text-align: left;
}

.lc-forecast-chat-table thead th {
    position: sticky;
    top: 0;
    background: var(--lc-surface-muted, #f4f6f9);
    z-index: 1;
}

.lc-forecast-chat-warning,
.lc-forecast-chat-note {
    margin-top: .55rem;
    font-size: .78rem;
}

.lc-forecast-chat-warning {
    color: var(--lc-warning, #b45309);
}

.lc-forecast-chat-note {
    color: var(--lc-text-muted, #667085);
}

@media (max-width: 640px) {
    .lc-forecast-chat-card { padding: .65rem; }
    .lc-forecast-chat-chart { min-height: 260px; }
}
