/* ops-dark-dashboard · HR/网点/出海 */
body.ops-dark-page {font-family: 'Inter', 'JetBrains Mono', sans-serif;
            background: #08080e;
            color: #e0e0e0;
            min-height: 100vh;
            min-height: 100dvh;
            padding: clamp(16px, 2vw, 32px);
            box-sizing: border-box;}

* { margin: 0; padding: 0; box-sizing: border-box; }
        
        .container { 
            max-width: var(--container-max-width, 1600px); 
            min-width: var(--container-min-width, 1000px);
            margin: 0 auto; 
            width: 100%;
            box-sizing: border-box;
        }

        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            padding-bottom: clamp(12px, 1.5vh, 24px);
            border-bottom: 1px solid rgba(255,255,255,0.04);
            margin-bottom: clamp(16px, 2vh, 32px);
        }
        .page-header .title {
            font-size: 24px;
            font-weight: 700;
            color: #e0e0e0;
        }
        .page-header .title .highlight { color: #00f0ff; }
        .page-header .title .badge {
            font-size: 12px;
            background: rgba(0,240,255,0.06);
            border: 1px solid rgba(0,240,255,0.08);
            border-radius: 30px;
            padding: 2px 14px;
            color: #00f0ff;
            font-weight: 500;
            margin-left: 10px;
        }
        .page-header .sub {
            font-size: 13px;
            color: #4a6a7a;
        }
        .page-header .actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .page-header .actions button {
            background: rgba(0,240,255,0.04);
            border: 1px solid rgba(0,240,255,0.06);
            border-radius: 30px;
            padding: 6px 18px;
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            color: #8a9aaa;
            cursor: pointer;
            transition: 0.2s;
        }
        .page-header .actions button:hover {
            background: rgba(0,240,255,0.08);
            border-color: rgba(0,240,255,0.12);
            color: #00f0ff;
        }

        .card {
            background: rgba(14, 14, 26, 0.85);
            border-radius: 12px;
            padding: var(--card-padding, 20px);
            border: 1px solid #1a1a30;
            margin-bottom: 14px;
        }
        .card .card-title {
            font-size: 13px;
            font-weight: 600;
            color: #6a8a9a;
            margin-bottom: clamp(8px, 1vw, 16px);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .card .card-title i { color: #00f0ff; }

        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 20px); }
        .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(10px, 1.2vw, 20px); }
        .grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: clamp(10px, 1.2vw, 20px); }
        .grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1vw, 16px); }

        .stat-card {
            background: rgba(14,14,26,0.6);
            border-radius: 10px;
            padding: 12px 16px;
            border: 1px solid #1a1a30;
            text-align: center;
        }
        .stat-card .num { font-size: clamp(20px, 2vw, 32px);
            font-weight: 700;
            color: #00f0ff;
            font-family: 'JetBrains Mono', monospace;
        }
        .stat-card .num.green { color: #00ffc8; }
        .stat-card .num.yellow { color: #ffb400; }
        .stat-card .num.red { color: #ff6b6b; }
        .stat-card .label {
            font-size: 11px;
            color: #4a6a7a;
            margin-top: 4px;
        }
        .stat-card .trend {
            font-size: 11px;
            color: #00ffc8;
            margin-left: 4px;
        }
        .stat-card .trend.down { color: #ff6b6b; }
        .stat-card .sub { font-size: 10px; color: #2a4a5a; margin-top: 2px; }

        .chart-container canvas {
            width: 100% !important;
            height: auto !important;
            max-height: 200px;
        }

        .table-wrap { overflow-x: auto; }
        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
        }
        table th {
            text-align: left;
            padding: 6px 10px;
            color: #4a6a7a;
            font-weight: 500;
            border-bottom: 1px solid #1a1a30;
        }
        table td {
            padding: 6px 10px;
            border-bottom: 1px solid rgba(255,255,255,0.02);
            color: #b0b0d0;
        }

        .badge {
            font-size: 10px;
            padding: 2px 12px;
            border-radius: 30px;
            font-weight: 600;
        }
        .badge.success { background: rgba(0,255,200,0.08); color: #00ffc8; }
        .badge.warning { background: rgba(255,200,0,0.08); color: #ffb400; }
        .badge.danger { background: rgba(255,100,100,0.08); color: #ff6b6b; }
        .badge.info { background: rgba(0,240,255,0.08); color: #00f0ff; }
        .badge.milestone { background: rgba(255,200,0,0.08); color: #ffb400; border:1px solid rgba(255,200,0,0.06); }

        .progress-bar-bg {
            width: 80px;
            height: 5px;
            background: #1a1a30;
            border-radius: 10px;
            overflow: hidden;
            display: inline-block;
            vertical-align: middle;
        }
        .progress-bar-bg .fill {
            height: 100%;
            border-radius: 10px;
            background: linear-gradient(90deg, #00f0ff, #00ffc8);
        }

        .link-btn {
            color: #00f0ff;
            cursor: pointer;
            text-decoration: underline;
        }
        .link-btn:hover { color: #00ffc8; }

        .footer {
            font-size: 11px;
            color: #2a4a5a;
            text-align: center;
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.02);
            margin-top: 8px;
        }

        /* 角色卡片 */
        .role-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 8px;
        }
        .role-card {
            background: rgba(14,14,26,0.6);
            border-radius: 8px;
            padding: 10px 12px;
            border: 1px solid #1a1a30;
            text-align: center;
            transition: 0.2s;
        }
        .role-card:hover { border-color: rgba(0,240,255,0.1); }
        .role-card .code {
            font-size: 11px;
            font-weight: 700;
            color: #00f0ff;
            font-family: 'JetBrains Mono', monospace;
        }
        .role-card .name {
            font-size: 12px;
            color: #b0b0d0;
            margin: 2px 0;
        }
        .role-card .line {
            font-size: 9px;
            color: #4a6a7a;
        }

        /* 出海储备卡片 */
        .country-card {
            background: rgba(14,14,26,0.6);
            border-radius: 8px;
            padding: 10px 14px;
            border: 1px solid #1a1a30;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .country-card .flag { font-size: 20px; margin-right: 6px; }
        .country-card .info .name { font-weight: 600; font-size: 14px; }
        .country-card .info .detail { font-size: 11px; color: #6a8a9a; }
        .country-card .status .count { font-size: 18px; font-weight: 700; color: #00f0ff; }

        .tabs {
            display: flex;
            gap: 2px;
            flex-wrap: wrap;
            margin-bottom: 14px;
            border-bottom: 1px solid rgba(255,255,255,0.04);
            padding-bottom: 2px;
        }
        .tabs button {
            background: transparent;
            border: none;
            padding: 8px 18px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 500;
            color: #6a8a9a;
            cursor: pointer;
            border-radius: 30px 30px 0 0;
            transition: 0.25s;
        }
        .tabs button:hover { color: #b0d0e0; background: rgba(255,255,255,0.02); }
        .tabs button.active {
            color: #00f0ff;
            background: rgba(0,240,255,0.04);
            border-bottom: 2px solid #00f0ff;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.3s ease;
        }
        .tab-content.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

        .lang-tag {
            display: inline-block;
            font-size: 10px;
            font-weight: 600;
            padding: 2px 12px;
            border-radius: 30px;
            background: rgba(0,240,255,0.08);
            color: #00f0ff;
            border: 1px solid rgba(0,240,255,0.06);
        }

        @media (max-width: 900px) {
            .grid-5 { grid-template-columns: repeat(3, 1fr); }
            .grid-2 { grid-template-columns: 1fr; }
            .grid-3 { grid-template-columns: 1fr 1fr; }
            .grid-4 { grid-template-columns: 1fr 1fr; }
            .role-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
        }
        @media (max-width: 500px) {
            .grid-5 { grid-template-columns: 1fr 1fr; }
            .grid-3 { grid-template-columns: 1fr; }
            .grid-4 { grid-template-columns: 1fr; }
        }

/* 覆盖 Design v3 浅底（由 global.css 引入） */
body.ops-dark-page {
    background: #08080e !important;
    color: #e0e0e0 !important;
}
