@font-face {
  font-family: Manrope;
  src: url(assets/sans.woff2) format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(assets/display.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #10110f;
  --panel: #191a17;
  --line: #363730;
  --muted: #aaa99f;
  --text: #f6f4ec;
  --orange: #ff7037;
  --display: Barlow, "Arial Narrow", sans-serif;
  --sans: Manrope, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font: 14px/1.5 var(--sans);
  color: var(--text);
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #ff905c;
  outline-offset: 3px;
}
::selection {
  background: #ed6d3a;
  color: #111;
}
input {
  accent-color: var(--orange);
}
[hidden] {
  display: none !important;
}
.top {
  border-bottom: 1px solid #33342d;
  background: #151613;
}
.topinner,
main,
footer {
  width: min(1416px, calc(100% - 8vw));
  margin: auto;
}
.topinner {
  display: flex;
  align-items: center;
  height: 73px;
  gap: clamp(28px, 6vw, 95px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.brand img {
  width: 116px;
  height: auto;
}
.brand span {
  border-left: 1px solid #4a4940;
  padding-left: 17px;
  font: 700 15px/1 var(--display);
  letter-spacing: 0.11em;
  color: #c8c6bc;
}
.top nav {
  display: flex;
  align-self: stretch;
  gap: 25px;
}
.top nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #a8a99f;
}
.top nav a.active {
  color: var(--text);
}
.top nav a.active:after {
  content: "";
  height: 3px;
  background: var(--orange);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.ico {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  vertical-align: middle;
}
.top nav .ico {
  width: 16px;
  height: 16px;
}
.system-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #d5d3c7;
  white-space: nowrap;
}
.system-status b,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f7ab52;
}
.system-status.armed b {
  background: #9be975;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 38px 0 26px;
}
.intro h1,
.section-heading h2,
.dialog-top h2 {
  font: 700 clamp(40px, 4.3vw, 63px)/1.02 var(--display);
  letter-spacing: -0.025em;
  margin: 0;
}
.intro h1 span {
  color: var(--orange);
}
.intro p,
.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.btn,
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 7px;
  font-weight: 800;
  transition:
    background 0.15s,
    transform 0.15s;
  line-height: 1.15;
}
.btn {
  min-height: 43px;
  padding: 11px 16px;
  font-size: 13px;
}
.btn:hover,
.iconbtn:hover {
  filter: brightness(1.12);
}
.btn:active {
  transform: translateY(1px);
}
.pale {
  background: #f2f0e8;
  color: #1a1a16;
}
.primary {
  background: var(--orange);
  color: #18130c;
}
.outline {
  border-color: #46473e;
  background: #20211d;
}
.compact {
  min-height: 38px;
}
.iconbtn {
  width: 35px;
  height: 35px;
  color: #cecec2;
}
.iconbtn:hover {
  background: #363731;
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.98fr) minmax(295px, 1fr);
  gap: 18px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  height: 51px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  letter-spacing: -0.015em;
  margin: 0;
  font-weight: 800;
}
.panel-head h2 .ico {
  width: 17px;
  height: 17px;
  color: #b7b6aa;
}
.preview {
  display: flex;
  flex-direction: column;
}
.monitor {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex: 1;
  min-height: 270px;
  background: radial-gradient(ellipse at 67% 77%, #553020 0%, #251a15 42%, #171712 74%);
  container-type: inline-size;
}
.monitor:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.19;
  background-image: radial-gradient(#c4a99a 0.8px, transparent 1px);
  background-size: 5px 5px;
  mask-image: linear-gradient(125deg, transparent 5%, black 75%);
}
.monitor[data-color="lime"] {
  background: radial-gradient(ellipse at 67% 77%, #364420, #171b13 58%, #151611);
}
.monitor[data-color="violet"] {
  background: radial-gradient(ellipse at 67% 77%, #493058, #201825 58%, #171419);
}
.monitor-scene {
  position: absolute;
  inset: 10% 2% 4%;
}
.monitor-label,
.monitor-format {
  position: absolute;
  z-index: 2;
  top: 13px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #d8d2c3;
}
.monitor-label {
  display: flex;
  align-items: center;
  gap: 6px;
  left: 16px;
}
.monitor-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}
.monitor-format {
  right: 15px;
  padding: 1px 5px;
  border: 1px solid #81786a;
  border-radius: 2px;
  color: #dad3c7;
}
.register {
  position: absolute;
  height: 9px;
  width: 9px;
  opacity: 0.52;
  pointer-events: none;
}
.r1 {
  left: 12px;
  top: 36px;
  border-top: 1px solid #d8d2c3;
  border-left: 1px solid #d8d2c3;
}
.r2 {
  right: 12px;
  top: 36px;
  border-top: 1px solid #d8d2c3;
  border-right: 1px solid #d8d2c3;
}
.r3 {
  left: 12px;
  bottom: 10px;
  border-bottom: 1px solid #d8d2c3;
  border-left: 1px solid #d8d2c3;
}
.r4 {
  right: 12px;
  bottom: 10px;
  border-bottom: 1px solid #d8d2c3;
  border-right: 1px solid #d8d2c3;
}
.transport {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 17px;
  border-top: 1px solid var(--line);
}
.timeline {
  display: grid;
  grid-template-columns: 1fr auto;
  flex: 1;
  gap: 3px;
  font:
    10px/1.3 ui-monospace,
    monospace;
  color: #a9aa9d;
}
.track {
  height: 4px;
  margin-top: 3px;
  background: #41423b;
  border-radius: 9px;
  grid-column: span 2;
  overflow: hidden;
}
.track div {
  width: 0;
  height: 100%;
  background: var(--orange);
}
.inspector-body {
  padding: 17px 19px 16px;
}
.section-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #aaa99b;
}
.scene-info,
.integration {
  display: flex;
  align-items: center;
  gap: 12px;
}
.scene-info {
  margin: 9px 0 16px;
}
.mini-art {
  width: 49px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #33291f;
}
.mini-art img {
  max-width: 90%;
  max-height: 39px;
}
.scene-info strong,
.integration strong {
  font-size: 16px;
  font-weight: 850;
  display: block;
}
.scene-info span,
.integration small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.scene-info .iconbtn {
  margin-left: auto;
}
.controls {
  border-top: 1px solid var(--line);
}
.setting {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
}
.setting .ico {
  width: 16px;
  height: 16px;
  color: #b7b7ad;
}
.setting input[type="checkbox"] {
  appearance: none;
  width: 31px;
  height: 18px;
  border-radius: 20px;
  background: #4b4c44;
  margin: 0 0 0 auto;
  cursor: pointer;
  position: relative;
  flex: none;
}
.setting input:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e6e4db;
  transition: transform 0.15s;
}
.setting input:checked {
  background: var(--orange);
}
.setting input:checked:before {
  background: #1c1c16;
  transform: translateX(13px);
}
.volume-row {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 0 0 11px 26px;
  color: #babaae;
  font-size: 11px;
}
.volume-row input {
  flex: 1;
  min-width: 25px;
  height: 13px;
}
.volume-row output {
  font:
    10px ui-monospace,
    monospace;
  min-width: 27px;
  text-align: right;
}
.separated {
  border-top: 1px solid var(--line);
  padding-top: 3px;
}
.audio-file {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  background: #23241f;
  border: 1px solid #383930;
  border-radius: 7px;
  padding: 9px 11px;
}
.audio-file > .ico {
  width: 27px;
  color: #f07c48;
}
.audio-file div strong {
  font-size: 11px;
  display: block;
}
.audio-file small {
  display: block;
  color: #aeafa2;
  letter-spacing: 0.08em;
  font-size: 8px;
}
.audio-file > span {
  margin-left: auto;
  color: #c0c0b2;
  font:
    11px ui-monospace,
    monospace;
}
.scenes {
  margin: 28px 0 34px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}
.section-heading h2 {
  font-size: 31px;
}
.section-heading p {
  font-size: 12px;
  margin-top: 5px;
}
.scene-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.tile {
  padding: 0;
  display: flex;
  align-items: stretch;
  text-align: left;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #1a1b18;
  min-height: 82px;
  position: relative;
}
.tile[aria-pressed="true"] {
  border-color: var(--orange);
  background: #241e19;
}
.tile:hover {
  border-color: #747568;
}
.tile-art {
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at bottom right, #58412f, #24221c);
  width: 30%;
  max-width: 102px;
  flex: none;
  overflow: hidden;
}
.tile-art:before {
  content: "";
  position: absolute;
  width: 120%;
  height: 1px;
  top: 45%;
  background: #8f6950;
  transform: rotate(-34deg);
  box-shadow:
    0 10px #6b5544,
    0 18px #4d4238;
}
.tile.lime .tile-art {
  background: radial-gradient(ellipse at bottom right, #4f5934, #22271b);
}
.tile.violet .tile-art {
  background: radial-gradient(ellipse at bottom right, #5a4668, #27212c);
}
.tile-art img {
  position: relative;
  max-width: 84%;
  max-height: 70px;
  transform: rotate(-7deg);
  object-fit: contain;
}
.tile-text {
  align-self: center;
  min-width: 0;
  padding-right: 18px;
}
.tile-text strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.tile-text small {
  display: block;
  font-size: 10px;
  color: #b0afa5;
  margin-top: 5px;
}
.tile-check {
  position: absolute;
  right: 9px;
  top: 8px;
  color: var(--orange);
  width: 13px;
  height: 13px;
}
.tile-check .ico {
  width: 13px;
  height: 13px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 21px;
  color: #909186;
  border-top: 1px solid #2e3029;
  font-size: 10px;
}
footer div {
  display: flex;
  gap: 6px;
  align-items: center;
}
footer img {
  width: 15px;
  height: 15px;
}
footer div span {
  opacity: 0.55;
  margin: 0 3px;
}
.small,
.help,
.feedback {
  font-size: 12px;
  color: var(--muted);
}
.connections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 35px;
}
.connection-body {
  padding: 23px;
}
.connection-body p,
.access p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.app-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 9px;
  font: 700 26px var(--display);
  background: #c0d6aa;
  color: #233d2b;
}
.output-icon {
  background: #493226;
  color: var(--orange);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #dfdfd1;
}
.field small {
  font-weight: 400;
  color: var(--muted);
  display: contents;
}
.field input,
.field select,
.access input {
  background: #10110e;
  color: var(--text);
  border: 1px solid #47483e;
  border-radius: 5px;
  padding: 10px 12px;
  min-width: 0;
}
.help {
  display: block;
  margin-top: 6px;
}
.full {
  width: 100%;
  margin-top: 18px;
}
.link-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.feedback {
  margin-top: 13px;
  color: #d6cbb6;
}
.access {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.access h2,
.access p {
  margin: 0;
}
.access h2 {
  font-size: 16px;
}
.access form {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.log-panel {
  margin-bottom: 34px;
}
.empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
}
.entry {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
}
.entry:last-child {
  border-bottom: 0;
}
.entry img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.entry b,
.entry small {
  display: block;
}
.entry small,
.entry time {
  color: var(--muted);
  font-size: 12px;
}
.entry time {
  margin-left: auto;
}
dialog {
  width: min(530px, calc(100% - 22px));
  padding: 0;
  border: 1px solid #494a41;
  border-radius: 12px;
  background: #1b1c18;
  color: var(--text);
  box-shadow: 0 18px 65px #0008;
}
dialog::backdrop {
  background: #000a;
}
.dialog-top,
.dialog-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 21px;
  border-bottom: 1px solid var(--line);
}
.dialog-top h2 {
  font-size: 31px;
}
.dialog-bottom {
  justify-content: flex-end;
  gap: 10px;
  border: 0;
  border-top: 1px solid var(--line);
}
.form-grid {
  padding: 18px 21px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.form-help,
.wide {
  grid-column: 1/-1;
}
.form-help {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.form-grid .field {
  min-width: 0;
}
.form-grid .setting {
  font-size: 12px;
}
.page {
  min-height: calc(100vh - 174px);
}
#toast {
  position: fixed;
  z-index: 10;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  max-width: calc(100% - 30px);
  background: #ece9df;
  color: #20211a;
  border-radius: 7px;
  box-shadow: 0 5px 24px #0007;
  font-size: 13px;
  font-weight: 700;
}
.monitor:fullscreen {
  width: 100vw;
  height: 100vh;
}
@media (min-width: 1600px) {
  .monitor {
    min-height: 365px;
  }
  .inspector-body {
    padding: 23px;
  }
  .setting {
    min-height: 44px;
  }
}
@media (max-width: 900px) {
  .topinner,
  main,
  footer {
    width: 94%;
  }
  .topinner {
    gap: 28px;
  }
  .workbench {
    grid-template-columns: minmax(0, 1.6fr) minmax(255px, 1fr);
    gap: 12px;
  }
  .inspector-body {
    padding: 15px;
  }
  .tile {
    gap: 8px;
  }
  .tile-text strong {
    font-size: 14px;
  }
  .access {
    flex-wrap: wrap;
  }
  .access form {
    margin: 0;
  }
  .brand {
    gap: 10px;
  }
  .brand span {
    padding-left: 10px;
  }
}
@media (max-width: 710px) {
  .topinner {
    height: auto;
    flex-wrap: wrap;
    gap: 0;
    min-height: 82px;
  }
  .brand {
    height: 46px;
  }
  .brand img {
    width: 93px;
  }
  .brand span {
    font-size: 12px;
  }
  .system-status {
    order: 1;
    font-size: 10px;
  }
  .top nav {
    order: 2;
    width: 100%;
    height: 36px;
    gap: 22px;
  }
  .top nav a {
    font-size: 12px;
  }
  .top nav .ico {
    width: 14px;
  }
  .intro {
    margin: 24px 0 18px;
    align-items: flex-start;
  }
  .intro h1 {
    font-size: 40px;
  }
  .intro p {
    font-size: 12px;
    margin-top: 6px;
  }
  .intro .btn {
    min-height: 35px;
    padding: 8px 10px;
    font-size: 11px;
    gap: 5px;
  }
  .intro .btn .ico {
    width: 14px;
  }
  .workbench,
  .connections {
    grid-template-columns: 1fr;
  }
  .monitor {
    min-height: 0;
    aspect-ratio: 1.77;
    flex: auto;
  }
  .scene-info {
    margin-bottom: 10px;
  }
  .scene-list {
    grid-template-columns: 1fr;
  }
  .tile {
    min-height: 70px;
  }
  .tile-art {
    width: 85px;
  }
  .tile-art img {
    max-height: 59px;
  }
  .inspector-body {
    padding: 15px 17px;
  }
  .scenes {
    margin: 22px 0;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading .btn {
    font-size: 11px;
    padding: 8px;
  }
  .panel-head {
    height: 44px;
  }
  .section-heading {
    gap: 8px;
  }
  .transport {
    gap: 11px;
    padding: 11px;
  }
  .brand span {
    border-color: #59594f;
  }
  .intro .btn {
    flex-shrink: 0;
  }
  .page {
    min-height: calc(100vh - 163px);
  }
  .access form {
    flex-wrap: wrap;
  }
  .form-grid {
    gap: 10px;
  }
  .connections {
    margin-bottom: 20px;
  }
  .intro:has(.pale) {
    flex-wrap: wrap;
  }
  .system-status {
    margin-left: auto;
  }
  .section-heading p {
    max-width: 40ch;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (min-width: 711px) {
  .monitor {
    min-height: clamp(290px, 23vw, 390px);
  }
}
@media (max-width: 710px) {
  .section-heading .btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .system-status {
    font-size: 11px;
  }
}
.timeline,
.volume-row output,
.tile-text small,
.section-label,
.monitor-format,
.monitor-label {
  font-size: 11px;
}
.audio-file small {
  font-size: 10px;
}
.monitor-format {
  padding: 2px 7px;
}
.audio-file {
  margin-top: 11px;
}
.trigger-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 1px 0;
  margin-top: 12px;
  border: none;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  color: var(--muted);
  font-size: 11px;
}
.trigger-info strong {
  color: #e7d2bb;
  font-weight: 650;
  text-align: right;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trigger-info:hover strong {
  text-decoration: underline;
}
