:root {
  color-scheme: dark;
  --bg:#202225;
  --panel:#272a2e;
  --control:#32363c;
  --border:#41464f;
  --text:#e8eaed;
  --muted:#a4abb5;
  --accent:#b6c7e4;
  --sage:var(--accent);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 12px/1.5 "Segoe UI", sans-serif;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--control);
  border-radius: 4px;
  padding: 8px 10px;
}
button:hover:not(:disabled) {
  background: #404650;
  border-color: #6a7382;
}
button:active:not(:disabled) {
  background: #4a5260;
}
button:disabled {
  cursor: default;
  color: #7c838e;
  background: #292c31;
  border-color: #393d44;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sprite {
  display: none;
}
[hidden] {
  display: none !important;
}
.app {
  min-height: 100vh;
  max-width: 960px;
  margin: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
h1 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.version {
  font-size: 10px;
  color: #929aa6;
}
.preview {
  font-size: 10px;
  color: #bbc2cc;
  background: #292d34;
  border: 1px solid #414955;
  padding: 7px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.context {
  display: flex;
  align-items: center;
  grid-gap: 7px;
  gap: 7px;
  min-width: 0;
  padding: 7px 0 11px;
  font-size: 11px;
}
.dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: #db9d80;
  border-radius: 50%;
}
.dot.connected {
  background: #a9c5ac;
}
#comp-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c5ccd5;
}
#selection-count,
.badge {
  font-size: 9px;
  color: #aeb6c2;
  white-space: nowrap;
}
#reconnect {
  padding: 2px;
  font-size: 10px;
  color: #d7e4f8;
}
nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  grid-gap: 0;
  gap: 0;
}
.tab {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 8px 2px;
  color: #a1aab7;
  font-size: 11px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab.active {
  color: #f0f3f8;
  border-bottom-color: var(--accent);
  background: #2b3038;
}
.tab:hover:not(:disabled) {
  background: #2c3138;
}
main {
  flex: 1;
  min-width: 0;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
.view-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 8px;
  gap: 8px;
  margin-bottom: 13px;
}
h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}
.layer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 7px;
  gap: 7px;
}
.tool {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  text-align: left;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 11px;
}
.tool svg {
  color: #b4c1d2;
}
.tool:disabled svg {
  color: #7e8998;
}
.hint,
.quiet-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin: 9px 0 0;
}
.quiet-note {
  margin: 16px 0;
}
.section-label {
  font-size: 10px;
  color: #acb4c0;
  margin: 0 0 9px;
  font-weight: 600;
  letter-spacing: .3px;
}
.second {
  margin-top: 24px;
}
.animation-links {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.animation-links button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 11px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  background: #292d33;
  font-size: 12px;
}
.animation-links button:last-child {
  border-bottom: 0;
}
.animation-links button > span:last-child {
  font-size: 17px;
  color: #9baabd;
}
.segmented {
  display: flex;
  grid-gap: 4px;
  gap: 4px;
}
.segmented button {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  padding: 7px 3px;
  background: #282c32;
}
.segmented button.selected {
  background: #485365;
  border-color: #75849a;
  color: #fff;
}
.search {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #191c20;
  margin: 12px 0 8px;
}
.search svg {
  width: 14px;
  height: 14px;
  color: #8795a8;
}
.search input {
  background: none;
  border: 0;
  color: var(--text);
  width: 100%;
  min-width: 0;
  outline: none;
  font-size: 11px;
}
.search input::placeholder {
  color: #9099a7;
}
.preset-list {
  height: 225px;
  overflow: auto;
  border: 1px solid #373c45;
  border-radius: 4px;
  background: #23262b;
}
.preset-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #363c45;
  border-left: 2px solid transparent;
  min-height: 49px;
}
.preset-row.chosen {
  background: #394556;
  border-left-color: var(--accent);
}
.preset-select {
  flex: 1;
  min-width: 0;
  background: none !important;
  border: 0;
  border-radius: 0;
  padding: 8px;
  text-align: left;
}
.preset-select strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preset-select small {
  display: block;
  font-size: 9px;
  color: #aab4c1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}
.favorite {
  background: none !important;
  border: 0;
  font-size: 18px;
  padding: 7px;
  color: #8a96a6;
}
.favorite.saved {
  color: #e3c797;
}
.empty {
  padding: 30px 12px;
  text-align: center;
  font-size: 11px;
  color: #bbc3ce;
}
.empty span {
  display: block;
  font-size: 10px;
  color: #8e98a6;
  margin-top: 8px;
}
.placement {
  margin: 17px 0 14px;
}
.primary {
  background: var(--accent);
  color: #202835;
  border-color: var(--accent);
  font-weight: 600;
  min-height: 37px;
}
.primary:hover:not(:disabled) {
  background: #d0dcee;
  border-color: #d0dcee;
}
.apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 5px;
  gap: 5px;
  width: 100%;
}
.full {
  width: 100%;
}
.utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 7px;
}
.text-button {
  border: 0;
  background: none;
  font-size: 10px;
  color: #c0cee3;
  padding: 6px 0;
}
.text-button:disabled {
  background: none;
}
.details {
  font-size: 10px;
  color: #a4afbf;
  margin-top: 12px;
}
.details summary {
  cursor: pointer;
}
.folder-list {
  font-size: 9px;
  line-height: 1.7;
  word-break: break-all;
}
.folder-list > div {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.card {
  padding: 12px;
  border: 1px solid #3c424b;
  border-radius: 4px;
  background: #262a30;
  margin-bottom: 12px;
}
.button-row {
  display: flex;
  grid-gap: 6px;
  gap: 6px;
}
.button-row > * {
  flex: 1;
  min-width: 0;
}
.secondary {
  font-size: 11px;
  padding: 9px 6px;
}
.number-with-unit {
  display: flex;
  align-items: center;
  grid-gap: 5px;
  gap: 5px;
  color: #cad5e5;
}
.number-with-unit input {
  width: 55px;
  padding: 4px;
  border: 1px solid #4a5463;
  border-radius: 3px;
  background: #1e2228;
  color: #e6edf6;
  text-align: right;
}
.range {
  width: 100%;
  accent-color: var(--accent);
  margin: 10px 0 0;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  color: #9aa6b6;
  font-size: 9px;
  margin: 2px 0 13px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
  margin: 13px 0;
}
.fields label {
  font-size: 10px;
  color: #b0bac8;
  min-width: 0;
}
.input-unit {
  display: flex;
  align-items: center;
  grid-gap: 5px;
  gap: 5px;
  border: 1px solid #46505e;
  border-radius: 3px;
  background: #1c2025;
  padding: 6px 7px;
  margin-top: 5px;
}
.input-unit input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.input-unit > span {
  color: #7f8d9f;
  font-size: 9px;
}
.offset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 7px;
  gap: 7px;
  font-size: 10px;
  color: #b1bdcd;
}
select {
  background: #343d4a;
  border: 1px solid #505c6d;
  border-radius: 3px;
  color: var(--text);
  padding: 5px;
  font-size: 10px;
}
.curve-section-label {
  margin-top: 17px;
}
.curve-card {
  padding: 10px;
}
.curve-card .view-title {
  margin-bottom: 6px;
}
.curve-card .badge {
  font-size: 8px;
}
.curve-graph {
  display: block;
  width: 100%;
  height: 120px;
  touch-action: none;
  cursor: crosshair;
  background: #20252c;
}
.curve-graph .grid {
  stroke: #475466;
  opacity: .3;
  stroke-width: 1;
}
.curve-graph .diagonal {
  stroke: #738198;
  stroke-dasharray: 2 5;
  opacity: .3;
  stroke-width: 1;
}
.curve-graph .curve {
  stroke: var(--accent);
  stroke-width: 2;
}
.curve-graph .handle-line {
  stroke: #8a9bb3;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.curve-graph .handle {
  fill: #20252c;
  stroke: var(--accent);
  stroke-width: 2;
  cursor: grab;
}
.curve-graph .endpoint {
  fill: #acbcd4;
  stroke: none;
}
.curve-presets {
  display: flex;
  grid-gap: 4px;
  gap: 4px;
  margin-top: 7px;
}
.curve-presets button {
  flex: 1;
  min-width: 0;
  font-size: 9px;
  padding: 5px 2px;
  border-radius: 3px;
  background: #2a303a;
}
.curve-presets button.selected {
  background: #435067;
  border-color: #778ba8;
}
.curve-values {
  display: flex;
  grid-gap: 5px;
  gap: 5px;
  margin-top: 8px;
}
.curve-values label {
  flex: 1;
  min-width: 0;
  font-size: 9px;
}
.curve-values input {
  width: 100%;
  padding: 4px;
  background: #1c222b;
  border: 1px solid #4a586e;
  border-radius: 3px;
  color: var(--text);
  font-size: 10px;
  margin-top: 3px;
}
.slide-summary {
  font-size: 10px;
  color: #a6b5c9;
  line-height: 1.7;
  padding: 0 0 10px;
}
.four button {
  font-size: 10px;
}
.curve-card .details {
  font-size: 9px;
  margin-top: 8px;
}
footer {
  border-top: 1px solid #3c424c;
  padding: 10px 0 0;
  margin-top: 18px;
}
#status {
  display: block;
  font-size: 10px;
  color: #bdcbdc;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#status.error {
  color: #efab9e;
}
footer > div {
  display: flex;
  justify-content: space-between;
  color: #848e9d;
  font-size: 9px;
  margin-top: 7px;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background: #505a68;
  border-radius: 3px;
}
input::-webkit-inner-spin-button {
  opacity: .55;
}
@media (min-width: 520px) {
  .app {
    padding: 16px;
  }
  .curve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    gap: 10px;
  }
  .curve-graph {
    height: 140px;
  }
  .layer-actions {
    grid-template-columns: repeat(4, 1fr);
  }
  .tool {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px;
    grid-gap: 10px;
    gap: 10px;
    min-height: 76px;
  }
  .preset-list {
    height: 290px;
  }
  .fields {
    max-width: 440px;
  }
  .curve-section-label {
    margin-top: 19px;
  }
}
@media (max-width: 310px) {
  .app {
    padding: 9px;
  }
  .tool {
    font-size: 10px;
    padding: 9px 6px;
    grid-gap: 5px;
    gap: 5px;
  }
  .tool svg {
    width: 15px;
  }
  .tab {
    font-size: 10px;
  }
  .segmented button {
    font-size: 10px;
  }
  .offset-row {
    font-size: 9px;
  }
  .button-row {
    flex-direction: column;
  }
  .curve-graph {
    height: 100px;
  }
  .card {
    padding: 10px;
  }
  .utility-row {
    grid-gap: 5px;
    gap: 5px;
  }
  .text-button {
    font-size: 9px;
  }
}
:root {
  --bg:#0c1017;
  --panel:#151c27;
  --control:#1c2635;
  --border:#ffffff17;
  --text:#edf3fd;
  --muted:#8e9cb2;
  --accent:#a9ceff;
  --sage:var(--accent);
}
body {
  background:
    radial-gradient(
      ellipse at 15% 0%,
      #253b574d,
      transparent 48%),
    radial-gradient(
      ellipse at 100% 65%,
      #21325722,
      transparent 65%),
    #0c1017;
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
}
.app {
  padding: 18px;
  max-width: 880px;
}
header {
  margin-bottom: 20px;
}
.wordmark {
  display: flex;
  align-items: center;
  grid-gap: 10px;
  gap: 10px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 36px;
  font-size: 20px;
  font-weight: 650;
  border-radius: 10px;
  color: #d7e9ff;
  background:
    linear-gradient(
      145deg,
      rgba(105, 138, 179, .227),
      rgba(255, 255, 255, .02));
  border: 1px solid #c1daff24;
  box-shadow: inset 0 1px rgba(255, 255, 255, .07), 0 5px 12px rgba(0, 0, 0, .2);
}
h1 {
  font-size: 14px;
  letter-spacing: -.3px;
}
h1 span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .1px;
  margin-top: 1px;
}
.version {
  border: 1px solid #ffffff14;
  padding: 3px 7px;
  border-radius: 20px;
  font-size: 9px;
  color: #8d9db3;
}
.context {
  padding: 0 2px 13px;
  font-size: 10px;
}
.dot.connected {
  background: #8ed9be;
  box-shadow: 0 0 8px rgba(142, 217, 190, .2);
}
#selection-count {
  color: #a4bad7;
}
.preview {
  background: #192738;
  border-color: rgba(169, 206, 255, .15);
  border-radius: 8px;
}
nav {
  padding: 4px;
  background: rgba(7, 11, 18, .4);
  border: 1px solid #ffffff10;
  border-radius: 11px;
  grid-gap: 3px;
  gap: 3px;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .133);
}
.tab {
  border: 1px solid transparent;
  border-radius: 7px;
  margin: 0;
  padding: 8px 2px;
  font-size: 11px;
}
.tab.active {
  background:
    linear-gradient(
      150deg,
      #34435a,
      #253045);
  border-color: rgba(255, 255, 255, .094);
  color: #e6f1ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .267), inset 0 1px rgba(255, 255, 255, .03);
}
.tab:hover:not(:disabled) {
  background-color: #253043;
}
h2 {
  font-size: 18px;
  letter-spacing: -.6px;
  font-weight: 600;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #8eabc9;
  margin: 0 0 7px;
}
.view-title {
  margin-bottom: 17px;
}
.view.active {
  animation: view-in 240ms ease-out;
}
@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
button {
  transition:
    background-color .2s,
    border-color .2s,
    box-shadow .2s,
    color .2s,
    transform .22s cubic-bezier(.2, .8, .2, 1);
  border-color: rgba(255, 255, 255, .086);
  border-radius: 8px;
  background: #202a3a;
}
button:hover:not(:disabled) {
  background-color: #2b3a50;
  border-color: rgba(185, 214, 255, .267);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .133);
}
button:active:not(:disabled) {
  transform: translateY(1px);
  background-color: #354762;
}
button:disabled {
  background: #17202b;
  color: #718097;
  border-color: rgba(255, 255, 255, .047);
}
.layer-actions {
  grid-gap: 10px;
  gap: 10px;
}
.tool {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 120px;
  padding: 17px 13px;
  grid-gap: 17px;
  gap: 17px;
  border-radius: 15px;
  background:
    radial-gradient(
      ellipse at 10% 0%,
      #748fac16,
      transparent 75%),
    linear-gradient(
      145deg,
      rgba(30, 40, 54, .91),
      rgba(18, 25, 34, .96));
  border: 1px solid #c3d9ff1a;
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 7px 14px rgba(0, 0, 0, .133);
  font-size: 12px;
  transform: perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  will-change: transform;
}
.tool span,
.tool svg {
  position: relative;
  z-index: 1;
}
.tool svg {
  width: 21px;
  height: 21px;
  color: #b8d5fb;
  filter: drop-shadow(0 2px 6px #73a8ff24);
}
.tool small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #8193ae;
  margin-top: 5px;
}
.tool:disabled {
  background:
    linear-gradient(
      145deg,
      #1a2330,
      #121923);
  color: #8c9aae;
}
.tool:disabled svg {
  color: #7288a3;
}
.tool:hover:not(:disabled) {
  background-color: #22334b;
  border-color: rgba(183, 215, 255, .32);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 12px 25px rgba(0, 0, 0, .2);
}
.tool:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background:
    radial-gradient(
      180px circle at var(--mx,50%) var(--my,50%),
      #a8d0ff24,
      transparent 75%);
  opacity: 0;
  transition: opacity .35s;
}
.tool.spotlit:before {
  opacity: 1;
}
.tool:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      125deg,
      #ffffff08,
      transparent 40%,
      #a8cbff04);
  border-top: 1px solid #ffffff08;
}
.hint {
  font-size: 10px;
  line-height: 1.65;
  color: #8190a7;
}
.section-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #a5b7d0;
}
.second {
  margin-top: 28px;
}
.animation-links {
  border: 1px solid #c8dcff12;
  border-radius: 13px;
  background:
    linear-gradient(
      120deg,
      rgba(28, 38, 52, .69),
      rgba(21, 29, 41, .69));
  box-shadow: inset 0 1px rgba(255, 255, 255, .02);
}
.animation-links button {
  background: transparent;
  border-color: rgba(255, 255, 255, .04);
  padding: 14px;
  font-size: 11px;
}
.animation-links button > span:last-child {
  color: #84a5d0;
}
.animation-links button:hover:not(:disabled) {
  background: rgba(125, 172, 241, .05);
  box-shadow: none;
}
.card {
  background:
    linear-gradient(
      135deg,
      rgba(36, 48, 68, .533),
      rgba(21, 29, 41, .8));
  border: 1px solid #c4d8ff18;
  border-radius: 14px;
  padding: 15px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 8px 20px rgba(0, 0, 0, .067);
}
.segmented {
  padding: 3px;
  background: rgba(9, 15, 24, .4);
  border: 1px solid #ffffff0c;
  border-radius: 9px;
  grid-gap: 2px;
  gap: 2px;
}
.segmented button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  color: #97a7bf;
}
.segmented button.selected {
  background:
    linear-gradient(
      145deg,
      #384c67,
      #273951);
  border-color: rgba(167, 207, 255, .14);
  color: #e1efff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}
.search {
  border-radius: 10px;
  background: rgba(8, 14, 24, .4);
  border-color: rgba(255, 255, 255, .086);
  padding: 10px 11px;
  margin-top: 13px;
}
.search:focus-within {
  border-color: rgba(138, 182, 237, .467);
  box-shadow: 0 0 0 3px rgba(114, 153, 255, .03);
}
.search input::placeholder {
  color: #73849d;
}
.preset-list {
  height: 240px;
  background: rgba(14, 21, 32, .5);
  border-color: rgba(255, 255, 255, .063);
  border-radius: 11px;
}
.preset-row {
  border-bottom-color: rgba(255, 255, 255, .03);
  min-height: 52px;
  border-left: 0;
  position: relative;
}
.preset-row:hover {
  background: rgba(162, 201, 255, .024);
}
.preset-row.chosen {
  background:
    linear-gradient(
      90deg,
      rgba(99, 152, 227, .14),
      rgba(99, 152, 227, .027));
}
.preset-select {
  padding: 10px 9px 10px 30px;
  position: relative;
  box-shadow: none !important;
}
.preset-select:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 11px;
  height: 11px;
  border: 1px solid #8095b44d;
  border-radius: 4px;
}
.chosen .preset-select:before {
  content: "✓";
  font-size: 9px;
  text-align: center;
  line-height: 11px;
  background: #aacdff;
  border-color: #aacdff;
  color: #15253b;
}
.preset-select strong {
  font-size: 11px;
}
.preset-select small {
  color: #7d91ac;
  font-size: 9px;
}
.favorite {
  color: #6f809a;
}
.favorite.saved {
  color: #c9defa;
}
.selection-tray {
  margin-top: 12px;
  padding: 11px;
  background: rgba(129, 170, 242, .04);
  border: 1px solid #abcfff24;
  border-radius: 11px;
}
.tray-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #c0d9fa;
}
.tray-heading button {
  padding: 0;
}
#selected-stack {
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
  counter-reset: stack;
}
#selected-stack li {
  display: flex;
  align-items: center;
  grid-gap: 5px;
  gap: 5px;
  padding: 5px 0;
  counter-increment: stack;
}
#selected-stack li:before {
  content: counter(stack, decimal-leading-zero);
  font-size: 9px;
  color: #6985ab;
  width: 16px;
}
#selected-stack li > span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
}
#selected-stack button {
  padding: 0;
  width: 23px;
  height: 23px;
  background: transparent;
  font-size: 12px;
  border-color: rgba(255, 255, 255, .047);
}
.selection-tray .hint {
  font-size: 9px;
}
.placement {
  margin: 18px 0 12px;
}
.primary {
  background:
    linear-gradient(
      135deg,
      #c4ddff,
      #8bb8f0);
  border: 1px solid #d8e9ff55;
  color: #11233c;
  border-radius: 9px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .4), 0 4px 15px rgba(65, 108, 186, .125);
  min-height: 41px;
  font-size: 11px;
}
.primary:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #d7e8ff,
      #a2c9fa);
  border-color: #e9f3ff;
  box-shadow: 0 6px 22px rgba(98, 158, 234, .16);
}
.primary:disabled {
  background: #223148;
  color: #6f86a6;
  box-shadow: none;
}
.text-button {
  color: #96b5dc;
  background: transparent;
}
.text-button:hover:not(:disabled) {
  background: transparent;
  box-shadow: none;
  color: #d4e6ff;
}
.badge {
  color: #8199b8;
  font-size: 9px;
}
.fields label,
.offset-row {
  color: #9aadc9;
}
.input-unit,
.number-with-unit input,
.curve-values input {
  background: rgba(10, 17, 28, .6);
  border-color: rgba(255, 255, 255, .086);
  border-radius: 7px;
}
.input-unit {
  padding: 9px;
}
select {
  background: #253248;
  border-color: rgba(185, 216, 255, .12);
  border-radius: 7px;
}
.curve-graph {
  background:
    radial-gradient(
      ellipse at 50% 0%,
      #395b8222,
      transparent 80%),
    rgba(13, 21, 34, .5);
  border: 1px solid #ffffff08;
  border-radius: 9px;
  height: 135px;
}
.curve-graph .grid {
  stroke: #6d89b1;
  opacity: .14;
}
.curve-graph .curve {
  stroke: #b3d6ff;
  filter: drop-shadow(0 0 3px #8bbbff44);
}
.curve-graph .handle {
  fill: #1b2b40;
  stroke: #b3d6ff;
}
.curve-presets button {
  background: rgba(26, 39, 59, .533);
  border-color: rgba(255, 255, 255, .047);
  border-radius: 5px;
  font-size: 9px;
}
.curve-presets button.selected {
  background: #364e6d;
  border-color: rgba(169, 207, 255, .19);
}
.curve-card {
  padding: 13px;
}
.slide-summary {
  color: #8faacb;
  font-size: 10px;
}
footer {
  border-top-color: rgba(255, 255, 255, .047);
  margin-top: 24px;
  padding-top: 12px;
}
#status {
  color: #90a8c8;
  font-size: 10px;
}
footer > div {
  color: #566b88;
  font-size: 8px;
  margin-top: 9px;
}
::-webkit-scrollbar-thumb {
  background: rgba(82, 106, 137, .3);
}
::-webkit-scrollbar {
  width: 4px;
}
.details {
  color: #7d92b0;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: #a6cfff;
}
@media (min-width: 520px) {
  .app {
    padding: 24px;
  }
  .tool {
    min-height: 138px;
    padding: 18px 14px;
  }
  .curve-graph {
    height: 155px;
  }
  .preset-list {
    height: 290px;
  }
}
@media (max-width: 310px) {
  .app {
    padding: 12px;
  }
  .tool {
    padding: 13px 10px;
    min-height: 112px;
    font-size: 11px;
  }
  .tool small {
    font-size: 8px;
  }
  .layer-actions {
    grid-gap: 8px;
    gap: 8px;
  }
  .tab {
    font-size: 10px;
  }
  h2 {
    font-size: 16px;
  }
  .card {
    padding: 12px;
  }
  .curve-card {
    padding: 10px;
  }
  .curve-graph {
    height: 115px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .tool {
    transform: none !important;
  }
}
.null-precomp {
  grid-column: 1/-1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: 65px;
  grid-gap: 14px;
  gap: 14px;
}
.preset-endpoint {
  margin-top: 12px;
}
.feature-group {
  margin: 18px 0;
  border: 1px solid #bdd8ff18;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      rgba(33, 49, 73, .333),
      rgba(16, 25, 37, .533));
  padding: 13px;
}
.feature-group > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #cbdff9;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
}
.feature-group > summary:after {
  content: "+";
  font-size: 15px;
  color: #89a6ca;
}
.feature-group[open] > summary:after {
  content: "−";
}
.feature-group > summary > span {
  font-size: 9px;
  font-weight: 400;
  color: #758dab;
  margin-left: auto;
}
.feature-group[open] > summary {
  margin-bottom: 14px;
}
.fields select,
.fields > label > input {
  width: 100%;
  display: block;
  margin-top: 6px;
  padding: 8px;
  background: #0d1724;
  border: 1px solid #b9d8ff24;
  border-radius: 7px;
  color: #dceaff;
  min-width: 0;
}
.anchor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
  gap: 5px;
  max-width: 160px;
  margin: 14px auto;
}
.anchor-grid button {
  height: 34px;
  font-size: 16px;
  background: rgba(35, 51, 75, .4);
}
.compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 6px;
  gap: 6px;
  margin-top: 12px;
}
.compact-grid button {
  font-size: 10px;
  padding: 9px 5px;
}
.save-row {
  display: flex;
  grid-gap: 6px;
  gap: 6px;
  margin: 12px 0;
}
.save-row input {
  min-width: 0;
  flex: 1;
  padding: 8px;
  background: #0d1724;
  border: 1px solid #abcfff24;
  border-radius: 7px;
  color: #dceaff;
  font-size: 10px;
}
.save-row button {
  font-size: 10px;
  padding: 7px;
}
.saved-list {
  font-size: 10px;
  color: #8fa5c3;
}
.saved-row {
  padding: 10px 0;
  border-bottom: 1px solid #c7dfff0e;
}
.saved-row strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  overflow-wrap: anywhere;
}
.row-actions {
  display: flex;
  grid-gap: 5px;
  gap: 5px;
  margin-top: 7px;
}
.row-actions button {
  font-size: 9px;
  padding: 5px 8px;
  background: rgba(37, 55, 83, .5);
}
.row-actions button:first-child {
  color: #c4ddff;
}
.command-row {
  display: flex;
  grid-gap: 5px;
  gap: 5px;
  margin-bottom: 5px;
}
.command-row > button:first-child {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
}
.command-row > button:last-child:not(:first-child) {
  width: 30px;
  padding: 5px;
  color: #a9cfff;
}
.motion-preview {
  height: 135px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #b4d8ff17;
  border-radius: 9px;
  background:
    radial-gradient(
      ellipse,
      #263c5955,
      transparent),
    #0b121e;
  margin: 12px 0;
}
.motion-preview > div {
  width: 72px;
  height: 72px;
  background:
    linear-gradient(
      135deg,
      #a8cafa,
      #6a8cb9);
  border: 1px solid #e4f2ff66;
  border-radius: 14px;
  color: #13243c;
  font-size: 27px;
  font-weight: 600;
  text-align: center;
  padding-top: 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .267);
}
.motion-preview span {
  display: block;
  font-size: 8px;
  font-weight: 400;
}
.saved-group {
  margin-top: 0;
}
#quick .details {
  line-height: 1.9;
}
.tab {
  font-size: 10px;
}
@media (max-width: 310px) {
  .feature-group {
    padding: 10px;
  }
  .feature-group > summary > span {
    display: none;
  }
  .tab {
    font-size: 9px;
  }
  .save-row {
    flex-wrap: wrap;
  }
  .save-row input {
    flex-basis: 130px;
  }
  .row-actions {
    flex-wrap: wrap;
  }
}
