    :root {
      color-scheme: dark;
      --bg: #000000;
      --text: #f5f5f2;
      --muted: #8c8c88;
      --line: #262626;
      --panel: #0a0a0a;
      --panel-strong: #111111;
      --accent: #f5f5f2;
      --accent-soft: #d8d8d4;
      --danger: #a8a8a4;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      min-height: 100%;
      margin: 0;
      background: var(--bg) !important;
      color: var(--text) !important;
      font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
      font-weight: 700 !important;
      letter-spacing: -0.025em !important;
      -webkit-font-smoothing: antialiased;
    }

    body {
      display: flex;
      justify-content: center;
      padding: clamp(22px, 5vw, 56px);
      background: var(--bg) !important;
    }

    main {
      width: min(1180px, 100%);
    }

    a {
      color: inherit !important;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: clamp(42px, 8vw, 92px);
    }

    .back-link {
      color: var(--muted) !important;
      font-size: 14px;
      font-weight: 700 !important;
    }

    .status {
      color: var(--muted) !important;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      font-size: 12px;
      text-align: right;
      text-transform: uppercase;
      letter-spacing: 0.08em !important;
    }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(270px, 336px);
      align-items: center;
      gap: clamp(28px, 5vw, 70px);
      padding-bottom: 48px;
    }

    .hero > * {
      min-width: 0;
    }

    h1 {
      margin: 0;
      white-space: nowrap;
      font-size: clamp(48px, 7.4vw, 88px);
      font-weight: 700 !important;
      line-height: 0.94;
      letter-spacing: -0.025em !important;
    }

    .controls {
      width: min(300px, 100%);
      display: grid;
      gap: 10px;
      padding: 18px;
      border: 1px solid var(--line) !important;
      border-radius: 14px;
      background: rgba(10, 10, 10, 0.9) !important;
      box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
      backdrop-filter: blur(16px);
    }

    .control-row {
      display: grid;
      grid-template-columns: 1fr 112px;
      align-items: center;
      gap: 12px;
    }

    label {
      color: var(--muted) !important;
      font-size: 12px;
      font-weight: 700 !important;
    }

    input,
    select,
    button {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--line) !important;
      border-radius: 8px;
      background: var(--panel-strong) !important;
      color: var(--text) !important;
      font: inherit;
    }

    input,
    select {
      padding: 0 12px;
    }

    button {
      cursor: pointer;
      font-weight: 700 !important;
      transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
    }

    button.primary {
      background: var(--accent) !important;
      color: #000000 !important;
      border-color: var(--accent) !important;
    }

    button.stop {
      color: var(--danger) !important;
    }

    button:not(:disabled):active {
      transform: translateY(1px);
    }

    button:disabled,
    input:disabled,
    select:disabled {
      cursor: not-allowed;
      opacity: 0.45;
    }

    .actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .progress {
      height: 1px;
      margin: 0 0 28px;
      background: var(--line) !important;
      overflow: hidden;
    }

    .progress span {
      display: block;
      width: 100%;
      height: 100%;
      background: var(--accent) !important;
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 0.16s linear;
      will-change: transform;
    }

    .score-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      border: 1px solid var(--line) !important;
      border-radius: 14px;
      background: var(--panel) !important;
      overflow: hidden;
    }

    .score {
      min-height: 154px;
      padding: 22px;
      border-right: 1px solid var(--line) !important;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 18px;
    }

    .score:last-child {
      border-right: 0;
    }

    .score strong {
      display: block;
      overflow-wrap: anywhere;
      font-size: clamp(28px, 4vw, 48px);
      line-height: 0.95;
      letter-spacing: -0.025em !important;
    }

    .score span,
    .score small {
      color: var(--muted) !important;
      font-size: 12px;
    }

    .score small {
      display: block;
      min-height: 18px;
      line-height: 1.35;
    }

    .details {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      margin-top: 14px;
      border: 1px solid var(--line) !important;
      border-radius: 14px;
      background: var(--panel-strong) !important;
      overflow: hidden;
    }

    .metric {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      min-height: 52px;
      padding: 16px 18px;
      border-bottom: 1px solid var(--line) !important;
    }

    .metric:nth-child(odd) {
      border-right: 1px solid var(--line) !important;
    }

    .metric:nth-last-child(-n + 2) {
      border-bottom: 0;
    }

    .metric span {
      color: var(--muted) !important;
      font-size: 12px;
    }

    .metric strong {
      text-align: right;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
      font-size: 12px;
      font-weight: 700 !important;
      overflow-wrap: anywhere;
    }

    .run-details {
      margin-top: 14px;
      border: 1px solid var(--line) !important;
      border-radius: 14px;
      background: var(--panel) !important;
      overflow: hidden;
    }

    .useful-links {
      margin-top: 34px;
      padding-top: 28px;
      border-top: 1px solid var(--line) !important;
    }

    .useful-links h2 {
      margin: 0;
      color: var(--muted) !important;
      font-size: 13px;
      font-weight: 500;
    }

    .footer-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      padding-top: 20px;
    }

    .footer-actions a {
      display: inline-grid;
      place-items: center;
      min-height: 42px;
      padding: 0 16px;
      border: 1px solid var(--line) !important;
      border-radius: 8px;
      background: var(--panel) !important;
      color: var(--text) !important;
      font-size: 13px;
    }

    .footer-actions a:hover,
    .footer-actions a:focus-visible {
      background: var(--panel-strong) !important;
      text-decoration: none;
      outline: none;
    }

    .run-details summary {
      min-height: 54px;
      padding: 17px 18px;
      cursor: pointer;
      color: var(--muted) !important;
      font-size: 13px;
      list-style-position: inside;
      user-select: none;
    }

    .run-details[open] summary {
      border-bottom: 1px solid var(--line) !important;
    }

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

    .details-block {
      padding: 18px;
      border-right: 1px solid var(--line) !important;
      border-bottom: 1px solid var(--line) !important;
      min-width: 0;
    }

    .details-block:nth-child(even) {
      border-right: 0;
    }

    .details-block.wide {
      grid-column: 1 / -1;
      border-right: 0;
      overflow-x: auto;
    }

    .details-block h2 {
      margin: 0 0 14px;
      color: var(--muted) !important;
      font-size: 13px;
      font-weight: 500;
    }

    .details-list {
      display: grid;
      gap: 10px;
      margin: 0;
    }

    .details-row {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      color: var(--muted) !important;
      font-size: 12px;
    }

    .details-row strong,
    .round-table {
      color: var(--text) !important;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
      font-size: 12px;
      font-weight: 600;
      overflow-wrap: anywhere;
      text-align: right;
    }

    .round-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    .round-table th,
    .round-table td {
      padding: 7px 0;
      border-bottom: 1px solid var(--line) !important;
      white-space: nowrap;
    }

    .round-table th {
      color: var(--muted) !important;
      font-weight: 500;
    }

    .round-table td:last-child,
    .round-table th:last-child {
      text-align: right;
    }

    .details-empty {
      grid-column: 1 / -1;
      padding: 18px;
      color: var(--muted) !important;
      font-size: 13px;
    }

    @media (max-width: 760px) {
      body {
        padding: 22px;
      }

      .hero {
        display: grid;
        grid-template-columns: 1fr;
      }

      .hero {
        align-items: start;
      }

      h1 {
        white-space: normal;
        font-size: clamp(40px, 13vw, 72px);
      }

      .status {
        margin-left: auto;
        text-align: right;
      }

      .controls {
        width: 100%;
      }

      .score-grid {
        grid-template-columns: 1fr;
      }

      .score-grid,
      .details,
      .details-content {
        grid-template-columns: 1fr;
      }

      .score {
        min-height: 118px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .score:last-child,
      .metric:last-child {
        border-bottom: 0;
      }

      .metric,
      .metric:nth-child(odd) {
        border-right: 0;
      }

      .metric:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
      }

      .details-block,
      .details-block:nth-child(even) {
        border-right: 0;
      }
    }
