.feg-ch-search {
  --feg-red: #e10600;
  --feg-red-dark: #b90500;
  --feg-black: #070707;
  --feg-cream: #f5f3ef;
  --feg-line: #ddd9d2;
  --feg-muted: #69645e;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: var(--feg-cream);
  color: #171717;
  font-family: "Space Grotesk", Arial, sans-serif;
}

.feg-ch-search,
.feg-ch-search * {
  box-sizing: border-box;
}

.feg-ch-search .feg-ch-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.feg-ch-search .feg-ch-hero {
  padding: clamp(70px, 8vw, 112px) 0 clamp(76px, 8vw, 110px);
  background: var(--feg-black);
  color: #fff;
}

.feg-ch-search .feg-ch-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--feg-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feg-ch-search .feg-ch-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  flex: 0 0 34px;
  background: var(--feg-red);
}

.feg-ch-search h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: #fff;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.feg-ch-search .feg-ch-hero p {
  max-width: 760px;
  margin: 0;
  color: #c7c4bf;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.feg-ch-search .feg-ch-body {
  padding-bottom: clamp(62px, 7vw, 90px);
  background: var(--feg-cream);
}

.feg-ch-search .feg-ch-panel {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: -42px auto 0;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--feg-line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

.feg-ch-search label {
  display: block;
  margin-bottom: 9px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.feg-ch-search input[type="search"] {
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid #bdb8b0;
  border-radius: 8px;
  background: #fff;
  color: #111;
  outline: none;
  font: inherit;
  font-size: 18px;
}

.feg-ch-search input[type="search"]:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, .12);
}

.feg-ch-search .feg-ch-status {
  min-height: 24px;
  margin-top: 12px;
  color: var(--feg-muted);
  font-size: 14px;
  line-height: 1.5;
}

.feg-ch-search.is-loading .feg-ch-status::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 2px solid #d7d2ca;
  border-top-color: var(--feg-red);
  border-radius: 50%;
  vertical-align: -2px;
  animation: feg-ch-spin .7s linear infinite;
}

@keyframes feg-ch-spin {
  to { transform: rotate(360deg); }
}

.feg-ch-search .feg-ch-results {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.feg-ch-search .feg-ch-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--feg-line);
  background: #fff;
}

.feg-ch-search .feg-ch-card-main {
  min-width: 0;
}

.feg-ch-search .feg-ch-card h3 {
  margin: 0 0 9px;
  color: #111;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.feg-ch-search .feg-ch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #68635d;
  font-size: 14px;
  line-height: 1.5;
}

.feg-ch-search .feg-ch-address {
  margin: 13px 0 0;
  color: #55504a;
  font-size: 15px;
  line-height: 1.55;
}

.feg-ch-search .feg-ch-link {
  display: inline-block;
  margin-top: 14px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration-color: var(--feg-red);
  text-underline-offset: 4px;
}

.feg-ch-search .feg-ch-link:hover {
  color: var(--feg-red-dark);
}

.feg-ch-search .feg-ch-pill {
  align-self: start;
  padding: 7px 10px;
  border: 1px solid #cfcac2;
  background: #f8f6f3;
  color: #292623;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.feg-ch-search .feg-ch-message {
  padding: 18px;
  border-left: 4px solid var(--feg-red);
  background: #f3f0eb;
  color: #3d3935;
}

.feg-ch-search .feg-ch-foot {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 30px;
  color: #6b665f;
  font-size: 14px;
  line-height: 1.65;
}

.feg-ch-search .feg-ch-foot strong {
  color: #171717;
}

@media (max-width: 700px) {
  .feg-ch-search .feg-ch-wrap,
  .feg-ch-search .feg-ch-panel,
  .feg-ch-search .feg-ch-foot {
    width: min(100% - 32px, 1120px);
  }

  .feg-ch-search .feg-ch-hero {
    padding-top: 58px;
    padding-bottom: 78px;
  }

  .feg-ch-search .feg-ch-panel {
    margin-top: -28px;
    padding: 22px;
  }

  .feg-ch-search input[type="search"] {
    min-height: 56px;
    font-size: 16px;
  }

  .feg-ch-search .feg-ch-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .feg-ch-search .feg-ch-pill {
    justify-self: start;
  }
}


.feg-ch-search .feg-ch-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}

.feg-ch-search .feg-ch-more-wrap[hidden] {
  display: none !important;
}

.feg-ch-search .feg-ch-more {
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid #171717;
  border-radius: 6px;
  background: #171717;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.feg-ch-search .feg-ch-more:hover {
  background: var(--feg-red);
  border-color: var(--feg-red);
}

.feg-ch-search .feg-ch-more:disabled {
  opacity: .65;
  cursor: wait;
}


/* Filters — v1.5.0 */
.feg-ch-search .feg-ch-filter-shell {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--feg-line);
  background: #f8f6f2;
  transition: opacity .2s ease;
}

.feg-ch-search .feg-ch-filter-shell.is-disabled {
  opacity: .55;
}

.feg-ch-search .feg-ch-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.feg-ch-search .feg-ch-filter-head strong {
  display: block;
  color: #171717;
  font-size: 15px;
  line-height: 1.3;
}

.feg-ch-search .feg-ch-filter-head span {
  display: block;
  margin-top: 3px;
  color: #77716a;
  font-size: 13px;
  line-height: 1.45;
}

.feg-ch-search .feg-ch-reset {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--feg-red);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.feg-ch-search .feg-ch-reset:disabled {
  opacity: .5;
  cursor: default;
}

.feg-ch-search .feg-ch-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feg-ch-search .feg-ch-filters label {
  display: block;
  margin: 0;
}

.feg-ch-search .feg-ch-filters label > span {
  display: block;
  margin-bottom: 7px;
  color: #37332f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.feg-ch-search .feg-ch-filters select,
.feg-ch-search .feg-ch-filters input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #c8c2ba;
  border-radius: 5px;
  background: #fff;
  color: #191919;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.feg-ch-search .feg-ch-filters select:focus,
.feg-ch-search .feg-ch-filters input:focus {
  border-color: #171717;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, .1);
}

.feg-ch-search .feg-ch-filters select:disabled,
.feg-ch-search .feg-ch-filters input:disabled {
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .feg-ch-search .feg-ch-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .feg-ch-search .feg-ch-filter-shell {
    padding: 16px;
  }

  .feg-ch-search .feg-ch-filter-head {
    align-items: center;
  }

  .feg-ch-search .feg-ch-filter-head span {
    display: none;
  }

  .feg-ch-search .feg-ch-filters {
    grid-template-columns: 1fr;
  }
}


/* Company detail experience — v1.6.0 */
.feg-ch-search .feg-ch-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.feg-ch-search .feg-ch-detail-btn {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--feg-black);
  border-radius: 5px;
  background: var(--feg-black);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.feg-ch-search .feg-ch-detail-btn:hover {
  border-color: var(--feg-red);
  background: var(--feg-red);
}

.feg-ch-search .feg-ch-recent {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--feg-line);
  background: #fff;
}

.feg-ch-search .feg-ch-recent[hidden] {
  display: none !important;
}

.feg-ch-search .feg-ch-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.feg-ch-search .feg-ch-recent-head strong {
  font-size: 13px;
}

.feg-ch-search .feg-ch-recent-head button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--feg-red);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.feg-ch-search .feg-ch-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feg-ch-search .feg-ch-recent-list button {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  max-width: 260px;
  padding: 9px 11px;
  border: 1px solid var(--feg-line);
  border-radius: 5px;
  background: #f8f6f2;
  color: #171717;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.feg-ch-search .feg-ch-recent-list button:hover {
  border-color: #171717;
  background: #fff;
}

.feg-ch-search .feg-ch-recent-list strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feg-ch-search .feg-ch-recent-list span {
  color: var(--feg-muted);
  font-size: 11px;
}

html.feg-ch-detail-open,
html.feg-ch-detail-open body {
  overflow: hidden !important;
}

.feg-ch-search .feg-ch-detail-layer {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.feg-ch-search .feg-ch-detail-layer[hidden] {
  display: none !important;
}

.feg-ch-search .feg-ch-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .72);
  backdrop-filter: blur(4px);
}

.feg-ch-search .feg-ch-detail-dialog {
  position: absolute;
  top: 0;
  right: 0;
  width: min(760px, 94vw);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #171717;
  box-shadow: -24px 0 70px rgba(0, 0, 0, .25);
}

.feg-ch-search .feg-ch-detail-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--feg-line);
  background: #fff;
}

.feg-ch-search .feg-ch-detail-kicker {
  margin-bottom: 7px;
  color: var(--feg-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feg-ch-search .feg-ch-detail-header h2 {
  margin: 0;
  color: #111;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.feg-ch-search .feg-ch-detail-subtitle {
  margin-top: 8px;
  color: var(--feg-muted);
  font-size: 13px;
  line-height: 1.4;
}

.feg-ch-search .feg-ch-detail-close {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--feg-line);
  border-radius: 50%;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 30px;
  line-height: 36px;
  cursor: pointer;
}

.feg-ch-search .feg-ch-detail-close:hover {
  border-color: #111;
}

.feg-ch-search .feg-ch-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--feg-line);
  background: #f8f6f2;
}

.feg-ch-search .feg-ch-detail-actions button,
.feg-ch-search .feg-ch-detail-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #c9c3bb;
  border-radius: 5px;
  background: #fff;
  color: #171717;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.feg-ch-search .feg-ch-detail-actions button:hover,
.feg-ch-search .feg-ch-detail-actions a:hover {
  border-color: #171717;
}

.feg-ch-search .feg-ch-detail-actions button:disabled {
  opacity: .45;
  cursor: wait;
}

.feg-ch-search .feg-ch-detail-tabs {
  position: sticky;
  top: 108px;
  z-index: 3;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--feg-line);
  background: #fff;
}

.feg-ch-search .feg-ch-detail-tabs button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 17px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #68625c;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.feg-ch-search .feg-ch-detail-tabs button.is-active {
  border-bottom-color: var(--feg-red);
  color: #111;
}

.feg-ch-search .feg-ch-detail-content {
  min-height: 300px;
  padding: 28px 30px 34px;
}

.feg-ch-search .feg-ch-detail-loading,
.feg-ch-search .feg-ch-detail-empty,
.feg-ch-search .feg-ch-detail-error {
  padding: 24px;
  border: 1px solid var(--feg-line);
  background: #f8f6f2;
  color: var(--feg-muted);
  font-size: 14px;
  line-height: 1.6;
}

.feg-ch-search .feg-ch-detail-error {
  border-left: 4px solid var(--feg-red);
  color: #4a2825;
}

.feg-ch-search .feg-ch-detail-warnings {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.feg-ch-search .feg-ch-detail-warnings span {
  display: inline-flex;
  padding: 7px 9px;
  border: 1px solid #e2b8b4;
  background: #fff4f3;
  color: #7a211b;
  font-size: 11px;
  font-weight: 700;
}

.feg-ch-search .feg-ch-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--feg-line);
  background: var(--feg-line);
}

.feg-ch-search .feg-ch-profile-grid > div {
  min-width: 0;
  padding: 17px 18px;
  background: #fff;
}

.feg-ch-search .feg-ch-profile-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--feg-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.feg-ch-search .feg-ch-profile-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.4;
}

.feg-ch-search .feg-ch-detail-section {
  margin-top: 26px;
}

.feg-ch-search .feg-ch-detail-section h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 16px;
}

.feg-ch-search .feg-ch-detail-section p {
  margin: 0;
  color: #4d4843;
  font-size: 14px;
  line-height: 1.65;
}

.feg-ch-search .feg-ch-tags,
.feg-ch-search .feg-ch-inline-facts,
.feg-ch-search .feg-ch-psc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.feg-ch-search .feg-ch-tags span,
.feg-ch-search .feg-ch-psc-controls span {
  padding: 7px 9px;
  border: 1px solid var(--feg-line);
  background: #f8f6f2;
  font-size: 11px;
  font-weight: 700;
}

.feg-ch-search .feg-ch-inline-facts span {
  padding-right: 14px;
  color: #56504a;
  font-size: 13px;
}

.feg-ch-search .feg-ch-detail-count {
  margin-bottom: 13px;
  color: var(--feg-muted);
  font-size: 12px;
  font-weight: 700;
}

.feg-ch-search .feg-ch-detail-list {
  display: grid;
  gap: 9px;
}

.feg-ch-search .feg-ch-detail-list > div,
.feg-ch-search .feg-ch-detail-list article {
  padding: 15px 16px;
  border: 1px solid var(--feg-line);
  background: #fff;
}

.feg-ch-search .feg-ch-detail-list > div strong,
.feg-ch-search .feg-ch-detail-list article > strong {
  display: block;
  margin-bottom: 6px;
  color: #111;
  font-size: 14px;
}

.feg-ch-search .feg-ch-detail-list > div > span,
.feg-ch-search .feg-ch-detail-list article > div > span {
  display: inline-block;
  margin: 0 10px 5px 0;
  color: var(--feg-muted);
  font-size: 12px;
  line-height: 1.45;
}

.feg-ch-search .feg-ch-psc-controls {
  margin-top: 9px;
}

.feg-ch-search .feg-ch-filings {
  display: grid;
  gap: 0;
  border: 1px solid var(--feg-line);
}

.feg-ch-search .feg-ch-filings article {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--feg-line);
}

.feg-ch-search .feg-ch-filings article:last-child {
  border-bottom: 0;
}

.feg-ch-search .feg-ch-filings time {
  color: var(--feg-muted);
  font-size: 12px;
  font-weight: 700;
}

.feg-ch-search .feg-ch-filings strong {
  display: block;
  margin-bottom: 5px;
  color: #111;
  font-size: 13px;
  line-height: 1.45;
}

.feg-ch-search .feg-ch-filings span {
  color: var(--feg-muted);
  font-size: 11px;
}

.feg-ch-search .feg-ch-detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 30px 30px;
  padding: 20px;
  background: var(--feg-black);
  color: #fff;
}

.feg-ch-search .feg-ch-detail-cta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.feg-ch-search .feg-ch-detail-cta span {
  display: block;
  color: #bdb9b4;
  font-size: 12px;
}

.feg-ch-search .feg-ch-detail-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 5px;
  background: var(--feg-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.feg-ch-search .feg-ch-detail-cta a:hover {
  background: var(--feg-red-dark);
}

@media (max-width: 680px) {
  .feg-ch-search .feg-ch-card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .feg-ch-search .feg-ch-detail-dialog {
    width: 100%;
  }

  .feg-ch-search .feg-ch-detail-header {
    padding: 21px 18px 17px;
  }

  .feg-ch-search .feg-ch-detail-tabs {
    top: 94px;
  }

  .feg-ch-search .feg-ch-detail-actions,
  .feg-ch-search .feg-ch-detail-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feg-ch-search .feg-ch-profile-grid {
    grid-template-columns: 1fr;
  }

  .feg-ch-search .feg-ch-filings article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feg-ch-search .feg-ch-detail-cta {
    grid-template-columns: 1fr;
    margin: 0 18px 22px;
  }

  .feg-ch-search .feg-ch-detail-cta a {
    width: 100%;
  }
}
