    :root {
      --bg: #f6f3ea;
      --text: #1f2328;
      --muted: #5f6873;
      --line: #d7d0c2;
      --accent: #0f766e;
      --accent-2: #d97757;
      --accent-3: #7c3aed;
      --shadow: 0 12px 32px rgba(41, 37, 36, 0.08);
      --radius: 18px;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; min-height: 100%; }
    body {
      font-family: Inter, Segoe UI, system-ui, -apple-system, sans-serif;
      background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.2)), var(--bg);
      color: var(--text);
      letter-spacing: 0;
    }
    .wrap {
      max-width: 1260px;
      margin: 0 auto;
      padding: 28px 18px 40px;
    }
    header, main {
      border: 1px solid var(--line);
      border-radius: calc(var(--radius) + 4px);
      background: rgba(255, 250, 240, 0.9);
      box-shadow: var(--shadow);
    }
    header {
      display: grid;
      gap: 18px;
      padding: 24px;
    }
    .back {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      color: var(--muted);
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.82);
      border-radius: 999px;
      padding: 10px 14px;
      width: max-content;
    }
    h1 {
      margin: 0;
      font-size: clamp(2rem, 3vw, 3rem);
      line-height: 1.05;
    }
    .meta {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }
    .stat {
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255,255,255,0.74);
      padding: 14px 16px;
      min-height: 88px;
    }
    .stat .k {
      display: block;
      color: var(--muted);
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 8px;
    }
    .stat .v {
      font-size: 1.3rem;
      font-weight: 700;
      line-height: 1.15;
    }
    .stat:nth-child(1) .v { color: var(--accent); }
    .stat:nth-child(2) .v { color: var(--accent-2); }
    .stat:nth-child(3) .v { color: #7c3aed; }
    .toolbar {
      display: grid;
      grid-template-columns: minmax(220px, 1fr) auto;
      gap: 12px;
      align-items: center;
    }
    .search {
      display: flex;
      align-items: center;
      gap: 10px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255,255,255,0.86);
      padding: 11px 14px;
      box-shadow: 0 6px 18px rgba(41, 37, 36, 0.04);
    }
    .search input {
      border: 0;
      outline: 0;
      background: transparent;
      width: 100%;
      font: inherit;
      color: var(--text);
      min-width: 0;
    }
    .search label {
      color: var(--muted);
      font-size: 0.95rem;
      white-space: nowrap;
    }
    .status {
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.4;
    }
    main {
      margin-top: 18px;
      background: rgba(255,255,255,0.82);
      overflow: hidden;
    }
    .table-wrap {
      overflow-x: auto;
    }
    table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }
    thead th {
      color: var(--muted);
      text-align: left;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      background: rgba(255, 251, 243, 0.96);
    }
    tbody td {
      padding: 10px 16px;
      border-bottom: 1px solid rgba(215, 208, 194, 0.55);
      vertical-align: top;
      overflow: hidden;
    }
    tbody tr.clickable {
      cursor: default;
    }
    tbody tr:hover {
      background: rgba(15, 118, 110, 0.04);
    }
    thead th:nth-child(1),
    tbody td:nth-child(1),
    thead th:nth-child(4),
    tbody td:nth-child(4) {
      padding-left: 6px;
      padding-right: 6px;
      text-align: center;
    }
    thead th:nth-child(1), td.rank {
      width: 42px;
    }
    thead th:nth-child(2), td.page {
      width: 39%;
    }
    thead th:nth-child(4), td.hits {
      width: 78px;
    }
    td.rank {
      color: var(--muted);
      font-variant-numeric: tabular-nums;
    }
    td.url {
      width: auto;
    }
    td.hits {
      color: var(--accent);
      font-variant-numeric: tabular-nums;
      font-weight: 700;
    }
    a.page-title {
      color: inherit;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      font-weight: 650;
    }
    a.page-title:hover {
      color: var(--accent);
      border-bottom-color: currentColor;
    }
    a.page-url {
      display: block;
      color: var(--muted);
      font-size: 0.85rem;
      font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
      margin-top: 4px;
      word-break: break-all;
      font-weight: 400;
      text-decoration: none;
    }
    a.page-url:hover {
      color: var(--accent);
      text-decoration: underline;
    }
    .empty {
      display: none;
      padding: 30px 16px;
      color: var(--muted);
      text-align: center;
    }
    @media (max-width: 820px) {
      .wrap { padding: 16px 12px 28px; }
      header, main { border-radius: 16px; }
      .meta { grid-template-columns: 1fr; }
      .toolbar { grid-template-columns: 1fr; }
      thead th:nth-child(2), td.page { width: 44%; }
      thead th:nth-child(4), td.hits { width: 72px; }
    }
    @media (max-width: 560px) {
      thead th, tbody td { padding-left: 10px; padding-right: 10px; }
      thead th:nth-child(1), td.rank {
        width: 34px;
        padding-left: 4px;
        padding-right: 4px;
      }
      thead th:nth-child(2), td.page { width: 50%; }
      thead th:nth-child(4), td.hits {
        width: 66px;
        padding-left: 4px;
        padding-right: 4px;
      }
    }
