/* EZ Job prototype styles: mobile first, system fonts only (no font downloads). */
:root {
  --green: #2e7d00;
  --green-dark: #1f5a00;
  --green-soft: #e7f4de;
  --brand: #2e7d00;
  --mint: #e7f4de;
  --ink: #16191d;
  --muted: #5c6670;
  --line: #e2e6ea;
  --bg: #f6f8f5;
  --card: #ffffff;
  --warn: #9a5b00;
  --warn-soft: #fff3dc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 4px 16px rgba(0, 0, 0, .04);
  --chip: #eef0f2;
  --sunk: #f7f8f9;
  --hover: #fbfdf9;
  --line-strong: #c9cfd4;
  --green-line: #c6e6b0;
  --banner: #16191d;
  --alt: #16191d;
  --alt-hover: #000;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--green-dark); }
h1 { font-size: 1.6rem; line-height: 1.2; margin: .4em 0 .6em; }
h2 { font-size: 1.25rem; margin: .2em 0 .6em; }
h3 { font-size: 1rem; margin: 1.2em 0 .5em; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --green: #4cbf0a; --green-dark: #7fd94a; --green-soft: #1d3313; --green-line: #2f5420;
  --ink: #eef1ec; --muted: #a3acb4; --line: #2c3238; --line-strong: #47505a;
  --bg: #121513; --card: #1b1f1c; --chip: #262b28; --sunk: #171a18; --hover: #202620;
  --warn: #f0b860; --warn-soft: #33270f; --banner: #000; --alt: #3a4048; --alt-hover: #4a515a;
  --shadow: none; color-scheme: dark;
  --header: #1d3313;
  }
}
:root[data-theme="dark"] {
  --green: #4cbf0a; --green-dark: #7fd94a; --green-soft: #1d3313; --green-line: #2f5420;
  --ink: #eef1ec; --muted: #a3acb4; --line: #2c3238; --line-strong: #47505a;
  --bg: #121513; --card: #1b1f1c; --chip: #262b28; --sunk: #171a18; --hover: #202620;
  --warn: #f0b860; --warn-soft: #33270f; --banner: #000; --alt: #3a4048; --alt-hover: #4a515a;
  --shadow: none; color-scheme: dark;
  --header: #1d3313;
}

/* layout */
.demo-banner { background: var(--banner); color: #fff; font-size: .8rem; text-align: center; padding: 6px 16px; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--header, var(--mint)); border-bottom: 1px solid var(--green-line); padding: 10px 16px; position: sticky; top: 0; z-index: 5;
}
.logo img { display: block; height: 132px; width: auto; transition: height .2s ease; }
@media (min-width: 561px) { body.scrolled .logo img { height: 64px; } } /* shrinks once you scroll, so the pinned header doesn't hide content */
.site-nav { display: flex; gap: 4px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 999px; }
.site-nav a.active { background: var(--green-soft); color: var(--green-dark); }
.site-header .site-nav a.active, .site-header .site-nav a:hover { background: var(--card); color: var(--green-dark); }
main { max-width: 860px; margin: 0 auto; padding: 16px; outline: none; min-height: 60vh; }
.site-footer { font-size: .88rem; padding: 28px 16px 22px; background: var(--brand); color: #fff; margin-top: 24px; }
.foot-top { max-width: 860px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 22px 32px; justify-content: space-between; }
.foot-logo { display: block; height: 48px; width: auto; }
.foot-line { margin: 8px 0 0; font-weight: 600; color: var(--mint); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; flex: 1 1 340px; max-width: 520px; }
.foot-cols div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.foot-cols h2 { margin: 0 0 2px; font-size: .92rem; color: var(--mint); }
.foot-cols a { color: #fff; text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-small { max-width: 860px; margin: 20px auto 0; padding-top: 12px; border-top: 1px solid rgba(231,244,222,.25); font-size: .78rem; color: #cfe7c0; }
.foot-small span { color: #b9dba5; }
@media (max-width: 420px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 16px; box-shadow: var(--shadow); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px;
  border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-alt { background: var(--alt); border-color: var(--alt); color: #fff; }
.btn-alt:hover { background: var(--alt-hover); border-color: var(--alt-hover); }
.btn-ghost { background: var(--card); color: var(--green-dark); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.linkish { background: none; border: 0; color: var(--green-dark); font: inherit; text-decoration: underline; cursor: pointer; padding: 6px 0; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
:focus-visible { outline: 3px solid #8fd36b; outline-offset: 2px; }

/* home */
.hero { text-align: center; padding: 28px 4px 20px; }
.hero h1 { font-size: 2rem; }
.hero p { font-size: 1.05rem; color: var(--muted); max-width: 34em; margin: 0 auto 1em; }
.hero .cta-row { justify-content: center; }
.brand { color: var(--green); }
.split { display: grid; gap: 16px; }
.split .card { margin: 0; }
.split + .card { margin-top: 16px; }
.steps { padding-left: 1.2em; margin: 0 0 1em; }
.steps li { margin-bottom: .4em; }

/* chips, tags, pills */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card);
  cursor: pointer; font-size: .92rem; user-select: none;
}
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid #8fd36b; outline-offset: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { background: var(--chip); border-radius: 6px; padding: 3px 9px; font-size: .85rem; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.pill-go { background: var(--green-soft); color: var(--green-dark); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge.lvl0 { background: var(--chip); color: var(--muted); }
.badge.lvl1 { background: #e6f0fb; color: #1d5fa8; }
.badge.lvl2 { background: #ede8fb; color: #5b3cb0; }
.badge.lvl3 { background: var(--green-soft); color: var(--green-dark); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.lvl1 { background: #172a40; color: #8cc1f5; } :root:not([data-theme="light"]) .badge.lvl2 { background: #261d40; color: #b9a6f5; } }
.star { color: #e0a100; }

/* forms */
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  display: block; width: 100%; margin-top: 5px; font: inherit; font-weight: 400; color: var(--ink);
  padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft); }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
label.check input { width: 20px; height: 20px; accent-color: var(--green); }
label.inline { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
label.inline select { margin: 0; min-height: 38px; padding: 6px 10px; width: auto; }
.grid2 { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
.note { background: var(--green-soft); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.note.demo { background: var(--warn-soft); color: var(--warn); }
.error { color: #b42318; font-weight: 600; min-height: 1.2em; margin: 8px 0 0; }
.error:empty { display: none; }
.nav-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }

/* builder progress */
.progress { display: flex; gap: 4px; margin: 4px 0 14px; }
.progress span {
  flex: 1; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted);
  border-top: 4px solid var(--line); padding-top: 6px;
}
.progress span small { display: none; font-weight: 500; }
.progress span.done { border-color: var(--green); color: var(--green-dark); }
.progress span.now { border-color: var(--green); color: var(--ink); }
.progress span.now small { display: block; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.plan-opt { margin: 0; }
.plan-opt input { position: absolute; opacity: 0; }
.plan-opt span {
  display: flex; flex-direction: column; gap: 2px; align-items: center; padding: 14px 8px; border: 2px solid var(--line);
  border-radius: 12px; cursor: pointer; text-align: center; position: relative;
}
.plan-opt b { font-size: 1.4rem; }
.plan-opt em { font-style: normal; font-size: .72rem; background: var(--alt); color: #fff; border-radius: 999px; padding: 2px 8px; }
.plan-opt input:checked + span { border-color: var(--green); background: var(--green-soft); }
.plan-opt input:focus-visible + span { outline: 3px solid #8fd36b; }

/* CV card */
.cv-head { display: flex; gap: 14px; align-items: flex-start; }
.cv-head h2 { margin: 0; }
.cv .role { margin: 2px 0 6px; font-weight: 600; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 6px; }
.avatar {
  flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
}
.summary { margin-top: 12px; font-style: italic; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: .93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.history { padding-left: 1.1em; margin: 0; }
.history li { margin-bottom: 10px; }

/* status */
.status-row { margin-bottom: 10px; }
.meter { height: 8px; background: var(--chip); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--green); }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 10px 0; }
.switch input { width: 22px; height: 22px; accent-color: var(--green); }
.switch span { display: none; }
.flash { background: var(--green-soft); border: 1px solid var(--green-line); color: var(--green-dark); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600; }

/* employer search */
.planbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .85rem; background: var(--card);
  border: 1px dashed var(--line-strong); border-radius: 12px; padding: 8px 12px; margin-bottom: 8px;
}
.planbar select { width: auto; min-height: 34px; padding: 4px 8px; margin: 0; font-weight: 700; }
.filters details { margin-top: 2px; }
.filters summary { cursor: pointer; font-weight: 700; color: var(--green-dark); padding: 6px 0 12px; }
.count { margin: 4px 2px 12px; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.result > a, .result.locked, .result .row { display: flex; gap: 14px; padding: 14px; color: inherit; text-decoration: none; }
.result > a:hover { background: var(--hover); }
.result h3 { margin: 0 0 2px; font-size: 1.05rem; }
.result .role { margin: 0 0 6px; font-weight: 600; font-size: .93rem; }
.result p { margin-bottom: 6px; }
.result.locked { background: var(--sunk); }
.result.locked h3 { color: var(--muted); }
.result.locked .avatar { background: var(--line); color: var(--muted); }
.grow { flex: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions .flash { margin: 0; flex-basis: 100%; }

/* pricing */
.price-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.price-grid.three { grid-template-columns: 1fr; }
.price { position: relative; margin: 0; }
.price.popular { border: 2px solid var(--green); }
.price em { position: absolute; top: -11px; left: 16px; font-style: normal; font-size: .72rem; font-weight: 700; background: var(--green); color: #fff; padding: 2px 10px; border-radius: 999px; }
.price .amount { font-size: 1.8rem; font-weight: 800; margin: 0 0 6px; }
.price .amount small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.ticks { padding-left: 1.1em; margin: 0 0 10px; font-size: .92rem; }
.ticks li { margin-bottom: 4px; }
h2 + .muted { margin-top: -.3em; }
.price-grid + p { margin-top: 14px; }
main > h2 { margin-top: 1.4em; }

@media (min-width: 640px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.6rem; }
  .split { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .progress span small { display: block; }
  .price-grid.three { grid-template-columns: repeat(3, 1fr); }
  .site-header { padding: 12px 24px; }
}

@page { size: A4; margin: 14mm 15mm 16mm; @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 8pt sans-serif; color: #6b7680; } @bottom-left { content: "EZ Job CV · www.ezjob.co.za"; font: 8pt sans-serif; color: #6b7680; } }
@media print {
  .demo-banner, .site-header, .site-footer, .status, .flash, main > p, .photo-side, .fill, .photo-band { display: none !important; }
  html, body { background: #fff !important; }
  body { font-size: 10.5pt; line-height: 1.4; color: #1f262d; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  main, .wrap, .container { max-width: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
  .card { box-shadow: none; border: 0; padding: 0; margin: 0; background: #fff; }
  .no-print { display: none !important; }
  .print-head { display: flex !important; break-after: avoid; page-break-after: avoid; }
  .print-foot { display: block !important; }
  .card, .cv { break-inside: auto; }
  /* Header block: name, role, badges stay together */
  .cv-head { break-inside: avoid; page-break-inside: avoid; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #d5ddd3; }
  .cv-head h2 { font-size: 17pt; }
  .cv-head .role { margin: 2px 0 4px; font-weight: 600; }
  .avatar { width: 44px !important; height: 44px !important; }
  /* Personal details: two even columns in a light panel, never split */
  .facts { grid-template-columns: 32mm 1fr; gap: 3px 10px; font-size: 9.8pt; margin-top: 10px; }
  .cv > .facts { background: #f3f8f1; border: 1px solid #d5ddd3; border-radius: 6px; padding: 8px 12px; break-inside: avoid; page-break-inside: avoid; }
  .facts dt { font-weight: 600; color: #4a5560; }
  /* Section headings never sit alone at the bottom of a page */
  .cv h3 { font-size: 11.5pt; color: #2e7d00; margin: 14px 0 6px; padding-bottom: 3px; border-bottom: 1.5px solid #2e7d00; break-after: avoid; page-break-after: avoid; }
  /* Each job or qualification is kept whole on one page */
  .history { padding-left: 0; list-style: none; }
  .history li { break-inside: avoid; page-break-inside: avoid; margin: 0; padding: 6px 0 6px 10px; border-left: 3px solid #cfe6c4; margin-bottom: 6px; }
  .history .pill { padding: 1px 8px; font-size: 8pt; }
  .cv .private { break-inside: avoid; page-break-inside: avoid; border-top: 0; margin-top: 4px; }
  .print-foot { break-inside: avoid; page-break-inside: avoid; }
  p, li, dd { orphans: 3; widows: 3; }
}
.print-head { display: none; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 2px solid #2e7d00; padding-bottom: 8px; margin-bottom: 14px; font-size: .85rem; color: #5c6670; }


/* CV builder v2: grouped sections and repeating rows */
fieldset.group { border: 0; border-top: 1px solid var(--line); padding: 14px 0 4px; margin: 14px 0 0; min-width: 0; }
fieldset.group legend { font-weight: 800; font-size: 1.02rem; padding: 0 8px 0 0; }
fieldset.group.private { background: var(--sunk); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 4px; }
fieldset.group.private legend { padding: 0 6px; }
.private { margin-top: 18px; padding-top: 4px; border-top: 1px dashed var(--line-strong); }
.grid3 { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
.rowbox { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 4px; margin: 0 0 12px; background: var(--card); }
.rowhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.rowhead .linkish { padding: 0; font-size: .88rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pair select { margin-top: 5px; }
.lab { display: block; font-weight: 600; font-size: .92rem; }
.out { display: flex; align-items: center; margin-top: 5px; min-height: 46px; padding: 0 12px; border-radius: 10px; background: var(--chip); font-weight: 800; font-size: 1.1rem; }
.total { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--green-soft); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.total strong { font-size: 1.15rem; color: var(--green-dark); }
.dur { font-weight: 600; }
@media (min-width: 640px) { .grid3 { grid-template-columns: 1fr 1fr 1fr; } }

/* accounts and employer preferences */
.narrow { max-width: 560px; margin: 0 auto; }
.gate { display: grid; gap: 6px; justify-items: center; }
.gate p { max-width: 46ch; }
.center-row { justify-content: center; }
.prefs { padding: 12px 16px; }
.prefs-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 6px; }
.prefs-head a { margin-left: auto; font-size: .9rem; font-weight: 600; }
.prefs p { margin: 0; }
#acctLink { border: 1.5px solid var(--green-line); background: var(--card); }

/* direct contact on a candidate profile */
.contact { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex-basis: 100%; }
.contact p { margin: 0 0 4px; flex-basis: 100%; }

/* Areas we cover */
.areas-head { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 22px 18px; margin-bottom: 20px; }
.areas-head h1 { margin: .1em 0 .3em; letter-spacing: -.01em; }
.areas-head .muted { color: #d6ecc8; }
.eyebrow { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #bfe6a5; }
.area-search { display: block; margin-top: 14px; font-weight: 600; color: #fff; }
.area-search input { margin-top: 6px; width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 0; background: #fff; color: #16191d; }
.areas-head #subHit { color: #fff; margin: 8px 0 0; font-weight: 600; }
.areas-head #subHit:empty { display: none; }
.metro { margin-bottom: 22px; }
.metro h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.15rem; }
.count-pill { font-size: .72rem; font-weight: 700; background: var(--green-soft); color: var(--green-dark); border-radius: 999px; padding: 4px 10px; }
.area-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); transition: opacity .15s; }
.area-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.area-card.dim { opacity: .4; }
.suburbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.suburbs li { background: var(--chip); border-radius: 999px; padding: 4px 10px; font-size: .85rem; }
.suburbs li.hit { background: var(--green-dark); color: #fff; font-weight: 600; }
.near { margin: 12px 0 0; font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.near span { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; color: var(--green-dark); margin-bottom: 2px; }
.soon h2 { font-size: 1.05rem; }
@media (prefers-reduced-motion: reduce) { .area-card { transition: none; } }

/* five menu links: keep each on one line; on phones the menu gets its own row and scrolls sideways if needed */
.site-nav a { white-space: nowrap; }
@media (max-width: 560px) {
  .site-header { position: static; }
  .logo img { height: 96px; }
  .site-nav { flex-basis: 100%; flex-wrap: wrap; gap: 2px 2px; margin: 0 -8px; padding: 0 8px; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 7px 9px; font-size: .85rem; }
}

/* Information pages (Areas, Job descriptions) share the deep green header */
.info-head { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 22px 18px; margin-bottom: 16px; }
.info-head h1 { margin: .1em 0 .3em; letter-spacing: -.01em; }
.info-head .muted { color: #d6ecc8; }
.info-head #jobHit { color: #fff; margin: 8px 0 0; font-weight: 600; }
.info-head #jobHit:empty { display: none; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab { font: inherit; font-weight: 600; font-size: .9rem; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tab:focus-visible, .job-card summary:focus-visible { outline: 3px solid #9be36b; outline-offset: 2px; }
.job-cat { margin-bottom: 26px; }
.cat-title { font-size: 1.3rem; margin-bottom: .2em; }
.cat-title + .muted { margin: 0 0 14px; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 18px 0 10px; }
.job-list { display: grid; gap: 10px; }
.job-card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow); }
.job-card summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; position: relative; display: grid; gap: 4px; }
.job-card summary::-webkit-details-marker { display: none; }
.job-card summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font-size: 1.4rem; font-weight: 700; color: var(--green); line-height: 1; }
.job-card[open] summary::after { content: "–"; }
.job-title { font-weight: 700; font-size: 1.02rem; }
.job-desc { color: var(--muted); font-size: .9rem; }
.job-body { padding: 0 16px 14px; border-top: 1px dashed var(--line); margin: 0 16px; padding-left: 0; padding-right: 0; }
.job-body h4 { margin: 12px 0 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); }
.job-body ul { margin: 0; padding-left: 20px; }
.job-body li { margin: 2px 0; }
.reports { margin: 12px 0 0; font-size: .9rem; }
.reports span { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); margin-bottom: 2px; }

/* Restaurant / hotel split for positions */
.sector-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 10px 0; background: var(--sunk); }
.sector-title { margin: 0 0 4px; font-size: .95rem; color: var(--green-dark); }
.group-label { margin: 10px 0 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
/* compact multi-select (employer positions and pay ranges) */
.tip { background: var(--green-soft); color: var(--ink); border-left: 4px solid var(--green); border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin: 8px 0 12px; }
.ms { border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); margin: 6px 0 10px; }
.ms[open] { border-color: var(--green); }
.ms summary { list-style: none; cursor: pointer; padding: 11px 40px 11px 14px; position: relative; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; min-height: 48px; }
.ms summary::-webkit-details-marker { display: none; }
.ms summary::after { content: ""; position: absolute; right: 16px; top: 19px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.ms[open] summary::after { transform: rotate(-135deg); top: 23px; }
.ms summary:focus-visible { outline: 3px solid #8fd36b; outline-offset: 2px; border-radius: 10px; }
.ms-title { font-weight: 600; }
.ms-count { font-size: .8rem; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 1px 8px; }
.ms-count:empty { display: none; }
.ms-picked { flex-basis: 100%; font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-body { border-top: 1px solid var(--line); padding: 4px 14px 12px; max-height: 60vh; overflow-y: auto; }
.ms-tools { display: flex; gap: 18px; }
.ms-opt { display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 0; padding: 8px 0; min-height: 40px; border-bottom: 1px solid var(--line); }
.ms-opt:last-of-type { border-bottom: 0; }
.ms-opt input { width: 20px; height: 20px; flex: none; accent-color: var(--green); }
.ms-done { margin-top: 8px; width: 100%; }
.ms .group-label { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .ms summary::after { transition: none; } }
.both-pill { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: .68rem; font-weight: 700; background: var(--green-soft); color: var(--green-dark); border-radius: 999px; padding: 2px 8px; }
.tab-n { display: inline-block; margin-left: 4px; font-size: .75rem; opacity: .8; }

/* Home page: about us, mission and vision */
.home-hero { background: var(--brand); color: #fff; border-radius: 20px; padding: 34px 20px 30px; text-align: center; margin-bottom: 26px; }
.home-hero h1 { font-size: 2rem; line-height: 1.15; margin: .25em auto .4em; max-width: 16em; letter-spacing: -.02em; text-wrap: balance; }
.home-hero p { color: #d6ecc8; font-size: 1.05rem; max-width: 34em; margin: 0 auto 1.1em; }
.home-hero .eyebrow { color: #bfe6a5; margin: 0; }
.home-hero .cta-row { justify-content: center; }
.btn-mint { background: var(--mint); color: #1f5a00; border-color: var(--mint); }
.btn-mint:hover { background: #fff; color: #1f5a00; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.kicker { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); }
.home-sec { margin: 0 0 26px; }
.home-sec h2 { font-size: 1.45rem; margin-top: .1em; text-wrap: balance; }
.home-sec p { max-width: 42em; }
.lead { font-size: 1.08rem; border-left: 4px solid var(--green); padding: 4px 0 4px 14px; }
.mv { display: grid; gap: 14px; margin: 0 0 26px; }
.mv-card { background: var(--mint); color: #16191d; border-radius: var(--radius); padding: 22px 20px; }
.mv-card .kicker { color: #1f5a00; }
.mv-card h2 { font-size: 1.25rem; line-height: 1.3; margin: .2em 0 .5em; text-wrap: balance; }
.mv-card p { margin: 0; color: #2f3a2b; }
.mv-card.alt { background: #16191d; color: #fff; }
.mv-card.alt .kicker { color: #9be36b; }
.mv-card.alt p { color: #c9d3c5; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.value { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 14px; }
.value h3 { margin: 0 0 4px; font-size: 1rem; }
.value p { margin: 0; font-size: .88rem; color: var(--muted); }
.card.side h2 { font-size: 1.2rem; margin-top: .1em; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.fineprint { font-size: .8rem; color: var(--muted); max-width: 52em; margin: 18px auto 0; text-align: center; }
@media (min-width: 640px) {
  .home-hero { padding: 48px 32px 40px; }
  .home-hero h1 { font-size: 2.6rem; }
  .mv { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
}
#app:focus, #app:focus-visible { outline: none; }
.planbar.pilot { background: var(--green-soft); border-color: var(--green-line); border-style: solid; color: var(--ink); }
.pilot-free { border: 2px solid var(--green); }
.pilot-free h3 { margin: .1em 0 .4em; font-size: 1.2rem; }
h3.after { margin-top: 22px; }
.price-grid.later .price { opacity: .85; }

/* Privacy and terms pages */
.legal { max-width: 720px; margin: 0 auto; }
.legal h2 { font-size: 1.15rem; margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; } .legal li { margin: 4px 0; }
.draft-flag { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .9rem; }

/* Server save status (database version) */
#netStatus { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 480px; margin: 0 auto; background: #b00020; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 0.95rem; box-shadow: 0 4px 16px rgba(0,0,0,.25); z-index: 50; }
#netStatus[hidden] { display: none; }

/* Found a job / reactivate */
.found-job { margin: 12px 0 4px; }
.btn-found { width: 100%; }
.found-job p { margin: 6px 0 0; }
/* Pricing: planned prices and "to be advised" */
.price-grid.three-up { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 480px) { .price-grid.three-up { gap: 8px; } .price-grid.three-up .price { padding: 18px 10px 12px; } .price-grid.three-up .amount { font-size: 1.45rem; } .price-grid.three-up em { left: 8px; } }
.price-grid.three-up .price em { background: var(--muted, #5b6570); }
.tba-list { margin: 0; }
.tba-list div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line, #e3e7eb); font-size: .92rem; }
.tba-list dt { font-weight: 600; }
.tba-list dd { margin: 0; color: var(--muted, #5b6570); font-style: italic; text-align: right; }

/* CV PDF footer (print only) */
.print-foot { display: none; margin-top: 22px; padding-top: 10px; border-top: 2px solid #2e7d00; font-size: .78rem; line-height: 1.45; color: #3d464f; break-inside: avoid; page-break-inside: avoid; }
.print-foot .pf-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: #2e7d00; }
.print-foot p { margin: 0 0 6px; }
.print-foot .pf-date { color: #5c6670; font-size: .72rem; }

/* Photo sides: computer screens only. Phones never download the photos. */
.photo-side { display: none; }
@media (min-width: 1000px) {
  body { background: #cfe5c0; }
  main { background: var(--bg); box-shadow: 0 0 28px rgba(20,60,0,.18); min-height: calc(100vh - 140px); padding: 22px 26px; }
  .photo-side { display: flex; flex-direction: column; gap: 3px; position: fixed; top: var(--hdr, 0px); bottom: 0; width: calc(50vw - 430px); z-index: -1; background: #cfe5c0; }
  .photo-side.left { left: 0; }
  .photo-side.right { right: 0; }
  .photo-side i { flex: 1; background: center 15% / cover no-repeat; }
  .photo-side::after { content: ""; position: absolute; inset: 0; }
  .photo-side.left::after { background: linear-gradient(to right, rgba(231,244,222,.05), rgba(231,244,222,.3)); }
  .photo-side.right::after { background: linear-gradient(to left, rgba(231,244,222,.05), rgba(231,244,222,.3)); }
}
@media (min-width: 1000px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body, :root:not([data-theme="light"]) .photo-side { background: #0f2a05; }
  :root:not([data-theme="light"]) .photo-side i { filter: brightness(.55); }
  :root:not([data-theme="light"]) .photo-side::after { background: none; }
}
@media print { .photo-side { display: none !important; } }

/* Page fillers under short pages: how it works, photo band, reasons */
.fill { margin: 26px 0 8px; }
.fill-title { text-align: center; font-size: 1.25rem; margin: 0 0 16px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.how li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; text-align: center; box-shadow: var(--shadow); }
.how h3 { font-size: 1rem; margin: 10px 0 4px; }
.how p { margin: 0; font-size: .9rem; color: var(--muted); }
.how-ico { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); }
.how-ico svg { width: 28px; height: 28px; }
.how-ico b { position: absolute; top: -4px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.photo-band { display: none; }
.why { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.why li { display: flex; gap: 12px; align-items: flex-start; background: var(--green-soft); border-radius: var(--radius); padding: 14px; }
.why svg { flex: none; width: 26px; height: 26px; color: var(--green-dark); margin-top: 2px; }
.why h3 { margin: 0 0 2px; font-size: .95rem; }
.why p { margin: 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .how { grid-template-columns: 1fr; } .how li { display: grid; grid-template-columns: 56px 1fr; gap: 2px 14px; text-align: left; align-items: center; } .how-ico { grid-row: span 2; } .how h3 { margin: 0; } .why { grid-template-columns: 1fr; } }
/* A soft strip of three photos between the two, computers only (phones never download them) */
@media (min-width: 1000px) {
  .photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; position: relative; height: 170px; margin: 18px 0 0; border-radius: var(--radius); overflow: hidden; }
  .photo-band i { background: center 25% / cover no-repeat; }
  .photo-band .pb1 { background-image: url(../assets/photos/welcome.webp); }
  .photo-band .pb2 { background-image: url(../assets/photos/team.webp); }
  .photo-band .pb3 { background-image: url(../assets/photos/chefs.webp); }
  .photo-band p { position: absolute; inset: auto 0 0 0; margin: 0; padding: 26px 18px 12px; background: linear-gradient(to top, rgba(31,90,0,.85), rgba(31,90,0,0)); color: #fff; font-weight: 700; font-size: 1.2rem; text-align: center; }
}

/* Example CVs: a rubber-stamp style label so nobody mistakes them for real people */
.is-sample { position: relative; }
.sample-stamp { position: absolute; z-index: 2; top: 14px; right: 12px; transform: rotate(-8deg); border: 2.5px solid #c0392b; color: #c0392b; background: rgba(255,255,255,.85); border-radius: 6px; padding: 3px 9px; font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.card.cv.is-sample .sample-stamp { position: static; display: inline-block; margin: 0 0 12px; font-size: .95rem; padding: 5px 12px; border-width: 3px; transform: rotate(-3deg); }
@media (max-width: 560px) { .result.is-sample .sample-stamp { position: static; display: inline-block; margin: 12px 0 0 14px; transform: rotate(-3deg); } }
.card.cv.is-sample::after { content: "SAMPLE"; position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(3rem, 14vw, 7rem); font-weight: 900; letter-spacing: .12em; color: rgba(192,57,43,.07); transform: rotate(-24deg); pointer-events: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sample-stamp { background: rgba(27,31,28,.9); color: #ff8a7a; border-color: #ff8a7a; } }
@media print { .sample-stamp { background: #fff; } }

/* Contact us */
.contact-page { max-width: 720px; margin: 0 auto; }
.contact-page h2 { font-size: 1.15rem; margin: 26px 0 12px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.contact-list h3 { margin: 0 0 4px; font-size: 1rem; }
.contact-list p { margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.contact-list a { font-weight: 700; word-break: break-all; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 560px) { .contact-list { grid-template-columns: 1fr; } }

/* Email composer on a candidate profile */
.composer h2 { margin: 0 0 4px; font-size: 1.15rem; }
.composer .tpl-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.composer textarea { width: 100%; font: inherit; font-weight: 400; line-height: 1.45; }
.composer input { font-weight: 400; }
.composer .send-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 600px) { .composer .send-row .btn { flex: 1 1 100%; text-align: center; } }

/* CV timer and email confirmation note */
.cv-timer { margin: 4px 0 12px; }
.cv-timer p:first-child { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; font-size: .93rem; }
.cv-timer strong { color: var(--green); }
.cv-timer .timer-bar { display: block; height: 10px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.cv-timer .timer-bar span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.cv-timer.warn strong { color: #a15c00; }
.cv-timer.warn .timer-bar span { background: #e08a00; }
.cv-timer .muted { margin: 6px 0 0; }
.email-note { background: #fff7e6; border: 1px solid #f0d199; border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: .92rem; }
.email-note p { margin: 0 0 8px; }
.email-note.ok { background: #eef7e9; border-color: #cfe6c4; color: #24520a; }
.btn-small { padding: 6px 12px; font-size: .85rem; min-height: 0; }
@media print { .cv-timer, .email-note { display: none !important; } }

/* ---------- Get the app ---------- */
.app-page { max-width: 860px; margin: 0 auto; }
.app-page h3 { font-size: 1rem; margin: 18px 0 6px; }
.app-grid { display: grid; gap: 16px; }
.app-grid .card { margin: 0; }
.app-card.mine { border-color: var(--green-line); box-shadow: 0 0 0 2px var(--green-line), var(--shadow); }
.app-steps { padding-left: 1.3em; line-height: 1.55; }
.app-steps li { margin: 6px 0; }
.app-done { border-color: var(--green-line); }
@media (min-width: 760px) { .app-grid { grid-template-columns: 1fr 1fr; } }

.app-bar { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 12px; background: var(--card); color: var(--ink);
  border: 1px solid var(--green-line); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.app-bar img { flex: none; border-radius: 50%; }
.app-bar p { flex: 1; margin: 0; font-size: .86rem; line-height: 1.3; min-width: 0; }
.app-bar p span { display: block; color: var(--muted); font-size: .8rem; }
.app-bar .btn { flex: none; padding: 8px 16px; min-height: 0; }
.app-bar-x { flex: none; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.app-bar-x:hover { background: var(--chip); }
body.has-appbar { padding-bottom: 88px; }
@media (min-width: 900px) { .app-bar { left: auto; max-width: 420px; } }

/* Employer credits: unlock a CV's contact details (added 23 Nov 2026) */
.planbar.credits-bar { background: var(--green-soft); border-color: var(--green-line); border-style: solid; color: var(--ink); }
.pill-lock { background: var(--warn-soft); color: var(--warn); }
.blur { filter: blur(5px); user-select: none; pointer-events: none; }
.hidden-contact .muted { font-size: .85em; }
.unlock-box { flex-basis: 100%; background: var(--warn-soft); border-radius: 12px; padding: 12px 14px; margin: 0 0 6px; }
.unlock-box h2 { font-size: 1.05rem; margin: 0 0 6px; }
.unlock-box p { margin: 0 0 8px; }
.unlock-box .note { background: var(--card); }
.unlock-timer { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0 0 6px; padding: 10px 12px; border-radius: 10px; background: var(--green-soft); font-size: .92rem; }
.unlock-timer strong { color: var(--green-dark); }
.wallet-card .balance { font-size: 2.2rem; font-weight: 800; margin: 0; color: var(--green-dark); line-height: 1.1; }
.wallet-card h3 { margin: 16px 0 4px; }
.credit-levels, .unlock-list { list-style: none; margin: 0; padding: 0; }
.credit-levels li { padding: 10px 0; border-top: 1px solid var(--line); }
.credit-levels li:first-child { border-top: 0; }
.lvl-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lvl-price { font-weight: 800; color: var(--green-dark); white-space: nowrap; }
.credit-levels details { margin-top: 4px; }
.credit-levels summary { cursor: pointer; color: var(--muted); }
.unlock-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.unlock-row:first-child { border-top: 0; }
.unlock-row .grow { flex: 1 1 220px; min-width: 0; }
.table-scroll { overflow-x: auto; }
table.tx { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.tx th, table.tx td { text-align: left; padding: 7px 6px; border-top: 1px solid var(--line); vertical-align: top; }
table.tx th { border-top: 0; color: var(--muted); font-weight: 600; font-size: .8rem; }
table.tx .num { text-align: right; white-space: nowrap; }
table.tx .plus { color: var(--green-dark); font-weight: 700; }
table.tx .minus { color: var(--warn); font-weight: 700; }
/* A locked CV cannot be printed or saved as a PDF */
@media print {
  #app.print-locked > * { display: none !important; }
  #app.print-locked::before { content: "This CV is locked. Unlock it on EZ Job (www.ezjob.co.za) to download or print it."; display: block; padding: 24px 0; font-size: 12pt; }
  .unlock-timer { display: none !important; }
}
.mkt-ask { border-color: var(--green); background: var(--green-soft, #eef7e9); }
.mkt-ask p { margin: 0 0 10px; }
.mkt-ask .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Social media links: footer icons and the Contact us page */
.foot-social { display: flex; gap: 10px; margin: 12px 0 0; }
.foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(231,244,222,.14); color: #fff; }
.foot-social a:hover, .foot-social a:focus-visible { background: var(--mint); color: #1f5a00; }
.social-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.social-list a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.social-list a:hover { border-color: var(--green); }
.social-list svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--green); color: #fff; box-sizing: border-box; }
.social-list span { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); }
.social-list strong { color: var(--ink); font-size: 1rem; }
@media (max-width: 560px) { .social-list { grid-template-columns: 1fr; } }
