.operator-portal-page {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 24px 18px 56px;
}

.operator-portal-hero {
  display: grid;
  justify-items: center;
  padding: 18px 0 22px;
  text-align: center;
}

.operator-home-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.operator-home-link img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: contain;
}

.operator-portal-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.operator-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.operator-tool-card,
.operator-boundary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 22px;
  box-shadow: var(--shadow);
}

.operator-tool-card.primary {
  border-color: rgba(22, 121, 76, 0.24);
  background: linear-gradient(180deg, rgba(232, 246, 239, 0.58), rgba(255, 255, 255, 0.94));
}

.operator-tool-card h2,
.operator-boundary-card h2 {
  margin: 0;
}

.operator-tool-card p:not(.path-kicker),
.operator-boundary-card p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.operator-tool-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  padding: 10px 14px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.operator-boundary-card {
  margin-top: 18px;
}

@media (max-width: 880px) {
  .operator-tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .operator-portal-page {
    padding: 18px 14px 42px;
  }

  .operator-portal-hero h1 {
    font-size: 2.8rem;
  }

  .operator-tool-card,
  .operator-boundary-card {
    padding: 18px;
  }
}
