.theme-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 4px 0 20px;
}

.theme-option {
  cursor: pointer;
}

.theme-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-card {
  display: block;
  padding: 13px;
  border: 2px solid #ead1dc;
  border-radius: 14px;
  background: #fff;
  transition: .18s ease;
}

.theme-card b {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
}

.theme-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  height: 28px;
  border-radius: 8px;
}

.theme-swatches i {
  display: block;
}

.theme-option input:checked + .theme-card {
  border-color: #58122f;
  box-shadow: 0 0 0 3px rgba(184, 44, 104, .14);
  transform: translateY(-2px);
}

.mode-toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: #faf3f7;
  cursor: pointer;
}

.mode-toggle + .mode-toggle {
  margin-top: 10px;
}

.usage-setting {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border: 2px solid #8c1c4c;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, #faf3f7);
}

.usage-setting .eyebrow {
  margin: 0 0 10px;
}

.usage-setting .mode-toggle {
  margin: 0;
  background: #fff;
}

.use-gages-toggle input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.mode-toggle input {
  width: 20px;
  height: 20px;
  accent-color: #8c1c4c;
  flex: 0 0 auto;
}

.mode-toggle span {
  display: flex;
  flex-direction: column;
}

.mode-toggle b {
  font-size: 13px;
}

.mode-toggle small {
  margin-top: 3px;
  color: #856879;
  line-height: 1.4;
}

.level-name-field {
  display: grid;
  gap: 5px;
  padding: 11px 14px;
  background: #fff;
  border-top: 1px solid #ecd8e1;
}

.level-name-field span {
  font-size: 10px;
  font-weight: 800;
  color: #856879;
}

.level-name-field input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #dcbcca;
  border-radius: 9px;
  font: 600 13px system-ui, sans-serif;
  color: #482337;
  outline: none;
}

.level-name-field input:focus {
  border-color: #8c1c4c;
  box-shadow: 0 0 0 3px rgba(184, 44, 104, .12);
}

@media (max-width: 850px) {
  .theme-picker {
    grid-template-columns: 1fr 1fr;
  }
}
