/* Samma radiomarkering som i rördimensioneringen: synlig alltid, fylld vid val. */
.shape-option::before,
.mode-option::before,
.rect-side-option::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  box-sizing: border-box;
  border: 1px solid #8492a0;
  border-radius: 50%;
  background: transparent;
}

.shape-option:has(input:checked)::before,
.mode-option:has(input:checked)::before,
.rect-side-option:has(input:checked)::before {
  border-color: #557b91;
  background: radial-gradient(circle, #557b91 0 4px, transparent 4.5px);
}

.dimension-choice:has(.mode-option input:checked) .mode-option::before {
  border-color: #12344b;
  background: radial-gradient(circle, #12344b 0 4px, transparent 4.5px);
}

.result-tab,
.chart-mode {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
}

.control-marker {
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 1px solid #8492a0;
  border-radius: 50%;
  background: transparent;
}

.result-tab.active .control-marker,
.chart-mode.active .control-marker {
  border-color: #557b91;
  background: radial-gradient(circle, #557b91 0 4px, transparent 4.5px);
}

.result-tabs {
  position: relative;
  padding-bottom: 13px;
  border-bottom: 0;
}

.result-tabs::after,
.chart-controls::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.chart-controls {
  position: relative;
  padding-bottom: 13px;
  margin-bottom: 14px;
}
