:root {
  color-scheme: dark;
  font:
    16px/1.45 system-ui,
    sans-serif;
  color: #f1f1f4;
  background: #121214;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #121214;
  color: #f1f1f4;
}
#root {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: stretch;
  padding: clamp(12px, 4vw, 36px);
  max-width: 620px;
  margin: auto;
}
#root > div:only-child,
#root > section:only-child {
  width: 100%;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #7bb4ff;
  outline-offset: 3px;
}
.setting,
.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.setting,
.disclosure,
.slider {
  padding: 18px;
  border: 1px solid #404047;
  background: #1a1a1e;
  border-radius: 8px;
}
.track {
  position: relative;
  width: 42px;
  height: 24px;
  padding: 2px;
  border: 0;
  border-radius: 20px;
  background: #46464d;
}
.thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: #fff;
  transition: transform 0.15s;
}
.track:is([data-checked], [aria-checked="true"]) {
  background: #4367cd;
}
.track:is([data-checked], [aria-checked="true"]) .thumb {
  transform: translateX(18px);
}
.radio-set,
.rating {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rating {
  margin-top: 7px;
  gap: 3px;
}
.star {
  font-size: clamp(24px, 8vw, 40px);
  cursor: pointer;
}
.option {
  border: 1px solid #4d4859;
  background: #211e28;
  padding: 8px 13px;
  border-radius: 6px;
  color: #dfdde8;
  cursor: pointer;
}
.option.chosen,
.option[data-state="on"] {
  background: #48365f;
  border-color: #bc98e5;
  color: white;
}
.railwrap {
  padding: 16px 0 7px;
  touch-action: none;
}
.rail {
  display: block;
  height: 6px;
  border-radius: 8px;
  background: #484959;
  position: relative;
  width: 100%;
}
.fill {
  display: block;
  height: 100%;
  background: #909dff;
}
.handle {
  width: 17px;
  height: 17px;
  border-radius: 100%;
  background: #e8eaff;
  top: 50%;
}
.panel-text,
.disclosure > div {
  margin: 0;
  padding: 12px 10px;
  color: #c1c1c8;
}
.disclosure .line {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 600;
}
.rt-Theme,
.radix-themes {
  min-height: 0 !important;
}
.bp6-tree {
  min-width: 130px;
}
