@import url("../assets/css/tokens.css");

:root {
  --e26-bloc-bar-a: #0011ac;
  --e26-bloc-bar-b: #696c75;
  --e26-bloc-bar-c: #0086d3;
}

html,
body {
  margin: 0;
  min-height: 100%;
  direction: rtl;
  background-color: #0011ac;
  background-image: url("img/bg-flags.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.e26-hub.e26-hub--boot .e26-polls__stage,
.e26-hub.e26-hub--boot #blocsCard,
.e26-hub.e26-hub--boot .e26-chairs__plenum,
.e26-hub.e26-hub--boot #chairParties {
  visibility: hidden;
  pointer-events: none;
}

.e26-hub {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--e26-font);
  color: var(--e26-text);
  direction: rtl;
  box-sizing: border-box;
  background-color: #0011ac;
  background-image: url("img/bg-flags.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.e26-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 64, 233, 0.75) 50.789%,
    rgba(0, 17, 172, 0.75) 99.44%
  );
  pointer-events: none;
  z-index: 0;
}

.e26-hub > * {
  position: relative;
  z-index: 1;
}

.e26-hub--no-map .e26-map {
  display: none;
}

.e26-hub__col {
  position: relative;
  width: 370px;
  max-width: 100%;
  background: var(--e26-surface-bottom);
  border-radius: var(--e26-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-shrink: 0;
}

.e26-polls {
  height: 680px;
  overflow: visible;
}

.e26-map {
  height: 564px;
}

.e26-chairs {
  height: 564px;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  grid-template-areas:
    "head head"
    "plenum notes"
    "parties parties"
    "thresh thresh";
  align-items: start;
  column-gap: 0;
  row-gap: 12px;
}

.e26-polls__filter {
  position: relative;
  flex: 0 0 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  background: var(--e26-surface-bottom);
  border-radius: 4px 4px 0 0;
  z-index: 4;
}

.e26-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  min-height: 40px;
}

.e26-map .e26-panel__head,
.e26-chairs .e26-panel__head {
  padding: 16px 16px 8px;
  flex-shrink: 0;
}

.e26-chairs .e26-panel__head {
  grid-area: head;
  align-self: start;
  padding-top: 12px;
  padding-bottom: 0;
}

.e26-chairs .e26-panel__title--stack {
  gap: 4px;
}

.e26-panel__head--end {
  justify-content: flex-start;
}

.e26-panel__title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

.e26-panel__title--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.e26-panel__title h1 {
  margin: 0;
  font-size: 24px;
  line-height: 19px;
  font-weight: 700;
  letter-spacing: 0.24px;
  color: #1d2129;
}

.e26-panel__ynet {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.e26-dd-wrap {
  position: relative;
  width: 162px;
  flex-shrink: 0;
}

.e26-dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
  width: 100%;
  box-sizing: border-box;
  padding: 4px 12px;
  border: 0;
  border-radius: var(--e26-radius);
  background: var(--e26-surface-top);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 15px;
  color: var(--e26-text);
  cursor: pointer;
}

.e26-dd__label {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.e26-dd.is-open {
  border: 1px solid var(--e26-accent-border);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.e26-dd__chev {
  width: 12px;
  height: 12px;
}

.e26-dd.is-open .e26-dd__chev {
  transform: scaleY(-1);
}

.e26-dd__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 8;
  width: 100%;
  box-sizing: border-box;
  background: var(--e26-surface-top);
  border: 1px solid var(--e26-accent-border);
  border-top: 0;
  border-radius: 0 0 2px 2px;
  box-shadow: var(--e26-shadow-menu);
}

.e26-dd__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  padding: 12px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  color: var(--e26-black);
  cursor: pointer;
  text-align: right;
}

.e26-dd__row--all {
  border-bottom: 1px solid var(--e26-accent-border);
  font-weight: 400;
}

.e26-dd__check {
  width: 15px;
  height: 15px;
  border: 1.2px solid #000;
  border-radius: 1.2px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.e26-dd__check.is-on::after {
  content: "";
  width: 8px;
  height: 5px;
  border: 1.5px solid #000;
  border-top: 0;
  border-right: 0;
  transform: rotate(-50deg) translate(1px, -1px);
}

.e26-tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0 16px;
  height: 50px;
}

.e26-tabs__btn {
  flex: 1;
  margin: 2px 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 2px 2px 0 0;
  background: var(--e26-surface-off);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  color: var(--e26-text-muted);
  cursor: pointer;
}

.e26-tabs__btn.is-on {
  margin: 0;
  background: var(--e26-surface-top);
  color: var(--e26-accent);
  font-weight: 700;
  box-shadow: inset 0 2px 0 var(--e26-accent);
}

.e26-polls__stage {
  position: relative;
  z-index: 2;
  flex: 0 0 421px;
  height: 421px;
  overflow: hidden;
  background: var(--e26-surface-top);
}

.e26-card {
  background: var(--e26-surface-top);
  padding: 16px;
}

.e26-card--stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.e26-card--stage.is-on {
  visibility: visible;
  pointer-events: auto;
}

.e26-card--blocs {
  position: relative;
  isolation: isolate;
  flex: 0 0 141px;
  height: 141px;
  background: var(--e26-surface-bottom);
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  border-radius: 0 0 4px 4px;
}

.e26-card--blocs.is-lines {
  position: relative;
  z-index: 1;
  flex: 0 0 141px;
  height: 141px;
  padding: 10px 0 8px;
  gap: 4px;
  overflow: hidden;
}

.e26-polls:has(.e26-card--blocs.is-lines) #trendsChart {
  flex: 0 0 176px;
  height: 176px;
}

.e26-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 16px;
  min-height: 21px;
}

.e26-card--stage .e26-card__top {
  padding: 0;
}

.e26-card__top h2 {
  margin: 0;
  font-size: 19px;
  line-height: 21px;
  font-weight: 800;
  letter-spacing: 0.19px;
  color: #1d2129;
  flex-shrink: 0;
}

.e26-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: calc(100% - 88px);
  padding: 4px 6px;
  border-radius: 2px;
  background: rgba(108, 108, 110, 0.15);
  color: #6c6c6e;
  font-size: 12px;
  line-height: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 1;
  min-width: 0;
}

.e26-chip__dash {
  width: 4px;
  height: 1.5px;
  background: #696c75;
  flex-shrink: 0;
}

.e26-chip__rule {
  width: 1px;
  height: 8px;
  background: #696c75;
  flex-shrink: 0;
}

.e26-chip__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #696c75;
  flex-shrink: 0;
}

.e26-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding-top: 2px;
  overflow-x: hidden;
  overflow-y: auto;
}

.e26-bars__threshold {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 14px;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.e26-bars__threshold-line {
  flex: 1;
  height: 0;
  border-top: 1px dashed #de1a1a;
}

.e26-bars__threshold-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #de1a1a;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  flex-shrink: 0;
}

.e26-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.e26-bar__n {
  flex-shrink: 0;
  min-width: 1.35em;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  color: var(--e26-bloc-bar-b);
  text-align: start;
}

.e26-bar__track {
  flex: 1;
  min-width: 0;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.e26-bar__fill {
  height: 10px;
  border-radius: 2px 0 0 2px;
  background: var(--e26-bloc-bar-b);
  min-width: 8px;
  max-width: calc(100% - 1.35em - 4px);
  flex-shrink: 1;
  box-sizing: border-box;
}

.e26-bar--a .e26-bar__fill {
  background: var(--e26-bloc-bar-a);
}

.e26-bar--a .e26-bar__n {
  color: var(--e26-bloc-bar-a);
}

.e26-bar--c .e26-bar__fill {
  background: var(--e26-bloc-bar-c);
}

.e26-bar--c .e26-bar__n {
  color: var(--e26-bloc-bar-c);
}

.e26-bar--zero .e26-bar__fill {
  width: 2px;
  min-width: 2px;
}

.e26-bar__name {
  flex: 0 0 158px;
  width: 158px;
  font-size: 13px;
  line-height: 16px;
  text-align: right;
  white-space: nowrap;
}

.e26-chart {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
}

#trendsChart {
  flex: 0 0 196px;
  height: 196px;
  width: 100%;
  margin-top: -4px;
}

.e26-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  direction: ltr;
}

.e26-chart svg line {
  vector-effect: non-scaling-stroke;
}

.e26-chart--blocs {
  flex: 1 1 auto;
  width: 100%;
  min-height: 80px;
  height: 100%;
  padding: 0 16px 0;
  box-sizing: border-box;
  overflow: visible;
}

.e26-chart__tip {
  position: absolute;
  z-index: 3;
  min-width: 120px;
  padding: 8px;
  background: #fafafa;
  border: 1px solid #0040e9;
  border-radius: 2px;
  box-shadow: 0 14px 12px rgba(0, 17, 172, 0.1);
  font-size: 12px;
  line-height: 12px;
  color: #1d2129;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.e26-chart__tip[hidden] {
  display: none;
}

.e26-chart__tip-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  white-space: nowrap;
}

.e26-chart__tip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.e26-chart__tip-n {
  font-weight: 500;
}

.e26-legend-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.e26-legend__clear {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 2;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #696c75;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.e26-legend__clear:hover {
  color: var(--e26-action);
  background: rgba(3, 97, 252, 0.08);
}

.e26-legend__clear[hidden] {
  display: none;
}

.e26-legend__clear-icon {
  display: block;
}

.e26-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  gap: 4px 15px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-inline-start: 26px;
  padding-bottom: 6px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.e26-legend__btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  color: #1f1f1f;
  cursor: pointer;
  white-space: nowrap;
}

.e26-legend__swatch {
  width: 15px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.e26-legend__swatch.is-on::after {
  content: "";
  width: 8px;
  height: 4px;
  border: 1.6px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-50deg) translate(1px, -1px);
}

.e26-legend__btn.is-off {
  opacity: 0.4;
}

.e26-blocs__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: visible;
}

.e26-blocs {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.e26-blocs__face {
  width: 104px;
  height: 104px;
  background-color: transparent;
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
}

.e26-blocs__mid {
  flex: 1;
  min-width: 0;
  padding: 0 4px 20px;
  margin-inline: -28px;
  position: relative;
  z-index: 1;
}

.e26-blocs__names {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-family: var(--e26-font);
  font-size: var(--e26-fs-body);
  line-height: var(--e26-lh-body);
  font-weight: 500;
}

.e26-blocs__names span {
  white-space: nowrap;
}

.e26-blocs__name--a {
  color: #0011ac;
}

.e26-blocs__name--c {
  color: #0069a6;
}

.e26-blocs__bar {
  position: relative;
  display: flex;
  height: 20px;
  width: 100%;
}

.e26-blocs__slice {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-family: var(--e26-font-negative);
  font-size: 14px;
  line-height: 13px;
  font-weight: 700;
  color: #fafafa;
}

.e26-blocs__slice--a {
  justify-content: flex-start;
  padding-inline-start: 4px;
  background: var(--e26-bloc-bar-a);
  border-radius: 0 4.8px 4.8px 0;
}

.e26-blocs__slice--b {
  background: var(--e26-bloc-bar-b);
}

.e26-blocs__slice--c {
  justify-content: flex-end;
  padding-inline-end: 4px;
  background: var(--e26-bloc-bar-c);
  border-radius: 4.8px 0 0 4.8px;
}

.e26-blocs__pointer {
  position: absolute;
  top: 23px;
  width: 4px;
  height: 3px;
  transform: translateX(50%);
}

.e26-blocs__note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
}

.e26-blocs__avatars {
  display: flex;
  align-items: center;
  gap: 20px;
}

.e26-blocs__stack {
  display: flex;
  flex-direction: row-reverse;
  gap: 2px;
}

.e26-blocs__ava {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--e26-surface-bottom);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1.5px var(--e26-surface-bottom);
  position: relative;
}

.e26-blocs__stack .e26-blocs__ava:nth-child(1) {
  z-index: 3;
}

.e26-blocs__stack .e26-blocs__ava:nth-child(2) {
  z-index: 2;
}

.e26-blocs__stack .e26-blocs__ava:nth-child(3) {
  z-index: 1;
}

.e26-blocs__stack--a .e26-blocs__ava {
  box-shadow: 0 0 0 1.5px #ff6400;
}

.e26-blocs__stack--c .e26-blocs__ava {
  box-shadow: 0 0 0 1.5px #009ffb;
}

.e26-map__frame {
  margin: 0 10px;
  flex: 1;
  min-height: 0;
  background: #e0e7eb;
  border: 0;
  border-radius: var(--e26-radius);
  overflow: hidden;
}

.e26-map__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #e0e7eb;
}

.e26-map__src {
  margin: 8px 16px 12px;
  font-size: 11px;
  line-height: 14px;
  color: var(--e26-caption);
  flex-shrink: 0;
  text-align: right;
}

.e26-chairs__sub {
  margin: 0;
  font-size: 15px;
  line-height: 15px;
  font-weight: 500;
}

.e26-chairs__plenum {
  grid-area: plenum;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
  align-self: center;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.e26-plenum__art,
.e26-plenum__svg {
  display: block;
  width: 144px;
  height: 135px;
  margin-inline: auto;
}

.e26-chairs__count {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
  color: var(--e26-action);
  pointer-events: none;
}

.e26-chairs__n {
  margin: 0;
  font-size: 48px;
  line-height: 48px;
  font-weight: 500;
}

.e26-chairs__n-label {
  margin: 0;
  font-size: 14px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 0.28px;
}

.e26-chairs__parties {
  grid-area: parties;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: start;
  align-self: stretch;
  justify-self: stretch;
  gap: 16px;
  padding: 4px 12px 12px;
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  position: relative;
  z-index: 1;
}

.e26-party {
  width: 70px;
  height: 88px;
  padding: 8px 4px 12px;
  border: 1px solid var(--e26-surface-top);
  border-radius: 2px;
  background: var(--e26-surface-off);
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  flex-shrink: 0;
}

.e26-party:hover:not(.is-on) {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

.e26-party.is-on {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 5px 7px -1px rgba(3, 97, 252, 0.24);
}

.e26-party__logo {
  width: 62px;
  height: 44px;
  object-fit: contain;
}

.e26-party.is-on .e26-party__logo:not(.e26-party__logo--empty) {
  filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(3887%) hue-rotate(216deg) brightness(105%) contrast(98%);
}

.e26-party__logo--empty {
  background: var(--e26-surface-top);
}

.e26-party__n {
  margin: 0;
  width: 100%;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.6px;
  font-weight: 400;
  text-align: center;
  color: #1d2129;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}

.e26-party.is-on .e26-party__n {
  font-weight: 700;
  color: var(--e26-action);
}

.e26-party__star {
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: #ff6400;
}

.e26-chairs__thresh {
  grid-area: thresh;
  margin: 0;
  padding: 0 12px 10px;
  box-sizing: border-box;
  font-size: 11px;
  line-height: 15px;
  font-weight: 500;
  text-align: center;
  color: var(--e26-caption);
}

.e26-chairs__thresh[hidden] {
  display: none;
}

.e26-chairs__thresh-star {
  color: #ff6400;
  font-weight: 700;
  margin-inline-end: 2px;
}

.e26-chairs__notes {
  grid-area: notes;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  min-width: 0;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  box-sizing: border-box;
}

.e26-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 4px 0;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  max-width: 100%;
}

.e26-note--warn {
  font-weight: 700;
  color: #ff6400;
}

.e26-note--ok {
  font-weight: 700;
  color: #12b76a;
}

.e26-note__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.e26-note--warn .e26-note__icon--ok,
.e26-note--ok .e26-note__icon--warn {
  display: none;
}

@media (min-width: 1024px) {
  .e26-hub {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 1240px;
    max-width: 1240px;
    height: 744px;
    padding: 32px;
    gap: 32px;
  }

  .e26-hub__col {
    width: 370px;
    flex: 0 0 370px;
    height: 680px;
  }

  .e26-hub--no-map .e26-hub__col {
    flex: 1 1 0;
    width: auto;
  }

  .e26-map,
  .e26-chairs {
    height: 680px;
  }

  .e26-chairs {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "head"
      "plenum"
      "parties"
      "notes"
      "thresh";
    row-gap: 0;
  }

  .e26-polls:has(.e26-card--blocs.is-lines) #trendsChart {
    flex: 0 0 238px;
    height: 238px;
  }

  .e26-chairs__plenum {
    width: 100%;
    height: 202px;
    padding: 16px 0 0;
    justify-self: center;
  }

  .e26-plenum__art,
  .e26-plenum__svg {
    width: 194px;
    height: 182px;
  }

  .e26-chairs__count {
    top: 88px;
  }

  .e26-chairs__parties {
    padding: 20px 12px 8px;
  }

  .e26-chairs__thresh {
    padding: 0 16px 8px;
  }

  .e26-chairs__notes {
    padding: 0 16px 12px;
    align-self: stretch;
  }

  #trendsChart {
    flex: 0 0 248px;
    height: 248px;
  }
}

@media (max-width: 1023px) {
  .e26-chairs__parties--dense {
    gap: 12px;
  }

  .e26-chairs__parties--dense .e26-party {
    width: 56px;
    height: 70px;
    padding: 4px 2px 6px;
  }

  .e26-chairs__parties--dense .e26-party__logo {
    width: 62px;
    height: 44px;
    transform: scale(0.8);
    transform-origin: center center;
  }

  .e26-chairs__parties--dense .e26-party__n {
    transform: scale(0.8);
    transform-origin: center center;
  }
}
