    :root {
      --bg: #f5f6f8;
      --panel: #ffffff;
      --text: #1f2933;
      --muted: #667085;
      --line: #d9e1e8;
      --ink: #111827;
      --blue: #2563eb;
      --green: #0f766e;
      --amber: #b7791f;
      --red: #b91c1c;
      --soft-blue: #e8f0ff;
      --soft-green: #e8f7f4;
      --soft-amber: #fff4d6;
      --radius: 8px;
      --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    }

    * { box-sizing: border-box; }

    html {
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
      letter-spacing: 0;
    }

    a { color: inherit; }
    button, input, select { font: inherit; }

    a:focus-visible,
    button:focus-visible,
    select:focus-visible {
      outline: 3px solid rgba(37, 99, 235, 0.22);
      outline-offset: 2px;
    }

    .page {
      max-width: 1540px;
      margin: 0 auto;
      padding: 24px;
    }

    .hero {
      position: relative;
      margin-bottom: 18px;
      min-height: 86px;
      padding: 20px 130px 28px 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--panel);
      box-shadow: var(--shadow);
      display: flex;
      align-items: center;
    }

    h1 {
      margin: 0;
      color: var(--ink);
      font-size: 28px;
      line-height: 1.2;
      font-weight: 780;
    }

    .layout {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
      gap: 18px;
      align-items: stretch;
    }

    .block {
      height: calc(100vh - 142px);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--panel);
      box-shadow: var(--shadow);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .block-head {
      padding: 16px 16px 12px;
      border-bottom: 1px solid var(--line);
      background: #fbfcfe;
      display: flex;
      flex-direction: column;
    }

    .block-title-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }

    .block-title {
      margin: 0;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.3;
      font-weight: 780;
    }

    .toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }

    .count-pill {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 3px 9px;
      border-radius: 7px;
      background: #eef6ff;
      border: 1px solid #cfe3ff;
      color: #1d4ed8;
      font-size: 12px;
      font-weight: 760;
      white-space: nowrap;
    }

    .select {
      min-height: 38px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      color: var(--text);
      padding: 8px 10px;
    }

    .select { min-width: 150px; }

    .btn {
      min-height: 38px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      color: var(--text);
      padding: 8px 11px;
      cursor: pointer;
    }

    .btn:hover,
    .select:hover {
      border-color: #9fb3c8;
      outline: none;
    }

    .block-body {
      padding: 14px;
      display: grid;
      gap: 10px;
      flex: 1;
      align-content: start;
      overflow: auto;
    }

    .card {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      padding: 13px;
    }

    .card:hover {
      border-color: #9fb3c8;
    }

    .timeline {
      position: relative;
      display: grid;
      gap: 18px;
      padding-left: 8px;
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 96px;
      top: 4px;
      bottom: 4px;
      width: 2px;
      background: #d8e2ec;
    }

    .timeline-month {
      position: relative;
      display: grid;
      grid-template-columns: 78px minmax(0, 1fr);
      gap: 28px;
      align-items: start;
    }

    .month-label {
      position: sticky;
      top: 10px;
      min-height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #f8fafc;
      color: var(--ink);
      font-size: 13px;
      font-weight: 780;
      z-index: 1;
    }

    .month-items {
      display: grid;
      gap: 10px;
      position: relative;
    }

    .month-items::before {
      content: "";
      position: absolute;
      left: -19px;
      top: 14px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--blue);
      border: 3px solid #e8f0ff;
      box-shadow: 0 0 0 1px #9fb3c8;
    }

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

    .card-title {
      margin: 0;
      color: var(--ink);
      font-size: 15px;
      line-height: 1.35;
      font-weight: 760;
    }

    .card-title a {
      color: inherit;
      text-decoration: none;
    }

    .card-title a:hover {
      color: var(--blue);
    }

    .meta {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
      white-space: nowrap;
    }

    .body-text {
      margin: 0;
      color: #334155;
      font-size: 13px;
      line-height: 1.65;
    }

    .use {
      margin-top: 8px;
      padding: 9px 10px;
      border-radius: var(--radius);
      background: #f8fafc;
      color: #243b53;
      font-size: 12px;
      line-height: 1.55;
      border: 1px solid #e2e8f0;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 10px;
    }

    .tag,
    .badge {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 2px 7px;
      border-radius: 6px;
      font-size: 12px;
      border: 1px solid transparent;
      white-space: nowrap;
    }

    .tag {
      color: #475569;
      background: #eef2f7;
      border-color: #e2e8f0;
    }

    .badge {
      font-weight: 720;
    }

    .badge.policy {
      color: #075985;
      background: #e0f2fe;
      border-color: #bae6fd;
    }

    .badge.job {
      color: #166534;
      background: #dcfce7;
      border-color: #bbf7d0;
    }

    .badge.report {
      color: #854d0e;
      background: #fef3c7;
      border-color: #fde68a;
    }

    .badge.org {
      color: #5b21b6;
      background: #ede9fe;
      border-color: #ddd6fe;
    }

    .source {
      display: inline-block;
      margin-top: 9px;
      color: var(--blue);
      text-decoration: none;
      font-size: 12px;
    }

    .source:hover { text-decoration: underline; }

    .empty {
      padding: 18px;
      color: var(--muted);
      border: 1px dashed var(--line);
      border-radius: var(--radius);
      background: #f8fafc;
      text-align: center;
      font-size: 13px;
    }

    .trend-summary {
      display: grid;
      gap: 10px;
    }

    .family-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .family-card {
      appearance: none;
      width: 100%;
      min-height: 92px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      padding: 10px;
      text-align: left;
      cursor: pointer;
    }

    .family-card:hover,
    .family-card.active {
      border-color: #93b4e8;
      background: #f5f9ff;
    }

    .family-card.active {
      box-shadow: inset 3px 0 0 var(--blue);
    }

    .family-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 6px;
    }

    .family-name {
      color: var(--ink);
      font-size: 13px;
      line-height: 1.35;
      font-weight: 760;
    }

    .family-count {
      color: var(--blue);
      font-size: 12px;
      font-weight: 760;
      white-space: nowrap;
    }

    .family-lane {
      margin: 0 0 5px;
      color: var(--green);
      font-size: 11px;
      line-height: 1.35;
      font-weight: 760;
    }

    .family-desc {
      margin: 0;
      color: #475569;
      font-size: 12px;
      line-height: 1.45;
    }

    .summary-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
      gap: 10px;
    }

    .summary-panel {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #f8fafc;
      padding: 12px;
    }

    .summary-title {
      margin: 0 0 10px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
      font-weight: 760;
    }

    .region-stack {
      height: 14px;
      display: flex;
      overflow: hidden;
      border-radius: 999px;
      background: #e2e8f0;
      margin-bottom: 10px;
    }

    .region-segment {
      height: 100%;
      min-width: 3px;
    }

    .region-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 12px;
    }

    .region-key {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #334155;
      font-size: 12px;
      line-height: 1.35;
      white-space: nowrap;
    }

    .region-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      flex: 0 0 auto;
    }

    .heat-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    .heat-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 26px;
      padding: 3px 8px;
      border: 1px solid #cfe3ff;
      border-radius: 7px;
      background: #eef6ff;
      color: #1e3a8a;
      font-size: 12px;
      line-height: 1.3;
      white-space: nowrap;
    }

    .heat-count {
      color: #1d4ed8;
      font-weight: 780;
    }

    #evidenceList {
      display: grid;
      gap: 10px;
    }

    .note {
      margin-top: 14px;
      padding: 12px 14px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.6;
    }

    @media (max-width: 1000px) {
      .layout {
        grid-template-columns: 1fr;
      }

      .page {
        max-width: 860px;
      }

      .block {
        height: auto;
      }

      .block-body {
        max-height: none;
      }

      .toolbar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .select,
      .btn {
        width: 100%;
        min-width: 0;
      }

      .summary-grid,
      .family-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .page { padding: 14px; }
      .hero {
        min-height: 82px;
        padding: 16px;
      }
      h1 { font-size: 23px; }
      .block-head { padding: 14px 14px 12px; }
      .block-title-row {
        align-items: flex-start;
        flex-wrap: wrap;
      }
      .toolbar {
        grid-template-columns: 1fr;
      }
      .card-top { display: block; }
      .meta { margin-top: 6px; }
      .meta { white-space: normal; }
      .card-title,
      .body-text,
      .family-desc,
      .family-name {
        overflow-wrap: anywhere;
      }
      .timeline {
        padding-left: 0;
      }
      .timeline::before {
        left: 8px;
      }
      .timeline-month {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-left: 24px;
      }
      .month-label {
        position: static;
        justify-content: flex-start;
        padding-left: 10px;
      }
      .month-items::before {
        left: -21px;
      }
    }
