:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5c6670;
  --line: #d7dde5;
  --panel: #f7f9fb;
  --accent: #0c6b8f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  overflow-x: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

h1 {
  margin: 0 0 6px;
  font-size: 24px;
}

p {
  margin: 0;
  color: var(--muted);
}

.status {
  align-self: center;
  min-width: 130px;
  text-align: left;
  color: var(--accent);
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 2px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tab-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 110px;
  min-height: 42px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
}

.tab-button.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.tab-page {
  display: none;
}

.tab-page.active {
  display: block;
}

.intro-page {
  min-height: calc(100vh - 126px);
  padding: 34px 24px;
}

.intro-content,
.simple-content {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.8;
}

.intro-content h2,
.simple-content h2 {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 24px;
}

.simple-content h3 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.intro-content p,
.simple-content p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
}

.source-list {
  margin: 0 0 14px;
  padding: 0 20px 0 0;
  line-height: 1.8;
}

.source-list a {
  color: var(--accent);
}

.simple-page {
  min-height: calc(100vh - 126px);
  padding: 34px 24px;
}

.layout {
  grid-template-columns: 330px 1fr;
  min-height: calc(100vh - 126px);
}

.layout.active {
  display: grid;
}

.map-page.active {
  display: grid;
  grid-template-columns: 330px 1fr;
  min-height: calc(100vh - 126px);
}

.stat-page.active {
  display: grid;
  grid-template-columns: 330px 1fr;
  min-height: calc(100vh - 126px);
}

.sdg-page.active {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - 126px);
}

.apartment-page.active {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - 126px);
}

.comparison-page.active {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - 126px);
}

.map-controls,
.stat-controls,
.sdg-controls,
.apartment-controls,
.comparison-controls {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border-left: 1px solid var(--line);
  background: var(--panel);
  max-height: calc(100vh - 126px);
  overflow: auto;
}

.stat-loaded-controls {
  display: grid;
  gap: 10px;
}

.stat-loaded-controls[hidden] {
  display: none;
}

.sdg-controls {
  gap: 14px;
}

.sdg-summary {
  display: grid;
  gap: 8px;
}

.sdg-summary div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.sdg-summary strong {
  color: var(--accent);
  font-size: 20px;
}

.sdg-summary span,
.sdg-summary small {
  color: var(--muted);
}

.map-workspace,
.stat-workspace {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.stat-map-frame {
  position: relative;
}

.map-loading-overlay {
  position: absolute;
  z-index: 700;
  inset: 18px auto auto 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(380px, calc(100% - 36px));
  padding: 11px 13px;
  border: 1px solid rgba(12, 107, 143, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.16);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  pointer-events: none;
}

.map-loading-overlay[hidden] {
  display: none;
}

.map-loading-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 3px solid #d7e8ef;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: map-loading-spin 0.8s linear infinite;
}

@keyframes map-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.sdg-workspace {
  min-width: 0;
  padding: 22px 24px 34px;
}

.apartment-workspace {
  min-width: 0;
  padding: 22px 24px 34px;
}

.comparison-workspace {
  min-width: 0;
  padding: 22px 24px 34px;
}

.sdg-intro {
  max-width: 980px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.apartment-intro {
  max-width: 980px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.comparison-intro {
  max-width: 980px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.sdg-intro h2 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 24px;
}

.apartment-intro h2 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 24px;
}

.comparison-intro h2 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 24px;
}

.sdg-intro p {
  margin: 0 0 8px;
  color: var(--ink);
}

.apartment-intro p,
.apartment-panel p,
.comparison-intro p {
  margin: 0 0 8px;
  color: var(--ink);
}

.sdg-grid {
  display: grid;
  gap: 18px;
}

.sdg-panel,
.apartment-panel,
.comparison-panel {
  min-width: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.sdg-filtered-start {
  scroll-margin-top: 16px;
}

.sdg-panel h3,
.apartment-panel h3,
.comparison-panel h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.comparison-table-wrap {
  width: 100%;
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.comparison-table th,
.comparison-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

.comparison-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--panel);
}

.sdg-table-wrap {
  width: 100%;
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.stat-table-section {
  padding: 18px 20px 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.stat-table-section[hidden] {
  display: none;
}

.stat-table-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.stat-table-head h2 {
  margin: 0;
  color: var(--accent);
  font-size: 20px;
}

.stat-table-head span {
  color: var(--muted);
  font-weight: 700;
}

.stat-table-wrap {
  width: 100%;
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.sdg-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.stat-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.sdg-table th,
.sdg-table td,
.stat-table th,
.stat-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

.sdg-table th,
.stat-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--panel);
}

.sdg-badge {
  display: inline-block;
  min-width: 84px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.sdg-ok {
  background: #1f6fba;
}

.sdg-close {
  background: #459ab9;
}

.sdg-miss {
  background: #c9252d;
}

#municipalityMap,
#statAreaMap {
  width: 100%;
  height: calc(100vh - 126px);
  min-height: 580px;
}

.stat-notes {
  position: absolute;
  z-index: 500;
  right: 18px;
  bottom: 18px;
  width: min(520px, calc(100% - 230px));
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(23, 32, 42, 0.14);
}

.stat-notes p {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.stat-notes p:last-child {
  margin-bottom: 0;
}

.map-legend {
  position: absolute;
  z-index: 500;
  left: 18px;
  bottom: 18px;
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  box-shadow: 0 8px 20px rgba(23, 32, 42, 0.14);
}

.legend-scale {
  height: 10px;
  margin: 8px 0;
  border-radius: 999px;
}

.legend-values {
  display: flex;
  justify-content: space-between;
  direction: ltr;
}

.controls {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border-left: 1px solid var(--line);
  background: var(--panel);
  max-height: calc(100vh - 126px);
  overflow: auto;
}

label {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
}

.primary-map-input {
  position: relative;
  gap: 8px;
  margin-bottom: 2px;
  padding: 12px;
  border: 2px solid rgba(12, 107, 143, 0.34);
  border-inline-start-width: 6px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f2f8fb);
  box-shadow: 0 8px 18px rgba(23, 32, 42, 0.08);
  color: var(--accent);
  font-size: 16px;
}

.primary-map-input .combo input {
  min-height: 44px;
  border-color: rgba(12, 107, 143, 0.52);
  font-size: 14px;
  font-weight: 700;
}

.primary-map-input .combo button {
  min-height: 42px;
  color: var(--accent);
}

.label-head {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.help-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.help-button {
  width: 16px;
  min-height: 16px;
  padding: 0;
  border-color: #8ca0b5;
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.help-popover {
  position: absolute;
  z-index: 40;
  top: 24px;
  inset-inline-start: 0;
  width: 240px;
  padding: 9px 10px;
  border: 1px solid #9fb0c3;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.16);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.help-popover[hidden] {
  display: none;
}

.toggle-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.toggle-row input {
  width: 18px;
  min-height: 18px;
  margin: 0 0 0 8px;
  accent-color: var(--accent);
}

select,
input,
button {
  width: 100%;
  min-height: 34px;
  border: 1px solid #b9c3cf;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.combo {
  position: relative;
}

.combo input {
  padding-inline-end: 34px;
}

.combo button {
  position: absolute;
  inset-block-start: 1px;
  inset-inline-end: 1px;
  width: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
}

.combo.is-disabled button {
  color: #a8b2bd;
}

.combo.is-disabled input,
select:disabled,
input:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.controls label.control-muted,
.plot-options label.control-muted {
  color: var(--muted);
  opacity: 0.72;
}

.controls label.control-primary {
  position: relative;
  padding: 8px;
  border: 1px solid #7fb2c7;
  border-radius: 6px;
  background: #f1f8fb;
}

.combo-list {
  position: absolute;
  z-index: 20;
  inset-inline: 0;
  top: 38px;
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid #9fb0c3;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.16);
}

.combo-list[hidden] {
  display: none;
}

.combo-list li {
  padding: 7px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.35;
}

.combo-list-status {
  position: sticky;
  top: 0;
  z-index: 1;
  margin-bottom: 3px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--muted);
  cursor: default;
  font-size: 11px;
}

.combo-option-title,
.combo-option-meta {
  display: block;
}

.combo-option-title {
  color: var(--ink);
}

.combo-option-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.combo-list li:hover,
.combo-list li.active {
  background: #e9f3f7;
}

.combo-list-status:hover,
.combo-list-status.active {
  background: #fff;
}

.compact-adjust {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: #fff;
}

.compact-adjust summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

select[multiple] {
  min-height: 96px;
}

.multi-actions {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 6px;
}

.multi-actions button {
  width: auto;
  min-width: 64px;
  padding: 0 12px;
}

button {
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}

button.ghost-button {
  padding: 5px 10px;
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

button.help-button {
  width: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  border: 1px solid #8ca0b5;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

button.help-button:hover {
  background: #eef6f9;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.segmented-control legend {
  grid-column: 1 / -1;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.segmented-control label {
  display: block;
  min-width: 0;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: block;
  min-height: 32px;
  padding: 8px 7px;
  border: 1px solid #b9c3cf;
  border-radius: 5px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.segmented-control input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.workspace {
  min-width: 0;
  padding: 16px 18px 28px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px 24px;
  margin-top: 12px;
}

.filters-panel {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.filters-panel summary {
  cursor: pointer;
  font-weight: 700;
}

.range-control {
  display: grid;
  gap: 6px;
  padding: 2px 0 4px;
}

.range-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.range-value {
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  direction: ltr;
  color: #31596c;
  background: #eef4f7;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
}

.range-sliders {
  position: relative;
  height: 26px;
}

.range-rail,
.range-fill {
  position: absolute;
  inset-inline: 0;
  top: 12px;
  height: 4px;
  border-radius: 999px;
  pointer-events: none;
}

.range-rail {
  background: #dce6ed;
}

.range-fill {
  background: transparent;
  box-shadow: none;
}

.range-active .range-value {
  border-color: #b7d2dd;
  color: var(--accent);
  background: #e6f3f8;
}

.range-active .range-fill {
  background: var(--accent);
}

.range-sliders input[type="range"] {
  position: absolute;
  inset-inline: 0;
  top: 5px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  z-index: 2;
}

.range-sliders input[type="range"]:focus {
  outline: none;
}

.range-sliders input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid #8795a3;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 32, 42, 0.18);
  pointer-events: auto;
  appearance: none;
}

.range-sliders input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.range-sliders input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid #8795a3;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 32, 42, 0.18);
  pointer-events: auto;
}

.range-sliders input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.range-sliders input[type="range"]:focus-visible::-webkit-slider-thumb {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(12, 107, 143, 0.18);
}

.range-sliders input[type="range"]:focus-visible::-moz-range-thumb {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(12, 107, 143, 0.18);
}

.plot-options {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, auto));
  align-items: end;
  gap: 10px;
  margin-bottom: 12px;
}

.plot-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.plot-options input[type="checkbox"] {
  width: auto;
  min-height: 0;
}

.plot-options input[type="number"] {
  max-width: 86px;
}

#plot {
  width: 100%;
  height: min(760px, calc(100vh - 190px));
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

#prevPlot {
  width: 100%;
  height: min(820px, calc(100vh - 190px));
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notes {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notes div {
  margin-top: 8px;
  line-height: 1.5;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .topbar {
    display: block;
  }

  .topbar {
    padding: 14px 16px;
  }

  h1 {
    font-size: 21px;
  }

  .status {
    margin-top: 10px;
    text-align: right;
  }

  .tabs {
    padding: 0 10px;
  }

  .tab-button {
    min-width: max-content;
    padding: 0 12px;
  }

  .layout.active,
  .map-page.active,
  .stat-page.active,
  .sdg-page.active,
  .apartment-page.active,
  .comparison-page.active {
    display: block;
  }

  .controls,
  .map-controls,
  .stat-controls,
  .sdg-controls,
  .apartment-controls,
  .comparison-controls {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    max-height: none;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
  }

  .sdg-controls,
  .stat-loaded-controls {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .workspace,
  .sdg-workspace,
  .apartment-workspace,
  .comparison-workspace {
    padding: 18px 14px 28px;
  }

  .intro-page,
  .simple-page {
    min-height: auto;
    padding: 26px 16px;
  }

  .stat-notes {
    position: static;
    width: auto;
    margin: 12px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .plot-options {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  #municipalityMap,
  #statAreaMap {
    height: 68vh;
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 12px 12px 10px;
  }

  h1 {
    font-size: 19px;
  }

  .topbar p,
  .intro-content p,
  .simple-content p,
  .sdg-intro p,
  .apartment-intro p,
  .apartment-panel p,
  .comparison-intro p {
    font-size: 15px;
    line-height: 1.65;
  }

  .tabs {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0 8px;
  }

  .tab-button {
    min-height: 44px;
    min-width: auto;
    padding: 0 10px;
    font-size: 13px;
  }

  .controls,
  .map-controls,
  .stat-controls,
  .sdg-controls,
  .apartment-controls,
  .comparison-controls,
  .stat-loaded-controls {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px;
  }

  select,
  input,
  button {
    min-height: 40px;
    font-size: 16px;
  }

  .combo button {
    min-height: 38px;
  }

  select[multiple] {
    min-height: 120px;
  }

  .segmented-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plot-options {
    display: flex;
    gap: 8px;
    margin: -2px -12px 12px;
    padding: 0 12px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .plot-options label,
  .plot-options input[type="number"] {
    flex: 0 0 auto;
  }

  .plot-options label {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .plot-options input[type="number"] {
    width: 78px;
  }

  #plot,
  #prevPlot {
    min-height: 390px;
    height: 58vh;
    border-radius: 6px;
  }

  #municipalityMap,
  #statAreaMap {
    height: 62vh;
    min-height: 380px;
  }

  .map-legend {
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-width: 0;
    max-width: calc(100% - 20px);
  }

  .filters-panel,
  .notes {
    padding: 10px;
  }

  .range-head,
  label {
    font-size: 12px;
  }

  .sdg-intro h2,
  .apartment-intro h2,
  .comparison-intro h2,
  .intro-content h2,
  .simple-content h2 {
    font-size: 20px;
  }

  .sdg-panel h3,
  .apartment-panel h3,
  .comparison-panel h3 {
    font-size: 16px;
  }
}
