



.results__body {
  padding-top: 24px;
}

.results__layout {
  --grid-gutter-x: 32px;
  --grid-gutter-y: 32px;
  align-items: start;
}

.results__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}


.results__filters {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.results__search {
  width: 320px;
  flex: none;
}

.results__chips {
  padding-bottom: 4px;
}


.results__legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}


.results__groups,
.results-detail__related {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.results__group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.results__group-head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  flex-wrap: wrap;
}

.results__group-title {
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.results__group-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-basis: 100%;
  padding-left: 32px;
}

.results__group-rows {
  border-top: 1px solid var(--border);
  padding: 4px 8px 4px;
}


.results__na-name {
  grid-column: 1 / 3;
}


.results__aside {
  position: sticky;
  top: 24px;
  align-self: start;
}





.results-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  width: 420px;
}

.results-detail__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.results-detail__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.results-detail__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.results-detail__sub {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 15px;
}

.results-detail__value-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.results-detail__unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}


.results-detail__block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.results-detail__text {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}


.results-detail__plan {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.results-detail__plan-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.marker__body {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.marker__crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 18px;
}

.marker__crumb {
  text-decoration: none;
  font-weight: 600;
}


.marker__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.marker__summary,
.calc__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.marker__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}


.marker__mobile-title {
  font-size: 24px;
}

.marker__value-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}


.marker__value {
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
}

.marker__unit {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
}


.marker__meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.marker__scale {
  max-width: 760px;
}


.marker__range {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-muted);
}

.marker__range--offset {
  margin-top: 2px;
}


.marker__cols {
  --grid-gutter-x: 24px;
  --grid-gutter-y: 32px;
  align-items: start;
}

.marker__column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.marker__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.marker__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.marker__bullet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.marker__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--text-muted);
  flex: none;
  margin-top: 8px;
}


.marker__chip {
  text-decoration: none;
}


.marker__plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.marker__plan-title {
  font-weight: 700;
}



.marker-chart {
  width: 100%;
  height: auto;
  display: block;
}


.marker-chart__band {
  fill: var(--status-optimal-tint);
  stroke: var(--status-optimal);
  stroke-width: 1;
}

.marker-chart__band-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  fill: var(--status-optimal-text);
  letter-spacing: 0.04em;
}


.marker-chart__ref {
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.marker-chart__axis {
  stroke: var(--border);
  stroke-width: 1;
}

.marker-chart__axis-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--text-muted);
}


.marker-chart__bar {
  fill: var(--anchor-tint);
  stroke: var(--anchor);
  stroke-width: 1.5;
}

.marker-chart__bar--now {
  fill: var(--anchor);
}

.marker-chart__prev-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  fill: var(--text-muted);
}

.marker-chart__now-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  fill: var(--text);
}


.marker-chart__unit {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--text-muted);
}


.calc__head {
  display: flex;
  align-items: center;
  gap: 8px;
}


.calc__formula {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}


.calc__term,
.calc__term:hover {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1 1 150px;
}

.calc__term-name {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--anchor);
}

.calc__num {
  font-size: 20px;
  font-weight: 700;
}

.calc__unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.calc__badge {
  display: inline-flex;
}


.calc__op {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  flex: none;
  padding: 0 2px;
}

.calc__const {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  flex: 0 1 110px;
  min-width: 0;
}

.calc__label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--text-muted);
}

.calc__result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  flex: none;
}

.calc__total {
  font-size: 24px;
  font-weight: 700;
}

.calc__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-muted);
}




@media (min-width: 768px) {
  
  .results__current-row,
  .results__current-row:hover {
    background: var(--anchor-tint);
    border-radius: var(--radius-md);
  }
}


@media (min-width: 992px) {
  .marker__column--start {
    padding-right: 12px;
  }

  .marker__column--end {
    padding-left: 12px;
  }
}


@media (max-width: 767px) {
  
  .results__body {
    padding-top: 20px;
  }

  .results__main {
    gap: 14px;
  }

  .results__filters {
    flex-direction: column;
    align-items: normal;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .results__search {
    width: auto;
    flex: initial;
  }

  .results__chips {
    padding-bottom: 0;
  }

  .results__legend-row {
    flex-direction: column;
    align-items: normal;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .results__group-head {
    padding: 12px 12px;
  }

  
  .results__row-na {
    grid-template-areas: 'name badge';
    align-items: start;
  }

  .results__row-na .vt-datarow__value {
    display: none;
  }

  
  .results__foot {
    padding-top: 14px;
  }

  
  .marker__body {
    padding-top: 20px;
  }

  .marker__card {
    gap: 16px;
    padding: 20px;
  }

  .marker__value {
    font-size: 36px;
  }

  
  .marker__cols {
    --grid-gutter-y: 24px;
  }

  .marker__column {
    gap: 24px;
  }

  .calc__card {
    padding: 20px;
  }

  .calc__formula {
    flex-direction: column;
    align-items: normal;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .calc__term,
  .calc__term:hover {
    flex: none;
  }

  .calc__op {
    flex: initial;
    padding: 0;
    text-align: center;
    line-height: 24px;
  }

  .calc__const {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    flex: initial;
    min-width: auto;
  }

  .calc__result {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    flex: initial;
  }

  .calc__label--result {
    color: inherit;
  }
}
