.jobs-page-title .hh-section-tutorial-controls { transform: translateZ(0); }

/* The page menu owns secondary actions on phones. Its slot is empty on most routes. */
#mobile-page-actions {
  display: none;
}

@media (max-width: 767px) {
  #mobile-page-actions:not(:empty) {
    display: grid;
    padding-block-end: 4px;
    margin-block-end: 4px;
    border-block-end: 1px solid var(--hh-ui-separator);
  }

  #mobile-page-actions .hh-section-tutorial-controls {
    display: flex;
    margin-inline: 0;
    padding-inline: 12px;
  }

  #mobile-page-actions .hh-section-tutorial-controls > button {
    min-height: 40px;
  }

  #mobile-page-actions .hh-section-tutorial-more {
    width: 40px;
  }

  .page--jobs .jobs-page-head__actions .jobs-hiring-plan {
    display: none;
  }

  :is(html :is(body, #root).has-product-topbar-scope) {
    --app-action-height: 28px;
    --app-action-compact-height: 26px;
    --app-action-large-height: 32px;
    --app-action-padding-x: 10px;
    --app-action-compact-padding-x: 8px;
    --app-action-round-size: 30px;
    --app-action-gap: 4px;
    --app-filter-control-height-mobile: 32px;
    --app-filter-control-height: 32px;
    --app-toolbar-height: 32px;
    --hh-mobile-card-padding: 10px;
    --hh-mobile-section-gap: 8px;
  }

  /* Some route skins set their own dimensions. Keep just the visible shell compact. */
  #root.has-product-topbar main :is(
    [data-toolbar-search], .app-toolbar-search, .jobs-mobile-search, .candidate-db-search-box,
    .candidate-db-search__control, .reports-search, .employees-workspace-search, .files-search,
    .wcal-search, .search2, .settings-search-control
  ):not(:where(.careers-page *, [role='dialog'] *)) {
    box-sizing: border-box;
    height: var(--app-toolbar-height);
    min-height: var(--app-toolbar-height);
    padding-block: 0;
    align-items: center;
  }

  #root.has-product-topbar main :is(
    [data-toolbar-search], .app-toolbar-search, .jobs-mobile-search, .candidate-db-search-box,
    .candidate-db-search__control, .reports-search, .employees-workspace-search, .files-search,
    .wcal-search, .search2, .settings-search-control
  ):not(:where(.careers-page *, [role='dialog'] *)) input {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    padding-block: 0;
  }

  #root.has-product-topbar main :is(
    [data-toolbar-search], .app-toolbar-search, .jobs-mobile-search, .candidate-db-search-box,
    .candidate-db-search__control, .reports-search, .employees-workspace-search, .files-search,
    .wcal-search, .search2, .settings-search-control
  ):not(:where(.careers-page *, [role='dialog'] *)) input::placeholder {
    font-size: var(--hh-font-label);
  }

  #root.has-product-topbar main :is(
    .btn, .hub-button, .wcal-button, .files-button, .reports-action-button,
    .candidate-db-ai-banner__button, .candidate-db-search-submit, .candidate-db-mobile-filter-trigger,
    .candidate-db-filter-trigger[aria-label], .job__pipeline-toggle
  ):not(:where(.jobs-create-btn, .btn--seg, .btn--icon, .btn--icon-only, [role='switch'], [role='tab'],
    [role='menu'] *, .careers-page *, [contenteditable] *, [data-app-action='native'])) {
    box-sizing: border-box;
    min-height: var(--app-action-height);
    height: auto;
    padding-block: 3px;
    padding-inline: var(--app-action-padding-x);
    line-height: 1.25;
  }

  .page--jobs .jobs-list-surface .jobs-card-reference .job__top-row {
    padding: 10px;
    column-gap: 6px;
  }

  .page--jobs .jobs-list-surface .jobs-card-reference .job__bottom-row {
    margin-inline: 10px;
    padding-block: 8px;
    gap: 6px;
  }

  .page--jobs .jobs-list-surface .jobs-card-reference .job__title h2 {
    font-size: 14px;
    line-height: 1.35;
  }

  .page--jobs .jobs-list-surface .jobs-card-reference .job__actions .job__visibility-control {
    min-height: 26px;
    height: 26px;
    padding: 0;
  }

  /* The transparent trigger keeps its touch area around the visible Create job pill. */
  #root .page--jobs .jobs-create-btn__label {
    min-width: 0;
    height: 28px;
    min-height: 28px;
    padding-inline: 10px;
  }

  #root .page--jobs .jobs-page-head__actions {
    flex-shrink: 0;
  }

  #root .page--jobs .jobs-mobile-filter-trigger {
    width: var(--app-toolbar-height);
    height: var(--app-toolbar-height);
    flex-basis: var(--app-toolbar-height);
  }

  #root .page-workflow .wf-head__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #root .page-workflow .wf-head__left {
    max-width: 100%;
    min-width: 0;
  }

  #root .wf-candidate-header .pipeline-header-actions > .movemenu {
    flex: 0 1 auto;
    max-width: calc(100% - 46px);
  }

  #root .wf-candidate-header .pipeline-header-actions .candidate-stage-action>.btn{flex:0 1 auto;min-height:26px;height:26px;padding:3px 8px;font-size:var(--hh-font-compact)}

  

  

  /* These standalone controls have room above and below their visible edge. */
  #root main :is(.candidate-db-search-submit, .candidate-db-ai-banner__button, .jobs-mobile-filter-trigger) {
    position: relative;
  }

  #root main :is(.candidate-db-search-submit, .candidate-db-ai-banner__button, .jobs-mobile-filter-trigger)::before {
    position: absolute;
    inset: -5px 0;
    content: "";
  }
#root .wf-candidate-header .pipeline-header-actions .candidate-stage-action>.candidate-stage-action__toggle{flex:0 0 22px;width:22px;min-width:22px;height:26px;min-height:26px;padding:3px}

#root .wf-candidate-header .pipeline-header-actions>.mid-toolbar__btn{flex:0 0 26px;width:26px;min-width:26px;height:26px;min-height:26px;padding:0}
}
