/* A phone shows one experience with floating controls, never desktop window chrome. */
body[data-v2-mobile] :is(.workspace-tabs,.paths-footer,.workspace-folder-navigation,.workspace-resize,.workspace-size-controls,.workspace-lifecycle-controls,.workspace-breadcrumb,.paths-tool-full,.workspace-arrange-menu,.workspace-dock-edge,.workspace-header-edge){display:none!important}
body[data-v2-mobile] .paths-tool-window[data-expanded]{inset:0!important;left:0!important;top:0!important;width:100%!important;height:100dvh!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body[data-v2-mobile] .paths-tool-window[data-expanded]>.paths-tool-frames{position:absolute;inset:0;background:transparent!important}
body[data-v2-mobile] .paths-tool-window[data-expanded]>.paths-tool-frames iframe{height:100%!important;background:transparent!important}
body[data-v2-mobile] .paths-tool-window[data-expanded]>header{position:absolute!important;inset:max(8px,env(safe-area-inset-top)) 0 auto!important;height:44px!important;min-height:44px!important;padding:0 16px!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;pointer-events:none;z-index:5}
body[data-v2-mobile] .paths-tool-window[data-expanded]>header::before,body[data-v2-mobile] .paths-tool-window[data-expanded]>header::after{display:none!important}
body[data-v2-mobile] .paths-tool-window[data-expanded]>header button{pointer-events:auto;min-width:44px;min-height:44px}
body[data-v2-mobile] .workspace-navigation-controls{margin-left:auto!important;width:auto!important;height:44px!important;border:0!important;background:transparent!important;padding:0!important}
body[data-v2-mobile] .workspace-navigation-controls>.workspace-view,body[data-v2-mobile] .workspace-navigation-controls>.workspace-notes-view{position:absolute;right:max(16px,env(safe-area-inset-right));top:0;margin:0;background:transparent!important}
body[data-v2-mobile] .workspace-explore-controls{position:absolute!important;left:auto!important;right:56px;top:0;bottom:auto;height:44px;transform:none!important;font-size:12px;gap:8px;background:transparent!important}
body[data-v2-mobile] .workspace-explore-controls .workspace-explore-play{left:100%;width:40px}
body[data-v2-mobile] .v2-phone-back{position:absolute;left:60px;top:0;padding:10px;background:transparent;border:0;color:inherit}
#v2-phone-home{position:fixed;z-index:25001;left:max(16px,env(safe-area-inset-left));top:max(8px,env(safe-area-inset-top));width:44px;height:44px;display:grid;place-items:center;padding:12px;border:0;background:transparent;color:var(--ink);cursor:pointer}
#v2-phone-home svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
html[data-canvas-v2] body[data-v2-mobile] #desktop-search{left:64px;right:64px;width:auto;margin-inline:0}
body[data-v2-mobile] #paths-header{background:transparent!important;border:0!important;box-shadow:none!important}
body[data-v2-mobile][data-exercise-open] #paths-appearance{display:none!important}
body[data-v2-mobile] :is(#v2-companion,:root:not([data-canvas-audit]) .v2-mobile-folder){padding:8px 16px max(16px,env(safe-area-inset-bottom))}
body[data-v2-mobile] :is(#v2-companion,:root:not([data-canvas-audit]) .v2-mobile-folder)>header{min-height:44px;height:44px;margin:0 0 16px;padding-left:56px;border:0;background:transparent;gap:12px;font-size:13px;position:sticky;top:0;z-index:2}
body[data-v2-mobile] :is(#v2-companion,:root:not([data-canvas-audit]) .v2-mobile-folder)>header button{min-width:44px;min-height:44px;padding:8px;font-size:20px}
