﻿* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 10px;
    height: 100vh;
    overflow: hidden;
}
.container { max-width: 1600px; margin: 0 auto; height: 100%; display: flex; flex-direction: column; overflow: hidden; }

.header {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}
.header-left { display: flex; align-items: center; gap: 10px; }
.title { font-size: 1.1rem; font-weight: bold; }
.ticker-select {
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid #3b82f6;
    background: rgba(59,130,246,0.2);
    color: white;
    border-radius: 6px;
    cursor: pointer;
}
.ticker-select option { background: #1e293b; color: white; }
.greeks-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 10px;
}
.greeks-live { background: rgba(16,185,129,0.3); color: #10b981; }
.greeks-heuristic { background: rgba(245,158,11,0.3); color: #f59e0b; }
.expiry-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(99,102,241,0.3);
    color: #818cf8;
}

.tabs {
    display: flex;
    gap: 3px;
    background: rgba(255,255,255,0.05);
    padding: 3px;
    border-radius: 5px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 5px 10px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}
.tab-btn:hover { background: rgba(255,255,255,0.1); }
.tab-btn.active { background: #3b82f6; color: white; }

.controls { display: flex; gap: 5px; }
.controls button {
    padding: 5px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    border: 1px solid #3b82f6;
    background: rgba(59,130,246,0.2);
    color: white;
    border-radius: 4px;
}
.controls button:hover { background: #3b82f6; }
.controls button.active { background: #3b82f6; font-weight: bold; }

.stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 6px 8px;
    border-radius: 6px;
    text-align: center;
}
.stat-label { font-size: 0.6rem; color: #94a3b8; margin-bottom: 2px; text-transform: uppercase; }
.stat-value { font-size: 0.95rem; font-weight: bold; }
.stat-change { font-size: 0.65rem; margin-top: 1px; }
.positive { color: #10b981; }
.negative { color: #ef4444; }
.neutral { color: #94a3b8; }

.view-content { display: none; flex: 1; overflow: hidden; }
.view-content.active { display: flex; flex-direction: column; }

.charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    flex: 1;
    min-height: 0;
}
.chart-box {
    background: rgba(255,255,255,0.1);
    padding: 8px;
    border-radius: 6px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chart-box.full { grid-column: 1 / -1; }
.chart-title {
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #94a3b8;
    text-align: center;
    flex-shrink: 0;
}
canvas { flex: 1; min-height: 0; }

.trend-summary {
    background: rgba(255,255,255,0.1);
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    flex-shrink: 0;
}
.trend-item {
    text-align: center;
    padding: 6px;
    border-radius: 5px;
}
.trend-item.bullish { background: rgba(16,185,129,0.2); border-left: 3px solid #10b981; }
.trend-item.bearish { background: rgba(239,68,68,0.2); border-left: 3px solid #ef4444; }
.trend-item.tneutral { background: rgba(148,163,184,0.2); border-left: 3px solid #94a3b8; }
.trend-label { font-size: 0.6rem; color: #94a3b8; margin-bottom: 2px; }
.trend-value { font-size: 0.8rem; font-weight: bold; }

.flip-history {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 6px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.flip-history-title { font-size: 0.8rem; font-weight: bold; color: #94a3b8; margin-bottom: 6px; flex-shrink: 0; }
.flip-table { width: 100%; border-collapse: collapse; }
.flip-table th { background: rgba(59,130,246,0.2); padding: 5px 8px; text-align: left; font-size: 0.7rem; color: #94a3b8; position: sticky; top: 0; }
.flip-table td { padding: 4px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.75rem; }
.flip-table tr:hover { background: rgba(255,255,255,0.03); }
.flip-table-wrapper { flex: 1; overflow-y: auto; }

.no-data {
    text-align: center;
    padding: 60px;
    color: #64748b;
    grid-column: 1 / -1;
}
.add-btn {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid #10b981;
    background: rgba(16,185,129,0.2);
    color: #10b981;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.add-btn:hover { background: #10b981; color: white; }

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-overlay.show { display: flex; }
.modal {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    width: 600px;
    max-width: 95vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-title { font-size: 1rem; font-weight: bold; }
.modal-close {
    background: none; border: none; color: #94a3b8; font-size: 1.2rem; cursor: pointer;
}
.modal-close:hover { color: white; }
.modal-body { padding: 16px 18px; }
.modal-input-row {
    display: flex; gap: 8px; margin-bottom: 16px;
}
.modal-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(255,255,255,0.1);
    border: 2px solid #3b82f6;
    color: white;
    border-radius: 6px;
    outline: none;
    text-transform: uppercase;
}
.modal-input:focus { border-color: #10b981; }
.modal-select {
    padding: 8px 10px;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 6px;
}
.modal-select option { background: #1e293b; }
.modal-add-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    background: #10b981;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}
.modal-add-btn:hover { background: #059669; }
.modal-info {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}
.info-title { font-size: 0.8rem; font-weight: bold; color: #e2e8f0; margin-bottom: 8px; }
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.info-item {
    display: flex;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    font-size: 0.7rem;
    color: #cbd5e1;
    line-height: 1.3;
}
.info-item strong { color: #e2e8f0; }
.info-icon { font-size: 1.1rem; flex-shrink: 0; }
.info-note {
    margin-top: 10px;
    font-size: 0.7rem;
    color: #94a3b8;
    padding: 8px;
    background: rgba(59,130,246,0.1);
    border-radius: 5px;
    border-left: 3px solid #3b82f6;
}
.custom-list { margin-top: 8px; }
.ticker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    margin-bottom: 3px;
    font-size: 0.75rem;
}
.ticker-item .sym { font-weight: bold; color: #e2e8f0; }
.ticker-item .badge-builtin { font-size: 0.55rem; padding: 1px 5px; border-radius: 3px; background: rgba(59,130,246,0.2); color: #60a5fa; margin-left: 6px; }
.ticker-item .badge-custom { font-size: 0.55rem; padding: 1px 5px; border-radius: 3px; background: rgba(16,185,129,0.2); color: #10b981; margin-left: 6px; }
.ticker-item .sess { color: #94a3b8; font-size: 0.65rem; margin-left: 8px; }
.remove-btn {
    background: none; border: 1px solid #ef4444; color: #ef4444; cursor: pointer; font-size: 0.65rem;
    padding: 2px 8px; border-radius: 3px;
}
.remove-btn:hover { background: rgba(239,68,68,0.2); }
.ctn-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 10px; background: rgba(255,255,255,0.05); border-radius: 5px; margin-bottom: 3px; font-size: 0.72rem;
}
.ctn-item .ctn-name { font-weight: bold; color: #e2e8f0; min-width: 140px; }
.ctn-item .ctn-state { font-size: 0.6rem; padding: 2px 6px; border-radius: 3px; }
.ctn-state.running { background: rgba(16,185,129,0.2); color: #10b981; }
.ctn-state.exited { background: rgba(239,68,68,0.2); color: #ef4444; }
.ctn-state.created { background: rgba(245,158,11,0.2); color: #f59e0b; }
.ctn-btns { display: flex; gap: 4px; }
.ctn-btn { background: none; border: 1px solid; cursor: pointer; font-size: 0.6rem; padding: 2px 8px; border-radius: 3px; }
.ctn-btn.restart { border-color: #f59e0b; color: #f59e0b; }
.ctn-btn.restart:hover { background: rgba(245,158,11,0.2); }
.ctn-btn.stop { border-color: #ef4444; color: #ef4444; }
.ctn-btn.stop:hover { background: rgba(239,68,68,0.2); }
.ctn-btn.start { border-color: #10b981; color: #10b981; }
.ctn-btn.start:hover { background: rgba(16,185,129,0.2); }
.ctn-btn.logs { border-color: #60a5fa; color: #60a5fa; }
.ctn-btn.logs:hover { background: rgba(96,165,250,0.2); }
.hm-toggle { background: none; border: 1px solid #475569; color: #94a3b8; cursor: pointer; font-size: 0.6rem; padding: 2px 10px; border-radius: 3px; }
.hm-toggle:hover { background: rgba(255,255,255,0.1); }
.hm-toggle.active { background: #3b82f6; border-color: #3b82f6; color: white; }
.chart-expand-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15,23,42,0.95); z-index: 9999; padding: 20px;
    flex-direction: column; align-items: stretch;
}
.chart-expand-overlay.show { display: flex; }
.chart-expand-overlay .expand-close {
    align-self: flex-end; background: none; border: 1px solid #475569; color: #94a3b8;
    cursor: pointer; font-size: 0.8rem; padding: 4px 14px; border-radius: 4px; margin-bottom: 8px;
}
.chart-expand-overlay .expand-close:hover { background: rgba(255,255,255,0.1); }
.chart-expand-overlay .expand-title { color: #e2e8f0; font-size: 0.9rem; margin-bottom: 8px; }
.chart-expand-overlay .expand-canvas-wrap { flex: 1; min-height: 0; }
.chart-box, .chart-box-full { cursor: pointer; }
.chart-box:hover, .chart-box-full:hover { outline: 1px solid rgba(59,130,246,0.3); outline-offset: -1px; }
.quant-card {
    background: linear-gradient(135deg, rgba(30,41,59,0.95), rgba(15,23,42,0.95));
    border: 1px solid rgba(99,102,241,0.3); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px;
    font-size: 0.75rem; line-height: 1.5;
}
.quant-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.quant-bias { font-size: 1.1rem; font-weight: 700; padding: 2px 12px; border-radius: 4px; }
.quant-bias.bullish { background: rgba(16,185,129,0.2); color: #10b981; border: 1px solid rgba(16,185,129,0.4); }
.quant-bias.bearish { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.4); }
.quant-bias.neutral { background: rgba(251,191,36,0.2); color: #fbbf24; border: 1px solid rgba(251,191,36,0.4); }
.quant-score { font-size: 0.65rem; color: #94a3b8; }
.quant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.quant-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.quant-label { color: #94a3b8; }
.quant-val { font-weight: 600; }
.quant-val.pos { color: #10b981; }
.quant-val.neg { color: #ef4444; }
.quant-val.warn { color: #fbbf24; }
.quant-val.info { color: #60a5fa; }
.quant-section { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); }
.quant-section-title { color: #818cf8; font-weight: 600; font-size: 0.7rem; margin-bottom: 4px; }
.quant-narrative { color: #cbd5e1; font-size: 0.72rem; line-height: 1.6; }
.quant-narrative strong { color: #e2e8f0; }
.quant-evidence { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); }
.evidence-row { padding: 6px 8px; margin-bottom: 4px; border-radius: 4px; font-size: 0.7rem; line-height: 1.5; border-left: 3px solid transparent; }
.evidence-row.bull { background: rgba(16,185,129,0.06); border-left-color: #10b981; }
.evidence-row.bear { background: rgba(239,68,68,0.06); border-left-color: #ef4444; }
.evidence-row.neutral { background: rgba(255,255,255,0.03); border-left-color: #475569; }
.evidence-icon { margin-right: 4px; }
.evidence-weight { color: #94a3b8; font-size: 0.6rem; font-family: monospace; }
.evidence-text { color: #cbd5e1; }
.evidence-text strong { color: #e2e8f0; }
.toast {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    padding: 10px 20px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
    z-index: 2000; opacity: 0; transition: opacity 0.3s;
}
.toast.show { opacity: 1; }
.toast.success { background: #10b981; color: white; }
.toast.error { background: #ef4444; color: white; }

.sub-tabs {
    border: 1px solid rgba(99,102,241,0.3);
    display: flex;
    gap: 2px;
    background: rgba(255,255,255,0.04);
    padding: 3px;
    border-radius: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.sub-tab {
    padding: 5px 10px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}
.sub-tab:hover { background: rgba(255,255,255,0.08); color: #94a3b8; }
.sub-tab.active { background: #6366f1; color: white; }
#changes-view .sub-content { display: none !important; }
#changes-view .sub-content.active { display: block !important; }

.chart-box-full {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px;
    height: 400px;
    position: relative;
}
.chart-box-full .chart-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.strike-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.strike-info {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border-left: 3px solid #6366f1;
}
.unusual-table-wrap {
    margin-top: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 12px;
}
.severity-high { color: #ef4444; font-weight: bold; }
.severity-med { color: #f59e0b; font-weight: 600; }
.severity-low { color: #94a3b8; }

.signal-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}
.signal-item {
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid;
}
.signal-item.bullish { background: rgba(16,185,129,0.1); border-color: #10b981; }
.signal-item.bearish { background: rgba(239,68,68,0.1); border-color: #ef4444; }
.signal-item.neutral { background: rgba(245,158,11,0.1); border-color: #f59e0b; }
.signal-item .sig-label { font-size: 0.65rem; color: #94a3b8; text-transform: uppercase; }
.signal-item .sig-value { font-size: 0.85rem; font-weight: bold; margin-top: 2px; }
.signal-item .sig-detail { font-size: 0.7rem; color: #cbd5e1; margin-top: 2px; }

.signal-guide {
    margin-top: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px;
}
.guide-title {
    font-size: 0.85rem;
    font-weight: bold;
    color: #e2e8f0;
    margin-bottom: 10px;
}
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}
.guide-item {
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid #64748b;
    background: rgba(255,255,255,0.03);
}
.guide-item.bullish { border-color: #10b981; background: rgba(16,185,129,0.05); }
.guide-item.bearish { border-color: #ef4444; background: rgba(239,68,68,0.05); }
.guide-item.neutral { border-color: #f59e0b; background: rgba(245,158,11,0.05); }
.guide-combo {
    font-size: 0.8rem;
    font-weight: bold;
    color: #e2e8f0;
    margin-bottom: 2px;
}
.guide-name {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.guide-item.bullish .guide-name { color: #10b981; }
.guide-item.bearish .guide-name { color: #ef4444; }
.guide-item.neutral .guide-name { color: #f59e0b; }
.guide-desc {
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.4;
}

.analysis-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.analysis-card.bullish { border-left: 4px solid #10b981; }
.analysis-card.bearish { border-left: 4px solid #ef4444; }
.analysis-card.neutral { border-left: 4px solid #f59e0b; }
.analysis-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.analysis-body { flex: 1; }
.analysis-title { font-size: 0.8rem; font-weight: bold; color: #e2e8f0; margin-bottom: 4px; }
.analysis-text { font-size: 0.72rem; color: #cbd5e1; line-height: 1.5; }
.analysis-text strong { color: #e2e8f0; }
.analysis-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.atag { font-size: 0.6rem; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.atag.bull { background: rgba(16,185,129,0.2); color: #10b981; }
.atag.bear { background: rgba(239,68,68,0.2); color: #ef4444; }
.atag.warn { background: rgba(245,158,11,0.2); color: #f59e0b; }
.atag.info { background: rgba(99,102,241,0.2); color: #818cf8; }

.nas-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(16,185,129,0.2);
    color: #10b981;
}
.top-compact {
    display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-shrink: 0;
    background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 6px;
}
.compact-stats { display: flex; gap: 12px; flex: 1; font-size: 0.72rem; flex-wrap: wrap; }
.compact-stats .cs-item { display: flex; gap: 4px; align-items: center; }
.compact-stats .cs-label { color: #64748b; }
.compact-stats .cs-val { font-weight: bold; }
.expand-btn {
    padding: 2px 10px; font-size: 0.65rem; cursor: pointer; border: 1px solid #334155;
    background: rgba(255,255,255,0.05); color: #94a3b8; border-radius: 4px; white-space: nowrap;
}
.expand-btn:hover { background: rgba(255,255,255,0.1); }
.collapse-btn { margin-bottom: 4px; }
.top-expanded { flex-shrink: 0; }
/* OI Flow tab */
.oiflow-chart-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.oiflow-bar-area { flex: 1; min-height: 0; overflow-y: auto; }
.oiflow-bar {
    display: flex; align-items: center; gap: 6px; padding: 5px 8px; cursor: pointer;
    border-radius: 4px; margin-bottom: 3px; transition: background 0.15s;
}
.oiflow-bar:hover { background: rgba(255,255,255,0.1); }
.oiflow-exp { width: 80px; font-size: 0.72rem; color: #cbd5e1; font-family: monospace; flex-shrink: 0; }
.oiflow-dte { width: 45px; font-size: 0.65rem; color: #64748b; flex-shrink: 0; text-align: right; }
.oiflow-bars { flex: 1; display: flex; height: 22px; position: relative; }
.oiflow-call-bar, .oiflow-put-bar {
    height: 100%; border-radius: 3px; min-width: 1px; transition: width 0.3s;
}
.oiflow-call-bar { background: #10b981; margin-right: 1px; }
.oiflow-put-bar { background: #ef4444; }
.oiflow-call-bar.neg { background: rgba(16,185,129,0.3); }
.oiflow-put-bar.neg { background: rgba(239,68,68,0.3); }
.oiflow-nums { width: 130px; font-size: 0.65rem; color: #94a3b8; display: flex; gap: 8px; flex-shrink: 0; justify-content: flex-end; }
.oiflow-total { font-size: 0.7rem; font-weight: bold; width: 70px; text-align: right; flex-shrink: 0; }
/* Strike detail modal */
.strike-modal-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7); z-index: 1000; justify-content: center; align-items: center;
}
.strike-modal-overlay.show { display: flex; }
.strike-modal {
    background: #1e293b; border-radius: 10px; width: 90%; max-width: 900px; max-height: 85vh;
    overflow: hidden; display: flex; flex-direction: column; border: 1px solid #334155;
}
.strike-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 16px; border-bottom: 1px solid #334155; flex-shrink: 0;
}
.strike-modal-header h3 { margin: 0; font-size: 0.9rem; }
.strike-modal-body { flex: 1; overflow-y: auto; padding: 10px 16px; }
.strike-modal-chart { height: 300px; margin-bottom: 10px; }
.strike-detail-table { width: 100%; border-collapse: collapse; font-size: 0.7rem; }
.strike-detail-table th { background: rgba(255,255,255,0.1); padding: 5px 8px; text-align: right; color: #94a3b8; position: sticky; top: 0; }
.strike-detail-table td { padding: 4px 8px; text-align: right; border-bottom: 1px solid rgba(255,255,255,0.05); }
.strike-detail-table td.strike-col { text-align: center; font-weight: bold; color: #e2e8f0; }
.strike-detail-table td.pos { color: #10b981; }
.strike-detail-table td.neg { color: #ef4444; }

/* Collection status indicator */
.collect-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    border-radius: 12px;
    background: rgba(30,41,59,0.8);
    border: 1px solid rgba(100,116,139,0.3);
    font-size: 0.65rem;
    color: #94a3b8;
    cursor: pointer;
    margin-left: 6px;
}
.collect-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.dot-green { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.dot-yellow { background: #eab308; box-shadow: 0 0 6px #eab308; }
.dot-red { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.dot-grey { background: #64748b; }

/* Flip regime single line */
.flip-regime-line {
    margin: 5px 8px 2px 8px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.68rem;
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(100,116,139,0.2);
    display: flex;
    align-items: center;
    gap: 7px;
    color: #94a3b8;
}
.flip-regime-line.regime-bull { color: #86efac; border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.05); }
.flip-regime-line.regime-bear { color: #fca5a5; border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.05); }
.flip-regime-line.regime-neutral { color: #fde68a; border-color: rgba(234,179,8,0.3); background: rgba(234,179,8,0.05); }
.regime-icon { font-size: 0.8rem; flex-shrink: 0; }

