.np-studio {
  --st-green: #18372b;
  --st-ink: #1a3027;
  --st-paper: #f8f6ef;
  --st-muted: #59685e;
  --st-line: #c8cfc3;
  --st-orange: #aa461e;
  color: var(--st-ink);
  margin: 0 auto;
  width: min(1120px, calc(100% - 64px));
  padding: clamp(28px, 5vw, 72px) 0 72px;
}
.np-studio * {
  box-sizing: border-box;
}
.np-studio [hidden] {
  display: none !important;
}
.np-studio :where(h1, h2, h3, p) {
  margin: 0;
}
.np-studio :where(button, input, select, textarea) {
  font: inherit;
}
.np-studio :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #bf602f;
  outline-offset: 3px;
}
.np-studio button {
  cursor: pointer;
}
.np-studio button:disabled,
.np-studio fieldset:disabled button {
  opacity: 0.54;
  cursor: default;
}
.np-studio .st-kicker {
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--st-orange);
  margin-bottom: 12px;
}
.st-heading {
  margin-bottom: clamp(24px, 4vw, 42px);
}
.st-heading h1,
.st-success h2 {
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.06em;
  font-size: clamp(2.7rem, 6vw, 5rem);
  color: var(--st-ink);
}
.st-heading h1 span {
  color: var(--st-orange);
}
.st-heading > p:last-child {
  color: var(--st-muted);
  margin-top: 14px;
  max-width: 48em;
  line-height: 1.5;
}
.st-workspace {
  border: 1px solid var(--st-line);
  border-radius: 20px;
  overflow: hidden;
  background: #fcfbf6;
}
.st-rail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 3vw, 32px);
  gap: 12px;
  border-bottom: 1px solid var(--st-line);
  background: #ecefe4;
}
.st-rail-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.st-rail-heading span,
.st-source label {
  font-size: 0.78rem;
  color: var(--st-muted);
}
.st-tabs {
  display: flex;
  gap: 7px;
}
.st-tabs button {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 44px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  background: transparent;
  color: var(--st-ink);
  font-family: ui-monospace, monospace;
  font-weight: 600;
}
.st-tabs button[aria-current="step"] {
  color: white;
  background: var(--st-green);
  border-color: var(--st-green);
}
.st-tabs .st-ready i {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  background: var(--st-orange);
  border-radius: 50%;
}
.st-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(255px, 1fr);
}
.st-film-pane,
.st-call-pane {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
}
.st-call-pane {
  border-left: 1px solid var(--st-line);
}
.st-editor-grid h2,
.st-publish h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.st-call-pane > p,
.st-timing > p,
.st-help,
.st-publish > p,
.st-empty p,
.st-success > p {
  color: var(--st-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 8px 0 16px;
}
.st-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: #173a2d;
  margin-top: 16px;
  display: grid;
  place-items: center;
}
.st-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #10251d;
}
.st-empty {
  text-align: center;
  color: #faf8ee;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.st-empty svg {
  color: #aebea8;
  margin: 0 auto 10px;
  width: 36px;
  height: 36px;
}
.st-empty h3 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
.st-empty p {
  color: #d2dccd;
  margin: 5px 0 14px;
}
.np-studio .st-button,
.np-studio .st-alt {
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 10px 17px;
  min-height: 44px;
  cursor: pointer;
  line-height: 1.2;
}
.np-studio .st-button {
  background: var(--st-green);
  color: #fff;
}
.np-studio .st-button:hover {
  background: #28513e;
}
.np-studio .st-light {
  background: var(--st-paper);
  color: var(--st-green);
}
.np-studio .st-light:hover {
  background: #e5eadb;
}
.np-studio .st-alt {
  color: var(--st-green);
  border-color: var(--st-line);
  background: transparent;
}
.st-help {
  margin: 10px 0 22px;
  font-size: 0.8rem;
}
.st-help summary {
  cursor: pointer;
  font-weight: 600;
  width: max-content;
  max-width: 100%;
}
.st-help p {
  max-width: 52em;
  margin-top: 6px;
}
.st-source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 11px;
  margin-top: 15px;
}
.st-source label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.st-source select {
  min-width: 0;
  max-width: 100%;
  flex: 1;
  font-size: 0.8rem;
  color: var(--st-green);
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  padding: 7px;
}
.np-studio .st-text {
  flex-shrink: 0;
  border: none;
  background: none;
  padding: 8px 0;
  color: var(--st-green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-size: 0.82rem;
}
.st-timing {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.st-timing legend,
.st-notes > label {
  color: var(--st-ink);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.018em;
  padding: 0;
}
.st-timing > p {
  font-size: 0.82rem;
  margin: 5px 0 14px;
}
.st-nudge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}
.st-nudge button {
  display: block;
  border: 1px solid var(--st-line);
  border-radius: 5px;
  background: transparent;
  padding: 6px 10px;
  color: var(--st-green);
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
}
.st-nudge output {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  color: var(--st-muted);
  font-variant-numeric: tabular-nums;
}
.st-marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.st-mark,
.st-preview button,
.st-record {
  border: 1px solid var(--st-line);
  color: var(--st-green);
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--st-paper);
  font-size: 0.81rem !important;
  font-weight: 600 !important;
}
.st-mark {
  width: 100%;
  min-height: 37px;
}
.st-marks label {
  font-size: 0.72rem;
  display: block;
  margin-top: 7px;
  color: var(--st-muted);
}
.st-marks label span {
  font-weight: 400;
}
.np-studio input:not([type="file"]),
.np-studio textarea {
  color: var(--st-ink);
  background: white;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  font-size: 1rem;
  font-weight: 400;
}
.st-marks input {
  font-family: ui-monospace, monospace !important;
  font-size: 0.88rem !important;
}
.st-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.st-preview button {
  background: transparent;
}
.st-court {
  width: 100%;
  border: 5px solid #30543f;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--st-paper);
  gap: 2px;
  overflow: hidden;
  margin: 18px 0 0;
}
.st-court button {
  min-height: clamp(50px, 6vw, 70px);
  background: #3a614a;
  color: white;
  border: 0;
  padding: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}
.st-court button:hover {
  background: #386d4c;
}
.st-court button[aria-pressed="true"] {
  background: var(--st-orange);
  box-shadow: inset 0 0 0 2px var(--st-paper);
}
.st-court button:focus-visible {
  outline-offset: -4px;
  z-index: 1;
}
.st-net {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--st-muted);
}
.st-net:before,
.st-net:after {
  content: "";
  flex: 1;
  border-top: 1px dashed var(--st-muted);
}
.st-notes {
  padding-top: 24px;
  margin-top: 20px;
  border-top: 1px solid var(--st-line);
}
.st-notes small {
  margin-left: 6px;
  font-family: inherit;
  color: var(--st-muted);
  font-size: 0.75rem;
  font-weight: 400;
}
.np-studio textarea {
  resize: vertical;
  margin: 9px 0;
}
.st-record {
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.st-record span {
  color: var(--st-orange);
}
.st-audio {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.st-audio audio {
  width: 100%;
  max-width: 250px;
  height: 34px;
}
.np-studio .st-msg {
  display: block;
  color: #8a3c1d;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 8px 0 0;
}
.np-studio .st-msg:empty {
  display: none;
}
.st-next {
  margin-top: 23px;
}
.st-publish,
.st-success {
  margin-top: 24px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--st-line);
  background: #ecefe4;
  border-radius: 18px;
}
.st-names {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 14px;
  margin-top: 20px;
}
.st-names label,
.st-success label {
  font-weight: 600;
  font-size: 0.85rem;
}
.st-brand {
  margin-top: 16px;
}
.st-brand summary {
  width: max-content;
  max-width: 100%;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
}
.st-brand small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--st-muted);
  margin-left: 5px;
}
.st-brand .st-names {
  margin-top: 10px;
}
.st-brand select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px;
  height: 41px;
  color: var(--st-ink);
  border: 1px solid var(--st-line);
  border-radius: 6px;
  background: white;
  font-weight: 400;
}
.st-publish > p {
  font-size: 0.84rem;
  max-width: 65em;
  margin: 14px 0;
}
.st-success {
  max-width: 710px;
  margin: 24px auto;
  padding: clamp(24px, 4vw, 48px);
}
.st-success h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}
.st-success > p {
  margin-top: 16px;
}
.st-success > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
@media (max-width: 750px) {
  .np-studio {
    width: calc(100% - 32px);
    padding: 32px 0 50px;
  }
  .st-editor-grid {
    grid-template-columns: 1fr;
  }
  .st-call-pane {
    border-left: 0;
    border-top: 1px solid var(--st-line);
  }
  .st-court {
    max-width: 475px;
  }
  .st-net {
    max-width: 475px;
  }
}
@media (max-width: 520px) {
  .st-rail {
    align-items: stretch;
    flex-direction: column;
  }
  .st-rail-heading {
    justify-content: space-between;
  }
  .st-tabs button {
    flex: 1;
    width: auto;
  }
  .st-stage {
    min-height: 175px;
  }
  .st-names {
    grid-template-columns: 1fr;
  }
  .st-mark {
    padding: 7px 3px;
  }
}
