body.directory-page .directory-header {
  border-bottom: 1px solid #dfe7f1;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(17, 40, 77, .02);
}

body.directory-page .header-inner {
  width: min(100% - 96px, 1376px);
  min-height: 60px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

body.directory-page .directory-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  color: #061738;
  text-decoration: none;
}

body.directory-page .brand-planet {
  width: 34px;
  height: 34px;
}

body.directory-page .brand-word {
  color: #061738;
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

body.directory-page .brand-word span {
  color: var(--color-green);
}

body.directory-page .directory-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin-left: 36px;
  color: #061738;
  font-size: 14px;
  font-weight: 650;
  line-height: normal;
}

body.directory-page .directory-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  color: #061738;
  white-space: nowrap;
  text-decoration: none;
}

body.directory-page .directory-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
}

body.directory-page .directory-actions .lang-btn,
body.directory-page .footer-meta .lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #dce6f2;
  border-radius: 7px;
  background: #fff;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: normal;
  box-shadow: none;
}

body.directory-page .directory-actions .lang-btn {
  width: 139.7px;
}

body.directory-page .directory-actions .submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 36px;
  height: 36px;
  width: 201.4px;
  min-width: 201.4px;
  padding: 0 24px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #12bd72 0%, #009e57 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  flex: 0 0 201.4px;
  white-space: nowrap !important;
  word-break: keep-all !important;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 166, 87, .22);
}

body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related) {
  width: 100%;
  margin: 0 !important;
  padding: 14px 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #dfe7f1 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related).directory-container {
  width: min(100% - 96px, 1376px) !important;
  margin: 0 auto !important;
}

body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related) > .directory-container,
body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related).directory-container {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
}

body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related) h2 {
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: #071b43 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
}

body.directory-page :where(.perf-related-head) {
  display: contents !important;
}

body.directory-page :where(.perf-related-head > a) {
  display: none !important;
}

body.directory-page :where(.related-generated-grid, .perf-related-grid, .hundred-related-grid, .adddays-related > div, .addmin-related > div, .addtime-related > div, .hm-related > div, .age-related > div, .sec-related > div, .month-related > div, .day-related > div, .hour-related > div, .min-related > div) {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.directory-page :where(.related-generated-grid a, .perf-related-grid a, .hundred-related-grid a, .adddays-related > div > a, .addmin-related > div > a, .addtime-related > div > a, .hm-related > div > a, .age-related > div > a, .sec-related > div > a, .month-related > div > a, .day-related > div > a, .hour-related > div > a, .min-related > div > a) {
  flex: 1 1 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-width: 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid #dce6f2 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #071b43 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 12px !important;
  line-height: normal !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
}

body.directory-page :where(.related-generated-grid a b, .related-generated-grid a strong, .related-generated-grid a small, .perf-related-grid a b, .perf-related-grid a strong, .perf-related-grid a small, .hundred-related-grid a b, .hundred-related-grid a strong, .hundred-related-grid a small, .adddays-related a b, .adddays-related a strong, .adddays-related a small, .addmin-related a b, .addmin-related a strong, .addmin-related a small, .addtime-related a b, .addtime-related a strong, .addtime-related a small, .hm-related a b, .hm-related a strong, .hm-related a small, .age-related a b, .age-related a strong, .age-related a small, .sec-related a b, .sec-related a strong, .sec-related a small, .month-related a b, .month-related a strong, .month-related a small, .day-related a b, .day-related a strong, .day-related a small, .hour-related a b, .hour-related a strong, .hour-related a small, .min-related a b, .min-related a strong, .min-related a small) {
  display: inline !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: 12px !important;
  line-height: normal !important;
  font-weight: 750 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.directory-page :where(.related-generated-grid a small, .perf-related-grid a small, .hundred-related-grid a small, .adddays-related a small, .addmin-related a small, .addtime-related a small, .hm-related a small, .age-related a small, .sec-related a small, .month-related a small, .day-related a small, .hour-related a small, .min-related a small) {
  display: none !important;
}

body.directory-page :where(.related-generated-grid a > span:not(:last-child), .perf-related-grid a > span:not(:last-child), .adddays-related a > span:not(:last-child), .addmin-related a > span:not(:last-child), .addtime-related a > span:not(:last-child), .hm-related a > span:not(:last-child), .age-related a > span:not(:last-child), .sec-related a > span:not(:last-child), .month-related a > span:not(:last-child), .day-related a > span:not(:last-child), .hour-related a > span:not(:last-child), .min-related a > span:not(:last-child)) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--color-green) !important;
  flex: 0 0 auto !important;
}

body.directory-page .directory-newsletter {
  margin: 0;
  padding: 0;
}

body.directory-page .directory-footer {
  margin: 0;
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid #dfe7f1;
  background: #fff;
  color: var(--color-ink);
}

body.directory-page .footer-inner {
  width: min(100% - 96px, 1376px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr 150px;
  gap: 62px;
  padding: 14px 0;
}

body.directory-page .footer-brand-block p,
body.directory-page .footer-meta p,
body.directory-page .footer-columns a {
  color: var(--color-muted);
}

body.directory-page .footer-brand-block p {
  margin: 8px 0 10px;
  max-width: 240px;
  font-size: 12px;
  line-height: 1.45;
}

body.directory-page .footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.directory-page .footer-socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #dce6f2;
  border-radius: 999px;
  background: #fff;
  color: #071b43;
}

body.directory-page .footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
}

body.directory-page .footer-columns section {
  display: grid;
  align-content: start;
  gap: 4px;
}

body.directory-page .footer-columns button {
  display: flex;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: #071b43;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
}

body.directory-page .footer-columns button svg {
  display: none;
}

body.directory-page .footer-columns a {
  font-size: 12px;
  line-height: 1.32;
  text-decoration: none;
}

body.directory-page .footer-meta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

body.directory-page .footer-meta .lang-btn {
  align-self: stretch;
  justify-content: center;
}

body.directory-page .footer-meta p {
  margin: 0;
  font-size: 12px;
}

body.directory-page main,
body.directory-page main :where(input, select, textarea, button) {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body.directory-page main {
  font-size: 14px;
  line-height: 1.45;
}

body.directory-page main :where(p, li, small, span, a, input, select, textarea) {
  font-weight: 400 !important;
}

body.directory-page main :where(label, summary, th, .everyday-pill, .result-label, .perf-result-label) {
  font-weight: 650 !important;
}

body.directory-page main :where(strong, b, dt, h3, h4, .example-copy strong, .related-generated-grid b, .perf-related-grid strong) {
  font-weight: 700 !important;
}

body.directory-page main :where(button, .primary, .secondary, .adddays-primary, .addmin-primary, .addtime-primary, .hm-add, .hm-actions button, .perf-actions button, .everyday-actions button) {
  font-size: 14px !important;
  font-weight: 750 !important;
  white-space: nowrap;
}

body.directory-page main :where(h1) {
  font-size: clamp(34px, 4.2vw, 54px) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  white-space: normal !important;
}

body.directory-page main :where(h2, .everyday-card-header h2, .perf-card h2, .perf-side-card h2) {
  font-size: clamp(18px, 2vw, 22px) !important;
  line-height: 1.22 !important;
  font-weight: 750 !important;
}

body.directory-page main :where(h3, h4) {
  font-size: 16px !important;
  line-height: 1.28 !important;
}

body.directory-page main :where(label, summary, th, .everyday-pill, .result-label, .perf-result-label, .example-copy strong, .related-generated-grid b, .perf-related-grid strong) {
  font-size: min(1em, 14px) !important;
}

body.directory-page main :where(input, select, textarea) {
  font-size: 14px !important;
}

body.directory-page main :where(.result-value, .perf-result-value, .hm-score b, .adddays-score b, .addmin-score b, .addtime-score b, .age-score b) {
  font-size: clamp(30px, 4vw, 46px) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
}

body.directory-page main :where(.related-generated-grid a, .perf-related-grid a, .hundred-related-grid a, .adddays-related > div > a, .addmin-related > div > a, .addtime-related > div > a, .hm-related > div > a, .age-related > div > a, .sec-related > div > a, .month-related > div > a, .day-related > div > a, .hour-related > div > a, .min-related > div > a) {
  max-width: 180px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

body.directory-page main :where(.related-generated-grid a span, .related-generated-grid a b, .related-generated-grid a strong, .related-generated-grid a i, .perf-related-grid a span, .perf-related-grid a b, .perf-related-grid a strong, .perf-related-grid a i, .hundred-related-grid a span, .hundred-related-grid a b, .hundred-related-grid a strong, .hundred-related-grid a i, .adddays-related a span, .adddays-related a b, .adddays-related a strong, .adddays-related a i, .addmin-related a span, .addmin-related a b, .addmin-related a strong, .addmin-related a i, .addtime-related a span, .addtime-related a b, .addtime-related a strong, .addtime-related a i, .hm-related a span, .hm-related a b, .hm-related a strong, .hm-related a i, .age-related a span, .age-related a b, .age-related a strong, .age-related a i, .sec-related a span, .sec-related a b, .sec-related a strong, .sec-related a i, .month-related a span, .month-related a b, .month-related a strong, .month-related a i, .day-related a span, .day-related a b, .day-related a strong, .day-related a i, .hour-related a span, .hour-related a b, .hour-related a strong, .hour-related a i, .min-related a span, .min-related a b, .min-related a strong, .min-related a i) {
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: normal !important;
}

@media (min-width: 1201px) and (max-width: 1240px) {
  body.directory-page .header-inner {
    width: min(100% - 40px, 1180px);
    gap: 16px;
  }

  body.directory-page .directory-nav {
    gap: 20px;
    margin-left: 10px;
  }

  body.directory-page .directory-actions {
    gap: 14px;
  }

  body.directory-page .directory-actions .lang-btn {
    width: 124px;
    min-width: 124px;
    padding: 0 12px;
    white-space: nowrap;
  }

  body.directory-page .directory-actions .submit-btn {
    width: 201.4px;
    min-width: 201.4px;
    flex-basis: 201.4px;
    padding: 0 24px;
    white-space: nowrap !important;
  }
}

@media (max-width: 1020px) {
  body.directory-page .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  body.directory-page .header-inner {
    width: min(100% - 40px, 960px);
  }

  body.directory-page .directory-nav,
  body.directory-page .directory-actions .submit-btn {
    display: none;
  }

  body.directory-page .directory-actions {
    gap: 8px;
  }

body.directory-page .mobile-menu-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dce8f2;
    border-radius: 14px;
    background: #fff;
    color: var(--color-ink);
    box-shadow: 0 8px 20px rgba(29, 86, 139, .08);
  }
}

@media (max-width: 760px) {
  body.directory-page .mobile-menu {
    position: fixed !important;
    left: auto !important;
    right: 0 !important;
    transform: translateX(102%) !important;
  }

  body.directory-page.menu-open .mobile-menu {
    transform: translateX(0) !important;
  }
}

@media (max-width: 1240px) {
  body.directory-page .everyday-layout,
  body.directory-page .rhythm-1 .everyday-layout,
  body.directory-page .rhythm-2 .everyday-layout,
  body.directory-page .rhythm-3 .everyday-layout,
  body.directory-page .rhythm-4 .everyday-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  body.directory-page .side-stack,
  body.directory-page .rhythm-1 .side-stack,
  body.directory-page .rhythm-2 .side-stack,
  body.directory-page .rhythm-3 .side-stack,
  body.directory-page .rhythm-4 .side-stack {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: auto !important;
    max-width: 100% !important;
  }

  body.directory-page .rhythm-1 .result-card,
  body.directory-page .rhythm-2 .result-card,
  body.directory-page .rhythm-3 .result-card,
  body.directory-page .rhythm-4 .result-card {
    grid-column: auto !important;
  }

  body.performance-page .perf-hero-grid,
  body.performance-page .perf-layout,
  body.performance-page .perf-panel {
    grid-template-columns: 1fr !important;
  }

  body.performance-page .perf-side {
    width: auto !important;
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  body.directory-page main {
    font-size: 13px;
  }

  body.directory-page main :where(h1) {
    font-size: clamp(28px, 9vw, 36px) !important;
  }

  body.directory-page main :where(h2, .everyday-card-header h2, .perf-card h2, .perf-side-card h2) {
    font-size: 18px !important;
  }

  body.directory-page .everyday-layout,
  body.directory-page .rhythm-1 .everyday-layout,
  body.directory-page .rhythm-2 .everyday-layout,
  body.directory-page .rhythm-3 .everyday-layout,
  body.directory-page .rhythm-4 .everyday-layout,
  body.directory-page .side-stack,
  body.directory-page .rhythm-1 .side-stack,
  body.directory-page .rhythm-2 .side-stack,
  body.directory-page .rhythm-3 .side-stack,
  body.directory-page .rhythm-4 .side-stack {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.directory-page main :where(button, .primary, .secondary, .adddays-primary, .addmin-primary, .addtime-primary, .hm-add, .hm-actions button, .perf-actions button, .everyday-actions button, input, select, textarea) {
    font-size: 13px !important;
  }

  body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related) {
    padding: 14px 0 !important;
  }

  body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related).directory-container {
    width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related) > .directory-container,
  body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related).directory-container {
    display: block !important;
  }

  body.directory-page :where(.related-generated, .perf-related, .adddays-related, .addmin-related, .addtime-related, .hm-related, .age-related, .sec-related, .month-related, .day-related, .hour-related, .min-related, .hundred-related) h2 {
    margin: 0 0 12px !important;
  }

  body.directory-page :where(.related-generated-grid, .perf-related-grid, .hundred-related-grid, .adddays-related > div, .addmin-related > div, .addtime-related > div, .hm-related > div, .age-related > div, .sec-related > div, .month-related > div, .day-related > div, .hour-related > div, .min-related > div) {
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  body.directory-page :where(.related-generated-grid a, .perf-related-grid a, .hundred-related-grid a, .adddays-related > div > a, .addmin-related > div > a, .addtime-related > div > a, .hm-related > div > a, .age-related > div > a, .sec-related > div > a, .month-related > div > a, .day-related > div > a, .hour-related > div > a, .min-related > div > a) {
    flex: 1 1 calc(50% - 12px) !important;
    min-width: 150px !important;
    max-width: none !important;
  }

  body.directory-page main :where(.related-generated-grid a, .perf-related-grid a, .hundred-related-grid a, .adddays-related > div > a, .addmin-related > div > a, .addtime-related > div > a, .hm-related > div > a, .age-related > div > a, .sec-related > div > a, .month-related > div > a, .day-related > div > a, .hour-related > div > a, .min-related > div > a) {
    max-width: none !important;
  }

  body.directory-page .directory-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
    border-bottom: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    box-shadow: none;
  }

  body.directory-page .header-inner {
    width: 100%;
    height: 60px;
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
    gap: 12px;
    flex-wrap: nowrap;
  }

  body.directory-page .directory-nav,
  body.directory-page .directory-actions .submit-btn {
    display: none;
  }

  body.directory-page .directory-actions {
    gap: 8px;
    margin-left: auto;
    font-size: 13px;
  }

  body.directory-page .directory-actions .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: 110px;
    height: 36px;
    min-height: 36px;
    flex: 0 0 110px;
    padding: 0 10px;
    border: 1px solid #e1ebf5;
    border-radius: 999px;
    background: #fff;
    color: var(--color-ink);
    box-shadow: 0 5px 14px rgba(30, 92, 148, .05);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.42;
  }

  body.directory-page .mobile-menu-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dce8f2;
    border-radius: 14px;
    background: #fff;
    color: var(--color-ink);
    box-shadow: 0 8px 20px rgba(29, 86, 139, .08);
  }

  body.directory-page .footer-inner {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 760px) {
  body.directory-page,
  body.directory-page main {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body.directory-page :where(.related-generated-grid, .perf-related-grid, .hundred-related-grid, .adddays-related > div, .addmin-related > div, .addtime-related > div, .hm-related > div, .age-related > div, .sec-related > div, .month-related > div, .day-related > div, .hour-related > div, .min-related > div) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.directory-page :where(.related-generated-grid a, .perf-related-grid a, .hundred-related-grid a, .adddays-related > div > a, .addmin-related > div > a, .addtime-related > div > a, .hm-related > div > a, .age-related > div > a, .sec-related > div > a, .month-related > div > a, .day-related > div > a, .hour-related > div > a, .min-related > div > a) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
    overflow-wrap: anywhere !important;
  }

  body.directory-page .footer-inner,
  body.directory-page .footer-columns,
  body.directory-page .footer-columns section,
  body.directory-page .footer-meta,
  body.directory-page .footer-brand-block {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.directory-page .footer-inner {
    width: calc(100% - 32px) !important;
  }

  body.directory-page .footer-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  body.directory-page .footer-columns button,
  body.directory-page .footer-columns a {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}
