/* Hasama public sites (hasama.co.il, work., hire.): Hebrew, right to left, mobile first.
   Built after Israel's job boards: a search bar up top, job cards with place, scope and date, and a clear orange
   "צור קשר" on every job that opens WhatsApp, with the phone number beside it. Font: Heebo (SIL OFL, static/fonts). */

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/heebo-hebrew.woff2") format("woff2-variations"), url("fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/heebo-latin.woff2") format("woff2-variations"), url("fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #0f2b5b;
  --brand: #1f6fd8;
  --brand-hover: #185cb6;
  --brand-wash: #eaf2fd;
  --brand-line: #c7d9f3;
  --cta: #f2711c;
  --cta-hover: #d9600f;
  --cta-wash: #fff2e8;
  --good: #16a34a;
  --good-ink: #11753a;
  --good-wash: #e7f6ec;
  --bad: #d03b3b;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --line: #e1e6ee;
  --field: #cdd6e3;
  --text: #172235;
  --text-2: #43506a;
  --muted: #69768c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 43, 91, 0.05), 0 4px 14px rgba(15, 43, 91, 0.05);
  --shadow-lg: 0 12px 32px rgba(15, 43, 91, 0.14);
  --band: linear-gradient(130deg, #0c2550 0%, #153a78 55%, #1d5cc0 100%);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  /* names the personal area and the chat use */
  --accent: var(--brand);
  --accent-hover: var(--brand-hover);
  --wash: var(--brand-wash);
  --border: var(--line);
  --earn: #b45309;
  --earn-wash: #fff4e6;
  --work: var(--brand);
  --work-solid: var(--brand);
  --work-wash: var(--brand-wash);
  --hire: #0b7a5c;
  --hire-solid: #0b7a5c;
  --hire-wash: #e6f5ef;
  --earn-solid: #b45309;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #e8eefb;
    --brand: #5b9dff;
    --brand-hover: #7cb2ff;
    --brand-wash: rgba(91, 157, 255, 0.14);
    --brand-line: rgba(91, 157, 255, 0.4);
    --cta: #ff8a3d;
    --cta-hover: #ff9d5c;
    --cta-wash: rgba(255, 138, 61, 0.14);
    --good-ink: #6fdc95;
    --good-wash: rgba(22, 163, 74, 0.18);
    --bg: #0b1220;
    --surface: #121b2d;
    --surface-2: #172238;
    --line: #253149;
    --field: #34425f;
    --text: #e6ebf5;
    --text-2: #b6c0d4;
    --muted: #8d99b0;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45);
    --earn: #f0a35a;
    --earn-wash: rgba(240, 163, 90, 0.14);
    --hire: #3fc79e;
    --hire-wash: rgba(63, 199, 158, 0.14);
  }
}

/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
a { color: var(--brand); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: 30px; margin: 10px 0 12px; }
h2 { font-size: 21px; margin: 24px 0 10px; }
h3 { font-size: 17px; margin: 18px 0 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { opacity: 0; pointer-events: none; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--brand); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 10px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.site-main { min-height: 60vh; padding-bottom: 56px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(15, 43, 91, 0.04); }
.head-row { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand-logo { display: block; width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.brand-tag { color: var(--muted); font-size: 13.5px; padding-inline-start: 10px; border-inline-start: 1px solid var(--line); white-space: nowrap; }
.main-nav { display: flex; gap: 2px; }
.main-nav a { position: relative; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.main-nav a.on { color: var(--brand); }
.main-nav a.on::after { content: ""; position: absolute; inset-inline: 12px; bottom: -13px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.head-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.head-me { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.head-me .ic { width: 22px; height: 22px; }
.head-me:hover, .head-me.on { background: var(--brand-wash); color: var(--brand); }
.head-cta { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .ic { width: 26px; height: 26px; }
.menu .close-ic, .menu[open] .open-ic { display: none; }
.menu[open] .close-ic { display: block; }
.menu-panel { position: absolute; inset-inline-end: 0; top: 52px; width: min(280px, calc(100vw - 32px)); display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.menu-panel a:hover { background: var(--surface-2); color: var(--brand); }

/* ---------------------------------------------------------------- buttons */
.btn, .btn-main, .btn-alt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 15.5px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s; }
.btn .ic { width: 18px; height: 18px; }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 4px 12px rgba(242, 113, 28, 0.22); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-primary, .btn-main { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-main:hover { background: var(--brand-hover); }
.btn-line, .btn-alt { background: var(--surface); color: var(--brand); border-color: var(--brand-line); }
.btn-line:hover, .btn-alt:hover { border-color: var(--brand); background: var(--brand-wash); }
.btn-lg { min-height: 52px; padding: 12px 30px; font-size: 17px; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-actions.center, .cta { justify-content: center; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; }

/* ---------------------------------------------------------------- search */
.search { display: flex; align-items: stretch; background: var(--surface); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-lg); width: 100%; max-width: 860px; margin: 22px auto 0; }
.search-field { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding: 0 18px; min-width: 0; color: var(--muted); cursor: text; }
.search-field .ic { width: 21px; height: 21px; }
.search-field + .search-field { border-inline-start: 1px solid var(--line); }
.search-field.place { flex: 0 1 240px; cursor: pointer; }
.search .search-field input, .search .search-field select { flex: 1; min-width: 0; width: auto; min-height: 50px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: inherit; font-size: 16.5px; color: var(--text); }
.search .search-field input:focus, .search .search-field select:focus { outline: none; border: 0; box-shadow: none; }
.search-field:focus-within { color: var(--brand); }
.search-field input::-webkit-search-cancel-button { cursor: pointer; }
.search-go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--cta); color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
.search-go:hover { background: var(--cta-hover); }
.search-go .ic { width: 20px; height: 20px; stroke-width: 2.4; }

/* ---------------------------------------------------------------- hero, bands, sections */
.hero { background: var(--band); color: #fff; padding: 58px 0 66px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset-inline-start: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 113, 28, 0.28), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 880px; text-align: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 14px; color: #fff; }
.eyebrow { margin: 0; color: var(--cta); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.hero .eyebrow, .band .eyebrow, .search-band .eyebrow { color: #ffb27d; }
.lead { font-size: 18px; line-height: 1.65; color: var(--text-2); margin: 0 0 8px; text-wrap: pretty; }
.hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 640px; margin: 0 auto; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.hero-chips { justify-content: center; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.fchip:hover { background: rgba(255, 255, 255, 0.2); }
.fchip .ic { width: 16px; height: 16px; }
.fchip .n { padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 12.5px; }
.fchip.on { background: #fff; color: #0f2b5b; border-color: #fff; }
.fchip.on .n { background: #eaf2fd; color: #1f6fd8; }
.section { padding-top: 44px; }
.section > h2, .section-head h2 { font-size: clamp(23px, 3vw, 30px); color: var(--ink); margin: 0 0 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.more-link { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 700; text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.band { margin-top: 52px; background: var(--band); color: #fff; padding: 50px 0; }
.band-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.band h2 { color: #fff; font-size: clamp(27px, 3.6vw, 38px); margin: 6px 0 12px; }
.band .lead { color: rgba(255, 255, 255, 0.85); margin-bottom: 22px; }
.band-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.band-points li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); }
.band-points .ic { width: 24px; height: 24px; margin-top: 2px; color: #ffb27d; }
.band-points strong { display: block; font-size: 16.5px; }
.band-points span { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; }
.band-points.light li { background: rgba(255, 255, 255, 0.08); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: start; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li::before { content: counter(step); width: 36px; height: 36px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand); font-weight: 800; }
.steps strong { font-size: 17px; color: var(--ink); }
.steps span { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.steps.compact { gap: 10px; margin-top: 4px; }
.steps.compact li { padding: 14px; box-shadow: none; background: var(--surface-2); }
.steps.compact li::before { width: 30px; height: 30px; font-size: 14px; margin-bottom: 4px; }
.about { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--text-2); }
.about p { margin: 0 0 10px; }

/* ---------------------------------------------------------------- job board */
.search-band { background: var(--band); color: #fff; padding: 4px 0 26px; }
.search-band h1 { color: #fff; font-size: clamp(28px, 4vw, 38px); margin: 6px 0 2px; }
.h1-sub { margin-inline-start: 6px; font-size: 0.5em; font-weight: 600; color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.search-band .search { margin: 16px 0 0; max-width: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 4px; color: var(--muted); font-size: 14px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs > span:last-child { color: var(--text-2); font-weight: 600; }
.search-band .crumbs, .search-band .crumbs > span:last-child { color: rgba(255, 255, 255, 0.78); }
.board { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; padding-top: 24px; }
.board-main { min-width: 0; }
.board-side { position: sticky; top: 92px; display: grid; gap: 14px; }
.results-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.results-head h2 { margin: 0; font-size: 21px; color: var(--ink); }
.clear-link { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.clear-link .ic { width: 15px; height: 15px; }
.sort-note { margin-inline-start: auto; color: var(--muted); font-size: 14px; }
.jlist { display: grid; gap: 14px; }
.jlist.grid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.jcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.jcard:hover { border-color: var(--brand-line); box-shadow: var(--shadow-lg); }
.jcard-top { display: flex; align-items: flex-start; gap: 14px; }
.jcard-logo { flex: none; width: 54px; height: 54px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: #9aa8bd; }
.jcard-logo img { width: 42px; height: 42px; object-fit: contain; }
.jcard-logo .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.jcard-logo.big { width: 72px; height: 72px; border-radius: 18px; }
.jcard-logo.big img { width: 56px; height: 56px; }
.jcard-logo.big .ic { width: 36px; height: 36px; }
.jcard-head { flex: 1; min-width: 0; }
.jcard-title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; }
.jcard-title a { color: var(--ink); text-decoration: none; }
.jcard-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.jcard:hover .jcard-title a { color: var(--brand); }
.jcard-company { margin: 3px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.badge.new { background: var(--good-wash); color: var(--good-ink); }
.badge.remote { background: var(--brand-wash); color: var(--brand); }
.jmeta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--text-2); font-size: 14.5px; }
.jmeta li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.jmeta .ic { width: 17px; height: 17px; color: var(--brand); }
.jcard-text { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jcard-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 2px; }
.jcard-actions .btn { min-height: 42px; padding: 8px 20px; font-size: 15px; }
.jcard-num { margin-inline-start: auto; color: var(--muted); font-size: 13px; }
.jcard.compact { padding: 18px; gap: 10px; }
.jcard.compact .jcard-title { font-size: 17.5px; }
.jcard.compact .jcard-logo { width: 46px; height: 46px; border-radius: 12px; }
.jcard.compact .jcard-logo img { width: 36px; height: 36px; }
.jcard.compact .jcard-actions .btn-line, .jcard.compact .jcard-num { display: none; }
.jcard.compact .jcard-actions { margin-top: auto; }
.jcard.compact .jcard-top { flex-wrap: wrap; }
.jcard.compact .jcard-top .badges { order: -1; width: 100%; }
.jcard.compact .jcard-top .badges:empty { display: none; }
.side-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.side-card h3 { margin: 0; font-size: 18px; color: var(--ink); }
.side-card p { margin: 0 0 4px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.side-card .btn { width: 100%; }
.side-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--brand-wash); color: var(--brand); }
.side-ic .ic { width: 23px; height: 23px; }
.side-ic.earn, .side-employer .side-ic { background: var(--cta-wash); color: var(--cta); }
.empty { text-align: center; padding: 40px 24px; }
.empty .empty-ic { width: 46px; height: 46px; color: var(--muted); }
.empty h3 { font-size: 20px; color: var(--ink); margin: 10px 0 6px; }
.empty p { color: var(--text-2); margin: 0 auto 18px; max-width: 460px; }
.empty .row-actions { justify-content: center; }

/* ---------------------------------------------------------------- job page */
.jobgrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 26px; align-items: start; padding-top: 8px; }
.jobmain { display: grid; gap: 18px; min-width: 0; }
.jobhead-top { display: flex; align-items: flex-start; gap: 18px; }
.jobhead-title { min-width: 0; }
.jobhead h1 { margin: 6px 0 2px; color: var(--ink); font-size: clamp(27px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.01em; }
.jobhead .jcard-company { font-size: 16px; }
.jmeta.big { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px 18px; margin: 22px 0; padding: 18px; border-radius: 14px; background: var(--surface-2); }
.jmeta.big li { align-items: flex-start; gap: 10px; }
.jmeta.big .ic { width: 21px; height: 21px; margin-top: 3px; }
.jmeta.big span { color: var(--text); font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.jmeta.big small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.jobtext h2 { margin: 0 0 12px; color: var(--ink); font-size: 21px; }
.jobtext h2:not(:first-child) { margin-top: 30px; }
.jobtext p { margin: 0 0 10px; color: var(--text-2); font-size: 16.5px; line-height: 1.8; overflow-wrap: anywhere; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 16px; }
.checks .ic { width: 20px; height: 20px; margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--good-wash); color: var(--good-ink); stroke-width: 3; }
.reward-box { display: flex; align-items: flex-start; gap: 14px; margin: 22px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--cta-wash); border: 1px solid rgba(242, 113, 28, 0.25); }
.reward-box .ic { width: 28px; height: 28px; color: var(--cta); }
.reward-box p { margin: 0; color: var(--text-2); font-size: 15px; }
.reward-box strong { display: block; color: var(--ink); font-size: 18px; }
.reward-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reward-jobs a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; }
.reward-jobs a:hover { border-color: var(--brand-line); background: var(--surface-2); }
.reward-jobs small { display: block; color: var(--muted); font-size: 13px; }
.reward-jobs b { color: var(--cta); white-space: nowrap; }
.terms { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14.5px; }
.terms summary { cursor: pointer; color: var(--brand); font-weight: 700; }
.terms p { margin: 8px 0 0; }
.jobside { display: grid; gap: 16px; }
.refer-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.refer-card h2 { margin: 0 0 2px; color: var(--ink); font-size: 18px; }
.refer-card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.refer-card .btn { width: 100%; }
.apply-card { border-top: 4px solid var(--cta); }
.apply-card h2 { margin: 0; color: var(--ink); font-size: 23px; }
.apply-for { margin: 2px 0 18px; color: var(--muted); font-size: 14.5px; }
.apply-quick-label { margin: 0 0 8px; font-weight: 700; font-size: 14.5px; }
.apply-alt { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fine { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.me-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; margin: 0 0 16px; border-radius: 12px; background: var(--brand-wash); }
.me-box .btn { min-height: 40px; padding: 8px 16px; }
.more-jobs { padding-top: 40px; }
.apply-bar { display: none; }

/* ---------------------------------------------------------------- forms */
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f label { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 14.5px; font-weight: 600; }
.f label .ic { width: 17px; height: 17px; color: var(--brand); }
input[type=text], input[type=tel], input[type=email], input[type=search], input[type=number], input[type=date], textarea, select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--field); border-radius: 11px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; transition: border-color 0.15s, box-shadow 0.15s; }
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 111, 216, 0.16); }
input[type=file] { width: 100%; padding: 10px; border: 1px dashed var(--field); border-radius: 11px; background: var(--surface-2); color: var(--text-2); font: inherit; font-size: 14.5px; }
.f.bad input, .f.bad textarea, .f.bad select { border-color: var(--bad); }
.msg, .bad-msg { color: var(--bad); font-size: 13.5px; }
.hint { font-size: 13px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 2px; color: var(--text-2); font-size: 13.5px; line-height: 1.55; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.consent.bad span { color: var(--bad); }
.submit { width: 100%; min-height: 54px; margin-top: 16px; padding: 12px; border: 0; border-radius: 13px; background: var(--cta); color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px rgba(242, 113, 28, 0.24); transition: background 0.15s; }
.submit:hover { background: var(--cta-hover); }
.submit[disabled] { opacity: 0.65; cursor: default; }
.err-box { margin: 0 0 14px; padding: 11px 14px; border-radius: 11px; background: #fdecec; border: 1px solid #f4c7c7; color: #9b1c1c; }
.ok-box { margin: 0 0 14px; padding: 11px 14px; border-radius: 11px; background: var(--good-wash); border: 1px solid rgba(22, 163, 74, 0.25); color: var(--text); }
@media (prefers-color-scheme: dark) { .err-box { background: rgba(208, 59, 59, 0.15); border-color: rgba(208, 59, 59, 0.4); color: #ffb4b4; } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.qbtn { flex: 1 1 120px; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 14px; border-radius: 12px; background: #1f9d55; color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; text-align: center; }
.qbtn.tg { background: #2a8bd6; }
.qbtn.fb { background: #5b5bd6; }
.qbtn.tel, .qbtn.mail { background: var(--surface); color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.qbtn:hover { filter: brightness(1.06); }
#apply, #jobs, #contact, #hire-form, #terms { scroll-margin-top: 92px; }

/* ---------------------------------------------------------------- employers (hire.) */
.hire-hero { padding: 40px 0 56px; }
.hire-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 450px; gap: 40px; align-items: start; }
.hire-copy h1 { font-size: clamp(32px, 4.6vw, 50px); margin: 10px 0 14px; }
.hire-copy .lead { color: rgba(255, 255, 255, 0.86); margin-bottom: 24px; }
.hire-card { color: var(--text); }
.hire-card .alt-contact { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; color: var(--muted); font-size: 14.5px; }
.hire-card .alt-contact a { font-weight: 700; }

/* ---------------------------------------------------------------- confirmations, call-back, documents */
.done-card { margin-top: 28px; padding: 42px 30px; text-align: center; }
.done-ic { width: 66px; height: 66px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--good-wash); color: var(--good-ink); }
.done-ic .ic { width: 32px; height: 32px; stroke-width: 2.6; }
.done-ic.muted-ic { background: var(--surface-2); color: var(--muted); }
.done-card h1 { margin: 0 0 8px; color: var(--ink); font-size: clamp(27px, 4vw, 36px); }
.done-card .lead { margin: 0 auto 10px; max-width: 520px; }
.done-card .row-actions { margin-top: 18px; }
.callback-card { margin-top: 6px; padding: 38px 30px; text-align: center; }
.callback-card .done-ic { background: var(--brand-wash); color: var(--brand); }
.callback-card h1 { margin: 0 0 8px; color: var(--ink); font-size: clamp(28px, 4.4vw, 40px); }
.callback-form { max-width: 430px; margin: 18px auto 0; text-align: start; }
input.callback-phone { min-height: 62px; text-align: center; font-size: 25px; font-weight: 600; letter-spacing: 0.03em; }
.callback-form .hint { text-align: center; }
.callback-job { display: inline-block; margin: 8px 0 0; padding: 10px 16px; border-radius: 12px; background: var(--brand-wash); font-size: 14.5px; }
.below-card { margin: 16px 0 0; text-align: center; }
.below-card a { font-weight: 600; }
.doc { margin-top: 24px; padding: 30px; }
.doc-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); line-height: 1.8; }

/* ---------------------------------------------------------------- footer */
.site-foot { margin-top: 20px; background: #0c1f40; color: rgba(255, 255, 255, 0.78); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.site-foot .brand { color: #fff; }
.site-foot .brand-logo { width: 34px; height: 34px; }
.site-foot .brand-name { font-size: 20px; }
.foot-brand p { margin: 12px 0 0; max-width: 320px; line-height: 1.7; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-col h2 { margin: 0 0 4px; color: #fff; font-size: 15.5px; }
.site-foot a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; }
.has-chat .foot-bottom { padding-bottom: 92px; }

/* ---------------------------------------------------------------- website chat (_chat.html, chat.js) */
.chat[hidden], .chat [hidden] { display: none !important; }
.chat { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 50; font-size: 15px; }
.chat-fab { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(15, 43, 91, 0.28); }
.chat-fab:hover { background: var(--brand-hover); }
.chat.open .chat-fab { display: none; }
.chat-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.chat-panel { width: min(370px, calc(100vw - 32px)); height: min(560px, calc(100vh - 32px)); display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--band); color: #fff; }
.chat-head strong { display: block; }
.chat-sub { font-size: 13px; opacity: 0.85; }
.chat-x { width: 38px; height: 38px; flex: none; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.chat-x:hover { background: rgba(255, 255, 255, 0.16); }
.chat-thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--bg); }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.bubble.theirs { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-start-start-radius: 4px; }
.bubble.mine { align-self: flex-end; background: var(--brand); color: #fff; border-start-end-radius: 4px; }
.bubble.note { align-self: center; background: var(--brand-wash); color: var(--text-2); font-size: 13px; text-align: center; }
.bubble .at { display: block; margin-top: 2px; font-size: 11px; opacity: 0.7; }
.chat-start, .chat-compose { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat input[type=text], .chat input[type=tel], .chat textarea { min-height: 40px; padding: 8px 10px; border-radius: 9px; font-size: 15px; }
.chat-compose { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.chat-compose textarea { flex: 1; min-width: 0; max-height: 120px; resize: none; }
.chat-send { padding: 10px 16px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.chat-send:hover { background: var(--brand-hover); }
.chat-send[disabled] { opacity: 0.6; }
.chat-err { width: 100%; color: var(--bad); font-size: 13px; }
.chat-err:empty { display: none; }
.chat .consent { margin: 0; font-size: 12.5px; }
.chat .consent input { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- personal area (/me) */
.me-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.callback-hero { width: calc(100% - 32px); max-width: 600px; margin: 32px auto 8px; padding: 38px 30px 32px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.callback-eyebrow { margin-bottom: 10px; color: var(--cta); font-size: 15px; font-weight: 700; }
.callback-hero h1 { margin: 0 0 14px; color: var(--ink); font-size: clamp(28px, 4.6vw, 40px); line-height: 1.15; }
.callback-intro { margin: 0 0 22px; color: var(--text-2); font-size: 17.5px; line-height: 1.65; }
.refer-form { max-width: 440px; margin: 0 auto; text-align: start; }
.portal-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.check-mark { position: relative; width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: var(--good); }
.check-mark::after { content: ""; position: absolute; left: 21px; top: 13px; width: 12px; height: 22px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }
.panel { margin-top: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel h2 { margin-top: 0; color: var(--ink); }
.panel > .muted { margin-top: -4px; }
.me-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 24px; }
.me-eyebrow { color: var(--cta); font-size: 14px; font-weight: 700; }
.me-title { margin: 2px 0 0; color: var(--ink); font-size: clamp(27px, 5vw, 34px); }
.me-logout button { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; }
.me-logout button:hover { color: var(--text); border-color: var(--field); }
.me-tabs { display: flex; gap: 4px; margin: 18px 0 14px; padding: 5px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; scrollbar-width: none; }
.me-tabs::-webkit-scrollbar { display: none; }
.me-tabs a { flex: 1 0 auto; padding: 9px 12px; border-radius: 10px; color: var(--text-2); font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; white-space: nowrap; }
.me-tabs a:hover { background: var(--surface-2); color: var(--text); }
.me-tabs a.on { background: var(--brand); color: #fff; }
.me-wrap .ok-box, .me-wrap .err-box { margin: 0 0 14px; }
.me-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px; }
.me-stats div { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.me-stats dt { color: var(--muted); font-size: 13px; }
.me-stats dd { margin: 2px 0 0; color: var(--ink); font-size: 23px; font-weight: 800; text-align: start; }
.me-note { margin: 10px 0 0; color: var(--text-2); font-size: 14px; }
.me-todo { border-color: rgba(242, 113, 28, 0.35); background: var(--cta-wash); }
.me-todo h2 { margin-bottom: 6px; font-size: 17px; }
.todo { display: grid; gap: 4px; margin: 0; padding-inline-start: 20px; }
.todo a { font-weight: 600; }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.paths.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.me-roles { margin-top: 16px; }
.path.work, .path-tag.work { --c: var(--brand); --c-wash: var(--brand-wash); }
.path.earn, .path-tag.earn { --c: var(--cta); --c-wash: var(--cta-wash); }
.path { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); text-decoration: none; }
.path:hover { box-shadow: var(--shadow-lg); }
.path-tag { align-self: flex-start; display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--c-wash); color: var(--c); font-size: 13.5px; font-weight: 700; }
.path-title { color: var(--ink); font-size: 19px; line-height: 1.3; }
.path-text { flex: 1; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.path-go { margin-top: 6px; padding: 11px 14px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; text-align: center; }
.me-go { margin: 6px 0 4px; }
.me-lead { margin: 10px 0 14px; font-size: 17px; }
.me-list { list-style: none; display: grid; gap: 8px; margin: 14px 0 0; padding: 0; }
.me-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; }
.me-list .ml-main { display: flex; flex-direction: column; min-width: 0; }
.me-list .ml-main .muted { font-size: 14px; }
.pill { flex: none; display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--brand-wash); color: var(--brand); font-size: 13px; font-weight: 650; white-space: nowrap; }
.pill.paid { background: var(--good-wash); color: var(--good-ink); }
.pill.held { background: var(--earn-wash); color: var(--earn); }
.pill.open { background: var(--surface-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.me-table-wrap { overflow-x: auto; margin: 0 -4px; }
.me-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.me-table th { padding: 6px 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; text-align: start; }
.me-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.me-table tr:last-child td { border-bottom: 0; }
.me-table .num { padding-inline: 10px; font-weight: 650; text-align: end; white-space: nowrap; }
.me-table .st { width: 38%; }
.me-table .pill { white-space: normal; text-align: center; border-radius: 10px; }
.me-sub { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.me-form { max-width: 520px; }
.me-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; }
.radios { margin: 0 0 14px; padding: 0; border: 0; }
.radios legend { margin-bottom: 6px; padding: 0; font-size: 15px; font-weight: 600; }
.radio { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); cursor: pointer; }
.radio input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--brand); }
.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-wash); }
.radios.bad .radio { border-color: var(--bad); }
.receipt-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.receipt-row .rr-text { display: flex; flex: 1 1 160px; flex-direction: column; }
.receipt-row input[type=file] { flex: 1 1 200px; min-width: 0; }
.receipt-row .btn-main, .doc-form .btn-main { flex: none; }
.doc-form { margin-top: 14px; }
.policy-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.policy-head h2 { margin: 0 0 8px; }
.policy-text p { margin: 0 0 8px; color: var(--text-2); font-size: 15px; }
.me-details { margin-top: 14px; color: var(--text-2); font-size: 14px; }
.me-details summary { color: var(--brand); font-weight: 600; cursor: pointer; }
.me-join h2 { margin-top: 10px; }
.me-refer-head .refer-stats { margin-top: 4px; }
.me-login .refer-form { margin-top: 6px; }
.me-resend { margin-top: 14px; }
.code-input { font-size: 22px !important; letter-spacing: 0.4em; text-align: center; }
.refer-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.refer-stats div { padding: 12px 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.refer-stats dt { color: var(--muted); font-size: 13px; }
.refer-stats dd { margin: 2px 0 0; color: var(--ink); font-size: 24px; font-weight: 800; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font-size: 15px; }
.copy-row .copy-btn { flex: none; padding: 0 18px; border: 0; border-radius: 11px; font: inherit; font-weight: 700; cursor: pointer; }
.sj-wa { padding: 8px 12px; border: 0; border-radius: 10px; background: #1f9d55; color: #fff; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; cursor: pointer; }
.ref-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.ref-list li { padding: 10px 12px; border: 1px solid var(--line); border-inline-start: 4px solid var(--brand); border-radius: 11px; }
.ref-list li.st-good { border-inline-start-color: var(--good); }
.ref-list li.st-muted { border-inline-start-color: var(--line); }
.ref-list li.st-muted p { color: var(--muted); }
.ref-list .rl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.ref-list .rl-head .muted { font-size: 13px; }
.ref-list p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 1080px) {
  .main-nav a:nth-child(2) { display: none; }
  .brand-tag { display: none; }
}
@media (max-width: 1024px) {
  .board, .jobgrid, .hire-grid { grid-template-columns: minmax(0, 1fr); }
  .board-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-inner { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .head-row { min-height: 62px; gap: 10px; }
  .main-nav, .head-cta { display: none; }
  .menu { display: block; }
  .head-me span { display: none; }
  .head-me { padding: 9px; }
  .brand-name { font-size: 20px; }
  .brand-logo { width: 34px; height: 34px; }
  .search { flex-direction: column; border-radius: 18px; padding: 8px; gap: 0; }
  .search-field { padding: 0 10px; }
  .search-field + .search-field { border-inline-start: 0; border-top: 1px solid var(--line); }
  .search-field.place { flex-basis: auto; }
  .search-go { justify-content: center; min-height: 50px; margin-top: 6px; }
  .hero { padding: 40px 0 46px; }
  .hero .lead { font-size: 16.5px; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 2px; scrollbar-width: none; }
  .fchips::-webkit-scrollbar { display: none; }
  .hero-chips { justify-content: flex-start; }
  .board-side { grid-template-columns: minmax(0, 1fr); }
  .sort-note { display: none; }
  .jlist.grid { grid-template-columns: minmax(0, 1fr); }
  .jcard { padding: 16px; }
  .jcard-top { flex-wrap: wrap; }
  .jcard-top .badges { order: -1; width: 100%; }
  .jcard-top .badges:empty { display: none; }
  .jcard-title { font-size: 18px; }
  .jcard-num { display: none; }
  .jcard-actions .btn { flex: 1 1 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 0; padding: 14px 16px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps.compact li { grid-template-columns: 30px minmax(0, 1fr); }
  .card { padding: 20px 18px; }
  .jobhead-top { gap: 14px; }
  .jcard-logo.big { width: 58px; height: 58px; border-radius: 15px; }
  .jcard-logo.big img { width: 44px; height: 44px; }
  .jmeta.big { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .jobhead .row-actions .btn { flex: 1 1 100%; }
  .apply-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: flex; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(15, 43, 91, 0.08); }
  .apply-bar .btn { flex: 1; min-height: 50px; font-size: 17px; }
  body:has(.apply-bar) .site-foot { padding-bottom: 72px; }
  body:has(.apply-bar) .chat { bottom: 84px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 30px; }
  .paths, .paths.two { grid-template-columns: minmax(0, 1fr); }
  .me-stats { grid-template-columns: minmax(0, 1fr); }
  .me-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .me-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .me-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .me-tabs a { display: flex; align-items: center; justify-content: center; padding: 8px 4px; font-size: 14.5px; line-height: 1.3; white-space: normal; }
  .callback-hero { margin-top: 20px; padding: 28px 20px 24px; border-radius: 18px; }
  .done-card, .callback-card { padding: 30px 20px; }
  .doc { padding: 22px 18px; }
}
@media (max-width: 420px) {
  .wrap, .me-wrap { padding: 0 16px; }
  .fchips { margin-inline: -16px; padding: 0 16px 2px; }
  .refer-stats dd { font-size: 20px; }
}
@media (max-width: 520px) {
  .chat { inset-inline-end: 12px; bottom: 12px; }
  .chat.open { inset: 0; }
  .chat.open .chat-panel { width: 100%; height: 100%; border: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---- accounts (accounts.py, routes/me.py): applying by phone or WhatsApp, signing up, the personal area ---- */
.apply-direct { display: grid; gap: 8px; }
.direct { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; border-radius: 13px; color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; line-height: 1.2; }
.direct .ic { width: 22px; height: 22px; flex: none; }
.direct small { display: block; font-size: 12.5px; font-weight: 600; opacity: 0.9; }
.direct bdi { font-size: 18px; letter-spacing: 0.01em; white-space: nowrap; }
.direct.call { background: var(--brand); }
.direct.wa { background: #1f9d55; }
.direct:hover { filter: brightness(1.07); }
.apply-text { margin: 0 0 14px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.btn-block { display: flex; width: 100%; justify-content: center; min-height: 52px; font-size: 17px; }
.apply-bar .bar-call { flex: none; width: 54px; padding: 0; justify-content: center; }
.apply-bar .bar-call .ic { width: 22px; height: 22px; }
.apply-bar { gap: 8px; }
.account-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--brand-wash); color: var(--text-2); font-size: 14px; line-height: 1.5; }
.account-note .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--brand); }
.account-cta { margin: 16px auto 0; max-width: 460px; color: var(--text-2); font-size: 14.5px; }
.signup-box { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.signup-box > p { margin: 0 0 10px; color: var(--text-2); font-weight: 600; }
.signup-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: start; }
.choice { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.choice.hire { border-top-color: var(--hire); }
.choice .ic { width: 24px; height: 24px; color: var(--brand); }
.choice.hire .ic { color: var(--hire); }
.choice strong { color: var(--ink); font-size: 17px; }
.choice span { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.choice:hover { box-shadow: var(--shadow-lg); }
.signup-choice.big .choice { padding: 20px; gap: 6px; }
.signup-choice.big .choice strong { font-size: 19px; }
.me-register { max-width: 640px; }
.kind-switch { display: flex; gap: 4px; max-width: 440px; margin: 0 auto 18px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.kind-switch a { flex: 1; padding: 8px 10px; border-radius: 9px; color: var(--text-2); font-weight: 600; text-decoration: none; }
.kind-switch a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
details.notice { margin: 6px 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
details.notice summary { cursor: pointer; color: var(--text); font-weight: 650; }
details.notice p { margin: 8px 0 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.panel-head h2 { margin: 0; }
.pill.st-new { background: var(--brand-wash); color: var(--brand); }
.pill.st-progress { background: var(--earn-wash); color: var(--earn); }
.pill.st-good { background: var(--good-wash); color: var(--good-ink); }
.pill.st-muted { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.pill.st-bad { background: rgba(208, 59, 59, 0.1); color: var(--bad); }
.status-legend { list-style: none; display: grid; gap: 8px; margin: 10px 0 0; padding: 0; color: var(--text-2); font-size: 14.5px; }
.status-legend li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.small-text { font-size: 13.5px; }
.readonly { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); color: var(--text); text-align: start; }
.danger-zone { border-color: rgba(208, 59, 59, 0.35); }
.btn.danger { color: var(--bad); border-color: rgba(208, 59, 59, 0.45); }
.review-note { margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(208, 59, 59, 0.08); color: var(--text-2); font-size: 13.5px; }
.me-form.wide { max-width: 680px; }
.account-band { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--hire); border-radius: var(--radius); box-shadow: var(--shadow); }
.account-band > div:not(.row-actions) { flex: 1 1 320px; }
.account-band h2 { margin: 0 0 6px; color: var(--ink); font-size: 21px; }
.account-band p { margin: 0; color: var(--text-2); }
.account-band .side-ic { background: rgba(11, 122, 92, 0.1); color: var(--hire); }
.side-account .side-ic { background: var(--brand-wash); color: var(--brand); }
@media (max-width: 520px) {
  .signup-choice { grid-template-columns: 1fr; }
  .account-band { padding: 18px; }
  .account-band .row-actions .btn { flex: 1 1 auto; }
}

/* ---- recruiting dashboard (routes/me.py: /me/refer): a link per post or ad, and the contact numbers they brought ---- */
.link-rows { display: grid; gap: 12px; margin: 14px 0 18px; }
.link-row { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.lr-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.lr-head strong { color: var(--ink); font-size: 16.5px; }
.lr-head .muted { font-size: 13.5px; }
.lr-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0 0 12px; }
.lr-stats div { padding: 8px 6px; border-radius: 10px; background: var(--surface-2); text-align: center; }
.lr-stats dt { color: var(--muted); font-size: 12px; }
.lr-stats dd { margin: 2px 0 0; color: var(--ink); font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lr-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.lr-actions form { margin: 0; }
.link-new { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.link-new h3 { margin: 0 0 10px; font-size: 17px; }
@media (max-width: 520px) {
  .link-row { padding: 12px; }
  .lr-stats { gap: 4px; }
  .lr-stats div { padding: 6px 2px; }
  .lr-stats dt { font-size: 11px; }
  .lr-stats dd { font-size: 17px; }
}
.me-refer-head .refer-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.me-refer-head .refer-stats dd { font-size: 22px; }
@media (max-width: 520px) {
  .me-refer-head .refer-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ref-list li.st-wait { border-inline-start-color: #e0a526; }
.ref-list li.st-info { border-inline-start-color: var(--brand); }

/* ---------------------------------------------------------------- applying to a DH job on Hasama (dh_apply.py) */
.dh-apply-form fieldset.f { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.dh-apply-form legend { margin: 0 0 6px; padding: 0; color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.dh-options { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-option { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--field); border-radius: 11px; background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; }
.dh-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.dh-question.bad .dh-option { border-color: var(--bad); }
.dh-apply-form .bad-msg { display: block; }
.dh-apply-form .consent a { font-weight: 600; }

/* The list of all DH jobs (/dh-jobs, templates/public/dh_jobs.html) */
.dh-list { padding-top: 22px; }
.dh-list-lead { margin-bottom: 18px; }
.dh-list .terms { margin-top: 0; padding-top: 12px; }
.dh-list .terms p { line-height: 1.6; }
.dh-list .terms .checks { margin-top: 8px; gap: 8px; }
.dh-list .terms .checks li { font-size: 15px; }
