/* Chat ownership warning */
.ldp-chat-error {
  box-sizing:border-box;
  display:block;
  width:100%;
  margin:12px 0 14px!important;
  padding:10px 12px;
  border:1px solid #e0e0e0;
  border-radius:12px;
  background:#f5f5f5;
  color:#b42318!important;
  font-size:14px;
  line-height:1.5;
}
.ldp-chat-error + .lk-job__apply-note { margin-top:0; }

/* Homepage job poster image */
body.page-id-5964 #lh4 .hf-post[data-kind="jobs"]>.hf-photo{background:#f4f6f9!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;border-radius:0!important;width:100%!important;overflow:hidden!important}body.page-id-5964 #lh4 .hf-post[data-kind="jobs"]>.hf-photo img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:440px!important;object-fit:contain!important;margin:0 auto!important}

/* Homepage mobile job poster */
@media (max-width:767px){body.page-id-5964 #lh4 .hf-post[data-kind="jobs"]>.hf-photo{display:block!important;background:#f4f6f9!important}body.page-id-5964 #lh4 .hf-post[data-kind="jobs"]>.hf-photo img{width:100%!important;max-width:100%!important;max-height:none!important;height:auto!important;margin:0!important}}

/* Dashboard action buttons: shared geometry and feedback, no priority overrides. */
:root {
  --hhrma-action-height: 40px;
  --hhrma-action-font: 14px;
  --hhrma-primary-hover: #464646;
  --hhrma-button-motion: 160ms;
}
html body :is(
  .lkcd .lkcd__button,
  .lkco-button,
  .hhi-package-cta,
  .lkcv-profile__actions button,
  #hcv .actions button,
  #hcv footer button,
  #hcv-manual,
  .lkrec-shell .lkflow-jobs-dashboard .lkflow-jobs-table td:nth-child(6)>a,
  .lkrec-shell .lkflow-jobs-dashboard .lkflow-jobs-table td:nth-child(7)>a,
  .lkrec-shell .lkcd__button,
  .lkhr-main .lkhr-primary,
  .lkhr-main .lkhr-actions > :is(a,button),
  .lkhr-main .lkrec-app-filters > button,
  .lkpkg .lkpkg-button,
  .lkpay .woocommerce :is(button.button,a.button),
  .lkco .lkco-primary,
  .lkpai .lkpai-primary:not([data-company-add]),
  #linkarir-cv-form .acf-form-submit :is(input[type=submit],.acf-button),
  .lkcd-cv-dialog :is(.acf-button,input[type=submit]),
  .lkcd-cv-edit-button,
  .lkcv-login .lkcv-button,
  .lkcv-private__button,
  .lk-edit-popup .lk-edit-actions button,
  .lkfad .lkfad-btn,
  .lkfad-delete-dialog button[type=submit],
  .hhi-detail :is(button,.button):not(.hhi-va-box),
  .hhm-reviews .hhm-review-btn,
  .hhs-main .hhs-button,
  .hhs-main button:not(.hhr-editor-close),
  .hhhr-main .hhhr-button:not(.hhhr-tabs *),
  .hhhr-main button:not(.hhr-editor-close,.hhhr-map-pick,.hhhr-place-result,.hhhr-place-input *,.hhhr-location-result *,.gm-style *),
  .lk-candidate-actions :is(button,a),
  .hhrma-button--primary
) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--hhrma-action-height);
  min-height: var(--hhrma-action-height);
  padding: 0 16px;
  border-radius: 10px;
  gap: 7px;
  font-family: inherit;
  font-size: var(--hhrma-action-font);
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--hhrma-button-motion) ease,
              border-color var(--hhrma-button-motion) ease,
              color var(--hhrma-button-motion) ease;
}
@media (hover: hover) {
  html body :is(
  .lkcd .lkcd__button--primary,
  .lkrec-shell .lkcd__button--primary,
  .lkhr-main .lkhr-primary,
  .lkhr-main .lkrec-app-filters > button,
  .lkpkg .lkpkg-button,
  .lkpay .woocommerce :is(button.button,a.button),
  .lkco .lkco-primary,
  .lkpai .lkpai-primary:not([data-company-add]),
  #linkarir-cv-form .acf-form-submit :is(input[type=submit],.acf-button),
  .lkcd-cv-dialog .acf-form-submit :is(input[type=submit],.acf-button),
  .lkcd-cv-edit-button,
  .lkcv-login .lkcv-button,
  .lkcv-private__button,
  .lk-edit-popup .lk-edit-save,
  .lkfad .lkfad-btn:not(.lkfad-btn-secondary),
  .lkfad-delete-dialog button[type=submit],
  .hhi-detail :is(button,.button):not(.hhi-va-box),
  .hhm-reviews .hhm-review-btn:not(.secondary,.reject),
  .hhs-main .hhs-button,
  .hhhr-main .hhhr-button:not(.hhhr-tabs *),
  .hhhr-main button:not(.hhr-editor-close,.hhhr-secondary,.hhhr-trash-action,.hhhr-map-pick,.hhhr-place-result,[data-hhhr-gps="out"],.hhhr-location-tools *,.hhhr-place-input *,.hhhr-location-result *,.gm-style *),
  .hhrma-button--primary
):not(:disabled,[disabled],[aria-disabled="true"],[aria-busy="true"],[data-loading="true"],.disabled,.is-disabled,.loading):hover {
    background-color: var(--hhrma-primary-hover);
    border-color: var(--hhrma-primary-hover);
    color: #fff;
    filter: none;
  }
}
@media (max-width: 767px) {
  :root { --hhrma-action-font: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --hhrma-button-motion: 0ms; }
}

.lkpai-replacement-context{margin:18px 0 24px;padding:14px 16px;border-radius:10px;background:#edf2f7;color:#40566b;font-size:14px;line-height:1.5}
.lkpai-replacement-context p{margin:6px 0 0}

/* Dashboard cards: one border rule shared by HRIS, recruiter, candidate and admin. */
html body:is(.lk-unified-chrome,.hhhr-body,.hhs-body,.lkhr-body) :is(
  .hhhr-card,
  .hhhr-quick > a,
  .hhhr-location-result,
  .hhhr-locations .hhhr-map-card,
  .hhs-card,
  .hhs-module,
  .hhs-context,
  .lkhr-card,
  .lkcd .lkcd__panel,
  .lkcd-table-wrap,
  .lkcd-saved-card,
  .lkcd-cv-side-card,
  .lkcd .lkflow-table-wrap:not(.lkflow-jobs-dashboard *),
  .lkcd .lkflow-applicants-dialog,
  .lkcd-applications-table tbody tr,
  .lkcd-cv-dialog .lkcv__form-card,
  .lkrec-shell .lkrec-metrics > *,
  .lkrec-shell .lkcd__panel,
  .lkrec-shell :is(.lkrc-layout,.lkri-list,.lkri-tools,.lkrec-app-filters),
  .lkrec-shell .lkflow-table-wrap:not(.lkflow-jobs-dashboard *),
  .lkrec-shell :is(#lkda,#lkdj) > div:has(> table),
  .lkfad-card,
  .lkfad-note,
  .lkfad .lkss-card,
  .lkpkg .lkpkg-main,
  .lkpkg .lkplans-grid > article,
  .lkpkg .lkpkg-distribution article,
  .lkop-chat,
  #lkop-inbox,
  #hhi-list > article,
  .hhi-detail .hhi-paper,
  .hhi-detail .hhi-paybox
) {
  border: 0;
}
