.team2-shell {
  display: grid;
  gap: 16px;
}

.team2-hero,
.team2-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: clamp(28px,5vw,56px);
  border: 1px solid rgba(0,234,212,.26);
  border-radius: 23px;
  background:
    radial-gradient(circle at 88% 8%,rgba(0,234,212,.14),transparent 24rem),
    linear-gradient(135deg,rgba(8,31,42,.98),rgba(3,11,17,.99));
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
}

.team2-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.team2-hero-small {
  min-height: 190px;
}

.team2-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 22px;
}

.team2-kicker,
.team2-section-heading span {
  color: #00ead4;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .17em;
}

.team2-hero h1,
.team2-detail-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(38px,5vw,66px);
  letter-spacing: -.055em;
}

.team2-hero p,
.team2-detail-hero p {
  max-width: 760px;
  color: #8eacb8;
  line-height: 1.7;
}

.team2-detail-logo,
.team2-team-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0,234,212,.28);
  background: rgba(0,234,212,.045);
}

.team2-detail-logo {
  width: 135px;
  height: 135px;
  border-radius: 30px;
}

.team2-team-logo {
  width: 78px;
  height: 78px;
  border-radius: 20px;
}

.team2-detail-logo img,
.team2-team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team2-detail-logo span,
.team2-team-logo span {
  color: #00ead4;
  font-size: 38px;
  font-weight: 950;
}

.team2-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.team2-badges span {
  padding: 5px 9px;
  border: 1px solid rgba(0,234,212,.20);
  border-radius: 999px;
  color: #a7c2cc;
  background: rgba(0,234,212,.05);
  font-size: 9px;
  font-weight: 900;
}

.team2-notice {
  padding: 13px 15px;
  border: 1px solid rgba(0,234,212,.24);
  border-radius: 12px;
  color: #bafff7;
  background: rgba(0,234,212,.055);
}

.team2-tabs {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 11px;
  border: 1px solid rgba(78,159,177,.18);
  border-radius: 14px;
  background: rgba(3,14,20,.88);
  backdrop-filter: blur(14px);
}

.team2-tabs a {
  padding: 8px 11px;
  border-radius: 9px;
  color: #91adb8 !important;
  text-decoration: none !important;
}

.team2-tabs a:hover {
  color: #00140f !important;
  background: #00d8c2;
}

.team2-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 13px;
}

.team2-team-card {
  min-height: 270px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  border: 1px solid rgba(78,159,177,.18);
  border-radius: 18px;
  color: inherit !important;
  background:
    radial-gradient(circle at 90% 0,rgba(0,234,212,.08),transparent 15rem),
    linear-gradient(145deg,rgba(7,24,34,.94),rgba(3,12,18,.99));
  text-decoration: none !important;
  transition: transform .18s ease,border-color .18s ease;
}

.team2-team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,234,212,.38);
}

.team2-team-card > div:nth-child(2) > span {
  color: #00ead4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.team2-team-card h2 {
  margin: 6px 0;
}

.team2-team-card p {
  color: #7f9ca8;
}

.team2-team-card footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
}

.team2-team-card footer div {
  padding: 10px;
  border: 1px solid rgba(78,159,177,.15);
  border-radius: 10px;
  background: rgba(255,255,255,.014);
}

.team2-team-card footer strong,
.team2-team-card footer small {
  display: block;
}

.team2-team-card footer small {
  color: #64818d;
  font-size: 9px;
}

.team2-empty {
  grid-column: 1/-1;
  padding: 55px;
  border: 1px dashed rgba(0,234,212,.20);
  border-radius: 17px;
  color: #7896a2;
  text-align: center;
}

.team2-stat-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.team2-stat-grid article {
  padding: 17px;
  border: 1px solid rgba(78,159,177,.18);
  border-radius: 14px;
  background: linear-gradient(145deg,rgba(7,24,34,.93),rgba(3,12,18,.99));
}

.team2-stat-grid strong,
.team2-stat-grid span {
  display: block;
}

.team2-stat-grid strong {
  font-size: 28px;
}

.team2-stat-grid span {
  color: #7896a2;
}

.team2-panel {
  padding: 20px;
  border: 1px solid rgba(78,159,177,.18);
  border-radius: 17px;
  background: linear-gradient(145deg,rgba(7,24,34,.94),rgba(3,12,18,.99));
  box-shadow: 0 16px 45px rgba(0,0,0,.15);
}

.team2-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}

.team2-section-heading h2 {
  margin: 5px 0 0;
}

.team2-roster-group + .team2-roster-group {
  margin-top: 22px;
}

.team2-roster-group h3 {
  color: #9ab4be;
}

.team2-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(210px,1fr));
  gap: 9px;
}

.team2-member-card,
.team2-manage-members article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(78,159,177,.15);
  border-radius: 11px;
  background: rgba(255,255,255,.014);
}

.team2-member-avatar,
.team2-chat-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0,234,212,.22);
  border-radius: 12px;
  color: #00ead4;
  background: rgba(0,234,212,.045);
  font-weight: 950;
}

.team2-member-card strong,
.team2-member-card small,
.team2-member-card span {
  display: block;
}

.team2-member-card small {
  color: #76939f;
}

.team2-member-card span {
  color: #00ead4;
  font-size: 9px;
}

.team2-inline-empty {
  padding: 20px;
  border: 1px dashed rgba(78,159,177,.18);
  border-radius: 10px;
  color: #708e9a;
  text-align: center;
}

.team2-split,
.team2-manage-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  align-items: start;
}

.team2-list {
  display: grid;
  gap: 8px;
}

.team2-list > article {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(78,159,177,.14);
  border-radius: 11px;
  background: rgba(255,255,255,.012);
}

.team2-list time {
  width: 58px;
  padding: 8px;
  border-radius: 9px;
  color: #00ead4;
  background: rgba(0,234,212,.055);
  text-align: center;
}

.team2-list time strong,
.team2-list time small,
.team2-list article > div > strong,
.team2-list article > div > small {
  display: block;
}

.team2-list time small,
.team2-list article > div > small {
  color: #718f9b;
  font-size: 9px;
}

.team2-list p {
  margin: 5px 0 0;
  color: #819ea9;
}

.team2-icon-button {
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 3px !important;
  color: #ff8295 !important;
  border-color: rgba(255,95,120,.22) !important;
  background: rgba(255,95,120,.04) !important;
}

.team2-create-form {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(78,159,177,.14);
}

.team2-create-form h3 {
  margin: 0 0 3px;
}

.team2-form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}

.team2-form-grid-3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.team2-stat-history {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 9px;
}

.team2-stat-history article {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(78,159,177,.15);
  border-radius: 11px;
  background: rgba(255,255,255,.013);
}

.team2-stat-history span {
  color: #76939f;
}

.team2-document-list {
  display: grid;
  gap: 8px;
}

.team2-document-list article {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(78,159,177,.14);
  border-radius: 10px;
}

.team2-document-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0,234,212,.22);
  border-radius: 10px;
  color: #00ead4;
}

.team2-document-list strong,
.team2-document-list small,
.team2-document-list span {
  display: block;
}

.team2-document-list small,
.team2-document-list span {
  color: #6f8c98;
  font-size: 9px;
}

.team2-chat-panel {
  min-width: 0;
}

.team2-chat-messages {
  display: grid;
  gap: 9px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 3px;
}

.team2-chat-messages > article {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 9px;
}

.team2-chat-messages > article > div:last-child {
  padding: 11px;
  border: 1px solid rgba(78,159,177,.14);
  border-radius: 11px;
  background: rgba(255,255,255,.013);
}

.team2-chat-messages > article.is-own > div:last-child {
  border-color: rgba(0,234,212,.20);
  background: rgba(0,234,212,.035);
}

.team2-chat-messages header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.team2-chat-messages header small {
  color: #607d89;
  font-size: 9px;
}

.team2-chat-messages p {
  margin: 7px 0 0;
  color: #aec4cc;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.team2-chat-form {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.team2-manage-members {
  display: grid;
  gap: 8px;
}

.team2-manage-members article {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
}

.team2-manage-members strong,
.team2-manage-members small {
  display: block;
}

.team2-manage-members small {
  color: #718f9b;
}

@media (max-width: 1050px) {
  .team2-detail-hero {
    grid-template-columns: auto minmax(0,1fr);
  }

  .team2-detail-hero > .btn {
    grid-column: 1/-1;
    width: fit-content;
  }

  .team2-split,
  .team2-manage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .team2-hero {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .team2-detail-logo {
    width: 105px;
    height: 105px;
  }

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

  .team2-form-grid,
  .team2-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .team2-document-list article {
    grid-template-columns: auto minmax(0,1fr);
  }

  .team2-document-list article .btn,
  .team2-document-list article form {
    grid-column: 2;
  }
}

@media (max-width: 480px) {
  .team2-stat-grid {
    grid-template-columns: 1fr;
  }

  .team2-team-grid,
  .team2-roster-grid {
    grid-template-columns: 1fr;
  }
}