/* wearehiring.ca — main stylesheet (no build step required) */
:root {
  --brand: #1d4ed8;
  --brand-600: #1e40af;
  --brand-50: #eef3ff;
  --brand-100: #dbe5ff;
  --accent: #e11d48;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --green: #047857; --green-bg: #ecfdf5;
  --amber: #b45309; --amber-bg: #fffbeb;
  --red: #b91c1c; --red-bg: #fef2f2;
  --blue: #1d4ed8; --blue-bg: #eff6ff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-lg: 0 10px 30px -10px rgba(15, 23, 42, .25);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: 1.9rem; font-weight: 800; }
h2 { font-size: 1.4rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
small, .text-sm { font-size: .875rem; }
.text-xs { font-size: .78rem; }
.muted { color: var(--muted); }
.strong { font-weight: 600; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container-sm { max-width: 760px; }
.container-xs { max-width: 460px; }

/* spacing helpers */
.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}
.p-0{padding:0!important}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}
.grow { flex: 1 1 auto; min-width: 0; }
.inline { display: inline; }
.w-full { width: 100%; }

.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; color: #fff; }
.logo-mark svg { width: 20px; height: 20px; }
.logo span.tld { color: var(--accent); }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a { color: var(--ink-2); font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1240px) { .main-nav { gap: 0; margin-left: 4px; } .main-nav a { padding: 8px 7px; font-size: .92rem; } }
.main-nav a:hover, .main-nav a.active { background: var(--brand-50); color: var(--brand); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; cursor: pointer; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu .dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); min-width: 220px; padding: 6px; z-index: 50; }
.user-menu .dropdown a, .user-menu .dropdown button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; color: var(--ink-2); background: none; border: 0; font: inherit; cursor: pointer; }
.user-menu .dropdown a:hover, .user-menu .dropdown button:hover { background: var(--bg); text-decoration: none; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-100); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: .8rem; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); margin: 0; }
  .main-nav.open { display: flex; }
  .header-actions .hide-sm { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .92rem; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #be123c; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg); }
.btn-danger { background: #fff; border-color: #fecaca; color: var(--red); }
.btn-danger:hover { background: var(--red-bg); }
.btn-success { background: var(--green); color: #fff; }
.btn-sm { padding: 6px 10px; font-size: .82rem; }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-danger { color: var(--red); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 20px; }
.card-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
/* Stack spacing for plain cards in normal document flow only — never inside a CSS grid
   (e.g. .article-grid, .video-grid), where it throws off row alignment since grid items
   in the same row would otherwise share the same top edge. */
.card + .card:not([class*="-card"]) { margin-top: 16px; }
.section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.section-title h2 { margin: 0; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge-green { background: var(--green-bg); color: var(--green); border-color: #a7f3d0; }
.badge-amber { background: var(--amber-bg); color: var(--amber); border-color: #fde68a; }
.badge-red { background: var(--red-bg); color: var(--red); border-color: #fecaca; }
.badge-blue { background: var(--blue-bg); color: var(--blue); border-color: #bfdbfe; }
.badge-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; color: var(--muted); }
.chip svg { width: 15px; height: 15px; flex: none; }

/* ---------- Hero / search ---------- */
.hero { background: linear-gradient(135deg, #0b1f5c 0%, #1d4ed8 60%, #3b6cf0 100%); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero h1 { color: #fff; font-size: 2.6rem; max-width: 720px; }
.hero p.lead { color: #dbe5ff; font-size: 1.15rem; max-width: 620px; }
@media (max-width: 640px) { .hero { padding: 40px 0 48px; } .hero h1 { font-size: 1.85rem; } }
.search-box { background: #fff; border-radius: 14px; padding: 8px; display: flex; gap: 8px; box-shadow: var(--shadow-lg); max-width: 860px; position: relative; z-index: 1; }
.search-box .sf { display: flex; align-items: center; gap: 8px; flex: 1; padding: 0 12px; min-width: 0; }
.search-box .sf + .sf { border-left: 1px solid var(--line); }
.search-box .sf svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-box .sf input { border: 0; box-shadow: none; border-radius: 0; outline: 0; font: inherit; font-size: 1rem; padding: 12px 0; width: 100%; color: var(--ink); background: transparent; }
@media (max-width: 700px) { .search-box { flex-direction: column; } .search-box .sf + .sf { border-left: 0; border-top: 1px solid var(--line); } }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; color: #c7d5ff; flex-wrap: wrap; font-size: .95rem; }
.hero-stats strong { color: #fff; font-size: 1.2rem; display: block; }
.popular { margin-top: 18px; color: #c7d5ff; font-size: .9rem; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.popular a { color: #fff; background: rgba(255,255,255,.12); padding: 4px 11px; border-radius: 999px; }
.popular a:hover { background: rgba(255,255,255,.22); text-decoration: none; }

.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 24px 0; }
.page-head h1 { margin: 0; font-size: 1.6rem; }
.page-head .search-box { box-shadow: none; border: 1px solid var(--line-2); margin-top: 14px; max-width: none; }

/* ---------- Category tiles ---------- */
.cat-tile { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); text-decoration: none; transform: translateY(-1px); }
.cat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.cat-icon svg { width: 22px; height: 22px; }
.cat-tile .name { font-weight: 600; line-height: 1.3; }
.cat-tile .count { font-size: .84rem; color: var(--muted); }

/* ---------- Job cards ---------- */
.job-list { display: grid; gap: 12px; }
.job-card { display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; transition: border-color .15s, box-shadow .15s; }
.job-card:hover { border-color: #a9bff5; box-shadow: var(--shadow-lg); }
.job-card.featured { border-color: #f5c46b; background: linear-gradient(0deg, #fff, #fffcf2); }
.job-logo { width: 52px; height: 52px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; flex: none; overflow: hidden; border: 1px solid var(--line); }
.job-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.job-card .title { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.3; display: block; }
.job-card .title:hover { color: var(--brand); }
.job-card .title::after { content: ""; position: absolute; inset: 0; }
.job-card .company { color: var(--ink-2); font-size: .92rem; margin-top: 2px; }
.job-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.job-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.job-card .side { margin-left: auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.job-card .salary { font-weight: 700; color: var(--green); font-size: .95rem; white-space: nowrap; }
.job-card .excerpt { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.heart-btn { position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--muted); transition: color .15s, border-color .15s; }
.heart-btn:hover { color: var(--accent); border-color: #fecdd3; }
.heart-btn.on { color: var(--accent); background: #fff1f2; border-color: #fecdd3; }
.heart-btn svg { width: 18px; height: 18px; }
.heart-btn.on svg { fill: currentColor; }
@media (max-width: 640px) {
  .job-card { flex-wrap: wrap; padding: 14px; }
  .job-card .side { margin-left: 0; width: 100%; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .job-logo { width: 44px; height: 44px; }
}

/* ---------- Layout with sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .with-sidebar, .with-aside { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 80px; }
@media (max-width: 960px) { .sticky { position: static; } }

.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filters summary { display: none; }
.filters .fbody { padding: 18px; }
.filter-group + .filter-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.filter-group h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 960px) {
  .filters summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; cursor: pointer; font-weight: 600; list-style: none; }
  .filters summary::-webkit-details-marker { display: none; }
  .filters:not([open]) .fbody { display: none; }
}

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
.field .req { color: var(--accent); }
.input, input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=date], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; }
select[multiple] { min-height: 130px; }
.help { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.error-text { font-size: .82rem; color: var(--red); margin-top: 5px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; }
.checks.one-col { grid-template-columns: 1fr; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; cursor: pointer; font-weight: 400 !important; color: var(--ink) !important; margin: 0 !important; }
.check input { margin-top: 3px; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 4px; margin: 0 0 20px; background: #fff; }
legend { font-weight: 700; padding: 0 8px; font-size: 1rem; }
.repeat-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.repeat-row > * { flex: 1; }
.repeat-row .btn { flex: none; }
.repeat-block { border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 14px 14px 0; margin-bottom: 12px; position: relative; background: #fbfcfe; }
.repeat-block .remove { position: absolute; top: 8px; right: 8px; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid; font-size: .93rem; }
.alert-success { background: var(--green-bg); color: #065f46; border-color: #a7f3d0; }
.alert-error { background: var(--red-bg); color: #991b1b; border-color: #fecaca; }
.alert-info { background: var(--blue-bg); color: #1e3a8a; border-color: #bfdbfe; }
.alert-warning { background: var(--amber-bg); color: #92400e; border-color: #fde68a; }
.flash-wrap { margin-top: 16px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfd; white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fbfcff; }
.table .actions { white-space: nowrap; text-align: right; }
.table form { display: inline; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px 0 48px; }
.dash-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: 80px; }
.dash-nav .grp { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 10px 6px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: .93rem; }
.dash-nav a svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.dash-nav a:hover { background: var(--bg); text-decoration: none; }
.dash-nav a.active { background: var(--brand-50); color: var(--brand); }
.dash-nav a.active svg { color: var(--brand); }
.dash-nav .count { margin-left: auto; background: var(--accent); color: #fff; font-size: .7rem; border-radius: 999px; padding: 1px 7px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.dash-head h1 { font-size: 1.5rem; margin: 0; }
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; padding-top: 12px; }
  .dash-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 6px; }
  .dash-nav .grp { display: none; }
  .dash-nav a { white-space: nowrap; }
}
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat .num { font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.stat.warn .num { color: var(--amber); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin-bottom: 14px; }
.toolbar .field { margin: 0; }
.toolbar input, .toolbar select { padding: 8px 10px; font-size: .88rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active { color: var(--brand); border-color: var(--brand); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty svg { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--line-2); }
.empty h3 { color: var(--ink-2); }

/* ---------- Job detail ---------- */
.job-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0; }
.job-hero .top { display: flex; gap: 18px; align-items: flex-start; }
.job-hero .job-logo { width: 72px; height: 72px; font-size: 1.5rem; }
.job-hero h1 { font-size: 1.75rem; margin-bottom: 6px; }
.job-hero .actions { display: flex; gap: 8px; margin-left: auto; flex: none; }
@media (max-width: 700px) { .job-hero .top { flex-wrap: wrap; } .job-hero .actions { margin-left: 0; width: 100%; } .job-hero .actions .btn { flex: 1; } }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.fact .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.fact .v { font-weight: 600; margin-top: 2px; }
.prose { color: var(--ink-2); line-height: 1.7; overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .3em; }
.prose a { word-break: break-word; }
.job-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; max-height: 340px; }
.job-image img { width: 100%; object-fit: cover; }
.countdown { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .85rem; padding: 4px 10px; border-radius: 999px; background: var(--blue-bg); color: var(--blue); }
.countdown.soon { background: var(--amber-bg); color: var(--amber); }
.countdown.expired { background: var(--red-bg); color: var(--red); }
.speed { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; }
.speed .dot { width: 8px; height: 8px; border-radius: 50%; }
.speed.fast { color: var(--green); } .speed.fast .dot { background: #10b981; }
.speed.slow { color: var(--amber); } .speed.slow .dot { background: #f59e0b; }
.source-note { font-size: .82rem; color: var(--muted); background: var(--bg); padding: 10px 12px; border-radius: 8px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .gap { border: 0; background: transparent; }

/* ---------- Ads ---------- */
.ad-slot { max-width: 728px; max-height: 280px; margin: 10px auto; padding: 6px 10px 8px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; animation: adFade .5s ease-out both; }
.ad-slot .ad-label { display: block; font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: #94a3b8; margin-bottom: 3px; }
.ad-slot .ad-inner { min-height: 0; max-height: 250px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ad-slot .ad-inner > * { max-width: 100%; }
.ad-slot img { display: inline-block; max-width: 100%; height: auto; border-radius: 6px; }
.ad-slot ins.adsbygoogle { display: block; width: 100%; }
.ad-slot ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad-header { margin-top: 8px; margin-bottom: 0; }
.ad-footer { margin-bottom: 0; margin-top: 8px; }
@keyframes adFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .ad-slot { margin: 6px auto; padding: 5px 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0b1330; color: #aab4d4; margin-top: 48px; padding: 48px 0 24px; font-size: .92rem; }
.site-footer a { color: #d6ddf5; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-bottom { border-top: 1px solid #1d2750; margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #111c44, #1d4ed8); color: #fff; border-radius: 16px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #c7d5ff; margin: 0; }

.steps { counter-reset: step; }
.step { display: flex; gap: 14px; margin-bottom: 16px; }
.step::before { counter-increment: step; content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 800; display: grid; place-items: center; flex: none; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: calc(100vh - 64px - 200px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 440px; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.role-pick label { border: 2px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; text-align: center; font-weight: 600 !important; margin: 0 !important; }
.role-pick label small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.role-pick input { display: none; }
.role-pick label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand) !important; }

/* ---------- Cookie banner ----------
   Pinned to the TOP (not bottom) and given a very high z-index on purpose: fixed bottom-of-screen
   elements are where ad networks (e.g. AdSense anchor/overlay ads) like to render, so staying at
   the top avoids any collision. The real bug that made "Accept all" look unresponsive: the JS sets
   the `hidden` attribute, but `display:flex` below was unconditional, which overrides the browser's
   default `[hidden]{display:none}` rule — so the banner kept rendering even once "hidden" was true.
   The `:not([hidden])` here is the actual fix. */
.cookie-banner:not([hidden]) { position: fixed; left: 16px; right: 16px; top: 16px; max-width: 560px; background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 2147483647; display: flex; gap: 14px; align-items: center; font-size: .88rem; }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner a { color: #93b4ff; }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; top: 8px; left: 8px; right: 8px; } }

.details-toggle summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: .88rem; }
.note-box { background: var(--bg); border-radius: 8px; padding: 10px 12px; font-size: .9rem; margin-top: 6px; white-space: pre-wrap; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 8px; } }
.divider-text { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.divider-text::before, .divider-text::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.col-toggle { position: relative; }
.col-toggle .dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 10px 14px; z-index: 20; min-width: 200px; }
.col-toggle summary { list-style: none; }
.col-toggle summary::-webkit-details-marker { display: none; }
.install-steps { display: flex; gap: 6px; margin-bottom: 20px; }
.install-steps span { flex: 1; height: 5px; border-radius: 99px; background: var(--line); }
.install-steps span.on { background: var(--brand); }
.req-list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); }
.ok { color: var(--green); font-weight: 600; } .bad { color: var(--red); font-weight: 600; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
code { background: var(--bg); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); word-break: break-all; }
pre { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 8px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; color: inherit; }

@media print {
  .site-header, .site-footer, .ad-slot, .dash-nav, .cookie-banner, .no-print { display: none !important; }
  body { background: #fff; }
}
.show-sm-only { display: none !important; }
@media (max-width: 860px) { .main-nav.open .show-sm-only { display: block !important; } }
.badge svg { width: 13px; height: 13px; }
.heart-btn-wide.on { color: var(--accent); border-color: #fecdd3; background: #fff1f2; }
.heart-btn-wide.on svg { fill: currentColor; }
@media (max-width: 960px) { .hide-mobile { display: none; } }

/* ===== v2: resumes, apply methods, ATS, payments, reviews, social login, map ===== */
.badge-purple { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.badge-cyan { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.badge.tag { background: #f8fafc; color: var(--ink-2); text-decoration: none; }
.link { color: var(--brand); cursor: pointer; }
.stat { font-size: 1.5rem; font-weight: 800; margin-top: 4px; }

/* export / column dropdown */
details.col-toggle, details.export-menu { position: relative; }
details.export-menu > summary, details.col-toggle > summary { list-style: none; }
details.export-menu > summary::-webkit-details-marker { display: none; }
.dropdown-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); width: 290px; padding: 12px; }
.dropdown-panel .cols-list { max-height: 260px; overflow: auto; display: grid; gap: 4px; padding-right: 4px; }

/* resumes */
.resume-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

/* resume template picker */
.tpl-toolbar { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 10px 0; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.tpl-card { position: relative; display: block; cursor: pointer; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .1s; }
.tpl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tpl-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tpl-card:has(input:checked) { border-color: var(--tpl-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tpl-accent) 22%, transparent); }
.tpl-check { position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; z-index: 2; }
.tpl-card:has(input:checked) .tpl-check { background: var(--tpl-accent); border-color: var(--tpl-accent); color: #fff; }
.tpl-prev { display: block; position: relative; aspect-ratio: 210 / 280; background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); }
.tpl-row { position: absolute; top: 14%; left: 10%; height: 5%; width: 70%; border-radius: 2px; background: #d6dde6; }
.tpl-row.w1 { width: 40%; } .tpl-row.w2 { width: 78%; } .tpl-row.w3 { width: 60%; }
/* band: full-width header block, rows stacked below */
.tpl-band .tpl-block { position: absolute; inset: 0 0 auto 0; height: 28%; background: var(--tpl-accent); }
.tpl-band .tpl-row { top: 38%; } .tpl-band .tpl-row.r2 { top: 47%; } .tpl-band .tpl-row.r3 { top: 60%; } .tpl-band .tpl-row.r4 { top: 69%; } .tpl-band .tpl-row.r5 { top: 78%; }
/* sidebar-left / sidebar-right: coloured tint column, rows offset to the other side */
.tpl-sidebar-left .tpl-block, .tpl-sidebar-right .tpl-block { position: absolute; top: 0; bottom: 0; width: 34%; background: var(--tpl-light); border-top: 3px solid var(--tpl-accent); }
.tpl-sidebar-left .tpl-block { left: 0; } .tpl-sidebar-right .tpl-block { right: 0; }
.tpl-sidebar-left .tpl-row { left: 40%; width: 52%; } .tpl-sidebar-right .tpl-row { left: 8%; width: 52%; }
.tpl-sidebar-left .tpl-row, .tpl-sidebar-right .tpl-row { top: 14%; }
.tpl-sidebar-left .tpl-row.r2, .tpl-sidebar-right .tpl-row.r2 { top: 24%; }
.tpl-sidebar-left .tpl-row.r3, .tpl-sidebar-right .tpl-row.r3 { top: 40%; }
.tpl-sidebar-left .tpl-row.r4, .tpl-sidebar-right .tpl-row.r4 { top: 50%; }
.tpl-sidebar-left .tpl-row.r5, .tpl-sidebar-right .tpl-row.r5 { top: 60%; }
/* minimal / compact / centered: no colour block, thin accent rule under the name */
.tpl-minimal .tpl-row, .tpl-compact .tpl-row, .tpl-centered .tpl-row { top: 30%; }
.tpl-minimal .tpl-row.r2, .tpl-compact .tpl-row.r2, .tpl-centered .tpl-row.r2 { top: 40%; }
.tpl-minimal .tpl-row.r3, .tpl-compact .tpl-row.r3, .tpl-centered .tpl-row.r3 { top: 52%; }
.tpl-minimal .tpl-row.r4, .tpl-compact .tpl-row.r4, .tpl-centered .tpl-row.r4 { top: 62%; }
.tpl-minimal .tpl-row.r5, .tpl-compact .tpl-row.r5, .tpl-centered .tpl-row.r5 { top: 72%; }
.tpl-minimal .tpl-name, .tpl-compact .tpl-name, .tpl-centered .tpl-name { position: absolute; top: 10%; left: 10%; width: 45%; height: 8%; background: #94a3b8; border-radius: 2px; }
.tpl-minimal .tpl-block, .tpl-centered .tpl-block { position: absolute; left: 10%; right: 10%; top: 21%; height: 2px; background: var(--tpl-accent); }
.tpl-compact .tpl-block { position: absolute; left: 10%; right: 10%; top: 21%; height: 3px; background: var(--tpl-accent); }
.tpl-centered .tpl-name { left: 20%; width: 60%; text-align: center; }
.tpl-centered .tpl-row { left: 22%; width: 56%; }
/* timeline: small accent dots down the left with rows beside them */
.tpl-timeline .tpl-name { position: absolute; top: 10%; left: 10%; width: 45%; height: 8%; background: #94a3b8; border-radius: 2px; }
.tpl-timeline .tpl-row { top: 24%; left: 22%; width: 60%; }
.tpl-timeline .tpl-row.r2 { top: 36%; } .tpl-timeline .tpl-row.r3 { top: 48%; } .tpl-timeline .tpl-row.r4 { top: 60%; } .tpl-timeline .tpl-row.r5 { top: 72%; }
.tpl-timeline .tpl-block { position: absolute; left: 12%; top: 32%; bottom: 10%; width: 3px; background: var(--tpl-accent); }
/* split-header: coloured corner block beside contact lines */
.tpl-split-header .tpl-block { position: absolute; left: 0; top: 0; width: 50%; height: 24%; background: var(--tpl-accent); }
.tpl-split-header .tpl-row { top: 32%; }
/* boxed: soft tinted panels behind each section heading */
.tpl-boxed .tpl-name { position: absolute; top: 10%; left: 10%; width: 45%; height: 8%; background: #94a3b8; border-radius: 2px; }
.tpl-boxed .tpl-block { position: absolute; left: 8%; right: 8%; top: 28%; height: 12%; background: var(--tpl-light); border-radius: 3px; border-left: 3px solid var(--tpl-accent); }
.tpl-boxed .tpl-row { top: 46%; }
/* blocks: accent chips row plus a left accent bar */
.tpl-blocks .tpl-name { position: absolute; top: 10%; left: 10%; width: 45%; height: 8%; background: #94a3b8; border-radius: 2px; }
.tpl-blocks .tpl-block { position: absolute; left: 10%; top: 26%; width: 22%; height: 7%; background: var(--tpl-light); border-radius: 10px; border: 1px solid var(--tpl-accent); }
.tpl-blocks .tpl-row { top: 40%; left: 10%; }
.tpl-blocks .tpl-row.r2 { top: 52%; } .tpl-blocks .tpl-row.r3 { top: 64%; } .tpl-blocks .tpl-row.r4 { top: 76%; }
.tpl-meta { display: block; margin-top: 8px; }
.tpl-meta strong { display: block; font-size: .85rem; line-height: 1.3; }
.tpl-meta span { color: var(--muted); font-size: .78rem; }
.resume-card.is-default { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.resume-card h3 a { color: var(--ink); }
.toggle-line { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer; }
.toggle-line .switch { width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .15s; flex: none; }
.toggle-line .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle-line.on { color: var(--green); font-weight: 600; }
.toggle-line.on .switch { background: var(--green); }
.toggle-line.on .switch::after { left: 16px; }

/* apply methods */
.method-pick, .method-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.method-opt { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 12px 38px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; position: relative; background: #fff; transition: border-color .15s, box-shadow .15s; }
.method-opt input { position: absolute; left: 13px; top: 15px; width: auto; }
.method-opt small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.method-opt:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.apply-ways { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: 8px; font-size: .75rem; color: var(--muted); }
.apply-ways span { background: var(--bg); border-radius: 999px; padding: 2px 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; }
.slot span { display: flex; flex-direction: column; align-items: center; padding: 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: .85rem; background: #fff; }
.slot input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.slot input:focus-visible + span { outline: 2px solid var(--brand); }
.row-highlight td { background: #fffbeb; }

/* ATS */
.stars { display: inline-flex; gap: 1px; }
.stars .star { background: none; border: 0; padding: 0 1px; font-size: 1.05rem; line-height: 1; color: #cbd5e1; cursor: pointer; }
.stars .star.on { color: #f59e0b; }
.stars .star:disabled { cursor: default; }
.stars[data-rate]:hover .star { color: #f59e0b; }
.stars[data-rate] .star:hover ~ .star { color: #cbd5e1; }
.also-bar { background: #eff6ff; border-top: 1px solid #dbeafe; border-bottom: 1px solid #dbeafe; padding: 8px 18px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.also-bar svg { width: 15px; height: 15px; color: var(--blue); }
.ats-tools > summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.ats-tools > summary svg { width: 16px; height: 16px; }
.note-box.private { background: #fefce8; border-color: #fde68a; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 3px 0 6px 12px; position: relative; font-size: .88rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; padding: 12px 16px; position: sticky; top: 70px; z-index: 20; }
.bulk-bar select, .bulk-bar input[name=tag] { width: auto; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.seg a { padding: 7px 12px; font-size: .85rem; font-weight: 600; color: var(--ink-2); display: inline-flex; gap: 5px; align-items: center; text-decoration: none; }
.seg a svg { width: 15px; height: 15px; }
.seg a.active { background: var(--brand); color: #fff; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.board-col { background: #f1f5f9; border-radius: var(--radius); display: flex; flex-direction: column; min-height: 300px; border-top: 4px solid var(--c); }
.board-col header { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-weight: 700; font-size: .9rem; }
.board-col header .count { background: #fff; border-radius: 999px; padding: 1px 9px; font-size: .8rem; color: var(--muted); }
.board-list { flex: 1; padding: 0 8px 10px; display: flex; flex-direction: column; gap: 8px; }
.board-col.drag-over { outline: 2px dashed var(--c); outline-offset: -4px; }
.board-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: grab; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.board-card.dragging { opacity: .5; }
.board-card .board-move { margin-top: 8px; padding: 4px 6px; font-size: .78rem; }
@media (hover: hover) { .board-card .board-move { display: none; } }

/* payments */
.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
.ticks li { padding: 5px 0 5px 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price-box { display: flex; justify-content: space-between; align-items: center; background: var(--brand-50); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 8px; }
.price-box .total { font-size: 1.6rem; font-weight: 800; color: var(--brand); }
input[type=range] { width: 100%; padding: 0; border: 0; box-shadow: none; accent-color: var(--brand); }
.big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 12px; }
.big-check svg { width: 34px; height: 34px; }

/* reviews */
.rating-stars { position: relative; display: inline-block; font-size: .95rem; line-height: 1; letter-spacing: 1px; vertical-align: -1px; }
.rating-stars .bg { color: #e2e8f0; }
.rating-stars .fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f59e0b; }
.rating-stars.lg { font-size: 1.4rem; }
.review-summary { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.big-score { text-align: center; min-width: 120px; }
.big-score .num { font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.bars { flex: 1; min-width: 220px; }
.bar-row { display: grid; grid-template-columns: 30px 1fr 30px; gap: 8px; align-items: center; font-size: .85rem; margin: 3px 0; }
.bar-row .bar { height: 8px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.bar-row .bar span { display: block; height: 100%; background: #f59e0b; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; }
.star-input label { font-size: 1.9rem; color: #cbd5e1; cursor: pointer; line-height: 1; margin: 0; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f59e0b; }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.company-card { color: var(--ink); text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.company-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); }

/* social login */
.social-login { display: grid; gap: 8px; margin: 14px 0 4px; }
.btn-social { background: #fff; border: 1px solid var(--line-2); color: var(--ink); position: relative; }
.btn-social:hover { background: var(--bg); }
.social-mark { width: 22px; height: 22px; border-radius: 5px; display: inline-grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; font-family: Arial, sans-serif; }
.btn-google .social-mark { background: #4285f4; }
.btn-facebook .social-mark { background: #1877f2; font-size: 1rem; }
.btn-linkedin .social-mark { background: #0a66c2; }

/* map */
.map-box { height: 280px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #eef2f7 center/40px no-repeat; z-index: 0; }
.map-box.small { height: 190px; border: 0; border-radius: 0; }
.map-box .map-fallback { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .9rem; text-align: center; padding: 10px; }
@media (max-width: 640px) { .bulk-bar { position: static; } .dropdown-panel { right: auto; left: 0; width: min(290px, 90vw); } }

/* share / report / recently viewed */
.share-row { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.share-btn { font-size:.8rem; padding:4px 10px; border:1px solid var(--line, #e2e8f0); border-radius:999px; background:#fff; color:var(--ink-2); text-decoration:none; cursor:pointer; }
.share-btn:hover { border-color:var(--brand); color:var(--brand); }
.report-job summary { cursor:pointer; }
.report-job select, .report-job textarea, .report-job input { width:100%; }
.recent-jobs ul { list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.recent-jobs li a { font-weight:600; }
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:12px; }
.stat-num { font-size:1.6rem; font-weight:800; color:var(--ink); line-height:1.2; }

.impersonate-bar { background:#b45309; color:#fff; font-size:.9rem; padding:8px 0; position:sticky; top:0; z-index:60; }
/* career advice */
.chip-row { display:flex; flex-wrap:wrap; gap:8px; }
.chip-link { padding:6px 12px; border:1px solid var(--line, #e2e8f0); border-radius:999px; font-size:.9rem; color:var(--ink-2); text-decoration:none; background:#fff; }
.chip-link.active, .chip-link:hover { border-color:var(--brand); color:var(--brand); }
.article-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.article-card { text-decoration:none; color:inherit; overflow:hidden; display:flex; flex-direction:column; }
.article-card img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.article-ph { aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; background:var(--brand-50); color:var(--brand); }
.article-card h3 { font-size:1.05rem; margin:4px 0 6px; }
.article-hero { width:100%; border-radius:12px; aspect-ratio:16/9; object-fit:cover; }
.prose { font-size:1.05rem; line-height:1.75; }
.prose h2 { font-size:1.35rem; margin:1.6em 0 .5em; } .prose h3 { font-size:1.15rem; margin:1.3em 0 .4em; }
.prose img { max-width:100%; border-radius:8px; } .prose ul, .prose ol { padding-left:1.3em; }
.lead { font-size:1.15rem; color:var(--ink-2); }
.text-red { color: var(--red); }

/* Admin search */
.admin-search { position: relative; margin: 2px 2px 8px; }
.admin-search > svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.admin-search input { width: 100%; padding: 8px 10px 8px 32px; font-size: .9rem; border-radius: 8px; }
.admin-search-results { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(15,23,42,.12); padding: 4px; min-width: 240px; }
.dash-nav .admin-search-results a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: .88rem; }
.admin-search-results a small { color: var(--muted); white-space: nowrap; }
.admin-search-results a.sel, .admin-search-results a:hover { background: var(--brand-50); }
.dash-nav .admin-search-results a.all { border-top: 1px solid var(--line); margin-top: 4px; color: var(--brand); font-weight: 600; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.search-list li:last-child { border-bottom: 0; }
mark { background: #fef08a; padding: 0 1px; border-radius: 2px; }

/* 404 page */
.notfound .nf-art svg { width: 260px; max-width: 80%; height: auto; margin: 0 auto; display: block; animation: nf-float 4s ease-in-out infinite; }
@keyframes nf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .notfound .nf-art svg { animation: none; } }
.nf-code { font-size: .85rem; font-weight: 800; letter-spacing: .3em; color: var(--brand); margin-top: 10px; }
.nf-search { display: flex; gap: 8px; max-width: 480px; margin: 22px auto 16px; }
.nf-search input { flex: 1; }
.nf-links { justify-content: center; flex-wrap: wrap; }

/* Video embeds (articles) */
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 20px; border-radius: 12px; overflow: hidden; background: #000; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Career videos */
.video-search { display: flex; gap: 8px; flex-wrap: wrap; max-width: 820px; }
.video-search input[type=search] { flex: 1 1 280px; }
.video-search select { width: auto; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.video-card { display: block; overflow: hidden; color: inherit; transition: transform .15s, box-shadow .15s; }
.video-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.video-card h3 { font-size: .98rem; line-height: 1.35; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: #0f172a; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: .75rem; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(29,78,216,.9); color: #fff; display: grid; place-items: center; font-size: 18px; opacity: 0; transition: opacity .15s; }
.video-card:hover .video-play { opacity: 1; }
.video-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
@media (max-width: 960px) { .video-layout { grid-template-columns: 1fr; } }
.video-mini { display: grid; grid-template-columns: 150px 1fr; gap: 10px; margin-bottom: 12px; color: inherit; }
.video-mini:hover { text-decoration: none; }
.video-mini .video-thumb { border-radius: 8px; }
.video-desc { white-space: normal; overflow-wrap: anywhere; }
.hold-reason { font-size: .75rem; color: #92400e; background: #fef3c7; border: 1px solid #fde68a; border-radius: 6px; padding: 4px 6px; max-width: 230px; line-height: 1.35; }
.hold-reason .icon { width: 12px; height: 12px; vertical-align: -1px; }
.lang-switch { font-weight: 700; letter-spacing: .02em; }
.report-box { margin: 18px auto 0; }
.report-box summary { cursor: pointer; font-size: .82rem; color: var(--muted, #64748b); }
.report-box form { max-width: 520px; margin-top: 8px; }
@media (max-width: 1360px) { .header-actions a.btn-outline.hide-sm[href$="/register"] { display: none; } }
@media (min-width: 861px) and (max-width: 1100px) { .header-actions .lang-switch { padding-left: 6px; padding-right: 6px; } .logo span:last-child { font-size: .95rem; } }
@media (min-width: 861px) and (max-width: 1100px) { .main-nav a { padding: 8px 5px; font-size: .86rem; } .header-actions { gap: 4px; } .header-actions .btn-sm { padding-left: 8px; padding-right: 8px; } }

/* Advertise with us / Make Money With Us (ads + affiliate) */
.radio-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.radio-row input { width: auto; }
.quote-box { display: flex; justify-content: space-between; align-items: center; background: var(--brand-50); border-radius: var(--radius-sm); padding: 12px 16px; margin: 14px 0; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font-family: inherit; }
.copy-row input.html-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.banner-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 14px; }
.banner-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.banner-preview { width: 100%; border-radius: 6px; background-color: #f1f5f9; background-size: cover; background-position: center; margin-bottom: 8px; max-height: 140px; }
