[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.workspace-tabs {
  gap: 24px;
  overflow-x: auto;
}
.workspace-tabs button {
  flex-shrink: 0;
}
.creative-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 28px;
}
.creative-heading h2 {
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.07;
  margin: 14px 0;
  letter-spacing: -1.2px;
}
.creative-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 470px;
}
.edition-mark {
  font-size: 31px;
  line-height: 1.4;
  border-left: 1px solid var(--line);
  padding: 0 22px;
  font-weight: 300;
  letter-spacing: 5px;
  color: var(--accent-text);
}
.cast-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.audition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr);
  gap: 30px;
  align-items: start;
}
.audition-layout .section-heading p {
  margin-top: 6px;
}
.expression-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.expression-card {
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.expression-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: contain;
  background: var(--soft);
}
.expression-card > div {
  padding: 15px;
}
.expression-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.workshop-empty {
  border: 1px dashed var(--line);
  padding: 42px 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  grid-column: 1/-1;
}
.workshop-empty > span {
  color: var(--accent-text);
  font-size: 35px;
  font-weight: 300;
  margin-bottom: 20px;
}
.workshop-empty h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}
.workshop-empty p {
  max-width: 300px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.voice-desk {
  background: var(--soft);
  padding: 25px;
  border-top: 3px solid var(--accent);
}
.voice-desk > h2 {
  margin: 14px 0 10px;
  font-size: 34px;
}
.voice-desk > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.voice-actions {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.voice-actions .button {
  font-size: 11px;
}
.voice-take {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 12px;
}
.voice-take.chosen {
  border-color: var(--accent-text);
}
.voice-take > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.voice-take h3 {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.voice-take > div > span {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.voice-take p {
  font-family: var(--serif);
  font-size: 19px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.voice-take audio {
  width: 100%;
  height: 35px;
  margin: 8px 0;
}
.voice-take .button {
  font-size: 10px;
  padding-left: 0;
}
.voice-empty {
  padding: 28px 0;
  font-family: var(--serif);
  font-size: 23px;
  border-top: 1px solid var(--line);
}
.voice-empty span {
  display: block;
  margin-top: 12px;
  font: 12px/1.6 var(--sans);
  color: var(--muted);
}
.voice-desk > .field-note {
  font-size: 10px;
  margin-top: 20px;
}
.world-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1.2px;
  border-block: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 24px;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.world-card {
  border: 1px solid var(--line);
  background: var(--surface);
}
.world-card.is-approved {
  border-top: 3px solid var(--accent);
}
.world-card > img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  display: block;
}
.world-note-art {
  background: var(--soft);
  aspect-ratio: 5/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.world-note-art .mark {
  width: 45%;
  height: auto;
  color: var(--accent);
  opacity: 0.14;
  transform: rotate(-10deg);
}
.world-note-art > span {
  position: absolute;
  z-index: 1;
  font-family: var(--serif);
  font-size: 28px;
}
.world-card-body {
  padding: 20px;
}
.world-card-body .section-heading {
  margin-bottom: 12px;
  gap: 6px;
  flex-wrap: wrap;
}
.world-card-body .eyebrow {
  font-size: 8px;
}
.mini-status {
  font-size: 9px;
  color: var(--accent-text);
}
.world-card h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.world-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0 16px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.world-controls {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.world-controls .button {
  min-height: 36px;
  padding: 0 10px;
  font-size: 10px;
}
.workshop-heading-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.animatic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 1fr);
  gap: 26px;
  align-items: start;
}
.animatic-preview {
  position: sticky;
  top: 88px;
  min-width: 0;
}
.animatic-screen {
  position: relative;
  background: #101719;
  aspect-ratio: 16/9;
  color: #f4f0e8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #343738;
}
.animatic-screen.vertical-frame {
  aspect-ratio: 9/16;
  max-height: 570px;
  max-width: 321px;
  margin-inline: auto;
}
.animatic-screen > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.animatic-watermark {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  font-size: 14px;
  font-weight: 900;
  text-shadow: 0 1px 10px #000;
}
.animatic-watermark sup {
  font-size: 8px;
  color: #ff917d;
  margin-left: 3px;
}
.animatic-watermark span {
  display: block;
  font-size: 6px;
  font-weight: 400;
  letter-spacing: 1.4px;
  margin-top: 5px;
}
[data-preview-counter] {
  position: absolute;
  right: 15px;
  top: 17px;
  z-index: 1;
  font-size: 8px;
  letter-spacing: 1px;
  background: #101719ad;
  padding: 5px;
}
.animatic-placeholder {
  text-align: center;
  padding: 24px;
}
.animatic-placeholder .mark {
  width: 55px;
  height: 55px;
  color: #ef543e;
  margin-bottom: 15px;
}
.animatic-placeholder h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}
.animatic-screen:not(.no-frame):has(img:not([hidden])) .animatic-placeholder {
  visibility: hidden;
}
[data-preview-caption] {
  position: absolute;
  bottom: 8%;
  max-width: 88%;
  background: #101719c7;
  font-size: 16px;
  line-height: 1.5;
  padding: 5px 12px;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
[data-preview-caption]:empty {
  display: none;
}
.animatic-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}
[data-preview-time] {
  margin-left: auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.animatic-controls input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  padding: 0;
  height: 24px;
  background: none;
  border: 0;
}
.shot-list > .section-heading {
  padding: 10px 0 12px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.shot-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
  min-width: 0;
}
.shot-card.now-playing {
  background: var(--soft);
  box-shadow: -3px 0 var(--accent);
}
.shot-thumbnail {
  flex: 0 0 74px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--soft);
  overflow: hidden;
}
.shot-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot-thumbnail > span {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 9px;
  background: #151719;
  color: #f4f0e8;
  padding: 3px 5px;
}
.shot-info {
  flex: 1;
  min-width: 0;
}
.shot-info h3 {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.shot-info p {
  font: 15px/1.4 var(--serif);
  margin: 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.shot-info small {
  font-size: 9px;
  color: var(--muted);
}
.trim-note {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  color: var(--accent-text);
}
.shot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  flex: 0 0 65px;
}
.shot-actions .button {
  padding: 0 5px;
  min-height: 32px;
  font-size: 11px;
}
.shot-bottom-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  padding: 18px 0;
}
.recording-console {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  font-size: 12px;
}
.recording-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
}
.recording .recording-light {
  background: var(--accent);
  box-shadow: 0 0 0 5px #ef543e20;
}
.form-error {
  font-size: 12px;
  color: var(--accent-text);
  line-height: 1.7;
}
@media (max-width: 1250px) {
  .world-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .animatic-layout {
    grid-template-columns: 1fr;
  }
  .animatic-preview {
    position: static;
  }
  .shot-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .shot-list > .section-heading,
  .shot-bottom-note {
    grid-column: 1/-1;
  }
}
@media (max-width: 980px) {
  .audition-layout {
    grid-template-columns: 1fr;
  }
  .creative-heading {
    align-items: start;
  }
  .creative-heading .edition-mark {
    display: none;
  }
  .voice-desk {
    padding: 22px;
  }
}
@media (max-width: 680px) {
  .workspace-tabs {
    gap: 22px;
  }
  .creative-heading {
    display: block;
  }
  .creative-heading > .button,
  .workshop-heading-actions {
    margin-top: 18px;
  }
  .creative-heading h2 {
    font-size: 33px;
  }
  .world-grid {
    grid-template-columns: 1fr;
  }
  .world-caption {
    font-size: 8px;
    line-height: 1.6;
  }
  .expression-grid {
    gap: 12px;
  }
  .expression-card > div {
    padding: 12px;
  }
  .audition-layout .section-heading {
    align-items: start;
    gap: 12px;
  }
  .audition-layout .section-heading h3 {
    font-size: 16px;
  }
  .audition-layout .section-heading > .button {
    padding: 0 10px;
    font-size: 10px;
  }
  .shot-list {
    grid-template-columns: 1fr;
  }
  .shot-card {
    gap: 10px;
  }
  .animatic-screen.vertical-frame {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shot-card {
    transition: none;
  }
}
