.sxc {
  container-type: inline-size;
  max-width: 1240px;
  margin: 1em auto;
  direction: ltr;
  color: #161616;
  font: 16px/1.45 Arial, Helvetica, sans-serif;
}
.sxc [hidden] { display: none !important; }
.sxc-panel {
  position: relative;
  border: 1px solid #d8d4ce;
  background: #f1efec;
  padding: 14px clamp(8px, 2vw, 22px) 12px;
}
.sxc .sxc-panel h2 {
  margin: 0 0 10px;
  color: inherit;
  font: bold clamp(17px, 2vw, 21px)/1.25 Arial, Helvetica, sans-serif;
}
.sxc ul.sxc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
  font-size: 14px;
}
.sxc-legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.sxc-legend span { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sxc-dot-investment { background: #f5aa00; }
.sxc-dot-jobs { background: #4e9068; }
.sxc-controls { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.sxc .sxc-controls button {
  appearance: none;
  margin: 0;
  padding: 5px 10px;
  min-height: 36px;
  background: #fff;
  color: #202020;
  border: 1px solid #77716b;
  border-radius: 4px;
  box-shadow: none;
  font: 600 14px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
.sxc .sxc-controls button[aria-pressed="true"] { background: #223c30; border-color: #223c30; color: #fff; }
.sxc :focus-visible { outline: 2px solid #172e6b; outline-offset: 2px; }
.sxc .sxc-plot { display: block; width: 100%; max-width: none; height: auto; font: 15px Arial, Helvetica, sans-serif; }
.sxc .sxc-mobile { display: none; }
.sxc-stripes { fill: #e3dfd9; }
.sxc-grid { stroke: #c7c5c2; stroke-width: 1.5; }
.sxc-axes { fill: #161616; pointer-events: none; }
.sxc-hit { fill: transparent; stroke: transparent; stroke-width: 2; }
.sxc-ready .sxc-row { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sxc-row:focus-visible { outline: none; }
.sxc-row.is-active .sxc-hit { fill: #fff; fill-opacity: .22; stroke: #6b745f; }
.sxc-row:focus-visible .sxc-hit { stroke: #172e6b; }
.sxc-link { stroke-width: 6; }
.sxc-link-investment { stroke: #efca7e; }
.sxc-link-jobs { stroke: #93bba2; }
.sxc-investment circle { fill: #f5aa00; stroke: #f1efec; stroke-width: 1; }
.sxc-investment text { fill: #795400; }
.sxc-jobs circle { fill: #4e9068; }
.sxc-jobs text { fill: #306745; }
.sxc[data-mode="jobs"] .sxc-investment circle,
.sxc[data-mode="investment"] .sxc-jobs circle,
.sxc[data-mode="jobs"] .sxc-link,
.sxc[data-mode="investment"] .sxc-link { opacity: .3; }
.sxc-tooltip {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  max-width: calc(100% - 16px);
  padding: 6px 9px;
  border-radius: 4px;
  background: #1d2521;
  color: #fff;
  font-size: 14px;
  pointer-events: none;
}
.sxc-details { margin-top: 10px; }
.sxc-details summary { cursor: pointer; font-weight: bold; }
.sxc-details table { width: 100%; margin: 6px 0 0; border-collapse: collapse; font-size: 14px; }
.sxc-details caption { text-align: left; font-weight: bold; padding: 6px; }
.sxc-details th, .sxc-details td { padding: 5px; border: 1px solid #d8d4ce; text-align: left; overflow-wrap: anywhere; }
.sxc-details thead { background: #f1efec; }
@container (width < 890px) {
  .sxc .sxc-mobile { display: block; max-width: 530px; margin: auto; }
  .sxc .sxc-desktop { display: none; }
}
@container (width < 550px) {
  .sxc .sxc-controls button { min-height: 44px; }
}
