    :root {
      --background: #071018;
      --surface: #0d1822;
      --surface-raised: #12212d;
      --border: #223543;
      --text-primary: #f4f7f9;
      --text-secondary: #91a4b2;
      --success: #39d98a;
      --warning: #f6c85f;
      --danger: #ff6b6b;
      --accent: #5da9ff;
      --radius: 16px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      color-scheme: dark;
    }

    body {
      margin: 0;
      min-height: 100vh;
      background:
        radial-gradient(
          circle at top right,
          rgba(93, 169, 255, 0.08),
          transparent 30%
        ),
        var(--background);
      color: var(--text-primary);
      font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    }

    button,
    input,
    select {
      font: inherit;
    }

    .page {
      width: min(1480px, calc(100% - 40px));
      margin: 0 auto;
      padding: 28px 0 48px;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 28px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .brand-mark {
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(93, 169, 255, 0.45);
      border-radius: 13px;
      background: rgba(93, 169, 255, 0.12);
      color: var(--accent);
      font-size: 22px;
      font-weight: 800;
    }

    .brand h1 {
      margin: 0;
      font-size: 21px;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    .brand p {
      margin: 5px 0 0;
      color: var(--text-secondary);
      font-size: 13px;
    }

    .platform-status {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 10px 14px;
      border: 1px solid rgba(57, 217, 138, 0.28);
      border-radius: 999px;
      background: rgba(57, 217, 138, 0.08);
      color: #aaf1ce;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .status-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 0 5px rgba(57, 217, 138, 0.1);
    }

    .section-label {
      margin: 0 0 12px;
      color: var(--text-secondary);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 22px;
    }

    .metric-card,
    .panel {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: rgba(13, 24, 34, 0.94);
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    }

    .metric-card {
      position: relative;
      overflow: hidden;
      min-height: 148px;
      padding: 20px;
    }

    .metric-card::after {
      position: absolute;
      right: -35px;
      bottom: -55px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: rgba(93, 169, 255, 0.06);
      content: "";
    }

    .metric-label {
      margin: 0 0 18px;
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 700;
    }

    .metric-value {
      margin: 0;
      font-size: 38px;
      font-weight: 800;
      letter-spacing: -0.04em;
    }

    .metric-meta {
      margin: 9px 0 0;
      color: var(--text-secondary);
      font-size: 12px;
    }

    .metric-meta strong {
      color: var(--success);
    }

    .main-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.85fr);
      gap: 22px;
      align-items: start;
    }

    .panel {
      overflow: hidden;
    }

    .panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 18px 20px;
      border-bottom: 1px solid var(--border);
    }

    .panel-header h2 {
      margin: 0;
      font-size: 15px;
      letter-spacing: -0.01em;
    }

    .panel-header span {
      color: var(--text-secondary);
      font-size: 12px;
    }

    .panel-body {
      padding: 8px 20px 12px;
    }

    .table-wrap {
      width: 100%;
      overflow-x: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 720px;
    }

    th,
    td {
      padding: 16px 10px;
      border-bottom: 1px solid rgba(34, 53, 67, 0.72);
      text-align: left;
      font-size: 13px;
      white-space: nowrap;
    }

    th {
      color: var(--text-secondary);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }

    tbody tr:last-child td {
      border-bottom: 0;
    }

    .client-name {
      font-weight: 750;
    }

    .subtext {
      display: block;
      margin-top: 4px;
      color: var(--text-secondary);
      font-size: 11px;
      font-weight: 500;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 6px 9px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 800;
    }

    .badge::before {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      content: "";
    }

    .badge-online {
      background: rgba(57, 217, 138, 0.1);
      color: #aaf1ce;
    }

    .badge-online::before {
      background: var(--success);
    }

    .badge-idle {
      background: rgba(246, 200, 95, 0.1);
      color: #f8dfa0;
    }

    .badge-idle::before {
      background: var(--warning);
    }

    .side-stack {
      display: grid;
      gap: 22px;
    }

    .activity-list {
      display: grid;
    }

    .activity-item {
      display: grid;
      grid-template-columns: 36px minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 15px 0;
      border-bottom: 1px solid rgba(34, 53, 67, 0.72);
    }

    .activity-item:last-child {
      border-bottom: 0;
    }

    .activity-icon {
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border-radius: 11px;
      background: var(--surface-raised);
      font-size: 16px;
    }

    .activity-copy {
      min-width: 0;
    }

    .activity-copy strong {
      display: block;
      overflow: hidden;
      font-size: 12px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .activity-copy span,
    .activity-time {
      color: var(--text-secondary);
      font-size: 11px;
    }

    .activity-copy span {
      display: block;
      overflow: hidden;
      margin-top: 4px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .service-list {
      display: grid;
    }

    .service-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 15px 0;
      border-bottom: 1px solid rgba(34, 53, 67, 0.72);
    }

    .service-row:last-child {
      border-bottom: 0;
    }

    .service-name {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      font-weight: 700;
    }

    .service-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--success);
    }

    .service-status {
      color: #aaf1ce;
      font-size: 11px;
      font-weight: 800;
    }

    .footer {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      margin-top: 22px;
      color: var(--text-secondary);
      font-size: 11px;
    }

    @media (max-width: 1050px) {
      .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

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

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

    @media (max-width: 700px) {
      .page {
        width: min(100% - 24px, 1480px);
        padding-top: 18px;
      }

      .topbar {
        align-items: flex-start;
        flex-direction: column;
      }

      .metrics-grid,
      .side-stack {
        grid-template-columns: 1fr;
      }

      .metric-card {
        min-height: 132px;
      }

      .footer {
        flex-direction: column;
      }
    }
