@font-face {
  font-family: Motion;
  src: url("/font.ttf");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f3e9;
  color: #183d34;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  border: 0;
  border-radius: 8px;
  background: #235845;
  color: #fff;
  padding: 12px 17px;
  cursor: pointer;
  font-weight: 650;
}
button:hover {
  filter: brightness(1.1);
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #cbd3c8;
  background: #fafbf4;
  color: #173d33;
  border-radius: 7px;
  padding: 10px;
  margin-top: 7px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 15px 0;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
#studio {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 100vh;
}
aside {
  background: #123d32;
  color: #ecf0db;
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-family: Motion, sans-serif;
  font-size: 38px;
  text-decoration: none;
  letter-spacing: -4px;
  display: flex;
  align-items: center;
}
.brand span {
  color: #c5e879;
}
.brand small {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 2px;
  margin-left: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.1px;
  font-weight: 750;
  color: #738876;
}
.rail-section {
  margin-top: 50px;
}
aside .eyebrow {
  color: #a5c5af;
}
.outline {
  background: transparent;
  border: 1px solid #547765;
  width: 100%;
  margin: 17px 0 14px;
}
.project-link {
  width: 100%;
  text-align: left;
  background: transparent;
  padding: 12px;
  font-size: 13px;
  color: #d0dccd;
  margin: 3px 0;
  overflow-wrap: anywhere;
}
.project-link.active {
  background: #2c5847;
  color: #dcf69b;
}
.rail-bottom {
  margin-top: auto;
  font-size: 11px;
  color: #a9c0ac;
}
.status-dot {
  display: inline-block;
  background: #c5e879;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}
.text-button {
  display: block;
  background: transparent;
  color: #b9cebc;
  padding: 15px 0;
  font-size: 11px;
}
main {
  padding: 37px 45px;
  max-width: 1500px;
  width: 100%;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 23px;
}
h1 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 8px 0 0;
  font-weight: 620;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 18px;
}
h3 {
  font-size: 14px;
  margin: 22px 0 12px;
}
.badge {
  font-size: 11px;
  padding: 9px 12px;
  border: 1px solid #bdc9b7;
  border-radius: 99px;
  white-space: nowrap;
  color: #477454;
  background: #e8efda;
}
.panel {
  background: #fffef7;
  border: 1px solid #dce1d2;
  border-radius: 13px;
  padding: 24px;
  margin-bottom: 22px;
}
.panel p {
  line-height: 1.5;
}
.muted {
  font-size: 12px;
  color: #758271;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.steps {
  display: flex;
  gap: 33px;
  font-size: 11px;
  letter-spacing: 0.7px;
  margin: 28px 0 20px;
  color: #6a806b;
}
.steps span:last-child {
  color: #275c42;
}
.work-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.94fr) minmax(310px, 1.06fr);
  gap: 22px;
}
.canvas-stage {
  background: #e7ecdf;
  min-height: 375px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
canvas {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  box-shadow: 0 9px 24px #213c3320;
}
.playback {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
  font-size: 11px;
  white-space: nowrap;
}
.playback input {
  padding: 0;
  margin: 0;
  accent-color: #477a48;
}
.secondary {
  background: #e7eddf;
  color: #295540;
  font-size: 12px;
  border: 1px solid #c7d2bd;
}
.playback button {
  padding: 8px 12px;
}
.format-controls,
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.render-action {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #dce1d2;
  display: flex;
  gap: 17px;
  align-items: center;
}
.render-action small {
  font-size: 10px;
  color: #7c8c77;
  line-height: 1.5;
}
.scene-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  text-align: left;
  align-items: center;
  background: #eff2e6;
  color: #365943;
  width: 100%;
  margin-bottom: 9px;
  padding: 12px;
  border: 1px solid transparent;
}
.scene-card.active {
  background: #dfedc0;
  border-color: #a7c480;
}
.scene-card span:first-child {
  color: #759061;
  font-size: 12px;
}
.scene-card small {
  font-size: 10px;
  opacity: 0.65;
}
.scene-card b {
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
details {
  border-top: 1px solid #dce1d2;
  margin-top: 20px;
  padding-top: 16px;
}
summary {
  cursor: pointer;
  font-size: 12px;
  color: #56744f;
}
#spec-json,
code {
  font-family: ui-monospace, monospace;
  font-size: 11px;
}
code {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 12px;
  border-radius: 6px;
  background: #edf1e1;
  line-height: 1.6;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.job,
.version,
.asset {
  padding: 12px 0;
  border-bottom: 1px solid #e4e8d9;
  font-size: 12px;
  line-height: 1.6;
}
.job progress {
  width: 100%;
  accent-color: #477a48;
}
.job a {
  margin-right: 14px;
  color: #437436;
}
.job button,
.version button,
.asset button {
  font-size: 10px;
  padding: 5px 9px;
  margin-left: 10px;
}
.job-error {
  color: #a1563d;
}
.settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-top: 12px;
}
.settings h2,
.settings small {
  grid-column: 1/-1;
}
.settings label {
  margin-top: 0;
}
.settings small {
  color: #839078;
  font-size: 11px;
}
footer {
  font-size: 10px;
  letter-spacing: 1.8px;
  display: flex;
  justify-content: space-between;
  color: #7e8c72;
  padding: 3px 0 20px;
}
footer span {
  letter-spacing: 0;
}
.login-card {
  max-width: 410px;
  margin: 13vh auto;
  background: #fffef7;
  border: 1px solid #dce1d2;
  padding: 38px;
  border-radius: 15px;
}
.login-card p {
  line-height: 1.7;
  color: #647961;
}
.login-card small {
  font-size: 11px;
  color: #7d8878;
}
#notice {
  min-height: 15px;
  font-size: 13px;
  color: #426c41;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
#notice.error,
#login-error {
  color: #a1563d;
}
#create-panel {
  max-width: 700px;
}
#create-panel h2 {
  font-size: 26px;
  margin-top: 14px;
}
input[type="color"] {
  height: 41px;
  padding: 5px;
}
#scope {
  margin-bottom: 15px;
}
#local-controls {
  padding-top: 10px;
}
#time {
  min-width: 72px;
}
@media (max-width: 1050px) {
  main {
    padding: 26px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .canvas-stage {
    min-height: 400px;
  }
}
@media (max-width: 700px) {
  #studio {
    display: block;
  }
  aside {
    position: static;
    height: auto;
    padding: 18px 22px;
  }
  .brand {
    font-size: 26px;
  }
  .rail-section {
    margin-top: 18px;
  }
  .rail-bottom {
    display: none;
  }
  #project-list {
    display: flex;
    overflow-x: auto;
  }
  .project-link {
    min-width: 140px;
    width: auto;
  }
  .outline {
    width: auto;
    margin: 10px 0;
  }
  .rail-section .eyebrow {
    display: none;
  }
  main {
    padding: 22px 15px;
  }
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  h1 {
    font-size: 26px;
  }
  .steps {
    gap: 15px;
    font-size: 9px;
  }
  .panel {
    padding: 18px;
  }
  .settings {
    grid-template-columns: 1fr;
  }
  .settings p,
  .settings label {
    grid-column: 1;
  }
  .canvas-stage {
    min-height: 350px;
  }
  .pair {
    gap: 10px;
  }
  footer span {
    display: none;
  }
}
