@media(max-width:1180px){
  .desktop-shell-v2{--left-dock-w:290px;--right-dock-w:350px}
  .creation-grid,.template-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}
  .recent-grid{grid-template-columns:1fr}
  .global-title .aphro-mark{font-size:20px}.global-title b{font-size:12px}.studio-workbar small{display:none}
}
@media(max-width:860px){
  .desktop-shell-v2,.desktop-shell-v2.no-project{display:block;height:100vh}
  .project-dock{position:fixed;left:0;right:0;bottom:0;height:72px;z-index:90;border-top:1px solid var(--line);border-right:0;background:#0b0a0d}
  .project-dock.home-mode .sidebar-hero,.project-dock.home-mode .home-side-scroll,.project-dock.home-mode .home-ai-compose,.project-dock.project-mode .project-context-head,.project-dock.project-mode .project-tree-title,.project-dock.project-mode .tree-scroll{display:none}
  .project-dock.project-mode .project-nav{height:100%;margin:0;border:0;grid-template-columns:repeat(6,1fr)}
  .project-dock.home-mode:after{content:"Afrodite Studio · Projetos e criação disponíveis no painel principal";display:grid;place-items:center;height:100%;padding:0 18px;color:#cbbdc3;font-size:11px;text-align:center}
  .center-workspace{height:calc(100vh - 72px)}.dock-splitter{display:none}.global-topbar{height:54px;padding:0 9px}.global-title>div{max-width:190px}.top-actions button{padding:7px;font-size:9px}.top-actions button:nth-child(1){display:none}
  .ai-dock{position:fixed;left:8px;right:8px;bottom:80px;height:min(72vh,650px);z-index:95;border:1px solid var(--line-strong);border-radius:14px;box-shadow:var(--shadow);transform:translateY(calc(100% + 100px));transition:.22s}.desktop-shell-v2:not(.right-collapsed):not(.no-project) .ai-dock{transform:translateY(0)}
  .home-main{padding:28px 18px 40px}.home-main>h1{font-size:38px}.home-lead{font-size:12px}.creation-grid,.template-grid{grid-template-columns:1fr}.recent-grid{grid-template-columns:1fr}
  .studio-workbar{height:auto;min-height:64px;padding:9px 10px;align-items:flex-start}.workbar-actions{flex-wrap:wrap;justify-content:flex-end}.status-chip{display:none}
  .window-viewport{padding:0}.window-canvas{min-width:0}
}
@media (min-width:861px) and (max-width:1100px){
  .desktop-shell-v2:not(.no-project){--right-dock-w:48px}
  .desktop-shell-v2:not(.no-project) .ai-dock{width:48px}
  .desktop-shell-v2:not(.no-project) .ai-head{height:54px;padding:8px;justify-content:center}
  .desktop-shell-v2:not(.no-project) .ai-head-copy{display:none}
  .desktop-shell-v2:not(.no-project) .ai-head .icon-btn{margin:0;width:30px;height:30px}
  .desktop-shell-v2:not(.no-project) .ai-provider,.desktop-shell-v2:not(.no-project) .chat-stream,.desktop-shell-v2:not(.no-project) .chat-compose{display:none}
  .desktop-shell-v2:not(.no-project) .ai-dock:after{content:'IA';writing-mode:vertical-rl;letter-spacing:2px;color:#f3a9c0;font-size:10px;margin:14px auto;opacity:.8}
}
