/* Responsive & Touch Device Adaptations */
@media (max-width: 1024px) {
  :root {
    --inspector-width: 260px;
    --timeline-height: 240px;
  }
  
  .timeline-track-headers {
    width: 180px;
  }

  .templates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --toolbar-width: 44px;
    --inspector-width: 240px;
    --timeline-height: 200px;
    --header-height: 44px;
  }

  .header-menu-actions span {
    display: none;
  }

  .project-title-input {
    max-width: 110px;
  }

  .shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .format-selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .easing-modal-body {
    flex-direction: column;
  }

  .bezier-canvas-wrapper {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }
  #bezier-canvas {
    width: 260px;
    height: 260px;
  }

  .easing-sidebar {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .right-inspector {
    display: none;
  }
  
  .timeline-track-headers {
    width: 120px;
  }

  .brand-title {
    display: none;
  }
}
