.team-hero-art {
  display: block;
  justify-self: center;
  width: min(100%, 410px);
  height: auto;
}

.team-permissions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(13px, 1.6vw, 16px);
}

.team-permissions-table :is(th, td) {
  padding: 16px clamp(5px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

@media (min-width: 721px) {
  .team-permissions-table thead th:not(:first-child) { width: 16%; }
}

.team-permissions-table th:first-child { padding-inline-start: 0; text-align: left; }
.team-permissions-table th[scope="row"] { font-weight: 500; }

.team-permission-mark {
  display: inline-grid;
  place-items: center;
  width: clamp(26px, 3vw, 34px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f9d8c1;
  color: #a94216;
  font-weight: 700;
}

.team-permission-off { background: #f6f3f0; color: var(--muted); }

.team-permission-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .team-hero-art { width: min(100%, 300px); }
}

.team-hero-slot {
  display: grid;
  place-items: center;
}

.team-scenarios-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  overflow: hidden;
  padding: clamp(18px, 2.5vw, 32px) clamp(24px, 5vw, 64px);
  border-radius: 32px;
  background: #f8f5f2;
  margin-bottom: 22px;
}

.team-page .team-scenarios-banner h3 { font-size: clamp(24px, 2.85vw, 33px); }
.team-scenarios-banner p { max-width: 52ch; margin-top: 16px; font-size: 17px; }
.team-scenarios-banner img {
  display: block;
  width: min(100%, 242px);
  height: auto;
  justify-self: center;
  margin-block: -30px;
}

@media (max-width: 720px) {
  .team-scenarios-banner { grid-template-columns: minmax(0, 1fr); }
  .team-scenarios-banner img { width: min(100%, 157px); margin-block: 0; }
}

.team-guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-guide-steps li {
  padding-inline: clamp(4px, 1vw, 12px);
  text-align: center;
}

.team-step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f9d8c1;
  color: #a94216;
  font-size: 18px;
  font-weight: 600;
}

.partners-main .team-guide-steps h3 { font-size: clamp(20px, 2vw, 26px); }
.team-guide-steps p { max-width: 32ch; margin-inline: auto; }

@media (max-width: 720px) {
  .team-guide-steps { grid-auto-rows: auto; row-gap: 28px; }
}
