:root {
  color-scheme: light;
  --ink: #1b2b25;
  --muted: #78827b;
  --green: #165e47;
  --lime: #d7ed76;
  --paper: #f6f7f4;
  --line: #e4e9e3;
  --card: #fff;
  font-family: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
.topbar {
  height: 66px;
  padding: 0 clamp(20px, 5vw, 78px);
  border-bottom: 1px solid #e8ebe6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.55);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font:
    800 20px Manrope,
    sans-serif;
  text-decoration: none;
  letter-spacing: -0.8px;
}
.brand-mark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font:
    800 20px Manrope,
    sans-serif;
  line-height: 1;
}
.brand-label {
  color: #8c958d;
  font:
    600 9px "DM Sans",
    sans-serif;
  letter-spacing: 1.25px;
  margin: 2px 0 0 7px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.05px;
  color: #6e7c73;
  font-weight: 700;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #88b84c;
  box-shadow: 0 0 0 3px #e7f1dc;
}
.topbar-divider {
  height: 13px;
  width: 1px;
  background: #dce2da;
  margin: 0 5px;
}
main {
  max-width: 1330px;
  margin: auto;
  padding: 0 34px;
}
.intro {
  padding: 63px 0 48px;
}
.eyebrow,
.section-kicker {
  color: #65756a;
  font-size: 10px;
  letter-spacing: 1.55px;
  font-weight: 700;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: #88a67e;
}
h1 {
  margin: 18px 0 14px;
  font:
    600 clamp(41px, 6vw, 68px)/1.06 Manrope,
    sans-serif;
  letter-spacing: -3.4px;
}
h1 span {
  color: var(--green);
  font-weight: 800;
}
.intro-copy {
  max-width: 510px;
  margin: 0;
  color: #727d75;
  font-size: 14px;
  line-height: 1.75;
}
.dataset-note {
  margin-top: 21px;
  color: #58685d;
  font-size: 11px;
  font-weight: 600;
}
.sparkle {
  color: #93aa53;
  font-size: 15px;
  vertical-align: -1px;
  margin-right: 5px;
}
.note-separator {
  color: #b7c0b7;
  padding: 0 7px;
}
.workspace {
  border: 1px solid #e2e8e1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(27, 43, 37, 0.045);
  overflow: hidden;
}
.workspace-head {
  padding: 25px 27px 19px;
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
}
.section-kicker {
  font-size: 9px;
  letter-spacing: 1.2px;
}
.section-kicker span {
  color: #b1bbb2;
  padding: 0 4px;
}
h2 {
  font:
    700 20px Manrope,
    sans-serif;
  letter-spacing: -0.65px;
  margin: 7px 0 0;
}
.explorer-controls {
  display: flex;
  gap: 9px;
}
.select-wrap,
.search-wrap {
  position: relative;
}
select,
input {
  height: 38px;
  border: 1px solid #e2e8e1;
  border-radius: 7px;
  background: #fff;
  color: #34443a;
  font:
    500 11px "DM Sans",
    sans-serif;
  outline: none;
}
select {
  width: 220px;
  padding: 0 30px 0 12px;
  appearance: none;
}
.select-chevron {
  position: absolute;
  right: 12px;
  top: 8px;
  pointer-events: none;
  color: #758278;
  font-size: 15px;
}
.search-wrap {
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 10px;
  color: #7e8b81;
  font-size: 19px;
  transform: rotate(-20deg);
}
input {
  width: 175px;
  padding: 0 10px 0 31px;
}
select:focus,
input:focus {
  border-color: #8caa91;
  box-shadow: 0 0 0 3px #edf3ec;
}
.company-summary {
  min-height: 80px;
  padding: 16px 27px;
  background: #f6f8f5;
  border-top: 1px solid #eef1ed;
  border-bottom: 1px solid #e9eee8;
}
.summary-placeholder {
  color: #7b877d;
  font-size: 12px;
  padding: 14px 0;
}
.summary-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.company-name {
  font:
    700 18px Manrope,
    sans-serif;
  letter-spacing: -0.55px;
}
.company-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #78837a;
  font-size: 10px;
  margin-top: 5px;
}
.company-pill {
  border: 1px solid #dfe7dd;
  background: #fff;
  padding: 5px 9px;
  border-radius: 20px;
  color: #586a5b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.metric-group {
  display: flex;
  align-items: center;
  gap: 25px;
}
.metric {
  min-width: 65px;
}
.metric strong {
  display: block;
  font:
    700 19px Manrope,
    sans-serif;
  letter-spacing: -0.6px;
}
.metric span {
  display: block;
  margin-top: 1px;
  color: #78837a;
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.chart-toolbar {
  height: 49px;
  padding: 0 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #828c83;
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
}
.legend-line {
  width: 15px;
  height: 2px;
  background: #80a58c;
}
.legend-conf {
  margin-left: 11px;
  display: flex;
  gap: 2px;
}
.legend-conf i {
  width: 4px;
  height: 9px;
  border-radius: 2px;
  background: #aec8a6;
}
.legend-conf i:first-child {
  background: #4a9b70;
}
.text-button {
  border: 0;
  background: none;
  color: #728078;
  font:
    600 10px "DM Sans",
    sans-serif;
  cursor: pointer;
}
.text-button span {
  font-size: 14px;
  margin-left: 4px;
}
.chart-viewport {
  min-height: 380px;
  max-height: 700px;
  overflow: auto;
  padding: 23px 20px 34px;
  background-image: radial-gradient(#dde5dc 0.65px, transparent 0.65px);
  background-size: 14px 14px;
}
.tree-root {
  display: flex;
  justify-content: center;
  min-width: max-content;
}
.tree,
.tree ul {
  position: relative;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
}
.tree {
  padding-top: 0;
}
.tree ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 26px;
  border-left: 1px solid #b9c9b9;
}
.tree li {
  position: relative;
  text-align: center;
  padding: 25px 7px 0;
}
.tree > li {
  padding-top: 0;
}
.tree li::before,
.tree li::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 25px;
  border-top: 1px solid #b9c9b9;
}
.tree li::before {
  right: 50%;
}
.tree li::after {
  left: 50%;
  border-left: 1px solid #b9c9b9;
}
.tree li:only-child::before,
.tree li:only-child::after {
  display: none;
}
.tree li:only-child {
  padding-top: 0;
}
.tree li:first-child::before,
.tree li:last-child::after {
  border: 0;
}
.tree li:last-child::before {
  border-right: 1px solid #b9c9b9;
  border-radius: 0 5px 0 0;
}
.tree li:first-child::after {
  border-radius: 5px 0 0 0;
}
.tree ul ul::before {
  height: 26px;
}
.tree li > .person-card {
  margin: 0 auto;
}
.person-card {
  position: relative;
  width: 180px;
  min-height: 82px;
  padding: 12px 12px 10px;
  border: 1px solid #e1e9e1;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: 0 4px 11px rgba(38, 59, 45, 0.045);
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.person-card:hover,
.person-card.is-active {
  border-color: #82a88e;
  box-shadow: 0 5px 15px rgba(35, 90, 64, 0.12);
  transform: translateY(-2px);
}
.person-card.is-root {
  background: #1c604b;
  border-color: #1c604b;
  color: #fff;
  width: 198px;
}
.person-card.is-root .person-title,
.person-card.is-root .person-dept {
  color: #d6e8df;
}
.person-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}
.person-title {
  display: block;
  margin-top: 4px;
  color: #67746b;
  font-size: 9px;
  line-height: 1.35;
}
.person-dept {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  margin-top: 8px;
  color: #8a958c;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.55px;
}
.confidence {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #528264;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
}
.confidence::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #65a578;
}
.unplaced-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.unplaced-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
}
.unplaced-grid .person-card {
  margin: 0;
}
.unresolved-box {
  width: 178px;
  padding: 12px;
  border: 1px dashed #cfd8ce;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
}
.unresolved-box strong {
  display: block;
  color: #78847b;
  font-size: 10px;
}
.unresolved-box span {
  display: block;
  margin-top: 4px;
  color: #99a39a;
  font-size: 8px;
  line-height: 1.4;
}
.unresolved-row {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 900px;
}
.unresolved-person {
  border: 1px dashed #cdd7cd;
  border-radius: 6px;
  padding: 6px 9px;
  background: #fff;
  color: #69766c;
  font-size: 9px;
}
.unresolved-person b {
  color: #34443a;
  font-weight: 600;
}
.empty-state,
.loading-state {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c897f;
  font-size: 12px;
  gap: 10px;
}
.loading-state {
  flex-direction: column;
}
.loader {
  width: 24px;
  height: 24px;
  border: 2px solid #dce7dc;
  border-top-color: #58876b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.chart-footnote {
  padding: 13px 27px 15px;
  border-top: 1px solid #edf0ec;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #89938a;
  font-size: 10px;
  line-height: 1.5;
}
.footnote-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid #aeb9ae;
  border-radius: 50%;
  color: #849186;
  text-align: center;
  font:
    700 9px/13px "DM Sans",
    sans-serif;
}
.insight-strip {
  margin: 25px 0 61px;
  border: 1px solid #e4e9e3;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.52);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.insight-strip > div {
  display: flex;
  gap: 13px;
  padding: 19px 21px;
}
.insight-strip > div + div {
  border-left: 1px solid #e7ebe5;
}
.insight-number {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 7px;
  background: #edf2e8;
  color: #68835d;
  font:
    700 10px Manrope,
    sans-serif;
}
.insight-strip h3 {
  margin: 1px 0 5px;
  font:
    700 11px Manrope,
    sans-serif;
}
.insight-strip p {
  max-width: 260px;
  margin: 0;
  color: #7b867d;
  font-size: 10px;
  line-height: 1.6;
}
footer {
  height: 51px;
  border-top: 1px solid #e6eae4;
  padding: 0 clamp(20px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #88938a;
  font-size: 8px;
  letter-spacing: 1.1px;
  font-weight: 700;
}
.footer-dot {
  color: #a4b77a;
  padding: 0 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  main {
    padding: 0 16px;
  }
  .topbar {
    padding: 0 17px;
  }
  .topbar-right {
    font-size: 8px;
    gap: 7px;
  }
  .brand-label {
    display: none;
  }
  .intro {
    padding: 46px 0 35px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .intro-copy {
    font-size: 13px;
  }
  .workspace-head {
    align-items: stretch;
    flex-direction: column;
    padding: 21px 17px 16px;
  }
  .explorer-controls {
    width: 100%;
  }
  .select-wrap {
    flex: 1;
    min-width: 0;
  }
  select {
    width: 100%;
  }
  .search-wrap {
    width: 145px;
  }
  input {
    width: 100%;
  }
  .company-summary {
    padding: 14px 17px;
  }
  .summary-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .metric-group {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
  }
  .chart-toolbar {
    padding: 0 15px;
  }
  .chart-legend {
    gap: 5px;
    font-size: 7px;
  }
  .legend-conf {
    margin-left: 3px;
  }
  .chart-viewport {
    padding-left: 14px;
    padding-right: 14px;
  }
  .chart-footnote {
    padding-left: 16px;
    padding-right: 16px;
  }
  .insight-strip {
    grid-template-columns: 1fr;
    margin-bottom: 35px;
  }
  .insight-strip > div + div {
    border-left: 0;
    border-top: 1px solid #e7ebe5;
  }
  footer {
    padding: 0 16px;
    font-size: 7px;
  }
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(35px, 7vw, 100px);
  padding: 60px 0 52px;
}
.intro-story {
  padding: 12px 0;
}
.intro h1 {
  font-size: clamp(46px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -4px;
}
.intro-copy {
  max-width: 485px;
}
.company-finder {
  margin-top: 28px;
  max-width: 490px;
}
.company-finder > label {
  display: block;
  margin-bottom: 8px;
  color: #43564a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.finder-field {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid #dfe6dc;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(27, 43, 37, 0.055);
}
.finder-icon {
  padding-left: 9px;
  color: #678270;
  font-size: 22px;
  transform: rotate(-20deg);
}
.finder-field input {
  width: 100%;
  height: 38px;
  min-width: 0;
  border: 0;
  box-shadow: none;
  font-size: 12px;
}
.finder-field input:focus {
  box-shadow: none;
}
.finder-field button {
  flex: 0 0 auto;
  height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: var(--green);
  color: #fff;
  font:
    700 10px "DM Sans",
    sans-serif;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
.finder-field button:hover {
  background: #104c39;
  transform: translateY(-1px);
}
.finder-field button span {
  padding-left: 5px;
  color: #d7ed76;
}
.finder-status {
  min-height: 16px;
  margin: 7px 2px 0;
  color: #7a887d;
  font-size: 9px;
}
.intro .dataset-note {
  margin-top: 18px;
  font-size: 10px;
}
.atlas-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  padding: 20px 21px 17px;
  border: 1px solid #315d49;
  border-radius: 16px;
  background: radial-gradient(
    ellipse at 50% 43%,
    #2d7254 0%,
    #1c513e 47%,
    #163d32 100%
  );
  color: #fff;
  box-shadow: 0 21px 50px rgba(28, 78, 58, 0.18);
}
.atlas-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image: radial-gradient(
    rgba(230, 244, 218, 0.8) 0.7px,
    transparent 0.7px
  );
  background-size: 16px 16px;
  mask-image: linear-gradient(transparent, black 25%, black 70%, transparent);
}
.atlas-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c5d9c8;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.25px;
}
.atlas-pulse {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: #d8ef7c;
  box-shadow: 0 0 0 4px rgba(216, 239, 124, 0.12);
}
.atlas-map {
  position: relative;
  height: 220px;
  margin: 3px 0 1px;
}
.atlas-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(218, 237, 214, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one {
  width: 206px;
  height: 150px;
}
.orbit-two {
  width: 300px;
  height: 194px;
  transform: translate(-50%, -50%) rotate(-24deg);
}
.atlas-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(240, 248, 213, 0.78);
  border-radius: 16px;
  background: #d8ed80;
  color: #28523a;
  font-size: 23px;
  box-shadow:
    0 0 0 8px rgba(216, 237, 128, 0.1),
    0 7px 24px rgba(7, 31, 20, 0.25);
  transform: translate(-50%, -50%) rotate(-8deg);
}
.atlas-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(223, 239, 224, 0.22);
  border-radius: 7px;
  background: rgba(15, 54, 39, 0.85);
  color: #e4eee2;
  font-size: 8px;
  box-shadow: 0 4px 12px rgba(10, 38, 28, 0.15);
}
.atlas-node i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #a4d180;
}
.atlas-node-top {
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
}
.atlas-node-left {
  top: 48%;
  left: 2%;
}
.atlas-node-right {
  top: 48%;
  right: 2%;
}
.atlas-node-bottom {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}
.atlas-link {
  position: absolute;
  z-index: 1;
  display: block;
  border-color: rgba(218, 237, 214, 0.54);
}
.link-left {
  top: 50%;
  left: 24%;
  width: 25%;
  height: 1px;
  border-top: 1px solid;
}
.link-right {
  top: 50%;
  right: 24%;
  width: 25%;
  height: 1px;
  border-top: 1px solid;
}
.link-down {
  top: 58%;
  left: 50%;
  height: 31px;
  border-left: 1px solid;
}
.atlas-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 1px 14px;
  border-bottom: 1px solid rgba(220, 237, 218, 0.17);
}
.atlas-caption strong {
  font:
    600 12px Manrope,
    sans-serif;
}
.atlas-caption > span {
  color: #b4cabb;
  font-size: 9px;
}
.quick-picks {
  position: relative;
  z-index: 1;
  padding-top: 13px;
}
.quick-picks-label {
  color: #a9c5b2;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.1px;
}
.quick-pick-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.quick-pick {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(224, 238, 222, 0.17);
  border-radius: 6px;
  background: rgba(242, 248, 237, 0.06);
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.quick-pick:hover {
  border-color: rgba(222, 239, 135, 0.62);
  background: rgba(242, 248, 237, 0.12);
}
.quick-pick span,
.quick-pick strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quick-pick span {
  color: #a9c5b2;
  font-size: 7px;
}
.quick-pick strong {
  margin-top: 3px;
  color: #f0f5ed;
  font-size: 8px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .intro {
    grid-template-columns: minmax(0, 1fr) minmax(285px, 0.8fr);
    gap: 28px;
  }
  .atlas-card {
    padding-right: 15px;
    padding-left: 15px;
  }
  .atlas-caption {
    flex-direction: column;
    gap: 4px;
  }
}
@media (max-width: 760px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 46px 0 35px;
  }
  .intro-story {
    padding: 0;
  }
  .intro h1 {
    letter-spacing: -2px;
  }
  .atlas-card {
    width: 100%;
    max-width: 480px;
    min-height: auto;
    margin: auto;
    padding: 17px;
  }
  .atlas-map {
    height: 205px;
  }
}

[hidden] {
  display: none !important;
}

.profile-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 27px 22px;
}
.profile-identity {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 640px;
}
.company-logo {
  flex: 0 0 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font:
    800 19px Manrope,
    sans-serif;
  background: linear-gradient(
    135deg,
    hsl(var(--logo-hue, 160) 52% 42%),
    hsl(var(--logo-hue, 160) 48% 26%)
  );
  box-shadow: 0 8px 18px hsla(var(--logo-hue, 160), 50%, 25%, 0.22);
}
#companyName {
  font:
    800 26px Manrope,
    sans-serif;
  letter-spacing: -1px;
  margin: 6px 0 0;
}
.company-description {
  margin: 8px 0 0;
  max-width: 560px;
  color: #6f7a72;
  font-size: 12px;
  line-height: 1.6;
}
.profile-text .company-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #78837a;
  font-size: 10px;
}
.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.stat strong {
  display: block;
  font:
    700 22px Manrope,
    sans-serif;
  letter-spacing: -0.6px;
}
.stat span {
  display: block;
  margin-top: 2px;
  color: #78837a;
  font-size: 8px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.profile-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 27px;
  border-top: 1px solid #eef1ed;
  border-bottom: 1px solid #e9eee8;
  background: #fbfcfa;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tab {
  margin-bottom: -1px;
  padding: 14px 12px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #78837a;
  font:
    600 11px "DM Sans",
    sans-serif;
  cursor: pointer;
}
.tab:hover {
  color: var(--ink);
}
.tab.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.profile-nav .select-wrap select {
  height: 34px;
  width: 240px;
}
.profile-nav .select-chevron {
  top: 7px;
}

.chart-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.chart-actions .search-wrap input {
  width: 190px;
}
.ask-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 27px;
  border-bottom: 1px solid #edf0ec;
  background: #fff;
}
.ask-label {
  color: #5f7a68;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.1px;
}
.ask-form {
  display: flex;
  flex: 1;
  min-width: 260px;
  gap: 8px;
}
.ask-form input {
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 0 12px;
}
.ask-form button {
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: var(--lime);
  color: #1c4a37;
  font:
    700 10px "DM Sans",
    sans-serif;
  cursor: pointer;
}
.ask-form button:hover {
  background: #c9e35f;
}
.ask-answer {
  flex-basis: 100%;
  min-height: 0;
  color: #3e5246;
  font-size: 11px;
  line-height: 1.5;
}
.ask-answer:empty {
  display: none;
}

.person-card {
  width: 196px;
}
.person-card.is-root {
  width: 214px;
}
.person-card.on-path {
  border-color: var(--dept);
  box-shadow:
    0 0 0 2px rgba(215, 237, 118, 0.55),
    0 6px 16px rgba(35, 90, 64, 0.14);
}
.person-card.dimmed {
  opacity: 0.38;
}
.person-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.person-id {
  display: block;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--dept, #9aa39c);
  color: #fff;
  font:
    700 10px Manrope,
    sans-serif;
  letter-spacing: 0.3px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.is-root .avatar {
  background: #d7ed76;
  color: #1c604b;
}

.leader-grid,
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  padding: 22px 27px 26px;
}
.leader-card {
  padding: 15px;
  border: 1px solid #e1e9e1;
  border-top: 3px solid var(--dept, #9aa39c);
  border-radius: 11px;
  background: #fff;
}
.leader-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.leader-top strong {
  display: block;
  font-size: 12px;
}
.leader-top span {
  display: block;
  margin-top: 3px;
  color: #67746b;
  font-size: 10px;
  line-height: 1.35;
}
.leader-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: #8a958c;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.leader-reports {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #eef1ed;
  color: #6f7a72;
  font-size: 10px;
}
.leader-reports b {
  color: var(--ink);
}

.dept-card {
  padding: 16px;
  border: 1px solid #e1e9e1;
  border-radius: 11px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.dept-card:hover {
  border-color: var(--dept);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 43, 37, 0.07);
}
.dept-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dept-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--dept);
}
.dept-top strong {
  flex: 1;
  font:
    700 13px Manrope,
    sans-serif;
}
.dept-top > span:last-child {
  font:
    700 12px Manrope,
    sans-serif;
  color: #4a5a4f;
}
.dept-bar {
  height: 6px;
  margin: 12px 0;
  border-radius: 4px;
  background: #eef2ec;
  overflow: hidden;
}
.dept-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--dept);
}
.dept-lead {
  color: #4f5e53;
  font-size: 11px;
  line-height: 1.4;
}
.dept-lead b {
  color: var(--ink);
}
.dept-foot {
  margin-top: 10px;
  color: #8a958c;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.directory-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 27px 12px;
}
.directory-search input {
  width: 260px;
}
.dept-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  padding: 5px 10px;
  border: 1px solid #dfe7dd;
  border-radius: 20px;
  background: #fff;
  color: #586a5b;
  font:
    600 9px "DM Sans",
    sans-serif;
  cursor: pointer;
}
.chip small {
  margin-left: 4px;
  opacity: 0.7;
}
.chip.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.directory-table-wrap {
  max-height: 520px;
  margin: 0 27px 24px;
  overflow: auto;
  border: 1px solid #e6ece5;
  border-radius: 10px;
}
table.directory {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.directory th {
  position: sticky;
  top: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #e6ece5;
  background: #f6f8f5;
  color: #78837a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-align: left;
  text-transform: uppercase;
}
.directory td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0f3ef;
  color: #4f5e53;
  vertical-align: middle;
}
.cell-person {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cell-person .avatar {
  flex-basis: 26px;
  width: 26px;
  height: 26px;
  font-size: 9px;
}
.cell-person b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.cell-person small {
  color: #8a958c;
  font-size: 9px;
}
.dept-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3f4f44;
  font-size: 9px;
  font-weight: 700;
}
.dept-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--dept);
}
.muted {
  color: #9aa39c;
}
.directory-note {
  padding: 10px 12px;
  color: #8a958c;
  font-size: 9px;
}

@media (max-width: 760px) {
  .profile-hero {
    padding: 20px 17px 16px;
  }
  .profile-stats {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .profile-nav {
    padding: 0 12px;
  }
  .profile-nav .select-wrap {
    width: 100%;
  }
  .profile-nav .select-wrap select {
    width: 100%;
  }
  .chart-actions {
    width: 100%;
    justify-content: space-between;
  }
  .chart-actions .search-wrap input {
    width: 150px;
  }
  .ask-bar {
    padding: 12px 15px;
  }
  .ask-form {
    min-width: 0;
    width: 100%;
  }
  .leader-grid,
  .dept-grid {
    padding: 16px;
  }
  .directory-controls {
    padding: 16px 15px 10px;
  }
  .directory-search input {
    width: 100%;
  }
  .directory-table-wrap {
    margin: 0 15px 18px;
  }
  .directory th:nth-child(4),
  .directory td:nth-child(4) {
    display: none;
  }
}
