.page{padding:64px 24px 88px;max-width:820px}.page h1{font-size:clamp(28px,4vw,40px);font-weight:700;margin:10px 0 18px}.page h2{font-size:24px;margin:30px 0 8px}.page p,.page li{color:var(--muted);margin-bottom:10px}.page ul{padding-left:22px}
.auth-wrap { max-width: 520px; margin: 0 auto; padding: 56px 0 88px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px; box-shadow: 0 14px 40px rgba(11,37,69,.08); }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 22px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); border-radius: 6px; padding: 5px; gap: 4px; margin-bottom: 22px; }
.auth-tabs .tab { width: 100%; }
.btn-google { width: 100%; background: #fff; border: 1px solid #c8d4e0; color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 16px; padding: 13px 18px; }
.btn-google:hover { background: var(--mist); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stack { display: grid; gap: 16px; }
.btn-block { width: 100%; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.status.good { color: var(--ok); font-weight: 600; }
.small { font-size: 14px; color: var(--muted); }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.acct-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.acct-box h2 { font-size: 20px; margin: 0 0 14px; }
dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 600; word-break: break-word; }
.banner { background: var(--mist); border-left: 4px solid var(--brass); padding: 14px 16px; border-radius: 4px; margin-bottom: 22px; }
.err-banner { background: #fff4e5; border-left: 4px solid var(--warn); padding: 14px 16px; border-radius: 4px; margin-bottom: 22px; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: 1fr; } .auth-card { padding: 22px; } .auth-wrap { padding-top: 32px; } }

/* ---------- App pages (jobs, account, recruiter) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-scroll { overflow: hidden; }
.muted { color: var(--muted); }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-danger { background: #a3261b; color: #fff; }
.btn.danger { border-color: #a3261b; color: #a3261b; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 40px; background: var(--mist); color: var(--navy); white-space: nowrap; font-family: var(--font-body); }
.pill-ok { background: #e3f3ea; color: var(--ok); }
.pill-warn { background: #fff1db; color: var(--warn); }
.pill-ex { background: #fff6d6; color: #7a5a00; }
.stage-shortlisted, .stage-in-process { background: #e3f3ea; color: var(--ok); }
.stage-closed { background: #eceff3; color: var(--muted); }
.empty-state { text-align: center; padding: 44px 20px; border: 1px dashed #c8d4e0; border-radius: 10px; background: #fff; display: grid; gap: 10px; justify-items: center; }
.empty-state p { color: var(--muted); max-width: 46ch; }
.banner-ex { background: #fff6d6; border-left: 4px solid var(--brass); padding: 10px 14px; border-radius: 4px; font-size: 15px; margin-bottom: 16px; }
.notice-inline { background: var(--mist); border-left: 4px solid var(--brass); padding: 10px 14px; border-radius: 4px; font-size: 15px; margin: 10px 0 18px; }
.ok-line { background: #e3f3ea; color: var(--ok); padding: 12px 14px; border-radius: 6px; font-weight: 600; }
.note-box { background: var(--mist); padding: 12px 14px; border-radius: 6px; white-space: pre-wrap; }
main input[type=search], input[type=file] { width: 100%; font: inherit; font-size: 16px; }
main input[type=search] { padding: 12px 14px; color: var(--ink); background: #fbfcfe; border: 1px solid #c8d4e0; border-radius: 4px; }
input[type=file] { padding: 10px; border: 1px dashed #c8d4e0; border-radius: 6px; background: #fbfcfe; }

/* Jobs */
main section.results, main section[role=tabpanel] { padding: 0; }
.jobs-hero { padding: 40px 0 26px; }
.jobs-hero h1 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; margin: 8px 0 20px; }
.job-search { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; box-shadow: 0 10px 30px rgba(11,37,69,.07); }
.js-field { position: relative; }
.js-field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
main .js-field.loc-field input { padding-left: 14px; }
main .js-field input { padding-left: 40px; border: 0; background: var(--mist); height: 100%; min-height: 48px; }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; }
.chip-q { border: 1px solid var(--line); background: #fff; border-radius: 40px; padding: 6px 14px; font: inherit; font-size: 14px; color: var(--navy); cursor: pointer; }
.chip-q:hover { border-color: var(--navy-2); }
.jobs-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding-bottom: 80px; align-items: start; }
.filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: grid; gap: 18px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters h2 { font-size: 18px; }
.filters fieldset { display: grid; gap: 8px; }
.filters fieldset label, .saved-only { font-weight: 400; display: flex; gap: 10px; align-items: center; margin: 0; }
.filters input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--navy); }
.filter-cta { background: var(--mist); border-radius: 8px; padding: 16px; display: grid; gap: 8px; }
.filter-cta h3 { font-size: 16px; }
.filter-cta p { font-size: 14px; color: var(--muted); }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
#count { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.results-tools { display: flex; gap: 10px; align-items: center; }
.results-tools select { width: auto; }
.filter-btn { display: none; }
.job-list { display: grid; gap: 14px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.job-card:hover, .job-card:focus-visible { border-color: var(--navy-2); box-shadow: 0 8px 24px rgba(11,37,69,.08); }
.job-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.job-card h3 { font-size: 19px; }
.job-co { color: var(--muted); font-size: 15px; margin-top: 2px; }
.job-meta { list-style: none; padding: 0; margin: 10px 0 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; color: var(--ink); }
.job-meta li::before { content: "•"; color: var(--brass); margin-right: 6px; }
.job-pay { font-weight: 700; color: var(--navy); }
.job-desc { color: var(--muted); font-size: 15px; margin-top: 6px; }
.job-date { color: var(--muted); font-size: 13px; margin-top: 8px; }
.heart { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.heart svg { fill: none; stroke: var(--navy); stroke-width: 2; }
.heart.on svg { fill: #c0392b; stroke: #c0392b; }
.skeleton { height: 150px; border-radius: 10px; background: linear-gradient(90deg, #eef3f8 25%, #f7f9fc 50%, #eef3f8 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(11,37,69,.55); z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-card { position: relative; background: #fff; border-radius: 12px; width: 100%; max-width: 760px; padding: 34px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); font-size: 26px; line-height: 1; cursor: pointer; color: var(--navy); }
.modal-body h2 { font-size: 28px; margin: 6px 40px 4px 0; }
.modal-body h3 { font-size: 18px; margin: 22px 0 8px; }
.modal-body p { margin-bottom: 8px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; padding: 16px; background: var(--mist); border-radius: 8px; }
.facts-grid dt { font-size: 13px; color: var(--muted); }
.facts-grid dd { margin: 2px 0 0; font-weight: 600; word-break: break-word; }
.apply-box { margin-top: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.apply-box h3 { margin-top: 0; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.history { padding-left: 20px; display: grid; gap: 10px; }

/* Account + recruiter */
.acct-page, .rec-page { padding: 40px 0 88px; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.acct-head h1 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 6px; }
.ptabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ptab { flex: none; border: 0; background: none; padding: 12px 16px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.ptab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--brass); }
.ptab[hidden] { display: none; }
.pane-title { font-size: 22px; margin-bottom: 14px; }
.saved-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.saved-grid h3 { font-size: 18px; margin-bottom: 4px; }
.saved-grid .row-gap { margin-top: 12px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.data th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 8px; padding: 16px; }
.kpi span { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi p { color: var(--muted); font-size: 14px; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .grow { flex: 1 1 260px; }
.toolbar select { min-width: 220px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--mist); border-radius: 10px; padding: 12px; display: grid; gap: 8px; align-content: start; min-height: 160px; }
.col h3 { font-size: 15px; display: flex; justify-content: space-between; }
.col .count { background: #fff; border-radius: 40px; padding: 0 8px; font-size: 13px; }
.ats-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 3px; font: inherit; font-size: 14px; cursor: pointer; }
.ats-card:hover { border-color: var(--navy-2); }
.ats-card b { color: var(--navy); font-size: 15px; }

@media (max-width: 1060px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .jobs-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filter-btn { display: inline-flex; }
  .job-search { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .modal { padding: 0; }
  .modal-card { border-radius: 0; min-height: 100%; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }
  .saved-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .job-card { padding: 16px; }
  .acct-head .btn { width: 100%; }
}

main .loc-field { display: flex; background: var(--mist); border-radius: 4px; }
main .loc-field .country-pick { flex: 0 0 auto; display: flex; align-items: center; border-right: 1px solid #c8d4e0; }
main .loc-field select { border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 0 6px 0 12px; min-height: 48px; max-width: 160px; width: auto; cursor: pointer; }
main .js-field.loc-field input { background: transparent; }

/* Industry filter, date posted, new-today alert, countdowns */
.filters input[type=radio] { width: 18px; height: 18px; accent-color: var(--navy); }
.ind-filter { display: grid; gap: 8px; }
.ind-head { display: flex; justify-content: space-between; align-items: center; }
.ind-head label { margin: 0; }
.ind-search { position: relative; }
.ind-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
main .ind-search input { padding: 9px 10px 9px 32px; font-size: 15px; border-radius: 6px; }
.ind-list { max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 6px; padding: 4px; display: grid; gap: 0; -webkit-overflow-scrolling: touch; }
.ind-list label { display: flex !important; gap: 10px; align-items: flex-start; padding: 7px 8px; border-radius: 4px; font-size: 14.5px; font-weight: 400; margin: 0; cursor: pointer; }
.ind-list label:hover, .ind-list label.top { background: var(--mist); }
.ind-list input { margin-top: 2px; flex: none; }
.ind-list .n { margin-left: auto; color: var(--muted); font-size: 13px; padding-left: 8px; }
.ind-list .none { padding: 10px; color: var(--muted); font-size: 14px; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ind-chips:empty { display: none; }
.ind-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; border: 0; border-radius: 40px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.new-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff6d6; border: 1px solid #f0dc95; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; }
.new-banner p { flex: 1; margin: 0; color: var(--ink); }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: #d64545; box-shadow: 0 0 0 0 rgba(214,69,69,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(214,69,69,0); } 100% { box-shadow: 0 0 0 0 rgba(214,69,69,0); } }
.pill-new { background: #d64545; color: #fff; }
.job-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.countdown { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--mist); padding: 3px 10px; border-radius: 40px; }
.countdown.soon { background: #fff1db; color: var(--warn); }
.countdown svg { flex: none; }
.cd-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--mist); border-radius: 8px; padding: 12px 14px; margin: 14px 0 0; }
.cd-box.soon { background: #fff1db; }
.cd-units { display: flex; gap: 8px; }
.cd-units span { background: #fff; border-radius: 6px; padding: 6px 10px; text-align: center; min-width: 54px; font-variant-numeric: tabular-nums; }
.cd-units b { display: block; font-size: 20px; color: var(--navy); line-height: 1.1; }
.cd-units i { font-style: normal; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.cd-label { font-size: 14px; color: var(--muted); }
.job-date { margin-top: 0 !important; }

.ind-list .grp { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); padding: 10px 8px 4px; }
