.tce {
  container-type: inline-size;
  max-width: 1240px;
  margin: 1em auto;
  color: #161616;
  font: 16px/1.45 Arial, Helvetica, sans-serif;
  text-align: start;
  direction: ltr;
}
.tce [hidden] { display: none !important; }
.tce-panel {
  position: relative;
  background: #f1efec;
  border: 1px solid #d8d4ce;
}
.tce-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(12px, 2vw, 24px) 7px;
}
.tce .tce-header h2 {
  margin: 0;
  color: inherit;
  font: bold clamp(17px, 2vw, 21px)/1.25 Arial, Helvetica, sans-serif;
}
.tce ul.tce-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 18px;
  margin: 0;
  padding: 6px clamp(12px, 10vw, 125px) 2px 12px;
  list-style: none;
  font-size: 15px;
}
.tce-legend li { display: inline-flex; align-items: center; gap: 5px; margin: 0; }
.tce-legend li span { width: 15px; height: 15px; flex: none; }
.tce-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px 12px;
}
.tce-controls > span { margin-inline-end: 5px; font-size: 14px; }
.tce .tce-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;
}
.tce .tce-controls button[aria-pressed="true"] {
  background: #223c30;
  color: #fff;
  border-color: #223c30;
}
.tce :focus-visible { outline: 2px solid #172e6b; outline-offset: 2px; }
.tce-scroll, .tce-table-scroll { position: relative; overflow-x: auto; }
.tce-scroll-hint { display: none; margin: 0; padding: 4px 12px; font-size: 13px; }
.tce .tce-svg {
  display: block;
  width: 100%;
  min-width: 1040px;
  max-width: none;
  height: auto;
  font: 15px Arial, Helvetica, sans-serif;
}
.tce-value, .tce-axis { font-weight: bold; }
.tce-year-band { fill: transparent; }
.tce-column.is-year .tce-year-band { fill: #e1ddd5; stroke: #675e51; }
.tce-ready .tce-node { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tce-node:focus-visible { outline: none; }
.tce-node:focus-visible .tce-block,
.tce-node.is-country .tce-block {
  stroke: #171717;
  stroke-width: 2px;
  paint-order: stroke fill;
}
.tce-node:focus-visible .tce-block { stroke-width: 5px; }
.tce-ribbon.is-muted, .tce-crossing.is-muted { opacity: .19; }
.tce-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;
}
.tce p.tce-note { margin: 5px 0 12px; font-size: 14px; font-style: italic; }
.tce-details summary { cursor: pointer; font-weight: bold; }
.tce-details p { margin: 8px 0; font-size: 14px; }
.tce-details table {
  width: 100%;
  min-width: 485px;
  margin: 0;
  border-collapse: collapse;
  color: #161616;
  background: #fff;
  font-size: 14px;
}
.tce-details caption { padding: 6px; font-weight: bold; text-align: left; }
.tce-details td, .tce-details th { border: 1px solid #d8d4ce; padding: 6px 8px; text-align: left; }
.tce-details thead, .tce-details tfoot { background: #f1efec; }
.tce-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@container (width < 1042px) {
  .tce-scroll-hint { display: block; }
  .tce ul.tce-legend { justify-content: flex-start; padding-inline-end: 12px; }
}
@container (width < 550px) {
  .tce .tce-controls button { min-height: 44px; }
}
