.mobile-workspace-nav{display:none}
@media(max-width:720px){
 body[data-workspace-view=studio] .sidebar{height:56px;padding:8px 12px}
 body[data-workspace-view=studio] .sidebar .brand{margin-right:8px}
 body[data-workspace-view=studio] .brand>span:last-child{font-size:16px}
 body[data-workspace-view=studio] .sidebar nav{gap:4px}
 body[data-workspace-view=studio] .sidebar .nav-button{min-width:44px;min-height:44px;padding:10px}
 body[data-workspace-view=studio] .sidebar .nav-button[data-action=help]{display:flex}
 body[data-workspace-view=studio] main{padding:0 12px}
 body[data-workspace-view=studio] .topbar,body[data-workspace-view=studio] .page-footer{display:none}
 body[data-workspace-view=studio] #studio-view{height:calc(100vh - 120px - env(safe-area-inset-bottom));height:calc(100dvh - 120px - env(safe-area-inset-bottom));display:flex;flex-direction:column}
 #studio-view>.page-heading{margin:0;min-height:60px;gap:8px;align-items:center;flex-wrap:nowrap}
 #studio-view>.page-heading .eyebrow,#studio-view>.page-heading p{display:none}
 #studio-view>.page-heading h1{font-size:17px;letter-spacing:0;margin:0;white-space:nowrap}
 #studio-view .heading-actions{gap:6px;flex-direction:row}
 #studio-view .heading-actions .button{padding:7px 9px;min-height:40px;font-size:11px;gap:5px}
 #studio-view .workspace{display:block;flex:1;min-height:0;padding-bottom:8px}
 #studio-view .editor-card{height:100%;display:flex;flex-direction:column}
 #studio-view .editor-top{padding:8px 10px;flex-shrink:0}
 #studio-view .editor-top .button{min-height:36px;padding:6px 9px}
 #studio-view .toolbar{padding:8px;gap:6px;flex-shrink:0}
 #studio-view .tool{width:36px;height:36px;min-height:36px}
 #studio-view .tool-group{gap:4px}
 #studio-view .toolbar-check{min-height:36px}
 #studio-view .toolbar .divider{margin:0 2px}
 #studio-view .canvas-viewport{flex:1;min-height:0;height:auto;padding:28px 25px 35px}
 #studio-view .canvas-signature,#studio-view .editor-hint{display:none}
 #studio-view .canvas-footer{flex-shrink:0;padding:6px 9px;min-height:48px;gap:3px}
 #studio-view .settings-column{height:100%;display:block}
 #studio-view .settings-column>.panel{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:16px;scroll-padding:12px}
 #studio-view .palette-size-panel>.panel-line{display:none}
 #studio-view .size-settings .size-apply{margin-bottom:0}
 #studio-view .palette{max-height:none;overflow:visible;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
 #studio-view .swatch{min-height:44px;font-size:12px}
 #studio-view .palette-search-label input,#studio-view .unit-input input,#studio-view #project-name{font-size:16px}
 #studio-view .palette-settings .selected-color{position:sticky;bottom:0;background:#f8faf5;border:1px solid var(--line);z-index:1;margin-top:14px}
 #studio-view .usage-list{max-height:none}
 body[data-mobile-pane=canvas] #studio-view .settings-column{display:none}
 body:not([data-mobile-pane=canvas]) #studio-view .editor-card{display:none}
 body:not([data-mobile-pane=usage]) #studio-view .usage-panel{display:none}
 body[data-mobile-pane=usage] #studio-view .palette-size-panel{display:none}
 body:not([data-mobile-pane=size]) #studio-view .size-settings{display:none}
 body:not([data-mobile-pane=palette]) #studio-view .palette-settings{display:none}
 body[data-workspace-view=studio] .mobile-workspace-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;height:calc(64px + env(safe-area-inset-bottom));padding:4px 8px calc(4px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;z-index:30;box-shadow:0 -3px 18px #303c3508;gap:4px}
 .mobile-workspace-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:8px;background:none;color:#58694e;font-size:12px;min-height:48px;min-width:0}
 .mobile-workspace-nav button.active{background:#eaf0e6;color:#3d6244;font-weight:600}
 .mobile-workspace-nav small{font-size:10px;font-weight:500}
 .mobile-color-dot{width:17px;height:17px;border-radius:50%;border:1px solid #a4af98}
 body[data-workspace-view=studio] .toast{left:50%;bottom:calc(78px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){
 #studio-view>.page-heading h1{font-size:15px}
 #studio-view .heading-actions .button{padding:7px;font-size:10px;gap:3px}
 #studio-view .heading-actions svg{width:14px;height:14px}
 #studio-view .toolbar .tool{width:32px}
}
