    .cmp-page { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }

    .cmp-title { text-align: center; font-size: 1.15rem; font-weight: 700; margin-bottom: .2rem; }
    .cmp-subtitle { text-align: center; font-size: .78rem; color: var(--muted); margin-bottom: 1.2rem; }

    /* ---- Overview Section ---- */
    .overview {
      display: flex; gap: 1.2rem; align-items: flex-start;
      justify-content: center; flex-wrap: wrap; margin-bottom: 2rem;
    }
    .overview-chart { flex: 0 0 min(90vw, 520px); }
    #overviewCanvas { width: 100%; height: auto; border-radius: var(--radius); }

    .overview-legend {
      flex: 0 1 300px; display: flex; flex-direction: column; gap: .35rem;
    }
    .legend-row {
      display: flex; align-items: center; gap: .5rem; padding: .3rem .5rem;
      border-radius: 6px; cursor: pointer; transition: background .15s;
    }
    .legend-row:hover { background: var(--surface); }
    .legend-row.dimmed { opacity: .25; }
    .legend-swatch { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
    .legend-name { font-weight: 600; font-size: .82rem; }
    .legend-count { font-size: .7rem; color: var(--muted); margin-left: auto; }

    /* ---- Composer Detail Tabs ---- */
    .ctabs-section { margin-bottom: 2rem; }

    .ctabs-bar {
      display: flex; flex-wrap: wrap; gap: .35rem; padding-bottom: .5rem;
      border-bottom: 1px solid var(--border); margin-bottom: 0;
    }

    .ctab-btn {
      all: unset; cursor: pointer; display: flex; align-items: center; gap: .4rem;
      padding: .5rem .8rem; border-radius: 8px 8px 0 0; font-size: .78rem;
      font-weight: 600; white-space: nowrap; transition: background .15s, color .15s;
      color: var(--muted); border: 1px solid transparent; border-bottom: none;
      position: relative; flex-shrink: 0;
    }
    .ctab-btn::after {
      content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
      height: 2px; background: transparent; transition: background .15s;
    }
    .ctab-btn:hover { background: var(--surface); color: var(--text); }
    .ctab-btn.active {
      background: var(--card); color: var(--tab-color, var(--text));
      border-color: var(--border);
    }
    .ctab-btn.active::after { background: var(--tab-color, var(--accent)); }

    .ctab-swatch { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
    .ctab-label { font-size: .78rem; }
    .ctab-count {
      font-size: .62rem; color: var(--muted); background: var(--surface);
      padding: .08rem .35rem; border-radius: 999px; margin-left: .1rem;
    }

    .ctabs-content {
      background: var(--card); border: 1px solid var(--border); border-top: none;
      border-radius: 0 0 var(--radius) var(--radius); min-height: 200px;
    }

    .ctab-panel { display: none; padding: 1.2rem; }
    .ctab-panel.active { display: block; }

    /* Tab panel layout */
    .ctab-top {
      display: flex; gap: 1.2rem; align-items: flex-start;
      flex-wrap: wrap; margin-bottom: 1rem;
    }
    .ctab-radar { flex: 0 0 min(90vw, 260px); }
    .ctab-radar canvas { width: 100%; height: auto; }

    .ctab-info {
      flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: .8rem;
    }
    .ctab-stats { font-size: .78rem; }

    .ctab-songs-title {
      font-size: .68rem; font-weight: 700; color: var(--accent);
      margin-bottom: .3rem; letter-spacing: .06em;
    }
    .ctab-songs-list { display: flex; flex-wrap: wrap; gap: .3rem; }

    .ctab-summary {
      font-size: .85rem; line-height: 1.65; color: var(--text);
      font-weight: 500; margin-bottom: .8rem;
      padding: .6rem .8rem; background: var(--surface); border-radius: 6px;
      border-left: 3px solid var(--accent);
    }

    .ctab-details {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: .6rem 1.5rem;
    }

    /* Reuse existing stat/song/profile-detail styles */
    .stat-row { display: flex; justify-content: space-between; padding: .2rem 0; border-bottom: 1px solid var(--border); }
    .stat-row:last-child { border-bottom: none; }
    .stat-label { color: var(--muted); }
    .stat-val { font-weight: 600; font-variant-numeric: tabular-nums; }
    .stat-val.high { color: #6cf0b0; }
    .stat-val.low { color: #f06c6c; }

    .c-song-tag {
      font-size: .68rem; padding: .12rem .5rem;
      border-radius: 999px; background: var(--surface);
      border: 1px solid var(--border); color: var(--muted);
      white-space: nowrap;
    }

    .profile-detail-section { margin-bottom: .5rem; }
    .profile-detail-title {
      font-size: .72rem; font-weight: 700; color: var(--accent);
      letter-spacing: .06em; margin-bottom: .2rem;
      padding-left: .3rem; border-left: 3px solid var(--accent);
    }
    .profile-detail-body {
      font-size: .78rem; line-height: 1.65; color: var(--muted);
    }

    /* ---- Comparison Table ---- */
    .cmp-table-section { margin-top: 2rem; }
    .cmp-table-title { font-size: .92rem; font-weight: 700; text-align: center; margin-bottom: .6rem; }
    .cmp-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
    .cmp-table {
      width: 100%; border-collapse: collapse; font-size: .75rem; white-space: nowrap;
    }
    .cmp-table th, .cmp-table td {
      padding: .4rem .6rem; text-align: center;
      border-bottom: 1px solid var(--border);
    }
    .cmp-table th {
      background: var(--surface); color: var(--muted); font-weight: 600;
      position: sticky; top: 0;
    }
    .cmp-table th:first-child, .cmp-table td:first-child { text-align: left; }
    .cmp-table td.max-cell { font-weight: 700; color: var(--accent); }
    .cmp-table td.min-cell { color: var(--muted); opacity: .5; }
    .cmp-table td { font-variant-numeric: tabular-nums; }

    @media (max-width: 600px) {
      .cmp-page { padding: 1rem .5rem 2rem; }
      .overview { flex-direction: column; align-items: center; }
      .ctab-top { flex-direction: column; align-items: center; }
      .ctab-radar { flex: none; width: min(90vw, 280px); }
      .ctab-info { min-width: 0; width: 100%; }
      .ctab-details { grid-template-columns: 1fr; }
      .ctab-panel { padding: .8rem; }
    }
