/* Keep project navigation beside the working area. */
html body .workflow-nav > a[aria-label="返回首页"] {justify-content:center;align-items:center;text-align:center}
html body .workflow-nav #projectNavigation {display:flex;flex-direction:column;gap:12px;min-width:0}
html body .workflow-nav #projectNavigation[hidden] {display:none}
html body .workflow-nav .project-tabs {display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;padding:0;border:0;background:transparent;overflow:visible}
html body .workflow-nav .project-tabs button {display:flex;flex-direction:row;justify-content:flex-start;align-items:center;min-height:48px;width:100%;padding:10px 8px;gap:8px;text-align:left;flex:none}
html body .workflow-nav .project-tabs span {display:block;font-size:13px;font-weight:600;line-height:1.4;min-width:0}
html body .workflow-nav .project-tabs small {display:none}
html body .workflow-nav .project-tabs i {width:22px;height:22px;font-size:11px;flex:none}
html body .workflow-nav #projectSaveState {display:block;padding:8px 4px;font-size:12px;color:var(--studio-muted);overflow-wrap:anywhere}
html body .workflow-nav .workflow-footer {position:static;display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:10px 0 0;margin:0;min-width:0;border:0;border-top:1px solid var(--studio-line);border-radius:0;box-shadow:none;background:transparent}
html body .workflow-nav .workflow-footer[hidden] {display:none}
html body .workflow-nav .workflow-footer>div {display:block;order:2}
html body .workflow-nav #footerTitle {display:none}
html body .workflow-nav #footerHint {display:block;font-size:11px;line-height:1.5;white-space:normal}
html body .workflow-nav .workflow-footer :is(#previousStep,#nextStep) {box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-width:0!important;max-width:100%;height:44px;min-height:44px;max-height:44px;flex:0 0 44px;padding:6px 5px;font-size:12px;font-weight:650;white-space:normal;line-height:1.4;border:1px solid var(--studio-line-strong);border-radius:10px;background:var(--studio-control);color:var(--studio-text);box-shadow:none}
html body .workflow-nav .workflow-footer :is(#previousStep,#nextStep):hover:not(:disabled) {background:var(--studio-hover)}
html body .workflow-nav #projectNavigation {gap:8px}
html body .workflow-nav .project-tabs {gap:6px}
html body .workflow-nav .project-tabs button {min-height:40px;padding:8px 6px}
html body .workflow-nav #projectSaveState {padding:2px 4px}
html body .workflow-app p#notice:not(.error) {min-height:0!important;max-height:32px!important;font-size:12px!important;line-height:20px!important;padding:5px 12px!important;margin:0 10px 4px!important;border:0;background:transparent;overflow:hidden}
html body .workflow-app p#notice:not(.error)::before {display:none!important}
html body .workflow-app[data-step=workbench] .step-heading {margin-bottom:10px;padding:0;flex:none}
html body .workflow-app[data-step=workbench] .step-heading h2 {font-size:18px;margin:0}
html body .workflow-app[data-step=workbench] #stepDescription {display:none}
html body .workflow-app .sb-workbench-shortcuts {display:none!important}
@media(min-width:900px) {
  html body .workflow-app[data-step=workbench] #workspace {display:flex;flex-direction:column;overflow:hidden;padding:12px!important}
  html body .workflow-app[data-step=workbench] :is(#projectView,#videoPanel,[data-stage=workbench],.wv-generation-layout,.wv-setup,.wv-layout,.wv-compose,.sb-workbench,.sb-workbench-frame-host) {display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;width:100%;align-items:stretch;margin:0;padding:0;border:0}
  html body .workflow-app[data-step=workbench] .wv-setup::details-content {display:flex;flex-direction:column;height:100%;min-height:0}
  html body .workflow-app[data-step=workbench] .workflow-asset-frame {height:100%;min-height:0;flex:1}
  html body .workflow-app[data-step=workbench] [data-sb=notice]:not(.error) {display:none}
}
@media(max-width:760px) {
  html body .workflow-layout {grid-template-columns:110px minmax(0,1fr)!important;gap:8px!important}
  html body .workflow-nav {padding:10px 6px}
  html body .workflow-nav>a {justify-content:center;padding:9px 4px;gap:4px}
  html body .workflow-nav>a span {display:block;font-size:11px}
  html body .workflow-nav>a i {width:14px}
  html body .workflow-nav .project-tabs button {padding:8px 5px;gap:5px}
  html body .workflow-nav .project-tabs span {font-size:11px}
  html body .workflow-nav .project-tabs i {width:18px;height:18px;font-size:10px}
  html body .workflow-nav #projectSaveState {font-size:11px}
}
