.mobile-task-new { display: none; }
@media (max-width: 600px), (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
  #ai-image .task-tabs-shell { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; gap: 4px; padding: 6px 14px 0; align-items: center; }
  #ai-image .task-tabs-shell > .independent-task-tabs { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; margin: 0; padding: 0; gap: 4px; }
  #ai-image .independent-task-tabs > :is(.add, .clear-all-tabs, .independent-task-tabs-spacer) { display: none; }
  #ai-image .independent-task-tab-wrap { flex: 0 0 80px; width: 80px; min-width: 0; flex-direction: row; align-items: center; }
  #ai-image .independent-task-tab-wrap > [role="tab"] { flex: 1 1 auto; min-width: 0; width: 80px; height: 32px; min-height: 32px; padding: 6px 10px; font-size: 12px; border-radius: 8px 8px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #ai-image .independent-task-tab-actions, #ai-image .independent-task-tab-wrap::before { display: none; }
  .mobile-task-new { align-items: center; justify-content: center; border: 0; padding: 0; width: 44px; height: 44px; flex: 0 0 44px; font: inherit; font-size: 22px; cursor: pointer; }
  .mobile-task-new { display: flex; grid-column: 2; border-radius: 0; background: transparent; color: var(--text); }
  .mobile-task-new:disabled { opacity: .35; }
  .mobile-task-new:focus-visible { outline: 2px solid #d5a000; outline-offset: -3px; }
  #ai-image .independent-task-tab-wrap > [role="tab"][data-editing="true"] { padding: 3px 6px; }
  #ai-image .independent-task-tab-input { height: 26px; padding: 0 2px; line-height: 26px; width: 100%; min-width: 0; max-width: 100%; font-size: 16px; }
}
