/* QQQ 量化交易系统 - 深色主题样式 */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --bg-hover: #252b3b;
    --bg-active: #2d3548;
    --text-primary: #e8edf5;
    --text-secondary: #8892a4;
    --text-muted: #5b6478;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dim: rgba(99, 102, 241, 0.12);
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.12);
    --yellow: #eab308;
    --yellow-dim: rgba(234, 179, 8, 0.12);
    --orange: #f97316;
    --orange-dim: rgba(249, 115, 22, 0.12);
    --red: #ef4444;
    --red-dim: rgba(239, 68, 68, 0.12);
    --cyan: #06b6d4;
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --transition: all 0.2s ease;
    --sidebar-width: 200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 14px; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ===== 侧边栏 ===== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
}

.logo {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; margin-bottom: 28px;
}
.logo-icon { font-size: 26px; }
.logo-text {
    font-size: 17px; font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links { list-style: none; flex: 1; }
.nav-links li { margin-bottom: 2px; }
.nav-links a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; border-radius: var(--radius-sm);
    color: var(--text-secondary); text-decoration: none;
    font-size: 13px; font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-links a.active { background: var(--accent-dim); color: var(--accent-light); }
.nav-icon { font-size: 16px; width: 20px; text-align: center; }
.nav-footer {
    display: flex; flex-direction: column; gap: 6px;
    padding-top: 12px; border-top: 1px solid var(--border);
}

/* ===== 主内容 ===== */
.content {
    margin-left: var(--sidebar-width);
    padding: 24px 32px;
    flex: 1;
    min-width: 0;
}

/* ===== 页面头 ===== */
.page-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.page-header h1 { font-size: 24px; font-weight: 700; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-meta {
    font-size: 12px; color: var(--text-muted);
}

/* ===== QQQ 信号面板 ===== */
.qqq-signal-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.qqq-metric {
    text-align: center;
}
.qqq-metric .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.qqq-metric .value {
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-mono);
}
.qqq-metric .sub {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* 策略建议条 */
.strategy-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}
.strategy-bar.status-normal {
    background: var(--green-dim);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--green);
}
.strategy-bar.status-elevated,
.strategy-bar.status-overbought {
    background: var(--yellow-dim);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: var(--yellow);
}
.strategy-bar.status-dip {
    background: var(--orange-dim);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: var(--orange);
}
.strategy-bar.status-crash {
    background: var(--red-dim);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--red);
}
.strategy-bar .icon { font-size: 20px; }
.strategy-bar .text { flex: 1; }

/* ===== 筛选/搜索栏 ===== */
.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.search-input {
    padding: 7px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 13px;
    width: 220px;
    transition: var(--transition);
    font-family: var(--font);
}
.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.search-input::placeholder { color: var(--text-muted); }

.filter-btn {
    padding: 6px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 12px; font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent-light);
}

.stock-count {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== 数据表格 ===== */
.table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    white-space: nowrap;
}

thead th {
    text-align: left;
    padding: 10px 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid var(--border-strong);
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 10;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}
thead th:hover { color: var(--accent-light); }
thead th.sorted { color: var(--accent-light); }
thead th .sort-arrow {
    font-size: 10px;
    margin-left: 3px;
    opacity: 0.4;
}
thead th.sorted .sort-arrow { opacity: 1; }

tbody td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 12px;
}
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: var(--bg-hover); }
tbody tr:last-child td { border-bottom: none; }

/* 固定第一列 */
th:first-child, td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-card);
    z-index: 5;
    font-family: var(--font);
    font-weight: 600;
}
thead th:first-child {
    z-index: 20;
}
tr:hover td:first-child { background: var(--bg-hover); }

/* 分组标题行 */
.col-group {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-bottom: 2px solid var(--border-strong);
    text-align: center;
}

/* ===== 评分/信号样式 ===== */
.score-cell {
    font-weight: 700;
    font-size: 13px;
}
.score-high { color: var(--green); }
.score-mid { color: var(--yellow); }
.score-low { color: var(--text-secondary); }

.signal-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font);
}
.signal-强烈推荐 { background: var(--green-dim); color: var(--green); }
.signal-推荐买入 { background: rgba(34,197,94,0.08); color: #4ade80; }
.signal-关注 { background: var(--yellow-dim); color: var(--yellow); }
.signal-中性 { background: rgba(255,255,255,0.04); color: var(--text-secondary); }
.signal-谨慎 { background: var(--orange-dim); color: var(--orange); }
.signal-回避 { background: var(--red-dim); color: var(--red); }

/* 颜色工具类 */
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 7px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-hover);
    color: var(--text-primary);
    font-size: 12px; font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font);
}
.btn:hover { border-color: var(--accent); color: var(--accent-light); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-sm { padding: 5px 10px; font-size: 11px; }
.btn-accent {
    background: var(--accent); border-color: var(--accent); color: #fff;
}
.btn-accent:hover { background: var(--accent-light); border-color: var(--accent-light); }

/* ===== 加载状态 ===== */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 14, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}
.loading-spinner {
    text-align: center;
    color: var(--text-primary);
}
.loading-spinner .icon {
    font-size: 40px;
    animation: spin 1s linear infinite;
}
.loading-spinner .text {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== 空状态 ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.empty-state .title {
    font-size: 18px; font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.empty-state .desc {
    font-size: 14px; margin-bottom: 20px;
}

/* ===== 卡片 ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}
.card h2 {
    font-size: 16px; font-weight: 600;
    margin-bottom: 12px;
}

/* ===== 指标卡片网格 ===== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.metric-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.metric-label {
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.metric-value {
    font-size: 24px; font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 2px;
}
.metric-sub { font-size: 12px; color: var(--text-secondary); }

/* 图表容器 */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.chart-container h2 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.chart-container canvas { max-height: 300px; }

/* 徽章 */
.badge {
    display: inline-block; padding: 2px 8px;
    border-radius: 20px; font-size: 11px; font-weight: 600;
    background: var(--bg-hover); color: var(--text-secondary);
}
.badge-buy { background: var(--green-dim); color: var(--green); }
.badge-sell { background: var(--red-dim); color: var(--red); }

/* ===== Tooltip ===== */
[data-tooltip] {
    position: relative;
}
[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%; left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: #333;
    color: #fff;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
}

/* ===== 财报季晴雨表 ===== */
.barometer-panel {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(56,189,248,0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.barometer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.barometer-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
}
.barometer-sentiment {
    font-size: 15px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
}
.barometer-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 14px;
}
.baro-stat .label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.baro-stat .value {
    font-size: 20px;
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.barometer-advice {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}
.upcoming-earnings {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}
.upcoming-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.upcoming-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.upcoming-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.upcoming-chip .sym { font-weight: 600; color: var(--text-primary); }
.upcoming-chip .date { color: var(--text-muted); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .sidebar { width: 56px; padding: 12px 6px; }
    .logo-text, .nav-links a span:not(.nav-icon), .nav-footer { display: none; }
    .nav-links a { justify-content: center; padding: 10px; }
    .content { margin-left: 56px; padding: 16px; }
    .qqq-signal-panel { grid-template-columns: 1fr; }
    .barometer-stats { grid-template-columns: 1fr; }
    .page-header { flex-direction: column; align-items: flex-start; }
    #js-tooltip { max-width: calc(100vw - 32px); font-size: 13.5px; }
}

/* ===== JS Tooltip 样式 ===== */
[data-tip] {
    cursor: help;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.3);
}
#js-tooltip {
    position: fixed;
    z-index: 99999;
    background: rgba(10, 15, 30, 0.97);
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.7;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(99,102,241,0.1);
    max-width: 360px;
    min-width: 180px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    text-align: left;
    white-space: pre-line;
    word-break: break-word;
}
#js-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}
#js-tooltip .tip-title {
    color: #a5b4fc;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(99,102,241,0.2);
    padding-bottom: 4px;
}
#js-tooltip .tip-body {
    color: #cbd5e1;
}

/* ==================== 公司介绍弹窗 ==================== */
.company-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.company-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-modal-content .close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.company-modal-content .close-btn:hover {
    color: var(--text);
}

#modal-company-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: var(--text);
}

.modal-company-tags {
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
}

.modal-company-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.symbol-cell {
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: rgba(99,102,241,0.5);
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.symbol-cell:hover {
    color: #a5b4fc;
}

/* ==================== 预测面板 ==================== */

.prediction-panel {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease-out;
}

.prediction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.prediction-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.prediction-date {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(99,102,241,0.1);
    padding: 3px 10px;
    border-radius: 12px;
}

.prediction-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pred-stat {
    text-align: center;
    min-width: 60px;
}

.pred-stat .label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.pred-stat .value {
    font-size: 18px;
    font-weight: 700;
}

.prediction-picks {
    margin-top: 12px;
}

.pred-pick-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.pred-pick-label {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.pred-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.pred-chip-up {
    background: rgba(52,211,153,0.15);
    color: #34d399;
    border: 1px solid rgba(52,211,153,0.3);
}

.pred-chip-down {
    background: rgba(248,113,113,0.15);
    color: #f87171;
    border: 1px solid rgba(248,113,113,0.3);
}

/* ==================== 预测徽标 (表格内) ==================== */

.pred-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.pred-badge:hover {
    /* hover 效果由 .pred-badge-wrap 统一处理 */
}

.pred-badge.pred-up {
    background: linear-gradient(135deg, rgba(52,211,153,0.15), rgba(52,211,153,0.05));
    color: #34d399;
    border: 1px solid rgba(52,211,153,0.3);
}

.pred-badge.pred-down {
    background: linear-gradient(135deg, rgba(248,113,113,0.15), rgba(248,113,113,0.05));
    color: #f87171;
    border: 1px solid rgba(248,113,113,0.3);
}

.pred-badge.pred-neutral {
    background: rgba(148,163,184,0.1);
    color: #94a3b8;
    border: 1px solid rgba(148,163,184,0.2);
}

.pred-icon {
    font-size: 13px;
    font-weight: 800;
}

.pred-label {
    font-size: 11px;
}

.pred-conf {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 2px;
}

/* 徽章容器 (包裹 badge + 准确率条) */
.pred-badge-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    transition: transform 0.15s;
}
.pred-badge-wrap:hover {
    transform: scale(1.05);
}
.pred-badge-wrap:hover .pred-badge {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 迷你准确率进度条 */
.pred-acc-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
}
.pred-acc-track {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.pred-acc-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}
.pred-acc-text {
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
    min-width: 24px;
    text-align: right;
}

/* ==================== 移动端适配 ==================== */

@media (max-width: 768px) {
    .prediction-stats {
        gap: 12px;
    }

    .pred-stat .value {
        font-size: 15px;
    }

    .pred-badge {
        padding: 2px 5px;
        font-size: 10px;
    }

    .pred-conf {
        display: none;  /* 手机上隐藏信心数字 */
    }

    .company-modal-content {
        padding: 16px;
        width: 95%;
        max-height: 90vh;
    }
    
    .pred-modal-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    #modal-prob-results {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}
.pred-chip:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
    box-shadow: 0 0 5px rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}
