*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

.page {
  max-width: 580px;
  margin: 40px auto;
  padding: 0 20px;
}

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

.subtitle {
  margin: 0;
  font-size: 15px;
  color: #333;
}

.controls-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}

button {
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #f3f3f3;
}

button.active {
  background: #111;
  color: #fff;
}

button:disabled {
  border-color: #ccc;
  color: #999;
  cursor: not-allowed;
}

.meter-block {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 14px 0;
  margin: 16px 0;
}

.meter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.meter-label {
  flex-shrink: 0;
}

.volume-track {
  flex: 1;
  height: 10px;
  background: #eee;
  position: relative;
  overflow: hidden;
}

.volume-fill {
  height: 100%;
  width: 0%;
  background: #16a34a;
}

.gate-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #111;
  left: 28%;
}

.status-text {
  min-width: 112px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #333;
}

.sliders-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.slider-item {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.slider-item > span {
  white-space: nowrap;
}

.slider-item input[type="range"] {
  flex: 1;
  accent-color: #111;
  cursor: pointer;
}

.heard-line {
  margin: 16px 0;
  font-size: 15px;
}

.replies-heading {
  font-size: 15px;
  margin: 18px 0 8px;
}

#responses {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  font-size: 15px;
}

#responses li {
  border: 1px solid #ddd;
  padding: 8px 12px;
  margin-bottom: 6px;
  cursor: pointer;
  background: #fff;
}

#responses li:hover {
  border-color: #999;
}

#responses li.active {
  border-color: #111;
  background: #f7f7f7;
}
