/* ============================================================
   板块策略分析 — 前台样式（sector.css）

   设计原则：
     · 继承 Bootstrap 5 栅格系统 + 基础工具类
     · 不修改 strategy.css，不引用 strategy_* 类名
     · 复用 lxgw wenkai 字体 + 全局 body 背景
   ============================================================ */

/* ===== 基础布局 ===== */
.sector-container {
    margin-top: 64px;
    padding-bottom: 40px;
}

/* ===== 页面标题区域 ===== */
.sector-header {
    margin-bottom: 0.5rem;
}

.sector-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sector-header .subtitle {
    color: #6c757d;
    font-size: 0.8rem;
}

/* ===== 顶部统计信息栏（已废弃，替换为行内样式） ===== */

.stat-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #495057;
    white-space: nowrap;
    margin-left: auto;
}

.stat-inline strong {
    font-weight: 600;
    color: #212529;
}

/* ===== 搜索框 ===== */
.sector-search-bar {
    flex-shrink: 0;
}

.sector-search-bar .input-group {
    width: 180px;
}

.sector-search-bar .input-group-text {
    background: #fff;
    border-right: none;
    color: #adb5bd;
    font-size: 0.75rem;
}

.sector-search-bar .form-control {
    border-left: none;
    font-size: 0.8rem;
}

.sector-search-bar .form-control:focus {
    border-color: #667eea;
    box-shadow: none;
}

.sector-search-bar .form-control:focus + .input-group-text,
.sector-search-bar .input-group:focus-within .input-group-text {
    border-color: #667eea;
}

/* ===== 筛选排序工具栏 ===== */

/* 日期选择器 — 按钮风格（与 recommend/rating 一致） */
.sector-date-bar,
.detail-date-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.sector-date-bar .date-bar-label,
.detail-date-bar .date-bar-label {
    font-size: 0.85rem;
    color: #495057;
    white-space: nowrap;
}

.date-btn-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.date-btn {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.date-btn:hover {
    background: #f0f2ff;
    border-color: #667eea;
    color: #667eea;
    text-decoration: none;
}

.date-btn.active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.sector-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sector-filter-bar .filter-label {
    font-size: 0.78rem;
    color: #6c757d;
    white-space: nowrap;
    margin-right: -5px;  /* 拉近与后侧按钮组的距离（抵消 flex gap） */
}

/* 策略 Tab */
.strategy-tab-bar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.strategy-tab {
    padding: 2px 8px;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.strategy-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.strategy-tab.active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* 信号筛选按钮 */
.signal-filter-btn {
    padding: 2px 8px;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.signal-filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.signal-filter-btn.active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.sort-btn {
    padding: 2px 8px;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.sort-btn:hover, .sort-btn.active {
    border-color: #fd7e14;
    color: #fd7e14;
}

/* 技术指标筛选按钮（绿色系，与信号筛选蓝/排序橙区分） */
.filter-btn {
    padding: 2px 8px;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}

.filter-btn:hover {
    border-color: #28a745;
    color: #28a745;
}

.filter-btn.active {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

/* ===== 板块信号卡片 ===== */
.sector-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    padding: 14px 16px;
    transition: box-shadow 0.2s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    min-height: 220px;
}

.sector-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d0d7de;
}

.sector-card .card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 6px;
}

.sector-card .card-head-left {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.sector-card .sector-name {
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.sector-card .sector-code {
    font-size: 0.7rem;
    color: #999;
}

.sector-card .recommend-star {
    color: #ffc107;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* 收藏星标按钮（卡片内左上角，行内元素） */
.fav-star-toggle {
    font-size: 1rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.15s;
    user-select: none;
    line-height: 1;
    flex-shrink: 0;
}

.fav-star-toggle:hover {
    color: #ffc107;
}

.fav-star-toggle.active {
    color: #ffc107;
}

/* 收藏筛选切换按钮 */
.fav-filter-btn {
    padding: 2px 8px;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.fav-filter-btn:hover {
    border-color: #ffc107;
    color: #ffc107;
}

.fav-filter-btn.active {
    background: #ffc107;
    color: #fff;
    border-color: #ffc107;
}

/* 拖拽排序样式 */
.sector-card-wrapper {
    transition: opacity 0.15s;
}

.sector-card-wrapper.dragging {
    opacity: 0.5;
}

.sector-card-wrapper.drag-over .sector-card {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102,126,234,0.2);
}

.sector-card .card-score {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.sector-card .score-number {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.sector-card .score-label {
    font-size: 0.72rem;
    color: #6c757d;
}

.sector-card .score-high { color: #28a745; }
.sector-card .score-mid { color: #fd7e14; }
.sector-card .score-low { color: #dc3545; }

.sector-card .card-factors {
    flex: 1;
    margin-bottom: 6px;
    overflow: hidden;
}

.factor-row {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    gap: 4px;
}

.factor-row .factor-label {
    font-size: 0.68rem;
    color: #6c757d;
    width: 54px;
    text-align: right;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.factor-row .factor-bar {
    flex: 1;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    min-width: 20px;
}

.factor-row .factor-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
    background: #667eea;
}

.factor-row .factor-val {
    font-size: 0.65rem;
    width: 24px;
    text-align: left;
    color: #495057;
    flex-shrink: 0;
}

.sector-card .card-reason {
    font-size: 0.73rem;
    color: #495057;
    margin-bottom: 6px;
    line-height: 1.35;
    min-height: 1.35em;
    max-height: 2.7em;
    overflow: hidden;
}

.sector-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    margin-top: auto;
}

.sector-card .stocks-link {
    font-size: 0.78rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.sector-card .stocks-link:hover {
    text-decoration: underline;
}

.sector-card .confidence-text {
    font-size: 0.75rem;
}

.confidence-low { color: #999; }

/* ===== 信号标签 ===== */
/* 板块列表卡片头部信号文字框：直接使用色类（无 badge 容器）的场景，补小圆角与内边距 */
.sector-card .card-head > span[class*="sector-signal"] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
}

.sector-signal-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* --- 通用于列表页（无策略区分时回退此色） --- */
.sector-signal-strong-buy,
.sector-signal-strong_buy {
    background-color: rgba(23,162,184,0.12);
    color: #17a2b8;
    border: 1px solid rgba(23,162,184,0.28);
}

.sector-signal-buy {
    background-color: rgba(40,167,69,0.12);
    color: #28a745;
    border: 1px solid rgba(40,167,69,0.28);
}

.sector-signal-hold {
    background-color: rgba(108,117,125,0.10);
    color: #666;
    border: 1px solid rgba(108,117,125,0.22);
}

.sector-signal-sell {
    background-color: rgba(253,126,20,0.12);
    color: #fd7e14;
    border: 1px solid rgba(253,126,20,0.28);
}

.sector-signal-strong-sell,
.sector-signal-strong_sell {
    background-color: rgba(220,53,69,0.14);
    color: #dc3545;
    border: 1px solid rgba(220,53,69,0.30);
}

/* --- 动量轮动（蓝系 浅→深） --- */
.strategy-momentum .sector-signal-strong-buy,
.strategy-momentum .sector-signal-strong_buy {
    background: #667eea; color: #fff; border-color: #667eea;
}
.strategy-momentum .sector-signal-buy {
    background: rgba(102,126,234,0.18); color: #4759c7; border-color: rgba(102,126,234,0.35);
}
.strategy-momentum .sector-signal-hold {
    background: rgba(108,117,125,0.08); color: #888; border-color: rgba(108,117,125,0.20);
}
.strategy-momentum .sector-signal-sell {
    background: rgba(232,80,80,0.12); color: #c0392b; border-color: rgba(232,80,80,0.28);
}
.strategy-momentum .sector-signal-strong-sell,
.strategy-momentum .sector-signal-strong_sell {
    background: #e85050; color: #fff; border-color: #e85050;
}

/* --- 网格交易（橙系 浅→深） --- */
.strategy-grid .sector-signal-strong-buy,
.strategy-grid .sector-signal-strong_buy {
    background: #fd7e14; color: #fff; border-color: #fd7e14;
}
.strategy-grid .sector-signal-buy {
    background: rgba(253,126,20,0.18); color: #d4620a; border-color: rgba(253,126,20,0.35);
}
.strategy-grid .sector-signal-hold {
    background: rgba(108,117,125,0.08); color: #888; border-color: rgba(108,117,125,0.20);
}
.strategy-grid .sector-signal-sell {
    background: rgba(180,140,40,0.15); color: #8a6508; border-color: rgba(180,140,40,0.30);
}
.strategy-grid .sector-signal-strong-sell,
.strategy-grid .sector-signal-strong_sell {
    background: #b48c28; color: #fff; border-color: #b48c28;
}

/* --- 长期持有（绿系 浅→深） --- */
.strategy-long_term .sector-signal-strong-buy,
.strategy-long_term .sector-signal-strong_buy {
    background: #28a745; color: #fff; border-color: #28a745;
}
.strategy-long_term .sector-signal-buy {
    background: rgba(40,167,69,0.18); color: #1e7e34; border-color: rgba(40,167,69,0.35);
}
.strategy-long_term .sector-signal-hold {
    background: rgba(108,117,125,0.08); color: #888; border-color: rgba(108,117,125,0.20);
}
.strategy-long_term .sector-signal-sell {
    background: rgba(220,53,69,0.12); color: #b71c1c; border-color: rgba(220,53,69,0.28);
}
.strategy-long_term .sector-signal-strong-sell,
.strategy-long_term .sector-signal-strong_sell {
    background: #dc3545; color: #fff; border-color: #dc3545;
}

/* ===== 市场状态标签 ===== */
.regime-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 0.73rem;
    font-weight: 600;
}

.regime-bull {
    background: #28a745;
    color: #fff;
}

.regime-bear {
    background: #dc3545;
    color: #fff;
}

.regime-ranging {
    background: #fd7e14;
    color: #fff;
}

.regime-volatile {
    background: #17a2b8;
    color: #fff;
}

/* ===== 策略协同提示 ===== */
.synergy-banner {
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #795548;
    font-size: 0.83rem;
    margin-bottom: 1rem;
}

/* ===== 空数据状态 ===== */
.sector-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.sector-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sector-empty p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.sector-empty .empty-hint {
    font-size: 0.8rem;
    color: #ced4da;
}

/* ============================================================
   详情页专属样式
   ============================================================ */

/* 面包屑 */
.sector-breadcrumb {
    margin-bottom: 1rem;
}

.sector-breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.83rem;
}

.sector-breadcrumb a:hover {
    text-decoration: underline;
}

/* 板块头部 */
.sector-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 10px;
}

.sector-detail-header .sector-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.sector-detail-header .sector-change {
    font-size: 1.1rem;
    margin-left: 10px;
}

.sector-detail-header .signal-strip {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

/* 技术指标面板 */
.tech-group-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef0f2;
    padding: 16px;
    margin-bottom: 1rem;
}

.tech-group-card .tech-group-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #343a40;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.tech-item .tech-label {
    font-size: 0.78rem;
    color: #495057;
}

.tech-item .tech-value {
    font-size: 0.87rem;
    font-weight: 600;
    color: #212529;
}

.tech-item .tech-value.tech-na {
    color: #adb5bd;
    font-weight: 400;
}

.tech-item .tech-sub {
    font-size: 0.72rem;
    color: #999;
    margin-left: 6px;
}

/* ECharts 图表容器 */
.chart-container {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef0f2;
    padding: 16px;
    margin-bottom: 1rem;
}

.chart-time-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.chart-time-tab {
    padding: 4px 14px;
    border-radius: 14px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.15s;
}

.chart-time-tab:hover, .chart-time-tab.active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* 策略对比卡片 */
.strategy-compare-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef0f2;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
}

.strategy-compare-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #d0d7de;
}

.strategy-compare-card.expanded {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(51,51,51,0.08);
}

.strategy-compare-card .strategy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.strategy-compare-card .strategy-card-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.strategy-compare-card .strategy-card-detail {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.78rem;
}

.strategy-compare-card.expanded .strategy-card-detail {
    display: block;
}

/* 因子内联 chips */
.strategy-factors-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
    align-items: center;
}

.factor-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f5f6fa;
    border: 1px solid #eef0f2;
    font-size: 0.7rem;
    white-space: nowrap;
}

.factor-chip .fc-name {
    color: #6c757d;
}

.factor-chip .fc-val {
    font-weight: 600;
    color: #495057;
}

.factor-more {
    font-size: 0.68rem;
    color: #999;
    cursor: pointer;
}

.factor-more:hover {
    color: #667eea;
}

.strategy-card-detail .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}

.strategy-card-detail .detail-label {
    color: #6c757d;
}

.strategy-card-detail .detail-value {
    font-weight: 500;
}

.grid-indicator-active {
    color: #28a745;
}

.grid-indicator-inactive {
    color: #999;
}

/* ============================================================
   成分股列表页专属样式
   ============================================================ */

/* 头部：标题/信息居左 + 搜索框同行靠右（与股票评分页版式一致） */
.sector-stocks-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
}

/* 搜索：一体式搜索组（放大镜 + 输入框 + 搜索/清空），规格同股票评分页 */
.sector-stocks-search-form .input-group {
    width: 230px;
}

.sector-stocks-search-form .form-control,
.sector-stocks-search-form .input-group-text,
.sector-stocks-search-form .btn {
    min-height: 32px;
    font-size: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.sector-stocks-search-form .input-group-text {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.sector-stocks-search-form .form-control,
.sector-stocks-search-form .btn {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (max-width: 575.98px) {
    .sector-stocks-search-form {
        width: 100%;
    }
    .sector-stocks-search-form .input-group {
        width: 100%;
    }
}

/* 成分股表格 */
.stock-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.stock-table thead th {
    background: #f8f9fa;
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    text-align: left;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.stock-table thead th:hover {
    color: #667eea;
}

.stock-table thead th .sort-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    color: #999;
}

.stock-table thead th .sort-arrow.active {
    color: #667eea;
}

.stock-table thead th .sort-header {
    color: inherit;
    text-decoration: none;
    display: block;
}

.stock-table tbody td {
    padding: 8px 12px;
    font-size: 0.83rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.stock-table tbody tr:hover {
    background: #f8f9fa;
}

.stock-table .change-positive {
    color: #dc3545;
}

.stock-table .change-negative {
    color: #28a745;
}

.stock-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.stock-link:hover {
    text-decoration: underline;
}

.stock-link.placeholder {
    color: #999;
    cursor: not-allowed;
    font-size: 0.78rem;
}

.stock-link.placeholder:hover {
    text-decoration: none;
}

/* 成分股页面头部 */
.sector-stocks-header {
    margin-bottom: 1.5rem;
}

.sector-stocks-header .back-link {
    font-size: 0.83rem;
    color: #667eea;
    text-decoration: none;
}

.sector-stocks-header .back-link:hover {
    text-decoration: underline;
}

/* ===== 价格数据滞后弹窗警告 ===== */
.stale-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stale-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    animation: staleModalIn 0.3s ease-out;
}

@keyframes staleModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.stale-modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.stale-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 16px;
}

.stale-modal-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
}

.stale-modal-body strong {
    color: #dc3545;
    font-size: 1.2rem;
}

.stale-modal-sub {
    font-size: 0.9rem;
    color: #856404;
    margin-bottom: 24px;
    line-height: 1.6;
}

.stale-modal-close-btn {
    display: inline-block;
    padding: 10px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #dc3545;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.stale-modal-close-btn:hover {
    background: #c82333;
}

/* 响应式 */
@media (max-width: 768px) {
    .sector-search-bar .input-group {
        width: 160px;
    }

    .stat-inline {
        margin-left: 0;
        flex-wrap: wrap;
    }

    .sector-detail-header {
        flex-direction: column;
    }

    .stock-table thead th,
    .stock-table tbody td {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
}

/* Header 统计居中：去掉 margin-left:auto */
.sector-header .stat-inline {
    margin-left: 0 !important;
    font-size: 0.85rem;
}

