/* Studio tools sit below the same global header as the public website. */
body.unified-app .mv-site-header{position:fixed;top:0;left:0;right:0}
body.unified-app .sidebar{top:var(--mv-site-header-height);width:var(--mv-studio-rail);padding:24px 16px 16px;background:var(--mv-bg);border-right:1px solid var(--mv-border);color:var(--mv-text);overflow-y:auto}
body.unified-app .sidebar>.brand,body.unified-app .studio-tag,body.unified-app .release-public-home,body.unified-app .identity-open{display:none!important}
body.unified-app .sidebar nav{margin:0;gap:4px}
body.unified-app .sidebar .nav-link{min-height:44px;border-radius:var(--mv-radius-sm);padding:10px 12px;color:var(--mv-muted);font:500 12px var(--mv-font-body);gap:12px}
body.unified-app .sidebar .nav-link:hover{background:var(--mv-subtle);color:var(--mv-text)}
body.unified-app .sidebar .nav-link.active{background:var(--mv-primary);color:var(--mv-on-primary)}
body.unified-app .sidebar .nav-group{font:500 9px var(--mv-font-body);letter-spacing:.12em;color:var(--mv-muted);margin:20px 12px 8px}
body.unified-app .sidebar .nav-group:first-child{margin-top:0}
body.unified-app .sidebar-bottom{padding-top:24px;gap:8px}
body.unified-app .sidebar-bottom>.profile{color:var(--mv-text);border-color:var(--mv-border)!important;padding:16px 8px!important;gap:8px}
body.unified-app .sidebar-bottom small{color:var(--mv-muted);font-size:10px}
body.unified-app .shell{margin-left:var(--mv-studio-rail);padding-top:var(--mv-site-header-height)}
body.unified-app .topbar{position:sticky;top:var(--mv-site-header-height);height:56px;min-height:56px;padding:0 var(--mv-gutter);gap:20px;z-index:40;background:var(--mv-bg);border-bottom:1px solid var(--mv-border)}
body.unified-app .topbar .breadcrumb{display:inline;font:500 12px var(--mv-font-body);color:var(--mv-muted);min-width:0}
body.unified-app .topbar .search{max-width:320px;margin-left:auto}
body.unified-app .topbar .theme-toggle,body.unified-app .topbar .mobile-brand,body.unified-app #activity-button,body.unified-app .top-account{display:none!important}
body.unified-app .topbar .top-actions{margin-left:0}
body.unified-app .topbar .icon{background:transparent;border-color:var(--mv-border)}
body.unified-app .demo-strip{display:flex;min-height:36px;padding:4px var(--mv-gutter);gap:12px;background:var(--mv-bg);color:var(--mv-muted);border-color:var(--mv-border);font-size:11px}
body.unified-app .demo-strip>span:first-child{font-size:10px;letter-spacing:.04em}
body.unified-app .demo-strip button{font-size:11px;min-height:28px;color:var(--mv-muted)}
body.unified-app .demo-strip .preview-account-link{font-size:11px}
body.unified-app .footer{display:none}
body.unified-app #main{padding:32px var(--mv-gutter) 48px;max-width:calc(var(--mv-content-max) + var(--mv-gutter)*2)}
body.unified-app .workspace-heading h1{font:500 40px/1.15 var(--mv-font-display);letter-spacing:-.02em}
body.unified-app .surface,body.unified-app .release-card{background:var(--mv-surface);border-color:var(--mv-border);border-radius:var(--mv-radius-md);box-shadow:none}
body.unified-app .btn{font:500 13px/1.5 var(--mv-font-body);min-height:44px;border-radius:var(--mv-radius-sm)}
body.unified-app .btn:hover{transform:none;box-shadow:none}
body.unified-app .app-studio-grid>.surface{padding:24px}
body.unified-app .app-studio-grid .surface-title h2{font:600 17px/1.4 var(--mv-font-body)}
body.unified-app .app-studio-grid .surface-title .text-link{font-size:12px}
body.unified-app .app-resume-project h3{font:500 32px/1.2 var(--mv-font-display)}
body.unified-app .app-resume-project p{font-size:13px}
body.unified-app .app-team-row strong,body.unified-app .app-task-row strong{font-size:13px}
body.unified-app .app-task-row small,body.unified-app .app-team-row small{font-size:11px}
.continuity-entry{max-width:720px;padding:32px;border:1px solid var(--mv-border);border-radius:var(--mv-radius-md);background:var(--mv-surface)}
.continuity-entry h2{font:500 32px/1.2 var(--mv-font-display);margin:0 0 16px}.continuity-entry>p{color:var(--mv-muted);font-size:14px;max-width:540px;line-height:1.7;margin:0 0 24px}.continuity-entry .flex{gap:12px;flex-wrap:wrap}.continuity-entry small{display:block;margin-top:16px;color:var(--mv-muted);font-size:12px}
@media(min-width:761px){body.unified-app .group-room{height:calc(100dvh - var(--mv-site-header-height) - 152px);min-height:480px}body.unified-app .player{left:calc(var(--mv-studio-rail) + 24px)}}
@media(max-width:1100px) and (min-width:761px){:root{--mv-studio-rail:196px}body.unified-app .sidebar{padding-inline:12px}body.unified-app .app-studio-grid{grid-template-columns:1fr}body.unified-app .release-detail{grid-template-columns:1fr}body.unified-app .release-grid{gap:16px}}
@media(max-width:760px){
 body.unified-app .shell{margin-left:0}
 body.unified-app .topbar{height:48px;min-height:48px;padding:0 16px;gap:8px}
 body.unified-app .topbar .breadcrumb{flex:1;font-size:12px}
 body.unified-app .topbar #menu{display:none}
 body.unified-app .topbar .top-actions{margin-left:auto}
 body.unified-app .topbar .mobile-publish-button{display:none}
 body.unified-app .sidebar{top:var(--mv-site-header-height);bottom:0;width:min(340px,calc(100vw - 32px));max-height:calc(100dvh - var(--mv-site-header-height));padding:12px 16px 24px;z-index:90}
 body.unified-app .scrim{top:var(--mv-site-header-height);z-index:80}
 body.unified-app .demo-strip{padding-inline:16px;min-height:36px;flex-wrap:wrap;gap:4px 12px}
 body.unified-app .demo-strip>span:nth-child(2){display:none}
 body.unified-app .demo-strip .preview-account-link{margin-left:auto}
 body.unified-app .demo-strip button{margin-left:0}
 body.unified-app #main{padding:24px 16px 32px}
 body.unified-app .workspace-heading h1{font-size:32px!important}
 body.unified-app .app-studio-grid>.surface{padding:20px}
 body.unified-app .app-resume-project h3{font-size:28px}
 body.unified-app .group-room{height:calc(100dvh - var(--mv-site-header-height) - 172px);min-height:380px}
 body.unified-app.mobile-group-room .group-workspace{height:auto;min-height:0}
 .continuity-entry{padding:24px}.continuity-entry .flex>.btn{width:100%}
}
@media(prefers-reduced-motion:reduce){body.unified-app *{scroll-behavior:auto!important}.mv-site-header *{transition:none!important}}
/* First visit: one navigation and a useful next action. */
body.unified-app .topbar{display:none!important}
body.unified-app .mobile-bottom-nav{display:none!important}
body.unified-app{--mobile-nav-height:0px;padding-bottom:0}
body.unified-app .sidebar{display:flex;flex-direction:column;padding-top:28px}
body.unified-app .sidebar .nav-caption{font:500 10px var(--mv-font-body);letter-spacing:.1em;color:var(--mv-muted);margin:0 12px 16px}
body.unified-app .sidebar .nav-link{font-size:13px;min-height:48px}
body.unified-app .sidebar .nav-link.active{background:var(--mv-subtle);color:var(--mv-text);font-weight:600}
body.unified-app .sidebar .nav-link.active svg{color:var(--mv-primary)}
body.unified-app .sidebar .nav-link.active:before{display:none}
body.unified-app .nav-chevron{margin-left:auto;color:var(--mv-muted)}
body.unified-app .nav-children{display:grid;margin:4px 0 8px 8px;border-left:1px solid var(--mv-border);padding-left:4px}
body.unified-app .nav-children a{min-height:44px;display:flex;align-items:center;padding:8px 10px;font-size:12px;text-decoration:none;color:var(--mv-muted);border-radius:8px}
body.unified-app .nav-children a[aria-current]{color:var(--mv-text);background:var(--mv-subtle);font-weight:600}
body.unified-app .nav-children a:hover{color:var(--mv-text);background:var(--mv-subtle)}
.workspace-nav-footer{display:grid;border-top:1px solid var(--mv-border);margin:24px 12px 0;padding-top:12px}
.workspace-nav-footer a,.workspace-nav-footer button{display:flex;align-items:center;min-height:44px;background:transparent;border:0;padding:8px 0;color:var(--mv-muted);text-decoration:none;text-align:left;font:400 11px var(--mv-font-body);cursor:pointer}
.workspace-nav-footer a:hover,.workspace-nav-footer button:hover,.workspace-nav-footer a[aria-current]{color:var(--mv-text)}
body.unified-app #main{padding-top:32px}
.start-heading{align-items:center;margin-bottom:16px!important;gap:16px}
.start-heading h1{margin:8px 0 0!important}
.start-eyebrow{font:500 10px/1.5 var(--mv-font-body);letter-spacing:.1em;color:var(--mv-muted)}
.start-intro{font-size:14px;color:var(--mv-muted);margin:0 0 28px;max-width:640px}
.start-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.start-choices button{position:relative;text-align:left;border:1px solid var(--mv-border);border-radius:16px;background:var(--mv-surface);color:var(--mv-text);padding:24px;display:flex;flex-direction:column;gap:12px;min-height:212px;font:400 13px/1.6 var(--mv-font-body);cursor:pointer}
.start-choices button:hover{border-color:var(--mv-primary);background:var(--mv-subtle)}
.start-choices button>strong{font-size:18px;line-height:1.4;font-weight:600}
.start-choices button>span:not(.start-choice-icon):not(.start-choice-arrow){color:var(--mv-muted);max-width:240px}
.start-choice-icon{width:40px;height:40px;display:grid;place-items:center;color:var(--mv-text);margin-bottom:8px}
.start-choice-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6}
.start-choice-arrow{position:absolute;right:24px;top:24px;font-size:20px;color:var(--mv-muted)}
.start-skip{display:flex;align-items:center;gap:16px;margin:16px 0 40px;font-size:11px;color:var(--mv-muted)}
.start-skip a{min-height:44px;display:flex;align-items:center}
.start-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.start-section-title h2{font:600 18px/1.5 var(--mv-font-body);margin:0}
.start-section-title a{font-size:12px}
.start-course-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.start-course-row>a{display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:center;text-decoration:none;color:var(--mv-text);padding:16px;border:1px solid var(--mv-border);border-radius:12px;background:var(--mv-surface)}
.start-course-row img{width:96px;height:72px;object-fit:contain;border-radius:8px;background:var(--mv-bg)}
.start-course-row>a>span:last-child{display:none}
.start-course-row>a>span{display:grid;gap:4px}
.start-course-row small{font-size:9px;color:var(--mv-success,#00a880)}
.start-course-row strong{font:600 13px/1.5 var(--mv-font-body)}
.start-course-row span>span{font-size:10px;line-height:1.5;color:var(--mv-muted)}
.start-current{display:flex;align-items:center;gap:16px;margin:20px 0 24px}
.start-current>span{font-size:11px;font-weight:600;padding:6px 12px;background:var(--mv-subtle);border:1px solid var(--mv-border);border-radius:20px;white-space:nowrap}
.start-current p{color:var(--mv-muted);font-size:12px;margin:0}
.start-feature{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--mv-border);border-radius:16px;background:var(--mv-surface)}
.start-feature-art{width:100%;height:100%;min-height:320px;max-height:400px;object-fit:contain;background:var(--mv-bg);padding:24px}
.start-feature-copy{padding:32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;min-width:0}
.start-feature-copy h2{font:500 36px/1.15 var(--mv-font-display);margin:0;overflow-wrap:anywhere}
.start-feature-copy p{font-size:14px;line-height:1.7;color:var(--mv-muted);margin:0;max-width:480px}
.start-feature-copy small{font-size:11px;color:var(--mv-muted)}
.start-topic{display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:var(--mv-muted);font-size:11px;border-top:1px solid var(--mv-border);padding-top:16px;width:100%}
.start-topic select{min-height:44px;background:var(--mv-bg);color:var(--mv-text);border:1px solid var(--mv-border);border-radius:10px;padding:8px 12px;font:400 12px var(--mv-font-body)}
.start-next-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.start-next{padding:20px;border:1px solid var(--mv-border);border-radius:12px;display:grid;gap:8px;text-decoration:none;color:var(--mv-text);background:var(--mv-surface)}
.start-next strong{display:flex;justify-content:space-between;gap:16px;font:600 13px/1.5 var(--mv-font-body)}
.start-next>span{font-size:11px;color:var(--mv-muted);line-height:1.6}
.start-next:hover,.start-course-row>a:hover{border-color:var(--mv-muted)}
.start-work-list{padding:24px;margin:24px;border:1px solid var(--mv-border);border-radius:12px;background:var(--mv-bg);align-self:center;min-width:0}
.start-work-list>span{font-size:11px;color:var(--mv-muted)}
.start-work-list>a,.start-work-list>button{display:flex;width:100%;gap:12px;align-items:center;padding:16px 0;text-align:left;border:0;border-bottom:1px solid var(--mv-border);background:transparent;text-decoration:none;color:var(--mv-text);font:400 13px var(--mv-font-body);cursor:pointer}
.start-work-list>button:last-child,.start-work-list>a:last-child{border-bottom:0}
.start-work-list strong{font-weight:500;flex:1;overflow-wrap:anywhere}
.start-work-list svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8}
.start-work-empty{padding:24px 0;color:var(--mv-muted);font-size:12px}
.start-existing{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--mv-border);margin-top:32px;padding:20px 0;font-size:12px;color:var(--mv-muted)}
.start-existing a{color:var(--mv-text);text-underline-offset:4px}
.start-help,.workspace-search-results{display:grid;gap:8px;margin-top:16px}
.start-help a,.workspace-search-results a{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:16px;background:var(--mv-surface);border:1px solid var(--mv-border);border-radius:10px;color:var(--mv-text);text-decoration:none}
.start-help a{flex-direction:column;align-items:flex-start}
.start-help span,.workspace-search-results small{color:var(--mv-muted);font-size:12px}
.workspace-search-results a>span:first-child{display:grid;gap:4px}
.workspace-search-results strong,.start-help strong{font-size:14px;font-weight:500}
body.unified-app :is(.start-choices,.start-next-grid,.start-course-row,.workspace-nav-footer,.nav-children,.start-feature,.start-help,.workspace-search-results) :focus-visible{outline:3px solid var(--mv-focus);outline-offset:3px}
@media(max-width:1100px){.start-course-row{grid-template-columns:1fr}.start-course-row>a{grid-template-columns:96px 1fr 24px}.start-course-row>a>span:last-child{display:block}.start-choices button{padding:20px}.start-feature-copy{padding:24px}.start-feature-art{padding:16px}.start-work-list{margin:16px;padding:16px}}
@media(max-width:760px){
 body.unified-app .sidebar{padding-top:16px;width:300px;max-width:calc(100vw - 24px);top:var(--mv-site-header-height)}
 body.unified-app .sidebar .nav-link{font-size:14px}
 body.unified-app .nav-children a,.workspace-nav-footer a,.workspace-nav-footer button{font-size:12px}
 body.unified-app #main{padding-top:24px;padding-bottom:32px}
 .start-heading{align-items:flex-start!important}.start-heading h1{font-size:30px!important}
 .start-heading>.text-link{font-size:11px;max-width:100px;text-align:right;min-height:44px}
 .start-intro{font-size:13px;margin-bottom:20px}
 .start-choices{grid-template-columns:1fr;gap:12px}.start-choices button{min-height:0;padding:20px 44px 20px 64px;gap:4px}.start-choices button>strong{font-size:16px}.start-choices button>span{font-size:12px}.start-choice-icon{position:absolute;left:16px;top:22px;width:32px;height:32px}.start-choice-icon svg{width:24px;height:24px}.start-choice-arrow{top:20px;right:20px}
 .start-skip{flex-wrap:wrap;gap:0 16px;margin:12px 0 28px}
 .start-course-row>a{padding:12px;gap:12px}
 .start-section-title h2{font-size:16px}.start-section-title a{font-size:11px}
 .start-feature{grid-template-columns:1fr}.start-feature-art{height:200px;min-height:0;padding:12px;max-height:none}.start-feature-copy{padding:24px;gap:12px}.start-feature-copy h2{font-size:30px}
 .start-feature-copy .btn{font-size:12px}
 .start-current{flex-wrap:wrap;gap:8px;margin:16px 0}
 .start-next-grid{grid-template-columns:1fr;gap:12px;margin-top:16px}.start-next{padding:16px}
 .start-work-list{margin:0 24px 24px;padding:16px}
 .start-existing{gap:8px;margin-top:24px}
}
body.unified-app .mobile-section-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
body.unified-app #mobile-activity{display:none!important}
html[data-theme="light"] body.unified-app .sidebar .nav-link.active svg{color:var(--mv-text)}
@media(min-width:761px) and (max-width:1000px){
 .start-choices{grid-template-columns:1fr;gap:12px}
 .start-choices button{min-height:0;padding:20px 52px 20px 72px;gap:4px}
 .start-choice-icon{position:absolute;left:20px;top:20px}
 .start-choice-arrow{top:24px}
 .start-choices button>span:not(.start-choice-icon):not(.start-choice-arrow){max-width:none}
 .start-feature{grid-template-columns:1fr}.start-feature-art{height:224px;min-height:0}
 .start-next-grid{grid-template-columns:1fr;gap:12px}
}

/* Navigation links and disclosure buttons are independent controls. */
.workspace-nav-heading{position:relative}
body.unified-app .sidebar .workspace-nav-heading:has(.nav-toggle) .nav-link{padding-right:48px}
body.unified-app .sidebar .nav-toggle{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--mv-muted);padding:0;font:500 18px/1 var(--mv-font-body);cursor:pointer}
body.unified-app .sidebar .nav-toggle:hover{background:var(--mv-border);color:var(--mv-text)}
body.unified-app .sidebar .nav-toggle:focus-visible{outline:2px solid var(--mv-focus);outline-offset:-4px}
body.unified-app .nav-children[hidden]{display:none}
