/* ============ Resourceful Staffing theme ============ */
:root {
  --bg: #f4f6fb; --surface: #fff; --surface-2: #f7f8fc; --border: #e4e8f1; --border-2: #d3d9e6;
  --text: #14213d; --muted: #5d6882; --faint: #8e98ad;
  --primary: #2563eb; --primary-600: #1d4ed8; --primary-50: #eaf2ff; --primary-100: #cfe1ff;
  --navy: #0f1f3d; --navy-2: #152a4f; --navy-3: #1e3561;
  --coral: #3b82f6; --coral-50: #e8f0fe;
  --green: #12a150; --green-50: #e6f7ee; --violet: #7c4dff; --violet-50: #f1ebff;
  --amber: #c27803; --amber-50: #fff6e0; --red: #e0352b; --red-50: #fdecea; --teal: #0d9488; --teal-50: #e3f6f4;
  --slate: #475569; --slate-50: #eef1f6;
  --radius: 14px; --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 51, .05);
  --shadow: 0 1px 2px rgba(15, 26, 51, .04), 0 6px 20px -6px rgba(15, 26, 51, .08);
  --shadow-lg: 0 24px 60px -20px rgba(11, 21, 48, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font: 15px/1.6 var(--font); background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
html { overflow-x: hidden; }
#app { flex: 1; outline: none; }
a { color: inherit; }
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; width: 100%; }
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
.h2 { font-size: 1.65rem; } .h3 { font-size: 1.3rem; } .h4 { font-size: 1.05rem; } .h5 { font-size: .95rem; margin-top: 1.2em; }
p { margin: 0 0 .8em; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding-top: 36px; padding-bottom: 40px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .right { text-align: right; }
.text-danger { color: var(--red); } .text-success { color: var(--green); } .text-accent { color: var(--coral); font-weight: 700; }
.no-margin { margin: 0 !important; } .grow { flex: 1; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; } .skip-link:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px; }
.row-gap { display: flex; align-items: center; gap: 12px; } .row-gap > div { min-width: 0; } .row-gap.tight { gap: 8px; }
.link, .strong-link { color: var(--primary); text-decoration: none; font-weight: 600; } .link:hover, .strong-link:hover { text-decoration: underline; }
.strong-link { color: var(--text); }
.link-btn { background: none; border: 0; color: var(--primary); cursor: pointer; padding: 0; font: inherit; font-weight: 600; }
.sep { color: var(--border-2); margin: 0 4px; }
.ic { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.link .ic, .small .ic { width: 15px; height: 15px; }

/* ============ buttons & inputs ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: all .15s ease; line-height: 1.2; }
.btn .ic { width: 17px; height: 17px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .6), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-primary:hover:not(:disabled) { background: var(--primary-600); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; } .btn-dark:hover { background: var(--navy-3); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-ghost:hover:not(:disabled) { border-color: #b5bfd3; background: var(--surface-2); }
.btn-ghost-danger { background: var(--surface); border-color: var(--border-2); color: var(--red); }
.btn-ghost-danger:hover:not(:disabled) { background: var(--red-50); border-color: #f3b9b4; }
.btn-danger { background: var(--red); color: #fff; }
.btn-text { background: none; color: var(--muted); padding-left: 10px; padding-right: 10px; } .btn-text:hover { color: var(--text); background: var(--slate-50); }
.btn-white { background: #fff; color: var(--navy); } .btn-white:hover { background: #eaf2ff; }
.btn-outline-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #fff; } .btn-outline-light:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { padding: 7px 12px; font-size: .84rem; border-radius: 9px; } .btn-sm .ic { width: 15px; height: 15px; }
.btn-lg { padding: 13px 22px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.icon-only { padding: 10px; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--muted); cursor: pointer; list-style: none; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn.dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #b9c3dc; } .icon-btn.dark:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.icon-btn::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 2px; }
.input { width: 100%; font: inherit; font-size: .93rem; padding: 10px 13px; border: 1px solid var(--border-2); border-radius: 10px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 42px; }
.pw-toggle { position: absolute; top: 0; right: 0; bottom: 0; width: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--faint); cursor: pointer; }
.pw-toggle:hover { color: var(--muted); }
.pw-toggle .ic { width: 18px; height: 18px; }
.input:hover { border-color: #b5bfd3; }
.input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.input-lg { font-size: 1.05rem; padding: 12px 14px; font-weight: 600; }
textarea.input { resize: vertical; line-height: 1.55; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; color: #26314d; }
.field-label-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: inherit; }
.field-label-row .link { font-weight: 600; }
.field-narrow { max-width: 260px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check-row input { margin-top: 4px; accent-color: var(--primary); width: 16px; height: 16px; }
.form-error { display: flex; gap: 10px; align-items: center; background: var(--red-50); color: var(--red); border: 1px solid #f6c4bf; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(to bottom, rgba(244, 246, 251, 0), var(--bg) 35%); padding: 22px 0 14px; z-index: 2; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.seg-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-radio label { cursor: pointer; }
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-2); font-weight: 600; font-size: .86rem; color: var(--muted); background: #fff; transition: all .15s; }
.seg-radio input:checked + span { background: var(--primary-50); border-color: var(--primary); color: var(--primary); }
.seg-radio input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .35); }

/* ============ cards, badges, avatars ============ */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.pad { padding: 20px 22px; } .pad-lg { padding: 26px 28px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card h3 .ic, .card h4 .ic { color: var(--primary); }
.empty { text-align: center; padding: 52px 20px; }
.empty-icon { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.empty-icon .ic { width: 28px; height: 28px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; border: 1px solid; font-size: .92rem; }
.notice .ic { margin-top: 2px; }
.notice.slim { margin: 14px 0 0; }
.notice-warn { background: var(--amber-50); color: #8a5300; border-color: #f4dc9c; }
.notice-danger { background: var(--red-50); color: #b3261e; border-color: #f6c4bf; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; background: var(--slate-50); color: var(--slate); vertical-align: middle; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.job-active, .app-hired { background: var(--green-50); color: var(--green); }
.job-pending, .app-offered { background: var(--amber-50); color: var(--amber); }
.job-rejected, .app-rejected { background: var(--red-50); color: var(--red); }
.job-closed { background: #e9ecf2; color: #3b4352; }
.job-paused, .app-reviewed { background: var(--slate-50); color: var(--slate); }
.app-new { background: var(--primary-50); color: var(--primary); }
.app-shortlisted { background: var(--violet-50); color: var(--violet); }
.app-interview { background: var(--teal-50); color: var(--teal); }
/* stage colour tokens used by dots, bars, selects */
.st-new { --st: var(--primary); --st-bg: var(--primary-50); } .st-reviewed { --st: #64748b; --st-bg: var(--slate-50); }
.st-shortlisted { --st: var(--violet); --st-bg: var(--violet-50); } .st-interview { --st: var(--teal); --st-bg: var(--teal-50); }
.st-offered { --st: #e59a0b; --st-bg: var(--amber-50); } .st-hired { --st: var(--green); --st-bg: var(--green-50); } .st-rejected { --st: var(--red); --st-bg: var(--red-50); }
.kdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--st); }

.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 8px; font-size: .8rem; font-weight: 600; color: #3b4664; }
.tag-green { background: var(--green-50); border-color: #c4ebd4; color: #0e7a3d; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.avatar { --h: 220; width: 36px; height: 36px; border-radius: 50%; background: hsl(var(--h) 85% 93%); color: hsl(var(--h) 55% 38%); display: inline-grid; place-items: center; font-weight: 700; font-size: .78rem; flex-shrink: 0; }
.avatar-sm { width: 28px; height: 28px; font-size: .68rem; }
.avatar-xl { width: 76px; height: 76px; font-size: 1.5rem; }
.avatar.ring { box-shadow: 0 0 0 5px #fff; }
.logo { --h: 220; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, hsl(var(--h) 70% 48%), hsl(calc(var(--h) + 40) 75% 58%)); color: #fff; display: inline-grid; place-items: center; font-weight: 800; flex-shrink: 0; object-fit: cover; font-size: .9rem; letter-spacing: .02em; }
img.logo { background: #fff; border: 1px solid var(--border); }
.logo-sm { width: 30px; height: 30px; border-radius: 8px; font-size: .68rem; }
.logo-lg { width: 58px; height: 58px; font-size: 1.1rem; border-radius: 14px; }
.logo-xl { width: 84px; height: 84px; font-size: 1.6rem; border-radius: 20px; }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; vertical-align: middle; box-shadow: 0 0 0 3px var(--coral-50); }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .86rem; }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.meta-row .ic { width: 15px; height: 15px; color: var(--faint); }
.meta-row.light { color: rgba(255, 255, 255, .78); } .meta-row.light .ic { color: rgba(255, 255, 255, .55); }
.salary { font-weight: 700; color: var(--green); }

/* ============ public nav & footer ============ */
body[data-layout="app"] .nav, body[data-layout="app"] .footer, body[data-layout="auth"] .nav, body[data-layout="auth"] .footer { display: none; }
.nav { background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.8) blur(14px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; text-decoration: none; color: var(--navy); letter-spacing: -.03em; }
.brand-light { color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--primary), #4f8ef7); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(37, 99, 235, .55); font-size: .92rem; font-weight: 800; letter-spacing: -.02em; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.08rem; font-weight: 800; letter-spacing: -.03em; }
.brand-text span { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .93rem; border-radius: 9px; }
.nav-links a:hover { color: var(--text); background: var(--slate-50); }
.nav-links a.active { color: var(--primary); background: var(--primary-50); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.footer { background: var(--navy); color: #a9b4cf; padding: 52px 0 0; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer-grid a:not(.brand) { display: block; color: #a9b4cf; text-decoration: none; font-size: .9rem; margin-bottom: 9px; }
.footer-grid a:not(.brand):hover { color: #fff; }
.footer-tag { margin-top: 14px; max-width: 280px; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 36px; padding-top: 18px; padding-bottom: 22px; font-size: .82rem; }

/* ============ hero ============ */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #28497f 0%, transparent 60%), linear-gradient(160deg, #0f1f3d 0%, #132750 55%, #18305c 100%); color: #fff; padding: 64px 0 56px; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero-glow.g1 { width: 420px; height: 420px; background: #2563eb; top: -120px; right: 8%; }
.hero-glow.g2 { width: 340px; height: 340px; background: #3b82f6; bottom: -180px; left: 5%; opacity: .28; }
.hero-grid { position: relative; z-index: 1; display: flex; justify-content: center; text-align: center; }
.hero-copy { width: 100%; max-width: 820px; }
.hero-copy .lead { margin-left: auto; margin-right: auto; max-width: 620px; }
.hero-copy .search { text-align: left; }
.hero-copy .popular { justify-content: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin: 18px 0 16px; }
.grad { background: linear-gradient(90deg, #8ec1ff, #3b82f6 50%, #bfdcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; color: rgba(255, 255, 255, .72); max-width: 540px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; font-weight: 600; color: #dbe8ff; }
.eyebrow .ic { width: 16px; height: 16px; color: #9dc4ff; }
.search { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 6px; background: #fff; padding: 8px; border-radius: 18px; margin-top: 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; color: var(--faint); transition: background .15s; }
.search-field + .search-field { border-left: 1px solid var(--border); border-radius: 0; }
.search-field:focus-within { background: var(--surface-2); border-radius: 12px; }
.search-field input { border: 0; outline: none; font: inherit; font-size: .98rem; width: 100%; padding: 12px 0; background: transparent; color: var(--text); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .86rem; color: rgba(255, 255, 255, .6); }
.popular a { color: #e5ebff; text-decoration: none; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-weight: 500; }
.popular a:hover { background: rgba(255, 255, 255, .16); }
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats div { padding: 22px 0; display: flex; flex-direction: column; }
.hero-stats div + div { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .1); }
.hero-stats b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { color: rgba(255, 255, 255, .6); font-size: .86rem; }
.hero-compact { padding: 80px 0 90px; }
.center-col { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.center-col .lead { margin: 0 auto 26px; }
.center-row { justify-content: center; flex-wrap: wrap; }

/* ============ job search results (split view) ============ */
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pill-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pill-select { font: inherit; font-size: .88rem; font-weight: 600; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--border-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6882' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; appearance: none; color: var(--text); cursor: pointer; }
.results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.results-list { display: flex; flex-direction: column; gap: 12px; }
.job-card { display: block; padding: 18px 20px; text-decoration: none; margin: 0; transition: border-color .15s, box-shadow .15s, transform .15s; position: relative; }
.job-card:hover { border-color: #efc3a7; transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(15, 26, 51, .18); }
.job-card.selected { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-100), var(--shadow); }
.job-card.selected::before { content: ''; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 4px; background: var(--primary); border-radius: 0 4px 4px 0; }
.job-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.job-card h3 { font-size: 1.08rem; margin: 2px 0 0; }
.job-card .chev { color: var(--faint); }
.job-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
.new-pill { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--coral); background: var(--coral-50); padding: 2px 8px; border-radius: 6px; }
.results-pane { position: sticky; top: 86px; max-height: calc(100vh - 106px); overflow-y: auto; margin: 0; }
.pane-head { position: sticky; top: 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); padding: 22px 24px 18px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; z-index: 1; border-radius: var(--radius) var(--radius) 0 0; }
.pane-body { padding: 22px 24px 26px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 8px; }
.fact { display: flex; gap: 11px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.fact-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.fact small { display: block; color: var(--muted); font-size: .75rem; font-weight: 600; } .fact b { font-size: .88rem; }
.section-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 26px 0 10px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-50); color: var(--green); margin-top: 1px; }
.company-box { margin-top: 28px; padding: 18px; border-radius: 14px; background: linear-gradient(180deg, var(--surface-2), #fff); border: 1px solid var(--border); }
.company-box .row-gap { margin-bottom: 12px; }
.company-box p { color: var(--muted); font-size: .92rem; }

.employer-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 24px; background: radial-gradient(600px 300px at 100% 0, rgba(37, 99, 235, .5), transparent), linear-gradient(135deg, #0f1f3d, #1d3766); color: #fff; }
.employer-band h2 { font-size: 2rem; font-weight: 800; margin: 16px 0 10px; }
.employer-band p { color: rgba(255, 255, 255, .72); margin-bottom: 24px; }
.eyebrow-light .ic { color: #f2a877; }
.band-steps { display: grid; gap: 10px; }
.band-step { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.band-step > span { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #f5cdb3; }
.band-step small { display: block; color: rgba(255, 255, 255, .5); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -70px; position: relative; z-index: 2; }
.feature { padding: 26px; margin: 0; }
.feature-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-50), var(--violet-50)); color: var(--primary); margin-bottom: 16px; }
.feature-ic .ic { width: 22px; height: 22px; }

/* job detail page */
.job-banner { --h: 220; position: relative; overflow: hidden; color: #fff; padding: 26px 0 80px; background: radial-gradient(500px 260px at 90% 0, hsl(var(--h) 80% 55% / .55), transparent), linear-gradient(135deg, #0f1f3d, #18305c); }
.job-banner h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; margin: 0 0 10px; }
.job-banner-main { display: flex; gap: 22px; align-items: center; margin-top: 18px; }
.job-banner .logo-xl { box-shadow: 0 0 0 5px rgba(255, 255, 255, .12); }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--text); } .back-link.light { color: rgba(255, 255, 255, .7); } .back-link.light:hover { color: #fff; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 22px; align-items: start; }
/* Grid items default to min-width:auto, which lets a nested auto-fill/auto-fit grid (like .facts) force
   its minimum column width and blow out the whole layout sideways on narrow screens. min-width:0 lets
   these shrink to their assigned track instead. */
.detail-grid > *, .split > *, .dash-grid > *, .results > * { min-width: 0; }
.job-detail { margin-top: -54px; position: relative; padding-bottom: 30px; }
.apply-box { position: sticky; top: 86px; }
.apply-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.dropzone { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px; border: 2px dashed var(--border-2); border-radius: 14px; background: var(--surface-2); cursor: pointer; transition: all .15s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--primary); background: var(--primary-50); }
.dropzone > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.dropzone.has-file { border-style: solid; border-color: var(--green); background: var(--green-50); }
.dropzone.has-file > .ic { color: var(--green); }
.dz-text b { display: block; font-size: .92rem; } .dz-text small { color: var(--muted); font-size: .8rem; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.success-state { text-align: center; padding: 16px 0; }
.success-ic { width: 70px; height: 70px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 0 0 10px rgba(18, 161, 80, .06); }
.success-ic .ic { width: 32px; height: 32px; }

/* ============ auth ============ */
.auth { display: grid; grid-template-columns: minmax(380px, 1fr) 1.15fr; min-height: 100vh; }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(160deg, #0f1f3d, #1b3563); color: #fff; padding: 40px 48px; display: flex; flex-direction: column; }
.auth-side > :not(.hero-glow) { position: relative; z-index: 1; }
.auth-pitch { margin: auto 0; max-width: 420px; }
.auth-pitch h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.pitch-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; color: rgba(255, 255, 255, .82); }
.pitch-list li { display: flex; gap: 12px; align-items: center; }
.pitch-list .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #f2a877; }
.pitch-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.pitch-card b { display: block; font-size: .92rem; } .pitch-card small { color: var(--muted); font-size: .8rem; }
.auth-foot { color: rgba(255, 255, 255, .45); }
.auth-main { display: flex; flex-direction: column; padding: 32px 40px; background: #fff; }
.auth-card { width: 100%; max-width: 440px; margin: auto; padding: 30px 0; }
.auth-card h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.auth-card .form { margin: 22px 0 18px; }
.stepper { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.stepper span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--slate-50); color: var(--muted); font-weight: 700; font-size: .85rem; }
.stepper span.on { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--primary-100); }
.stepper span.done { background: var(--green); color: #fff; } .stepper span .ic { width: 16px; height: 16px; }
.stepper i { flex: 1; height: 3px; border-radius: 3px; background: var(--slate-50); } .stepper i.on { background: var(--green); }
.demo-inbox { display: flex; gap: 12px; align-items: center; border: 1px dashed #f0c661; background: var(--amber-50); padding: 14px 16px; border-radius: 12px; margin-top: 18px; font-size: .92rem; }
.demo-inbox > .ic { color: var(--amber); width: 24px; height: 24px; }
.demo-inbox small { display: block; color: #8a5300; font-size: .76rem; font-weight: 600; }
.demo-inbox strong { font-size: 1.15rem; letter-spacing: .18em; }
.code-input { font-size: 1.5rem; letter-spacing: .5em; text-align: center; font-weight: 700; }
.demo-accounts { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ============ app shell ============ */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--navy); color: #b9c3dc; display: flex; flex-direction: column; padding: 22px 16px 16px; overflow-y: auto; z-index: 40; }
.side .brand { padding: 0 8px; margin-bottom: 22px; flex-wrap: wrap; row-gap: 12px; }
.side-role { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: #f5cdb3; margin-left: 2px; }
.side .side-role { flex-basis: 100%; width: max-content; max-width: max-content; margin-left: 0; }
.side-cta { margin-bottom: 12px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #5f6c8f; padding: 16px 12px 6px; }
.side-nav a:not(.btn) { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .92rem; color: #b9c3dc; transition: all .15s; }
.side-nav a:not(.btn):hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-nav a.active { background: linear-gradient(90deg, rgba(37, 99, 235, .35), rgba(37, 99, 235, .12)); color: #fff; box-shadow: inset 3px 0 0 #4f8ef7; }
.side-nav a span { flex: 1; }
.side-count { font-size: .72rem; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); text-align: center; }
.side-count.hot { background: var(--coral); color: #fff; }
.side-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.side-company { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); text-decoration: none; }
.side-company:hover { background: rgba(255, 255, 255, .09); }
.side-company b, .side-user b { display: block; color: #fff; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-company small, .side-user small { display: block; font-size: .76rem; color: #7d89a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user { display: flex; gap: 10px; align-items: center; padding: 8px 4px 0; border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 14px; }
.side-scrim { display: none; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 32px; background: rgba(244, 246, 251, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.menu-btn { display: none; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); min-width: 0; overflow: hidden; white-space: nowrap; }
.crumbs a { text-decoration: none; font-weight: 600; } .crumbs a:hover { color: var(--primary); }
.crumbs span { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.crumbs .ic { width: 14px; height: 14px; color: var(--faint); }
.topbar-right { margin-left: auto; }
.topbar-date { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); font-weight: 500; }
.page { padding: 28px 32px 48px; max-width: 1320px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 4px; }
.page-head p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* KPIs + dashboard */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.kpi { display: flex; gap: 16px; align-items: flex-start; padding: 20px; text-decoration: none; margin: 0; transition: transform .15s, box-shadow .15s; }
.kpi:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(15, 26, 51, .25); }
.kpi-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.kpi-ic .ic { width: 22px; height: 22px; }
.kpi-ic.blue { background: var(--primary-50); color: var(--primary); } .kpi-ic.coral { background: var(--coral-50); color: var(--coral); }
.kpi-ic.green { background: var(--green-50); color: var(--green); } .kpi-ic.violet { background: var(--violet-50); color: var(--violet); }
.kpi-n { font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.kpi-l { color: var(--muted); font-weight: 600; font-size: .88rem; }
.kpi-sub { color: var(--faint); font-size: .78rem; margin-top: 4px; }
.dash-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.dash-grid > .card { margin-bottom: 18px; }
.big-num { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.bars { display: flex; align-items: stretch; gap: 6px; height: 190px; padding-top: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar { width: 100%; max-width: 30px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #de7a40, var(--primary)); position: relative; min-height: 4px; transition: opacity .15s; }
.bar:hover { opacity: .8; }
.bar span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 700; color: var(--text); }
.bar-col small { font-size: .7rem; color: var(--faint); height: 14px; }
.funnel { display: grid; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: 90px 1fr 26px; gap: 12px; align-items: center; text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--muted); }
.funnel-row:hover { color: var(--text); }
.funnel-row b { text-align: right; color: var(--text); }
.funnel-track { height: 10px; background: var(--slate-50); border-radius: 99px; overflow: hidden; }
.funnel-fill { height: 100%; border-radius: 99px; background: var(--st); min-width: 4px; }
.person-row, .perf-row { display: flex; gap: 12px; align-items: center; padding: 11px 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; }
.person-row:hover, .perf-row:hover { background: var(--surface-2); }
.person-row b, .perf-row b { font-size: .92rem; } .person-row small, .perf-row small { display: block; color: var(--muted); font-size: .8rem; }
.perf-track { height: 5px; border-radius: 99px; background: var(--slate-50); margin-top: 7px; overflow: hidden; max-width: 260px; }
.perf-track span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), #4f8ef7); }
.attention { padding: 6px 20px; border-left: 4px solid var(--amber); }
.attention-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; }
.attention-row + .attention-row { border-top: 1px solid var(--border); }
.att-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--amber-50); color: var(--amber); }
.onboarding { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); margin-bottom: 18px; background: linear-gradient(135deg, var(--primary), #4f8ef7); color: #fff; box-shadow: 0 16px 40px -18px rgba(37, 99, 235, .7); }
.onboarding p { color: rgba(255, 255, 255, .8); }
.onb-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.onboard-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.onboard-steps span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--muted); font-size: .84rem; font-weight: 600; }
.onboard-steps .done { color: var(--green); border-color: #c4ebd4; background: var(--green-50); }
.onboard-steps .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* split (form + side) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.split-side { display: flex; flex-direction: column; }
.sticky-side { position: sticky; top: 82px; }
.logo-row { display: flex; gap: 18px; align-items: center; }
.preview { overflow: hidden; position: relative; }
.preview-cover { --h: 220; height: 90px; background: radial-gradient(240px 120px at 80% 0, hsl(var(--h) 80% 60% / .7), transparent), linear-gradient(135deg, #0f1f3d, #1d3766); }
.preview-body { padding: 0 20px 20px; margin-top: -30px; }
.preview-body .logo { box-shadow: 0 0 0 4px #fff; }
.preview-body h3 { margin: 12px 0 2px; }
.preview-body p { color: var(--muted); margin: 12px 0; }
.preview-label { position: absolute; top: 12px; right: 12px; display: inline-flex; gap: 6px; align-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .14); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.preview-label .ic { width: 14px; height: 14px; }
.profile-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px; }
.form-section { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.sec-head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.sec-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); font-weight: 800; }
.quality-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.quality-head b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; } .quality-head small { color: var(--muted); font-weight: 600; }
.ring { width: 56px; height: 56px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; stroke: var(--slate-50); }
.ring #ringFill { stroke: var(--green); stroke-linecap: round; transition: stroke-dasharray .3s; }
.quality-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .88rem; color: var(--muted); }
.quality-list li { display: flex; gap: 10px; align-items: center; }
.quality-list .ic { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--slate-50); color: var(--faint); }
.quality-list li.ok { color: var(--text); } .quality-list li.ok .ic { background: var(--green-50); color: var(--green); }
.tip { display: flex; gap: 12px; background: linear-gradient(135deg, var(--primary-50), #fff); }
.tip-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--primary); flex-shrink: 0; box-shadow: var(--shadow-sm); }

/* jobs list */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #e9edf5; border-radius: 12px; margin-bottom: 18px; }
.segmented a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--muted); }
.segmented a b { font-size: .72rem; padding: 1px 7px; border-radius: 99px; background: rgba(15, 26, 51, .07); }
.segmented a.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.segmented a.active b { background: var(--primary); color: #fff; }
.job-rows { display: flex; flex-direction: column; gap: 12px; }
.job-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px 22px; margin: 0; position: relative; overflow: visible; }
.job-row::before { content: ''; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--border-2); }
.job-row.status-active::before { background: var(--green); } .job-row.status-pending::before { background: #e5a50a; }
.job-row.status-rejected::before { background: var(--red); } .job-row.status-paused::before { background: #94a3b8; }
.job-row.status-draft::before { background: #cbd2df; } .job-row.status-closed::before { background: #475569; }
.job-row-title { display: block; font-size: 1.1rem; font-weight: 700; text-decoration: none; margin: 6px 0 6px; }
.job-row-title:hover { color: var(--primary); }
.review-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .84rem; color: #b3261e; background: var(--red-50); padding: 8px 12px; border-radius: 9px; }
.review-note .ic { width: 15px; height: 15px; margin-top: 2px; }
.job-row-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 14px; }
.job-row-stats > div:not(.mini-pipe) { display: flex; flex-direction: column; }
.job-row-stats b { font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.job-row-stats small { color: var(--faint); font-size: .74rem; font-weight: 600; }
.mini-pipe { grid-column: 1 / -1; display: flex; gap: 2px; height: 6px; border-radius: 99px; overflow: hidden; background: var(--slate-50); }
.mini-pipe span { background: var(--st); } .mini-pipe .empty-seg { flex: 1; background: transparent; }
.job-row-actions { display: flex; gap: 8px; align-items: center; }
.dd { position: relative; }
.dd summary { list-style: none; }
.dd-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(15, 26, 51, .25); padding: 6px; z-index: 25; }
.dd-menu a, .dd-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; border: 0; background: none; font: inherit; font-size: .88rem; font-weight: 500; color: var(--text); text-decoration: none; cursor: pointer; text-align: left; }
.dd-menu a:hover, .dd-menu button:hover { background: var(--surface-2); }
.dd-menu .ic { width: 16px; height: 16px; color: var(--muted); }
.dd-menu .danger, .dd-menu .danger .ic { color: var(--red); }
.dd-menu hr { margin: 6px 0; }

/* applicants */
.view-toggle { display: inline-flex; padding: 4px; background: #e9edf5; border-radius: 11px; }
.view-toggle a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .86rem; color: var(--muted); }
.view-toggle a.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border-2); background: #fff; text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--muted); }
.chip b { color: var(--text); font-size: .78rem; }
.chip:hover { border-color: #b5bfd3; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); } .chip.active b { color: #f5cdb3; }
.toolbar { display: flex; gap: 10px; padding: 10px; margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
.toolbar .input { width: auto; }
.search-inline { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--border-2); border-radius: 10px; color: var(--faint); }
.search-inline:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.search-inline input { border: 0; outline: none; font: inherit; font-size: .93rem; padding: 10px 0; width: 100%; color: var(--text); background: transparent; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); padding: 12px 18px; border-bottom: 1px solid var(--border); font-weight: 700; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: .92rem; }
.table tbody tr { transition: background .12s; } .table tbody tr:hover { background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table tr.unread td:first-child { box-shadow: inset 3px 0 var(--coral); }
.table .ic { width: 15px; height: 15px; }
.stage-select { font: inherit; font-size: .82rem; font-weight: 700; padding: 6px 30px 6px 12px; border-radius: 999px; border: 1px solid transparent; background: var(--st-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6882' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 12px; color: var(--st); appearance: none; cursor: pointer; }
.stage-select:hover { border-color: var(--st); }
.board-hint { display: flex; align-items: center; gap: 6px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.kcol { background: #eaeef6; border-radius: 14px; padding: 10px; min-height: 260px; transition: background .15s, box-shadow .15s; }
.kcol.over { background: var(--primary-50); box-shadow: inset 0 0 0 2px var(--primary); }
.kcol-head { display: flex; align-items: center; gap: 8px; padding: 6px 6px 12px; font-weight: 700; font-size: .88rem; }
.kcol-head b { margin-left: auto; font-size: .74rem; padding: 1px 8px; border-radius: 99px; background: #fff; color: var(--muted); }
.kcol-body { display: flex; flex-direction: column; gap: 8px; }
.kcard { display: block; background: #fff; border-radius: 12px; padding: 12px; text-decoration: none; border: 1px solid var(--border); box-shadow: var(--shadow-sm); cursor: grab; transition: box-shadow .15s, transform .15s; }
.kcard:hover { box-shadow: 0 10px 24px -12px rgba(15, 26, 51, .3); transform: translateY(-1px); }
.kcard.dragging { opacity: .5; transform: rotate(2deg); }
.kcard b { font-size: .9rem; }
.kjob { display: block; color: var(--muted); font-size: .78rem; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kmeta { display: flex; gap: 12px; margin-top: 10px; font-size: .74rem; color: var(--faint); }
.kmeta span { display: inline-flex; gap: 4px; align-items: center; } .kmeta .ic { width: 13px; height: 13px; }
.kempty { text-align: center; padding: 24px 10px; border: 2px dashed #d5dbe7; border-radius: 12px; color: var(--faint); font-size: .82rem; }

/* application detail */
.candidate-hero { overflow: hidden; padding-bottom: 22px; }
.cand-cover { --h: 220; height: 96px; background: radial-gradient(300px 140px at 85% 0, hsl(var(--h) 80% 60% / .65), transparent), linear-gradient(135deg, #0f1f3d, #1d3766); }
.cand-main { display: flex; gap: 20px; align-items: flex-start; padding: 0 26px; margin-top: -38px; }
.cand-main .grow { padding-top: 48px; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.contact-chips > * { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .84rem; font-weight: 500; text-decoration: none; color: var(--text); }
.contact-chips a:hover { border-color: var(--primary); color: var(--primary); }
.contact-chips .ic { width: 15px; height: 15px; color: var(--faint); }
.candidate-hero .notice { margin: 16px 26px 0; }
.pipeline { list-style: none; display: flex; padding: 0 26px; margin: 26px 0 0; }
.pipeline li { flex: 1; text-align: center; font-size: .8rem; font-weight: 600; color: var(--faint); position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pipeline li::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--border); z-index: 0; }
.pipeline li:first-child::before { display: none; }
.pipeline li > span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--border-2); font-size: .8rem; font-weight: 700; color: var(--faint); }
.pipeline li > span .ic { width: 16px; height: 16px; }
.pipeline li.done { color: var(--text); } .pipeline li.done::before, .pipeline li.current::before { background: var(--primary); }
.pipeline li.done > span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pipeline li.current { color: var(--primary); }
.pipeline li.current > span { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 5px var(--primary-100); }
.pipeline.is-rejected { opacity: .55; }
.file-tile { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); flex-wrap: wrap; }
.file-tile b { display: block; font-size: .92rem; word-break: break-all; } .file-tile small { font-size: .8rem; }
.file-icon { width: 44px; height: 54px; border-radius: 8px; background: linear-gradient(160deg, var(--coral), #e2411f); color: #fff; display: grid; place-items: center; font-size: .66rem; font-weight: 800; flex-shrink: 0; position: relative; box-shadow: 0 6px 12px -6px rgba(226, 65, 31, .6); }
.secure-note { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; }
.letter { color: #2c3754; font-size: .95rem; border-left: 3px solid var(--primary-100); padding-left: 16px; }
.qa-item { padding: 10px 0; border-bottom: 1px solid var(--border); } .qa-item:last-child { border-bottom: 0; }
.question-row { margin-bottom: 8px; flex-wrap: wrap; } .question-row .input { flex: 1; min-width: 160px; }
.question-row .question-type { flex: 0 0 140px; }
.job-code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .78rem; background: var(--slate-50); color: var(--slate); padding: 2px 8px; border-radius: 6px; letter-spacing: .03em; }
.resume-row { margin-bottom: 10px; }
.question-answers { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 2px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.note-form { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.note-form .avatar { margin-top: 6px; }
.note { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); }
.note p { margin: 4px 0 0; font-size: .92rem; }
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stage-opt { cursor: pointer; }
.stage-opt input { position: absolute; opacity: 0; pointer-events: none; }
.stage-opt span { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border-2); font-size: .85rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.stage-opt input:checked + span { background: var(--st-bg); border-color: var(--st); color: var(--st); box-shadow: 0 0 0 3px var(--st-bg); }
.stage-opt input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .35); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 12px; padding-bottom: 16px; position: relative; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--border); }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--st); box-shadow: 0 0 0 4px var(--st-bg); margin-top: 4px; flex-shrink: 0; }
.tl-note { margin-top: 4px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); }
.access-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .82rem; }
.access-log li { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.access-log small { margin-left: auto; color: var(--faint); }
.access-log .ic { width: 15px; height: 15px; }
.secure-pill { display: inline-flex; gap: 6px; align-items: center; padding: 7px 13px; border-radius: 999px; background: var(--green-50); color: var(--green); font-weight: 700; font-size: .82rem; }
.secure-pill .ic { width: 15px; height: 15px; }
.viewer { background: #dde3ee; border-radius: var(--radius); padding: 30px; min-height: 60vh; }
.paper { max-width: 800px; margin: 0 auto; background: #fff; border-radius: 6px; box-shadow: 0 20px 50px -20px rgba(15, 26, 51, .35); padding: 56px 64px; min-height: 900px; }
.paper pre { margin: 0; white-space: pre-wrap; font: .95rem/1.75 var(--font); }
.resume-frame { width: 100%; height: 80vh; border: 0; border-radius: 8px; background: #fff; display: block; }

/* admin */
.review-card { padding: 20px 22px; }
.review-main { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.review-main .meta-row { margin: 6px 0; }
.review-details { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.review-details summary { cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--primary); }
.review-body { padding-top: 12px; color: #2c3754; font-size: .93rem; }
.settings-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.settings-row p { margin-top: 4px !important; }
.danger-zone { border-color: #f6c4bf; }
.switch { position: relative; display: inline-block; flex-shrink: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { display: block; width: 50px; height: 28px; border-radius: 99px; background: #cbd2df; transition: background .2s; position: relative; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + span { background: var(--primary); } .switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 2px; }

/* modal & toasts */
.modal-backdrop { position: fixed; inset: 0; background: rgba(11, 21, 48, .5); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 60; padding: 16px; animation: fade .15s; }
.modal { background: #fff; border-radius: 18px; padding: 26px; width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); animation: pop .18s ease-out; }
.modal-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); margin-bottom: 14px; }
.modal-icon.danger { background: var(--red-50); color: var(--red); }
.modal-body { color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } }
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 70; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; gap: 10px; align-items: center; background: var(--navy); color: #fff; padding: 12px 18px 12px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); transition: opacity .4s, transform .4s; font-weight: 600; font-size: .9rem; animation: pop .2s ease-out; }
.toast .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green); }
.toast-error .ic { background: var(--red); }
.toast.out { opacity: 0; transform: translateY(8px); }

/* ============ responsive ============ */
@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .job-row { grid-template-columns: minmax(0, 1fr) auto; }
  .job-row-stats { grid-column: 1 / -1; grid-row: 2; max-width: 420px; }
  .job-row-actions { grid-row: 1; grid-column: 2; align-self: start; }
}
@media (max-width: 1000px) {
  .results { grid-template-columns: 1fr; } .results-pane { display: none; }
  .detail-grid, .dash-grid, .split { grid-template-columns: 1fr; }
  .apply-box, .sticky-side { position: static; }
  .employer-band { grid-template-columns: 1fr; padding: 32px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; } .auth-side { display: none; }
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .25s ease; }
  body.side-open .side { transform: none; box-shadow: var(--shadow-lg); }
  body.side-open .side-scrim { display: block; position: fixed; inset: 0; background: rgba(11, 21, 48, .45); z-index: 35; }
  .menu-btn { display: inline-grid; }
  .topbar, .page { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 680px) {
  /* padding-left/right only: the shorthand form here used to reset padding-top/bottom to 0,
     wiping out .section's vertical spacing on any element that is both .container and .section. */
  .container { padding-left: 16px; padding-right: 16px; }
  .pill-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pill-filters .filter-label { grid-column: 1 / -1; margin: 0 0 2px; }
  .pill-filters .pill-select, .pill-filters select#locPick { width: 100%; }
  .pill-filters > a { grid-column: 1 / -1; justify-self: start; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chip { width: 100%; justify-content: center; }
  .segmented { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .segmented a { width: 100%; justify-content: center; }
  .hide-sm { display: none; }
  .nav-inner { gap: 10px; height: 60px; }
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
  .search { grid-template-columns: 1fr; border-radius: 16px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--border); border-radius: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div + div { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(even) { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .1); }
  .feature-grid { grid-template-columns: 1fr; margin-top: -50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-4 { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { flex-direction: column; gap: 10px; padding: 16px; }
  .pad-lg { padding: 20px; }
  .page { padding-top: 20px; } .page-head h1 { font-size: 1.45rem; }
  .topbar-date { display: none; }
  .auth-main { padding: 20px 16px; }
  .job-banner-main { flex-direction: column; align-items: flex-start; gap: 14px; }
  .job-row { grid-template-columns: 1fr; padding: 16px; }
  .job-row-actions { grid-row: auto; grid-column: auto; }
  .cand-main { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 18px; }
  .cand-main .grow { padding-top: 0; }
  .pipeline { padding: 0 10px; } .pipeline li { font-size: .68rem; }
  .settings-row { flex-direction: column; align-items: flex-start; }
  .paper { padding: 28px 22px; min-height: 0; } .viewer { padding: 12px; }
  .table, .table tbody { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 1px solid var(--border); padding: 10px 0; }
  .table td { display: block; border: 0; padding: 5px 16px; text-align: left; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-size: .7rem; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .toolbar .input { width: 100%; }
}
@media (max-width: 420px) {
  .grid-2, .grid-4, .stage-grid { grid-template-columns: 1fr; }
  .nav-right .btn-dark span { display: none; }
  .nav-right { gap: 4px; }
  .brand { font-size: 1.05rem; gap: 8px; } .brand-mark { width: 30px; height: 30px; }
  .employer-band { padding: 24px 20px; } .employer-band h2 { font-size: 1.5rem; }
  .funnel-row { grid-template-columns: 1fr 30px; grid-template-areas: "label label" "track num"; row-gap: 6px; }
  .funnel-row span { grid-area: label; white-space: normal; overflow: visible; text-overflow: clip; }
  .funnel-row .funnel-track { grid-area: track; }
  .funnel-row b { grid-area: num; }
}
.employer-band .row-gap, .page-head .row-gap { flex-wrap: wrap; }

/* ============ candidate & admin additions ============ */
.mt { margin-top: 14px; } .mt-sm { margin-top: 8px; } .nowrap { white-space: nowrap; }
.row-gap.wrap { flex-wrap: wrap; }
.announcement { background: linear-gradient(90deg, var(--coral), #2563eb); color: #fff; font-weight: 600; font-size: .9rem; }
.announcement .container { display: flex; gap: 10px; align-items: center; justify-content: center; padding-top: 10px; padding-bottom: 10px; text-align: center; }

/* search filters */
.filter-row { margin: -4px 0 18px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.filter-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--muted); margin-right: 4px; }
.pill-select.on { border-color: var(--primary); background-color: var(--primary-50); color: var(--primary); }

/* save (heart) button */
.job-card-wrap { position: relative; }
.job-card-wrap .job-card { padding-right: 60px; }
.save-btn { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; color: var(--faint); display: grid; place-items: center; cursor: pointer; transition: all .15s; z-index: 1; }
.save-btn:hover { color: var(--coral); border-color: #f7c49f; }
.save-btn.on { color: #fff; background: var(--coral); border-color: var(--coral); }
.save-btn.on .ic { fill: currentColor; }
.save-btn.inline { position: static; flex-shrink: 0; }
.saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 18px; }
.saved-grid.faded { opacity: .6; }

/* job page apply column */
.apply-col { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 10px; }
.apply-col .apply-box { position: static; margin: 0; }
.report-link { align-self: center; background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.report-link:hover { color: var(--red); background: var(--red-50); }
.apply-profile { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 14px; }
.apply-profile > .ic { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--primary-50); color: var(--primary); }
.apply-profile b, .apply-profile small { display: block; } .apply-profile small { color: var(--muted); font-size: .8rem; }
.resume-pick .file-tile > .ic { width: 36px; height: 36px; padding: 8px; border-radius: 9px; background: #fff; color: var(--primary); }
.resume-pick .notice { margin: 0; }
.report-reasons { display: grid; gap: 8px; margin: 12px 0; }

/* register: account type */
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.role-switch a { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 2px solid var(--border); text-decoration: none; transition: all .15s; }
.role-switch a .ic { width: 22px; height: 22px; color: var(--faint); margin-top: 2px; }
.role-switch b { display: block; font-size: .95rem; } .role-switch small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }
.role-switch a:hover { border-color: var(--border-2); }
.role-switch a.on { border-color: var(--primary); background: var(--primary-50); }
.role-switch a.on .ic { color: var(--primary); }

/* candidate application tracking */
.mini-track { list-style: none; display: flex; padding: 0; margin: 14px 0 4px; }
.mini-track li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; font-size: .72rem; color: var(--faint); font-weight: 600; text-align: center; }
.mini-track li::before { content: ''; position: absolute; top: 5px; left: -50%; right: 50%; height: 3px; background: var(--border); }
.mini-track li:first-child::before { display: none; }
.mini-track li i { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--border-2); position: relative; z-index: 1; }
.mini-track li.done, .mini-track li.current { color: var(--text); }
.mini-track li.done::before, .mini-track li.current::before { background: var(--primary); }
.mini-track li.done i { background: var(--primary); border-color: var(--primary); }
.mini-track li.current i { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-100); }
.mini-track li.current span { color: var(--primary); }
.mini-track.rejected { display: block; margin: 12px 0 0; }
.mt-label { display: inline-flex; gap: 6px; align-items: center; font-size: .84rem; color: var(--red); font-weight: 600; }
.app-track-row { display: block; padding: 14px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; }
.app-track-row + .app-track-row { border-top: 1px solid var(--border); }
.app-track-row:hover { background: var(--surface-2); }
.app-track-row b { font-size: .94rem; } .app-track-row small { display: block; color: var(--muted); font-size: .8rem; }
.app-cards { display: grid; gap: 12px; }
.app-card { display: block; padding: 18px 22px; margin: 0; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.app-card:hover { border-color: #efc3a7; box-shadow: 0 10px 30px -12px rgba(15, 26, 51, .18); }
.app-card .meta-row { margin-top: 4px; }
.status-big { margin-top: 4px; } .status-big .badge { font-size: .9rem; padding: 5px 14px; }
.meter { height: 8px; border-radius: 99px; background: var(--slate-50); overflow: hidden; margin: 14px 0 6px; }
.meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), #4f8ef7); }
.profile-mini .file-tile > .ic { width: 36px; height: 36px; padding: 8px; border-radius: 9px; background: #fff; color: var(--primary); }
.profile-headline { font-weight: 600; font-size: 1rem; color: var(--text); }
.profile-mini .row-gap b, .profile-mini .row-gap small { display: block; }
.side-role { white-space: nowrap; }

/* email settings */
.email-card .card-head .ic { color: var(--primary); }
.email-help { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: .9rem; }
.email-help p { margin: 6px 0 0; }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.test-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.test-to { max-width: 300px; }
code { background: var(--slate-50); padding: 1px 6px; border-radius: 5px; font-size: .88em; }

/* private staff sign-in */
.auth.staff { grid-template-columns: 1fr; background: var(--navy); }
.staff-main { background: transparent; align-items: center; justify-content: center; }
.staff .auth-card { background: #fff; border-radius: 18px; padding: 32px; box-shadow: var(--shadow-lg); max-width: 420px; }
.staff-brand { display: flex; align-items: center; gap: 10px; color: var(--navy); margin-bottom: 18px; }
.staff-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--slate-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.staff-pill .ic { width: 14px; height: 14px; }

/* account reviews & trust checks */
.review-tabs { margin-bottom: 8px; } .review-tabs .segmented { margin-bottom: 0; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.account-card { padding: 20px 22px; margin: 0; border-top: 4px solid var(--border-2); }
.account-card.risk-border-high { border-top-color: var(--red); }
.account-card.risk-border-medium { border-top-color: #e5a50a; }
.account-card.risk-border-low { border-top-color: var(--green); }
.account-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.account-head .small { margin-top: 3px; }
.account-actions { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); justify-content: flex-end; }
.risk { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; }
.risk .ic { width: 14px; height: 14px; }
.risk-high { background: var(--red-50); color: var(--red); }
.risk-medium { background: var(--amber-50); color: var(--amber); }
.risk-low { background: var(--green-50); color: var(--green); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.checks li > .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; }
.checks li b { display: block; font-weight: 600; } .checks li small { display: block; color: var(--muted); font-size: .8rem; word-break: break-word; }
.check-good > .ic { background: var(--green-50); color: var(--green); }
.check-warn > .ic { background: var(--amber-50); color: var(--amber); }
.check-bad > .ic { background: var(--red-50); color: var(--red); }
.check-bad b { color: var(--red); }
.check-info > .ic { background: var(--slate-50); color: var(--slate); }
.checks.compact { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.review-card.flagged { border-left: 4px solid var(--red); }
.acct-job { padding: 12px 0; border-top: 1px solid var(--border); }
.acct-job:first-of-type { border-top: 0; }
.account-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; border: 1px solid; }
.account-notice > .ic { margin-top: 2px; }
.account-notice b { display: block; } .account-notice span { font-size: .9rem; }
.account-notice.pending { background: var(--amber-50); border-color: #f4dc9c; color: #8a5300; }
.account-notice.rejected { background: var(--red-50); border-color: #f6c4bf; color: #b3261e; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: .78rem; font-weight: 700; margin-left: 4px; vertical-align: middle; }
.verified .ic { width: 14px; height: 14px; }
.verified-light { color: #9ee6b8 !important; font-weight: 600; }
.verified-light .ic { color: #9ee6b8 !important; }
@media (max-width: 680px) { .review-grid { grid-template-columns: 1fr; } }
.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }

/* admin */
.dash-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-grid.even { grid-template-columns: 1fr 1fr; }
.bars-30 { gap: 3px; height: 170px; }
.bars-30 .bar span { display: none; }
.bars-30 .bar-col:hover .bar span { display: block; }
.bar.violet { background: linear-gradient(180deg, #4f6fa3, var(--navy-3)); }
.big-small { font-size: 1.15rem; font-weight: 800; }
.funnel-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.funnel-fill.js-active { background: var(--green); } .funnel-fill.js-pending { background: #e5a50a; } .funnel-fill.js-paused { background: #94a3b8; }
.funnel-fill.js-draft { background: #cbd2df; } .funnel-fill.js-rejected { background: var(--red); } .funnel-fill.js-closed { background: #475569; } .funnel-fill.js-removed { background: #7f1d1d; }
.job-removed { background: #fbe9e9; color: #7f1d1d; }
.act-list { list-style: none; padding: 0; margin: 0 0 12px; }
.act-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--border); font-size: .9rem; }
.act-row:first-child { border-top: 0; }
.act-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--slate-50); color: var(--slate); flex-shrink: 0; }
.act-ic .ic { width: 16px; height: 16px; }
.act-account { background: var(--primary-50); color: var(--primary); } .act-job { background: var(--green-50); color: var(--green); }
.act-application { background: var(--violet-50); color: var(--violet); } .act-report { background: var(--red-50); color: var(--red); }
.report-card { padding: 18px 22px; }
.report-main { display: flex; gap: 14px; align-items: flex-start; }
.report-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex-shrink: 0; }
.report-main .small { margin-top: 4px; }
.report-details { margin: 10px 0 6px; padding: 10px 14px; background: var(--surface-2); border-radius: 10px; border-left: 3px solid var(--red); font-size: .92rem; }
.report-actions { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.tax-add { display: flex; gap: 8px; margin-bottom: 12px; }
.tax-list { list-style: none; padding: 0; margin: 0; }
.tax-list li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); }
.tax-list .icon-btn { width: 32px; height: 32px; }
.content-preview { overflow: hidden; position: relative; background: linear-gradient(160deg, #0f1f3d, #18305c); color: #fff; }
.cp-announce { background: var(--coral); padding: 8px 14px; font-size: .78rem; font-weight: 600; text-align: center; }
.cp-hero { padding: 40px 22px 32px; }
.cp-hero b { display: block; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.02em; }
.cp-hero p { color: rgba(255, 255, 255, .72); font-size: .88rem; margin: 10px 0 0; }
.content-preview .preview-label { top: auto; bottom: 10px; }
@media (max-width: 1000px) {
  .dash-grid.three, .dash-grid.even { grid-template-columns: 1fr; }
  .apply-col { position: static; }
}
@media (max-width: 680px) {
  .role-switch { grid-template-columns: 1fr; }
  .mini-track li span { display: none; }
  .mini-track li.current span { display: block; position: absolute; top: 18px; white-space: nowrap; }
  .mini-track { margin-bottom: 22px; }
  .report-main { flex-direction: column; }
}
