/* T312 — global ≥44×44 tap-target floor at phone widths.
   Composer Send/Attach deferred to T306; this file covers audit §4 chrome
   beyond the composer (topbar, dock chrome, workforce, files, filters, feedback). */
@media (max-width: 820px) {
  /* Topbar primary actions (audit: 38px tall). */
  .topbar #launch-open,
  .topbar #ask-mainframe,
  .topbar #shell-overflow-toggle,
  .topbar .topbar-icon-control,
  .topbar .shell-overflow-toggle {
    min-height: 44px;
    min-width: 44px;
    box-sizing: border-box;
  }

  /* Bottom tab bar labels (tight at 360). */
  .tab-bar .tab-link,
  .tab-bar .shell-nav-disabled {
    min-height: 44px;
  }

  /* Dock chrome — move/close/+ Agent (composer owned by T306). */
  .agent-session-column__actions .button,
  .agent-session-column__close,
  .agent-session-column__actions [data-dock-left],
  .agent-session-column__actions [data-dock-right],
  .agent-session-column__actions [data-dock-close],
  .agent-session-column__actions [data-dock-add],
  .agent-session-column__actions [data-dock-full],
  #dock-close,
  #dock-picker-back {
    min-height: 44px !important;
    min-width: 44px !important;
    box-sizing: border-box;
    padding-block: 0.55rem;
  }

  /* Files toolbar + row overflow glyphs + phone-stack chrome (post-T319 pass). */
  #files-refresh,
  .files-actions #files-refresh,
  #file-upload-open,
  .files-tree-toolbar .button,
  .file-actions-trigger,
  .files-tree-control,
  .files-tree-search,
  #files-search,
  .files-tree-retry,
  .files-search-retry,
  .files-phone-back,
  .files-phone-crumb,
  .file-preview-actions .file-action,
  .file-preview-actions #file-open-raw,
  .file-preview-actions #file-full-view,
  .file-preview-actions #file-copy-path,
  .file-preview-actions #file-focused-dock-open {
    width: auto;
    min-height: 44px;
    min-width: 44px;
    box-sizing: border-box;
  }

  /* Connector filter chips + search. */
  .connector-filter-button,
  .connector-search,
  .conn-subtab {
    min-height: 44px;
    box-sizing: border-box;
  }
  .connector-filter-button {
    min-width: 44px;
    padding-inline: 12px;
  }

  /* Settings / engine Manage models + modal close glyphs. */
  [data-engine-manage-models],
  [data-model-manage],
  .overlay .close,
  .settings-drawer .close,
  button[aria-label="Close settings"],
  #settings-close,
  .file-delete-dialog .button,
  .end-session-dialog .button {
    min-height: 44px;
    min-width: 44px;
    box-sizing: border-box;
  }

  /* Feedback launcher. */
  #feedback-open.feedback-launcher,
  .feedback-launcher {
    min-height: 44px;
    box-sizing: border-box;
  }
}
