#organization-space-root[hidden] {
  display: none !important;
}

.organization-space-panel {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.organization-space-panel[hidden] {
  display: none !important;
}

.organization-space-panel h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.organization-space-panel p {
  margin: 0;
  line-height: 1.6;
  opacity: .82;
}

.organization-space-icon {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

@media (max-width: 720px) {
  .organization-space-panel {
    padding: 18px;
  }
}

/*
  ============================================================
  ORGANIZATION SPACE — VISIBILITY OVERRIDES
  ============================================================
*/

#profile-hub-home > .profile-hub-grid[hidden],
#profile-hub-home > .profile-hub-intro[hidden],
.profile-hub-nsfw[hidden] {
  display: none !important;
}


/*
  ============================================================
  ORGANIZATION SPACE — GRID V2
  ============================================================
*/

#organization-space-grid {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.organization-space-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.organization-space-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 560px) {
  #organization-space-grid {
    grid-template-columns: 1fr;
  }
}


/*
  ============================================================
  ORGANIZATION PROFILE V1
  ============================================================
*/

.organization-profile-content {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.organization-profile-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 14px 16px;

  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;

  background: rgba(255,255,255,.025);
}

.organization-profile-status span {
  opacity: .68;
  font-size: .9rem;
}

.organization-profile-status strong {
  font-size: .9rem;
}

.organization-profile-section {
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;

  background: rgba(255,255,255,.025);
}

.organization-profile-section-heading {
  padding: 18px 20px;

  border-bottom:
    1px solid rgba(255,255,255,.08);
}

.organization-profile-section-heading h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.organization-profile-section-heading p {
  margin: 0;

  font-size: .84rem;
  line-height: 1.5;

  opacity: .62;
}

.organization-profile-rows {
  display: grid;
}

.organization-profile-row {
  display: grid;

  grid-template-columns:
    minmax(140px, .8fr)
    minmax(0, 1.6fr);

  gap: 20px;

  padding: 15px 20px;
}

.organization-profile-row +
.organization-profile-row {
  border-top:
    1px solid rgba(255,255,255,.07);
}

.organization-profile-label {
  font-size: .87rem;
  opacity: .62;
}

.organization-profile-value {
  min-width: 0;

  font-size: .92rem;
  line-height: 1.5;

  overflow-wrap: anywhere;
}

.organization-profile-value a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .organization-profile-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}


/*
  ============================================================
  ORGANIZATION SPACE — INTERNAL NAVIGATION V1
  ============================================================
*/

.organization-space-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;

  margin: 0 0 20px;
  padding: 8px 13px;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;

  background: rgba(255,255,255,.045);
  color: inherit;

  font: inherit;
  font-size: .86rem;
  font-weight: 600;

  cursor: pointer;
}

.organization-space-back:hover {
  background: rgba(255,255,255,.08);
}

.organization-space-back[hidden] {
  display: none !important;
}


#organization-space-intro[hidden],
#organization-space-grid[hidden] {
  display: none !important;
}


/*
  ============================================================
  ORGANIZATION SPACE — FULL WIDTH SECTION MODE V1
  ============================================================
*/

#organization-space-root {
  width: 100%;
  min-width: 0;
}

#organization-space-panel:not([hidden]) {
  width: 100%;
  max-width: none;
}
