/* ClinoJob website – one stylesheet, mobile first */
:root {
  --teal: #0E6E80; --teal-dark: #0B5664; --teal-soft: #DCEFF2;
  --ink: #1F2328; --muted: #4A535B; --faint: #6A737B;
  --line: #D0D4D8; --line-soft: #E3E6E9; --bg: #F4F5F6; --card: #FFFFFF; --chip: #E9ECEE;
  --ok: #1E7B45; --ok-soft: #DDF2E5; --warn-soft: #FFF3CD;
  --radius: 12px; --shadow: 0 1px 2px rgba(16, 24, 32, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --teal: #3BB3C6; --teal-dark: #67C7D6; --teal-soft: #12363D;
    --ink: #E8EAED; --muted: #B4BAC0; --faint: #959CA3;
    --line: #353B41; --line-soft: #2A2F34; --bg: #15181B; --card: #1E2226; --chip: #2A2F34;
    --ok: #5BC98A; --ok-soft: #173826; --warn-soft: #3A3218;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* lists set display:flex on labels; hidden must still win */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif; }
a { color: var(--teal); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .wrap { padding-left: 24px; padding-right: 24px; } }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 21px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
@media (max-width: 420px) { .hide-narrow { display: none !important; } .brand { font-size: 19px; gap: 8px; } .nav a { padding: 10px 8px; } }
.nav a:hover { background: var(--chip); }
.nav a[aria-current="page"] { font-weight: 700; color: var(--teal); }
.nav .nav-links { display: none; }
@media (min-width: 760px) { .nav .nav-links { display: flex; gap: 4px; } }

.subnav { display: flex; gap: 4px; overflow-x: auto; padding: 0 12px 8px; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; color: var(--ink); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px; background: var(--chip); white-space: nowrap; }
.subnav a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
@media (min-width: 760px) { .subnav { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--teal); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0D1F23; } }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-ghost { background: none; color: var(--teal); padding-left: 8px; padding-right: 8px; }
.btn-block { width: 100%; }
.nav .btn { padding: 8px 14px; min-height: 40px; }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { background: var(--teal-dark); }
@media (prefers-color-scheme: dark) { .nav a.btn-primary { color: #0D1F23; } }

/* Hero / search */
.hero { background: linear-gradient(180deg, var(--teal-soft) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 40px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 16px; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 44px); line-height: 1.15; }
h2 { margin: 0; font-size: clamp(22px, 3.2vw, 28px); line-height: 1.25; }
h3 { margin: 0; font-size: 18px; }
.lead { margin: 0; color: var(--muted); font-size: clamp(16px, 2.1vw, 19px); max-width: 720px; }
.search { display: flex; flex-wrap: wrap; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); max-width: 900px; }
.search label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.search .btn { flex: 1 1 140px; align-self: flex-end; min-height: 48px; }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid #A9B0B6; border-radius: 8px; padding: 11px 12px; min-height: 48px; width: 100%; }
@media (prefers-color-scheme: dark) { input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { border-color: #4A5158; } }
textarea { resize: vertical; line-height: 1.5; }
input[readonly] { background: var(--bg); color: var(--muted); }
select:disabled, input:disabled { opacity: .6; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: 14px; text-decoration: none; border: 1px solid transparent; }
a.chip:hover { border-color: var(--teal); }
.chip-outline { background: var(--card); border-color: var(--line); }
.chip .count { color: var(--faint); font-size: 13px; }

/* Sections */
.section { padding: 32px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 18px; }
.band { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* Job card */
.job { display: flex; flex-direction: column; gap: 10px; padding: 16px; text-decoration: none; color: var(--ink); position: relative; }
.job:hover { border-color: var(--teal); }
.job-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.logo { width: 48px; height: 48px; border-radius: 10px; background: var(--chip); flex: 0 0 auto; object-fit: cover; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); }
.job-title { font-size: 17px; font-weight: 650; line-height: 1.3; margin: 0; }
.job-title a { color: inherit; text-decoration: none; }
.job-title a::after { content: ""; position: absolute; inset: 0; }
.job-org { font-size: 14px; color: var(--muted); }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: 13px; font-weight: 600; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; }
.meta .chip { font-size: 13px; padding: 4px 10px; }
.posted { font-size: 13px; color: var(--faint); }

/* Jobs page */
.jobs-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .jobs-layout { grid-template-columns: 280px 1fr; } }
.filters { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.filters details { border-top: 1px solid var(--line-soft); padding: 10px 0; }
.filters details:first-of-type { border-top: 0; }
.filters summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.filters details[open] summary::after { content: "–"; }
.options { display: flex; flex-direction: column; gap: 2px; max-height: 248px; overflow: auto; margin-top: 6px; padding-right: 4px; }
.options label { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.options input { width: 18px; height: 18px; accent-color: var(--teal); flex: 0 0 auto; }
.filter-search { min-height: 40px !important; padding: 8px 10px !important; font-size: 14px !important; margin-top: 6px; }
.filter-actions { display: flex; gap: 8px; margin-top: 8px; }
.filter-toggle { display: inline-flex; }
@media (min-width: 960px) { .filter-toggle { display: none; } }
.filters-panel { display: none; }
.filters-panel.open { display: block; }
@media (min-width: 960px) { .filters-panel { display: block; position: sticky; top: 80px; } }
.results { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.result-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); }
.pager [aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 700; }
.pager .disabled { color: var(--faint); }

/* Job detail */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; }
.crumbs a { color: var(--muted); }
.detail-layout { display: grid; gap: 18px; align-items: start; padding: 16px 0 36px; }
@media (min-width: 960px) { .detail-layout { grid-template-columns: 1fr 320px; } }
.detail-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.fact span { display: block; font-size: 13px; color: var(--muted); }
.fact strong { font-size: 16px; }
.prose { overflow-wrap: anywhere; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; vertical-align: top; text-align: left; }
.prose p:first-child { margin-top: 0; }
.aside { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 960px) { .aside { position: sticky; top: 80px; } }
.notice { padding: 14px 16px; border-radius: 10px; background: var(--warn-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: s; }
.steps li { display: flex; gap: 10px; font-size: 14px; }
.steps li::before { counter-increment: s; content: counter(s); flex: 0 0 24px; height: 24px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }

/* C-Hub */
.video-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.thumb { position: relative; aspect-ratio: 16 / 9; background: var(--chip); border-radius: 10px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .badge { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.player { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 12px; background: #000; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: 14px; min-height: 40px; display: inline-flex; align-items: center; }
.tabs a[aria-current="true"] { background: var(--teal-soft); border-color: var(--teal); color: var(--teal-dark); font-weight: 600; }

/* Footer */
.site-footer { background: var(--card); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; margin-top: 24px; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.links a { color: var(--ink); }

/* Forms (profile) */
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.options .hint { display: block; }
.options > label { flex: 0 0 auto; }
.options > label:has(.hint) { align-items: flex-start; padding: 6px 0; }
.options > label:has(.hint) input { margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field-error { color: #B42318; font-size: 14px; }
@media (prefers-color-scheme: dark) { .field-error { color: #FDA29B; } }
[aria-invalid="true"] { border-color: #B42318 !important; box-shadow: 0 0 0 1px #B42318; }
fieldset.plain { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.plain legend { font-size: 14px; font-weight: 600; color: var(--muted); padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); max-height: none; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: 0 0 auto; }
.row-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.row-box legend { font-weight: 700; padding: 0 6px; }
.row-box[aria-busy="true"] select { opacity: .6; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.progress { flex: 1; height: 10px; min-height: 10px; background: var(--chip); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--chip); }
.profile h2 { font-size: 22px; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.js .no-js-only { display: none !important; }
.profile [id] { scroll-margin-top: 128px; }
@media (min-width: 760px) { .profile [id] { scroll-margin-top: 84px; } }

/* Popups (login, share) */
.dialog { border: 0; border-radius: 16px; padding: 24px; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--card); color: var(--ink); box-shadow: 0 24px 64px rgba(0, 0, 0, .3); }
#share-dialog { width: min(560px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(16, 24, 32, .6); }
.dialog h2 { font-size: 24px; padding-right: 40px; }
.dialog-close { position: absolute; top: 10px; right: 10px; margin: 0; }
.dialog-close .btn { min-height: 40px; padding: 6px 12px; font-size: 18px; }
.prefix { font-size: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--teal); text-decoration: underline; cursor: pointer; }
.share-text { white-space: pre-wrap; font: inherit; font-size: 14px; margin: 0; padding: 12px; background: var(--bg); border-radius: 8px; max-height: 200px; overflow: auto; }
input[type="tel"]::placeholder, input[type="text"]::placeholder { color: var(--faint); }

/* Header: icons, Google Play badge */
.nav-icon { display: inline-flex; align-items: center; gap: 6px; }
.play-badge { display: inline-block; align-self: flex-start; line-height: 0; }
.play-badge img { width: 162px; height: auto; margin-left: -10px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 18px; border-radius: 12px; }

/* App icons (public/site/icons) */
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.btn .icon { width: 22px; height: 22px; }

/* Home: hero with the resume challenge / recruiter photo */
.hero .wrap.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero .wrap.hero-grid { grid-template-columns: 1.15fr .85fr; } }
.badge { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--teal); color: var(--teal-dark); font-weight: 600; font-size: 14px; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 40px rgba(14, 110, 128, .18); }
.resume-mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 40px rgba(14, 110, 128, .18); max-width: 420px; justify-self: center; width: 100%; transform: rotate(-2deg); }
.resume-mock i { display: block; height: 9px; border-radius: 6px; background: var(--chip); }
.rm-head { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.rm-photo { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-soft); border: 3px solid var(--teal); flex: 0 0 auto; }
.rm-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.rm-lines i:first-child { height: 13px; background: var(--teal); opacity: .7; }
.rm-title { font-size: 12px; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }
.rm-done { align-self: flex-end; margin-top: 8px; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ticks li { display: inline-flex; gap: 6px; align-items: center; }
.ticks .icon { color: var(--ok); }

/* Home: the app's quick cards */
.quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .quick { grid-template-columns: repeat(4, 1fr); } }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; }
.quick a:hover { border-color: var(--teal); }
.quick .icon { width: 30px; height: 30px; color: var(--teal); }

/* Professions / organisation types with vacancies */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.tile:hover { border-color: var(--teal); }
.tile-img { display: block; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; background: var(--teal-soft); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.tiles-contain .tile-img { background: var(--card); border-bottom: 1px solid var(--line-soft); }
.tiles-contain .tile-img img { object-fit: contain; padding: 16px; }
@media (prefers-color-scheme: dark) { .tiles-contain .tile-img { background: #F4F5F6; } }
.count-pill { display: inline-block; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; text-align: center; }

/* Recruiter plans */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.plan-price { font-size: 28px; font-weight: 800; color: var(--teal-dark); }

/* The app's "Select User Role" */
.dialog-wide { width: min(760px, calc(100vw - 32px)); }
.role-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .role-cards { grid-template-columns: 1fr 1fr; } }
.role-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; }
.role-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; }
.role-card strong { font-size: 18px; padding: 0 4px; }
.role-card .small { padding: 0 4px; }
.role-card input { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; margin: 0; accent-color: var(--teal); }
.role-card:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.role-card:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Help on WhatsApp, bottom right */
.wa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #1DA851; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wa-fab .icon { width: 26px; height: 26px; }
.wa-fab:hover { background: #168f44; }
@media (max-width: 560px) { .wa-fab { padding: 12px; } .wa-fab-label { display: none; } }
body:has(.apply-bar) .wa-fab { bottom: 88px; }

/* Job card (app row + share / report / save / apply) */
.job-card { container-type: inline-size; }
.job-card .job-top { flex-wrap: wrap; align-items: flex-start; }
.job-card .logo { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--teal-soft); color: var(--teal-dark); }
.job-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.job-card .logo .icon { width: 30px; height: 30px; }
.job-head { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.job-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; flex: 1 0 100%; justify-content: flex-end; }
@container (min-width: 560px) { .job-actions { flex: 0 0 auto; } }
.job-actions .btn { min-height: 40px; padding: 8px 18px; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; padding: 0; text-decoration: none; }
.icon-btn:hover { border-color: var(--teal); color: var(--teal); }
.icon-btn .when-on, .icon-btn[aria-pressed="true"] .when-off { display: none; }
.icon-btn[aria-pressed="true"] .when-on { display: inline; color: var(--teal); }
.btn-ok { background: var(--ok-soft); color: var(--ok); }
.job-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.job-facts li { display: inline-flex; align-items: center; gap: 6px; }
.job-facts .icon, .posted .icon { width: 18px; height: 18px; color: var(--teal); }
.posted { display: inline-flex; align-items: center; gap: 6px; }

/* Job detail, laid out like the app */
.job-detail { max-width: 860px; display: flex; flex-direction: column; gap: 14px; padding-bottom: 110px; }
.job-detail h2 { font-size: 20px; margin-bottom: 10px; }
.detail-top { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 22px; }
.detail-top h1 { font-size: clamp(22px, 4vw, 30px); }
.detail-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.logo-lg { width: 88px; height: 88px; border-radius: 18px; overflow: hidden; background: var(--teal-soft); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; margin-top: 30px; }
.logo-lg img { width: 100%; height: 100%; object-fit: cover; }
.logo-lg .icon { width: 44px; height: 44px; }
.info-list { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 6px; padding-bottom: 6px; }
@media (min-width: 640px) { .info-list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.info-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.info-list span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.info-list .icon { width: 18px; height: 18px; color: var(--teal); }
.info-list strong { text-align: right; overflow-wrap: anywhere; }
.salary-big { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 22px; font-weight: 700; color: var(--teal-dark); }
.salary-big .icon { width: 24px; height: 24px; }
.share-friend { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.share-friend:hover { border-color: var(--teal); }
.share-friend .icon { width: 28px; height: 28px; }
.share-friend strong { flex: 1; }
.share-friend .arrow { width: 22px; height: 22px; color: var(--teal); }
.apply-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
.apply-bar .wrap { max-width: 860px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; padding-top: 12px; padding-bottom: 12px; }
.apply-bar .btn-primary.btn-lg { flex: 1 1 260px; max-width: 520px; }
.apply-bar .btn .icon { width: 20px; height: 20px; }

/* Confirmation message */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 30; margin: 0; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--card); font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); max-width: calc(100vw - 32px); }
body:has(.apply-bar) .toast { bottom: 96px; }

/* Profile steps, hub and resume (like the app) */
.step-names { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.step-names li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.step-names li[aria-current="step"] { background: var(--teal); color: #fff; font-weight: 700; }
.step-names li.done { background: var(--teal-soft); color: var(--teal-dark); }
@media (prefers-color-scheme: dark) { .step-names li[aria-current="step"] { color: #0D1F23; } }
.step-nav { justify-content: space-between; }
.step-nav .btn-lg { flex: 0 1 260px; }
.photo-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.photo-form input[type="file"] { flex: 1 1 200px; }
.counts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.counts a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.counts strong { font-size: 26px; color: var(--teal-dark); }
.counts span { font-size: 14px; color: var(--muted); }
.edit-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .edit-cards { grid-template-columns: 1fr 1fr; } }
.edit-cards li { display: flex; gap: 12px; align-items: center; }
.menu { list-style: none; margin: 0; padding: 4px 0; }
.menu li + li { border-top: 1px solid var(--line-soft); }
.menu a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.menu a:hover { background: var(--bg); }
.menu a > span { flex: 1; }
.menu .icon { width: 22px; height: 22px; color: var(--teal); }
.menu .arrow { width: 18px; height: 18px; color: var(--faint); }
.resume-frame { width: 100%; min-height: 640px; border: 1px solid var(--line); background: #fff; padding: 0; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.how li { display: flex; flex-direction: column; gap: 6px; }
.how-n { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.how-n .icon { width: 20px; height: 20px; }

/* Apply flow */
.apply-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.apply-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); text-align: center; }
.apply-steps li span { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--chip); color: var(--muted); font-weight: 700; }
.apply-steps li.done { color: var(--ok); }
.apply-steps li.done span { background: var(--ok-soft); color: var(--ok); }
.apply-steps li[aria-current="step"] { color: var(--ink); font-weight: 700; }
.apply-steps li[aria-current="step"] span { background: var(--teal); color: #fff; }
.confirm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.confirm-list li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.confirm-list span { color: var(--muted); }
.confirm-list strong { text-align: right; }
.plan-pick { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; border-color: var(--teal); background: var(--teal-soft); }
.success-tick { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.success-tick .icon { width: 40px; height: 40px; }

/* Verification (the app's User Documents) */
.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.doc-list li { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.doc-state { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; margin-right: 6px; }
.doc-state.ok { background: var(--ok-soft); color: var(--ok); }
.doc-state.missing { background: #F8D7DA; color: #842029; }
.pending-card { border-color: #E0B400; background: var(--warn-soft); }
.pending-icon { font-size: 34px; line-height: 1; }
details.card > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 4px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card[open] > summary { margin-bottom: 14px; }

/* Job seeker dashboard (the app's Home tab) */
.dash-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; }
.loc-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); text-decoration: none; font-weight: 600; }
.loc-pill .icon { width: 18px; height: 18px; }
.dash-search { flex: 1 1 340px; display: flex; gap: 8px; margin: 0; }
.dash-search input { flex: 1; }
.slides { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.slides li { flex: 0 0 min(560px, 88%); scroll-snap-align: start; }
.slides img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: var(--radius); display: block; }
.notice-row { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
a.card.notice-row:hover { border-color: var(--teal); }
.notice-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 22px; }
.notice-icon .icon { width: 24px; height: 24px; }
.notice-row .arrow, .pref-rows .arrow { width: 20px; height: 20px; color: var(--teal); }
.pref-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .pref-rows { grid-template-columns: repeat(3, 1fr); } }
.pref-rows a { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; text-decoration: none; color: var(--ink); height: 100%; }
.pref-rows a:hover { border-color: var(--teal); }
.pref-img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--teal-soft); flex: 0 0 auto; }
.pref-img img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.brand-text { color: var(--teal-dark); font-weight: 700; }
.mini-counts { display: flex; gap: 16px; flex-wrap: wrap; }
.mini-counts strong { font-size: 22px; color: var(--teal-dark); margin-right: 2px; }

/* Recruiter dashboard (the app's RecruiterDashboardFragment) */
.dash-welcome { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } .stat-grid-6 { grid-template-columns: repeat(6, 1fr); } }
.stat-grid li { display: flex; flex-direction: column; gap: 2px; padding: 14px; }
.stat-grid-6 li { padding: 10px 4px; border-radius: 10px; background: var(--bg); align-items: center; text-align: center; }
.stat-grid strong { font-size: 28px; color: var(--teal-dark); }
.stat-grid span { color: var(--muted); font-size: 14px; }
.list-rows { list-style: none; margin: 0; padding: 4px 0; }
.list-rows li { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 16px; }
.list-rows li + li { border-top: 1px solid var(--line-soft); }
.list-rows a { color: var(--ink); text-decoration: none; }
.list-rows a:hover strong { color: var(--teal); }
.pill-count { font-size: 14px; padding: 4px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
.status-tag { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--chip); color: var(--muted); font-weight: 700; }
.status-tag.ok { background: var(--ok-soft); color: var(--ok); }
.status-tag.bad { background: #F8D7DA; color: #842029; }
.avatar-sm { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--teal-soft); color: var(--teal-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

/* Recruiter: organisation type / profession picker tiles (radio), wide form fields, page header with actions */
.form-grid .span-2 { grid-column: 1 / -1; }
.pick-tiles .tile { cursor: pointer; position: relative; }
.pick-tiles .tile:has(input:checked) { border: 2px solid var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.pick-tiles .tile:has(input:checked)::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 999px; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.pick-tiles .tile:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.pick-tiles .tile:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs-row a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--card); font-weight: 600; }
.tabs-row a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.job-row { display: flex; flex-direction: column; gap: 10px; }
.job-row .row-actions { flex-wrap: wrap; }
.status-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.status-pill.ok { background: var(--ok-soft); color: var(--ok); }
.status-pill.warn { background: var(--warn-soft); color: var(--ink); }
.status-pill.bad { background: #F8D7DA; color: #842029; }
.status-pill.info { background: var(--teal-soft); color: var(--ink); }
.btn-danger { color: #842029; border-color: #E6A3AA; }
.logout-confirm summary { list-style: none; cursor: pointer; }
.logout-confirm summary::-webkit-details-marker { display: none; }
.logout-confirm[open] summary { display: none; }
.menu-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.menu-card:hover { border-color: var(--teal); }
.inline-confirm { position: relative; }
.inline-confirm summary { list-style: none; cursor: pointer; }
.inline-confirm summary::-webkit-details-marker { display: none; }
.confirm-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(300px, 80vw); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 8px; margin: 0; }

/* Search box inside a column (Job Tracker, C-Hub): one line, never stretched */
.search-bar { display: flex; gap: 8px; margin: 0; align-items: stretch; flex: 0 0 auto; width: 100%; max-width: 720px; }
.search-bar input { flex: 1 1 auto; min-width: 0; min-height: 46px; }
.search-bar .btn { flex: 0 0 auto; }
/* Job Tracker stages on the job card */
.stage-chips { position: relative; z-index: 1; margin: 2px 0 0; }
.stage-chips .stage-done { background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
.stage-chips .stage-bad { background: #F8D7DA; color: #842029; font-weight: 600; }

/* Header: notification bell with the new-notification count, account menu with the photo / logo */
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; border-radius: 999px; color: var(--ink); }
.bell .icon { width: 24px; height: 24px; }
.bell[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
.bell-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #E32A3C; color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--card); }
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: inline-flex; padding: 3px; border-radius: 999px; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.user-menu[open] summary, .user-menu summary:hover { box-shadow: 0 0 0 2px var(--teal); }
.user-avatar { width: 40px !important; height: 40px !important; font-weight: 700; }
.user-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.user-menu-pop a { padding: 9px 10px !important; border-radius: 8px; }
.user-menu-pop .user-menu-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-pop form { margin-top: 8px !important; }

/* Progress bars fill up when the page opens */
.progress { height: 12px; min-height: 12px; }
.progress > span { background: linear-gradient(90deg, var(--teal), #2EC4B6); animation: progress-fill 1s ease-out both; }
@keyframes progress-fill { from { width: 0; } }
@media (prefers-reduced-motion: reduce) { .progress > span { animation: none; } }

/* C-Hub */
.chub-page { padding-top: 20px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 18px; }
.chub-hero { position: relative; overflow: hidden; border-radius: 20px; padding: clamp(20px, 4vw, 36px); color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #2EC4B6 0%, rgba(46, 196, 182, 0) 55%), linear-gradient(135deg, #0E6E80 0%, #0A4F5C 100%);
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.chub-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.chub-hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.chub-hero h1 { color: #fff; font-size: clamp(28px, 5vw, 42px); }
.chub-hero p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 17px; }
.chub-kicker { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.chub-stats { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.chub-stats strong { color: #fff; font-size: 20px; margin-right: 4px; }
.chub-search { position: relative; z-index: 1; }
.chub-search input { border-color: transparent; }
.chub-search .btn-primary { background: #fff; color: var(--teal-dark); border-color: #fff; }
.chub-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chub-chips::-webkit-scrollbar { display: none; }
.chub-chips a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.chub-chips a[aria-current="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.chub-types a[aria-current="true"] { background: var(--ink); border-color: var(--ink); }
.video-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 14px; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.video-card:hover { transform: translateY(-2px); border-color: var(--teal); }
.video-card .thumb img { transition: transform .3s ease; }
.video-card:hover .thumb img { transform: scale(1.04); }
.video-card .play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.video-card .play svg { margin-left: 3px; }
.video-card .badge { font-size: 11.5px; }
.video-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.video-prof { align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--teal-dark); background: var(--teal-soft); padding: 2px 10px; border-radius: 999px; }
.video-card.portrait .thumb { aspect-ratio: 9 / 14; }
.shorts-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.shorts-row .video-card { flex: 0 0 clamp(150px, 42vw, 190px); scroll-snap-align: start; }
.shorts-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); }
.chub-band { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .video-card, .video-card .thumb img { transition: none; } .video-card:hover { transform: none; } }

/* Office address (footer, About Us) */
.office { font-style: normal; display: flex; gap: 8px; align-items: flex-start; color: var(--muted); line-height: 1.5; }
.office .icon { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--teal); }
.office strong { color: var(--ink); }
.office-map { width: 100%; aspect-ratio: 16 / 9; min-height: 240px; border: 0; border-radius: 12px; background: var(--chip); }

/* Find Jobs: the job seeker's preference chips (the app's toolbar chips) */
.pref-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: -4px; }
.pref-chips::-webkit-scrollbar { display: none; }
.pref-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent; }
.pref-chips a:hover { border-color: var(--teal); }
.pref-chips a[aria-current="true"] { background: var(--teal); color: #fff; }
.pref-chips .icon { width: 16px; height: 16px; }
