:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6f2;
  color: #1d2527;
}

body {
  margin: 0;
}

main {
  width: min(760px, calc(100vw - 32px));
  margin: 40px auto;
}

.toolbar {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #566164;
}

select,
button {
  min-height: 40px;
  border: 1px solid #b9c3c0;
  border-radius: 8px;
  background: #ffffff;
  color: #1d2527;
  padding: 0 12px;
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 0.45;
}

.wake-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #566164;
}

.wake-toggle input {
  min-height: auto;
}

.meter {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

#status {
  font-size: 14px;
}

.wake-status {
  font-size: 12px;
  color: #7a8a86;
  min-height: 1.5em;
}

#level {
  width: 100%;
  height: 12px;
  background: #dce3df;
  border-radius: 999px;
  overflow: hidden;
}

#level span {
  display: block;
  width: 0%;
  height: 100%;
  background: #257c6b;
}

.log {
  margin-top: 24px;
  min-height: 260px;
  padding: 16px;
  border: 1px solid #d0d8d5;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

