.directory-page {
  --atlas-land: #e2eaf5;
  --atlas-active: #345f97;
}
.directory-page h1 {
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  max-width: 900px;
  margin: 0 0 28px;
  white-space: pre-line;
}
.directory-opening {
  padding-block: 76px 44px;
}
.directory-opening .eyebrow {
  color: var(--blue);
}
.directory-intro {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.5;
  max-width: 690px;
  margin: 0;
}
.directory-numbers {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-top: 36px;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}
.directory-numbers > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.directory-numbers dd {
  margin: 0;
  font-size: 48px;
  letter-spacing: -0.045em;
  color: var(--blue);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.directory-numbers dt {
  color: var(--muted);
  font-size: 14px;
}
.atlas-band {
  background: var(--canvas);
  border-block: 1px solid var(--line);
  padding-block: 32px 24px;
}
.atlas-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.atlas-caption h2 {
  font-size: 21px;
  letter-spacing: -0.025em;
  margin: 0;
}
.atlas-caption p {
  color: var(--muted);
  font-size: 13px;
  max-width: 400px;
  margin: 0;
}
.world-atlas {
  width: 100%;
  height: auto;
  max-height: 460px;
  display: block;
  margin: 12px auto 0;
}
.world-atlas path {
  fill: var(--atlas-land);
  stroke: var(--canvas);
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
}
.world-atlas path.mapped {
  fill: #a6bfdf;
}
.world-atlas path.is-highlighted {
  fill: var(--atlas-active);
}
.atlas-footnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.atlas-key {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.atlas-key i {
  width: 10px;
  height: 10px;
  background: #a6bfdf;
}
.directory-ledger {
  padding-block: 56px 72px;
}
.ledger-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 28px;
}
.ledger-heading h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin: 0;
}
.ledger-heading a {
  font-size: 14px;
}
.directory-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}
.directory-filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  min-width: 0;
}
.directory-filters input,
.directory-filters select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #acbdd4;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 11px 12px;
}
.directory-filters input {
  appearance: none;
}
.directory-filters select {
  padding-right: 28px;
}
.directory-filters input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.result-summary,
.result-bar {
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
}
.ledger-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  table-layout: fixed;
}
.ledger-table th,
.ledger-table td {
  border-bottom: 1px solid var(--line);
  padding: 18px 16px;
  text-align: left;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
.ledger-table th:first-child,
.ledger-table td:first-child {
  padding-left: 0;
}
.ledger-table th:last-child,
.ledger-table td:last-child {
  padding-right: 0;
}
.ledger-table thead th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  padding-block: 12px;
}
.ledger-table tbody th {
  font-weight: 500;
}
.ledger-table .numeric {
  text-align: right;
  font-family: var(--mono);
  font-size: 14px;
}
.country-table th:first-child {
  width: 45%;
}
.country-table th:nth-child(2) {
  width: 28%;
}
.country-table th:last-child {
  width: 48px;
}
.country-table tbody tr:hover,
.country-table tbody tr:focus-within {
  background: var(--canvas);
}
.country-table th a {
  display: block;
  padding-block: 6px;
}
.country-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
}
.ledger-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 26px 0 12px;
}
.atlas-credit {
  color: var(--muted);
  font-size: 10px;
}
.directory-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}
.directory-identity strong {
  color: var(--ink);
  font-weight: 600;
}
.directory-identity a {
  margin-left: auto;
}
.company-ledger {
  padding-block: 0 72px;
}
.company-filters {
  grid-template-columns: 1.7fr 1.4fr 1.2fr 1fr;
}
.result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 44px;
}
.result-bar p {
  margin: 0;
}
.directory-reset {
  font-family: var(--sans);
  font-size: 12px;
  border: 0;
  background: transparent;
  color: var(--blue);
  min-height: 44px;
  padding: 8px 0 8px 12px;
}
.company-table th:first-child {
  width: 36%;
}
.company-table th:nth-child(2) {
  width: 23%;
}
.company-table th:nth-child(3) {
  width: 19%;
}
.company-table th:nth-child(4) {
  width: 22%;
}
.company-table td {
  color: var(--muted);
  font-size: 13px;
}
.company-name {
  display: block;
  line-height: 1.4;
}
.company-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}
.company-logo {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  background: var(--white);
}
.company-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-initials {
  font: 500 12px var(--sans);
  color: var(--muted);
}
.company-details {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}
.company-view-switch {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.company-view-switch button {
  min-height: 44px;
  padding: 10px 0;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: 500 13px var(--sans);
}
.company-view-switch button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.company-view-switch button:hover:not(:disabled) {
  color: var(--ink);
}
.company-view-switch button:disabled {
  opacity: 0.55;
  cursor: wait;
}
@media (max-width: 767px) {
  .company-filter-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .company-identity {
    gap: 10px;
    align-items: flex-start;
  }
  .company-logo {
    width: 32px;
    height: 32px;
  }
}
.company-ticker {
  display: block;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.status-text {
  color: var(--ink);
  display: block;
}
.empty-result {
  padding: 40px 0;
  font-size: 15px;
  color: var(--muted);
}
.directory-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
.directory-pagination p {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  text-align: center;
}
.directory-pagination button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
}
.directory-download {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 36px;
  margin-block: 20px 28px;
}
.directory-download p {
  max-width: 670px;
}
.directory-download a {
  flex: none;
  font-size: 13px;
}
.directory-explainer {
  border-block: 1px solid var(--line);
  padding-block: 20px;
  font-size: 13px;
  color: var(--muted);
}
.directory-explainer summary {
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.directory-explainer summary::before {
  content: "+";
  font-size: 22px;
  font-weight: 300;
}
.directory-explainer[open] summary::before {
  content: "−";
}
#status-definitions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  padding-block: 24px;
}
#status-definitions dl {
  margin: 0;
}
#status-definitions dt {
  color: var(--ink);
  margin-bottom: 4px;
}
#status-definitions dd {
  margin: 0;
  line-height: 1.6;
}
.directory-error {
  border-left: 3px solid var(--blue);
  padding: 12px 20px;
  margin-bottom: 20px;
}
.directory-error p {
  font-size: 14px;
}
.directory-footer {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  padding-block: 32px;
  color: var(--muted);
  font-size: 11px;
}
.directory-source {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.directory-footer p {
  max-width: 850px;
  line-height: 1.7;
  margin-block: 16px 28px;
}
.directory-footer .brand {
  font-size: 13px;
}
.coverage-links {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  font-size: 14px;
}
@media (max-width: 1024px) {
  .company-filters {
    grid-template-columns: 1fr 1fr;
  }
  .directory-opening {
    padding-top: 56px;
  }
  .header-inner nav {
    gap: 22px;
  }
}
@media (max-width: 650px) {
  .header-inner nav {
    gap: 12px;
    flex-wrap: wrap;
  }
  .directory-opening {
    padding-block: 40px 32px;
  }
  .directory-page h1 {
    font-size: 47px;
    margin-bottom: 24px;
  }
  .directory-intro {
    font-size: 18px;
  }
  .directory-numbers {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 16px;
    padding-top: 24px;
    margin-top: 28px;
  }
  .directory-numbers dd {
    font-size: 32px;
  }
  .directory-numbers dt {
    font-size: 10px;
  }
  .atlas-caption {
    display: block;
  }
  .atlas-caption h2 {
    font-size: 21px;
    margin-bottom: 10px;
  }
  .atlas-caption p {
    font-size: 12px;
  }
  .world-atlas {
    margin-block: 24px;
  }
  .atlas-footnote {
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }
  .directory-ledger {
    padding-block: 36px 48px;
  }
  .ledger-heading h2 {
    font-size: 24px;
  }
  .ledger-heading a {
    font-size: 12px;
  }
  .directory-filters {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding-block: 20px;
  }
  .directory-filters .search-label {
    grid-column: 1/-1;
  }
  .directory-filters input,
  .directory-filters select {
    font-size: 13px;
    padding-inline: 10px;
  }
  .country-table th:nth-child(2),
  .country-table td:nth-child(2) {
    display: none;
  }
  .country-table th:first-child {
    width: 65%;
  }
  .country-table th:nth-child(3) {
    width: 25%;
  }
  .country-table th:last-child {
    width: 36px;
  }
  .country-action a {
    width: 36px;
  }
  .ledger-table th,
  .ledger-table td {
    padding: 16px 8px;
  }
  .ledger-table .numeric {
    font-size: 12px;
  }
  .country-table {
    font-size: 13px;
  }
  .directory-identity {
    gap: 12px 18px;
    font-size: 11px;
    margin-top: 24px;
    padding-top: 20px;
  }
  .directory-identity a {
    margin-left: 0;
    flex-basis: 100%;
  }
  .company-table th:first-child {
    width: 43%;
  }
  .company-table th:nth-child(2) {
    width: 29%;
  }
  .company-table th:nth-child(3),
  .company-table td:nth-child(3) {
    display: none;
  }
  .company-table th:nth-child(4) {
    width: 28%;
  }
  .company-table {
    font-size: 13px;
  }
  .company-table td {
    font-size: 10px;
  }
  .company-ticker {
    font-size: 9px;
  }
  .company-table thead th {
    font-size: 9px;
  }
  .directory-pagination {
    gap: 10px;
  }
  .directory-pagination button {
    padding: 10px 12px;
    font-size: 12px;
  }
  .directory-pagination p {
    font-size: 10px;
  }
  .directory-download {
    display: block;
    margin-block: 12px 24px;
  }
  .directory-download a {
    display: inline-block;
    padding-block: 8px;
  }
  #status-definitions {
    grid-template-columns: 1fr;
  }
  .directory-source {
    flex-direction: column;
    gap: 6px;
  }
  .directory-footer .footer-bottom {
    gap: 16px;
    flex-wrap: wrap;
  }
  .coverage-links {
    gap: 20px;
    font-size: 12px;
  }
}
.directory-page [hidden] {
  display: none !important;
}
/* A compact company index: search first, then three independent dimensions */
.directory-page[data-view="companies"] .directory-opening {
  padding-block: 48px 28px;
}
.directory-page[data-view="companies"] h1 {
  font-size: clamp(38px, 4vw, 56px);
  margin-bottom: 18px;
}
.directory-page[data-view="companies"] .directory-intro {
  font-size: 18px;
  max-width: 800px;
}
.directory-page[data-view="companies"] .directory-identity {
  margin-top: 28px;
  padding-top: 18px;
}
.company-filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.company-filter-heading h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.company-filters {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px 24px;
  padding-block: 18px 24px;
  border-top: 0;
}
.company-filters .search-label {
  grid-column: 1 / 3;
}
.company-filters input,
.company-filters select {
  min-height: 52px;
  border-color: var(--line);
  border-radius: 6px;
}
.company-filters input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.company-search-control {
  position: relative;
}
.company-search-control svg {
  position: absolute;
  width: 19px;
  height: 19px;
  top: 17px;
  left: 16px;
  stroke: var(--muted);
  stroke-width: 1.5;
  fill: none;
  pointer-events: none;
}
.company-search-control input {
  padding-left: 46px;
  background: var(--canvas);
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.active-filters[hidden] {
  display: none;
}
.active-filters button {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  min-height: 44px;
  max-width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-size: 12px;
  overflow-wrap: anywhere;
  text-align: left;
}
.active-filters button:hover {
  border-color: var(--accent);
}
.company-ledger .result-bar {
  margin: 16px 0 8px;
  min-height: 32px;
}
.market-cap-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
}
.market-cap-note p {
  margin: 0;
}
.market-cap-note a {
  color: var(--accent);
  text-decoration: underline;
}
.company-table th:first-child {
  width: 32%;
}
.company-table th:nth-child(2) {
  width: 18%;
}
.company-table th:nth-child(3) {
  width: 14%;
}
.company-table th:nth-child(4) {
  width: 18%;
}
.company-table th:nth-child(5) {
  width: 18%;
}
.company-table .market-cap-heading,
.company-table .market-cap-cell {
  text-align: right;
}
.market-cap-heading small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  margin-top: 4px;
}
.company-table .market-cap-cell {
  font-family: var(--mono);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.market-cap-cell a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}
.market-cap-cell a:hover {
  text-decoration-color: var(--accent);
  color: var(--accent);
}
.company-context,
.company-status-mobile {
  display: none;
}
.company-table tbody tr:hover {
  background: var(--canvas);
}
.company-ledger[aria-busy="true"] .company-table tbody {
  opacity: 0.5;
}
@media (max-width: 1024px) {
  .company-filters {
    gap: 18px 16px;
  }
  .company-filters input,
  .company-filters select {
    font-size: 14px;
  }
  .company-table .market-cap-cell {
    font-size: 14px;
  }
  .company-table td {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .directory-page[data-view="companies"] .directory-opening {
    padding-block: 32px 20px;
  }
  .directory-page[data-view="companies"] .directory-intro {
    font-size: 16px;
  }
  .company-filters {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }
  .company-filters .search-label {
    grid-column: 1/-1;
  }
  .company-filters .sort-label,
  .company-filters .country-label {
    grid-column: auto;
  }
  .company-filters .status-label {
    grid-column: auto;
  }
  .company-filters select {
    font-size: 13px;
  }
  .company-filter-heading h2 {
    font-size: 18px;
  }
  .market-cap-note {
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
  }
  .company-table th:first-child {
    width: 65%;
  }
  .company-table th:nth-child(2),
  .company-table td:nth-child(2),
  .company-table th:nth-child(3),
  .company-table td:nth-child(3),
  .company-table th:nth-child(4),
  .company-table td:nth-child(4) {
    display: none;
  }
  .company-table th:nth-child(5) {
    width: 35%;
  }
  .company-context,
  .company-status-mobile {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 6px;
  }
  .company-table .market-cap-cell {
    font-size: 14px;
    vertical-align: top;
    padding-top: 19px;
  }
  .company-table thead th {
    font-size: 10px;
  }
}

/* ReasyPort's compact search / sector / reset row, in GFC's own blue */
.company-filters {
  display: block;
  padding-block: 16px 24px;
}
.company-filter-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}
.company-filter-primary .search-label {
  grid-column: auto;
  display: block;
}
.company-filter-primary input,
.company-filter-primary select {
  min-height: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  background-color: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding-block: 0;
}
.company-filter-primary input {
  padding-right: 44px;
  padding-left: 40px;
}
.company-filter-primary input::placeholder {
  color: var(--white);
  opacity: 0.88;
}
.company-filter-primary input::-webkit-search-cancel-button {
  appearance: none;
}
.company-filter-primary .company-search-control > svg {
  top: 14px;
  left: 14px;
  width: 16px;
  height: 16px;
  stroke: var(--white);
}
.company-filter-primary select {
  appearance: none;
  padding-inline: 16px 36px;
  text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.company-filter-primary select option {
  color: var(--ink);
  background: var(--white);
}
.company-filter-primary input:hover,
.company-filter-primary select:hover {
  background-color: #284b79;
  border-color: #284b79;
}
.company-filter-primary input:disabled,
.company-filter-primary select:disabled {
  opacity: 0.55;
  cursor: wait;
}
.company-filter-reset {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
}
.company-filter-reset svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.company-filter-reset:hover:not(:disabled) {
  background: var(--canvas);
  color: var(--accent);
}
.company-search-control {
  display: block;
}
.company-search-clear {
  position: absolute;
  right: 4px;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  color: var(--white);
}
.company-search-clear svg {
  position: static;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.company-search-clear:hover {
  background: #284b79;
}
.company-search-clear:focus-visible {
  outline-color: var(--white);
  outline-offset: -5px;
}
.company-filter-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.company-filter-secondary select {
  min-height: 44px;
  height: 44px;
  border-radius: 14px;
  padding-block: 0;
  font-size: 13px;
  background-color: var(--white);
  color: var(--ink);
}
.company-filter-secondary select:hover {
  border-color: var(--accent);
}
@media (max-width: 650px) {
  .company-filter-primary {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
  }
  .company-filter-primary .search-label {
    grid-column: 1 / -1;
  }
  .company-filter-primary .sector-label {
    grid-column: 1;
  }
  .company-filter-secondary {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 20px;
  }
}

/* Profile-style filter windows rendered inside the site */
.directory-select-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
}
.directory-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-align: left;
}
.directory-select-trigger > svg,
.directory-select-close svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.directory-select-trigger[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}
.directory-select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.directory-select-trigger:hover:not(:disabled),
.directory-select-trigger[aria-expanded="true"] {
  border-color: var(--accent);
}
.directory-select-trigger:disabled {
  opacity: 0.55;
  cursor: wait;
}
.company-filters .directory-select-trigger {
  height: 44px;
  min-height: 44px;
  padding-block: 0;
}
.company-filter-primary .directory-select-trigger {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
  padding-inline: 16px;
}
.company-filter-primary .directory-select-value {
  flex: 1;
  text-align: center;
}
.company-filter-primary .directory-select-trigger:hover:not(:disabled) {
  background: #284b79;
}
.directory-select-panel {
  position: fixed;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 40px #16181c1a;
  font: 13px/1.4 var(--sans);
  text-align: left;
}
.directory-select-heading {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 8px 6px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.directory-select-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
}
.directory-select-close:hover {
  background: var(--canvas);
  color: var(--ink);
}
.directory-select-search {
  flex: none;
  width: calc(100% - 24px);
  min-height: 44px;
  margin: 12px 12px 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
}
.directory-select-search::placeholder {
  color: var(--muted);
  opacity: 1;
}
.directory-select-options {
  position: relative;
  min-height: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.directory-select-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 11px 10px;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.directory-select-option:hover,
.directory-select-option.is-active {
  background: var(--canvas);
}
.directory-select-option[aria-selected="true"] {
  background: #e3ecf8;
}
.directory-select-check {
  visibility: hidden;
  color: var(--accent);
  font-size: 17px;
  font-weight: 600;
  text-align: right;
}
.directory-select-option[aria-selected="true"] .directory-select-check {
  visibility: visible;
}
.directory-select-options:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
.directory-select-options:focus-visible .is-active {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.directory-select-empty {
  padding: 14px 16px 18px;
  color: var(--muted);
}
@media (max-width: 767px) {
  .directory-select-search {
    font-size: 16px;
  }
}
