/* Khukuri HR Consultancy — explicit LIGHT theme.
   color-scheme: light + explicit background/text on EVERY control, so no browser
   theme can pair dark text with a dark background (or vice versa). */
:root { color-scheme: light; --bg:#ffffff; --bg2:#f7f3e8; --card:#ffffff; --line:#d7dee8;
  --text:#1c2430; --muted:#4a5a6e; --navy:#101030; --navy2:#12294d; --blue:#2563eb; --blue2:#1d4ed8; --gold:#d4a017; --gold2:#f0c040;
  --radius:14px; }
* { box-sizing:border-box; }
html { color-scheme: light; background:var(--bg); }
body { margin:0; background:var(--bg); color:var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height:1.6; }
a { color:var(--navy); }
a:visited { color:var(--navy); }
h1,h2,h3 { line-height:1.25; margin:.4em 0; color:var(--text); }
h2 { color:var(--navy); font-size:28px; font-weight:800; letter-spacing:-.5px; }
p { color:var(--text); }
.muted { color:var(--muted); }
.muted-light { color:#cdd8e8; }
.wrap { max-width:1280px; margin:0 auto; padding:0 24px; }
.ticker { background:var(--blue); color:#ffffff; font-size:13px; padding:8px 0; font-weight:600; text-align:center; }
.ticker .wrap { color:#ffffff; }
header.top { position:sticky; top:0; z-index:20; background:var(--navy); border-bottom:1px solid rgba(255,255,255,.14); }
header.top .wrap { display:flex; align-items:center; gap:18px; padding-top:10px; padding-bottom:10px; flex-wrap:wrap; }
.logo { font-size:22px; font-weight:800; color:#ffffff; text-decoration:none; letter-spacing:.3px; display:flex; align-items:center; gap:12px; }
.logo-img { border-radius:50%; object-fit:cover; display:block; background:var(--navy); }
.footer-logo { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.footer-logo b { font-size:17px; }
.logo span { color:var(--gold2); }
nav.main { display:flex; gap:20px; flex-wrap:wrap; margin-left:auto; }
.header-actions { display:flex; gap:10px; align-items:center; margin-left:8px; }
.header-actions .btn { margin:0; }
.btn.header-wa, a.btn.header-wa, a.btn.header-wa:visited { background:transparent; color:#ffffff; border:1.5px solid rgba(255,255,255,.6); }
.btn.header-wa:hover, a.btn.header-wa:hover { background:#ffffff; color:var(--navy); }
.btn.header-wa:active, a.btn.header-wa:active { background:#e8eef7; color:var(--navy); }
.btn.header-apply, a.btn.header-apply, a.btn.header-apply:visited { background:var(--blue2); border-color:var(--blue2); color:#ffffff; }
.btn.header-apply:hover, a.btn.header-apply:hover { background:#1e40af; color:#ffffff; }
.btn.header-apply:active, a.btn.header-apply:active { background:#1e3a8a; color:#ffffff; }
nav.main a { color:#dbe4f0; text-decoration:none; font-weight:600; padding:6px 2px; font-size:14px; }
nav.main a:hover { color:#ffffff; text-decoration:underline; }
nav.main a:visited { color:#dbe4f0; }
.nav-toggle { display:none; background:#ffffff; color:var(--navy); border:1px solid #ffffff; border-radius:8px; padding:6px 12px; font-size:18px; cursor:pointer; margin-left:auto; }
.hero { background:linear-gradient(115deg,var(--navy) 0%,var(--navy2) 58%,#1b3a63 100%); color:#ffffff; padding:72px 0 0; min-height:92vh; display:flex; flex-direction:column; }
.hero > .wrap:first-child { flex:1; display:flex; flex-direction:column; justify-content:center; width:100%; padding-top:48px; padding-bottom:48px; }
.hero-search-wrap { width:100%; padding-bottom:32px; }
.hero-searchbar { margin:0; }
.hero .wrap { text-align:left; }
.hero-eyebrow { color:var(--gold2); font-weight:700; font-size:14px; letter-spacing:.4px; margin:0 0 12px; }
.hero h1 { font-size:64px; line-height:1.05; max-width:720px; margin:0 0 16px; color:#ffffff; font-weight:800; letter-spacing:-1px; }
.hero p.lead { color:#cdd8e8; max-width:560px; margin:0 0 24px; font-size:17px; }
.hero-actions { margin:0 0 18px; }
.hero-actions .btn { margin:0 8px 0 0; }
/* Buttons — explicit colours in EVERY state (default/hover/active/focus/visited).
   a.btn / button.btn selectors outrank plain link rules, so a link colour can
   never leak into a button (that leak made gold buttons blue-text and turned
   clicked blue buttons dark-blue-on-blue). */
.btn, a.btn, button.btn { display:inline-block; background:var(--gold); color:#1a1200; border:1px solid #b8890f; border-radius:999px; padding:12px 22px; font-size:15px; font-weight:700; cursor:pointer; text-decoration:none; margin:4px; }
.btn:visited, a.btn:visited { background:var(--gold); color:#1a1200; }
.btn:hover, a.btn:hover, button.btn:hover { background:var(--gold2); color:#1a1200; text-decoration:none; }
.btn:active, a.btn:active, button.btn:active { background:#b8890f; color:#1a1200; }
.btn.blue, a.btn.blue, button.btn.blue, .btn.blue:visited, a.btn.blue:visited { background:#1d4ed8; border-color:#1d4ed8; color:#ffffff; }
.btn.blue:hover, a.btn.blue:hover, button.btn.blue:hover { background:#1e40af; color:#ffffff; text-decoration:none; }
.btn.blue:active, a.btn.blue:active, button.btn.blue:active { background:#1e3a8a; color:#ffffff; }
.btn.ghost, a.btn.ghost, button.btn.ghost, .btn.ghost:visited, a.btn.ghost:visited { background:transparent; color:#ffffff; border:1.5px solid #ffffff; }
.btn.ghost:hover, a.btn.ghost:hover, button.btn.ghost:hover { background:#ffffff; color:var(--navy); text-decoration:none; }
.btn.ghost:active, a.btn.ghost:active, button.btn.ghost:active { background:#e8eef7; color:var(--navy); }
.btn.ghost-dark, a.btn.ghost-dark, button.btn.ghost-dark, .btn.ghost-dark:visited, a.btn.ghost-dark:visited { background:#ffffff; color:var(--navy); border:1.5px solid #8fa3bd; }
.btn.ghost-dark:hover, a.btn.ghost-dark:hover, button.btn.ghost-dark:hover { background:var(--navy); color:#ffffff; border-color:var(--navy); text-decoration:none; }
.btn.ghost-dark:active, a.btn.ghost-dark:active, button.btn.ghost-dark:active { background:#12294d; color:#ffffff; border-color:#12294d; }
.btn.danger, a.btn.danger, button.btn.danger, .btn.danger:visited, a.btn.danger:visited { background:#991b1b; border-color:#991b1b; color:#ffffff; }
.btn.danger:hover, a.btn.danger:hover, button.btn.danger:hover { background:#7f1d1d; color:#ffffff; text-decoration:none; }
.btn.danger:active, a.btn.danger:active, button.btn.danger:active { background:#7f1d1d; color:#ffffff; }
.btn:focus-visible, a.btn:focus-visible, button.btn:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.btn.small { padding:7px 12px; font-size:13px; }
section { padding:56px 0; }
section.jobs-dark { background:#101030; color:#e8ecf3; }
.jobs-head { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:6px; }
.jobs-head h2 { color:#ffffff; font-size:40px; margin:0; }
.jobs-head .btn { margin:0; white-space:nowrap; }
.sub-light { color:#aab8cc; margin:0 0 28px; }
.job-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:1020px){ .job-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .job-grid { grid-template-columns:1fr; } }
/* Compact dark job cards — .job-card.job-dark beats the white .card rule */
.job-card.job-dark { background:#101f3d; border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:20px; color:#e8ecf3; box-shadow:0 8px 24px rgba(0,0,0,.28); height:auto; }
.job-card.job-dark h3 { color:#ffffff; font-size:17px; line-height:1.3; margin:12px 0 4px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.job-card.job-dark p { color:#c6cede; font-size:13px; margin:6px 0; }
.job-top { display:flex; align-items:center; gap:10px; }
.job-avatar { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#ffffff; font-size:18px; font-weight:800; flex:0 0 40px; }
.job-status { background:var(--gold); color:#1a1200; margin-left:0; }
.job-save { margin-left:auto; color:#93a3b8; width:32px; height:32px; border:1px solid rgba(255,255,255,.2); border-radius:50%; display:flex; align-items:center; justify-content:center; text-decoration:none; }
.job-save:hover { color:#ffffff; border-color:#ffffff; }
.job-save:visited { color:#93a3b8; }
.job-save:focus-visible { outline:3px solid #f0c040; outline-offset:2px; }
.job-country { color:#c6cede; font-weight:600; font-size:13px; }
.job-tags { display:flex; flex-wrap:wrap; gap:6px; }
.job-tags .tag { background:rgba(255,255,255,.09); color:#e8ecf3; border:1px solid rgba(255,255,255,.08); border-radius:8px; padding:4px 9px; font-size:11.5px; font-weight:600; }
.job-meta { font-size:12.5px; margin:4px 0; }
.job-salary { border-top:1px dashed rgba(255,255,255,.25); padding-top:10px; margin-top:10px; }
.job-salary b { color:#ffffff; }
.job-apply { margin:10px 0 0; }
.job-apply .btn.small { padding:6px 14px; font-size:12.5px; }
.searchbar { display:flex; gap:10px; background:#ffffff; border:1px solid #e3e0d2; border-radius:16px; box-shadow:0 12px 32px rgba(16,16,48,.16); padding:12px; margin:-58px 0 0; position:relative; z-index:5; }
.searchbar input, .searchbar select { margin:0; border:1px solid #d7dee8; }
.searchbar input { flex:2; }
.searchbar select { flex:1; }
.searchbar .btn { flex:0 0 auto; margin:0; white-space:nowrap; }
.searchbar-page { margin:18px 0 0; box-shadow:0 6px 18px rgba(16,16,48,.10); }
.chips { display:flex; gap:8px; flex-wrap:wrap; margin:16px 0 4px; }
.chip { display:inline-block; background:#ffffff; color:var(--navy); border:1px solid #d7dee8; border-radius:999px; padding:7px 16px; font-size:14px; font-weight:600; text-decoration:none; }
.chip:visited { color:var(--navy); }
.chip:hover { background:var(--navy); color:#ffffff; border-color:var(--navy); }
.chip:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin:34px 0 8px; }
.stat-item { border-top:3px solid var(--blue); padding-top:14px; }
.stat-item b { display:block; font-size:40px; line-height:1.1; color:var(--navy); font-weight:800; letter-spacing:-1px; }
.stat-item span { color:var(--muted); font-size:14px; }
.page-head { padding:40px 0 8px; }
.page-head h1 { font-size:34px; color:var(--navy); font-weight:800; letter-spacing:-.5px; }
.sub { color:#5a6675; margin-bottom:18px; }
.card { background:var(--card); color:var(--text); border:1px solid #e7e9ee; border-radius:16px; padding:20px; box-shadow:0 2px 10px rgba(16,16,48,.05); }
.card b, .card h3 { color:var(--navy); }
.card p { font-size:14px; color:#4a5563; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
.job-card p { font-size:14px; }
.badge { display:inline-block; background:var(--navy); color:#ffffff; border-radius:999px; padding:2px 10px; font-size:12px; font-weight:700; }
/* services render as .service-grid boxes (v1.7.5) */
.ic { vertical-align:-3px; flex:0 0 auto; }
.logo .ic { vertical-align:-4px; color:var(--gold2); }
.flag-badge { display:inline-block; background:var(--navy); color:#ffffff; border-radius:6px; padding:1px 7px; font-size:12px; font-weight:800; letter-spacing:.5px; margin-right:4px; }
/* Standalone login page — light page, white card, navy header band. No sidebar. */
.login-page { background:#f4f6fa; color:#1c2430; }
.login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px 16px; }
.login-card { background:#ffffff; color:#1c2430; border:1px solid #dfe5ee; border-radius:18px; width:100%; max-width:420px; overflow:hidden; box-shadow:0 18px 44px rgba(16,16,48,.14); }
.login-head { background:#101030; color:#ffffff; text-align:center; padding:28px 24px 20px; }
.login-logo .logo-img { margin:0 auto 10px; border:2px solid #d4a017; border-radius:50%; }
.login-brand { color:#ffffff; font-weight:800; font-size:19px; }
.login-sub { color:#f0c040; font-size:13px; font-weight:700; letter-spacing:.4px; }
.login-body { padding:22px 26px 26px; }
.login-body h1 { color:#101030; text-align:center; font-size:20px; margin:0 0 14px; }
.login-body input { background:#ffffff; color:#1c2430; border:1.5px solid #b9c4d4; }
.login-body input:focus { outline:2px solid #1d4ed8; outline-offset:1px; border-color:#1d4ed8; }
.login-body label { color:#1c2430; font-size:13px; font-weight:600; }
.login-body .muted { color:#46586e; font-size:12.5px; text-align:center; }
.login-btn, button.btn.login-btn { width:100%; text-align:center; background:#d4a017; border-color:#b8890f; color:#1a1200; font-size:14px; }
.login-btn:hover, button.btn.login-btn:hover { background:#f0c040; color:#1a1200; }
.login-btn:active, button.btn.login-btn:active { background:#b8890f; color:#1a1200; }
.login-btn:focus-visible, button.btn.login-btn:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.side-logo .logo-img { border-radius:50%; }
.admin-chip .logo-img { border-radius:50%; }
/* stories render as .story-card boxes (v1.7.5) */
.warn { background:#fff4e0; color:var(--text); border:1px solid var(--gold2); border-radius:12px; padding:16px; font-size:14px; }
.warn b { color:#7a5200; }
.contact { background:var(--navy); color:#ffffff; border-radius:20px; padding:32px 28px; }
.contact h2 { color:#ffffff; }
.contact a { color:var(--gold2); }
.contact p { color:#ffffff; margin:8px 0; }
footer.site { background:#101030; color:#93a3b8; padding:40px 0 28px; margin-top:20px; }
footer.site a { color:#ffffff; }
footer.site b { color:#ffffff; }
footer.site p { color:#93a3b8; }
footer.site .cols { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; }
.statgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px; }
.stat { background:var(--navy); color:#ffffff; border:1px solid var(--navy); border-radius:12px; padding:16px; text-align:center; }
.stat b { display:block; font-size:30px; color:#ffffff; }
.stat span { color:#cdd9ec; }
input, select, textarea { background:#ffffff; color:var(--text); border:1px solid #8a9bb0; border-radius:10px; padding:11px 12px; font-size:15px; width:100%; }
input::placeholder, textarea::placeholder { color:#6b7c90; }
input:focus, select:focus, textarea:focus { outline:2px solid var(--navy); outline-offset:1px; }
input[type="checkbox"] { width:auto; }
label { display:block; font-weight:700; color:var(--text); margin:14px 0 6px; }
form.inline { display:inline; }
.filter-form label { margin-top:8px; }
table { width:100%; border-collapse:collapse; background:var(--card); color:var(--text); }
th, td { border-bottom:1px solid var(--line); padding:10px 8px; text-align:left; vertical-align:top; }
th { color:#ffffff; background:var(--navy); }
.notice { background:#e6f4ea; color:#14532d; border:1px solid #34a853; border-radius:10px; padding:12px 14px; }
.error { background:#fde8e8; color:#7f1d1d; border:1px solid #991b1b; border-radius:10px; padding:12px 14px; }
/* Admin v1.5.0 — navy sidebar + light content (matches logo / public site).
   Explicit colours on every control so any browser theme stays readable. */
.admin-page { background:#f4f6fa; color:#1c2430; color-scheme:light; font-size:14px; line-height:1.5; }
.admin-page h1 { color:#101030; font-size:20px; font-weight:700; line-height:1.3; }
.admin-page h2 { color:#101030; font-size:15px; font-weight:700; line-height:1.35; }
.admin-page p { color:#33404f; }
.admin-page .muted { color:#46586e; font-size:12.5px; }
.admin-page a { color:#1d4ed8; }
.admin-page a:visited { color:#1d4ed8; }
.admin-page a:hover { color:#1e40af; text-decoration:underline; }
.admin-page .card { background:#ffffff; color:#1c2430; border:1px solid #dfe5ee; border-radius:16px; padding:18px; box-shadow:0 2px 10px rgba(16,16,48,.05); margin-bottom:16px; }
.admin-page .card b, .admin-page .card h3 { color:#101030; }
.admin-page .card p { color:#33404f; font-size:13.5px; }
.admin-page input, .admin-page select, .admin-page textarea { background:#ffffff; color:#1c2430; border:1.5px solid #b9c4d4; border-radius:10px; font-size:14px; padding:9px 11px; }
.admin-page input::placeholder, .admin-page textarea::placeholder { color:#5b6b82; }
.admin-page input:focus, .admin-page select:focus, .admin-page textarea:focus { outline:2px solid #1d4ed8; outline-offset:1px; border-color:#1d4ed8; }
.admin-page label { color:#1c2430; font-size:13px; font-weight:600; }
/* Admin buttons: smaller type + colour armour. These selectors (0,3,1+)
   outrank .admin-page a / a:visited (0,1,1 / 0,2,1), so button text can
   never be recoloured by the link rules in any state. */
.admin-page .btn { font-size:13px; padding:9px 16px; }
.admin-page .btn.small { font-size:12.5px; padding:6px 12px; }
.admin-page a.btn, .admin-page a.btn:visited, .admin-page button.btn { color:#1a1200; text-decoration:none; }
.admin-page a.btn:hover, .admin-page button.btn:hover { color:#1a1200; text-decoration:none; }
.admin-page a.btn:active, .admin-page button.btn:active { color:#1a1200; }
.admin-page a.btn.blue, .admin-page a.btn.blue:visited, .admin-page button.btn.blue { color:#ffffff; }
.admin-page a.btn.blue:hover, .admin-page a.btn.blue:active, .admin-page button.btn.blue:hover, .admin-page button.btn.blue:active { color:#ffffff; }
.admin-page a.btn.danger, .admin-page a.btn.danger:visited, .admin-page button.btn.danger { color:#ffffff; }
.admin-page a.btn.danger:hover, .admin-page a.btn.danger:active, .admin-page button.btn.danger:hover { color:#ffffff; }
.admin-page a.btn.ghost-dark, .admin-page a.btn.ghost-dark:visited, .admin-page button.btn.ghost-dark { color:#101030; }
.admin-page a.btn.ghost-dark:hover, .admin-page a.btn.ghost-dark:active, .admin-page button.btn.ghost-dark:hover { color:#ffffff; }
.admin-page a.btn.ghost, .admin-page a.btn.ghost:visited { color:#ffffff; }
.admin-page a.btn.ghost:hover { color:#101030; }
.admin-shell { display:flex; min-height:100vh; align-items:stretch; }
.admin-sidebar { width:240px; flex:0 0 240px; background:#101030; color:#ffffff; position:sticky; top:0; height:100vh; overflow-y:auto; padding:16px 12px; display:flex; flex-direction:column; z-index:60; }
.side-top { display:flex; align-items:center; gap:10px; padding:4px 6px 14px; border-bottom:1px solid rgba(255,255,255,.14); }
.side-logo .logo-img { border:2px solid #d4a017; }
.side-brand { color:#ffffff; font-size:14.5px; font-weight:800; line-height:1.2; flex:1; min-width:0; }
.side-brand small { display:block; color:#f0c040; font-size:11.5px; font-weight:700; }
.side-collapse { background:rgba(255,255,255,.10); color:#ffffff; border:1px solid rgba(255,255,255,.25); border-radius:8px; width:34px; height:34px; cursor:pointer; flex:0 0 34px; display:flex; align-items:center; justify-content:center; }
.side-collapse:hover { background:#d4a017; color:#1a1200; }
.side-label { color:#a8bdd6; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin:16px 10px 6px; }
.admin-sidebar a.side-link { display:flex; align-items:center; gap:10px; background:transparent; color:#dbe4f0; text-decoration:none; padding:9px 12px; border-radius:10px; font-weight:600; font-size:13.5px; margin:2px 0; }
.admin-sidebar a.side-link:hover { background:rgba(255,255,255,.10); color:#ffffff; text-decoration:none; }
.admin-sidebar a.side-link:visited { color:#dbe4f0; text-decoration:none; }
.admin-sidebar a.side-link.active { background:#d4a017; color:#1a1200; }
.admin-sidebar a.side-link.active:visited { color:#1a1200; }
.admin-sidebar a.side-link.active:hover { background:#f0c040; color:#1a1200; text-decoration:none; }
.admin-sidebar a.side-link:focus-visible, .side-collapse:focus-visible, .admin-toggle:focus-visible { outline:3px solid #f0c040; outline-offset:2px; }
.side-foot { margin-top:auto; padding-top:16px; border-top:1px solid rgba(255,255,255,.14); }
.side-ver { color:#a8bdd6; font-size:11px; padding:0 10px 6px; }
.side-overlay { display:none; position:fixed; inset:0; background:rgba(16,16,48,.55); z-index:55; }
.side-overlay.show { display:block; }
.admin-main { flex:1; min-width:0; display:flex; flex-direction:column; }
.admin-topbar { position:sticky; top:0; z-index:40; background:#ffffff; border-bottom:1px solid #dfe5ee; display:flex; align-items:center; gap:12px; padding:10px 20px; flex-wrap:wrap; }
.admin-toggle { display:none; background:#101030; color:#ffffff; border:1px solid #101030; border-radius:8px; padding:8px 10px; cursor:pointer; align-items:center; }
.top-title { font-size:18px; font-weight:700; color:#101030; }
.top-search { display:flex; align-items:center; gap:8px; background:#f4f6fa; border:1.5px solid #d7dee8; border-radius:999px; padding:6px 14px; flex:1 1 220px; max-width:420px; color:#46586e; }
.top-search:focus-within { border-color:#1d4ed8; box-shadow:0 0 0 3px rgba(29,78,216,.18); }
.top-search input { border:0; background:transparent; padding:4px 0; font-size:13.5px; width:100%; color:#1c2430; }
.top-search input:focus { outline:none; border:0; }
.top-view { color:#101030; font-weight:700; text-decoration:none; font-size:13px; display:inline-flex; align-items:center; gap:5px; }
.top-view:visited { color:#101030; }
.top-view:hover { color:#1d4ed8; text-decoration:underline; }
.top-view:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; border-radius:6px; }
.admin-chip { display:flex; align-items:center; gap:8px; margin-left:auto; font-weight:800; color:#101030; font-size:13.5px; line-height:1.15; }
.admin-chip small { display:block; color:#46586e; font-weight:600; font-size:11px; }
.admin-topbar .btn { margin:0; }
.admin-content { max-width:1400px; width:100%; margin:0 auto; padding:20px 20px 36px; }
/* cards, KPIs, pipeline */
.card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.card-head h2 { margin:0; }
.card-head a { font-weight:700; font-size:13px; text-decoration:none; color:#1d4ed8; }
.card-head a:visited { color:#1d4ed8; }
.card-head a:hover { color:#1e40af; text-decoration:underline; }
.card-head .btn { margin:0; }
.card-foot { margin:12px 0 0; }
.count-pill { background:#eef2f8; color:#101030; border-radius:999px; padding:1px 9px; font-size:12px; font-weight:800; vertical-align:2px; }
.dash-welcome { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:14px; }
.dash-welcome h2 { font-size:22px; font-weight:800; letter-spacing:-.3px; margin:2px 0 4px; }
.dash-welcome p { margin:0; }
.dash-date { color:#46586e; font-weight:700; font-size:12.5px; }
.dash-actions { display:flex; gap:8px; flex-wrap:wrap; }
.dash-actions .btn { margin:0; }
.kpi-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:16px; align-items:stretch; }
.kpi { background:#ffffff; border:1px solid #dfe5ee; border-radius:16px; padding:16px 18px; text-decoration:none; box-shadow:0 2px 10px rgba(16,16,48,.05); display:flex; flex-direction:column; height:100%; }
.admin-page a.kpi, .admin-page a.kpi:visited { color:#1c2430; text-decoration:none; }
.kpi:hover { border-color:#1d4ed8; text-decoration:none; }
.kpi:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.kpi-label { display:block; font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:#46586e; }
.kpi b { display:block; font-size:26px; line-height:1.15; color:#101030; margin:4px 0 2px; }
.kpi small { color:#46586e; font-size:12.5px; }
.kpi b.k-blue { color:#1d4ed8; } .kpi b.k-amber { color:#b45309; } .kpi b.k-green { color:#047857; }
.pipe { display:flex; align-items:stretch; gap:6px; flex-wrap:wrap; }
.pipe-step { display:flex; flex-direction:column; align-items:center; justify-content:center; flex:1 1 0; min-width:78px; padding:10px 8px; border-radius:12px; text-decoration:none; border:1px solid transparent; }
.admin-page a.pipe-step, .admin-page a.pipe-step:visited { text-decoration:none; }
.admin-page a.pipe-step b { font-size:18px; line-height:1.15; color:#101030; }
.admin-page a.pipe-step span { font-size:11.5px; font-weight:700; }
.admin-page a.pipe-step.b-blue span { color:#1e40af; }
.admin-page a.pipe-step.b-indigo span { color:#3730a3; }
.admin-page a.pipe-step.b-amber span { color:#92400e; }
.admin-page a.pipe-step.b-purple span { color:#5b21b6; }
.admin-page a.pipe-step.b-pink span { color:#9d174d; }
.admin-page a.pipe-step.b-green span { color:#065f46; }
.pipe-step:hover { border-color:#101030; text-decoration:none; }
.pipe-step:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.pipe-arrow { color:#5b6b82; font-weight:800; align-self:center; }
.small-note { font-size:12.5px; margin:10px 0 0; }
.dash-cols { display:grid; grid-template-columns:2fr 1fr; gap:16px; align-items:start; }
.mini-row { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #eef2f8; }
.mini-row:last-of-type { border-bottom:0; }
.mini-date { background:#f4f6fa; border:1px solid #dfe5ee; border-radius:10px; padding:6px 10px; text-align:center; min-width:86px; }
.mini-date b { display:block; color:#101030; font-size:13px; }
.mini-date small { color:#46586e; font-size:11.5px; }
.mini-main { flex:1; min-width:0; }
.mini-main b { display:block; color:#101030; font-size:13.5px; }
.mini-main small { color:#46586e; font-size:12.5px; }
.version-card b { color:#101030; }
.empty { background:#f8fafc; border:1px dashed #c4cfdd; border-radius:12px; padding:16px; color:#46586e; font-size:13px; text-align:center; }
/* tables */
.table-wrap { overflow-x:auto; border:1px solid #dfe5ee; border-radius:12px; }
.admin-page table { width:100%; border-collapse:collapse; background:#ffffff; color:#1c2430; font-size:13px; }
.admin-page thead th { position:sticky; top:0; background:#101030; color:#ffffff; font-size:12px; font-weight:700; letter-spacing:.3px; padding:10px 12px; text-align:left; z-index:2; }
.admin-page td { border-bottom:1px solid #eef2f8; padding:9px 12px; vertical-align:middle; }
.admin-page tbody tr:hover td { background:#f8fafc; }
.admin-page tbody tr:last-child td { border-bottom:0; }
.row-actions { white-space:nowrap; }
.row-actions a { font-weight:700; text-decoration:none; color:#1d4ed8; }
.row-actions a:visited { color:#1d4ed8; }
.row-actions a:hover { color:#1e40af; text-decoration:underline; }
.row-actions a.btn:hover { text-decoration:none; }
.row-actions a:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; border-radius:4px; }
.row-actions .btn { margin:0 2px; }
.cell-person { display:flex; align-items:center; gap:10px; }
.cell-person b { color:#101030; }
.cell-person small { display:block; color:#46586e; font-size:12px; }
.cell-person a { text-decoration:none; color:#101030; }
.cell-person a:visited { color:#101030; }
.cell-person a:hover { color:#1d4ed8; text-decoration:underline; }
.avatar { width:38px; height:38px; flex:0 0 38px; border-radius:50%; background:#101030; color:#f0c040; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13.5px; border:2px solid #d4a017; }
/* badges */
.badge { display:inline-block; border-radius:999px; padding:3px 9px; font-size:11.5px; font-weight:700; white-space:nowrap; }
.b-blue { background:#dbeafe; color:#1e40af; }
.b-indigo { background:#e0e7ff; color:#3730a3; }
.b-amber { background:#fef3c7; color:#92400e; }
.b-purple { background:#ede9fe; color:#5b21b6; }
.b-pink { background:#fce7f3; color:#9d174d; }
.b-green { background:#d1fae5; color:#065f46; }
.b-red { background:#fee2e2; color:#991b1b; }
.b-grey { background:#e5e7eb; color:#374151; }
/* forms */
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px 18px; }
.form-grid .field.full { grid-column:1 / -1; }
.field label { margin:10px 0 5px; }
.save-bar { position:sticky; bottom:0; background:#ffffff; border-top:1px solid #dfe5ee; padding:14px 0 2px; margin-top:16px; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.save-bar .btn { margin:0; }
.filter-bar { display:flex; gap:12px; align-items:flex-end; flex-wrap:wrap; margin-bottom:14px; }
.filter-bar .field { min-width:180px; }
.filter-bar .field.grow { flex:1 1 240px; }
.filter-actions { display:flex; gap:8px; padding-bottom:2px; }
.filter-actions .btn { margin:0; }
.form-card { max-width:980px; }
/* applicant detail */
.back-link { margin:0 0 12px; }
.back-link a { font-weight:700; text-decoration:none; color:#1d4ed8; }
.back-link a:visited { color:#1d4ed8; }
.back-link a:hover { color:#1e40af; text-decoration:underline; }
.client-head { padding:20px; }
.client-id { display:flex; gap:14px; align-items:flex-start; }
.client-id .avatar { width:56px; height:56px; flex-basis:56px; font-size:19px; }
.client-photo { width:56px; height:56px; flex:0 0 56px; border-radius:50%; object-fit:cover; border:2px solid #d4a017; background:#101030; }
.client-id h2 { font-size:20px; margin:0 0 4px; }
.client-id p { margin:3px 0; }
.client-status { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.stepper { display:flex; align-items:center; gap:4px; margin-top:18px; flex-wrap:wrap; }
.step { display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; color:#46586e; }
.step-dot { width:26px; height:26px; border-radius:50%; background:#e5e7eb; color:#374151; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; }
.step.current { color:#101030; }
.step.current .step-dot { background:#d4a017; color:#1a1200; border:2px solid #101030; }
.step.done { color:#065f46; }
.step.done .step-dot { background:#d1fae5; color:#065f46; }
.step-line { flex:1 1 14px; height:2px; background:#dfe5ee; min-width:10px; }
.detail-cols { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start; }
.kv { display:flex; justify-content:space-between; gap:16px; padding:9px 0; border-bottom:1px solid #eef2f8; }
.kv:last-child { border-bottom:0; }
.kv span { color:#46586e; font-size:13px; font-weight:600; }
.kv b { color:#101030; text-align:right; font-size:13.5px; }
.progress { height:10px; background:#eef2f8; border-radius:999px; overflow:hidden; margin-bottom:14px; }
.progress span { display:block; height:100%; background:#101030; border-radius:999px; }
.pay-totals { display:flex; gap:22px; flex-wrap:wrap; margin:0 0 12px; }
.pay-totals span { color:#46586e; font-size:13px; }
.pay-totals b { color:#101030; font-size:16px; }
/* collapsed icon rail */
.admin-shell.collapsed .admin-sidebar { width:72px; flex-basis:72px; padding:16px 10px; }
.admin-shell.collapsed .side-brand, .admin-shell.collapsed .side-label, .admin-shell.collapsed .side-ver, .admin-shell.collapsed .side-link span { display:none; }
.admin-shell.collapsed .side-top { flex-direction:column; }
.admin-shell.collapsed a.side-link { justify-content:center; padding:11px 0; }
.adminbar { background:var(--navy); color:#ffffff; padding:10px 0; border-bottom:3px solid var(--gold); }
.adminbar .wrap { display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; }
.adminbar b { color:#ffffff; margin-right:8px; }
.adminbar a { color:#ffffff; font-weight:600; }
.to-confirm { color:#b3541e; font-weight:700; }
@media (max-width:720px){
  .hero { padding:48px 18px 84px; }
  .hero { min-height:80vh; }
  .hero h1 { font-size:38px; }
  .jobs-head h2 { font-size:28px; }
  .searchbar { flex-direction:column; }
  .searchbar .btn { width:100%; }
  .stats { grid-template-columns:1fr 1fr; gap:16px; }
  ul.services { grid-template-columns:1fr; }
  .header-actions { display:none; }
  .page-head h1 { font-size:28px; }
  .nav-toggle { display:block; }
  nav.main { display:none; width:100%; flex-direction:column; gap:4px; }
  nav.main.open { display:flex; }
  table { display:block; overflow-x:auto; }
  .admin-toggle { display:flex; }
  .admin-sidebar { position:fixed; left:0; top:0; z-index:60; transform:translateX(-100%); transition:transform .2s; height:100dvh; }
  .admin-sidebar.open { transform:translateX(0); }
  .admin-topbar { padding:10px 12px; }
  .admin-content { padding:16px 12px 32px; }
  .top-search { order:5; flex-basis:100%; max-width:none; }
  .kpi-grid { grid-template-columns:1fr 1fr; }
  .dash-cols, .detail-cols { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
  .admin-shell.collapsed .admin-sidebar { width:240px; flex-basis:240px; }
  .admin-shell.collapsed .side-brand, .admin-shell.collapsed .side-label, .admin-shell.collapsed .side-ver, .admin-shell.collapsed .side-link span { display:block; }
  .admin-shell.collapsed .side-link span { display:inline; }
}

/* ===== v1.5.2 — modern stepper, pipeline cards, detail polish, audit fixes =====
   Overrides only; v1.5.1 button-contrast armour and type scale are kept. */
/* Cards + section headers */
.admin-page .card { border-color:#e2e8f2; box-shadow:0 4px 16px rgba(16,16,48,.06); }
.card-head h2 { display:flex; align-items:center; }
.sec-ic { width:30px; height:30px; border-radius:9px; background:#101030; color:#f0c040; display:inline-flex; align-items:center; justify-content:center; margin-right:9px; flex:0 0 30px; }
.sec-ic .ic { vertical-align:0; }
/* Inputs: visible borders, 40px height, blue focus ring */
.admin-page input, .admin-page select { height:40px; border:1.5px solid #cbd5e1; border-radius:10px; }
.admin-page textarea { border:1.5px solid #cbd5e1; border-radius:10px; }
.admin-page input:focus, .admin-page select:focus, .admin-page textarea:focus { outline:none; border-color:#1d4ed8; box-shadow:0 0 0 3px rgba(29,78,216,.18); }
.login-body input { height:42px; border:1.5px solid #cbd5e1; border-radius:10px; }
.login-body input:focus { outline:none; border-color:#1d4ed8; box-shadow:0 0 0 3px rgba(29,78,216,.18); }
/* Topbar: long titles truncate instead of pushing controls off */
.top-title { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:280px; min-width:0; flex:0 1 auto; }
/* KPI icon chips */
.kpi { position:relative; }
.kpi-ic { position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:10px; background:#eef2f8; color:#101030; display:flex; align-items:center; justify-content:center; }
/* Dashboard pipeline: segmented cards matching the stepper language */
.pipe { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; }
.pipe-card { display:flex; flex-direction:column; gap:2px; background:#ffffff; border:1px solid #e2e8f2; border-top:3px solid #101030; border-radius:12px; padding:12px; text-decoration:none; min-width:0; }
.admin-page a.pipe-card, .admin-page a.pipe-card:visited { color:#1c2430; text-decoration:none; }
.pipe-card:hover { border-color:#101030; box-shadow:0 6px 16px rgba(16,16,48,.08); text-decoration:none; }
.pipe-card:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.pipe-top { display:flex; align-items:center; gap:6px; }
.pipe-dot { width:8px; height:8px; border-radius:50%; background:#101030; flex:0 0 8px; }
.pipe-stepno { font-size:10px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:#64748b; }
.pipe-card b { font-size:22px; line-height:1.15; color:#101030; }
.pipe-label { font-size:12px; font-weight:700; color:#64748b; }
.pipe-bar { display:block; height:5px; background:#e5eaf2; border-radius:999px; overflow:hidden; margin-top:8px; }
.pipe-bar span { display:block; height:100%; background:#101030; border-radius:999px; }
/* Applicant progress bar with stages (design B, v1.5.3) — solid professional navy */
.pbar-wrap { margin-top:20px; }
.pbar-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.pbar-stage { font-size:13px; font-weight:800; color:#101030; }
.pbar-pct { font-size:12px; font-weight:700; color:#64748b; white-space:nowrap; }
.pbar { position:relative; height:12px; margin:0 16px; background:#e5eaf2; border-radius:999px; }
.pbar-fill { display:block; height:100%; background:#101030; border-radius:999px; transition:width .3s ease; }
.pbar-dots { position:absolute; inset:0; }
.pbar-dot { position:absolute; top:50%; transform:translate(-50%,-50%); width:24px; height:24px; border-radius:50%; background:#ffffff; border:2px solid #d7dee8; color:#94a3b8; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; box-sizing:border-box; }
.pbar-dot.done { background:#101030; border-color:#101030; color:#ffffff; }
.pbar-dot.current { width:28px; height:28px; background:#ffffff; border:3px solid #d4a017; }
.pbar-centre { width:10px; height:10px; border-radius:50%; background:#101030; display:block; }
.pbar-labels { position:relative; height:20px; margin:10px 16px 0; }
.pbar-label { position:absolute; top:0; transform:translateX(-50%); font-size:12px; font-weight:600; color:#64748b; white-space:nowrap; display:inline-flex; align-items:center; gap:3px; }
.pbar-label.first { transform:translateX(0); }
.pbar-label.last { transform:translateX(-100%); }
.pbar-label.done { color:#101030; font-weight:700; }
.pbar-label.current { color:#101030; font-weight:800; }
.stepper-rejected { display:flex; gap:12px; align-items:flex-start; background:#fef2f2; border:1px solid #fecaca; color:#991b1b; border-radius:12px; padding:14px 16px; margin-top:18px; }
.stepper-rejected b { display:block; color:#991b1b; font-size:14px; }
.stepper-rejected span { color:#7f1d1d; font-size:13px; }
.rej-ic { width:32px; height:32px; flex:0 0 32px; border-radius:50%; background:#dc2626; color:#ffffff; display:flex; align-items:center; justify-content:center; }
/* Profile grid (label above value — no lonely right-aligned dashes) */
.profile-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px 20px; }
.profile-item span { display:block; font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:#5b6b82; margin-bottom:4px; }
.profile-item p { margin:0; color:#101030; font-weight:600; font-size:13.5px; overflow-wrap:anywhere; }
.profile-item.full { grid-column:1 / -1; }
.not-provided { color:#8494ab; font-weight:500; font-style:normal; }
/* Documents checklist rows */
.doc-list { display:flex; flex-direction:column; }
.doc-row { display:flex; align-items:center; gap:12px; padding:9px 12px; border:1px solid #e3eaf4; border-left:4px solid #cbd5e1; border-radius:12px; margin-bottom:8px; background:#ffffff; }
.doc-row.doc-submitted { border-left-color:#2563eb; }
.doc-row.doc-verified { border-left-color:#047857; background:#f4fbf7; }
.doc-row.doc-rejected { border-left-color:#dc2626; background:#fef6f6; }
.doc-ic { width:34px; height:34px; flex:0 0 34px; border-radius:10px; background:#eef2f8; color:#101030; display:flex; align-items:center; justify-content:center; }
.doc-name { flex:1; min-width:0; font-weight:700; color:#101030; font-size:13.5px; }
.doc-select { width:160px; flex:0 0 160px; }
.progress { height:10px; background:#e5eaf2; border:1px solid #d7dee8; border-radius:999px; overflow:hidden; margin-bottom:14px; }
.progress span { display:block; height:100%; background:#101030; border-radius:999px; transition:width .3s ease; }
/* Tables: uppercase headers, dotted badges, ghost action buttons, truncation */
.admin-page thead th { text-transform:uppercase; font-size:11px; letter-spacing:.6px; }
.admin-page .badge { display:inline-flex; align-items:center; gap:6px; }
.admin-page .badge::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.85; flex:0 0 6px; }
.td-truncate { max-width:260px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.act-btn, .admin-page a.act-btn, .admin-page a.act-btn:visited { display:inline-flex; align-items:center; gap:5px; padding:6px 10px; border:1.5px solid #cbd5e1; border-radius:8px; background:#ffffff; color:#101030; font-size:12.5px; font-weight:700; text-decoration:none; cursor:pointer; font-family:inherit; }
.admin-page a.act-btn:hover, .act-btn:hover { background:#eef2f8; border-color:#101030; color:#101030; text-decoration:none; }
.admin-page a.act-btn:active, .act-btn:active { background:#e2e8f2; color:#101030; }
.act-btn:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.act-danger, .admin-page button.act-danger { color:#991b1b; border-color:#fecaca; }
.act-danger:hover, .admin-page button.act-danger:hover { background:#fee2e2; border-color:#dc2626; color:#991b1b; }
.act-danger:active { background:#fecaca; color:#991b1b; }
/* Empty states */
.empty-state { border:1.5px dashed #c4cfdd; background:#f8fafc; border-radius:14px; padding:22px 16px; text-align:center; color:#46586e; }
.empty-state .empty-ic { width:44px; height:44px; margin:0 auto 10px; border-radius:12px; background:#eef2f8; color:#101030; display:flex; align-items:center; justify-content:center; }
.empty-state p { margin:0 0 12px; font-size:13px; color:#46586e; }
.empty-state .btn { margin:0; }
/* Settings grouped cards + page-level sticky save bar */
.settings-card { margin-bottom:16px; }
.save-bar-page { position:sticky; bottom:0; background:#f4f6fa; border-top:1px solid #dfe5ee; padding:14px 0; margin-top:4px; z-index:5; }
@media (max-width:1020px){
  .pipe { grid-template-columns:repeat(3,1fr); }
  .top-title { max-width:180px; }
  .top-view { display:none; }
  .top-search { max-width:300px; }
}
@media (max-width:720px){
  .pbar { margin:0 12px; }
  .pbar-labels { position:static; height:auto; margin:10px 0 0; display:grid; grid-template-columns:repeat(3,1fr); gap:6px 4px; }
  .pbar-label { position:static; transform:none; font-size:11px; justify-content:center; text-align:center; white-space:normal; }
  .pbar-label.first, .pbar-label.last { transform:none; }
  .pbar-head { flex-wrap:wrap; }
  .pipe { grid-template-columns:repeat(2,1fr); }
  .profile-grid { grid-template-columns:1fr; }
  .doc-select { width:140px; flex-basis:140px; }
  .top-title { max-width:140px; }
  .admin-chip span { display:none; }
}

/* v1.5.4 — applicant profile fields + document uploads */
.form-note { font-size:12.5px; color:#46586e; margin:0 0 12px; }
.doc-row { display:block; }
.doc-form { display:block; }
.doc-main { display:flex; align-items:center; gap:12px; }
.doc-file { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:9px; padding:8px 10px; background:#f8fafc; border:1px solid #e3eaf4; border-radius:10px; }
.doc-file-name { display:inline-flex; align-items:center; gap:6px; font-weight:700; color:#101030; font-size:12.5px; overflow-wrap:anywhere; }
.doc-file-name small { color:#5b6b82; font-weight:600; }
.doc-file-none { color:#8494ab; font-size:12.5px; }
.doc-upload { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:9px; }
.doc-upload input[type="file"] { flex:1 1 220px; min-width:0; font-size:12.5px; color:#1c2430; background:#ffffff; border:1.5px solid #cbd5e1; border-radius:10px; padding:7px 10px; }
.doc-upload input[type="file"]:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.doc-remove { margin-top:9px; }
.profile-item p a { color:#1d4ed8; font-weight:700; overflow-wrap:anywhere; }
.profile-item p a:hover { text-decoration:underline; }
.error ul { margin:6px 0 0; padding-left:18px; }
.error a { color:#7f1d1d; font-weight:800; }
@media (max-width:720px){
  .doc-main { flex-wrap:wrap; }
  .doc-select { flex:1 1 140px; }
  .doc-file .btn { margin-left:auto; }
}

/* v1.6.0 Part A — demands, operations cards, dashboard alerts */
.alert-list { display:flex; flex-direction:column; }
.alert-row { display:flex; align-items:center; gap:12px; padding:10px 12px; border:1px solid #e3eaf4; border-radius:12px; margin-bottom:8px; background:#ffffff; }
.admin-page a.alert-row, .admin-page a.alert-row:visited { color:#1c2430; text-decoration:none; }
.alert-row:hover { border-color:#101030; background:#f8fafc; text-decoration:none; }
.alert-row:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.alert-row .badge { flex:0 0 auto; }
.alert-main { flex:1; min-width:0; }
.alert-main b { display:block; color:#101030; font-size:13.5px; }
.alert-main small { color:#46586e; font-size:12.5px; }
.alert-go { color:#1d4ed8; font-weight:700; font-size:12.5px; white-space:nowrap; }
.all-clear { display:flex; align-items:center; gap:10px; background:#f0fdf4; border:1px solid #bbf7d0; color:#14532d; border-radius:12px; padding:14px 16px; font-weight:700; font-size:13.5px; }
.all-clear .ic { color:#047857; flex:0 0 auto; }
.gates { background:#f8fafc; border:1px solid #e3eaf4; border-radius:12px; padding:12px 14px; margin-bottom:14px; }
.gates-head { margin:0 0 8px; font-weight:800; color:#101030; font-size:13px; }
.gates ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px 16px; }
.gates li { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; }
.gate-ic { width:20px; height:20px; flex:0 0 20px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; border:2px solid #cbd5e1; background:#ffffff; color:#ffffff; }
.gate-done { color:#065f46; }
.gate-done .gate-ic { background:#047857; border-color:#047857; }
.gate-todo { color:#64748b; }
.warn-banner { display:flex; gap:10px; align-items:flex-start; background:#fffbeb; border:1px solid #f59e0b; color:#92400e; border-radius:12px; padding:12px 14px; margin-top:16px; font-size:13.5px; font-weight:600; }
.warn-banner b { color:#92400e; }
.warn-banner .ic { color:#b45309; flex:0 0 auto; margin-top:1px; }
.mini-badges { display:flex; gap:5px; flex-wrap:wrap; margin-top:5px; }
.mini-badges .badge { font-size:10.5px; padding:2px 7px; }
.cell-sub { display:block; color:#46586e; font-size:12px; }
.demand-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:16px; }
.demand-stat { background:#ffffff; border:1px solid #e2e8f2; border-radius:12px; padding:14px 12px; text-align:center; box-shadow:0 2px 10px rgba(16,16,48,.05); }
.demand-stat b { display:block; font-size:24px; line-height:1.15; color:#101030; }
.demand-stat span { display:block; margin-top:2px; font-size:11px; font-weight:800; letter-spacing:.5px; text-transform:uppercase; color:#5b6b82; }
.balance-big { font-size:28px; }
.ops-summary { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; align-items:center; }
@media (max-width:720px){
  .gates ul { grid-template-columns:1fr; }
  .demand-stats { grid-template-columns:1fr 1fr; }
  .alert-row { flex-wrap:wrap; }
  .alert-go { margin-left:auto; }
}

/* ===== v1.6.0 Part B: money, reports, history, users, print ===== */
.head-actions{display:inline-flex;gap:8px;flex-wrap:wrap;align-items:center}
.money-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:12px 0}
.money-item{background:#f4f6fa;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px}
.money-item span{display:block;font-size:12px;color:#46586e;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.money-item b{font-size:17px;color:#101030}
.balance-due{color:#b91c1c}
.balance-settled{color:#15803d}
.mixed-note{background:#fffbeb;border:1px solid #f59e0b;color:#92400e;border-radius:8px;padding:9px 12px;font-size:13px;margin:10px 0}
.totals-box{background:#f4f6fa;border:1px solid #e2e8f0;border-radius:10px;padding:10px 14px;margin:12px 0;font-size:13.5px}
.totals-box p{margin:4px 0}
.report-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.report-row{display:flex;align-items:center;gap:10px;margin:7px 0;font-size:13.5px}
.report-label{flex:0 0 170px;color:#1e293b}
.report-label a{color:#1d4ed8}
.report-bar{flex:1;height:12px;background:#e5eaf2;border-radius:999px;overflow:hidden}
.report-bar span{display:block;height:100%;background:#101030;border-radius:999px}
.report-row b{min-width:28px;text-align:right;color:#101030}
.report-cur{padding:8px 0;border-bottom:1px solid #eef2f7;font-size:14px}
.report-cur small{color:#46586e}
.history-list{list-style:none;margin:0;padding:0}
.history-list li{display:flex;gap:10px;align-items:baseline;padding:7px 0;border-bottom:1px solid #eef2f7;font-size:13px}
.history-when{flex:0 0 128px;color:#46586e;font-size:12px}
.history-what{flex:1;color:#1e293b}
.history-who{flex:0 0 auto;color:#46586e;font-size:12px;font-weight:600}
.pagination{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:16px;font-size:13.5px;color:#46586e}
.user-actions .inline-form{display:inline-flex;gap:6px;align-items:center;margin:2px 4px 2px 0}
.user-actions select,.user-actions input[type=password]{height:32px;font-size:13px;padding:0 8px}
.restore-steps li{margin:6px 0;font-size:14px}
/* Print pages (receipt + applicant profile) */
.print-page{background:#f4f6fa;color:#111827;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding:20px 12px 40px}
.print-actions{max-width:760px;margin:0 auto 14px;display:flex;gap:10px}
.receipt,.profile-print{max-width:760px;margin:0 auto;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:30px 34px;box-shadow:0 4px 18px rgba(16,16,48,.08)}
.receipt-head{display:flex;gap:14px;align-items:center;border-bottom:3px solid #101030;padding-bottom:14px;margin-bottom:16px}
.receipt-head b{font-size:20px;color:#101030;display:block}
.receipt-head small{color:#46586e;font-size:12.5px}
.receipt h1,.profile-print h1{font-size:22px;color:#101030;margin:8px 0 16px;text-align:center}
.profile-print h1{text-align:left}
.profile-print h2{font-size:15px;color:#101030;margin:20px 0 8px;border-bottom:1px solid #e2e8f0;padding-bottom:5px}
.print-table{width:100%;border-collapse:collapse;margin:10px 0;font-size:13.5px}
.print-table th,.print-table td{border:1px solid #e2e8f0;padding:7px 10px;text-align:left;vertical-align:top}
.print-table th{background:#f4f6fa;color:#334155;width:22%}
.receipt-amount{background:#f4f6fa;border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin:18px 0;text-align:center}
.receipt-amount span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#46586e}
.receipt-amount b{display:block;font-size:28px;color:#101030;margin:4px 0}
.receipt-amount small{color:#334155;font-size:13.5px}
.receipt-notes{font-size:13.5px;color:#334155}
.receipt-sign{margin-top:44px;display:flex;flex-direction:column;gap:4px;align-items:flex-end;font-size:13.5px;color:#334155}
.sign-line{display:block;width:220px;border-bottom:1px solid #334155;height:34px}
.receipt-foot{margin-top:26px;font-size:12px;color:#64748b;text-align:center;border-top:1px solid #e2e8f0;padding-top:10px}
.print-photo{width:110px;height:110px;object-fit:cover;border-radius:10px;border:1px solid #e2e8f0;float:right;margin:0 0 10px 14px}
.print-gates{font-size:13px;color:#334155;background:#f4f6fa;border-radius:8px;padding:10px 12px}
@media (max-width:900px){.money-grid{grid-template-columns:repeat(2,1fr)}.report-cols{grid-template-columns:1fr}.report-label{flex-basis:120px}.history-list li{flex-wrap:wrap}.history-when{flex-basis:100%}}
@media print{
  .no-print{display:none!important}
  .print-page{background:#fff;padding:0}
  .receipt,.profile-print{border:none;box-shadow:none;border-radius:0;max-width:none;padding:10px}
  .print-table th{background:#f4f6fa!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .receipt-amount{background:#f4f6fa!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ===== v1.6.0 Part C: multi-country, compact docs, bulk, templates, welfare ===== */
.nationality-badge{gap:6px}
.nationality-badge .flag-badge{margin-right:0;background:#101030;color:#f0c040}
.check-col{width:38px;text-align:center}
.admin-page .check-col input[type=checkbox]{width:18px;height:18px;accent-color:#1d4ed8;cursor:pointer}
.bulk-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#101030;color:#ffffff;border-radius:12px;padding:10px 12px;margin:0 0 12px}
.bulk-bar[hidden]{display:none}
.bulk-count{font-size:13px;font-weight:700;color:#ffffff;white-space:nowrap}
.bulk-group{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}
.bulk-bar select{height:34px;max-width:230px}
.bulk-bar .btn{margin:0}
.doc-pct{font-weight:800;color:#101030;font-size:12.5px;white-space:nowrap}
.mini-progress{display:block;width:86px;height:5px;background:#e5eaf2;border-radius:999px;overflow:hidden;margin-top:4px}
.mini-progress span{display:block;height:100%;background:#101030;border-radius:999px}
.sub-head{font-size:14px;color:#101030;margin:18px 0 8px}
/* Compact documents checklist: 2 columns, one tidy row per document */
.doc-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.doc-row.compact{display:flex;align-items:center;gap:6px;min-height:68px;padding:8px 10px;margin:0;border-radius:10px}
.doc-form.compact{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.doc-info{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.doc-row.compact .doc-ic{width:30px;height:30px;flex-basis:30px;border-radius:8px}
.doc-text{min-width:0;flex:1}
.doc-row.compact .doc-name{display:block;font-size:13px;font-weight:700;color:#101030;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.doc-file-line{display:block;font-size:11.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.doc-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.doc-row.compact .doc-select{width:118px;flex:0 0 118px;height:32px;font-size:12.5px;padding:0 6px}
.doc-icon-btn,.admin-page a.doc-icon-btn,.admin-page a.doc-icon-btn:visited{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border:1.5px solid #cbd5e1;border-radius:8px;background:#ffffff;color:#101030;cursor:pointer;text-decoration:none;font-family:inherit;padding:0}
.doc-icon-btn:hover,.admin-page a.doc-icon-btn:hover{background:#1d4ed8;border-color:#1d4ed8;color:#ffffff;text-decoration:none}
.doc-icon-btn:active,.admin-page a.doc-icon-btn:active{background:#1e40af;border-color:#1e40af;color:#ffffff}
.doc-icon-btn:focus-visible,.doc-upload-btn:focus-within{outline:3px solid #1d4ed8;outline-offset:2px}
.doc-upload-btn{position:relative}
.doc-file-input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.doc-remove.compact{margin:0;flex:0 0 auto}
.doc-remove-btn{color:#991b1b;border-color:#fecaca}
.doc-remove-btn:hover{background:#dc2626;border-color:#dc2626;color:#ffffff}
.doc-remove-btn:active{background:#991b1b;border-color:#991b1b;color:#ffffff}
@media (max-width:760px){.doc-list{grid-template-columns:1fr}.doc-row.compact .doc-select{width:108px;flex-basis:108px}.doc-row.compact{padding:8px}}
/* WhatsApp card */
.wa-missing{font-size:12.5px;color:#92400e;background:#fffbeb;border:1px solid #f59e0b;border-radius:8px;padding:8px 10px;margin:10px 0}
.wa-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.wa-actions .btn{margin:0}
.wa-copied{color:#047857;font-weight:700;font-size:13px}
.template-preview{max-width:520px}
/* Follow-up + welfare */
.followup-current{font-size:13.5px;color:#1e293b}
.welfare-list{display:flex;flex-direction:column;gap:8px;margin:8px 0 12px}
.welfare-row{display:flex;align-items:flex-start;gap:10px;border:1px solid #e3eaf4;border-radius:10px;padding:9px 10px;background:#ffffff}
.welfare-row .badge{flex:0 0 auto;margin-top:1px}
.welfare-main{flex:1;min-width:0}
.welfare-main b{display:block;color:#101030;font-size:13px}
.welfare-main small{display:block;color:#46586e;font-size:12.5px;margin-top:2px;overflow-wrap:anywhere}
.issue-status-form{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.issue-status-form select,.issue-status-form input{height:32px;font-size:12.5px;max-width:170px}
/* Agreement print */
.agreement{max-width:820px;margin:0 auto;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:30px 34px;box-shadow:0 4px 18px rgba(16,16,48,.08)}
.agreement h1{font-size:22px;color:#101030;margin:8px 0 6px;text-align:center}
.agreement h2{font-size:15px;color:#101030;margin:20px 0 8px;border-bottom:1px solid #e2e8f0;padding-bottom:5px}
.agreement-ref{text-align:center;color:#46586e;font-size:13px;margin:0 0 14px}
.agreement-clauses li{margin:8px 0;font-size:13.5px;color:#1e293b;line-height:1.55}
.agreement-signs{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:54px}
.agreement-signs div{display:flex;flex-direction:column;gap:4px;font-size:13.5px;color:#334155}
.agreement-signs .sign-line{width:100%}
@media print{.agreement{border:none;box-shadow:none;border-radius:0;max-width:none;padding:10px}}

/* ===== v1.7.0 frontend: language toggle, job detail, track, alerts, FAQ ===== */
img{max-width:100%}
.lang-toggle{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:5px 12px;color:#dbe4f0;font-size:13px;font-weight:700}
.lang-toggle a{color:#dbe4f0;text-decoration:none;padding:2px 4px;border-radius:6px}
.lang-toggle a:visited{color:#dbe4f0}
.lang-toggle a:hover{color:#ffffff;text-decoration:underline}
.lang-toggle a.active{color:#f0c040}
.lang-toggle a:focus-visible{outline:3px solid #f0c040;outline-offset:2px}
nav.main a.active{color:#f0c040;border-bottom:2px solid #d4a017}
nav.main a.active:visited{color:#f0c040}
.job-card.job-dark h3 a{color:#ffffff;text-decoration:none}
.job-card.job-dark h3 a:visited{color:#ffffff}
.job-card.job-dark h3 a:hover{text-decoration:underline}
.job-card.job-dark h3 a:focus-visible{outline:3px solid #f0c040;outline-offset:2px}
.job-flag{background:#d4a017;color:#1a1200}
.service-desc{display:block;font-size:12.5px;color:#5a6675;font-weight:500;margin-top:3px}
.job-detail{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.job-detail-main h1{font-size:32px;color:#101030;line-height:1.2;margin:10px 0}
.job-detail-main h2{font-size:21px;margin-top:22px}
.job-detail-main h3{font-size:15px;color:#101030;margin:16px 0 6px}
.detail-tags .light-tag{background:#eef2f8;color:#101030;border:1px solid #d7dee8}
.job-detail-side{position:sticky;top:96px}
.job-detail-side h2{font-size:18px;margin-top:0}
.job-apply-big{display:block;text-align:center}
.track-card{max-width:560px}
.track-or{text-align:center;color:#5a6675;font-weight:800;margin:14px 0 0}
.track-result{margin-top:18px;max-width:760px}
.track-docs{margin-top:18px}
.alert-card{margin:18px 0}
.alert-card h2{font-size:20px}
.alert-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}
.faq-list{display:flex;flex-direction:column;gap:10px;max-width:860px}
.faq-item{background:#ffffff;border:1px solid #e7e9ee;border-radius:12px;padding:6px 16px}
.faq-item summary{cursor:pointer;font-weight:800;color:#101030;padding:10px 0}
.faq-item summary:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
.faq-item p{margin:0 0 12px;color:#33404f}
.sticky-bar{display:none}
.has-sticky-bar main{padding-bottom:0}
.nat-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;font-size:13px;color:#46586e}
.nat-chip{padding:5px 12px;font-size:12.5px}
.admin-page a.nat-chip{color:#101030}
.nat-chip.active{background:#101030;color:#ffffff;border-color:#101030}
.admin-page a.nat-chip.active{color:#ffffff}
@media (max-width:900px){
  .job-detail{grid-template-columns:1fr}
  .job-detail-side{position:static}
  .alert-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .wrap{padding:0 16px}
  .hero h1{font-size:34px}
  .job-detail-main h1{font-size:26px}
  .lang-toggle{order:3}
  .sticky-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;background:#101030;padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:10px;box-shadow:0 -6px 20px rgba(16,16,48,.25)}
  .sticky-bar .btn{flex:1;margin:0;text-align:center;padding:12px 8px}
  .has-sticky-bar footer.site{padding-bottom:96px}
  .stats{grid-template-columns:1fr 1fr}
  .searchbar{margin-top:0}
  .hero-search-wrap{padding-bottom:20px}
  table{display:block;overflow-x:auto}
  .pbar-labels{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:400px){
  .hero h1{font-size:30px}
  .stat-item b{font-size:30px}
  .job-card.job-dark{padding:16px}
  .btn{padding:11px 16px}
  .doc-row.compact .doc-select{width:104px;flex-basis:104px}
}

/* ===== v1.7.1 — human-design polish (Solo review): plain icons, one search
   bar, calm tables. Overrides only; navy sidebar + button armour kept. ===== */
/* Icons: plain navy line icons, no background boxes anywhere */
.sec-ic { width:auto; height:auto; background:none; border-radius:0; color:#101030; margin-right:8px; flex:0 0 auto; }
.kpi-ic { width:auto; height:auto; background:none; border-radius:0; color:#101030; top:16px; right:16px; }
.empty-state .empty-ic { width:auto; height:auto; background:none; border-radius:0; color:#101030; margin:0 auto 8px; }
.doc-ic, .doc-row.compact .doc-ic { width:auto; height:auto; background:none; border-radius:0; color:#101030; flex:0 0 auto; }
.rej-ic { width:auto; height:auto; background:none; border-radius:0; color:#dc2626; flex:0 0 auto; margin-top:1px; }
/* Calmer cards, badges, count pills */
.admin-page .card { padding:20px; border-color:#e2e8f0; box-shadow:0 1px 2px rgba(15,23,42,.04); }
.kpi, .demand-stat { box-shadow:0 1px 2px rgba(15,23,42,.04); }
.pipe-card:hover { box-shadow:0 1px 3px rgba(15,23,42,.06); }
.badge { font-size:11px; padding:2px 8px; font-weight:600; }
.count-pill { background:#f1f5f9; color:#475569; font-weight:700; font-size:11.5px; }
.nationality-badge { background:#eef2f8; color:#101030; }
.nationality-badge .flag-badge { background:none; color:#101030; font-weight:800; padding:0; margin-right:0; }
/* Consistent button heights */
.admin-page .btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:36px; }
.admin-page .btn.small { min-height:32px; }
/* Single search bar + removable filter chips */
.search-bar { display:flex; gap:8px; align-items:stretch; margin-bottom:12px; flex-wrap:wrap; }
.search-box { flex:1 1 280px; display:flex; align-items:center; gap:8px; background:#ffffff; border:1.5px solid #cbd5e1; border-radius:10px; padding:0 12px; color:#64748b; min-height:40px; }
.search-box:focus-within { border-color:#1d4ed8; box-shadow:0 0 0 3px rgba(29,78,216,.18); }
.admin-page .search-box input { border:0; height:auto; padding:8px 0; flex:1; min-width:0; font-size:14px; background:transparent; }
.admin-page .search-box input:focus { outline:none; border:0; box-shadow:none; }
.search-bar .btn { margin:0; }
.filter-chips { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 12px; }
.filter-chips .chips-label { font-size:12.5px; color:#64748b; font-weight:600; }
.fchip { display:inline-flex; align-items:center; gap:6px; background:#eef2f8; color:#101030; border:1px solid #d7dee8; border-radius:999px; padding:4px 6px 4px 11px; font-size:12.5px; font-weight:600; }
.fchip a { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; color:#46586e; text-decoration:none; font-weight:800; line-height:1; }
.fchip a:visited { color:#46586e; }
.fchip a:hover { background:#101030; color:#ffffff; text-decoration:none; }
.fchip a:focus-visible { outline:3px solid #1d4ed8; outline-offset:1px; }
/* Tables: roomier cells, nowrap dates, one-line jobs, quiet status */
.admin-page thead th { padding:10px 14px; }
.admin-page td { padding:10px 14px; }
.applicants-table { min-width:1060px; }
.td-date { white-space:nowrap; color:#46586e; }
.td-job { max-width:220px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.td-demand { max-width:170px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.td-demand a { color:#1d4ed8; }
.cell-meta { display:block; color:#64748b; font-size:12px; margin-top:2px; }
.meta-warn { color:#b45309; font-weight:700; }
.meta-bad { color:#b91c1c; font-weight:700; }
.nat-plain { white-space:nowrap; color:#1c2430; }
.nat-code { font-weight:800; color:#101030; font-size:11px; letter-spacing:.4px; margin-right:6px; }
.nat-set { color:#b45309; font-weight:700; white-space:nowrap; }
.admin-page a.nat-set, .admin-page a.nat-set:visited { color:#b45309; }
.admin-page a.nat-set:hover { color:#92400e; }
.balance-due { white-space:nowrap; }
.balance-settled { white-space:nowrap; }
.status-dot-text { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; color:#1c2430; font-weight:600; font-size:13px; }
.sdot { width:8px; height:8px; border-radius:50%; flex:0 0 8px; background:#6b7280; }
.sdot-blue { background:#2563eb; } .sdot-indigo { background:#4f46e5; } .sdot-amber { background:#d97706; } .sdot-purple { background:#7c3aed; } .sdot-pink { background:#db2777; } .sdot-green { background:#059669; } .sdot-red { background:#dc2626; } .sdot-grey { background:#6b7280; }
.mini-progress { width:56px; }
.row-actions { text-align:right; }
/* 32px ghost icon buttons for row actions */
.icon-btn, .admin-page a.icon-btn, .admin-page a.icon-btn:visited { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border:1.5px solid #cbd5e1; border-radius:8px; background:#ffffff; color:#101030; text-decoration:none; margin-left:6px; vertical-align:middle; }
.icon-btn:hover, .admin-page a.icon-btn:hover { background:#eef2f8; border-color:#101030; color:#101030; text-decoration:none; }
.icon-btn:active, .admin-page a.icon-btn:active { background:#e2e8f2; color:#101030; }
.icon-btn:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.icon-btn.wa, .admin-page a.icon-btn.wa, .admin-page a.icon-btn.wa:visited { color:#128c7e; }
.icon-btn.wa:hover, .admin-page a.icon-btn.wa:hover { background:#e7f6f0; border-color:#128c7e; color:#0b6e63; }
.icon-btn.wa:active, .admin-page a.icon-btn.wa:active { background:#d3ecdf; color:#0b6e63; }
@media (max-width:720px){
  .search-bar .btn { flex:1 1 auto; }
  .search-box { flex-basis:100%; }
}

/* ===== v1.7.2: readable document titles, name-only nationality, Our Team ===== */
/* Documents: titles wrap fully (never ellipsis); only file names may truncate */
.doc-list { grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); }
.doc-row.compact { min-height:80px; padding:10px 12px; }
.doc-form.compact { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; flex:1; min-width:0; }
.doc-info { display:flex; align-items:flex-start; gap:8px; min-width:0; }
.doc-info .doc-ic { margin-top:2px; }
.doc-title { font-size:13.5px; font-weight:600; color:#101030; line-height:1.25; white-space:normal; overflow:visible; overflow-wrap:break-word; }
.doc-purpose { font-size:11.5px; color:#64748b; line-height:1.3; margin-top:1px; overflow-wrap:break-word; }
.doc-row.compact .doc-select { width:138px; flex:0 0 138px; height:34px; }
.doc-icon-btn, .admin-page a.doc-icon-btn, .admin-page a.doc-icon-btn:visited { width:34px; height:34px; flex:0 0 34px; }
@media (max-width:560px){
  .doc-form.compact { grid-template-columns:1fr; }
  .doc-actions { width:100%; }
  .doc-row.compact .doc-select { flex:1 1 auto; width:auto; }
}
/* Nationality: country name only, no code/dot pill */
.nat-name { font-weight:700; color:#101030; white-space:nowrap; }
.client-status .nat-name { font-size:13px; }
/* Our services boxes (v1.7.5) */
.service-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; margin:22px 0; }
.service-box { background:#ffffff; border:1px solid #e2e8f0; border-radius:14px; padding:18px; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-box:hover { border-color:#101030; transform:translateY(-3px); box-shadow:0 10px 22px rgba(16,16,48,.10); }
.service-ic { color:#101030; display:inline-flex; margin-bottom:10px; }
.service-box h3 { margin:0; font-size:16px; font-weight:600; color:#101030; }
.service-box p { margin:8px 0 0; font-size:13.5px; line-height:1.55; color:#46586e; }
/* Success story cards (v1.7.5) */
.story-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; margin:22px 0; }
@media (max-width:560px){ .story-grid { grid-template-columns:1fr; } }
.story-card { background:#ffffff; border:1px solid #e2e8f0; border-radius:16px; overflow:hidden; box-shadow:0 2px 8px rgba(15,23,42,.05); transition:transform .25s ease, box-shadow .25s ease; }
.story-card:hover, .story-card:focus-within { transform:translateY(-4px); box-shadow:0 14px 28px rgba(16,16,48,.13); }
.story-card:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
.story-img { aspect-ratio:16/10; overflow:hidden; background:#101030; }
.story-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.story-card:hover .story-img img, .story-card:focus-within .story-img img { transform:scale(1.03); }
.story-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:#f0c040; }
.story-ph-name { font-size:15px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.story-body { padding:16px 18px 18px; }
.story-body h3 { margin:0; font-size:17px; font-weight:600; color:#101030; }
.story-meta { margin:5px 0 0; font-size:12.5px; color:#64748b; }
.story-desc { margin:9px 0 0; font-size:14px; line-height:1.55; color:#46586e; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.story-card:hover .story-desc, .story-card:focus-within .story-desc { -webkit-line-clamp:unset; display:block; }
.story-tagline { margin:8px 0 0; font-size:13px; font-style:italic; color:#8a6d00; }
/* How it works pop hover (v1.7.5) */
.how-card { border:2px solid #e2e8f0; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.how-card:hover, .how-card:focus-within, .how-card:active { transform:translateY(-5px) scale(1.02); border-color:#101030; box-shadow:0 14px 28px rgba(16,16,48,.14); }
.how-card:focus-visible { outline:3px solid #1d4ed8; outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  .how-card, .service-box, .story-card, .story-img img { transition:none !important; }
  .how-card:hover, .how-card:focus-within, .how-card:active, .service-box:hover, .story-card:hover, .story-card:focus-within { transform:none; }
  .story-card:hover .story-img img, .story-card:focus-within .story-img img { transform:none; }
}
/* Our Team (public) — blob-shape design from Solo's Team_Card_Design (cards 2-4 variant): leaf photo morphs to square on hover, + button, pastel silhouette fallback; navy section background (v1.7.9) */
.team-section { background:#101030; padding:56px 0 72px; }
.team-section h1, .team-section h2 { text-align:center; color:#ffffff; }
.team-section .wrap > p { text-align:center; color:#c9d6ea; }
.team-section .btn, .team-section .btn.blue, .team-section .btn.ghost-dark, .team-section a.btn:visited { background:transparent; border:1.5px solid rgba(255,255,255,.5); color:#ffffff; }
.team-section .btn:hover, .team-section .btn.blue:hover, .team-section .btn.ghost-dark:hover { background:#f0c040; border-color:#f0c040; color:#101030; text-decoration:none; }
.team-section .btn:active, .team-section .btn.blue:active, .team-section .btn.ghost-dark:active { background:#e0b62e; border-color:#e0b62e; color:#101030; }
.team-section .btn:focus-visible { outline:3px solid #f0c040; outline-offset:2px; }
.team-section .team-empty { background:transparent; border:1px solid rgba(255,255,255,.25); color:#c9d6ea; box-shadow:none; }
.team-section .team-empty p { color:#c9d6ea; }
/* --- v1.8.5: Our Team cards from Solo's Team_Card_Design sample ---
   Logo colours (navy #101030 + gold #cba146). Tall rounded portrait
   cards; photo (or logo-colour silhouette) fills the card; a dark
   label bar at the bottom holds name + role + LinkedIn / email.
   Header row: gold "THE PEOPLE" eyebrow + big heading left, subline
   right. No "+" button, no expandable bio — the sample has neither. */
.team-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }
.team-eyebrow { margin:0 0 8px; font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#cba146; }
.team-head h2 { text-align:left; margin:0; font-size:36px; }
.team-sub { margin:0; max-width:420px; font-size:16px; line-height:1.6; color:#c9d6ea; }
.page-head.team-section .team-eyebrow { text-align:center; }
.page-head.team-section .team-sub { margin:0 auto 8px; max-width:640px; text-align:center; }
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,260px); justify-content:center; gap:28px; margin:36px 0 8px; }
@media (max-width:640px){ .team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } .team-label h3 { font-size:16px; } .team-role { font-size:12.5px; } .team-head h2 { font-size:30px; } }
@media (max-width:380px){ .team-grid { grid-template-columns:260px; } }
.team-card { position:relative; width:260px; max-width:100%; margin-inline:auto; border-radius:20px; overflow:hidden; transition:transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform:translateY(-4px); box-shadow:0 16px 32px rgba(0,0,0,.4); }
.team-card:focus-visible { outline:3px solid #f0c040; outline-offset:3px; border-radius:8px; }
.team-photo-wrap { position:relative; width:100%; aspect-ratio:4/5; overflow:hidden; background:#1e2c55; }
.team-photo-wrap img, .team-photo-wrap svg.team-silhouette { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.team-card:hover .team-photo-wrap img, .team-card:hover .team-photo-wrap svg.team-silhouette { transform:scale(1.05); }
.team-label { position:absolute; left:12px; right:12px; bottom:12px; background:#101030; border-radius:14px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.team-label-text { min-width:0; }
.team-label h3 { margin:0; font-size:17px; font-weight:700; color:#ffffff; overflow-wrap:break-word; }
.team-role { margin:2px 0 0; font-size:13px; color:#c9d6ea; overflow-wrap:break-word; }
.team-label-links { display:flex; gap:12px; flex:none; }
.team-label-link { color:#c9d6ea; display:inline-flex; text-decoration:none; transition:color .2s ease; }
.team-label-link:hover { color:#f0c040; text-decoration:none; }
.team-label-link:focus-visible { outline:3px solid #f0c040; outline-offset:2px; border-radius:4px; }
.team-card.reveal-init { opacity:0; }
.team-card.inview { opacity:1; animation:teamUp .5s ease backwards; animation-delay:var(--d,0ms); }
@keyframes teamUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.team-empty { max-width:640px; }
@media (prefers-reduced-motion: reduce){
  .team-card, .team-photo-wrap, .team-photo-wrap img, .team-photo-wrap svg.team-silhouette, .team-label-link { transition:none !important; animation:none !important; }
  .team-card.reveal-init { opacity:1; }
}
/* Our Team (admin) */
.team-thumb { width:44px; height:44px; border-radius:10px; object-fit:cover; flex:0 0 44px; border:1px solid #e2e8f0; }
.team-admin-photo { display:flex; gap:16px; align-items:flex-start; margin-top:16px; flex-wrap:wrap; }
.team-admin-photo img { border-radius:12px; object-fit:cover; border:1px solid #e2e8f0; }

/* ===== v1.7.10 — public design polish pass =====
   Refinement only: one type scale, one spacing rhythm, one button system,
   uniform cards, consistent forms, contrast fixes, mobile tap targets.
   Scoped to public pages (main / header.top / footer.site / .sticky-bar);
   the admin UI keeps its own rules and is untouched. No layout changes. */
:root { --radius-card:14px; --shadow-card:0 2px 10px rgba(16,16,48,.06); --shadow-card-hover:0 12px 26px rgba(16,16,48,.13); --muted-strong:#4a5a6e; }
::selection { background:#f0c040; color:#101030; }

/* --- Type scale --- */
body { font-size:16.5px; }
main h1, main h2, main h3 { color:var(--navy); }
main h2 { font-size:32px; line-height:1.2; font-weight:800; letter-spacing:-.5px; margin:0 0 10px; }
main h3 { font-size:19px; line-height:1.3; font-weight:700; margin:0 0 8px; }
main p { line-height:1.65; }
main .sub { color:var(--muted-strong); font-size:17px; line-height:1.6; margin:0; }
main .muted { color:var(--muted-strong); }
main a { text-underline-offset:3px; }
.page-head h1 { font-size:38px; line-height:1.15; letter-spacing:-.5px; margin:0 0 10px; }
.hero h1 { line-height:1.05; }
.hero p.lead { font-size:18px; line-height:1.6; }
.hero-eyebrow { font-size:13px; letter-spacing:.14em; text-transform:uppercase; }
.hero .muted-light { font-size:15px; margin:4px 0 0; }
.jobs-head h2 { font-size:38px; line-height:1.15; }
.sub-light { color:#b9c8dc; font-size:16.5px; margin:0; }
.stat-item b { font-size:42px; }
.stat-item span { font-size:14.5px; }
.service-desc { color:var(--muted-strong); }
.story-meta { color:#5b6b82; }
.track-or { color:var(--muted-strong); }
input::placeholder, textarea::placeholder { color:#5b6b82; }

/* --- Spacing rhythm --- */
main section { padding:72px 0; }
main section.page-head { padding:56px 0 72px; }
main .grid, main .service-grid, main .story-grid, main .job-grid { margin-top:28px; gap:20px; }
main section.page-head .grid, main section.page-head .service-grid, main section.page-head .story-grid { margin-top:28px; }
.team-section { padding:72px 0; }
.stats { margin:40px 0 8px; gap:28px; }
.chips { margin:22px 0 4px; }
.jobs-head { margin-bottom:10px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin:0 0 20px; }
.hero-actions .btn { margin:0; }

/* --- Buttons: one system (gold primary, navy secondary) --- */
main .btn, header.top .btn, footer.site .btn, .sticky-bar .btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; margin:0; padding:13px 26px; min-height:48px; font-size:15.5px; line-height:1.25; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
main .btn.small, header.top .btn.small, .sticky-bar .btn.small { padding:9px 18px; min-height:40px; font-size:13.5px; }
main .btn:hover, header.top .btn:hover, footer.site .btn:hover, .sticky-bar .btn:hover { transform:translateY(-2px); box-shadow:0 8px 18px rgba(16,16,48,.18); }
main .btn:active, header.top .btn:active, footer.site .btn:active, .sticky-bar .btn:active { transform:translateY(0); box-shadow:none; }
main .btn:focus-visible, header.top .btn:focus-visible, footer.site .btn:focus-visible, .sticky-bar .btn:focus-visible { outline:3px solid #d4a017; outline-offset:2px; box-shadow:0 0 0 6px rgba(16,16,48,.28); }
main .btn:disabled, main .btn[aria-disabled="true"] { opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }
main .btn.blue, main a.btn.blue, main button.btn.blue, main .btn.blue:visited, main a.btn.blue:visited { background:var(--navy2); border-color:var(--navy2); color:#ffffff; }
main .btn.blue:hover, main a.btn.blue:hover, main button.btn.blue:hover { background:var(--navy); border-color:var(--navy); color:#ffffff; }
main .btn.blue:active, main a.btn.blue:active, main button.btn.blue:active { background:#0a1a30; border-color:#0a1a30; color:#ffffff; }
.job-card.job-dark .btn.blue, .job-card.job-dark a.btn.blue, .job-card.job-dark a.btn.blue:visited { background:transparent; border:1.5px solid rgba(255,255,255,.55); color:#ffffff; }
.job-card.job-dark .btn.blue:hover, .job-card.job-dark a.btn.blue:hover { background:#ffffff; border-color:#ffffff; color:var(--navy); }
.job-card.job-dark .btn.blue:active, .job-card.job-dark a.btn.blue:active { background:#e8eef7; color:var(--navy); }
.btn.header-apply, a.btn.header-apply, a.btn.header-apply:visited { background:var(--gold); border-color:#b8890f; color:#1a1200; }
.btn.header-apply:hover, a.btn.header-apply:hover { background:var(--gold2); color:#1a1200; }
.btn.header-apply:active, a.btn.header-apply:active { background:#b8890f; color:#1a1200; }
.header-actions .btn { min-height:42px; padding:9px 18px; font-size:14px; }
.sticky-bar .btn.blue, .sticky-bar a.btn.blue, .sticky-bar button.btn.blue, .sticky-bar .btn.blue:visited { background:var(--gold); border-color:#b8890f; color:#1a1200; }
.sticky-bar .btn.blue:hover, .sticky-bar a.btn.blue:hover { background:var(--gold2); color:#1a1200; }
.sticky-bar .btn:not(.blue), .sticky-bar a.btn:not(.blue), .sticky-bar a.btn:not(.blue):visited { background:transparent; border:1.5px solid rgba(255,255,255,.65); color:#ffffff; }
.sticky-bar .btn:not(.blue):hover, .sticky-bar a.btn:not(.blue):hover { background:#ffffff; color:var(--navy); }
.sticky-bar .btn { min-height:48px; font-size:15px; padding:12px 10px; }
.job-apply-big { display:flex; width:100%; }
.job-detail-side .btn { width:100%; }
.job-detail-side p { margin:12px 0 0; }

/* --- Cards --- */
main .card { border-radius:var(--radius-card); border-color:#e2e8f0; padding:22px; box-shadow:var(--shadow-card); }
main .card p { font-size:14.5px; color:#46586e; line-height:1.6; }
main .grid .card { transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
main .grid .card:hover { transform:translateY(-3px); box-shadow:var(--shadow-card-hover); border-color:#c9d6ea; }
.dest-card { display:flex; flex-direction:column; height:100%; }
.dest-card b { font-size:18px; line-height:1.3; }
.dest-card p { margin:8px 0 0; }
.dest-actions { margin-top:auto; padding-top:16px; }
.job-card.job-dark { border-radius:var(--radius-card); padding:22px; box-shadow:0 6px 18px rgba(0,0,0,.24); display:flex; flex-direction:column; height:100%; transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.job-card.job-dark:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(0,0,0,.34); border-color:rgba(240,192,64,.45); }
.job-card.job-dark h3 { font-size:18px; margin:14px 0 6px; }
.job-card.job-dark p { font-size:13.5px; line-height:1.55; }
.job-save { width:40px; height:40px; }
.job-tags .tag { padding:5px 10px; font-size:12px; border-radius:999px; }
.job-apply { display:flex; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:16px; }
.job-apply .btn.small { padding:9px 18px; font-size:13.5px; }
.service-box { border-radius:var(--radius-card); padding:20px; box-shadow:var(--shadow-card); }
.service-box:hover { transform:translateY(-3px); box-shadow:var(--shadow-card-hover); }
.story-card { border-radius:var(--radius-card); box-shadow:var(--shadow-card); }
.story-card:hover, .story-card:focus-within { transform:translateY(-3px); box-shadow:var(--shadow-card-hover); }
.how-card { border:1px solid #e2e8f0; }
.how-card:hover, .how-card:focus-within, .how-card:active { transform:translateY(-3px); box-shadow:var(--shadow-card-hover); }
.how-card b { font-size:17px; }
.searchbar { border-radius:var(--radius-card); padding:12px; }
.contact { border-radius:var(--radius-card); padding:36px 32px; }
.contact p { margin:10px 0; overflow-wrap:anywhere; }
.faq-item { border-radius:var(--radius-card); padding:8px 20px; }
.faq-item summary { padding:14px 0; font-size:16.5px; }
.faq-item p { font-size:15.5px; line-height:1.6; margin:0 0 16px; }
.notice, .error { border-radius:12px; padding:14px 16px; font-size:15px; line-height:1.55; margin:16px 0; }
.warn { border-radius:var(--radius-card); padding:18px; font-size:15px; line-height:1.6; }
.chip { display:inline-flex; align-items:center; min-height:40px; }
.chip:hover { transform:translateY(-1px); }

/* --- Header + footer --- */
header.top { box-shadow:0 6px 18px rgba(16,16,48,.18); }
header.top .wrap { padding-top:12px; padding-bottom:12px; gap:16px; }
.logo { font-size:20px; }
nav.main { gap:22px; }
nav.main a { font-size:14.5px; padding:8px 2px; }
.nav-toggle { padding:10px 14px; border-radius:10px; min-height:44px; }
footer.site { padding:56px 0 32px; }
footer.site .cols { gap:32px; }
footer.site .cols b { display:block; font-size:15px; margin-bottom:12px; }
footer.site p { font-size:14.5px; line-height:1.65; }
footer.site a:hover { color:var(--gold2); text-decoration:underline; }
footer.site .muted { color:#a8bdd6; }
footer.site .wrap > p:last-child { margin-top:32px; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); font-size:13.5px; color:#a8bdd6; }

/* --- Forms (public) --- */
main label { font-size:14.5px; margin:18px 0 6px; }
main form > label:first-child { margin-top:0; }
main .field label { margin-top:14px; }
main input, main select { min-height:48px; padding:12px 14px; font-size:16px; border:1.5px solid #b9c4d4; border-radius:10px; }
main textarea { padding:12px 14px; font-size:16px; border:1.5px solid #b9c4d4; border-radius:10px; min-height:96px; line-height:1.55; }
main input:focus, main select:focus, main textarea:focus { outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(212,160,23,.35); }
main input[type="checkbox"], main input[type="radio"] { min-height:0; width:20px; height:20px; accent-color:var(--navy); }
main input[type="file"] { padding:10px 12px; font-size:14.5px; background:#f8fafc; }
main form p { margin:20px 0 0; }
.form-card-public { max-width:780px; padding:26px; }
.track-card { max-width:600px; padding:26px; }
.track-result { padding:26px; }
.track-result h2 { font-size:24px; }
.track-result .progress { height:12px; }
.alert-card { padding:26px; }
.alert-card h2 { font-size:22px; display:flex; align-items:center; gap:8px; }
.alert-card .sub { font-size:15.5px; }
.alert-grid { gap:6px 18px; }
.job-detail-main h1 { font-size:34px; line-height:1.18; margin:12px 0 8px; }
.job-detail-main h2 { font-size:22px; margin:28px 0 10px; }
.job-detail-main h3 { font-size:16px; margin:20px 0 8px; }
.job-detail-side { padding:24px; }
.job-detail-side h2 { font-size:19px; }
main .profile-grid { gap:14px 18px; }
.back-link { margin:0 0 18px; font-size:15px; }
.detail-tags .tag { border-radius:999px; padding:5px 12px; font-size:12.5px; font-weight:600; }

/* --- Mobile --- */
@media (max-width:720px){
  main section { padding:48px 0; }
  main section.page-head { padding:40px 0 56px; }
  main h2 { font-size:26px; }
  .page-head h1 { font-size:30px; }
  .jobs-head h2 { font-size:28px; }
  .hero h1 { font-size:36px; }
  .hero p.lead { font-size:17px; }
  main .sub { font-size:16px; }
  main .btn, header.top .btn, .sticky-bar .btn { min-height:48px; }
  main .btn.small, header.top .btn.small { min-height:44px; padding:10px 18px; }
  .job-apply .btn { flex:1 1 auto; }
  .chip { min-height:44px; }
  .logo { font-size:17px; letter-spacing:0; }
  .logo-img { width:38px; height:38px; }
  nav.main a { font-size:15.5px; padding:12px 2px; }
  .stats { gap:20px; }
  .stat-item b { font-size:34px; }
  .team-section { padding:48px 0 56px; }
  .contact { padding:24px 20px; }
  .form-card-public, .track-card, .track-result, .alert-card { padding:20px; }
  footer.site { padding:44px 0 28px; }
  footer.site .cols { gap:24px; }
  main .grid, main .service-grid, main .story-grid, main .job-grid { margin-top:22px; }
}
@media (max-width:400px){
  .hero h1 { font-size:32px; }
  main h2 { font-size:24px; }
  .page-head h1 { font-size:27px; }
}
@media (prefers-reduced-motion: reduce){
  main .btn, header.top .btn, footer.site .btn, .sticky-bar .btn, main .grid .card, .job-card.job-dark, .chip { transition:none !important; }
  main .btn:hover, header.top .btn:hover, footer.site .btn:hover, .sticky-bar .btn:hover, main .grid .card:hover, .job-card.job-dark:hover, .chip:hover { transform:none; }
}

/* ===== v1.8.0 — homepage redesign from hr-design-sample.html =====
   Footer copied from the sample (link band + contact band + copyright);
   header logo bigger with everything on one line on wide screens;
   country flags from flagcdn instead of MT/UA code badges;
   animated flag sliders; Services as the navy "Everything handled
   for you" connected-card band (the old How It Works section is gone). */

/* --- Header: bigger logo, one line on wide screens --- */
header.top .logo-img { width:84px; height:84px; }
@media (min-width:1280px){
  header.top .wrap { max-width:1360px; flex-wrap:nowrap; gap:12px; }
  header.top .logo { flex:0 0 auto; font-size:19px; }
  nav.main { flex-wrap:nowrap; gap:12px; }
  nav.main a { font-size:13px; padding:6px 1px; white-space:nowrap; }
  .header-actions { flex:0 0 auto; gap:8px; }
  .header-actions .btn.small { padding:8px 14px; font-size:13px; }
}
@media (max-width:720px){
  header.top .logo-img { width:60px; height:60px; }
}

/* --- v1.8.4: modern animated header ---
   Logo 84px (was 56px — note: the v1.8.0 rule above also sizes the
   header logo, so both places must agree); WhatsApp button removed
   from the header
   (WhatsApp is still in the hero, the footer and the floating button).
   Nav links: gold underline slides in on hover, the current page
   keeps its underline, and the links fade/slide in one by one when
   the page loads. A thin gold line under the navy header ties it
   to the footer's gold top border. */
header.top { border-bottom:2px solid var(--gold); }
nav.main a { position:relative; transition:color .25s ease; animation:navIn .45s ease both; }
nav.main a:nth-child(1) { animation-delay:.02s; }
nav.main a:nth-child(2) { animation-delay:.05s; }
nav.main a:nth-child(3) { animation-delay:.08s; }
nav.main a:nth-child(4) { animation-delay:.11s; }
nav.main a:nth-child(5) { animation-delay:.14s; }
nav.main a:nth-child(6) { animation-delay:.17s; }
nav.main a:nth-child(7) { animation-delay:.20s; }
nav.main a:nth-child(8) { animation-delay:.23s; }
nav.main a:nth-child(9) { animation-delay:.26s; }
nav.main a:nth-child(10) { animation-delay:.29s; }
nav.main a::after { content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--gold2); border-radius:2px; transform:scaleX(0); transform-origin:left center; transition:transform .3s ease; }
nav.main a:hover { color:#ffffff; text-decoration:none; }
nav.main a:hover::after, nav.main a.active::after { transform:scaleX(1); }
nav.main a.active { color:#ffffff; }
@keyframes navIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce){
  nav.main a { animation:none; }
  nav.main a::after { transition:none; }
}

/* --- Footer: brand navy #101030 (was the sample's dark slate #2f3a46),
   gold top border kept --- */
footer.site { background:#101030; color:#c9d6ea; border-top:3px solid #f0c040; padding:0; margin-top:20px; }
footer.site a { color:#ffffff; }
footer.site a:hover { color:#f0c040; text-decoration:underline; }
footer.site p { color:#c9d6ea; }
.fband1 { padding:16px 0; text-align:center; font-size:13px; }
.fband1 a { display:inline; margin:0 4px; color:#c9d6ea; text-decoration:none; }
.fband2 { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:6px 0 18px; flex-wrap:wrap; }
.fband2 .ct { font-size:13.5px; color:#c9d6ea; }
.fband2 .ct a { color:#c9d6ea; }
.fsoc { display:flex; gap:10px; }
.fsoc a { width:36px; height:36px; border-radius:50%; border:1.5px solid rgba(255,255,255,.35); display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; margin:0; color:#ffffff; text-decoration:none; }
.fsoc a:hover { border-color:#f0c040; color:#f0c040; }
footer.site .copy { border-top:1px solid rgba(255,255,255,.12); text-align:center; padding:16px; font-size:12.5px; color:#93a3ba; }
.has-sticky-bar footer.site { padding-bottom:96px; }
@media (max-width:720px){
  .fband2 { flex-direction:column; align-items:flex-start; }
}

/* --- Country flags (flagcdn) --- */
.dest-flag { margin:-20px -20px 14px; border-radius:14px 14px 0 0; overflow:hidden; aspect-ratio:16/10; background:#101030; }
.dest-flag img { width:100%; height:100%; object-fit:cover; display:block; }
.flag-img { width:100%; height:100%; object-fit:cover; display:block; }
.job-flag-img { width:28px; height:20px; object-fit:cover; border-radius:4px; flex:0 0 auto; border:1px solid rgba(255,255,255,.25); }

/* --- Animated flag slider (sample .fslider/.ftrack) --- */
.fslider { overflow:hidden; margin:28px 0 8px; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.ftrack { display:flex; gap:16px; width:max-content; animation:fslide 32s linear infinite; }
.fslider.big .ftrack { animation-duration:38s; }
.fslider:hover .ftrack { animation-play-state:paused; }
@keyframes fslide { from { transform:translateX(0); } to { transform:translateX(-50%); } }
/* v1.8.1 — medium flag card, Solo's mock: flag on top, country name +
   description below, left-aligned. v1.8.2 — the strip under the stats is
   gone, so only the "Where you can work" slider uses this card: a bit
   smaller (220px, 124px flag) with a clearer border. */
/* v1.8.7 — brand colour across the whole card: navy #101030 body with
   a gold border and gold line under the flag, white country name,
   light description, gold "View jobs". (Was: white card, grey border
   and grey text, green "View jobs".) */
.fcard { width:220px; background:#101030; border:1.5px solid #cba146; border-radius:14px; overflow:hidden; box-shadow:0 6px 16px rgba(16,16,48,.18); text-align:left; flex:0 0 auto; text-decoration:none; color:inherit; padding-bottom:14px; transition:transform .25s ease, box-shadow .25s ease; }
.fcard:visited { color:inherit; }
.fcard:hover { transform:translateY(-3px); box-shadow:0 12px 24px rgba(16,16,48,.28); }
.fcard img { width:100%; height:124px; object-fit:cover; display:block; border-bottom:1.5px solid #cba146; }
.fcard b { display:block; padding:12px 14px 2px; color:#ffffff; font-size:17px; }
.fcard p { padding:0 14px; margin:4px 0 0; font-size:13px; line-height:1.5; color:#c9d6ea; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fcard span { display:block; padding:0 14px; font-size:11.5px; font-weight:700; color:#f0c040; text-transform:uppercase; letter-spacing:.06em; }
.fcard:focus-visible { outline:3px solid #d4a017; outline-offset:2px; }
@media (max-width:720px){
  .fcard { width:200px; }
  .fcard img { height:112px; }
}

/* --- Services band: "Everything handled for you" (sample steps design) --- */
.services-band { background:radial-gradient(900px 420px at 50% -80px,#1b3a6e,#101030); color:#ffffff; }
/* v1.8.5 — no line between Services and Our Team: plain white space
   instead (the page background is white, so this margin reads as a
   white gap between the two navy sections). */
.services-band + .team-section { margin-top:64px; }
.services-band .eyebrow { font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#d4a017; text-align:center; margin:0 0 8px; }
.services-band h1, .services-band h2 { color:#ffffff; text-align:center; margin:0 0 10px; }
.services-band p.no_services, .services-band .no_services { color:#c9d6ea; text-align:center; }
.svc-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; position:relative; margin-top:22px; }
.svc-step { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); border-radius:16px; padding:12px 12px; text-align:center; position:relative; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
.svc-step:hover { transform:translateY(-4px); border-color:rgba(240,192,64,.7); background:rgba(255,255,255,.09); box-shadow:0 12px 28px rgba(0,0,0,.35); }
.svc-step .svc-ic { width:30px; height:30px; margin:0 auto 8px; border-radius:8px; background:rgba(240,192,64,.15); border:1px solid rgba(240,192,64,.5); display:flex; align-items:center; justify-content:center; color:#f0c040; position:relative; z-index:1; transition:transform .3s ease, background-color .3s ease; }
.svc-step:hover .svc-ic { transform:scale(1.12); background:rgba(240,192,64,.28); }
.svc-step .svc-ic .ic { color:#f0c040; }
.svc-step h3 { font-size:16px; color:#ffffff; margin:0; }
/* Description hidden by default — the card stays small; hovering
   (or keyboard focus) reveals it with a smooth expand + fade. */
.svc-step p { font-size:13.5px; color:#c9d6ea; line-height:1.55; max-height:0; opacity:0; overflow:hidden; margin:0; transition:max-height .35s ease, opacity .3s ease, margin-top .35s ease; }
.svc-step:hover p, .svc-step:focus-within p { max-height:140px; opacity:1; margin-top:6px; }
.services-cta { text-align:center; margin-top:22px; }
@media (max-width:900px){
  .svc-steps { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .svc-steps { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce){
  .ftrack { animation:none !important; }
  .fcard, .svc-step { transition:none !important; }
}

/* --- v1.8.6: hero + header load animations ---
   "Connecting dreams with destinations" (hero eyebrow) — letter-spacing
   expand; "Your career, moving forward." (hero h1) — slide up;
   header company name (.logo-text, after the logo) — mask wipe.
   From-only keyframes: each animation ends at the element's natural
   value, so every breakpoint keeps its own spacing/size. */
.hero-eyebrow { animation:eyebrowExpand 1s ease .1s both; }
@keyframes eyebrowExpand { from { letter-spacing:0; opacity:0; } }
.hero h1 { animation:heroSlideUp .8s ease .3s both; }
@keyframes heroSlideUp { from { transform:translateY(28px); opacity:0; } }
.logo-text { animation:maskWipe .9s ease .15s both; }
@keyframes maskWipe { from { clip-path:inset(0 100% 0 0); } }
@media (prefers-reduced-motion: reduce){
  .hero-eyebrow, .hero h1, .logo-text { animation:none !important; }
}
