/* BeaverCool — базові стилі. Гострі кути всюди: border-radius 0. */

:root {
  --navy: #0A3161;
  --navy-dark: #072448;
  --red: #B31942;
  --red-dark: #8F1435;
  --green: #14532D;
  --green-dark: #0F3D21;
  --green-tint: #E8F3EC;
  --white: #FFFFFF;
  --ink: #0F1B2D;
  --muted: #4A5568;
  --line: #D5DBE5;
  --line-soft: #E6EAF0;
  --tint: #EAF0F8;
  --bg-soft: #F4F6FA;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;

  --container: 1280px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
}

img, svg { display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
button, input { font: inherit; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons, tags ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 2px solid transparent;
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { background: var(--navy); color: var(--white); }
.btn--lg {
  min-height: 60px; padding: 0 36px;
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
}

.icon-btn {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--line); cursor: pointer;
}
.icon-btn:hover { border-color: var(--navy); }
.icon-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.icon-btn[aria-pressed="true"] svg path { fill: currentColor; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--tint); color: var(--navy);
  font-size: 13px; font-weight: 700; padding: 6px 10px;
}
.tag--pay { background: var(--green-tint); color: var(--green); }
.tag--red {
  background: var(--red); color: var(--white);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ---------- Top bar + header ---------- */

.topbar { background: var(--navy); color: var(--white); font-size: 13px; font-weight: 500; }
.topbar__inner {
  min-height: 36px; display: flex; align-items: center; justify-content: flex-end; gap: 24px;
}
.topbar a { color: var(--white); font-weight: 700; }
.topbar a:hover { color: var(--white); text-decoration: none; }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: relative; }
.site-header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo__img { display: block; height: 60px; width: auto; }
.logo__img--footer { height: 56px; align-self: flex-start; }
.logo__mark {
  width: 40px; height: 40px; background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo__text {
  font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1;
  letter-spacing: 0.02em; color: var(--navy); text-transform: uppercase; white-space: nowrap;
}
.logo__accent { color: var(--red); }
.logo__text--light { color: var(--white); font-size: 28px; }
.logo__flag { background: var(--red); color: var(--white); padding: 0 6px; }

.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--red); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */

.hero { background: var(--navy); color: var(--white); }
.hero__inner { padding-top: 88px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }

.hero__eyebrow {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero__eyebrow svg { color: var(--white); }

.hero__title {
  margin: 0; max-width: 980px;
  font-family: var(--font-display); font-weight: 800; font-size: 88px; line-height: 0.95;
  text-transform: uppercase;
}
.hero__title mark { background: var(--red); color: var(--white); padding: 0 12px; }

.search {
  display: flex; align-items: stretch; max-width: 1120px;
  background: var(--white); border: 4px solid var(--white);
}
.search__field {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px;
  padding: 12px 20px; color: var(--ink); cursor: text;
}
.search__field + .search__field { border-left: 1px solid var(--line); }
.search__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy);
}
.search__field input {
  border: 0; outline: none; padding: 4px 0; font-size: 18px; color: var(--ink); background: transparent; width: 100%;
}
.search__field input::placeholder { color: #6B7483; }
.search__field:focus-within { box-shadow: inset 0 -3px 0 var(--red); }
.search__btn {
  width: 200px; flex-shrink: 0; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.search__btn:hover { background: var(--red-dark); }

.popular { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.popular__label { font-weight: 600; opacity: 0.85; }
.chip {
  color: var(--white); text-decoration: none; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.55); padding: 7px 14px;
}
.chip:hover { background: var(--white); color: var(--navy); }

.stripes { display: flex; flex-direction: column; }
.stripes span { height: 6px; background: var(--red); }
.stripes span:nth-child(2) { background: var(--white); }

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
.section + .section { padding-top: 24px; }
.section--tint { background: var(--bg-soft); }
.section--tint, .section--tint + .section { padding-top: 64px; }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px;
}
.section__title {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1;
  text-transform: uppercase; color: var(--navy);
}
.section__more { font-weight: 700; font-size: 15px; white-space: nowrap; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 84px; padding: 12px 24px;
  border: 2px solid var(--navy); color: var(--navy); background: var(--white); text-decoration: none;
}
.cat:hover { background: var(--navy); color: var(--white); }
.cat:hover svg { color: var(--white); }
.cat__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.cat__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cat__count { font-size: 13px; font-weight: 600; opacity: 0.8; }
.cat svg { color: var(--red); flex-shrink: 0; }

/* Job cards */
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.job-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  background: var(--white); border: 1px solid var(--line);
}
.job-card:hover { border-color: var(--navy); }
.job-card--highlight { border: 2px solid var(--red); }
.job-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-card__titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.job-card__sponsored {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); border: 1px solid var(--red); padding: 2px 6px;
}
.job-card__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; }
.job-card__title a { color: var(--navy); text-decoration: none; }
.job-card__title a:hover { color: var(--red); text-decoration: underline; }
.job-card__company { font-size: 15px; }
.job-card__loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.job-card__foot {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted);
}
.job-card__easy { font-weight: 700; color: var(--green); }

/* CTA */
.cta { background: var(--red); color: var(--white); }
.cta__inner { padding-top: 56px; padding-bottom: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; text-transform: uppercase; }
.cta__text { margin: 0; font-size: 18px; max-width: 720px; }
.cta .btn { flex-shrink: 0; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); }
.site-footer__inner { padding-top: 48px; padding-bottom: 48px; display: flex; justify-content: space-between; gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer__copy { font-size: 14px; opacity: 0.85; }
.site-footer__cols { display: flex; gap: 72px; font-size: 14px; }
.site-footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.site-footer__title { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }

/* Placeholder pages */
.placeholder { min-height: 50vh; }
.placeholder .container { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.placeholder__eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.placeholder code { background: var(--tint); padding: 2px 6px; }

/* ---------- Utilities ---------- */

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.stripe { height: 6px; background: var(--red); }

.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); gap: 8px; text-transform: none; letter-spacing: 0; font-size: 15px; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.btn--outline[aria-pressed="true"] svg path { fill: currentColor; }
.icon-btn--lg { width: 52px; height: 52px; border: 2px solid var(--navy); }

.tag--sm { font-size: 12px; padding: 4px 8px; }
.tag--lg { font-size: 14px; padding: 7px 12px; }
.tag--outline { background: var(--white); border: 1px solid var(--navy); font-weight: 600; font-size: 14px; }

/* ---------- Search band + filters ---------- */

.search-band { background: var(--navy); padding: 20px 0; }
.search--compact { max-width: none; border-width: 3px; }
.search--compact .search__field { padding: 8px 16px; }
.search--compact .search__label { font-size: 11px; }
.search--compact .search__field input { font-size: 16px; padding: 2px 0; }
.search--compact .search__btn { width: 160px; font-size: 21px; }

.filters { background: var(--white); border-bottom: 1px solid var(--line); }
.filters__inner { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.filters__title { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-right: 4px; }
.filters__clear { font-weight: 700; color: var(--red); font-size: 14px; padding: 0 6px; }
.js .filters__apply { display: none; }

.select { position: relative; display: inline-flex; }
.select select {
  appearance: none; -webkit-appearance: none;
  height: 44px; padding: 0 36px 0 14px;
  border: 1px solid var(--navy); background: var(--white); color: var(--navy);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.select.is-set select { background-color: var(--navy); color: var(--white);
  background-image: linear-gradient(45deg, transparent 50%, var(--white) 50%), linear-gradient(135deg, var(--white) 50%, transparent 50%); }
.select select:hover { border-width: 2px; padding-left: 13px; }

.check {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  border: 1px solid var(--navy); color: var(--navy); font-size: 14px; font-weight: 600; cursor: pointer;
}
.check input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.check.is-set { background: var(--navy); color: var(--white); }
.check.is-set input { accent-color: var(--red); }

/* ---------- Results ---------- */

.page-search main { background: var(--bg-soft); }
.results-layout { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 48px; align-items: start; }
.results-head { margin-bottom: 12px; }
.results-head__title {
  margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.05;
  text-transform: uppercase; color: var(--navy);
}
.results-head__meta { margin: 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.sort strong { color: var(--navy); }

.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.result__link {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.result__link:hover { border-color: var(--navy); color: var(--ink); }
.result.is-active .result__link { border: 3px solid var(--navy); padding: 16px 18px; }
.result--highlight .result__link { border-left: 6px solid var(--red); }
.result--highlight.is-active .result__link { border-left-width: 6px; }
.result__title { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.result__link:hover .result__title { text-decoration: underline; }
.result__company { font-size: 14px; }
.result__loc { font-size: 14px; color: var(--muted); }
.result__meta { font-size: 12px; color: var(--muted); }
.result__meta strong { color: var(--navy); }
.result__sponsored, .result__urgent {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 7px;
}
.result__sponsored { color: var(--muted); border: 1px solid var(--line); background: var(--bg-soft); }
.result__urgent { background: var(--red); color: var(--white); }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pager__num, .pager__btn {
  min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy); background: var(--white); color: var(--navy); font-weight: 700; text-decoration: none;
}
.pager a:hover { background: var(--navy); color: var(--white); }
.pager__num.is-current { background: var(--navy); color: var(--white); }

.empty { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.empty p { margin: 0; }
.empty__title { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.empty__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.empty__cats { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; padding-top: 8px; border-top: 1px solid var(--line-soft); width: 100%; }
.empty__cats span { color: var(--muted); }

/* ---------- Job details (panel + page) ---------- */

.detail-col__sticky { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--white); border: 1px solid var(--line); }
.detail-col__sticky.is-loading { opacity: 0.5; }

.detail { background: var(--white); }
.detail__head { padding: 28px 32px 22px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.detail__badge { align-self: flex-start; }
.detail__closed {
  margin: 0; align-self: stretch; padding: 10px 14px;
  background: var(--tint); border-left: 6px solid var(--navy); color: var(--navy); font-weight: 700;
}
.detail__title {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1;
  text-transform: uppercase; color: var(--navy);
}
.detail__title a { color: inherit; text-decoration: none; }
.detail__title a:hover { color: var(--red); text-decoration: underline; }
.detail__company { margin: 0; font-size: 16px; }
.detail__company a { font-weight: 700; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.btn--apply { min-height: 52px; padding: 0 32px; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.detail__actions .btn--outline { min-height: 52px; }
.detail__body { padding: 24px 32px 28px; display: flex; flex-direction: column; gap: 22px; line-height: 1.6; }
.detail__body section { display: flex; flex-direction: column; gap: 8px; }
.detail__body p { margin: 0; }
.detail__body ul:not(.tags) { margin: 0; padding-left: 20px; }
.detail__h { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; color: var(--navy); }
.detail__foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.detail__foot a { color: var(--muted); }

/* Job page */
.page-job main { background: var(--bg-soft); }
.job-band { background: var(--navy); padding-top: 4px; }
.crumbs ol { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--navy); }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; padding-bottom: 56px; }
.job-main .detail { border: 1px solid var(--line); }
.detail--page .detail__title { font-size: 52px; }
.job-side { display: flex; flex-direction: column; gap: 20px; }
.side-box { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.side-box__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--navy); }
.side-box__name { margin: 0; font-weight: 700; font-size: 17px; }
.side-box__text { margin: 0; font-size: 15px; }
.side-box__meta { margin: 0; font-size: 13px; color: var(--muted); }
.side-box__more { font-weight: 700; font-size: 14px; }
.similar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.similar li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.similar li:first-child { padding-top: 2px; }
.similar a { font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: none; }
.similar a:hover { color: var(--red); text-decoration: underline; }
.similar__pay { color: var(--green); font-weight: 700; }

/* ---------- Buttons (extra) ---------- */

.btn--block { display: flex; width: 100%; min-height: 52px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn--text { background: none; border: 0; color: var(--red); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 14px; padding: 0 8px; text-decoration: underline; }
.btn--text:hover { color: var(--red-dark); }
.btn--applied { background: var(--tint); color: var(--navy); border-color: var(--navy); }
.btn--applied:hover { background: var(--navy); color: var(--white); }

/* ---------- Flash, alerts, notes ---------- */

.flash { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.flash--success { background: var(--green); color: var(--white); }
.flash--info { background: var(--tint); color: var(--navy); }
.flash--error { background: var(--red); color: var(--white); }
.alert { padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.alert--error { background: #FBEAEE; color: var(--red-dark); border-left: 6px solid var(--red); }
.demo-note { margin-top: 20px; padding: 12px 14px; background: #FFF8E6; border: 1px dashed #C9A227; font-size: 13px; line-height: 1.6; }
.demo-note code { background: rgba(0,0,0,0.06); padding: 1px 4px; }

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field[hidden] { display: none; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); padding: 0; }
.field__aside { font-size: 14px; font-weight: 600; }
.field__input {
  width: 100%; min-height: 50px; padding: 10px 14px;
  border: 1px solid #8A94A6; background: var(--white); color: var(--ink); font: inherit; font-size: 16px;
}
textarea.field__input { resize: vertical; min-height: 120px; }
.field__input:focus { outline: none; border: 2px solid var(--navy); padding: 9px 13px; }
.field__hint { margin: 0; font-size: 13px; color: var(--muted); }
.field__error { margin: 0; font-size: 14px; font-weight: 600; color: var(--red); }
.has-error .field__input, .field__input[aria-invalid="true"] { border: 2px solid var(--red); padding: 9px 13px; }
.field__static { margin: 0; padding: 12px 0 2px; font-size: 16px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.checkline input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.checkline.has-error { color: var(--red-dark); }

.role-pick { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick legend { margin-bottom: 8px; }
.role-pick__opt { position: relative; cursor: pointer; }
.role-pick__opt input { position: absolute; opacity: 0; inset: 0; }
.role-pick__opt span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 2px solid var(--line); height: 100%; }
.role-pick__opt strong { color: var(--navy); font-size: 16px; }
.role-pick__opt small { color: var(--muted); font-size: 13px; }
.role-pick__opt input:checked + span { border-color: var(--navy); background: var(--tint); box-shadow: inset 6px 0 0 var(--red); }
.role-pick__opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.file-input { font: inherit; font-size: 14px; padding: 10px 0; max-width: 100%; }
.file-input::file-selector-button {
  margin-right: 12px; height: 40px; padding: 0 16px; border: 2px solid var(--navy); background: var(--white);
  color: var(--navy); font-weight: 700; cursor: pointer; font-family: inherit;
}

/* ---------- Auth pages ---------- */

.page-auth main { background: var(--bg-soft); border-top: 6px solid var(--red); }
.auth { padding: 56px var(--gutter) 72px; display: flex; justify-content: center; }
.auth__card { width: 100%; max-width: 480px; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); padding: 32px; }
.auth__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 40px; text-transform: uppercase; color: var(--navy); line-height: 1; }
.auth__sub { margin: 0 0 22px; color: var(--muted); }
.auth__card > p { margin: 0 0 18px; }

/* ---------- User menu ---------- */

.user-menu { position: relative; }
.user-menu__btn { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 44px; color: var(--ink); font-weight: 600; }
.user-menu__btn::-webkit-details-marker { display: none; }
.user-menu__avatar { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--white); font-weight: 700; }
.user-menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 230px;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red);
  display: flex; flex-direction: column; padding: 8px 0; box-shadow: 0 8px 24px rgba(10, 49, 97, 0.12);
}
.user-menu__email { padding: 6px 16px 10px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-soft); margin-bottom: 4px; }
.user-menu__panel a, .user-menu__panel button {
  display: block; width: 100%; text-align: left; padding: 10px 16px; background: none; border: 0;
  color: var(--ink); text-decoration: none; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.user-menu__panel a:hover, .user-menu__panel button:hover { background: var(--tint); color: var(--navy); }
.user-menu__panel form { border-top: 1px solid var(--line-soft); margin-top: 4px; }

/* ---------- Apply ---------- */

.page-apply main, .page-account main { background: var(--bg-soft); }
.acc-band { background: var(--navy); padding-top: 4px; }
.apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding-top: 24px; padding-bottom: 56px; align-items: start; }
.apply-main, .apply-side, .acc-main, .acc-nav { min-width: 0; }
.file-input { width: 100%; }
.apply-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 16px; }
.side-box--quiet { border-top-color: var(--line); }
.back-link { display: inline-block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.page-title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; text-transform: uppercase; color: var(--navy); }
.page-lead { margin: -8px 0 20px; color: var(--muted); }
.panel { background: var(--white); border: 1px solid var(--line); padding: 28px 32px; margin-bottom: 20px; }
section.panel, article.panel { display: flex; flex-direction: column; gap: 18px; }
article.panel .page-title, article.panel .page-lead { margin: 0; }
.panel--danger { border-top: 4px solid var(--red); }
.panel p { margin: 0; }
.panel__title { margin: 8px 0 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; color: var(--navy); }
.panel__title:first-of-type { margin-top: 0; }
.panel__title small { font-family: var(--font-body); font-size: 13px; text-transform: none; color: var(--muted); font-weight: 500; }
.step { width: 28px; height: 28px; background: var(--red); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 14px; font-weight: 700; }

.resume-pick { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.resume-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); cursor: pointer; }
.resume-opt:has(input[type="radio"]:checked) { border-color: var(--navy); background: var(--tint); }
.resume-opt input[type="radio"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.resume-opt__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.resume-opt__name { font-weight: 700; color: var(--navy); word-break: break-word; }
.resume-opt__meta { font-size: 13px; color: var(--muted); }
.resume-pick.has-error .resume-opt--new { border-color: var(--red); }
.next-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }

/* ---------- Account ---------- */

.acc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 56px; align-items: start; }
.acc-nav { background: var(--white); border: 1px solid var(--line); position: sticky; top: 16px; }
.acc-nav__user { display: flex; gap: 12px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.acc-nav__user strong { display: block; color: var(--navy); }
.acc-nav__user small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.acc-nav__avatar { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: var(--white); font-weight: 800; font-size: 20px; }
.acc-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.acc-nav a { display: block; padding: 12px 18px; color: var(--ink); text-decoration: none; font-weight: 600; border-left: 4px solid transparent; }
.acc-nav a:hover { background: var(--tint); color: var(--navy); }
.acc-nav a[aria-current="page"] { border-left-color: var(--red); background: var(--tint); color: var(--navy); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--white); border: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--navy); }
.stat__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.stat--accent { background: var(--navy); border-color: var(--navy); }
.stat--accent .stat__num, .stat--accent .stat__label { color: var(--white); }

.app-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.app { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); }
.app__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.app__title { font-size: 18px; font-weight: 700; color: var(--navy); text-decoration: none; }
a.app__title:hover { color: var(--red); text-decoration: underline; }
.app__title--plain { word-break: break-word; }
.app__company { font-size: 14px; }
.app__meta { font-size: 13px; color: var(--muted); }
.app__status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; max-width: 260px; flex-shrink: 0; }
.app__hint { font-size: 12px; color: var(--muted); }
.app__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.app__actions form { margin: 0; }

.status { display: inline-block; padding: 5px 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid var(--navy); color: var(--navy); background: var(--white); white-space: nowrap; }
.status--viewed { background: var(--tint); }
.status--shortlisted { background: var(--green-tint); border-color: var(--green); color: var(--green); }
.status--hired { background: var(--green); border-color: var(--green); color: var(--white); }
.status--rejected { border-color: var(--line); color: var(--muted); background: var(--bg-soft); }
.status--redirected { border-style: dashed; }

/* ---------- Employer ---------- */

.page-employer main { background: var(--bg-soft); }
.js .js-autosave-btn { display: none; }
.emp-head { background: var(--navy); color: var(--white); }
.emp-head__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.emp-head__company { display: flex; align-items: center; gap: 12px; }
.emp-head__logo { width: 44px; height: 44px; background: var(--white); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.emp-head__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.emp-head__name { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.emp-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.emp-tabs a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 600; padding: 10px 14px; border-bottom: 3px solid transparent; }
.emp-tabs a:not(.btn):hover { border-bottom-color: rgba(255,255,255,0.5); color: var(--white); }
.emp-tabs a[aria-current="page"] { border-bottom-color: var(--red); }
.emp-tabs .btn { margin-left: 8px; }

.emp-main { padding-top: 28px; padding-bottom: 56px; }
.emp-main--narrow { max-width: calc(880px + var(--gutter) * 2); }
.emp-titlebar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.emp-titlebar .page-title { margin-bottom: 8px; }
.emp-titlebar .page-lead { margin: 0 0 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.emp-titlebar__actions { display: flex; gap: 8px; }

.seg { display: flex; gap: 0; margin-bottom: 16px; overflow-x: auto; border-bottom: 2px solid var(--line); scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a { padding: 10px 16px; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 4px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.seg a span { font-weight: 600; font-size: 13px; color: var(--muted); margin-left: 4px; }
.seg a:hover { color: var(--navy); }
.seg a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--red); }

.ejobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ejob { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); }
.ejob__main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ejob__titleline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ejob__title { font-size: 18px; font-weight: 700; color: var(--navy); text-decoration: none; }
a.ejob__title:hover { color: var(--red); text-decoration: underline; }
.ejob__meta { font-size: 14px; color: var(--muted); }
.ejob__promos { display: flex; gap: 6px; flex-wrap: wrap; }
.promo-chip { font-size: 12px; font-weight: 700; color: var(--red); border: 1px solid var(--red); padding: 2px 7px; }
.ejob__nums { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); min-width: 150px; }
.ejob__num { color: var(--muted); text-decoration: none; }
a.ejob__num:hover { color: var(--navy); }
.ejob__num strong { color: var(--navy); font-size: 16px; }
.badge-new { display: inline-block; margin-left: 6px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; padding: 2px 6px; text-transform: uppercase; }
.ejob__actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.ejob__actions form { margin: 0; }

.more { position: relative; }
.more summary { list-style: none; font-size: 22px; line-height: 1; color: var(--navy); }
.more summary::-webkit-details-marker { display: none; }
.more__panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 180px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); box-shadow: 0 8px 24px rgba(10,49,97,0.12); padding: 6px 0; }
.more__panel a, .more__panel button { display: block; width: 100%; text-align: left; padding: 10px 16px; background: none; border: 0; color: var(--ink); font: inherit; font-size: 15px; text-decoration: none; cursor: pointer; }
.more__panel a:hover, .more__panel button:hover { background: var(--tint); color: var(--navy); }
.more__panel .danger { color: var(--red); }
.more__panel form { margin: 0; }

.status--active { background: var(--green); border-color: var(--green); color: var(--white); }
.status--draft { border-style: dashed; }
.status--pending_review { background: #FFF8E6; border-color: #C9A227; color: #6B5300; }
.status--paused { background: var(--tint); }
.status--closed, .status--expired, .status--removed { border-color: var(--line); color: var(--muted); background: var(--bg-soft); }

/* Post a job */
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; background: var(--white); border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.steps li + li { border-left: 0; }
.steps li span { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid currentColor; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.steps li.is-current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.steps li.is-current span { background: var(--red); border-color: var(--red); }

.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick label { position: relative; cursor: pointer; }
.chips-pick input { position: absolute; opacity: 0; inset: 0; }
.chips-pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--navy); color: var(--navy); font-weight: 600; font-size: 15px; background: var(--white); }
.chips-pick--multi span { border-width: 1px; font-size: 14px; min-height: 40px; }
.chips-pick input:checked + span { background: var(--navy); color: var(--white); }
.chips-pick--multi input:checked + span::before { content: '✓'; margin-right: 6px; }
.chips-pick input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--navy); background: var(--tint); }
.radio-card input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.radio-card strong { display: block; color: var(--navy); }
.radio-card small { display: block; color: var(--muted); font-size: 14px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { margin-bottom: 8px; }
fieldset.field > .radio-card + .field, fieldset.field > .field + .radio-card, fieldset.field > .radio-card + .radio-card { margin-top: 10px; }
fieldset.field > .field { padding: 4px 0 4px 32px; }

.pay-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-row__to { font-weight: 700; color: var(--muted); }
.pay-row select { width: auto; min-width: 140px; }
.money { display: inline-flex; align-items: center; height: 50px; border: 1px solid #8A94A6; background: var(--white); width: 170px; }
.money:focus-within { border: 2px solid var(--navy); }
.money > span:first-child { padding: 0 6px 0 14px; font-weight: 700; color: var(--navy); }
.money input { border: 0; outline: none; font: inherit; font-size: 16px; width: 100%; min-width: 0; height: 100%; background: transparent; }
.has-error .money { border: 2px solid var(--red); }
.field__label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.field__input--sm { min-height: 40px; padding: 6px 10px; font-size: 14px; width: auto; }

.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }

.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.preview-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.preview { border: 2px dashed var(--line); }
.preview .detail__actions { pointer-events: none; opacity: 0.85; }
.review-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.review-side form { margin: 0; }
.review-note { margin: 0; font-size: 14px; color: var(--muted); }
.plan { background: var(--navy); color: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 36px; text-transform: uppercase; line-height: 1; }
.plan__price { font-size: 20px; font-weight: 700; }
.plan__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list svg { flex-shrink: 0; margin-top: 3px; }

/* Applicants */
.table-wrap { background: var(--white); border: 1px solid var(--line); overflow-x: auto; }
.atable { width: 100%; border-collapse: collapse; font-size: 15px; }
.atable th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 12px 16px; border-bottom: 2px solid var(--line); background: var(--bg-soft); }
.atable td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.atable tr:last-child td { border-bottom: 0; }
.atable tr.is-new td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.atable__name { font-weight: 700; color: var(--navy); font-size: 16px; }
.atable__sub { display: block; font-size: 13px; color: var(--muted); }
.status-form { display: flex; gap: 6px; align-items: center; margin: 0; }

.apply-layout--flush { padding-top: 8px; }
.dl { margin: 0 0 22px; display: flex; flex-direction: column; }
.dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.dl dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 2px; }
.dl dd { margin: 0; }
.quote { margin: 10px 0 0; padding: 14px 18px; border-left: 6px solid var(--navy); background: var(--bg-soft); font-size: 16px; line-height: 1.6; }
.status-pick { display: flex; flex-direction: column; gap: 6px; }
.status-pick label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); cursor: pointer; font-weight: 600; }
.status-pick label:has(input:checked) { border: 2px solid var(--navy); background: var(--tint); padding: 9px 11px; color: var(--navy); }
.status-pick input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }

/* Promote */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.promo { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.promo.is-on { border-top-color: var(--red); }
.promo__name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--navy); line-height: 1.05; }
.promo__blurb { margin: 0; font-size: 15px; flex-grow: 1; }
.promo__term { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.promo.is-on .promo__term { color: var(--red); }
.promo__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.promo__foot form { margin: 0; }
.promo__price { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--navy); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.panel__title--spaced { margin: 0 0 12px; }

/* ---------- Admin ---------- */

.page-admin main { background: var(--bg-soft); }
.emp-head--admin { background: #0F1B2D; }
.emp-head--admin .emp-head__logo { background: var(--red); color: var(--white); }
.emp-tabs .badge-new { margin-left: 4px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat--red { background: var(--red); border-color: var(--red); }
.stat--red .stat__num, .stat--red .stat__label { color: var(--white); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin-bottom: 28px; }
.two-col > * { min-width: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.section-head a { font-weight: 700; font-size: 14px; }
.muted-box { margin: 0 0 20px; padding: 18px 20px; background: var(--white); border: 1px dashed var(--line); color: var(--muted); }
.idchip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; color: var(--muted); }
.ejob--admin { grid-template-columns: minmax(0, 1fr) auto; }
.ejob__actions--wide { flex-wrap: wrap; max-width: 420px; }
.remove-form { display: flex; gap: 6px; align-items: center; }
.remove-form .field__input--sm { width: 220px; }
.peek summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--navy); }
.peek p { margin: 8px 0 0; font-size: 14px; padding: 10px 12px; background: var(--bg-soft); border-left: 4px solid var(--line); }
.inline-search { display: flex; gap: 6px; align-items: center; }
.inline-search .field__input--sm { width: 240px; }
.quote--sm { font-size: 14px; padding: 10px 14px; margin-top: 4px; }

/* ---------- Company page ---------- */

.page-company main { background: var(--bg-soft); }
.co-hero { background: var(--navy); color: var(--white); }
.co-hero__inner { display: flex; gap: 22px; align-items: center; padding-top: 40px; padding-bottom: 36px; }
.co-hero__logo { width: 88px; height: 88px; flex-shrink: 0; background: var(--white); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 52px; }
.co-hero__eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.co-hero__name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; text-transform: uppercase; }
.co-hero__meta { margin: 8px 0 0; font-size: 15px; opacity: 0.95; }
.co-hero__meta a { color: var(--white); font-weight: 700; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
.section__title--md { font-size: 32px; margin-bottom: 16px; }
.job-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Static pages ---------- */

.hero__lead { margin: 0; max-width: 720px; font-size: 20px; line-height: 1.5; }
.hero__ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__note { font-size: 14px; font-weight: 600; opacity: 0.85; }
.how { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how li { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); padding: 24px; }
.how__n { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--red); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.how h3, .feature h3 { margin: 14px 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--navy); }
.how p, .feature p { margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.feature { background: var(--white); border: 1px solid var(--line); padding: 22px; border-left: 6px solid var(--red); }
.feature h3 { margin-top: 0; font-size: 22px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq .section__title { margin-bottom: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 20px 18px; }
.faq--narrow { max-width: 880px; margin-top: 48px; }

.page-band { background: var(--navy); color: var(--white); padding: 48px 0 40px; }
.page-band .hero__eyebrow { margin-bottom: 12px; }
.page-band__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; text-transform: uppercase; }
.page-band__lead { margin: 12px 0 0; max-width: 760px; font-size: 18px; opacity: 0.95; }
.page-static main { background: var(--bg-soft); }

.pricing { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; }
.plan--big { padding: 28px; gap: 14px; }
.plan--big .plan__price { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 1; }
.plan--big .plan__price small { font-family: var(--font-body); font-size: 15px; font-weight: 600; opacity: 0.85; }
.plan--big .btn--white { margin-top: 8px; }

.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 64px; align-items: start; }
.legal > .demo-note { grid-column: 1 / -1; margin: 0; }
.legal__toc { position: sticky; top: 16px; background: var(--white); border: 1px solid var(--line); padding: 16px 18px; }
.legal__toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.legal__body { background: var(--white); border: 1px solid var(--line); padding: 32px 40px; line-height: 1.7; max-width: 860px; }
.legal__body h2 { margin: 32px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--navy); scroll-margin-top: 16px; }
.legal__body h2:first-child, .legal__body > p:first-child + h2 { margin-top: 0; }
.legal__body h3 { margin: 18px 0 6px; font-size: 17px; color: var(--navy); }
.legal__body p, .legal__body ul { margin: 0 0 12px; }
.legal__body li { margin-bottom: 6px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero__title { font-size: 68px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: 20px; }
}

@media (max-width: 860px) {
  .topbar__inner { justify-content: center; }
  .topbar__inner span { display: none; }

  .site-header__inner { min-height: 64px; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__mark svg { width: 20px; height: 20px; }
  .logo__text { font-size: 24px; }
  .logo__img { height: 44px; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 4px solid var(--red);
    padding: 8px var(--gutter) 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav .btn { margin-top: 12px; min-height: 52px; }

  .hero__inner { padding-top: 48px; padding-bottom: 40px; gap: 22px; }
  .hero__title { font-size: 48px; }
  .hero__title mark { padding: 0 6px; }

  .search { flex-direction: column; border-width: 3px; }
  .search__field + .search__field { border-left: 0; border-top: 1px solid var(--line); }
  .search__btn { width: 100%; min-height: 56px; }

  .section { padding: 44px 0; }
  .section--tint, .section--tint + .section { padding-top: 44px; }
  .section__title { font-size: 34px; }
  .section__head { flex-wrap: wrap; align-items: baseline; }

  .job-grid { grid-template-columns: 1fr; gap: 12px; }
  .job-card { padding: 18px; }

  .cta__inner { flex-direction: column; align-items: flex-start; padding-top: 40px; padding-bottom: 40px; gap: 24px; }
  .cta__title { font-size: 38px; }
  .cta .btn { width: 100%; }

  .site-footer__inner { flex-direction: column; }
  .site-footer__cols { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .hero__title { font-size: 40px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cat { min-height: 60px; padding: 10px 12px; }
  .cat > svg { display: none; }
  .cat__name { font-size: 16px; overflow-wrap: break-word; hyphens: auto; }
  .cat__count { font-size: 12px; }
  .logo__text { font-size: 21px; }
}

@media (max-width: 1100px) {
  .results-layout { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
  .job-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .search-band { padding: 14px 0; }
  .search--compact .search__btn { width: 100%; min-height: 50px; }
  .filters__inner { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters__inner::-webkit-scrollbar { display: none; }
  .filters__inner > * { flex-shrink: 0; }
  .results-layout { grid-template-columns: 1fr; padding-top: 18px; }
  .detail-col { display: none; }
  .result.is-active .result__link { border: 1px solid var(--line); padding: 18px 20px; }
  .result--highlight.is-active .result__link { border-left: 6px solid var(--red); }
  .results-head__title { font-size: 28px; }
  .detail__head { padding: 20px 18px 18px; }
  .detail__body { padding: 20px 18px 24px; }
  .detail__title, .detail--page .detail__title { font-size: 36px; }
  .detail__actions { width: 100%; }
  .btn--apply { flex: 1 1 100%; }
}

@media (max-width: 1100px) {
  .apply-layout { grid-template-columns: minmax(0, 1fr); }
  .apply-side { position: static; }
}

@media (max-width: 860px) {
  .user-menu__btn { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .user-menu__panel { position: static; box-shadow: none; border: 0; padding: 0 0 8px; }
  .user-menu__email { padding-left: 0; }
  .user-menu__panel a, .user-menu__panel button { padding-left: 0; }
  .auth { padding: 28px var(--gutter) 48px; }
  .auth__card { padding: 24px 18px; }
  .auth__title { font-size: 34px; }
  .page-title { font-size: 34px; }
  .panel { padding: 20px 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .role-pick { grid-template-columns: 1fr; }
  .acc-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; }
  .acc-nav { position: static; }
  .acc-nav__user { display: none; }
  .acc-nav ul { display: flex; overflow-x: auto; padding: 0; scrollbar-width: none; }
  .acc-nav ul::-webkit-scrollbar { display: none; }
  .acc-nav li { flex-shrink: 0; }
  .acc-nav a { border-left: 0; border-bottom: 4px solid transparent; padding: 12px 14px; white-space: nowrap; }
  .acc-nav a[aria-current="page"] { border-bottom-color: var(--red); }
  .stat__num { font-size: 32px; }
  .stat { padding: 12px; }
  .app { flex-direction: column; align-items: flex-start; gap: 12px; }
  .app__status { align-items: flex-start; text-align: left; max-width: none; }
}

@media (max-width: 1100px) {
  .ejob { grid-template-columns: minmax(0, 1fr) auto; }
  .ejob__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .review-layout { grid-template-columns: minmax(0, 1fr); }
  .review-side { position: static; }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .emp-head__inner { padding-top: 14px; padding-bottom: 10px; }
  .emp-head__name { font-size: 22px; }
  .emp-tabs { width: 100%; }
  .emp-tabs .btn { margin-left: auto; }
  .emp-main { padding-top: 18px; }
  .ejob { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
  .ejob__nums { flex-direction: row; gap: 16px; min-width: 0; }
  .steps li { padding: 0 10px; font-size: 13px; gap: 6px; min-height: 48px; }
  .steps li span { width: 22px; height: 22px; font-size: 12px; }
  .money { width: calc(50% - 24px); }
  .pay-row select { width: 100%; }
  fieldset.field > .field { padding-left: 0; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .promo-grid { grid-template-columns: minmax(0, 1fr); }
  .atable thead { display: none; }
  .atable, .atable tbody, .atable tr, .atable td { display: block; width: 100%; }
  .atable tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .atable td { border: 0; padding: 6px 16px; }
  .atable td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
  .atable tr.is-new td:first-child { box-shadow: none; }
  .atable tr.is-new { box-shadow: inset 4px 0 0 var(--red); }
  .dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (max-width: 1100px) {
  .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-layout { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; }
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .ejob--admin { grid-template-columns: minmax(0, 1fr); }
  .ejob__actions--wide { max-width: none; justify-content: flex-start; }
  .remove-form { flex-wrap: wrap; width: 100%; }
  .remove-form .field__input--sm, .inline-search .field__input--sm { width: 100%; flex: 1 1 160px; }
  .inline-search { width: 100%; }
  .co-hero__inner { padding-top: 28px; padding-bottom: 24px; gap: 14px; }
  .co-hero__logo { width: 60px; height: 60px; font-size: 34px; }
  .co-hero__name { font-size: 36px; }
  .job-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .how, .features { grid-template-columns: minmax(0, 1fr); }
  .hero__lead { font-size: 17px; }
  .page-band { padding: 32px 0 28px; }
  .page-band__title { font-size: 42px; }
  .legal__body { padding: 22px 18px; }
  .legal__body h2 { font-size: 24px; }
  .emp-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .emp-tabs::-webkit-scrollbar { display: none; }
  .emp-tabs a { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Діагностика помилок бази (лише APP_DEBUG=true) */
.debug-box { max-width: 720px; margin: 0 auto 24px; padding: 12px 14px; background: #fff4f6; border: 1px solid #f1c0cb; color: #6b0f26; font-size: 13px; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Режим резюме у формі вакансії */
.resume-mode { margin: 4px 0 6px 32px; border: 0; padding: 0; }
.resume-mode .radio-card + .radio-card { margin-top: 8px; }
.radio-card--sm { padding: 10px 14px; border-width: 1px; }
.tag--quick { background: var(--green-tint); color: var(--green); }
@media (max-width: 600px) { .resume-mode { margin-left: 0; } }

/* ---------- Логотипи компаній ---------- */
.co-logo {
  width: 48px; height: 48px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--navy); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; overflow: hidden;
}
.co-logo--img { background: var(--white); padding: 4px; }
.co-logo img, .emp-head__logo img, .co-hero__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.co-logo--sm { width: 28px; height: 28px; font-size: 16px; padding: 2px; vertical-align: middle; margin-right: 6px; }
.co-logo--lg { width: 96px; height: 96px; font-size: 48px; }
.emp-head__logo--img, .co-hero__logo--img { padding: 4px; overflow: hidden; }
.job-card__head .co-logo { order: -1; }
.job-card__titles { flex: 1; }
.result__link { position: relative; }
.result__logo { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; font-size: 22px; }
.result__title, .result__company { padding-right: 56px; }
.detail__company { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.logo-field { display: flex; gap: 18px; align-items: flex-start; }
.logo-field__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* ---------- Картки: тінь, однакові плитки категорій, «Read more» ---------- */
:root {
  --shadow: 0 1px 2px rgba(10, 49, 97, 0.06), 0 4px 14px rgba(10, 49, 97, 0.06);
  --shadow-hover: 0 2px 4px rgba(10, 49, 97, 0.08), 0 12px 28px rgba(10, 49, 97, 0.12);
}
.job-card, .cat, .result__link, .panel, .side-box, .detail-col__sticky, .job-main .detail, .table-wrap { box-shadow: var(--shadow); }
.job-card, .cat, .result__link { transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
.job-card:hover, .cat:hover, .result__link:hover { box-shadow: var(--shadow-hover); }
.cat-grid { grid-auto-rows: 1fr; }
.cat { height: 100%; }
.job-card__meta { display: flex; flex-direction: column; gap: 2px; }
.job-card__more { flex-shrink: 0; }
.job-card__more:hover { text-decoration: none; }

/* Права панель пошуку: колонка на всю висоту списку, щоб панель «прилипала» при прокрутці */
.detail-col { align-self: stretch; }

/* ---------- Випадаючі списки у стилі сайту ---------- */
select.field__input {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  border-color: var(--navy); color: var(--navy); font-weight: 600; padding-right: 40px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A3161' stroke-width='2.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
select.field__input:hover { background-color: var(--tint); }
select.field__input:focus { padding-right: 39px; }
select.field__input--sm { padding-right: 34px; background-position: right 10px center; min-height: 40px; }
select.field__input option { color: var(--ink); font-weight: 500; }
select.js-autosave { min-width: 150px; }

/* ---------- Блог ---------- */
.blog-hero { background: var(--navy); color: var(--white); padding: 56px 0 48px; }
.blog-hero__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #86D9A3; }
.blog-hero__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; text-transform: uppercase; }
.blog-hero__lead { margin: 14px 0 0; max-width: 640px; font-size: 18px; opacity: 0.9; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow 0.15s ease; }
.post-card:hover { box-shadow: var(--shadow-hover); }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--navy); opacity: 0.25; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__date { font-size: 13px; color: var(--muted); font-weight: 600; }
.post-card__title { margin: 0; font-size: 21px; line-height: 1.25; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--red); text-decoration: underline; }
.post-card__excerpt { margin: 0; color: var(--muted); font-size: 15px; }
.post-card__more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--green); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 8px; padding-bottom: 56px; align-items: start; }
.article { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 48px 48px; min-width: 0; }
.article__title { margin: 6px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1.02; text-transform: uppercase; color: var(--navy); }
.article__meta { margin: 0 0 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.article__cover { width: 100%; height: auto; display: block; margin-bottom: 26px; }
.article-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 16px; }
.side-box--cta { border-top-color: var(--green); }
.mini-search { display: flex; flex-direction: column; gap: 10px; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose > * { margin: 0 0 18px; }
.prose h2 { margin: 34px 0 12px; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.1; text-transform: uppercase; color: var(--navy); }
.prose h3 { margin: 26px 0 10px; font-size: 22px; color: var(--navy); }
.prose h4 { margin: 22px 0 8px; font-size: 18px; color: var(--navy); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 18px; padding: 14px 20px; border-left: 5px solid var(--green); background: var(--green-tint); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 2px solid var(--line); margin: 30px 0; }
.prose a { color: var(--navy); font-weight: 600; }
@media (max-width: 1000px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-hero__title { font-size: 40px; }
  .article { padding: 4px 18px 28px; }
  .article__title { font-size: 34px; }
  .prose { font-size: 17px; }
}
.field__input--code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.55; }
.cover-preview { width: 100%; max-width: 420px; height: auto; display: block; border: 1px solid var(--line); }
.field__hint code { background: var(--bg-soft); padding: 1px 4px; font-size: 12px; }
/* ---------- Post for me ---------- */
.pfm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
.pfm-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 16px; }
.pfm-done { gap: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1000px) { .pfm-layout { grid-template-columns: 1fr; } .pfm-side { position: static; } }
.page-title__sub { display: block; font-family: var(--font-body); font-size: 16px; font-weight: 600; text-transform: none; color: var(--muted); margin-top: 4px; }
/* ---------- Адмінка: заявки і компанії ---------- */
.admin-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.admin-side { display: flex; flex-direction: column; gap: 20px; }
.req-list { display: flex; flex-direction: column; gap: 0; }
.req { gap: 12px; }
.req__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.req__company { margin: 0; font-size: 20px; color: var(--navy); }
.req__meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.req__links { margin: 0; display: flex; gap: 16px; font-weight: 700; font-size: 14px; }
.req__details summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 14px; }
.req__text { margin-top: 8px; padding: 12px 14px; background: var(--bg-soft); font-size: 14px; white-space: normal; }
.req__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.req__form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.req__note { min-width: 240px; }
.co-admin-head { display: flex; gap: 16px; align-items: center; }
.atable__actions { white-space: nowrap; }
.atable__actions .btn { margin: 0 4px 4px 0; }
@media (max-width: 1000px) { .admin-split { grid-template-columns: 1fr; } }

/* Post for me — промо-блоки */
.section--tight { padding-top: 0; }
.pfm-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: var(--tint); border: 1px solid var(--line, #d9e2dc); border-left: 5px solid var(--green); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.pfm-box__title { margin: 0 0 6px; font-family: var(--font-display); font-size: 24px; color: var(--navy); }
.pfm-box p { margin: 0; max-width: 640px; }
.empty__alt { margin-top: 16px; font-size: 15px; }
.empty__alt a { color: var(--green); font-weight: 700; }
@media (max-width: 700px) { .pfm-box { flex-direction: column; align-items: flex-start; } }
