@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&family=Outfit:wght@300;400;500;600&display=swap");
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #171915;
  color: #efeee5;
  font:
    15px/1.5 "Outfit",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  background: #30352b;
  color: inherit;
  border: 1px solid #4b5242;
  border-radius: 8px;
  padding: 9px 13px;
}
button:hover {
  border-color: #bddf27;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
a {
  color: inherit;
}
.primary {
  background: #bddf27;
  color: #202418;
  border: 0;
}
header {
  padding: 18px 4vw;
  border-bottom: 1px solid #34392d;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  font-size: 25px;
  letter-spacing: -1px;
  margin-right: auto;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.15;
}
h1 {
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: -2px;
}
.gallery {
  padding: 32px 4vw 70px;
  max-width: 1500px;
  margin: auto;
}
.muted {
  color: #aeb5a4;
}
.gallery > p {
  max-width: 65ch;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: 32px;
}
.card {
  min-width: 0;
  border-top: 1px solid #464d3a;
  padding-top: 14px;
}
.card img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: 10px;
}
.card h2 {
  font-size: 23px;
  margin-bottom: 6px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.2em;
  pointer-events: none;
}
button:has(.icon),
a:has(.icon) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.actions a {
  font-size: 13px;
}
.toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #171915;
  padding: 12px 20px;
}
.workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  height: calc(100dvh - 130px);
}
aside {
  overflow: auto;
  padding: 20px;
  border-right: 1px solid #34392d;
}
label {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  font-size: 13px;
  color: #cdd2c6;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #4b5242;
  border-radius: 6px;
  padding: 9px;
  background: #252a21;
  color: #fff;
}
input[type="color"] {
  height: 40px;
  padding: 4px;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
label.check {
  display: flex;
  align-items: center;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
details {
  border: 1px solid #3b4233;
  border-radius: 12px;
  margin: 12px 0;
  background: #1e231b;
  transition:
    border-color 160ms ease,
    background 160ms ease;
  min-width: 0;
}
details[open] {
  border-color: #626e4a;
  background: #20261c;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 11px;
  user-select: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::marker {
  content: "";
}
summary:hover {
  background: #ffffff06;
}
summary:focus-visible,
.select-control:focus-within {
  outline: 2px solid #bddf27;
  outline-offset: 3px;
}
summary > .icon {
  color: #aebc91;
}
.panel-label {
  flex: 1;
  min-width: 0;
}
.panel-chevron {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #ffffff07;
  color: #b5beaa;
}
.panel-chevron .icon {
  transition: transform 180ms ease;
}
details[open] > summary .panel-chevron .icon {
  transform: rotate(180deg);
}
details[open] > summary {
  color: #e2edca;
  border-radius: 11px 11px 0 0;
}
.panel-body {
  border-top: 1px solid #ffffff0b;
  padding: 4px 14px 16px;
}
.panel-body > .muted {
  font-size: 13px;
  line-height: 1.6;
}
.panel-body details {
  background: #171c15;
  border-radius: 8px;
}
.panel-body details > summary {
  padding: 10px;
  min-height: 44px;
}
.panel-body details .panel-body {
  padding-inline: 10px;
}
.select-control {
  position: relative;
  display: block;
  min-width: 0;
  border-radius: 6px;
}
.select-control select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  min-height: 42px;
  cursor: pointer;
}
.select-control > .icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #c5d0b5;
}
.select-control select:focus-visible {
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  details,
  .panel-chevron .icon {
    transition: none;
  }
}
.section-list {
  display: grid;
  gap: 5px;
  margin: 16px 0;
}
.section-list button {
  text-align: left;
}
.section-list .selected {
  border-color: #bddf27;
  color: #bddf27;
}
.stage {
  background: #0c0e0b;
  overflow: auto;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
iframe {
  border: 0;
  background: #fff;
  width: 100%;
  height: 100%;
  min-height: 620px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 20px 80px #0005;
}
.stage.tablet iframe {
  width: 768px;
}
.stage.mobile iframe {
  width: 390px;
}
.status {
  font-size: 12px;
  color: #bddf27;
  min-height: 18px;
}
.tabs {
  display: flex;
  gap: 5px;
}
.tabs button[aria-pressed="true"] {
  background: #bddf27;
  color: #1b2116;
}
.preview-only .workspace {
  grid-template-columns: 1fr;
}
.preview-only aside {
  display: none;
}
.notice {
  padding: 12px 20px;
  background: #24291f;
  color: #c0c7b6;
  font-size: 12px;
}
.danger {
  color: #ffb8a7;
}
.empty {
  padding: 20px;
  border: 1px dashed #454d39;
  border-radius: 8px;
}
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .workspace {
    grid-template-columns: 1fr;
    height: auto;
  }
  aside {
    max-height: 50dvh;
    border-bottom: 1px solid #34392d;
  }
  .stage {
    height: 75dvh;
    padding: 12px;
    justify-content: flex-start;
  }
  .toolbar {
    position: static;
  }
  .stage iframe {
    min-height: 500px;
  }
  .brand {
    font-size: 21px;
  }
}

.toolbar select {
  width: auto;
  min-width: 130px;
}
