:is(.jq-select, .select-control, .cc-select-wrap) {
  position: relative;
  min-width: 0;
  width: 100%;
}
:is(.jq-select-trigger, .select-trigger, .cc-select-trigger) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 0 13px;
  border: 1px solid #dfd6d2;
  border-radius: 12px;
  background: #fff;
  color: var(--pp-ink, var(--ink, #241814));
  font: inherit;
  font-size: var(--type-card-body, 14px);
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
:is(.jq-select-trigger:hover, .select-trigger:hover, .cc-select-trigger:hover),
:is(
  .jq-select.is-open .jq-select-trigger,
  .select-control.open .select-trigger,
  .cc-select-wrap.is-open .cc-select-trigger
),
:is(
  .jq-select-trigger:focus-visible,
  .select-trigger:focus-visible,
  .cc-select-trigger:focus-visible
) {
  border-color: var(
    --product-theme,
    var(--cc-primary, var(--media, var(--primary, #5f96fa)))
  );
  outline: 0;
  box-shadow: 0 0 0 4px
    color-mix(
      in srgb,
      var(--product-theme, var(--cc-primary, var(--media, #5f96fa))) 14%,
      transparent
    );
}
:is(.select-trigger > span[aria-hidden="true"]) {
  display: block;
  width: 8px;
  height: 8px;
  flex: none;
  margin: -4px 3px 0 12px;
  border-right: 1.5px solid
    var(--product-theme, var(--cc-primary, var(--media, #5f96fa)));
  border-bottom: 1.5px solid
    var(--product-theme, var(--cc-primary, var(--media, #5f96fa)));
  color: transparent;
  font-size: 0;
  transform: rotate(45deg);
  transition: transform 0.18s;
}
:is(
  .select-control.open .select-trigger > span[aria-hidden="true"],
  .cc-select-wrap.is-open .cc-select-trigger > span[aria-hidden="true"]
) {
  transform: rotate(225deg) translate(-1px, -1px);
}
:is(.jq-select-menu, .select-menu, .cc-select-menu) {
  z-index: 120;
  gap: 4px;
  padding: 7px;
  border: 1px solid
    color-mix(
      in srgb,
      var(--product-theme, var(--cc-primary, var(--media, #5f96fa))) 18%,
      #eadfda
    );
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 16px 34px #352a2524;
}
:is(.jq-select-menu[hidden], .select-menu[hidden], .cc-select-menu[hidden]) {
  display: none;
}
:is(.jq-select-menu, .cc-select-menu) {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
}
:is(.jq-select-option, .select-menu button, .cc-select-option) {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--pp-ink, var(--ink, #241814));
  font: inherit;
  font-size: var(--type-card-body, 14px);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}
:is(
  .jq-select-option:hover,
  .jq-select-option:focus-visible,
  .select-menu button:hover,
  .cc-select-option:hover
),
:is(
  .jq-select-option[aria-selected="true"],
  .select-menu button[aria-selected="true"],
  .cc-select-option[aria-selected="true"]
) {
  background: var(
    --product-theme-30,
    var(--cc-primary-soft, var(--media-soft, #eef5ff))
  );
  color: color-mix(
    in srgb,
    var(--product-theme, var(--cc-primary, var(--media, #5f96fa))) 72%,
    #241814
  );
  outline: 0;
}
.jq-select {
  display: block;
}
.jq-select-trigger {
  position: relative;
}
.jq-select-menu {
  position: absolute;
  display: grid;
}
.jq-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.product-project-page .pp-step.is-dropdown-open {
  overflow: visible;
}
@media (max-width: 760px) {
  :is(.jq-select-menu, .select-menu, .cc-select-menu) {
    max-height: 48vh;
    overflow-y: auto;
  }
}
.header {
  height: 66px;
  position: sticky;
  top: 0;
  z-index: 90;
  background: #faf7f1;
  border-bottom: 1px solid rgba(232, 223, 212, 0.8);
  font-family: var(--font-sans);
}
.header .shell.header-in {
  width: min(var(--header-max), calc(100% - 60px));
  margin-inline: auto;
}
.header a {
  color: inherit;
  text-decoration: none;
}
.header-in {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  width: var(--header-edge-width);
  gap: 11px;
  font-weight: 950;
  font-size: 22px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-mark {
  width: 36px;
  height: 33px;
  border-radius: 0;
  background: transparent url("/ai-market/site-assets/3f3a5a7dc50eb3ff39a6.svg")
    center/contain no-repeat;
  display: block;
  color: transparent;
  font-size: 0;
  box-shadow: none;
  flex: 0 0 auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
  height: auto;
}
.nav a {
  height: auto;
  padding: 24px 0 20px;
  display: block;
  position: relative;
  color: #2d2b29;
  white-space: nowrap;
}
.nav a.active {
  color: var(--jq-brand);
}
.nav a.active:after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 999px;
  left: 0;
  right: 0;
  bottom: 9px;
  background: var(--jq-brand);
  width: auto;
}
.head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
  width: var(--header-edge-width);
}
.top-search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  width: auto;
  height: 38px;
  border: 1px solid #e8dfd4;
  border-radius: 999px;
  background: #fff;
  gap: 8px;
  padding: 0 12px;
  color: #9b948d;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
}
.top-search span:first-child {
  font-size: 22px;
  line-height: 1;
  color: #68615b;
}
.top-search span:last-child {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.me {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
}
.avatar {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8e5ff
    url("/ai-market/site-assets/74091da41c58462e5fd6.webp") -72px -7px/120px
    auto no-repeat;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px #0000001a;
}
.avatar:before,
.avatar:after {
  display: none;
}
.menu-toggle {
  display: none;
}
@media (max-width: 1180px) {
  .header-in {
    gap: 14px;
  }
  .nav {
    gap: 17px;
  }
  .brand,
  .head-actions {
    width: 150px;
  }
}
@media (max-width: 900px) {
  .top-search {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
  }
  .top-search span:last-child {
    display: none;
  }
  .nav {
    gap: 12px;
    font-size: 12px;
  }
  .brand {
    font-size: 19px;
  }
}
@media (max-width: 760px) {
  .header {
    height: 62px;
  }
  .header .shell.header-in {
    width: min(var(--header-max), calc(100% - 28px));
  }
  .header-in {
    position: relative;
    display: flex;
    gap: 8px;
  }
  .brand {
    width: auto;
    font-size: 18px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .menu-toggle {
    display: flex;
    order: 3;
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 1px solid #e8dfd4;
    border-radius: 10px;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: #222;
  }
  .nav {
    display: none;
    position: absolute;
    top: 61px;
    left: -14px;
    right: -14px;
    background: #fffdf9;
    border: 1px solid #e8dfd4;
    box-shadow: 0 20px 30px #2818121f;
    border-radius: 0 0 18px 18px;
    padding: 8px 16px 16px;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    z-index: 95;
    font-size: 15px;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    height: auto;
    padding: 12px 10px;
  }
  .nav a.active:after {
    left: 10px;
    right: auto;
    width: 32px;
    bottom: 5px;
  }
  .head-actions {
    margin-left: auto;
    width: auto;
    gap: 9px;
  }
  .top-search {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
  }
  .me,
  .avatar {
    width: 31px;
    height: 31px;
  }
}
@media print {
  .header {
    display: none !important;
  }
}
@media (max-width: 420px) {
  .brand {
    font-size: 16px;
    gap: 7px;
  }
  .head-actions {
    gap: 4px;
  }
}
.header-in:has(.partner-cta) .head-actions {
  width: 190px;
}
.top-search.partner-cta {
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  height: 40px;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(108deg, #3f82ff, #50a3ff 42%, #ff805b);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  overflow: visible;
  box-shadow:
    inset 0 1px #ffffff6b,
    0 5px 13px #3b82fd2e;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
}
.top-search.partner-cta:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px 9px -5px;
  border-radius: inherit;
  background: linear-gradient(108deg, #4385ff, #54adff 42%, #ff8967);
  filter: blur(11px);
  opacity: 0.34;
  transform: translateY(3px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}
.top-search.partner-cta:after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #fff3, #fff0 62%);
  pointer-events: none;
}
.top-search.partner-cta span {
  position: relative;
  z-index: 1;
}
.top-search.partner-cta span:first-child {
  font-size: 14px;
  color: inherit;
}
.top-search.partner-cta span:last-child {
  display: block;
  flex: none;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
}
.top-search.partner-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow:
    inset 0 1px #ffffff80,
    0 8px 20px #ff805b38;
}
.top-search.partner-cta:hover:before {
  opacity: 0.58;
  transform: translateY(5px) scale(1.02);
}
.top-search.partner-cta:active {
  transform: translateY(0) scale(0.98);
}
.top-search.partner-cta:focus-visible {
  outline: 2px solid #1f5ed4;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .top-search.partner-cta {
    width: auto;
    height: 38px;
    justify-content: center;
    padding: 0 8px;
  }
  .top-search.partner-cta span:last-child {
    display: block;
  }
}
@media (max-width: 760px) {
  .header-in:has(.partner-cta) .head-actions {
    width: auto;
  }
  .top-search.partner-cta {
    width: max-content;
    min-width: max-content;
    height: 34px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    font-size: 10px;
    gap: 4px;
  }
  .top-search.partner-cta span:first-child {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .top-search.partner-cta,
  .top-search.partner-cta:before {
    transition: none;
  }
}
