@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #26332e;
  background: #f6f7f4;
  font-synthesis: none;
  --muted: #7a847c;
  --line: #e3e7df;
  --green: #c5ef9a;
  --dark: #27392f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
label,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible,
label:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #79a74e;
  outline-offset: 4px;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
button,
input,
select {
  accent-color: #587c40;
}
button {
  transition:
    background 0.15s,
    transform 0.15s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid var(--line);
  padding: 0 4%;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fbfcf9;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: -1.1px;
  font-size: 24px;
}
.brand-light {
  font-weight: 450;
  color: #7a847c;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--dark);
  color: var(--green);
  margin-right: 12px;
  border-radius: 10px;
  font-size: 35px;
  line-height: 1;
}
.beta {
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  letter-spacing: 1px;
  margin: 4px 0 0 9px;
  border: 1px solid #d6ddd2;
  border-radius: 4px;
  padding: 3px 4px;
  color: #7a847c;
}
.private {
  margin-left: auto;
  font-size: 12px;
  color: #6f7d72;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot,
.live-dot,
.loaded-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #699b47;
  border-radius: 50%;
}
.text-button {
  border: 0;
  background: transparent;
  font-size: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.topbar > .text-button {
  margin-left: 20px;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 43px 4% 20px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 33px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: #7c887b;
}
h1 {
  font-family: Manrope, sans-serif;
  font-weight: 650;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -1.9px;
  margin: 10px 0 10px;
  line-height: 1.2;
}
h1 em {
  font-weight: 450;
  font-style: normal;
  color: #748c60;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.project-state {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #edf0e9;
  border: 1px solid #e1e6db;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 11px;
  color: #78836f;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(330px, 1.8fr) minmax(
      260px,
      1.05fr
    );
  gap: 19px;
  align-items: stretch;
}
.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
}
.panel-heading {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 14px;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.step {
  display: inline-grid;
  place-items: center;
  border: 1px solid #e0e6da;
  background: #f4f6f0;
  border-radius: 6px;
  width: 23px;
  height: 23px;
  font-size: 10px;
  color: #7b8e6e;
  margin-right: 8px;
}
.micro {
  font-size: 8px;
  letter-spacing: 1px;
  color: #9aa196;
}
.panel-body {
  padding: 21px 19px;
}
.dropzone {
  border: 1.5px dashed #c8d5be;
  border-radius: 10px;
  background: #f8faf5;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 29px 8px 24px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.dropzone:hover,
.dropzone.drag-over {
  background: #edf6e4;
  border-color: #7eab5c;
}
.upload-icon {
  background: #eaf0e2;
  border-radius: 12px;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  font-size: 29px;
  color: #698550;
  margin-bottom: 16px;
}
.dropzone strong {
  font-size: 13px;
  font-weight: 550;
}
.dropzone > span:not(.upload-icon) {
  font-size: 11px;
  color: #8a9484;
  margin-top: 8px;
}
.dropzone u {
  color: #597947;
  text-underline-offset: 3px;
}
.dropzone small {
  font-size: 9px;
  color: #9ba393;
  margin-top: 20px;
}
.demo-button {
  font-size: 10px;
  color: #7d8975;
  background: transparent;
  border: 0;
  margin: 14px auto 25px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 3px;
}
.section-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 600;
  color: #7e8978;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.section-label > span {
  font-size: 8px;
  background: #eef2e9;
  padding: 3px 5px;
  border-radius: 4px;
}
.overlay-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  gap: 11px;
}
.overlay-thumb {
  flex: none;
  width: 38px;
  height: 43px;
  border-radius: 5px;
  background: repeating-conic-gradient(#e5e9e0 0% 25%, #f4f6f0 0% 50%) 50%/12px
    12px;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: #718c60;
}
.overlay-info {
  min-width: 0;
}
.overlay-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  font-size: 11px;
  max-width: 140px;
}
.overlay-info small {
  display: block;
  font-size: 9px;
  color: #8d9786;
  margin-top: 5px;
}
.loaded-dot {
  margin-left: auto;
  background: #bfc6b9;
  flex: none;
}
.loaded-dot.ready {
  background: #76a64f;
}
.replace-button {
  font-size: 10px;
  color: #7a8a70;
  display: block;
  width: fit-content;
  margin: 13px auto 0;
  cursor: pointer;
  padding: 5px;
}
.local-note {
  display: flex;
  gap: 10px;
  margin-top: 38px;
  padding: 15px 12px;
  background: #f6f8f2;
  border-radius: 8px;
}
.local-note > span {
  font-size: 21px;
  color: #7e936d;
}
.local-note strong {
  font-size: 10px;
  font-weight: 500;
}
.local-note p {
  font-size: 10px;
  color: #909987;
  line-height: 1.7;
  margin: 5px 0 0;
}
.source-panel {
  display: flex;
  flex-direction: column;
}
.source-footer {
  margin-top: auto;
  padding: 20px 19px;
  font-size: 9px;
  color: #9ba492;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-mark {
  font-size: 18px;
}
.preview-panel {
  background: #e8ece4;
  border: 1px solid #dde3d7;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.preview-header {
  height: 43px;
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #7d8973;
}
.preview-header > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: #80996c;
}
.stage {
  flex: 1;
  min-height: 490px;
  padding: 9px 20px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: radial-gradient(#c8d0bf 0.6px, transparent 0.6px);
  background-size: 12px 12px;
}
.canvas-wrap {
  position: relative;
  height: 460px;
  max-width: 100%;
  aspect-ratio: 9/16;
  background: #1f302b;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 28px #263c261a;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: none;
  cursor: default;
}
canvas.can-position {
  cursor: move;
}
.settings-panel {
  display: flex;
  flex-direction: column;
}
.settings-panel .export-area {
  margin-top: auto;
}
.preset-summary {
  padding: 23px 19px;
}
.preset-summary dl {
  margin: 0;
}
.preset-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 17px 0;
  font-size: 12px;
}
.preset-summary dt {
  color: #7e8978;
}
.preset-summary dd {
  margin: 0;
  font-weight: 550;
  color: #526847;
}
.preset-summary p {
  color: #95a08a;
  font-size: 10px;
  line-height: 1.8;
  margin: 23px 0 0;
}
.advanced-settings {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.advanced-settings summary {
  padding: 16px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  color: #839378;
  font-size: 11px;
}
.advanced-settings summary::-webkit-details-marker {
  display: none;
}
.advanced-settings summary:hover {
  background: #f7faf3;
}
.advanced-settings summary:focus-visible {
  outline: 3px solid #79a74e;
  outline-offset: -3px;
}
.advanced-settings[open] summary > span {
  transform: rotate(180deg);
}
.advanced-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 19px 10px;
  color: #9aa58e;
  font-size: 9px;
}
.advanced-header .text-button {
  color: #738565;
  font-size: 10px;
}
.empty-message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #edf4e9;
  background: linear-gradient(180deg, #21332920, #213329be);
  pointer-events: none;
}
.empty-message > span {
  font-size: 7px;
  letter-spacing: 2px;
  color: #c3d7b0;
}
.empty-message strong {
  font-family: Manrope, sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 27px 0 15px;
}
.empty-message p {
  color: #a5b9a6;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.empty-message button {
  pointer-events: auto;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  padding: 11px 17px;
  font-size: 10px;
  margin-top: 26px;
  display: flex;
  gap: 20px;
}
.stage-note {
  position: absolute;
  bottom: 11px;
  left: 10px;
  right: 10px;
  text-align: center;
  font-size: 9px;
  color: #87947a;
}
.transport {
  height: 58px;
  flex: none;
  background: #f4f6f0;
  border-top: 1px solid #dde3d7;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
}
.play-button {
  background: white;
  border: 1px solid #dce4d5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 9px;
  flex: none;
}
.timecode {
  font-size: 9px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #839078;
}
.transport input {
  min-width: 30px;
  flex: 1;
}
.icon-button {
  background: none;
  border: 0;
  padding: 4px;
  font-size: 20px;
  color: #849178;
}
.transport .icon-button {
  font-size: 23px;
}
.settings-panel .panel-heading {
  padding: 0 17px;
}
.settings-panel .panel-heading .text-button {
  font-size: 10px;
  color: #849478;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.control-section {
  padding: 19px 19px 18px;
  border-bottom: 1px solid #edf0e8;
}
select {
  appearance: none;
  background: #fafbf8
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23859479'/%3E%3C/svg%3E")
    right 10px center/12px no-repeat;
  border: 1px solid #e2e7dc;
  border-radius: 6px;
  padding: 10px;
  font-size: 11px;
  color: #59694f;
  width: 100%;
  cursor: pointer;
}
.segmented {
  display: flex;
  margin-top: 10px;
  gap: 4px;
  background: #f0f3eb;
  border: 1px solid #e8ece2;
  border-radius: 6px;
  padding: 3px;
}
.segmented button {
  font-size: 10px;
  flex: 1;
  border: 0;
  border-radius: 4px;
  padding: 7px 4px;
  background: none;
  color: #8d9883;
}
.segmented button.active {
  background: white;
  color: #526847;
  box-shadow: 0 1px 3px #0000000a;
}
.range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #637257;
  margin: 13px 0 7px;
}
.range-label output {
  font-size: 10px;
  background: #f1f4eb;
  border-radius: 4px;
  padding: 3px 5px;
  color: #7c8d6d;
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 9px 0 13px;
  cursor: pointer;
  accent-color: #7a9b59;
}
.subtle {
  font-size: 8px;
  color: #9aa48f;
}
.position-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: #f5f7f1;
  border: 1px solid #e6ebdf;
  border-radius: 7px;
  margin: 11px 0 16px;
}
.position-grid button {
  border: 0;
  background: none;
  padding: 3px;
  border-radius: 4px;
  color: #a4ad99;
  font-size: 14px;
}
.position-grid button.active {
  background: #e0edce;
  color: #54773e;
}
.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #637257;
  gap: 10px;
  margin: 9px 0;
}
.switch-row input {
  appearance: none;
  width: 27px;
  height: 16px;
  border-radius: 12px;
  background: #dce2d5;
  position: relative;
  cursor: pointer;
  margin: 0;
  flex: none;
  transition: background 0.15s;
}
.switch-row input:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px #0002;
  transition: transform 0.15s;
}
.switch-row input:checked {
  background: #8da970;
}
.switch-row input:checked:after {
  transform: translateX(11px);
}
.control-hint {
  font-size: 9px;
  color: #9ba58f;
  margin: 6px 0 0;
}
.audio-section {
  padding-top: 16px;
  padding-bottom: 12px;
}
.audio-section .section-label {
  margin-bottom: 12px;
}
.export-area {
  padding: 16px 19px 12px;
}
.export-quality {
  display: flex;
  align-items: center;
  font-size: 9px;
  color: #869579;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 13px;
}
.export-quality select {
  width: auto;
  font-size: 9px;
  border: 0;
  background-color: transparent;
  padding: 3px 22px 3px 0;
}
.export-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border: 0;
  border-radius: 7px;
  background: var(--dark);
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
.export-button:disabled {
  background: #e5eddd;
  color: #899c78;
  opacity: 1;
}
.export-area p {
  text-align: center;
  font-size: 8px;
  color: #9aa58e;
  margin: 10px 0 0;
  line-height: 1.5;
}
.bottom-line {
  display: flex;
  justify-content: space-between;
  padding: 22px 3px;
  font-size: 9px;
  color: #9aa48f;
}
.bottom-line i {
  font-style: normal;
  margin: 0 14px;
  color: #b4bcaa;
}
.file-card {
  border: 1px solid #d4e3c8;
  border-radius: 8px;
  padding: 15px 10px;
  display: flex;
  gap: 9px;
  align-items: center;
  background: #f7faf3;
}
.file-card > div {
  min-width: 0;
  flex: 1;
}
.file-card strong {
  font-size: 11px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-card small {
  display: block;
  font-size: 9px;
  color: #929f85;
  margin-top: 6px;
}
.file-icon {
  font-size: 24px;
  color: #719653;
}
.status {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 13px 22px;
  background: var(--dark);
  color: #eff6e7;
  border-radius: 9px;
  box-shadow: 0 5px 25px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  font-size: 12px;
  max-width: 90%;
  z-index: 5;
}
.status.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 35px;
  width: min(480px, 90vw);
  color: #26332e;
  background: #fafcf7;
  box-shadow: 0 25px 100px #15211630;
}
dialog::backdrop {
  background: #14251bb0;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-family: Manrope, sans-serif;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 13px 0 22px;
}
dialog p,
dialog li {
  font-size: 12px;
  color: #829075;
  line-height: 1.8;
}
dialog li {
  padding: 7px 0 7px 5px;
}
dialog ol {
  padding-left: 18px;
}
dialog strong {
  color: #4b6241;
  font-weight: 550;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 12px;
}
.secondary-button {
  display: block;
  background: none;
  border: 1px solid #d8e2ce;
  width: 100%;
  border-radius: 7px;
  padding: 11px;
  color: #738565;
  font-size: 11px;
  margin-top: 17px;
}
progress {
  width: 100%;
  height: 7px;
  accent-color: #91b96b;
  margin-top: 15px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #879975;
  margin: 10px 0 24px;
}
#downloadInfo {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #90a17e;
  margin-top: 12px;
}
@media (min-width: 1500px) {
  .canvas-wrap {
    height: 510px;
  }
  .stage {
    min-height: 550px;
  }
  .control-section {
    padding-top: 23px;
    padding-bottom: 21px;
  }
}
@media (max-width: 1100px) {
  main {
    padding: 30px 2.5% 15px;
  }
  .workspace {
    grid-template-columns: 220px minmax(280px, 1fr) 240px;
    gap: 12px;
  }
  .panel-heading,
  .panel-body,
  .control-section,
  .export-area {
    padding-left: 14px;
    padding-right: 14px;
  }
  .micro {
    display: none;
  }
  .canvas-wrap {
    height: 430px;
  }
  .stage {
    padding-left: 12px;
    padding-right: 12px;
  }
  .transport {
    gap: 7px;
    padding: 0 12px;
  }
  .timecode {
    font-size: 8px;
  }
  .subtle {
    font-size: 7px;
  }
}
@media (max-width: 850px) {
  .workspace {
    grid-template-columns: 1fr 1fr;
  }
  .source-panel {
    grid-column: 1/-1;
    display: block;
  }
  .source-panel .panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    padding: 18px;
  }
  .dropzone {
    grid-row: 1/5;
    padding: 20px;
  }
  .source-panel .demo-button {
    grid-column: 1;
    grid-row: 5;
    margin: 10px auto 0;
  }
  .source-panel .section-label {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 8px;
  }
  .overlay-card {
    grid-column: 2;
    grid-row: 2;
  }
  .replace-button {
    grid-column: 2;
    grid-row: 3;
    margin-top: 5px;
  }
  .local-note {
    grid-column: 2;
    grid-row: 4/6;
    margin-top: 7px;
    padding: 10px;
  }
  .source-footer {
    display: none;
  }
  .file-card {
    grid-column: 1;
    grid-row: 1/5;
  }
  .preview-panel {
    min-height: 640px;
  }
  .canvas-wrap {
    height: 470px;
  }
  .stage {
    min-height: 530px;
  }
  .page-heading {
    margin-bottom: 25px;
  }
  .project-state {
    display: none;
  }
  .private {
    font-size: 10px;
  }
  .bottom-line > span:last-child {
    display: none;
  }
  .overlay-info strong {
    max-width: 180px;
  }
}
@media (max-width: 540px) {
  .topbar {
    height: 65px;
    padding: 0 5%;
  }
  .brand {
    font-size: 21px;
  }
  .brand-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }
  .topbar .private {
    display: none;
  }
  .topbar .text-button {
    margin-left: auto;
    font-size: 10px;
    gap: 7px;
  }
  main {
    padding: 28px 4% 10px;
  }
  h1 {
    font-size: 31px;
    letter-spacing: -1.3px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }
  .source-panel .panel-body {
    display: block;
  }
  .dropzone {
    padding: 24px 10px;
  }
  .source-panel .section-label {
    margin-top: 23px;
    margin-bottom: 12px;
  }
  .local-note {
    margin-top: 18px;
  }
  .overlay-info strong {
    max-width: 220px;
  }
  .preview-panel {
    min-height: 570px;
  }
  .stage {
    min-height: 470px;
  }
  .canvas-wrap {
    height: 430px;
  }
  .control-section {
    padding: 21px;
  }
  .export-area {
    padding: 20px;
  }
  .panel-heading {
    height: 57px;
  }
  .section-label {
    font-size: 10px;
  }
  .range-label,
  .switch-row {
    font-size: 12px;
  }
  .control-hint {
    font-size: 10px;
  }
  .position-grid button {
    padding: 7px;
  }
  select {
    font-size: 12px;
  }
  .subtle {
    font-size: 10px;
  }
  .bottom-line {
    justify-content: center;
    font-size: 8px;
  }
  .export-area p {
    font-size: 10px;
  }
  .export-button {
    padding: 16px;
  }
  .canvas-wrap {
    max-width: 100%;
  }
}
