/* 股票交易管理系统 - 页面样式（由 index.html 内联样式抽取） */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #f6f9ff; color: #172033; }
        .header { background: linear-gradient(135deg, #3182f6, #1557c0); color: #fff; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 3px 10px rgba(21,87,192,0.22); }
        .header h1 { font-size: 20px; font-weight: 600; }
        .header .status { font-size: 13px; display: flex; align-items: center; gap: 8px; }
        .header-user { padding-right: 10px; border-right: 1px solid rgba(255, 255, 255, 0.42); font-weight: 600; }
        .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
        .status-dot.online { background: #4caf50; animation: pulse 2s infinite; }
        .status-dot.offline { background: #f44336; }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
        .container { max-width: 1400px; margin: 0 auto; padding: 20px; }
        .tabs { display: flex; gap: 4px; background: #ffffff; border: 1px solid #dbe7f5; border-radius: 10px; padding: 4px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(30,64,175,0.08); }
        .tab { flex: 1; text-align: center; padding: 12px 20px; cursor: pointer; border-radius: 8px; font-size: 14px; font-weight: 600; color: #40536e; transition: all 0.2s; border: none; background: transparent; }
        .tab:hover { background: #f5f7fa; color: #1a73e8; }
        .tab.active { background: #1a73e8; color: #fff; }
        .tab.active[data-tab="dashboard"] { background: #0f766e; }
        .tab.active[data-tab="stocks"] { background: #15803d; }
        .tab.active[data-tab="analysis"] { background: #1d4ed8; }
        .tab.active[data-tab="limit-research"] { background: #b91c1c; }
        .tab.active[data-tab="cycle"] { background: #6d28d9; }
        .tab.active[data-tab="alerts"] { background: #b45309; }
        .tab.active[data-tab="logs"] { background: #be123c; }
        .tab.active[data-tab="combo-backtest"] { background: #0e7490; }
        .tab.active[data-tab="system"] { background: #334155; }
        .panel { display: none; }
        .panel.active { display: block; }
        .card { background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(30,64,175,0.08); }
        .card h3 { font-size: 16px; margin-bottom: 16px; color: #1a1a1a; border-bottom: 2px solid #e8f0fe; padding-bottom: 10px; }
        .panel { --panel-accent: #1a73e8; --panel-soft: #f8fbff; --panel-border: #dbeafe; }
        .panel .card { border: 1px solid var(--panel-border); }
        .panel .card h3 { border-bottom-color: var(--panel-accent); }
        .panel .btn-primary { background: var(--panel-accent); }
        .panel .btn-primary:hover { filter: brightness(0.92); }
        .panel .btn-outline { color: var(--panel-accent); border-color: var(--panel-accent); }
        .panel .btn-outline:hover { background: var(--panel-soft); }
        #panel-dashboard { --panel-accent: #0f766e; --panel-soft: #f0fdfa; --panel-border: #99f6e4; }
        #panel-dashboard .stat-card { border: 1px solid #b5e6df; background: #f8fffe; }
        #panel-dashboard .stat-card .value { color: #0f766e; }
        #panel-dashboard .dashboard-subcard { background: #fbfffe; }
        #panel-stocks { --panel-accent: #15803d; --panel-soft: #f0fdf4; --panel-border: #bbf7d0; }
        #panel-stocks .detail-table th, #panel-stocks th { background: #f0fdf4; color: #166534; }
        #panel-analysis { --panel-accent: #1d4ed8; --panel-soft: #eff6ff; --panel-border: #bfdbfe; }
        #panel-analysis .analysis-summary-card, #panel-analysis .analysis-panel-card { border-color: #bfdbfe; background: #f8fbff; }
        #panel-analysis .analysis-note-item, #panel-analysis .analysis-matrix-wrap { border-color: #c7d2fe; background: #f8faff; }
        #panel-limit-research { --panel-accent: #b91c1c; --panel-soft: #fff7f7; --panel-border: #fecaca; }
        #panel-limit-research .analysis-panel-card { border-color: #fecaca; background: #fffafa; }
        #panel-cycle { --panel-accent: #7c3aed; --panel-soft: #f5f3ff; --panel-border: #ddd6fe; }
        #panel-cycle .analysis-panel-card { border-color: #ddd6fe; background: #faf9ff; }
        .cycle-pool-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 10px; }
        .cycle-pool-input { min-width: 170px; padding: 6px 9px; border: 1px solid #ddd6fe; border-radius: 6px; font-size: 13px; }
        .cycle-pool-select { padding: 6px 9px; border: 1px solid #ddd6fe; border-radius: 6px; font-size: 13px; background: #fff; }
        .cycle-pool-row { cursor: pointer; }
        .cycle-pool-row:hover { background: #f5f3ff; }
        .limit-research-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .limit-window-btn.active { background: #b91c1c; color: #fff; border-color: #b91c1c; }
        .limit-research-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); gap: 14px; margin-top: 14px; }
        .limit-research-chart { height: 320px; }
        .limit-event-type { font-weight: 700; }
        .limit-event-type.up { color: #dc2626; }
        .limit-event-type.down { color: #2563eb; }
        .analysis-sort-button { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
        .analysis-sort-button:hover { color: #1d4ed8; }
        .analysis-sort-indicator { color: #1d4ed8; font-size: 11px; }
        .analysis-table tbody tr { content-visibility: auto; contain-intrinsic-size: 0 76px; }
        .alert-condition-status { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; font-size: 11px; border: 1px solid #e2e8f0; background: #f8fafc; color: #64748b; }
        .alert-condition-status.passed { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
         .alert-condition-status.failed { border-color: #fecaca; background: #fff1f2; color: #b91c1c; }
         .alert-log-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
         .alert-log-toolbar .btn.active { background: var(--panel-accent); border-color: var(--panel-accent); color: #fff; }
         .raw-alert-kpi-grid { margin-top: 12px; }
         .raw-alert-table td { vertical-align: top; }
         .alert-log-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 132px; }
        .main-rise-card { margin-top: 16px; border-color: #fecaca; background: #fffafa; }
        .main-rise-summary { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
        .main-rise-tag { padding: 5px 9px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #475569; font-size: 12px; }
        .main-rise-tag strong { color: #b91c1c; }
        .main-rise-condition-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
        .stage-breakout-panel { margin-top: 16px; border: 1px solid #fed7aa; border-radius: 8px; overflow: hidden; background: #fffdf8; }
        .stage-breakout-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #fed7aa; background: #fff7ed; }
        .stage-breakout-title { font-size: 15px; font-weight: 700; color: #9a3412; }
        .stage-breakout-description { margin-top: 4px; color: #64748b; font-size: 12px; line-height: 1.55; }
        .stage-breakout-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #ffedd5; }
        .stage-breakout-stat { padding: 8px 10px; border: 1px solid #ffedd5; border-radius: 6px; background: #fffaf5; }
        .stage-breakout-stat .label { color: #78716c; font-size: 11px; }
        .stage-breakout-stat .value { margin-top: 3px; color: #c2410c; font-size: 18px; font-weight: 700; }
        .stage-breakout-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; padding: 12px 16px 16px; }
        .stage-breakout-stock { padding: 13px; border: 1px solid #fed7aa; border-radius: 7px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
        .stage-breakout-stock:hover { border-color: #ea580c; box-shadow: 0 3px 10px rgba(194, 65, 12, .12); }
        .stage-breakout-stock-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
        .stage-breakout-stock-name { font-size: 14px; font-weight: 700; color: #1f2937; }
        .stage-breakout-stock-code { margin-top: 3px; color: #64748b; font-size: 11px; }
        .stage-breakout-score { min-width: 48px; padding: 5px 7px; border-radius: 5px; background: #fff7ed; color: #c2410c; font-weight: 700; font-size: 13px; text-align: center; }
        .stage-breakout-price { display: flex; gap: 12px; margin-top: 10px; color: #475569; font-size: 12px; }
        .stage-breakout-price strong { color: #0f172a; font-size: 14px; }
        /* 三项核心指标固定横排，避免通用八列网格在候选卡片中留下大面积空白。 */
        .stage-breakout-stock .alert-candidate-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
        .stage-breakout-stock .alert-candidate-metric { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; padding: 7px 8px; border-radius: 5px; }
        .stage-breakout-stock .alert-candidate-metric .label { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .stage-breakout-stock .alert-candidate-metric .value { flex: 0 0 auto; font-size: 14px; color: #0f4c81; }
         .stage-breakout-stock .main-rise-condition-list { padding-top: 8px; border-top: 1px dashed #fed7aa; }
         .ten-indicator-panel { border-color: #bfdbfe; background: #f8fbff; }
         .ten-indicator-panel .stage-breakout-header { border-bottom-color: #bfdbfe; background: #eff6ff; }
         .ten-indicator-panel .stage-breakout-title { color: #1d4ed8; }
         .ten-indicator-panel .stage-breakout-stat { border-color: #bfdbfe; background: #f8fbff; }
         .ten-indicator-panel .stage-breakout-stat .value, .ten-indicator-panel .stage-breakout-score { color: #1d4ed8; }
         .ten-indicator-panel .stage-breakout-score { background: #eff6ff; }
         .ten-indicator-panel .stage-breakout-stock { border-color: #bfdbfe; }
         .ten-indicator-panel .stage-breakout-stock:hover { border-color: #2563eb; box-shadow: 0 3px 10px rgba(37, 99, 235, .12); }
         .ten-indicator-panel .stage-breakout-stock .main-rise-condition-list { border-top-color: #bfdbfe; }
         @media (max-width: 640px) { .stage-breakout-header { align-items: stretch; flex-direction: column; } .stage-breakout-header .btn { width: 100%; } .stage-breakout-summary { grid-template-columns: 1fr 1fr; } .stage-breakout-list { grid-template-columns: 1fr; } }
        /* 跨池标记：同一股票命中多个选组/候选池时高亮 */
        .cross-pool-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #7c3aed; color: #fff; font-size: 11px; font-weight: 700; vertical-align: middle; box-shadow: 0 2px 6px rgba(124, 58, 237, .25); }
        .cross-pool-badge.is-strong { background: #b91c1c; box-shadow: 0 2px 6px rgba(185, 28, 28, .28); }
        .stage-breakout-stock.is-cross-pool, .alert-candidate-card.is-cross-pool { border-color: #8b5cf6 !important; box-shadow: 0 0 0 2px rgba(124, 58, 237, .16), 0 6px 16px rgba(124, 58, 237, .16); }
        .operating-tag { display: inline-flex; align-items: center; margin: 2px 4px 0 0; padding: 1px 6px; border-radius: 4px; border: 1px solid #e2e8f0; font-size: 11px; font-weight: 700; background: #f8fafc; }
        .operating-tag.operating-tag-passed { color: #047857; border-color: #bbf7d0; background: #ecfdf5; }
        .pool-summary-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 14px; padding: 11px 14px; border: 1px solid #bfdbfe; border-radius: 10px; background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%); color: #1e3a8a; font-size: 13px; line-height: 1.7; }
        .pool-summary-bar .seg-label { color: #64748b; }
        .pool-summary-bar .seg-value { font-weight: 700; color: #1d4ed8; }
        .pool-summary-bar .seg-value.zero { color: #94a3b8; }
        .pool-summary-bar .pool-summary-time { margin-left: auto; color: #94a3b8; font-size: 11px; }
        .factor-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, .48); z-index: 1700; align-items: center; justify-content: center; padding: 24px; }
        .factor-modal-overlay.show { display: flex; }
        .factor-modal { width: min(920px, calc(100vw - 48px)); max-height: calc(100vh - 48px); background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(15, 23, 42, .28); display: flex; flex-direction: column; overflow: hidden; }
        .factor-modal-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eef2f7; }
        .factor-modal-header h3 { margin: 0; font-size: 16px; color: #0f172a; }
        .factor-modal-body { padding: 16px 20px 20px; overflow-y: auto; background: #f8fafc; }
        .factor-group { background: #fff; border: 1px solid #e6edf5; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
        .factor-diag-btn { margin-left: 6px; padding: 1px 6px; font-size: 11px; line-height: 1.6; vertical-align: middle; }
        .combo-param-panel { margin: 10px 0 0; border: 1px solid #dbeafe; border-radius: 10px; background: #f8fbff; padding: 10px 12px; }
        .combo-param-panel > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: #1d4ed8; }
        .combo-param-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 12px; margin: 10px 0; }
        .combo-param-field { display: flex; align-items: center; gap: 6px; font-size: 12px; }
        .combo-param-label { color: #475569; min-width: 108px; }
        .combo-param-field input { width: 88px; padding: 4px 6px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 12px; }
        .combo-param-unit { color: #94a3b8; font-size: 11px; }
        .combo-param-actions { display: flex; gap: 8px; }
        .combo-near-pool { margin-top: 12px; border: 1px dashed #fbbf24; border-radius: 10px; background: #fffdf5; padding: 10px 12px; }
        .combo-near-pool > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: #b45309; }
        .factor-group h4 { margin: 0 0 10px; font-size: 14px; color: #0f172a; display: flex; justify-content: space-between; gap: 10px; }
        .factor-group h4 .factor-verdict { font-size: 12px; font-weight: 700; }
        .factor-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) minmax(90px, .8fr) minmax(120px, 1fr) minmax(70px, .5fr); gap: 8px; padding: 7px 0; border-bottom: 1px dashed #eef2f7; font-size: 12px; align-items: center; }
        .factor-row:last-child { border-bottom: none; }
        .factor-name { color: #334155; font-weight: 600; }
        .factor-value { color: #0f172a; font-weight: 700; }
        .factor-threshold { color: #64748b; }
        .factor-state { text-align: right; font-weight: 700; }
        .factor-state.passed { color: #047857; }
        .factor-state.failed { color: #b91c1c; }
        .factor-state.unknown { color: #94a3b8; }
        .factor-note { grid-column: 1 / -1; color: #64748b; font-size: 11px; line-height: 1.6; }
        .conflict-warning.is-high { border-color: #fdba74; border-left-color: #ea580c; background: #fff7ed; color: #9a3412; }
        .operating-policy-tip { margin: 8px 0 0; padding: 8px 10px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #f8fafc; color: #475569; font-size: 12px; line-height: 1.6; }
        .cross-pool-summary { margin: 0 0 10px; padding: 8px 10px; border: 1px dashed #c4b5fd; border-radius: 8px; background: #faf5ff; color: #5b21b6; font-size: 12px; line-height: 1.6; }
        .cross-pool-summary strong { color: #6d28d9; }
        #panel-alerts { --panel-accent: #b45309; --panel-soft: #fffbeb; --panel-border: #fde68a; }
        #panel-alerts .alert-section { border-color: #fde68a; background: #fffcf3; }
        #panel-alerts .alert-condition-card, #panel-alerts .alert-candidate-card, #panel-alerts .alert-kpi-card { border-color: #fcd34d; }
        #panel-alerts .alert-condition-chip, #panel-alerts .alert-match-tag { background: #fff7df; border-color: #fde68a; color: #a16207; }
        #panel-alerts .alert-candidate-metric { background: #fffdf7; border-color: #fef3c7; }
        #panel-logs { --panel-accent: #be123c; --panel-soft: #fff1f2; --panel-border: #fecdd3; }
        #panel-logs .detail-combo-section { border-color: #fecdd3; background: #fffafb; }
        #panel-logs .alert-kpi-card { border-color: #fecdd3; background: #fff7f8; }
        #panel-logs .detail-table th { background: #fff1f2; color: #9f1239; }
        #panel-logs .tracking-log-table th.sortable:hover { background: #ffe4e6; color: #be123c; }
        #panel-logs .tracking-log-table th.sort-active .sort-indicator { color: #be123c; }
        #panel-system { --panel-accent: #475569; --panel-soft: #f8fafc; --panel-border: #e2e8f0; }
        #panel-system .analysis-panel-card { border-color: #e2e8f0; background: #fafbfc; }
        #panel-combo-backtest { --panel-accent: #0e7490; --panel-soft: #ecfeff; --panel-border: #a5f3fc; }
        #panel-combo-backtest .detail-table th { background: #ecfeff; color: #155e75; }
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
        .stat-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); text-align: center; }
        .stat-card .value { font-size: 28px; font-weight: 700; color: #1a73e8; }
        .stat-card .label { font-size: 13px; color: #999; margin-top: 4px; }
        .stat-card .value.up { color: #f44336; }
        .stat-card .value.down { color: #4caf50; }
        table { width: 100%; border-collapse: collapse; font-size: 13px; }
        th { background: #f5f7fa; padding: 10px 12px; text-align: left; font-weight: 600; color: #666; border-bottom: 2px solid #e8e8e8; white-space: nowrap; }
        td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; }
        tr:hover { background: #fafbfc; }
        .price-up { color: #f44336; }
        .price-down { color: #4caf50; }
        .badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
        .badge-buy { background: #fce4ec; color: #c62828; }
        .badge-sell { background: #e8f5e9; color: #2e7d32; }
        .badge-hold { background: #fff3e0; color: #e65100; }
        .btn { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; transition: all 0.2s; }
        .btn-primary { background: #1a73e8; color: #fff; }
        .btn-primary:hover { background: #1557b0; }
        .btn-danger { background: #f44336; color: #fff; }
        .btn-danger:hover { background: #c62828; }
        .btn-sm { padding: 4px 10px; font-size: 12px; }
        .btn-outline { background: #fff; color: #1a73e8; border: 1px solid #1a73e8; }
        .btn-outline:hover { background: #e8f0fe; }
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; justify-content: center; align-items: center; }
        .modal-overlay.show { display: flex; }
        .modal { background: #fff; border-radius: 12px; padding: 24px; width: 90%; max-width: 500px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
        .modal h3 { margin-bottom: 16px; }
        .detail-modal-overlay { z-index: 1400; align-items: stretch; justify-content: center; padding: 12px 24px; overflow: hidden; }
        .detail-modal { background: #fff; border-radius: 10px; width: min(1480px, calc(100vw - 48px)); height: calc(100vh - 24px); max-width: none; max-height: none; box-shadow: 0 12px 40px rgba(0,0,0,0.18); display: flex; flex-direction: column; overflow: hidden; }
        .detail-modal-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #eef2f7; background: #fff; }
        .detail-modal-header h3 { margin: 0; font-size: 17px; color: #1f1f1f; }
        .detail-modal-body { padding: 20px 24px 24px; overflow-y: auto; }
        .detail-modal-close { min-width: 72px; }
        .form-group { margin-bottom: 14px; }
        .form-group label { display: block; font-size: 13px; font-weight: 500; color: #666; margin-bottom: 4px; }
        .form-group input, .form-group select { width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; transition: border-color 0.2s; }
        .form-group input:focus, .form-group select:focus { outline: none; border-color: #1a73e8; }
        .form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
        .loading { text-align: center; padding: 40px; color: #999; }
        .empty { text-align: center; padding: 40px; color: #bbb; font-size: 14px; }
        .toast { position: fixed; top: 20px; right: 20px; padding: 12px 20px; border-radius: 8px; color: #fff; font-size: 13px; z-index: 2000; animation: slideIn 0.3s ease; }
        .toast.success { background: #4caf50; }
        .toast.error { background: #f44336; }
        @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        .indicator-tag { display: inline-block; padding: 2px 6px; border-radius: 3px; font-size: 11px; margin: 1px; }
        .indicator-tag.golden { background: #fff3e0; color: #e65100; }
        .indicator-tag.death { background: #e8eaf6; color: #283593; }
        .indicator-tag.oversold { background: #e8f5e9; color: #2e7d32; }
        .indicator-tag.overbought { background: #fce4ec; color: #c62828; }
        .detail-page-section { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 14px; margin-bottom: 14px; }
        .detail-page-section h4 { font-size: 15px; margin-bottom: 10px; color: #1f1f1f; }
        .detail-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
        .detail-kv.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; }
        .detail-kv.overview { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 10px; }
        .detail-kv-item { min-width: 0; }
        .detail-kv-label { font-size: 12px; color: #8c8c8c; margin-bottom: 3px; }
        .detail-kv-value { font-size: 13px; color: #1f1f1f; font-weight: 600; word-break: break-word; line-height: 1.45; }
        .detail-kv-item.span-2 { grid-column: span 2; }
        .detail-kv-item.span-3 { grid-column: span 3; }
        .detail-kv-item.span-4 { grid-column: span 4; }
        .detail-kv-item.span-6 { grid-column: span 6; }
        .snapshot-board { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
        .snapshot-text-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr); gap: 10px; margin-bottom: 10px; }
        .snapshot-text-card { background: #fff; border: 1px solid #eef2f7; border-radius: 8px; padding: 8px 10px; }
        .snapshot-text-card .label { font-size: 12px; color: #64748b; margin-bottom: 4px; }
        .snapshot-text-card .value { font-size: 13px; color: #0f172a; line-height: 1.45; word-break: break-word; }
        .snapshot-mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
        .snapshot-mini-item { background: #fff; border: 1px solid #e6edf5; border-radius: 8px; padding: 8px 10px; min-width: 0; }
        .snapshot-mini-item .label { font-size: 11px; color: #7b8794; margin-bottom: 3px; }
        .snapshot-mini-item .value { font-size: 13px; color: #0f172a; font-weight: 700; line-height: 1.25; word-break: break-word; }
        .snapshot-mini-item .sub { margin-top: 3px; font-size: 10px; color: #64748b; line-height: 1.35; }
        .snapshot-mini-item.tone-a { background: #fffaf7; }
        .snapshot-mini-item.tone-b { background: #f8fbff; }
        .snapshot-mini-item.tone-c { background: #f9fcfb; }
        .snapshot-mini-item.tone-d { background: #fbfbff; }
        .ops-metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
        .ops-metric-card { background: #fff; border: 1px solid #e6edf5; border-radius: 8px; padding: 8px 10px; min-width: 0; }
        .ops-metric-card .label { font-size: 11px; color: #7b8794; margin-bottom: 4px; }
        .ops-metric-card .value { font-size: 13px; font-weight: 700; color: #0f172a; line-height: 1.25; word-break: break-word; }
        .ops-metric-card .sub { margin-top: 3px; font-size: 10px; color: #64748b; line-height: 1.35; }
        .ops-metric-card.is-wide { grid-column: span 2; }
        .ops-metric-card.tone-finance { background: #f8fbff; }
        .ops-metric-card.tone-quality { background: #fbfbff; }
        .ops-metric-card.tone-balance { background: #f9fcfb; }
        .ops-metric-card.tone-market { background: #fffaf7; }
        .detail-combo-section { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
        .detail-combo-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
        .detail-combo-head h4 { margin: 0; font-size: 15px; color: #1f1f1f; }
        .detail-combo-head .detail-caption { margin: 0; font-size: 12px; }
        .detail-combo-block + .detail-combo-block { margin-top: 10px; }
        .trend-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
        .trend-category-card { background: #fff; border: 1px solid #e6edf5; border-radius: 10px; overflow: hidden; min-width: 0; }
        .trend-category-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #eef2f7; background: #fbfdff; }
        .trend-category-title { font-size: 13px; font-weight: 700; color: #0f172a; }
        .trend-category-note { font-size: 11px; color: #64748b; }
        .detail-table-wrap { overflow-x: auto; border: 1px solid #e6edf5; border-radius: 12px; background: #fff; }
        .tracking-log-table { min-width: 1220px; table-layout: fixed; }
        .tracking-log-table th, .tracking-log-table td { padding: 8px 7px; white-space: normal; vertical-align: top; }
        .tracking-log-table th:nth-child(1), .tracking-log-table td:nth-child(1) { width: 82px; }
        .tracking-log-table th:nth-child(2), .tracking-log-table td:nth-child(2) { width: 145px; }
        .tracking-log-table th:nth-child(3), .tracking-log-table td:nth-child(3) { width: 64px; }
        .tracking-log-table th:nth-child(4), .tracking-log-table td:nth-child(4) { width: 78px; }
        .tracking-log-table th:nth-child(5), .tracking-log-table td:nth-child(5), .tracking-log-table th:nth-child(6), .tracking-log-table td:nth-child(6), .tracking-log-table th:nth-child(7), .tracking-log-table td:nth-child(7) { width: 75px; }
        .tracking-log-table th:nth-child(8), .tracking-log-table td:nth-child(8) { width: 62px; }
        .tracking-log-table th:nth-child(9), .tracking-log-table td:nth-child(9) { width: 220px; }
        .tracking-log-table th:nth-child(10), .tracking-log-table td:nth-child(10) { width: 100px; }
        .tracking-log-table th.decision-col, .tracking-log-table td.decision-col { width: 300px; }
        .tracking-log-table th.sortable { cursor: pointer; user-select: none; }
        .tracking-log-table th.sortable:hover { background: #edf5ff; color: #1a73e8; }
        .tracking-log-table th .sort-indicator { margin-left: 4px; color: #94a3b8; font-size: 10px; }
        .tracking-log-table th.sort-active .sort-indicator { color: #1a73e8; }
        .tracking-log-table .analysis-tags { display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
        .tracking-log-table .analysis-tags .alert-match-tag { flex: 0 0 auto; }
        .tracking-log-table .alert-match-tag { margin: 0; }
        .tracking-log-table .decision-evaluation { display: block; margin-top: 6px; line-height: 1.45; }
        .tracking-log-table .decision-actions { margin-top: 8px; }
        .detail-table { width: 100%; border-collapse: collapse; min-width: 1120px; }
        .detail-table th { background: #f8fafc; color: #475569; font-size: 11px; font-weight: 700; text-align: left; padding: 8px 10px; border-bottom: 1px solid #e6edf5; white-space: nowrap; }
        .detail-table td { padding: 8px 10px; border-bottom: 1px solid #eef2f7; color: #1f2937; font-size: 12px; line-height: 1.45; white-space: nowrap; }
        .detail-table tr:last-child td { border-bottom: none; }
        .detail-table td:first-child { font-weight: 700; color: #0f172a; }
        .detail-table tr:nth-child(even) td { background: #fcfdff; }
        .detail-table.compact-matrix { min-width: 640px; }
        .detail-table.compact-matrix th, .detail-table.compact-matrix td { padding: 7px 8px; font-size: 11px; }
        .detail-table.compact-matrix td:first-child, .detail-table.compact-matrix th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
        .detail-table.compact-matrix th:first-child { background: #f8fafc; z-index: 2; }
        .detail-caption { margin-bottom: 10px; font-size: 13px; color: #64748b; }
        .chart-container { width: 100%; height: 500px; margin-top: 41px; }
        .chart-container.volume { height: 200px; margin-top: 0; }
        .chart-curve-controls { display: flex; justify-content: flex-end; margin: 6px 0 0; }
        .chart-curve-controls .btn { width: 24px; height: 24px; padding: 0; font-size: 16px; line-height: 1; }
        .chart-curve-controls .btn.is-hidden { color: #64748b; border-color: #94a3b8; }
        .chart-curve-controls + .chart-container { margin-top: 8px; }
        .chart-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
        .chart-title-row .chart-curve-controls { margin: 0; }
        .detail-analysis-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr); gap: 16px; margin-top: 16px; align-items: start; }
        .detail-page-chart { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 16px; }
        .detail-page-chart h4 { font-size: 15px; margin-bottom: 8px; color: #1f1f1f; }
        .detail-chart-mount .chart-container:first-child { margin-top: 8px; }
        .chip-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
        .chip-summary-item { background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 12px; }
        .chip-summary-item .label { font-size: 12px; color: #8c8c8c; margin-bottom: 6px; }
        .chip-summary-item .value { font-size: 15px; font-weight: 700; color: #1f1f1f; }
        .chip-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
        .chip-price-item { min-width: 0; padding: 10px 12px; border: 1px solid #e6edf5; background: #fbfdff; }
        .chip-price-item .label { font-size: 11px; color: #64748b; }
        .chip-price-item .value { margin-top: 4px; font-size: 16px; font-weight: 700; color: #0f172a; }
        .chip-price-relationship .section-tip { margin-top: 12px; line-height: 1.6; }
        .chip-distribution { background: #fff; border: 1px solid #eef2f7; border-radius: 12px; padding: 16px; }
        .chip-marker-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
        .chip-marker { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12px; background: #f8fafc; color: #334155; border: 1px solid #e2e8f0; }
        .chip-marker-line { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
        .chip-chart { width: 100%; height: 500px; }
        .announcement-list { display: grid; gap: 12px; }
        .announcement-item { background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 14px; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
        .announcement-item:hover { border-color: #91caff; box-shadow: 0 6px 18px rgba(24, 144, 255, 0.08); transform: translateY(-1px); }
        .announcement-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
        .announcement-main { min-width: 0; cursor: pointer; }
        .announcement-title { font-size: 14px; font-weight: 600; color: #1f1f1f; line-height: 1.5; word-break: break-word; }
        .announcement-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; color: #8c8c8c; font-size: 12px; }
        .announcement-source-tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: #f5f7fa; color: #4b5563; }
        .announcement-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; flex-shrink: 0; }
        .announcement-empty { text-align: center; color: #8c8c8c; padding: 24px 0; font-size: 13px; }
        .announcement-modal-overlay { z-index: 1500; align-items: center; justify-content: center; padding: 24px; }
        .announcement-modal { width: min(1404px, calc(100vw - 124px)); max-height: calc(100vh - 48px); background: #fff; border-radius: 14px; box-shadow: 0 16px 48px rgba(15, 23, 42, 0.24); display: flex; flex-direction: column; overflow: hidden; }
        .announcement-modal-header { padding: 24px 28px 18px; border-bottom: 1px solid #eef2f7; background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); }
        .announcement-modal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
        .announcement-modal-label { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 600; }
        .announcement-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
        .announcement-modal-title { margin: 0; max-width: 1100px; font-size: 21px; line-height: 1.55; color: #0f172a; letter-spacing: 0; }
        .announcement-modal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: #64748b; font-size: 13px; }
        .announcement-modal-meta span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: #f8fafc; border: 1px solid #e5e7eb; }
        .announcement-modal-body { padding: 28px; overflow-y: auto; background: #f6f8fb; display: flex; justify-content: center; }
        .announcement-modal-article { width: min(980px, 100%); background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 32px 40px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
        .announcement-modal-article p { margin: 0 0 18px; font-size: 15px; line-height: 2; color: #1e293b; }
        .announcement-modal-article p:last-child { margin-bottom: 0; }
        .announcement-body-summary { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 13px 16px; border-radius: 12px; background: #f8fafc; border: 1px solid #e5e7eb; color: #475569; font-size: 13px; }
        .announcement-body-summary strong { color: #0f172a; font-size: 14px; }
        .announcement-body-block { margin-bottom: 20px; }
        .announcement-body-block:last-child { margin-bottom: 0; }
        .announcement-body-heading { margin: 0 0 14px; font-size: 20px; line-height: 1.55; color: #0f172a; }
        .announcement-body-subheading { margin: 0 0 12px; font-size: 17px; line-height: 1.55; color: #1e293b; }
        .announcement-body-list { margin: 0; padding-left: 20px; color: #334155; }
        .announcement-body-list li { margin: 0 0 12px; line-height: 1.9; }
        .announcement-body-list li:last-child { margin-bottom: 0; }
        .announcement-body-data { display: grid; gap: 10px; }
        .announcement-body-data-row { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); gap: 18px; align-items: start; padding: 12px 14px; border-radius: 12px; background: #fbfdff; border: 1px solid #eef2f7; }
        .announcement-body-data-label { font-size: 13px; font-weight: 700; color: #1e3a8a; line-height: 1.7; }
        .announcement-body-data-value { font-size: 14px; color: #334155; line-height: 1.9; word-break: break-word; }
        .announcement-body-table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
        .announcement-body-table { width: 100%; border-collapse: collapse; min-width: 620px; }
        .announcement-body-table th { background: #f8fafc; color: #334155; font-size: 12px; font-weight: 700; text-align: left; padding: 12px 14px; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
        .announcement-body-table td { padding: 12px 14px; border-bottom: 1px solid #eef2f7; font-size: 13px; color: #334155; line-height: 1.7; vertical-align: top; }
        .announcement-body-table tr:last-child td { border-bottom: none; }
        .announcement-body-table td:first-child { font-weight: 700; color: #0f172a; min-width: 160px; }
        .announcement-body-table tr:nth-child(even) td { background: #fcfdff; }
        .announcement-body-table-caption { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #475569; font-size: 13px; }
        .announcement-body-table-caption strong { color: #0f172a; }
        .announcement-body-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid #eef2f7; color: #64748b; font-size: 12px; line-height: 1.8; }
        .announcement-modal-empty { text-align: center; color: #8c8c8c; padding: 32px 0; font-size: 13px; }
        .dashboard-grid { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.6fr); gap: 20px; margin-top: 20px; }
        .dashboard-subcard { min-height: 520px; }
        .refresh-bar.compact { margin-bottom: 12px; }
        .section-tip { color: #8c8c8c; font-size: 13px; }
        .section-tip.warning { color: #b26a00; }
        .section-tip.syncing { color: #1677ff; }
        .inline-status { min-height: 18px; text-align: right; }
        .dashboard-stock-list { max-height: 720px; overflow-y: auto; }
        .stock-list-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid #eef2f7; border-radius: 12px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s ease; background: #fff; }
        .stock-list-item:hover { border-color: #91caff; box-shadow: 0 4px 12px rgba(24, 144, 255, 0.08); }
        .stock-list-item.active { border-color: #1677ff; background: #f0f7ff; box-shadow: 0 6px 16px rgba(22, 119, 255, 0.12); }
        .stock-list-main { display: flex; flex-direction: column; gap: 6px; }
        .stock-list-code { font-weight: 700; color: #1f1f1f; }
        .stock-list-name { color: #595959; font-size: 13px; }
        .stock-list-side { text-align: right; display: flex; flex-direction: column; gap: 6px; }
        .stock-list-price { font-weight: 700; font-size: 16px; }
        .stock-list-meta { color: #8c8c8c; font-size: 12px; }
        .analysis-summary-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
        .analysis-search-input { width: 190px; padding: 7px 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 13px; color: #1f2937; background: #fff; }
        .analysis-stat-card { background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 14px; }
        .analysis-stat-card .label { font-size: 12px; color: #64748b; margin-bottom: 6px; }
        .analysis-stat-card .value { font-size: 24px; font-weight: 700; color: #0f172a; }
        .research-study { background: #f8fafc; border: 1px solid #dbeafe; border-radius: 10px; padding: 14px; margin-bottom: 16px; }
        .research-study-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
        .research-study-head h4 { margin: 0; font-size: 15px; color: #0f172a; }
        .research-study-head p { margin: 4px 0 0; color: #64748b; font-size: 12px; line-height: 1.5; }
        .research-study-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
        .research-study-sort { border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 8px; background: #fff; color: #334155; font-size: 11px; }
        .research-study-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
        .research-study-overview-card { background: #fff; border: 1px solid #e6edf5; border-radius: 8px; padding: 9px 10px; }
        .research-study-overview-card .label { color: #64748b; font-size: 11px; }
        .research-study-overview-card .value { color: #0f172a; font-size: 17px; font-weight: 700; margin-top: 3px; }
        .research-study-overview-card .sub { color: #64748b; font-size: 10px; line-height: 1.4; margin-top: 3px; }
        .research-study-list { display: grid; gap: 10px; }
        .research-study-item { background: #fff; border: 1px solid #e6edf5; border-radius: 8px; padding: 10px 12px; }
        .research-study-item-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
        .research-study-title { font-weight: 700; color: #0f172a; font-size: 13px; }
        .research-study-group { color: #1d4ed8; background: #eff6ff; border-radius: 999px; padding: 3px 8px; font-size: 11px; }
        .research-study-evaluation { color: #047857; background: #ecfdf5; border-radius: 999px; padding: 3px 8px; font-size: 11px; }
        .research-study-evaluation.weak { color: #b45309; background: #fffbeb; }
        .research-study-description { color: #475569; font-size: 12px; line-height: 1.55; margin: 6px 0; }
        .research-study-meta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
        .research-study-metric { background: #f8fafc; border-radius: 6px; padding: 7px 8px; }
        .research-study-metric .label { color: #64748b; font-size: 10px; }
        .research-study-metric .value { color: #0f172a; font-size: 13px; font-weight: 700; margin-top: 2px; }
        .research-study-metric .value.positive { color: #b91c1c; }
        .research-study-metric .value.negative { color: #047857; }
        .research-study-keyline .positive { color: #b91c1c; font-weight: 700; }
        .research-study-keyline .negative { color: #047857; font-weight: 700; }
        .research-study-keyline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 7px 0 8px; color: #64748b; font-size: 11px; }
        .research-study-keyline strong { color: #0f172a; font-size: 12px; }
        .research-study-sample-low { color: #b45309; }
        .research-study-source { color: #64748b; font-size: 11px; line-height: 1.45; margin-top: 7px; }
        .research-study-source a { color: #2563eb; text-decoration: none; }
        .limit-sort-button { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
        .limit-sort-button:hover { color: #1d4ed8; }
        .limit-sort-indicator { color: #1d4ed8; font-size: 11px; }
        .pattern-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
        .pattern-rule-summary { margin-bottom: 14px; padding: 12px 14px; border: 1px solid #dbeafe; border-radius: 10px; background: #f8fbff; font-size: 13px; line-height: 1.7; color: #1e3a8a; }
        .pattern-note-list { display: grid; gap: 8px; margin-bottom: 14px; }
        .pattern-note-item { padding: 10px 12px; border: 1px solid #eef2f7; border-radius: 10px; background: #f8fafc; font-size: 13px; color: #475569; line-height: 1.7; }
        .pattern-explanation-list { display: grid; gap: 10px; margin-bottom: 14px; }
        .pattern-explanation-card { padding: 12px 14px; border: 1px solid #e6edf5; border-radius: 10px; background: #fff; }
        .pattern-explanation-card.positive { border-color: #fecaca; background: #fff7f7; }
        .pattern-explanation-card.negative { border-color: #d1fae5; background: #f6fffb; }
        .pattern-explanation-title { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
        .pattern-explanation-content { font-size: 13px; color: #334155; line-height: 1.7; }
        .pattern-combo-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
        .pattern-combo-card { padding: 12px 14px; border: 1px solid #e6edf5; border-radius: 10px; background: #fff; }
        .pattern-combo-card .label { font-size: 12px; color: #64748b; margin-bottom: 6px; }
        .pattern-combo-card .value { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.5; }
        .pattern-combo-card .sub { margin-top: 6px; font-size: 12px; color: #475569; }
        .pattern-config-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
        .pattern-config-chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; font-size: 12px; }
        .pattern-table td { vertical-align: top; }
        .pattern-example-list { display: grid; gap: 6px; }
        .pattern-example-item { font-size: 12px; color: #475569; line-height: 1.55; }
        .pattern-editor-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
        .pattern-editor-table th, .pattern-editor-table td { border-bottom: 1px solid #eef2f7; padding: 8px 6px; text-align: left; vertical-align: middle; }
        .pattern-editor-table th { color: #64748b; font-weight: 700; }
        .pattern-editor-table input, .pattern-editor-table select { width: 100%; min-width: 0; padding: 6px 8px; border: 1px solid #d7deea; border-radius: 6px; font-size: 12px; }
        .pattern-editor-table input[type="checkbox"] { width: 16px; height: 16px; padding: 0; }
        .pattern-editor-table td:first-child { font-weight: 700; color: #0f172a; }
        .pattern-editor-scroll { max-height: 360px; overflow: auto; border: 1px solid #eef2f7; border-radius: 10px; padding: 0 10px 10px; background: #fff; }
        .pattern-modal { width: min(960px, calc(100vw - 48px)); max-width: none; }
        .capability-board { background: #f8fafc; border: 1px solid #e6edf5; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
        .capability-board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
        .capability-board-head h4 { margin: 0; font-size: 16px; color: #0f172a; }
        .capability-board-head .section-tip { margin: 0; }
        .capability-view-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: #fff; border: 1px solid #e6edf5; }
        .capability-view-btn { border: none; background: transparent; color: #64748b; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
        .capability-view-btn.active { background: #1a73e8; color: #fff; }
        .capability-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
        .capability-meta-card { background: #fff; border: 1px solid #e6edf5; border-radius: 10px; padding: 12px; }
        .capability-meta-card .label { font-size: 12px; color: #64748b; margin-bottom: 6px; }
        .capability-meta-card .value { font-size: 22px; font-weight: 700; color: #0f172a; }
        .capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
        .capability-card { background: #fff; border: 1px solid #e6edf5; border-radius: 10px; padding: 12px; min-width: 0; }
        .capability-card.is-clickable { cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
        .capability-card.is-clickable:hover { border-color: #93c5fd; box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08); transform: translateY(-1px); }
        .capability-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
        .capability-card-title { font-size: 14px; font-weight: 700; color: #0f172a; }
        .capability-card-count { font-size: 12px; color: #1d4ed8; background: #eff6ff; border-radius: 999px; padding: 3px 8px; }
        .capability-list { display: grid; gap: 8px; }
        .capability-item { font-size: 12px; line-height: 1.55; color: #334155; padding-bottom: 8px; border-bottom: 1px solid #eef2f7; }
        .capability-item:last-child { border-bottom: none; padding-bottom: 0; }
        .capability-page-route { margin-top: 8px; font-size: 11px; color: #1d4ed8; }
        .analysis-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(80px, 0.2fr); gap: 16px; }
        .analysis-table th, .analysis-table td { vertical-align: top; }
        .rating-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
        .rating-pill.strong { background: #fee2e2; color: #b91c1c; }
        .rating-pill.good { background: #fff7ed; color: #c2410c; }
        .rating-pill.neutral { background: #eff6ff; color: #1d4ed8; }
        .rating-pill.weak { background: #ecfdf5; color: #047857; }
        .analysis-conclusion { font-size: 13px; line-height: 1.6; color: #1f2937; }
        .analysis-tags { display: flex; flex-wrap: wrap; gap: 6px; }
        .analysis-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: 4px; background: #f8fafc; border: 1px solid #d7e1ec; color: #334155; font-size: 11px; line-height: 1.3; }
        .analysis-note-list { display: grid; gap: 10px; }
        .analysis-note-item { padding: 12px 14px; border: 1px solid #eef2f7; border-radius: 10px; background: #f8fafc; font-size: 13px; line-height: 1.7; color: #334155; }
        .correlation-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
        .correlation-badge.positive { background: #fee2e2; color: #b91c1c; }
        .correlation-badge.negative { background: #dcfce7; color: #166534; }
        .correlation-badge.neutral { background: #e0f2fe; color: #075985; }
        .correlation-row { cursor: pointer; }
        .correlation-row.active td { background: #eef6ff !important; }
        .correlation-insight { margin-bottom: 10px; padding: 10px 12px; border: 1px solid #dbeafe; border-radius: 10px; background: #f8fbff; font-size: 13px; line-height: 1.7; color: #1e3a8a; }
        .analysis-panel-modal-overlay { z-index: 1600; align-items: stretch; justify-content: center; padding: 12px 24px; overflow: hidden; }
        .analysis-panel-modal { background: #fff; border-radius: 10px; width: min(1560px, calc(100vw - 48px)); height: calc(100vh - 24px); box-shadow: 0 12px 40px rgba(0,0,0,0.18); display: flex; flex-direction: column; overflow: hidden; }
        .analysis-panel-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid #eef2f7; }
        .analysis-panel-header h3 { margin: 0; font-size: 17px; color: #1f1f1f; }
        .analysis-panel-actions { display: flex; gap: 8px; align-items: center; }
        .analysis-panel-body { padding: 18px 24px 24px; overflow-y: auto; background: #f8fafc; }
        .analysis-panel-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
        .analysis-panel-card { background: #fff; border: 1px solid #e6edf5; border-radius: 10px; padding: 12px; }
        .analysis-panel-card .label { font-size: 12px; color: #64748b; margin-bottom: 6px; }
        .analysis-panel-card .value { font-size: 18px; font-weight: 700; color: #0f172a; line-height: 1.35; }
        .analysis-panel-chart-wrap { background: #fff; border: 1px solid #e6edf5; border-radius: 12px; padding: 14px; margin-bottom: 14px; }
        .analysis-panel-chart { width: 100%; height: 520px; }
        .analysis-matrix-wrap { background: #fff; border: 1px solid #e6edf5; border-radius: 12px; padding: 14px; }
        .analysis-matrix-wrap h4 { margin: 0 0 10px; font-size: 15px; color: #1f1f1f; }
        .analysis-matrix-chart { width: 100%; height: 620px; margin-bottom: 12px; }
        .analysis-matrix-note { margin: 0 0 12px; font-size: 12px; color: #64748b; }
        .analysis-matrix-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
        .analysis-matrix-actions { display: flex; flex-wrap: wrap; gap: 8px; }
        .analysis-matrix-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
        .analysis-indicator-chip { display: inline-flex; align-items: center; border: 1px solid #d7e1ec; border-radius: 999px; overflow: hidden; background: #fff; }
        .analysis-indicator-main, .analysis-indicator-toggle { border: none; background: transparent; font-size: 12px; cursor: pointer; }
        .analysis-indicator-main { padding: 6px 10px; color: #1f2937; font-weight: 600; }
        .analysis-indicator-toggle { padding: 6px 8px; color: #64748b; border-left: 1px solid #e5edf5; }
        .analysis-indicator-chip.is-focused { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12); }
        .analysis-indicator-chip.is-focused .analysis-indicator-main { background: #eff6ff; color: #1d4ed8; }
        .analysis-indicator-chip.is-hidden { opacity: 0.45; }
        .analysis-indicator-chip.is-hidden .analysis-indicator-main { text-decoration: line-through; }
        .analysis-matrix-status { margin-bottom: 10px; font-size: 12px; color: #64748b; }
        .matrix-row-active td { background: #eef6ff !important; }
        .matrix-row-dim td { opacity: 0.48; }
        #dashboardStockDetail .chart-container { height: 360px; }
        #dashboardStockDetail .chart-container.volume { height: 140px; }
        .refresh-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
        .refresh-bar .time { font-size: 12px; color: #999; }
        .alert-workspace { display: grid; grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.35fr); gap: 16px; align-items: start; }
        .alert-workspace.is-single-column { grid-template-columns: minmax(0, 1fr); }
        .combo-tile-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
        .combo-tile-grid > div { margin-top: 0 !important; }
        .combo-tile-grid .stage-breakout-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        @media (max-width: 900px) { .combo-tile-grid .stage-breakout-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
        @media (max-width: 600px) { .combo-tile-grid .stage-breakout-list { grid-template-columns: minmax(0, 1fr); } }
        .alert-column { display: grid; gap: 16px; min-width: 0; }
        .alert-section { background: #f8fafc; border: 1px solid #e6edf5; border-radius: 12px; padding: 12px; min-width: 0; }
        .alert-section h4 { margin: 0; font-size: 15px; color: #1f1f1f; }
        .alert-condition-list { display: grid; gap: 10px; }
        .alert-condition-card { background: #fff; border: 1px solid #e6edf5; border-radius: 10px; padding: 12px; }
        .alert-condition-card.is-primary { border-color: #bfdbfe; background: #f8fbff; }
        .alert-condition-actions { display: flex; align-items: center; gap: 8px; }
        .alert-condition-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
        .alert-condition-title { font-size: 14px; font-weight: 700; color: #0f172a; }
        .alert-condition-meta { display: flex; flex-wrap: wrap; gap: 6px; }
        .alert-condition-chip { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: #eef6ff; color: #1d4ed8; font-size: 11px; font-weight: 600; }
        .alert-condition-desc { font-size: 12px; color: #334155; line-height: 1.65; }
        .alert-condition-foot { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
        .alert-kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
        .tracking-kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
        .simulation-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .alert-kpi-card { background: #fff; border: 1px solid #e6edf5; border-radius: 10px; padding: 12px; }
        .alert-kpi-card .label { font-size: 11px; color: #64748b; margin-bottom: 4px; }
        .alert-kpi-card .value { font-size: 20px; font-weight: 700; color: #0f172a; }
        .system-admin-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
        .system-admin-status-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 8px; padding: 7px 10px; border: 1px solid #cfe0f4; border-left: 4px solid #1d4ed8; border-radius: 6px; background: #f7fbff; color: #42526b; font-size: 12px; }
        .system-admin-status-strip .correlation-badge { margin-right: 2px; }
        .system-admin-section { margin-top: 10px; padding-top: 8px; border-top: 1px solid #dce8f5; }
        .system-admin-section-title { margin-bottom: 8px; color: #334155; font-weight: 700; font-size: 13px; }
        #panel-system .alert-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
        #panel-system .alert-kpi-card { min-height: 72px; padding: 9px 10px; border-color: #cfe0f4; background: #fbfdff; box-shadow: none; }
        #panel-system .alert-kpi-card .value { margin-top: 3px; font-size: 18px; color: #0f3d72; }
        #panel-system .alert-kpi-card .section-tip { margin-top: 2px; font-size: 11px; }
        .system-admin-pool-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
        .system-admin-pool-grid .alert-kpi-card { padding: 9px; }
        .system-admin-pool-grid .alert-kpi-card .value { font-size: 18px; }
        .alert-candidate-list { display: grid; gap: 10px; }
        .alert-candidate-card { background: #fff; border: 1px solid #e6edf5; border-radius: 12px; padding: 14px; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
        .alert-candidate-card:hover { border-color: #91caff; box-shadow: 0 6px 18px rgba(24, 144, 255, 0.08); transform: translateY(-1px); }
        .alert-candidate-card.is-daily-pick { position: relative; overflow: hidden; border: 2px solid #ea580c; border-left: 7px solid #dc2626; background: linear-gradient(105deg, #fff7ed 0%, #fffdf6 58%, #fff 100%); box-shadow: 0 8px 20px rgba(234, 88, 12, 0.18); }
        .alert-candidate-card.is-daily-pick:hover { border-color: #c2410c; border-left-color: #b91c1c; box-shadow: 0 10px 24px rgba(234, 88, 12, 0.24); }
        .alert-candidate-card.is-daily-pick .alert-candidate-title { color: #b91c1c; font-size: 16px; }
        .alert-candidate-card.is-daily-pick .alert-candidate-price .value { color: #c2410c; }
        .alert-candidate-card.is-daily-pick .alert-candidate-metric { border-color: #fed7aa; background: #fffaf5; }
        .alert-daily-pick-tag { display: inline-flex; align-items: center; margin-left: 8px; padding: 4px 9px; border-radius: 999px; background: #dc2626; border: 1px solid #b91c1c; color: #fff; font-size: 11px; font-weight: 700; vertical-align: middle; box-shadow: 0 2px 5px rgba(185, 28, 28, 0.22); }
        .alert-candidate-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
        .alert-candidate-title { font-size: 14px; font-weight: 700; color: #0f172a; }
        .alert-candidate-sub { margin-top: 4px; font-size: 12px; color: #64748b; }
        .alert-candidate-price { text-align: right; }
        .alert-candidate-price .value { font-size: 18px; font-weight: 700; color: #0f172a; }
        .alert-candidate-price .sub { margin-top: 4px; font-size: 12px; }
        .alert-candidate-metrics { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
        .alert-candidate-metric { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 8px; padding: 8px 10px; }
        .alert-candidate-metric .label { font-size: 11px; color: #64748b; margin-bottom: 3px; }
        .alert-candidate-metric .value { font-size: 13px; font-weight: 700; color: #0f172a; }
        .alert-match-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
        .alert-match-tag { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: #eff6ff; border: 1px solid #dbeafe; color: #1d4ed8; font-size: 11px; }
        .alert-match-tag.muted { background: #f8fafc; border-color: #e2e8f0; color: #64748b; }
        @media (max-width: 1200px) { .dashboard-grid { grid-template-columns: 1fr; } .dashboard-subcard { min-height: auto; } }
        @media (max-width: 768px) {
            .header { padding: 12px 16px; }
            .header h1 { font-size: 16px; }
            .container { padding: 12px; }
            .tabs { flex-wrap: wrap; }
            .tab { flex: 1 1 auto; min-width: 92px; padding: 10px 8px; font-size: 13px; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .market-table-toolbar { align-items: stretch; }
            .market-table-filters { width: 100%; }
            .market-table-search { width: 100%; }
            .market-table-filter { flex: 1; min-width: 0; }
            .market-pagination { justify-content: space-between; }
            table { font-size: 12px; }
            th, td { padding: 8px 6px; }
            .detail-kv { grid-template-columns: 1fr; }
            .detail-kv.compact { grid-template-columns: 1fr; }
            .detail-kv.overview { grid-template-columns: 1fr; }
            .detail-kv-item.span-2, .detail-kv-item.span-3, .detail-kv-item.span-4, .detail-kv-item.span-6 { grid-column: auto; }
            .snapshot-text-grid { grid-template-columns: 1fr; }
            .snapshot-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .detail-analysis-grid { grid-template-columns: 1fr; }
            .ops-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .detail-combo-head { flex-direction: column; align-items: flex-start; }
            .limit-research-grid { grid-template-columns: 1fr; }
            .limit-research-chart { height: 270px; }
            .limit-research-toolbar { width: 100%; }
            .trend-category-grid { grid-template-columns: 1fr; }
            .chip-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .chip-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .analysis-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .research-study-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .research-study-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .research-study-head { flex-direction: column; }
            .research-study-actions { justify-content: flex-start; }
            .alert-workspace { grid-template-columns: 1fr; }
            .alert-kpi-grid { grid-template-columns: 1fr; }
            .tracking-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .simulation-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .alert-candidate-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .stage-breakout-stock .alert-candidate-metrics { grid-template-columns: 1fr; }
            .capability-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .capability-grid { grid-template-columns: 1fr; }
            .analysis-layout { grid-template-columns: 1fr; }
            .analysis-panel-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .analysis-matrix-chart { height: 380px; }
            .analysis-matrix-toolbar { flex-direction: column; }
            .chip-chart { height: 340px; }
            .detail-modal-overlay { padding: 8px; }
            .detail-modal { width: calc(100vw - 16px); height: calc(100vh - 16px); border-radius: 8px; }
            .detail-modal-header { padding: 14px 16px; }
            .detail-modal-body { padding: 16px; }
            .analysis-panel-modal-overlay { padding: 8px; }
            .analysis-panel-modal { width: calc(100vw - 16px); height: calc(100vh - 16px); border-radius: 8px; }
            .analysis-panel-header { padding: 14px 16px; }
            .analysis-panel-body { padding: 16px; }
            .announcement-modal-overlay { padding: 8px; }
            .announcement-modal { width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 10px; }
            .announcement-modal-header { padding: 16px; }
            .announcement-modal-body { padding: 16px; }
            .announcement-modal-article { width: 100%; padding: 20px 16px; }
            .announcement-modal-title { font-size: 18px; }
            .announcement-body-heading { font-size: 16px; }
            .announcement-body-subheading { font-size: 15px; }
            .announcement-body-data-row { grid-template-columns: 1fr; gap: 6px; }
        }
        .field-hint {
            margin-top: 8px;
            font-size: 12px;
            color: #6b7280;
            min-height: 18px;
        }
        .field-hint.error {
            color: #dc2626;
        }
        .field-hint.success {
            color: #2563eb;
        }
        body.modal-open { overflow: hidden; }
        .auth-overlay { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, 0.5); }
        .auth-overlay.hidden { display: none; }
        .auth-panel { width: min(400px, 100%); border: 1px solid #99f6e4; border-radius: 8px; background: #fff; padding: 28px; box-shadow: 0 20px 48px rgba(15, 23, 42, 0.25); }
        .auth-panel h2 { margin: 0 0 8px; color: #0f172a; font-size: 20px; }
        .auth-panel p { margin: 0 0 20px; color: #64748b; font-size: 13px; line-height: 1.6; }
        .auth-panel .form-group input { width: calc(100% - 26px); box-sizing: content-box; }
        .auth-submit { width: 100%; margin-top: 4px; }
        
/* ===== 风格标签与筛选 ===== */
.tag-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.tag-filter-label { color: #64748b; font-size: 12px; margin-right: 4px; }
.tag-filter-btn { border: 1px solid #d7e1ec; background: #f8fafc; color: #334155; font-size: 12px; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.tag-filter-btn:hover { border-color: #93c5fd; }
.tag-filter-btn.is-off { opacity: .45; text-decoration: line-through; }
.stock-tag { display: inline-flex; align-items: center; margin: 2px 4px 0 0; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1px solid #e2e8f0; background: #f8fafc; }
.stock-tag-sentiment { color: #a16207; background: #fefce8; border-color: #fde68a; }
.stock-tag-fundamental { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.stock-tag-chipBottom { color: #047857; background: #ecfdf5; border-color: #bbf7d0; }
.stock-tag-uptrend { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.stock-tag-multiPool { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.research-signals-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; gap: 14px; align-items: stretch; }
.research-signal-card { position: relative; min-height: 360px; height: 360px; display: flex; flex-direction: column; border: 1px solid #e2e8f0; border-radius: 12px; background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); padding: 14px 16px 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.research-signal-card[style*="grid-column"] { min-height: 0; height: auto; display: block; }
.research-signal-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #6366f1, #38bdf8); opacity: .8; }
.research-signal-card:hover { box-shadow: 0 8px 22px rgba(15, 23, 42, .10); transform: translateY(-2px); border-color: #c7d7ee; }
.research-signal-card h4 { margin: 0 0 10px; padding-bottom: 8px; font-size: 13.5px; font-weight: 700; color: #1e293b; display: flex; justify-content: space-between; align-items: center; gap: 8px; letter-spacing: .2px; border-bottom: 1px solid #eef2f8; }
.research-signal-card .rs-big { font-size: 28px; font-weight: 800; line-height: 1.05; letter-spacing: -.5px; color: #0f172a; }
.research-signal-card .rs-sub { font-size: 12px; color: #64748b; margin-top: 4px; line-height: 1.55; }
.research-signal-card ul { margin: 8px 0 0; padding-left: 0; list-style: none; font-size: 12px; }
.research-signal-card li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 3px; border-bottom: 1px dashed #eef2f7; line-height: 1.45; border-radius: 4px; }
.research-signal-card li:hover { background: #f1f6fd; }
.research-signal-card li:last-child { border-bottom: none; }
.research-signal-card li > span:first-child { color: #475569; }
.research-signal-card li > span:last-child { font-weight: 600; }
.research-signal-card .detail-table-wrap { margin-top: 8px; }
.rs-tone-bull { color: #dc2626; }
.rs-tone-bear { color: #16a34a; }
.rs-tone-neutral { color: #64748b; }
.rs-bar { height: 6px; border-radius: 999px; background: #e6edf7; overflow: hidden; margin-top: 6px; }
.rs-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #38bdf8); }
.rs-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.rs-chip-neg { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.rs-chip-obs { color: #a16207; background: #fefce8; border: 1px solid #fde68a; }
@media (max-width: 1280px) { .research-signals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .research-signals-grid { grid-template-columns: minmax(0, 1fr); } .research-signal-card { min-height: 330px; height: 330px; } }

/* ===== 单因子回测表格美化（更易读） ===== */
.single-factor-wrap { overflow-x: auto; }
.single-factor-table { min-width: 1180px; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.single-factor-table thead th { background: #eef4fc; color: #334155; font-size: 11px; font-weight: 700; letter-spacing: .2px; padding: 10px 8px; white-space: nowrap; border-bottom: 2px solid #cfe0f5; text-align: left; }
.single-factor-table tbody td { padding: 9px 8px; border-bottom: 1px solid #eef2f7; vertical-align: top; line-height: 1.5; color: #1f2937; }
.single-factor-table tbody tr:last-child td { border-bottom: none; }
.single-factor-table tbody tr:nth-child(even) td { background: #fafcff; }
.single-factor-table tbody tr:hover td { background: #eef5ff; }
.single-factor-table th:first-child, .single-factor-table td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 0 #e9eff7; }
.single-factor-table tbody tr:nth-child(even) td:first-child { background: #fafcff; }
.single-factor-table tbody tr:hover td:first-child { background: #eef5ff; }
.single-factor-table td:nth-child(2), .single-factor-table td:nth-child(3), .single-factor-table td:nth-child(4), .single-factor-table td:nth-child(5), .single-factor-table td:nth-child(6) { white-space: nowrap; }
.single-factor-table td:nth-child(4), .single-factor-table td:nth-child(5) { text-align: right; font-variant-numeric: tabular-nums; }
.single-factor-table td:nth-child(6) { font-weight: 600; font-variant-numeric: tabular-nums; }
.single-factor-table .correlation-badge { font-size: 10px; padding: 1px 6px; white-space: nowrap; }
.single-factor-table .section-tip { font-size: 11px; line-height: 1.4; }
