/* ===== JobFound ===== */
:root {
  /* Palette: #FF1D58 hot pink, #F75990 soft pink, #7B2FF7 violet, #00DDFF cyan, #0049B7 royal blue */
  --hot: #FF1D58;
  --hot-text: #D3104A;     /* hot pink, darkened just enough to read as small text */
  --rose: #F75990;
  --violet: #7B2FF7;
  --violet-text: #5B1BC4;
  --violet-soft: #F3ECFF;
  --violet-line: #D9C6FC;
  --cyan: #00DDFF;
  --blue: #0049B7;
  --green: #FF1D58;        /* main buttons */
  --green-2: #0049B7;      /* links */
  --green-ink: #0049B7;    /* footer and dark panels */
  --mint: #FFE8F0;         /* soft pink tint for hover and selected */
  --amber: #00DDFF;
  --amber-soft: #F3ECFF;   /* violet tint */
  --ink: #0B1F4D;
  --muted: #5A6480;
  --line: #E6E8F0;
  --bg: #FAFAFD;
  --card: #FFFFFF;
  --red: #D3104A;
  --radius: 14px;
  --pink: #FF1D58;
  --pink-soft: #FFE8F0;
  --pink-line: #FBC3D6;
  --sky: #0049B7;
  --sage: #F75990;
  --shadow: 0 1px 2px rgba(11,31,77,.05), 0 6px 20px -12px rgba(11,31,77,.18);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bricolage Grotesque', var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; }
a { color: var(--green-2); text-underline-offset: 3px; }
a:hover { color: var(--hot-text); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.small { font-size: .88rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.page-pad { padding-top: 28px; padding-bottom: 56px; }
.lead { font-size: 1.15rem; color: #2D3B52; max-width: 640px; }
.lead-sm { color: var(--muted); max-width: 720px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.logo b { color: var(--sky); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-light { color: #fff; } .logo-light b { color: var(--cyan); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 12px; border-radius: 10px; font-size: .97rem; }
.nav a:hover { background: var(--pink-soft); color: var(--hot-text); }
.nav a.on { color: var(--hot-text); background: none; box-shadow: inset 0 -3px 0 var(--hot); border-radius: 0; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span:not(.sr) { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav-open .nav { display: flex; }
  .nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; border-radius: 12px; padding: 11px 18px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .08s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #E8104B; color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: #C7D6F0; }
.btn-ghost:hover { border-color: var(--hot); color: var(--hot-text); background: var(--pink-soft); }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }
.btn-sm { padding: 7px 12px; font-size: .9rem; }
.linkish { background: none; border: 0; color: var(--green-2); font: inherit; font-weight: 600; cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.linkish.danger { color: var(--red); font-size: .88rem; }

/* ---------- Hero ---------- */
.hero { background: var(--bg); padding: 22px 0 0; }
.hero-inner { background: linear-gradient(125deg, #FFDCE8 0%, #FFEEF4 45%, #FFFFFF 100%); border: 1px solid var(--pink-line); border-radius: 18px; padding: clamp(26px, 5vw, 48px) clamp(18px, 4vw, 42px); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .03em; color: var(--violet-text); background: var(--violet-soft); padding: 5px 13px; border-radius: 99px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); max-width: 900px; color: var(--ink); text-wrap: balance; }
.hl { color: var(--blue); background: linear-gradient(transparent 64%, var(--cyan) 64%, var(--cyan) 90%, transparent 90%); padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .lead { color: #4A5368; }
.search { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; max-width: 900px; margin-top: 24px; }
.search input, .search select { font: inherit; border: 1px solid var(--line); padding: 14px 16px; border-radius: 10px; background: #fff; color: var(--ink); min-width: 0; }
.search input:focus, .search select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,29,88,.16); }
.search .btn { padding: 14px 30px; border-radius: 999px; font-size: 1.05rem; }
@media (max-width: 680px) { .search { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip { color: #4A5368; background: #F0F1F5; border: 1px solid transparent; padding: 7px 14px; border-radius: 99px; text-decoration: none; font-size: .95rem; font-weight: 500; transition: background .15s, color .15s; }
.chip:hover, .chip:focus-visible, .chip.on { background: var(--pink-soft); color: var(--hot-text); border-color: var(--pink-line); }

/* ---------- Tool strip ---------- */
.tool-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 34px; position: relative; }
.tool-strip.stack { grid-template-columns: 1fr; margin: 20px 0; }
.tool-tile { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.tool-tile:hover { border-color: var(--pink-line); background: #FFF8FB; transform: translateY(-2px); color: var(--ink); }
.tool-tile strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.tool-tile small { color: var(--muted); font-size: .93rem; }
.tool-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--pink-soft); display: grid; place-items: center; }
.tool-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--hot); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 680px) { .tool-strip { grid-template-columns: 1fr; } }

/* ---------- Layout ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sec-head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.side { display: grid; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel-title { font-size: 1.05rem; margin-bottom: 10px; }
.count-list { list-style: none; padding: 0; margin: 0; }
.count-list li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #EDF1F6; }
.count-list li:first-child { border-top: 0; }
.count-list a { text-decoration: none; color: var(--ink); font-weight: 500; }
.count-list a:hover { color: var(--hot-text); }
.count-list span { color: var(--muted); font-size: .9rem; background: #EEF2F8; padding: 0 9px; border-radius: 99px; }
.cta-panel { display: grid; gap: 8px; }

/* ---------- Job cards ---------- */
.job-list { display: grid; gap: 12px; }
.job-card { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; position: relative; transition: border-color .15s, box-shadow .15s; }
.job-card:hover { border-color: var(--pink-line); background: #FFF8FB; box-shadow: var(--shadow); }
.job-card.featured { border-left: 4px solid var(--sage); }
.job-card h3 { font-size: 1.12rem; margin: 0 0 2px; }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; }
.job-card h3 a:hover { color: var(--hot-text); }
.job-body { min-width: 0; }
.job-co { color: var(--muted); margin: 0 0 8px; font-weight: 500; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.tag { font-size: .8rem; font-weight: 600; background: #EDF2F8; color: #35445C; padding: 3px 9px; border-radius: 99px; }
.tag-money { background: #DDF9FF; color: var(--blue); }
.tag-hot { background: var(--violet-soft); color: var(--violet-text); }
.job-ex { color: #475468; font-size: .95rem; margin: 0 0 6px; }
.job-meta { font-size: .86rem; color: var(--muted); margin: 0; }
.urgent { color: var(--red); font-weight: 700; }
.job-logo { flex: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; }
.job-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.job-logo span { font-family: var(--display); font-weight: 800; color: var(--hot-text); background: var(--mint); width: 100%; height: 100%; display: grid; place-items: center; }
.job-logo.big { width: 64px; height: 64px; }
.empty { background: #fff; border: 1px dashed #C9D4E4; border-radius: var(--radius); padding: 36px 20px; text-align: center; }
.result-count { color: var(--muted); font-weight: 600; margin: 14px 0 10px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 26px 0 0; }
.pager a { font-weight: 700; text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 10px; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 10px; border-radius: var(--radius); margin-top: 18px; }
.filters input, .filters select { font: inherit; border: 1px solid var(--line); background: #FAFBFD; padding: 10px 12px; border-radius: 10px; flex: 1 1 160px; min-width: 0; }
.filters input { flex: 2 1 220px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

/* ---------- Job detail ---------- */
.job-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 32px); }
.job-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.job-head h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 4px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 24px; }
.facts div { background: #FAFBFD; padding: 12px 14px; }
.facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.apply-box { background: var(--mint); border-radius: 12px; padding: 20px; margin: 26px 0 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.apply-box p { flex-basis: 100%; margin: 4px 0 0; }
.prep { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.notice { background: var(--violet-soft); border: 1px solid var(--violet-line); border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-size: .95rem; }
.notice-warn { background: #FFE8F0; border-color: #FBC3D6; }
.notice-ok { background: #DDF9FF; border-color: #93ECFC; }
.mini-list { display: grid; }
.mini-list a { display: block; padding: 10px 0; border-top: 1px solid #EDF1F6; text-decoration: none; }
.mini-list a:first-child { border-top: 0; }
.mini-list strong { display: block; color: var(--ink); line-height: 1.3; }
.mini-list span { font-size: .85rem; color: var(--muted); }

/* ---------- Guides ---------- */
.guides-band { margin: 46px 0 10px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--pink-line); background: #FFF8FB; transform: translateY(-2px); color: var(--ink); }
.guide-card h2, .guide-card h3 { font-size: 1.15rem; }
.guide-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.guide-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--hot-text); display: block; margin-bottom: 8px; }
.read { font-weight: 700; color: var(--blue); }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.article .prose { font-size: 1.05rem; }
.byline { color: var(--muted); font-size: .9rem; }
.how { margin: 46px 0 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet-soft); color: var(--ink); font-family: var(--display); font-weight: 800; margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.steps span { color: var(--muted); }
.seo-text { margin-top: 44px; max-width: 780px; color: #344259; }
.seo-text h2 { font-size: 1.25rem; } .seo-text h3 { font-size: 1.05rem; margin-top: 1.2em; }

/* ---------- Forms / tools ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 18px; }
@media (max-width: 1000px) { .builder { grid-template-columns: 1fr; } }
.builder-form fieldset, .z83-form fieldset { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 16px 18px 18px; margin: 0 0 14px; }
legend { font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 0 6px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400; font-size: 1rem; padding: 10px 12px; border: 1px solid #D3DCE8; border-radius: 10px; background: #FCFCFE; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(0,73,183,.15); }
input[type=radio], input[type=checkbox] { display: inline; width: auto; margin: 0 6px 0 0; accent-color: var(--green); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.grid2 .span2 { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.hint { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }
.check { display: flex; align-items: center; font-weight: 500; }
.repeat-item { border: 1px dashed #CED8E6; border-radius: 12px; padding: 12px 12px 6px; margin-bottom: 10px; background: #FAFBFD; }
.tpl-pick { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 14px; font-weight: 700; }
.tpl-pick label { display: inline-flex; align-items: center; margin: 0; font-weight: 600; }
.builder-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 8px; }
.yn { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: 10px 0; border-top: 1px solid #EDF1F6; font-size: .95rem; }
.yn span { flex: 1 1 280px; }
.yn label { display: inline-flex; align-items: center; margin: 0; font-weight: 600; }
.z83-form { max-width: 820px; margin-top: 18px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.hp { position: absolute; left: -5000px; }

/* ---------- CV preview ---------- */
.preview-wrap { position: sticky; top: 80px; }
.preview-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.cv-paper { background: #fff; color: #1b1b1b; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 34px 36px; aspect-ratio: auto; min-height: 520px; font-family: 'Figtree', Arial, sans-serif; font-size: 13.5px; line-height: 1.5; border-radius: 6px; }
.cv-paper h1 { font-size: 26px; margin: 0; letter-spacing: -.01em; }
.cv-headline { margin: 2px 0 0; font-weight: 600; color: #444; }
.cv-contact { margin: 8px 0 0; color: #444; font-size: 12.5px; }
.cv-contact .dot { margin: 0 6px; color: #aaa; }
.cv-head { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid #1b1b1b; }
.cv-sec { margin-bottom: 14px; break-inside: avoid-page; }
.cv-sec h2 { font-family: 'Figtree', Arial, sans-serif; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 6px; color: #1b1b1b; font-weight: 800; }
.cv-item { margin-bottom: 10px; break-inside: avoid; }
.cv-row { display: flex; justify-content: space-between; gap: 10px; }
.cv-row span { color: #555; white-space: nowrap; font-size: 12.5px; }
.cv-sub { color: #555; font-style: italic; }
.cv-paper ul { margin: 4px 0 0; padding-left: 18px; }
.cv-paper p { margin: 4px 0; }
.cv-skills { columns: 2; }
.cv-plain { list-style: none; padding: 0 !important; }
.cv-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cv-placeholder { color: #999; text-align: center; padding: 60px 0; }
/* modern */
.cv-paper.modern .cv-head { background: var(--green-ink); color: #fff; margin: -34px -36px 18px; padding: 28px 36px; border: 0; border-radius: 6px 6px 0 0; }
.cv-paper.modern .cv-headline, .cv-paper.modern .cv-contact { color: #DCE6FA; }
.cv-paper.modern .cv-sec h2 { color: var(--hot-text); border-bottom: 1px solid #FBC3D6; padding-bottom: 3px; }
/* compact */
.cv-paper.compact { font-size: 12.5px; padding: 28px 30px; }
.cv-paper.compact .cv-head { text-align: center; border-bottom-width: 1px; }
.cv-paper.compact .cv-sec h2 { text-align: center; letter-spacing: .14em; }
.cv-paper.compact .cv-skills { columns: 3; }

/* ---------- Ads ---------- */
.ad-slot { margin: 6px 0; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #98A3B3; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #DCE6FA; margin-top: 60px; padding: 44px 0 20px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.foot-grid a:not(.logo) { display: block; color: #DCE6FA; text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: var(--cyan); }
.warn-note { background: rgba(255,255,255,.1); border-left: 3px solid var(--hot); padding: 10px 12px; border-radius: 6px; color: #FFE8F0; }
.foot-bottom { color: #B9CBF2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 16px; font-size: .85rem; color: #9DB0CB; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Print: CV and Z83 ---------- */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer, .no-print, .ad-slot, .skip { display: none !important; }
  .wrap, .page-pad { padding: 0 !important; width: auto; }
  .builder { display: block; margin: 0; }
  body.printing-cv .preview-wrap { position: static; }
  body.printing-cv .cv-paper { border: 0; box-shadow: none; padding: 0; min-height: 0; font-size: 11pt; }
  body.printing-cv .cv-paper.modern .cv-head { margin: 0 0 14px; border-radius: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.printing-z83 .builder, body.printing-z83 .preview-wrap { display: none; }
  body.printing-z83 .print-only { display: block; }
}
.z83-doc { font-family: Arial, sans-serif; font-size: 10pt; color: #000; }
.z83-doc .z83-title { text-align: center; border: 2px solid #000; padding: 8px; margin-bottom: 10px; }
.z83-doc .z83-title strong { float: left; font-size: 14pt; }
.z83-doc h1 { font-family: Arial, sans-serif; font-size: 14pt; margin: 0; }
.z83-doc .z83-title p { margin: 0; font-size: 9pt; }
.z83-doc h2 { font-family: Arial, sans-serif; font-size: 10.5pt; background: #e6e6e6; padding: 4px 6px; margin: 10px 0 0; border: 1px solid #000; border-bottom: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.z83-doc table { width: 100%; border-collapse: collapse; }
.z83-doc th, .z83-doc td { border: 1px solid #000; padding: 4px 6px; text-align: left; vertical-align: top; }
.z83-doc th { width: 42%; font-weight: normal; background: #fafafa; }
.z83-doc table.grid th { width: auto; font-weight: bold; font-size: 9pt; }
.z83-doc table.grid td { height: 22px; }
.z83-doc .box { display: inline-block; width: 13px; height: 13px; border: 1px solid #000; text-align: center; line-height: 12px; font-size: 10px; }
.z83-doc .decl { border: 1px solid #000; padding: 6px; margin: 0; font-size: 9pt; }
.z83-doc table.sign th { width: 15%; }
.z83-doc .sigline { height: 34px; }

/* job sections on home */
.home-sec { margin-top: 38px; }
.home-sec .sec-head p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.home-sec .sec-head > div { min-width: 0; }
.sec-empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); }
.logo-mark { border-radius: 9px; }
@media (max-width: 680px) { .search { grid-template-columns: 1fr; } .search .btn { width: 100%; } }
.hero-inner.wrap { width: min(1128px, calc(100% - 32px)); }

/* ===== Navigation, scrolling and all screen sizes ===== */
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }
body { -webkit-tap-highlight-color: rgba(255,29,88,.12); }
main:focus { outline: none; }
h1, h2, h3, .job-card h3, .job-co, .mini-list strong, .prose, .facts dd { overflow-wrap: anywhere; }
[id] { scroll-margin-top: 84px; }
.site-header { top: 0; }
.to-top[hidden] { display: none; }

/* Back button */
.backbar { display: flex; align-items: center; gap: 10px; padding-top: 16px; }
.backbar + .page-pad, .backbar + .hero { padding-top: 12px; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 1px 2px rgba(11,31,77,.06); transition: background .15s, border-color .15s, color .15s, transform .1s; }
.back-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.back-btn:hover, .back-btn:focus-visible { background: var(--pink-soft); border-color: var(--pink-line); color: var(--hot-text); }
.back-btn:active { transform: translateX(-2px); }
.back-to { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.back-to::before { content: "to "; }

/* Back to top */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 22px -8px rgba(255,29,88,.55); transition: transform .15s, background .15s; }
.to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: #E8104B; transform: translateY(-2px); }
.copy-fallback { display: inline-block; width: auto; max-width: 100%; margin: 0 0 0 8px; padding: 6px 8px; font-size: .85rem; }

/* Touch-friendly targets */
.btn, .chip, .nav a, .pager a, .filters input, .filters select, .search input, .search select { min-height: 44px; }
.chip { display: inline-flex; align-items: center; }
.count-list a { display: inline-block; padding: 4px 0; }
.foot-grid a:not(.logo) { padding: 6px 0; }

/* Tablet (portrait and landscape) */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
  .builder { gap: 18px; }
}
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .preview-wrap { position: static; }
}
/* Large phones and small tablets */
@media (max-width: 680px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 16px; }
  .page-pad { padding-top: 18px; padding-bottom: 40px; }
  .hero-inner { border-radius: 14px; }
  .chips { gap: 6px; }
  .chip { font-size: .9rem; padding: 6px 12px; }
  .job-card { padding: 14px; gap: 12px; }
  .job-logo { width: 42px; height: 42px; }
  .filters { flex-direction: column; }
  .filters input, .filters select, .filters .btn { flex: none; width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .apply-box .btn { width: 100%; }
  .cv-paper { padding: 22px 18px; font-size: 12.5px; }
  .cv-paper.modern .cv-head { margin: -22px -18px 16px; padding: 22px 18px; }
  .cv-refs, .cv-skills { grid-template-columns: 1fr; columns: 1; }
  .yn label { min-height: 40px; }
  .foot-bottom { flex-direction: column; }
}
/* Small phones (320 to 400px) */
@media (max-width: 400px) {
  .logo { font-size: 1.25rem; }
  .logo-mark { width: 30px; height: 30px; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tpl-pick { gap: 10px; }
  .back-to { display: none; }
}
/* Wide screens */
@media (min-width: 1600px) { body { font-size: 17.5px; } }

/* Palette accents */
.site-header { border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--hot), var(--rose) 30%, var(--violet) 50%, var(--cyan) 70%, var(--blue)) 1; }
.tool-tile:nth-child(2) .tool-ico { background: #DDF9FF; }
.tool-tile:nth-child(2) .tool-ico svg { stroke: var(--blue); }
.job-card.featured { border-left: 4px solid var(--rose); }
.urgent { color: var(--hot-text); }

/* =====================================================================
   Traditional job-site look: flat banner, square corners, one list
   ===================================================================== */
:root { --display: var(--font); --radius: 6px; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; letter-spacing: 0; }
h1 { font-weight: 800; }
.logo { font-family: var(--font); font-weight: 800; letter-spacing: -.01em; }
.logo-mark, .logo-mark rect { border-radius: 6px; }

.site-header { border-bottom: 1px solid var(--line); border-image: none; box-shadow: 0 1px 0 rgba(11,31,77,.04); }
.site-header::before { content: ""; display: block; height: 4px; background: var(--hot); }
.nav a { border-radius: 4px; }

/* Banner */
.hero { background: var(--pink-soft); border-bottom: 1px solid var(--pink-line); padding: 0; }
.hero-inner, .hero-inner.wrap { background: none; border: 0; border-radius: 0; width: min(1160px, 100%); padding: 38px 16px 34px; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); max-width: 820px; margin-bottom: .35em; }
.hl { color: var(--blue); background: none; padding: 0; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: .14em; text-underline-offset: .14em; }
.hero .lead { font-size: 1.08rem; margin-bottom: 0; }
.search { margin-top: 20px; gap: 8px; background: #fff; border: 1px solid var(--pink-line); padding: 8px; border-radius: var(--radius); max-width: 900px; }
.search input, .search select { border-radius: 4px; background: #F7F8FB; border-color: transparent; }
.search .btn { border-radius: 4px; padding: 12px 26px; }

/* Buttons and small parts */
.btn { border-radius: 4px; }
.tag { border-radius: 3px; }
.count-list span { border-radius: 3px; }
.back-btn { border-radius: 4px; }
.to-top { border-radius: 6px; }

/* Tool tiles and panels */
.tool-strip { margin: 24px 0 30px; }
.tool-tile { border-radius: var(--radius); box-shadow: none; }
.tool-tile:hover { transform: none; }
.panel { border-radius: var(--radius); }
.panel-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Job list: one bordered list with rows, like a classic job board */
.job-list { gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job-list > .job-card, .job-list > .job-item > .job-card { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.job-list > .job-card:last-child, .job-list > .job-item:last-of-type > .job-card { border-bottom: 0; }
.job-list .job-card:hover { background: #FFF6F9; box-shadow: none; }
.job-card.featured { border-left: 4px solid var(--rose); }
.job-item[hidden] { display: none; }
.job-logo { border-radius: 4px; }
.list-more { text-align: center; margin: 18px 0 0; }
.filter-empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 10px 0 0; color: var(--muted); }

/* Home filter */
.job-filter { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.job-filter-label { font-weight: 700; font-size: .9rem; color: var(--muted); margin-right: 4px; }
.filter-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 4px; text-decoration: none; font-size: .92rem; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.filter-btn b { font-weight: 700; font-size: .8rem; color: var(--muted); }
.filter-btn:hover { background: var(--pink-soft); border-color: var(--pink-line); color: var(--hot-text); }
.filter-btn.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-btn.on b { color: #CFE0FF; }
@media (max-width: 680px) {
  .job-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .filter-btn { flex: none; }
  .job-filter-label { flex: none; }
}

/* Old home sections no longer used */
.chips, .eyebrow, .home-sec, .guides-band { display: none; }

/* How JobFound works: bright palette blocks */
.how { margin-top: 44px; }
.steps { gap: 0; border-radius: var(--radius); overflow: hidden; }
.steps li { border: 0; border-radius: 0; padding: 24px 22px; }
.steps li::before { width: 36px; height: 36px; border-radius: 4px; font-family: var(--font); }
.steps strong { font-family: var(--font); font-size: 1.2rem; }
.steps li.step-pink { background: var(--hot); color: #fff; }
.steps li.step-pink::before { background: #fff !important; color: var(--hot-text) !important; }
.steps li.step-pink span { color: #fff; font-weight: 500; }
.steps li.step-violet { background: var(--violet); color: #fff; }
.steps li.step-violet::before { background: #fff !important; color: var(--violet-text) !important; }
.steps li.step-violet span { color: #fff; font-weight: 500; }
.steps li.step-cyan { background: var(--cyan); color: var(--ink); }
.steps li.step-cyan::before { background: var(--ink) !important; color: #fff !important; }
.steps li.step-cyan span { color: #0B2B45; }

/* Guides page and other cards */
.guide-card { border-radius: var(--radius); }
.guide-card:hover { transform: none; }
.job-detail, .article, .contact-form, .builder-form fieldset, .z83-form fieldset, .tpl-pick, .filters, .empty, .facts { border-radius: var(--radius); }

/* Share buttons with icons */
.share { display: block; padding: 16px 0; border-top: 1px solid var(--line); }
.share-title { margin: 0 0 10px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 4px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; color: #fff; transition: filter .15s, transform .1s; }
.share-btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share-btn:hover { filter: brightness(1.08); color: #fff; }
.share-btn:active { transform: translateY(1px); }
.s-wa { background: #1B9E4B; }
.s-fb { background: var(--blue); }
.s-tg { background: #1C8BCB; }
.s-mail { background: var(--violet); }
.s-copy { background: #fff; color: var(--ink); border-color: var(--line); }
.s-copy:hover { color: var(--hot-text); background: var(--pink-soft); border-color: var(--pink-line); filter: none; }
.s-copy.copied { background: #DDF9FF; border-color: #93ECFC; color: var(--blue); }
.s-more { background: var(--hot); }
.share-btn[hidden] { display: none; }
@media (max-width: 520px) {
  .share-row { display: grid; grid-template-columns: 1fr 1fr; }
  .share-btn { justify-content: center; }
}

/* ===== Interview prep ===== */
.tool-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-strip.stack { grid-template-columns: 1fr; }
.tool-tile:nth-child(3) .tool-ico { background: var(--violet-soft); }
.tool-tile:nth-child(3) .tool-ico svg { stroke: var(--violet); }
@media (max-width: 900px) { .tool-strip { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1060px) { .nav a { padding: 8px 8px; font-size: .92rem; } }

.ip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 20px 0 8px; }
.ip-card { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--violet); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background .15s, border-color .15s; }
.ip-card:nth-child(4n+2) { border-left-color: var(--hot); }
.ip-card:nth-child(4n+3) { border-left-color: var(--cyan); }
.ip-card:nth-child(4n+4) { border-left-color: var(--blue); }
.ip-card strong { font-size: 1.05rem; }
.ip-card span { color: var(--muted); font-size: .88rem; }
.ip-card:hover { background: var(--pink-soft); border-color: var(--pink-line); color: var(--ink); }

.ip-switch { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.ip-switch .filter-btn { flex: none; }
.ip-section { margin-top: 30px; }
.ip-section > h2, .ip-expect h2, .ip-tips h2, .ip-box h2 { font-size: 1.25rem; }
.ip-expect { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-top: 18px; }
.ip-expect ul, .ip-box ul, .ip-tips ul { margin: 0; padding-left: 1.2em; }
.ip-expect li, .ip-box li, .ip-tips li { margin-bottom: .35em; }

.iq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.iq[open] { border-color: var(--pink-line); box-shadow: 0 2px 10px -6px rgba(11,31,77,.18); }
.iq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; min-height: 52px; }
.iq summary::-webkit-details-marker { display: none; }
.iq-q { font-weight: 700; font-size: 1.02rem; }
.iq summary:hover .iq-q { color: var(--hot-text); }
.iq-toggle { flex: none; width: 26px; height: 26px; border-radius: 4px; background: var(--pink-soft); position: relative; }
.iq-toggle::before, .iq-toggle::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--hot); transition: transform .2s; }
.iq-toggle::after { transform: rotate(90deg); }
.iq[open] .iq-toggle::after { transform: rotate(0); }
.iq-body { padding: 0 16px 16px; display: grid; gap: 10px; }
.iq-part { padding: 10px 14px; border-radius: 4px; }
.iq-part h4 { margin: 0 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.iq-part p { margin: 0; }
.iq-why { background: #F4F6FB; } .iq-why h4 { color: var(--muted); }
.iq-how { background: #DDF9FF; } .iq-how h4 { color: var(--blue); }
.iq-eg { background: var(--violet-soft); } .iq-eg h4 { color: var(--violet-text); }
.iq-eg p { font-style: italic; }
.iq-practice { border-top: 1px dashed var(--line); padding-top: 12px; }
.iq-practice label { margin-bottom: 4px; }
.iq-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.iq-count { color: var(--muted); font-size: .88rem; }
.iq-feedback { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.iq-feedback li { padding: 8px 12px 8px 34px; border-radius: 4px; position: relative; font-size: .95rem; }
.iq-feedback li::before { position: absolute; left: 12px; top: 8px; font-weight: 800; }
.fb-good { background: #DDF9FF; color: #003A8F; } .fb-good::before { content: "✓"; color: var(--blue); }
.fb-fix { background: var(--pink-soft); color: #8E0A31; } .fb-fix::before { content: "!"; color: var(--hot); }

.ip-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.ip-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.ip-bring { border-top: 4px solid var(--cyan); }
.ip-ask { border-top: 4px solid var(--violet); }
@media (max-width: 680px) { .ip-two { grid-template-columns: 1fr; } }
.ip-tips { margin-top: 26px; background: var(--blue); color: #fff; border-radius: var(--radius); padding: 18px 22px; }
.ip-tips h2 { color: #fff; }
.ip-tips li::marker { color: var(--cyan); }

/* On job pages and job-type pages */
.ip-teaser { margin: 22px 0 6px; padding: 16px 18px; border: 1px solid var(--violet-line); background: var(--violet-soft); border-radius: var(--radius); }
.ip-teaser h2 { font-size: 1.15rem; margin: 0 0 4px; color: var(--violet-text); }
.ip-teaser p { margin: 0 0 6px; }
.ip-teaser ul { margin: 0 0 12px; padding-left: 1.2em; }
.ip-teaser li { margin-bottom: 4px; }
.ip-banner { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 14px 16px; background: var(--violet); color: #fff; border-radius: var(--radius); text-decoration: none; }
.ip-banner:hover { color: #fff; filter: brightness(1.08); }
.ip-banner-ico { flex: none; width: 40px; height: 40px; border-radius: 4px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.ip-banner-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ip-banner-go { margin-left: auto; font-weight: 800; white-space: nowrap; }
@media (max-width: 520px) { .ip-banner-go { display: none; } }

/* =====================================================================
   Mobile-first sizing pass: consistent icon sizes, touch targets, forms
   ===================================================================== */
:root { --icon-sm: 18px; --icon-md: 22px; --tile-ico: 44px; --logo-box: 44px; }

/* Header */
.header-row { height: 60px; }
.logo { font-size: 1.35rem; gap: 8px; }
.logo-mark { width: 32px; height: 32px; }
.menu-btn { width: 44px; height: 44px; padding: 11px; display: none; margin-right: -8px; }
.menu-btn span:not(.sr) { width: 22px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { top: 64px; }
}

/* Job cards: no description in lists, title + company + tags + date */
.job-card { align-items: flex-start; padding: 14px 16px; }
.job-card h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 3px; }
.job-co { margin-bottom: 8px; font-size: .95rem; }
.job-tags { margin-bottom: 6px; }
.job-logo { width: var(--logo-box); height: var(--logo-box); }
.job-logo span { font-size: .95rem; }
.job-logo.big { width: 60px; height: 60px; }
.job-logo.big span { font-size: 1.2rem; }

/* Tool tiles */
.tool-ico { width: var(--tile-ico); height: var(--tile-ico); border-radius: 6px; }
.tool-ico svg { width: var(--icon-md); height: var(--icon-md); stroke-width: 2; }
.ip-banner-ico { width: 38px; height: 38px; }
.ip-banner-ico svg { width: var(--icon-md); height: var(--icon-md); }

/* Small icons */
.back-btn svg { width: var(--icon-sm); height: var(--icon-sm); }
.share-btn svg { width: var(--icon-sm); height: var(--icon-sm); }
.to-top { width: 44px; height: 44px; }
.to-top svg { width: 22px; height: 22px; }
.iq-toggle { width: 24px; height: 24px; }
.iq-toggle::before, .iq-toggle::after { left: 6px; right: 6px; top: 11px; }

/* Jobs search form: one tidy row on desktop, stacked on phones */
.filters { display: flex; flex-wrap: nowrap; gap: 8px; align-items: stretch; padding: 10px; }
.filters input, .filters select, .filters .btn { min-width: 0; margin: 0; border-radius: 4px; min-height: 46px; }
.filters input[type=search] { flex: 2 1 0; }
.filters select { flex: 1 1 0; }
.filters .btn { flex: none; padding: 0 22px; }
@media (max-width: 1024px) {
  .filters { flex-wrap: wrap; }
  .filters input[type=search] { flex: 1 1 100%; }
  .filters select { flex: 1 1 30%; }
  .filters .btn { flex: 1 1 auto; }
}
@media (max-width: 680px) {
  .filters { display: grid; grid-template-columns: 1fr; flex-direction: initial; }
  .filters input, .filters select, .filters .btn { width: 100%; }
}
.result-count { margin: 16px 0 8px; font-size: .95rem; }

/* Phones */
@media (max-width: 680px) {
  :root { --logo-box: 40px; --tile-ico: 40px; --icon-md: 20px; }
  body { font-size: 16px; }
  h1 { font-size: 1.65rem; }
  .page-pad h1 { font-size: 1.6rem; }
  .lead-sm { font-size: .97rem; }
  .header-row { height: 56px; }
  .logo { font-size: 1.25rem; }
  .logo-mark { width: 30px; height: 30px; }
  .nav { top: 60px; }
  .nav a { padding: 12px 10px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .nav a.on { box-shadow: inset 3px 0 0 var(--hot); padding-left: 14px; }
  .hero-inner, .hero-inner.wrap { padding: 24px 16px 22px; }
  .hero h1 { font-size: 1.75rem; }
  .hero .lead { font-size: .98rem; }
  .search { padding: 6px; }
  .tool-strip { gap: 8px; margin: 16px 0 22px; }
  .tool-tile { padding: 12px 14px; gap: 12px; }
  .tool-tile strong { font-size: 1.02rem; }
  .tool-tile small { font-size: .88rem; }
  .job-card { padding: 12px; gap: 12px; }
  .job-card h3 { font-size: 1.02rem; }
  .job-co { font-size: .9rem; margin-bottom: 6px; }
  .tag { font-size: .74rem; padding: 2px 7px; }
  .job-meta { font-size: .82rem; }
  .job-head { gap: 12px; align-items: flex-start; }
  .job-logo.big { width: 52px; height: 52px; }
  .job-head h1 { font-size: 1.4rem; }
  .backbar { padding-top: 12px; }
  .back-btn { min-height: 40px; padding: 0 14px 0 8px; font-size: .95rem; }
  .sec-head h2 { font-size: 1.2rem; }
  .sec-head a { font-size: .92rem; }
  .panel { padding: 14px; }
  .share-btn { min-height: 44px; font-size: .9rem; padding: 8px 10px; }
  .iq summary { padding: 12px 14px; }
  .iq-q { font-size: .98rem; }
  .ip-banner { padding: 12px; }
  .to-top { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}
/* Very small phones */
@media (max-width: 360px) {
  :root { --logo-box: 36px; }
  .job-card { gap: 10px; }
  .hero h1 { font-size: 1.55rem; }
}
@media (min-width: 331px) and (max-width: 680px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 10px 12px; }
  .facts dt { font-size: .7rem; }
  .facts dd { font-size: .92rem; }
  .job-detail { padding: 16px; }
}
