/* v0.83: einheitliche Raumgrößenfelder und breiter nutzbarer Scope-3-Einstieg. */

.compact-room-size[open] > summary {
  background: #fffdf7;
}

.compact-room-size-body {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0;
  background: #fff;
}

.compact-room-size .vent-size-mode,
.compact-room-size .vent-size-inputs {
  min-width: 0;
  padding: 0 12px 0 0;
}

.compact-room-size .vent-size-inputs {
  padding: 0 0 0 12px;
  border-left: 1px solid #e0e9e5;
}

.compact-room-size .vent-size-mode label,
.compact-room-size .vent-size-inputs > label,
.compact-room-size .vent-size-inputs .home-calc-fields label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.compact-room-size .vent-size-mode select,
.compact-room-size .vent-size-inputs input {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  border: 1px solid #ccd9db;
  border-radius: 5px;
  padding: 8px 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
}

.compact-room-size .vent-size-inputs > label,
.compact-room-size .vent-size-inputs .home-calc-fields,
.compact-room-size .vent-size-inputs > label#ventRoomVolumeWrap {
  padding: 0;
  border: 0;
  background: transparent;
}

.compact-room-size .vent-size-inputs .unit-input {
  min-height: 38px;
}

.compact-room-size .vent-size-inputs .unit-input input {
  flex: 1 1 auto;
  min-width: 0;
}

.scope3-coverage-note {
  display: none;
  gap: 5px;
  margin: -5px 0 17px;
  padding: 13px 15px;
  border: 1px solid #d3e2dd;
  border-left: 4px solid #2f8588;
  border-radius: 7px;
  background: #f5f9f7;
  color: #526a79;
  font-size: 10px;
  line-height: 1.5;
}

#scopes[data-scope-view="3"] .scope3-coverage-note {
  display: grid;
}

.scope3-coverage-note b {
  color: var(--navy);
  font-size: 11px;
}

.scope3-coverage-note small {
  color: #6b7e87;
  font-size: 9px;
}

.scope3-coverage-note a {
  color: var(--teal-dark);
  font-weight: 800;
}

.scope-table td {
  vertical-align: top;
}

.scope-table input,
.scope-table select,
.scope-static-unit {
  box-sizing: border-box;
  min-height: 34px;
}

.scope-static-unit {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  border: 1px solid #e0e7e6;
  border-radius: 4px;
  padding: 6px 7px;
  background: #f8faf9;
}

.scope-factor-unit {
  min-height: 14px;
  line-height: 1.35;
}

.scope-table optgroup {
  color: var(--teal-dark);
  font-weight: 800;
}

.scope-table option {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 680px) {
  .compact-room-size-body {
    grid-template-columns: 1fr;
  }

  .compact-room-size .vent-size-mode,
  .compact-room-size .vent-size-inputs {
    padding: 0;
  }

  .compact-room-size .vent-size-inputs {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e9e5;
    border-left: 0;
  }

  .compact-room-size .vent-size-mode select,
  .compact-room-size .vent-size-inputs input {
    min-height: 44px;
    font-size: 16px;
  }
}
