/* CityEngine selected market links and map privacy note */
#market-directory #market-selection[data-status="live"] .market-selection-actions {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: stretch;
  gap: .5rem !important;
  margin: .875rem 0 !important;
}
#market-directory #market-selection[data-status="live"] .market-selection-actions > a {
  --market-fill: #29445f;
  --market-edge: #456581;
  --market-hover: #1c354e;
  display: inline-flex !important;
  flex: 1 1 9.25rem !important;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100%;
  min-height: 44px;
  margin: 0 !important;
  padding: .6rem .85rem !important;
  border: 1px solid var(--market-edge) !important;
  border-radius: .65rem;
  background: var(--market-fill) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: 0 !important;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}
#market-directory #market-selection[data-status="live"] .market-selection-actions > a.button--primary {
  --market-fill: #1c558c;
  --market-edge: #487cac;
  --market-hover: #124577;
  flex-basis: 100% !important;
}
#market-directory #market-selection[data-status="live"] .market-selection-actions > a.market-wire {
  --market-fill: #195950;
  --market-edge: #3a776e;
  --market-hover: #11463e;
}
#market-directory #market-selection[data-status="live"] .market-selection-actions > a:is(:hover,:active,:focus-visible) {
  background: var(--market-hover) !important;
}
#market-directory #market-selection[data-status="live"] .market-selection-actions > a:focus-visible,
#market-directory .directory-note a[href$="#map-privacy"]:focus-visible {
  outline: 2px solid white !important;
  outline-offset: 1px;
  box-shadow: 0 0 0 5px #275d93 !important;
}
#market-directory .directory-note:has(> a[href$="#map-privacy"]) {
  background: #192c41 !important;
  color: #e5edf7 !important;
  border: 1px solid #3e536b;
  border-radius: .65rem;
  padding: .75rem 1rem;
  font-size: .9375rem;
  line-height: 1.6;
  text-shadow: none !important;
}
#market-directory .directory-note a[href$="#map-privacy"] {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: .1em;
  background: transparent !important;
  color: #a4d7ff !important;
  -webkit-text-fill-color: currentColor !important;
  -webkit-text-stroke: 0 !important;
  font: inherit;
  font-weight: 650;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: .17em;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}
#market-directory .directory-note a[href$="#map-privacy"]:not(:focus-visible) {
  box-shadow: none !important;
}
html[data-ce-theme="light"] #market-directory .directory-note:has(> a[href$="#map-privacy"]) {
  background: #eaf1f9 !important;
  color: #243e5b !important;
  border-color: #bdcde1;
}
html[data-ce-theme="light"] #market-directory .directory-note a[href$="#map-privacy"] {
  color: #164a7d !important;
}
@media (forced-colors: active) {
  #market-directory #market-selection[data-status="live"] .market-selection-actions > a {
    -webkit-text-fill-color: LinkText !important;
    border-color: LinkText !important;
  }
  #market-directory #market-selection .market-selection-actions > a:focus-visible,
  #market-directory .directory-note a[href$="#map-privacy"]:focus-visible {
    outline: 2px solid Highlight !important;
  }
}

/* CityEngine selected-city map caption, light appearance */
html[data-ce-theme="light"] #market-directory #market-selection p.market-selection-note.selection-note {
  color: #334c68 !important;
}
