/* Fluid desktop layout: keep navigation and workspace readable on wide displays. */
@media (min-width: 1200px) {
  :root { --studio-width: min(88vw, 2400px); --studio-type: clamp(14px, .7vw, 22px); }
  html body #app#app[data-active-view] > .shell > .topbar {
    width: 100% !important;
    height: auto !important;
    min-height: clamp(80px, 4.6vw, 144px) !important;
    padding-inline: max(3vw, calc((100vw - 2600px) / 2)) !important;
  }
  html body #app#app[data-active-view] > .shell > .topbar .workspace-topnav-item,
  html body #app#app[data-active-view] > .shell > .topbar .workspace-account-link {
    font-size: var(--studio-type) !important;
    min-height: clamp(40px, 2.4vw, 72px) !important;
    padding-inline: clamp(10px, .8vw, 25px) !important;
  }
  html body #app#app[data-active-view] > .shell > .topbar .topbar-home-name { font-size: clamp(18px, 1vw, 30px) !important; }
  html body #app#app[data-active-view] > .shell > .topbar .topbar-home-mark.topbar-director-mark {
    width: clamp(38px, 2.5vw, 72px) !important; height: clamp(38px, 2.5vw, 72px) !important;
    flex-basis: clamp(38px, 2.5vw, 72px) !important;
  }
  html body #app#app[data-active-view] > .shell > .topbar .workspace-topbar-account { height: auto !important; }
  html body #app#app[data-active-view="workbench"][data-creation-entry="fast"] .workbench-grid,
  html body #app#app .home-shell {
    width: var(--studio-width) !important; max-width: none !important; margin-inline: auto !important;
  }
  html body #app#app[data-active-view="workbench"][data-creation-entry="fast"] .idea-input {
    font-size: clamp(18px, .9vw, 28px) !important;
    min-height: clamp(220px, 12vw, 380px) !important;
  }
  html body #app#app[data-active-view="workbench"] .output-panel pre {
    font-size: clamp(14px, .7vw, 21px) !important; line-height: 1.65 !important;
  }
  html body #app#app[data-active-view="workbench"] .composer-card button,
  html body #app#app[data-active-view="workbench"] .output-panel button,
  html body #app#app[data-active-view="workbench"] .creative-workflow-summary {
    font-size: clamp(12px, .65vw, 20px) !important;
    min-height: clamp(36px, 2.1vw, 64px) !important;
  }
}
