/* LP426: only the Polish job-list introduction on phones. */
@media (max-width:650px) {
  html[lang="pl"] body[data-lp128-section="work"]:has(form.lp376-search) .public-hero {padding:8px 0!important}
  html[lang="pl"] body[data-lp128-section="work"]:has(form.lp376-search) .public-hero h1 {font-size:20px!important;line-height:1.25!important;margin:0!important}
  html[lang="pl"] body[data-lp128-section="work"]:has(form.lp376-search) #public-content {padding-top:8px!important}
  html[lang="pl"] body[data-lp128-section="work"]:has(form.lp376-search) .lp86-breadcrumbs,
  html[lang="pl"] body[data-lp128-section="work"]:has(form.lp376-search) .lp376-areas p {display:none!important}
  html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-areas {display:flex;gap:6px;margin:0 0 6px!important}
  html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-areas a {margin:0!important;min-height:44px;padding:6px 14px!important;font-size:13px!important}
  html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp376-search {padding:8px;gap:6px!important;margin:0 0 6px!important;box-shadow:none;border-radius:10px;grid-template-columns:minmax(88px,.7fr) minmax(0,1.3fr)!important}
  html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-search input:not([type="hidden"]),
  html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-search select,
  html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-search button {min-height:44px!important;padding:8px 10px!important;line-height:1.35!important}
  html[lang="pl"] body[data-lp128-section="work"] #public-content .public-toolbar {margin:4px 0!important}
  html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-total {padding:6px 10px;margin:0 0 8px!important}
  #public-content .lp426-local-disclosure {margin:0 0 6px;border:1px solid #d4e3ec;border-radius:10px;background:#f4f9fc;min-width:0}
  #public-content .lp426-local-disclosure>summary {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;box-sizing:border-box;padding:8px 12px;color:#214d69;font-family:inherit;font-size:14px;font-weight:600;line-height:1.35;cursor:pointer;list-style:none}
  #public-content .lp426-local-disclosure>summary::-webkit-details-marker {display:none}
  #public-content .lp426-local-disclosure>summary::after {content:'+';font-size:22px;font-weight:400;line-height:1}
  #public-content .lp426-local-disclosure[open]>summary::after {content:'−'}
  #public-content .lp426-local-disclosure>summary:focus-visible {outline:3px solid #2c7ab2;outline-offset:2px;border-radius:8px}
  #public-content .lp426-local-disclosure>.lp422-local {margin:0;padding:0 12px 12px;border:0;background:none;border-radius:0}
  #public-content .lp426-local-disclosure .lp422-head h2 {display:none}
  #public-content .lp426-local-disclosure .lp422-tools {width:100%}
  #public-content .lp426-local-disclosure .lp422-tools select,
  #public-content .lp426-local-disclosure .lp422-tools button {min-height:44px;font-size:16px}
  #public-content .lp426-local-disclosure .lp422-note {font-size:13px;line-height:1.45}
  #public-content .lp426-local-disclosure .lp422-cards:empty,
  #public-content .lp426-local-disclosure .lp422-links:empty {display:none}
}

/* LP439: compact phone search, with two equal fields and independent controls. */
html[lang="pl"] body[data-lp128-section="work"] .lp439-salary-short{display:none}
@media(max-width:650px){
 html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp86-search.lp376-search{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center;gap:6px!important;padding:8px!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp376-search>input:not([type="hidden"]){grid-column:auto!important;width:100%!important;height:44px!important;min-height:44px!important;padding:8px!important;font-size:16px!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp376-search>.lp437-salary-filter{grid-column:1/-1;min-height:32px;gap:8px;font-size:14px;line-height:1.3;margin:0}
 html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp376-search .lp437-salary-filter input{width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;flex:0 0 18px!important}
 html[lang="pl"] body[data-lp128-section="work"] .lp439-salary-full{display:none}
 html[lang="pl"] body[data-lp128-section="work"] .lp439-salary-short{display:inline}
 html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp376-search>.lp378-filter-toggle,
 html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp376-search>.lp378-submit{grid-column:auto!important;height:44px!important;min-height:44px!important;width:100%;padding:8px!important;font-size:14px!important;line-height:1.2!important;white-space:nowrap;align-self:center}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .public-toolbar>.lp437-alerts{padding:0 10px!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .public-toolbar>.lp437-alerts summary{min-height:44px;display:flex;align-items:center;gap:6px;font-size:14px}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .public-toolbar>.lp437-alerts summary::before{content:"▸"}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .public-toolbar>.lp437-alerts details[open]>summary::before{content:"▾"}
}

/* LP440: keep the phone's first screen focused on job results. */
@media(max-width:650px){
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-areas{gap:0!important;margin:0 0 6px!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-areas a{min-height:32px!important;padding:5px 13px!important;font-size:13px!important;line-height:20px!important;border-radius:0!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-areas a:first-child{border-radius:8px 0 0 8px!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-areas a:nth-child(2){border-radius:0 8px 8px 0!important;border-left:0}
 html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp376-search>.lp378-filter-toggle,
 html[lang="pl"] body[data-lp128-section="work"] #public-content form.lp376-search>.lp378-submit{height:40px!important;min-height:40px!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp378-extra-filters>.lp437-salary-filter{min-height:36px;margin:0;line-height:1.3;font-size:14px}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp440-mobile-tools[hidden]{display:none!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp440-mobile-tools{margin:0 0 8px;min-width:0}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp440-mobile-tools>.lp437-alerts{margin:6px 0;padding:0 10px}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp440-mobile-tools>.lp437-alerts summary{min-height:40px;display:flex;align-items:center;font-size:14px}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .public-toolbar{margin:4px 0!important}
 html[lang="pl"] body[data-lp128-section="work"] #public-content .lp376-total{padding:4px 8px!important;margin:2px 0 6px!important;font-size:12px!important;line-height:1.3}
}

#public-content .lp-work-post-actions {display:flex; flex-wrap:wrap; align-items:center; gap:.5rem}
#public-content .lp-work-post-actions a {display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:44px; padding:8px 16px; border:2px solid #b21739; border-radius:9px; background:#fff; color:#a51536; font-weight:700; text-decoration:none; line-height:1.25}
#public-content .lp-work-post-actions a:first-child {background:#b21739; color:white}
#public-content .lp-work-post-actions a:hover {background:#ffe8ed; color:#82132d}
#public-content .lp-work-post-actions a:focus-visible {outline:3px solid #173752; outline-offset:3px}
.lp376-job-copy .lp-seeking-badge {display:inline-block; color:#a51536; margin-bottom:4px}
@media(max-width:650px){
 #public-content .public-toolbar:has(.lp-work-post-actions) {flex-wrap:wrap!important}
 #public-content .lp-work-post-actions {gap:6px}
 #public-content .lp-work-post-actions a {font-size:14px; padding:7px 10px}
}
