*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #18181b;
  background-color: #ffffff;
}

a {
  transition: color 150ms ease;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page__main {
  flex: 1;
}

.page:has(.directory) {
  height: 100vh;
}
@media (max-width: 768px) {
  .page:has(.directory) {
    height: auto;
  }
}

.page__main:has(.directory) {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
@media (max-width: 768px) {
  .page__main:has(.directory) {
    display: block;
    overflow: visible;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e4e4e7;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: #18181b;
  text-decoration: none;
}

.site-header__mark {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.site-nav__list {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  color: #71717a;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 150ms ease, background-color 150ms ease;
}
.site-nav__link svg {
  width: 1rem;
  height: 1rem;
}
.site-nav__link:hover, .site-nav__link:focus-visible {
  color: #18181b;
  background-color: #f4f4f5;
}

.site-nav__link--active {
  color: #18181b;
  background-color: #f4f4f5;
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid #e4e4e7;
  background-color: #f4f4f5;
}

.site-footer__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  padding-block: 1rem;
  font-size: 0.875rem;
  color: #71717a;
}

.login-form {
  max-width: 22rem;
  margin: 2.5rem auto;
  padding: 1.5rem;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.login-form__title {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.login-form__error {
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #b91c1c;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.375rem;
}

.login-form__notice {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #71717a;
}

.login-form__field {
  margin-bottom: 1rem;
}

.login-form__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #18181b;
}

.login-form__input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: #18181b;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.login-form__input:focus-visible {
  outline: none;
  border-color: #18181b;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.1);
}

.login-form__remember {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #71717a;
}

.login-form__submit {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-weight: 500;
  color: #ffffff;
  background-color: #18181b;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: opacity 150ms ease;
}
.login-form__submit:hover {
  opacity: 0.9;
}

.person-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #ffffff;
  transition: box-shadow 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.person-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 16px 32px rgba(24, 24, 27, 0.1), 0 4px 8px rgba(24, 24, 27, 0.04);
  transform: translateY(-2px);
}

.person-card__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.person-card--compact .person-card__link {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem;
}

.person-card--compact .person-card__photo {
  margin-top: 0.125rem;
}

.person-card:not(.person-card--compact) .person-card__link {
  padding: 1rem;
}

.person-card__photo {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px var(--avatar-bg, #e4e4e7);
}

.person-card__photo--placeholder {
  background: linear-gradient(145deg, var(--avatar-bg), color-mix(in srgb, var(--avatar-bg) 65%, black));
}

.person-card:not(.person-card--compact) .person-card__photo {
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.5rem;
}

.person-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 150ms ease;
}

.person-card:hover .person-card__img {
  transform: scale(1.06);
}

.person-card__photo-placeholder-letter {
  font-weight: 600;
  color: var(--avatar-fg, #71717a);
}

.person-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.person-card__job {
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  color: #71717a;
}

.person-card--compact .person-card__job {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.person-card__seniority {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: #71717a;
}

.person-card__team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.person-card__team-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  background-color: var(--badge-bg);
  color: var(--badge-fg);
}

.person-card__extra {
  padding: 0 1rem 1rem;
}

.person-card__roles,
.person-card__contact {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.person-card__contact a {
  color: #18181b;
  transition: color 150ms ease;
}

.directory {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: grid;
  grid-template-columns: 17rem 1fr;
  grid-template-rows: minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  gap: 1.5rem;
  padding-block: 1.5rem;
}
@media (max-width: 768px) {
  .directory {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    flex: none;
  }
}

.directory__filters {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
  min-height: 0;
  overflow-y: auto;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
@media (max-width: 768px) {
  .directory__filters {
    min-height: auto;
    overflow-y: visible;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.directory__filters-header {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e4e4e7;
}
.directory__filters-header svg {
  width: 1rem;
  height: 1rem;
  color: #71717a;
}

.directory__filters-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #71717a;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 150ms ease;
}
.directory__filters-reset svg {
  width: 0.875rem;
  height: 0.875rem;
  color: inherit;
}
.directory__filters-reset:hover {
  color: #6366f1;
}

.directory__filter-group {
  border: none;
  padding: 0;
  margin: 0;
}
.directory__filter-group legend {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.directory__filter-label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.directory__search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.directory__search-icon {
  position: absolute;
  left: 0.625rem;
  width: 1rem;
  height: 1rem;
  color: #71717a;
  pointer-events: none;
}

.directory__search {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2rem;
  font: inherit;
  color: #18181b;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.directory__search:focus-visible {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px #eef2ff;
}

.directory__filter-subgroup {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #71717a;
}

.directory__filter-option {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  margin: 0 0 0.125rem -0.5rem;
  border-radius: 0.375rem;
  color: #18181b;
  transition: background-color 150ms ease;
}
.directory__filter-option input {
  accent-color: #6366f1;
}
.directory__filter-option:hover {
  background-color: #f4f4f5;
}
.directory__filter-option:has(input:checked) {
  background-color: #eef2ff;
  color: #6366f1;
  font-weight: 500;
}

.directory__results {
  min-height: 0;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .directory__results {
    min-height: auto;
    overflow-y: visible;
  }
}

.directory__count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #71717a;
  margin: 0 0 1rem;
  font-weight: 500;
}
.directory__count svg {
  width: 1rem;
  height: 1rem;
}

.directory__empty {
  color: #71717a;
}

.directory__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory__item[hidden] {
  display: none;
}

.person-page {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  padding-block: 1.5rem;
}

.person-page__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--team-color, #e4e4e7) 12%, white), white 60%);
  border: 1px solid #e4e4e7;
}
@media (max-width: 768px) {
  .person-page__header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

.person-page__photo {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px var(--avatar-bg, #e4e4e7), 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.person-page__photo--placeholder {
  background: linear-gradient(145deg, var(--avatar-bg), color-mix(in srgb, var(--avatar-bg) 65%, black));
}

.person-page__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-page__photo-placeholder-letter {
  font-size: 2rem;
  font-weight: 600;
  color: var(--avatar-fg, #71717a);
}

.person-page__name {
  margin: 0;
}

.person-page__job {
  margin: 0.25rem 0 0;
  color: #71717a;
}

.person-page__team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.person-page__team-badge {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px;
  background-color: var(--badge-bg);
  color: var(--badge-fg);
}

.person-page__org-chart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6366f1;
  background-color: #eef2ff;
  border-radius: 999px;
  transition: box-shadow 150ms ease;
}
.person-page__org-chart-link:hover {
  box-shadow: 0 0 0 3px #eef2ff;
}

.person-page__role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.person-page__role-badge {
  padding: 0.125rem 0.625rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px;
  background-color: #f4f4f5;
  color: #18181b;
}

.person-page__section {
  margin-bottom: 2.5rem;
}

.person-page__section-title {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid #e4e4e7;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
}
.person-page__section-title svg {
  width: 1rem;
  height: 1rem;
  color: #71717a;
}

.person-page__contact-list,
.person-page__practical-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.person-page__contact-list li,
.person-page__practical-list li {
  margin-bottom: 0.25rem;
}
.person-page__contact-list a,
.person-page__practical-list a {
  color: #18181b;
  transition: opacity 150ms ease;
}
.person-page__contact-list a:hover,
.person-page__practical-list a:hover {
  opacity: 0.75;
}

.person-page__contact-hint {
  color: #71717a;
  font-size: 0.8rem;
}

.person-page__relation-list {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 0.25rem 1rem;
  margin: 0;
}
@media (max-width: 768px) {
  .person-page__relation-list {
    grid-template-columns: 1fr;
  }
}

.person-page__relation-type {
  font-weight: 600;
  color: #71717a;
}

.person-page__relation-targets {
  margin: 0;
}
.person-page__relation-targets a {
  color: #18181b;
}

.person-page__primary-marker {
  color: #71717a;
  font-size: 0.85em;
}

.person-page__tag {
  display: inline-block;
}

.org-chart-page {
  padding-bottom: 2.5rem;
}

.org-chart-page__toolbar {
  position: sticky;
  top: 1rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px rgba(24, 24, 27, 0.1), 0 4px 8px rgba(24, 24, 27, 0.04);
}

.org-chart-page__axes {
  display: flex;
  gap: 0.125rem;
  padding: 0.1875rem;
  background-color: #f4f4f5;
  border-radius: 999px;
}

.org-chart-page__axe-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  color: #71717a;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.org-chart-page__axe-link svg {
  width: 1rem;
  height: 1rem;
}
.org-chart-page__axe-link:hover {
  color: #18181b;
}

.org-chart-page__axe-link--active {
  background-color: #18181b;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.org-chart-page__axe-link--active:hover {
  color: #ffffff;
}

.org-chart-page__search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 12rem;
}

.org-chart-page__search-icon {
  position: absolute;
  left: 0.625rem;
  width: 1rem;
  height: 1rem;
  color: #71717a;
  pointer-events: none;
}

.org-chart-page__search {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2rem;
  font: inherit;
  color: #18181b;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.org-chart-page__search:focus-visible {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px #eef2ff;
}

.org-chart-page__search-count {
  position: absolute;
  right: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366f1;
  background-color: #eef2ff;
  padding: 0.0625rem 0.5rem;
  border-radius: 999px;
}

.org-chart-page__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.org-chart-page__zoom {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.1875rem;
  background-color: #f4f4f5;
  border-radius: 999px;
}
.org-chart-page__zoom button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  color: #18181b;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.org-chart-page__zoom button svg {
  width: 1rem;
  height: 1rem;
}
.org-chart-page__zoom button:hover {
  background-color: #e4e4e7;
}

.org-chart-page__zoom-level {
  min-width: 3rem;
  text-align: center;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: #71717a;
}

.org-chart-page__reset {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.875rem;
  font: inherit;
  font-size: 0.875rem;
  color: #18181b;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.org-chart-page__reset svg {
  width: 0.9375rem;
  height: 0.9375rem;
}
.org-chart-page__reset:hover {
  background-color: #f4f4f5;
  border-color: #d4d4d8;
}

.org-chart__viewport {
  overflow: hidden;
  height: calc(100vh - 11rem);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  background-image: radial-gradient(circle, #e4e4e7 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, black 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at center, black 55%, transparent 100%);
}

.org-chart__viewport--panning {
  cursor: grabbing;
}

.org-chart__canvas {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  padding: 2.5rem 1rem;
  transform-origin: top center;
  transition: transform 0.05s linear;
}

.org-chart__empty {
  padding: 2.5rem;
  text-align: center;
  color: #71717a;
}

.org-chart__associate-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.org-chart__associate-line {
  stroke: #6366f1;
  stroke-width: 2;
  stroke-dasharray: 6 4;
}

.org-chart-section {
  width: fit-content;
  max-width: calc(75rem + 4 * 1.5rem);
  margin-inline: auto;
}
.org-chart-section + .org-chart-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px dashed #e4e4e7;
}

.org-chart-section__title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
}

.org-chart,
.org-chart__children {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.org-chart__children {
  padding-top: 2.5rem;
  position: relative;
}

.org-chart__children::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 2.5rem;
  background-color: #b7b8eb;
}

.org-chart__item {
  position: relative;
  padding: 2.5rem 1rem 0;
  text-align: center;
  animation: org-chart-node-in 0.4s ease backwards;
  animation-delay: calc(var(--depth, 0) * 70ms);
}

.org-chart__item::before,
.org-chart__item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: 2.5rem;
  border-top: 2px solid #b7b8eb;
}

.org-chart__item::after {
  right: auto;
  left: 50%;
  border-left: 2px solid #b7b8eb;
  border-top-left-radius: 14px;
}

.org-chart__item:only-child {
  padding-top: 0;
}
.org-chart__item:only-child::before, .org-chart__item:only-child::after {
  display: none;
}

.org-chart__item:first-child::before {
  border-top-color: transparent;
}

.org-chart__item:last-child::after {
  display: none;
}

.org-chart__item:last-child::before {
  border-right: 2px solid #b7b8eb;
  border-top-right-radius: 14px;
}

.org-chart.org-chart__children::before {
  display: none;
}

.org-chart.org-chart__children > .org-chart__item::before,
.org-chart.org-chart__children > .org-chart__item::after {
  display: none;
}

.org-chart__children:has(> :nth-child(6)) {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  width: calc(var(--grid-cols, 5) * 15rem + (var(--grid-cols, 5) - 1) * 1.5rem);
  gap: 0.25rem 1.5rem;
}
.org-chart__children:has(> :nth-child(6)) > .org-chart__item {
  padding-top: 0;
}
.org-chart__children:has(> :nth-child(6)) > .org-chart__item::before, .org-chart__children:has(> :nth-child(6)) > .org-chart__item::after {
  display: none;
}

.org-chart__node {
  display: inline-block;
  position: relative;
  width: 14rem;
}

.org-chart__item[data-depth="0"] .org-chart__node {
  width: 15.5rem;
}

.org-chart__node .person-card {
  border-top: 3px solid var(--team-color, #e4e4e7);
}

.org-chart__item[data-depth="0"] .person-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  border-top-width: 4px;
}

.org-chart__node--match .person-card {
  box-shadow: 0 0 0 3px #eef2ff, 0 0 0 1px #6366f1, 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.org-chart__node--dim {
  opacity: 0.35;
  transition: opacity 150ms ease;
}

@keyframes org-chart-node-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .org-chart__item {
    animation: none;
  }
}
@media (max-width: 768px) {
  .org-chart-page__toolbar {
    position: static;
  }
  .org-chart__viewport {
    height: auto;
    overflow: visible;
    cursor: default;
    touch-action: auto;
    background-image: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .org-chart__canvas {
    width: 100%;
    padding: 1rem 0;
    transform: none !important;
  }
  .org-chart,
  .org-chart__children {
    display: block;
    padding-top: 0;
    padding-left: 1.5rem;
  }
  .org-chart__children::before,
  .org-chart__item::before,
  .org-chart__item::after {
    display: none;
  }
  .org-chart__item {
    padding: 0.5rem 0;
    padding-left: 0.5rem;
    text-align: left;
    border-left: 2px solid #b7b8eb;
    animation: none;
  }
  .org-chart__children:has(> :nth-child(6)) {
    width: auto;
  }
  .org-chart__node,
  .org-chart__item[data-depth="0"] .org-chart__node {
    width: 100%;
  }
  .org-chart-board {
    overflow-x: auto;
  }
}
.org-chart-board {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.org-chart-board__column {
  flex: 0 0 16rem;
  width: 16rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  background-color: #f4f4f5;
}

.org-chart-board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.375rem;
  background-color: var(--team-color, #f4f4f5);
  color: var(--team-color-contrast, #18181b);
  font-weight: 600;
}

.org-chart-board__count {
  font-weight: 400;
  opacity: 0.8;
}

.org-chart-board__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media print {
  .org-chart-page__toolbar {
    display: none;
  }
  .org-chart__viewport {
    height: auto;
    overflow: visible;
    background-image: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .org-chart__canvas {
    transform: none !important;
    background-color: #fff;
  }
  .org-chart__item {
    animation: none;
  }
}
.error-page {
  max-width: 28rem;
  margin: 2.5rem auto;
  padding: 1.5rem;
  text-align: center;
}

.error-page__code {
  margin: 0;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #d4d4d8;
}

.error-page__title {
  margin: 0.5rem 0;
  font-weight: 600;
}

.error-page__message {
  color: #71717a;
  margin-bottom: 1.5rem;
}

.error-page__link {
  color: #18181b;
  transition: opacity 150ms ease;
}
.error-page__link:hover {
  opacity: 0.75;
}

/*# sourceMappingURL=app-7d1043473d.output.css.map */
