.crm-shell .board-tools-toggle { display: none; }

@media (pointer: coarse) and (min-width: 600px) {
  .crm-shell.board-view.tablet-board:has(.deal-kanban) .board-tools-toggle { display: inline-flex; }
  .crm-shell.board-view.tablet-board:has(.deal-kanban) .main { height: 100dvh; min-height: 0; display: flex; flex-direction: column; }
  .crm-shell.board-view.tablet-board:has(.deal-kanban) .content { display: flex; flex: 1; min-height: 0; flex-direction: column; padding: 4px 8px; }
  .crm-shell.board-view.tablet-board:has(.deal-kanban) .content > .page-heading { min-height: 40px; margin: 0 0 4px; }
  .crm-shell.board-view.tablet-board:has(.deal-kanban) .heading-actions > button { min-height: 40px; }
  .crm-shell.board-view.tablet-board:has(.deal-kanban) .content > .board-caption { display: none; }
  .crm-shell.board-view.tablet-board:not(.tools-open):has(.deal-kanban) .content > :is(.toolbar,.metrics,.assign-button) { display: none; }
  .crm-shell.board-view.tablet-board .content > .deal-kanban { flex: 1 1 auto; min-height: 180px; height: auto; padding: 4px; }
  .crm-shell.board-view.tablet-board .deal-lane { position: relative; }
  .crm-shell.board-view.tablet-board .lane-total { padding: 3px 42px 3px 4px; min-height: 30px; }
  .crm-shell.board-view.tablet-board .lane-add { position: absolute; top: 0; right: 7px; width: 38px; min-height: 29px; height: 29px; font-size: 0; margin: 0; padding: 0; }
}
@media (pointer: coarse) and (min-width: 901px) {
  .crm-shell.board-view.tablet-board:not(.tools-open):has(.deal-kanban) .topbar { display: none; }
}

@media (pointer: coarse) and (min-width: 600px) { .crm-shell.tablet-board .lane-heading { padding-right: 44px; } .crm-shell.tablet-board .lane-add { color: #092e44; background: transparent; min-height: 30px !important; } }