html {
  color-scheme: dark;
  font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  display: grid;
  min-height: 100vh;
  margin: 0;
  background: #000;
  color: #fff;
  place-items: center;
}

.settings {
  width: min(560px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(104, 247, 255, 0.18);
  border-radius: 0;
  background: #000;
}

h1 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 650;
}

fieldset {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid rgba(104, 247, 255, 0.24);
  border-radius: 0;
}

legend {
  padding: 0 4px;
  font-weight: 650;
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(104, 247, 255, 0.24);
}

.tab {
  padding: 7px 12px;
  border: 1px solid rgba(104, 247, 255, 0.24);
  border-bottom: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.tab.is-active {
  border-color: #22c55e;
}

.tab-panel[hidden] {
  display: none;
}

.dc-master {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(104, 247, 255, 0.18);
}

.dc-checks {
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 8px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check input {
  display: grid;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  place-content: center;
  appearance: none;
  border: 1px solid rgba(104, 247, 255, 0.42);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
}

.check input::before {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
}

.check input:checked {
  border-color: #22c55e;
  background: #22c55e;
}

.check input:indeterminate {
  border-color: #22c55e;
  background: #000;
}

.check input:checked::before {
  transform: rotate(45deg) scale(1);
}

.check input:indeterminate::before {
  width: 9px;
  height: 2px;
  border: 0;
  background: #22c55e;
  transform: none;
}

.field {
  margin-bottom: 14px;
}

.row {
  display: flex;
  gap: 8px;
}

input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(104, 247, 255, 0.28);
  border-radius: 0;
  background: #000;
  color: #68f7ff;
  caret-color: #68f7ff;
  font: inherit;
}

input::placeholder {
  color: #7fc7e8;
  opacity: 1;
}

p {
  min-height: 22px;
  margin: 12px 0 0;
  color: #d4d4d4;
}
