        * { box-sizing: border-box; }
        body { margin: 0; font-family: "Microsoft YaHei", Arial, sans-serif; background: #E8F4F8; color: #1f2937; overflow-y: auto; }
        .page { width: 100%; min-height: 100vh; padding: 14px 16px 20px; display: none; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #E8F4F8 0%, #f6fbfd 100%); }
        .page.active { display: flex; }
        .topbar { height: 58px; background: #fff; border: 1px solid #d7e8f2; border-left: 5px solid #1F4E79; border-radius: 10px; box-shadow: 0 4px 14px rgba(31,78,121,.08); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; flex-shrink: 0; }
        .title-wrap h1 { margin: 0; color: #1F4E79; font-size: 22px; letter-spacing: 1px; }
        .title-wrap p { margin: 4px 0 0; color: #6b7280; font-size: 12px; }
        .top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
        input, select { height: 30px; border: 1px solid #c8deea; border-radius: 6px; background: #fff; color: #334155; padding: 0 10px; outline: none; font-size: 12px; }
        input:focus, select:focus { border-color: #2E75B6; box-shadow: 0 0 0 2px rgba(46,117,182,.12); }
        .btn { height: 30px; border: none; border-radius: 6px; padding: 0 12px; background: #2E75B6; color: #fff; font-size: 12px; cursor: pointer; }
        .btn.secondary { background: #1F4E79; }
        .main { flex: 1 0 auto; display: grid; grid-template-columns: 38% 62%; gap: 12px; align-items: stretch; min-height: calc(100vh - 100px); }
        .panel { background: rgba(255,255,255,.96); border: 1px solid #d7e8f2; border-radius: 10px; box-shadow: 0 5px 18px rgba(31,78,121,.08); overflow: hidden; }
        .left { min-width: 0; display: flex; flex-direction: column; }
        .section-hd { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid #edf4f8; background: linear-gradient(90deg, #f8fcff, #fff); }
        .section-title { font-weight: 700; color: #1F4E79; font-size: 16px; display: flex; align-items: center; gap: 8px; }
        .update-time { color: #64748b; font-size: 12px; }
        .filter-bar { padding: 10px 12px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; border-bottom: 1px solid #edf4f8; }
        .queue-list { flex: 0 1 auto; max-height: 520px; min-height: 0; overflow: auto; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
        .queue-card { border: 1px solid #dcebf4; border-radius: 8px; padding: 8px 10px; background: #fff; cursor: pointer; transition: .2s; }
        .queue-card:hover { border-color: #2E75B6; box-shadow: 0 3px 10px rgba(46,117,182,.1); }
        .queue-card.active { border-color: #2E75B6; background: #f0f7ff; }
        .qc-top { display: flex; align-items: center; gap: 8px; }
        .qc-rank { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; background: #e5eef5; color: #64748b; }
        .qc-rank.gold { background: linear-gradient(135deg,#fde68a,#f59e0b); color: #fff; }
        .qc-rank.silver { background: linear-gradient(135deg,#e2e8f0,#94a3b8); color: #fff; }
        .qc-rank.bronze { background: linear-gradient(135deg,#fed7aa,#ea580c); color: #fff; }
        .qc-name { font-size: 13px; font-weight: 700; color: #1F4E79; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .qc-level { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
        .qc-level.smooth { background: #dcfce7; color: #16a34a; }
        .qc-level.light { background: #dbeafe; color: #2563eb; }
        .qc-level.medium { background: #fef3c7; color: #d97706; }
        .qc-level.severe { background: #fee2e2; color: #dc2626; }
        .qc-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 6px; }
        .qc-metric { text-align: center; background: #f8fbfd; border-radius: 5px; padding: 3px 2px; }
        .qc-metric .ml { font-size: 10px; color: #94a3b8; }
        .qc-metric .mv { font-size: 14px; font-weight: 800; margin-top: 2px; }
        .qc-bottom { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
        .qc-spark { flex: 1; height: 18px; }
        .qc-mom { font-size: 11px; font-weight: 700; white-space: nowrap; }
        .left-stats { height: 126px; padding: 10px 12px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid #edf4f8; flex-shrink: 0; }
        .small-stat { background: #f8fbfd; border: 1px solid #dcebf4; border-radius: 8px; padding: 10px 12px; }
        .small-stat .label { color: #64748b; font-size: 12px; }
        .small-stat .value { margin-top: 6px; color: #1F4E79; font-size: 22px; font-weight: 800; }
        .small-stat .sub { float: right; margin-top: 8px; font-size: 12px; font-weight: 700; }
        .right { min-width: 0; display: grid; grid-template-rows: 280px 1fr; gap: 12px; }
        .right-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; }
        .chart { width: 100%; height: calc(100% - 44px); min-height: 0; }
        .selected-label { margin-top: 4px; text-align: center; color: #1F4E79; font-weight: 700; background: #f2f8fc; border-radius: 6px; padding: 4px 8px; font-size: 11px; }
        .right-bottom-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        .table-wrap { padding: 10px 12px 8px; display: flex; flex-direction: column; min-height: 0; }
        table { width: 100%; border-collapse: collapse; font-size: 14px; }
        th { background: #E8F4F8; color: #1F4E79; font-weight: 800; height: 34px; border-bottom: 1px solid #cfe2ee; white-space: nowrap; }
        td { height: 34px; border-bottom: 1px solid #eef3f7; color: #334155; text-align: center; white-space: nowrap; }
        td.name { text-align: left; color: #1F4E79; font-weight: 700; }
        tbody tr:hover { background: #f7fbfe; }
        .table-scroll { flex: 1; overflow: auto; min-height: 0; max-height: 280px; }
        .pagination { height: 28px; display: flex; align-items: end; justify-content: flex-end; gap: 6px; color: #64748b; font-size: 12px; padding-top: 4px; }
        .page-btn { border: 1px solid #cfe2ee; background: #fff; color: #1F4E79; border-radius: 4px; padding: 3px 8px; cursor: pointer; }
        .footer-note { height: 28px; color: #64748b; font-size: 12px; display: flex; justify-content: space-between; align-items: center; padding: 0 4px; flex-shrink: 0; }
        @media (max-width: 1280px) {
            .topbar { height: auto; min-height: 58px; align-items: flex-start; padding: 10px; }
            .top-actions { gap: 6px; }
            .main { grid-template-columns: 1fr; min-height: auto; }
            .page { height: auto; min-height: 100vh; }
            .right { grid-template-rows: auto auto; }
            .left { min-height: auto; }
        }
