/* v0.81: klare Startnavigation, kompakte Rechnerleiste, Raumgrößenwahl und Scope-Reiter. */

.scope-mode-tabs {
  display: flex;
  gap: 7px;
  margin: 0 0 16px;
  padding: 6px;
  border: 1px solid #d3e0dc;
  border-radius: 10px;
  background: #f4f8f6;
}

.scope-mode-tabs button {
  flex: 1 1 0;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 14px;
  background: transparent;
  color: #526a79;
  font-weight: 800;
}

.scope-mode-tabs button.active {
  border-color: #2f8588;
  background: #fff;
  color: #102a43;
  box-shadow: inset 0 3px #2f8588;
}

#scopes[data-scope-view="12"] #scopeBody tr[data-scope-group="3"],
#scopes[data-scope-view="3"] #scopeBody tr[data-scope-group="12"] {
  display: none;
}

.scope-table {
  min-width: 650px;
}

.scope-table th:nth-child(5),
.scope-table td:nth-child(5) {
  display: none;
}

.scope-table td:first-child {
  min-width: 235px;
}

.scope-source-inline {
  margin-top: 7px;
  color: #607480;
  font-size: 10px;
}

.scope-source-inline summary {
  cursor: pointer;
  color: #24777b;
  font-weight: 800;
}

.scope-source-inline input {
  margin-top: 7px;
}

.climate-volume-choice {
  margin-top: 14px;
}

.climate-size-mode label {
  font-size: 12px;
}

.climate-size-mode select,
.climate-size-inputs input {
  font-size: 14px;
}

.climate-size-inputs > label .unit-input {
  max-width: none;
}

.device-data-help b {
  color: #102a43;
}

@media (min-width: 1051px) {
  body:not(.pwa-standalone) .home-tool-groups {
    grid-template-columns: minmax(0,2fr) minmax(0,.75fr) minmax(0,1.55fr) minmax(0,1.55fr) !important;
  }

  body:not(.pwa-standalone) .home-tool-group-heatpump > div {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 3px;
    padding-left: 6px;
  }

  body:not(.pwa-standalone) .home-tool-group-heatpump .home-tool-tab,
  body:not(.pwa-standalone) .home-tool-group:last-child .home-tool-tab {
    min-width: 0;
    padding-inline: 4px;
    font-size: 8.5px;
    line-height: 1.2;
  }
}

@media (max-width: 680px) {
  .scope-mode-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .climate-size-mode select,
  .climate-size-inputs input {
    font-size: 16px;
  }
}
