/* Keep the four customer work areas proportional to the available desktop viewport. */
@media (min-width: 761px) {
  .layout.creative-space.page-filmTeam > main > .content,
  .layout.creative-space.page-workbench > main > .content,
  .layout.creative-space.page-tasks > main > .content,
  .layout.creative-space.page-coCreation > main > .content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: clamp(20px, 2vw, 48px);
  }

  .layout.creative-space.page-coCreation .co-creation {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  /* The public showcase uses a separate shell from signed-in customer pages. */
  .public-platform-content:has(> .co-creation) {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding-inline: clamp(20px, 2vw, 48px);
  }

  .public-platform-content > .co-creation {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  /* Every virtual production seat occupies the same top and bottom boundary. */
  .film-team-layout > :not(.film-team-roster):not([hidden]) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: max(620px, calc(100dvh - 160px));
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #ffffff26;
    border-radius: 16px;
    background: #171922;
  }

  .film-team-layout > .film-team-writer-workspace:not([hidden]),
  .film-team-layout > .film-team-analyst-workspace:not([hidden]) {
    display: flex;
    flex-direction: column;
  }

  .film-team-layout > .film-team-writer-workspace:not([hidden]) > .writer-workspace,
  .film-team-layout > .film-team-analyst-workspace:not([hidden]) > .analyst-workspace {
    flex: 1 0 auto;
    min-height: 100%;
    border: 0;
    border-radius: 0;
  }

  .film-team-layout > .film-team-camera-workspace:not([hidden]) {
    display: flex;
    flex-direction: column;
  }

  .film-team-camera-workspace > .film-team-stage-shell:not([style]) {
    flex: 1;
    height: auto;
    min-height: 0;
  }

  .film-team-writer-workspace > .writer-workspace,
  .film-team-analyst-workspace > .analyst-workspace,
  .film-team-art-workspace > .writer-workspace,
  .film-team-director-workspace > .director-workspace,
  .film-team-performance-workspace > .performance-workspace,
  .film-team-voice-workspace > .voice-workspace,
  .film-team-music-workspace > .music-workspace {
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .film-team-art-workspace :is(
    .art-visual-flow,
    .art-composer,
    .art-library,
    .art-current-results,
    .art-import-panel,
    .art-reference-tray,
    .art-workspace details
  ) {
    background: #20232d;
    border-color: #ffffff26;
  }
}

@media (min-width: 1600px) {
  .layout.creative-space.page-workbench .workbench-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, min(28vw, 560px));
  }

  .layout.creative-space.page-tasks .record-gallery {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
