/* =========================================================================
   Jobs Platform — base design system (shared by both brands, dashboards & app)
   Brand themes override the tokens in :root (see theme-jobnet.css / theme-dailyjob.css)
   ========================================================================= */
:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: var(--font-sans);
  --primary: #1d6fe0; --primary-600: #175cc0; --primary-700: #124a9c; --primary-100: #e3eefc; --primary-50: #f2f7fe;
  --accent: #0f9d63; --accent-100: #e0f5ec;
  --cta: var(--primary); --cta-text: #fff; --cta-hover: var(--primary-600);
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --muted-2: #94a3b8;
  --bg: #ffffff; --bg-soft: #f5f8fc; --bg-2: #eef3f9; --line: #e2e8f0; --line-2: #cbd5e1;
  --card: #ffffff; --shadow: 0 1px 2px rgba(15,23,42,.04), 0 4px 16px rgba(15,23,42,.06); --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
  --success: #16a34a; --success-100: #dcfce7; --warning: #d97706; --warning-100: #fef3c7; --danger: #dc2626; --danger-100: #fee2e2; --info: #0284c7; --info-100: #e0f2fe;
  --radius: 12px; --radius-sm: 8px; --radius-lg: 18px; --radius-pill: 999px;
  --header-h: 68px; --sidebar-w: 260px; --container: 1240px;
  --hero-grad: linear-gradient(135deg, #f2f7fe 0%, #ffffff 55%, #e8f1fd 100%);
  --nav-bg: rgba(255,255,255,.92); --nav-ink: var(--ink); --footer-bg: #0b1730; --footer-ink: #cbd5e1;
  --btn-radius: 10px;
}

/* ---- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
small, .small { font-size: .85rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }
pre { background: #0f172a; color: #e2e8f0; padding: 1rem; border-radius: var(--radius-sm); overflow: auto; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }

/* ---- layout helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.container-wide { max-width: 1400px; }
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .items-start { align-items: flex-start; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; } .justify-end { justify-content: flex-end; } .flex-col { flex-direction: column; } .flex-1 { flex: 1 1 0%; min-width: 0; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 24px; } .gap-6 { gap: 32px; }
.mt-0{margin-top:0}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-5{margin-top:24px}.mt-6{margin-top:32px}.mt-8{margin-top:48px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:4px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mb-5{margin-bottom:24px}.mb-6{margin-bottom:32px}
.p-0{padding:0}.p-2{padding:8px}.p-3{padding:12px}.p-4{padding:16px}.p-5{padding:24px}
.w-full { width: 100%; } .text-center { text-align: center; } .text-right { text-align: right; } .text-left { text-align: left; }
.muted { color: var(--muted); } .muted-2 { color: var(--muted-2); } .ink { color: var(--ink); } .primary { color: var(--primary); } .accent { color: var(--accent); } .danger { color: var(--danger); } .success { color: var(--success); } .warning { color: var(--warning); }
.fw-5 { font-weight: 500; } .fw-6 { font-weight: 600; } .fw-7 { font-weight: 700; } .fw-8 { font-weight: 800; }
.fs-xs { font-size: .78rem; } .fs-sm { font-size: .86rem; } .fs-md { font-size: 1rem; } .fs-lg { font-size: 1.15rem; } .fs-xl { font-size: 1.4rem; } .fs-2xl { font-size: 1.9rem; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hide-mobile { } .show-mobile { display: none !important; }
.sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.rounded { border-radius: var(--radius); } .shadow { box-shadow: var(--shadow); }
.prose { max-width: 78ch; font-size: 1.02rem; line-height: 1.7; }
.prose h2 { margin-top: 2em; font-size: 1.45rem; } .prose h3 { margin-top: 1.5em; } .prose ul, .prose ol { margin-bottom: 1.2em; } .prose li { margin-bottom: .35em; }
.prose blockquote { border-left: 4px solid var(--primary-100); margin: 1.5em 0; padding: .5em 1em; color: var(--ink-2); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* ---- buttons ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--btn-radius); border: 1px solid transparent; font-weight: 600; font-size: .93rem; line-height: 1.2; cursor: pointer; transition: all .15s ease; text-decoration: none !important; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--cta); color: var(--cta-text); border-color: var(--cta); }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--cta-text); }
.btn-secondary { background: var(--primary-100); color: var(--primary-700); }
.btn-secondary:hover { background: color-mix(in srgb, var(--primary-100) 70%, var(--primary) 30%); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { filter: brightness(.93); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.btn-outline-primary { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary-50); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger-soft { background: var(--danger-100); color: var(--danger); }
.btn-success { background: var(--success); color: #fff; }
.btn-warning { background: var(--warning-100); color: #92400e; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white { background: #fff; color: var(--primary-700); }
.btn-sm { padding: 6px 12px; font-size: .84rem; border-radius: 8px; } .btn-sm svg { width: 15px; height: 15px; }
.btn-xs { padding: 4px 9px; font-size: .78rem; border-radius: 7px; } .btn-xs svg { width: 13px; height: 13px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { padding: 8px; width: 38px; height: 38px; border-radius: 10px; } .btn-icon.btn-sm { width: 32px; height: 32px; padding: 6px; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-group { display: inline-flex; gap: 8px; flex-wrap: wrap; }

/* ---- badges / chips --------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--radius-pill); font-size: .74rem; font-weight: 600; line-height: 1.4; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }
.badge-primary { background: var(--primary-100); color: var(--primary-700); }
.badge-success { background: var(--success-100); color: #166534; }
.badge-warning { background: var(--warning-100); color: #92400e; }
.badge-danger { background: var(--danger-100); color: #991b1b; }
.badge-info { background: var(--info-100); color: #075985; }
.badge-accent { background: var(--accent-100); color: #065f46; }
.badge-dark { background: var(--ink); color: #fff; }
.badge-outline { background: transparent; border: 1px solid var(--line-2); }
.badge-featured { background: linear-gradient(90deg, #f59e0b, #f97316); color: #fff; }
.badge-lg { font-size: .85rem; padding: 5px 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--bg-2); color: var(--ink-2); font-size: .84rem; font-weight: 500; border: 1px solid transparent; }
a.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); text-decoration: none; }
.chip.is-active { background: var(--primary); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--bg-2); color: var(--ink-2); font-size: .78rem; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted-2); }
.dot-success { background: var(--success); } .dot-warning { background: var(--warning); } .dot-danger { background: var(--danger); } .dot-primary { background: var(--primary); }
.verified { color: var(--primary); display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; }
.verified svg { width: 14px; height: 14px; }

/* ---- cards ----------------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 20px; }
.card-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head h3, .card-head h2 { margin: 0; font-size: 1.05rem; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg-soft); border-radius: 0 0 var(--radius) var(--radius); }
.card-flat { box-shadow: none; }
.card-soft { background: var(--bg-soft); border-color: transparent; box-shadow: none; }
.card-hover { transition: transform .15s, box-shadow .15s; }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-primary { background: var(--primary-50); border-color: var(--primary-100); }
.card-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%); color: #fff; border: 0; }
.card-gradient h3, .card-gradient h2, .card-gradient p { color: #fff; }

/* stat cards */
.stat { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-100); color: var(--primary); flex: none; }
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon.accent { background: var(--accent-100); color: var(--accent); } .stat-icon.warning { background: var(--warning-100); color: var(--warning); } .stat-icon.danger { background: var(--danger-100); color: var(--danger); } .stat-icon.info { background: var(--info-100); color: var(--info); } .stat-icon.violet { background: #ede9fe; color: #6d28d9; }
.stat-value { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .84rem; }
.stat-delta { font-size: .75rem; font-weight: 600; margin-left: auto; }

/* ---- forms ------------------------------------------------------------ */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; } .form-row-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .form-row-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
label, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
label .req, .req { color: var(--danger); }
.hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 5px; }
.input, .select, .textarea, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="url"], input[type="date"], input[type="datetime-local"], input[type="time"], input[type="search"], select, textarea { width: 100%; padding: 10px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font-size: .95rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus, .input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
select[multiple] { background-image: none; padding-right: 13px; }
input[type="checkbox"], input[type="radio"] { width: 17px; height: 17px; accent-color: var(--primary); vertical-align: middle; margin: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .92rem; cursor: pointer; margin: 0; color: var(--ink); }
.check input { margin-top: 3px; flex: none; }
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-inline { display: flex; flex-wrap: wrap; gap: 14px; }
.is-invalid, input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: var(--danger); }
.error { color: var(--danger); font-size: .8rem; margin-top: 5px; display: block; }
.input-group { display: flex; align-items: stretch; }
.input-group > * { border-radius: 0; }
.input-group > :first-child { border-radius: 10px 0 0 10px; } .input-group > :last-child { border-radius: 0 10px 10px 0; }
.input-group .btn { border-radius: 0 10px 10px 0; }
.input-addon { display: flex; align-items: center; padding: 0 12px; background: var(--bg-2); border: 1px solid var(--line-2); border-right: 0; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.input-icon { position: relative; } .input-icon > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; } .input-icon > input, .input-icon > select { padding-left: 38px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; font-size: .9rem; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track { width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .15s; flex: none; }
.switch .track::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .track { background: var(--success); } .switch input:checked + .track::after { left: 21px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.fieldset legend { padding: 0 8px; font-weight: 700; font-size: .95rem; }
.counter { font-size: .75rem; color: var(--muted-2); text-align: right; margin-top: 3px; }
.counter.over { color: var(--danger); }
.file-drop { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); background: var(--bg-soft); cursor: pointer; transition: .15s; }
.file-drop:hover, .file-drop.is-over { border-color: var(--primary); background: var(--primary-50); }
.file-drop input { display: none; }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; min-height: 44px; align-items: center; }
.tag-input .tag { display: inline-flex; align-items: center; gap: 4px; background: var(--primary-100); color: var(--primary-700); } .tag-input .tag button { border: 0; background: none; color: inherit; padding: 0 2px; line-height: 1; font-size: 1rem; }
.tag-input input { border: 0; padding: 4px 6px; flex: 1; min-width: 120px; } .tag-input input:focus { box-shadow: none; }
.repeater-row { display: grid; gap: 10px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--bg-soft); }
.suggest { position: relative; } .suggest-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: var(--shadow-lg); max-height: 260px; overflow: auto; } .suggest-list button { display: block; width: 100%; text-align: left; padding: 9px 13px; border: 0; background: none; font-size: .9rem; } .suggest-list button:hover, .suggest-list button.is-active { background: var(--primary-50); color: var(--primary-700); }
.range-inline { display: flex; align-items: center; gap: 8px; } .range-inline span { color: var(--muted); }

/* ---- alerts & toasts --------------------------------------------------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: .92rem; margin-bottom: 16px; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert-success { background: var(--success-100); border-color: #bbf7d0; color: #14532d; }
.alert-error, .alert-danger { background: var(--danger-100); border-color: #fecaca; color: #7f1d1d; }
.alert-warning { background: var(--warning-100); border-color: #fde68a; color: #78350f; }
.alert-info { background: var(--info-100); border-color: #bae6fd; color: #0c4a6e; }
.alert .close { margin-left: auto; border: 0; background: none; font-size: 1.2rem; line-height: 1; color: inherit; opacity: .6; }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: .9rem; animation: toast-in .2s ease; display: flex; gap: 10px; align-items: center; }
.toast.success { background: #14532d; } .toast.error { background: #7f1d1d; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- tables ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
/* An open row menu (Actions → Profile / Login as …) used to be cut off by the table's own horizontal
   scroll and turned into a tiny scroll box. While a menu is open the wrapper stops clipping; the class
   is set by ui.js, and :has() does the same for browsers that support it even before the JS runs. */
.table-wrap.has-open-menu, .table-wrap:has(.dropdown.is-open) { overflow: visible; }
.table { width: 100%; font-size: .9rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; background: var(--bg-soft); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg-soft); }
.table .actions { white-space: nowrap; text-align: right; }
.table-compact th, .table-compact td { padding: 8px 10px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: .92rem; } .kv dt { color: var(--muted); font-weight: 500; margin: 0; } .kv dd { margin: 0; font-weight: 500; }

/* ---- nav / header ------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); height: var(--header-h); display: flex; align-items: center; }
.site-header .container { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--nav-ink); letter-spacing: -.02em; text-decoration: none !important; }
.logo img { height: 40px; width: auto; }
.logo small { display: block; font-size: .62rem; font-weight: 500; color: var(--muted); letter-spacing: 0; line-height: 1; margin-top: 2px; }
.logo .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--nav-ink); font-weight: 500; font-size: .93rem; text-decoration: none !important; }
.nav a:hover, .nav a.is-active { background: var(--primary-50); color: var(--primary); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; color: var(--nav-ink); }
.nav-toggle svg { width: 26px; height: 26px; }
.mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 99; padding: 16px 20px; overflow: auto; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); text-decoration: none !important; }
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--primary-100); color: var(--primary-700); display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; overflow: hidden; }
.avatar-sm { width: 30px; height: 30px; font-size: .7rem; } .avatar-lg { width: 64px; height: 64px; font-size: 1.3rem; } .avatar-xl { width: 96px; height: 96px; font-size: 2rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.company-logo { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--primary); overflow: hidden; flex: none; font-size: 1rem; }
.company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.company-logo.lg { width: 84px; height: 84px; font-size: 1.6rem; border-radius: 14px; } .company-logo.sm { width: 36px; height: 36px; font-size: .8rem; border-radius: 8px; }

/* dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 200; display: none; }
.dropdown.is-open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; border: 0; background: none; color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none !important; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--bg-soft); color: var(--primary); }
.dropdown-menu svg { width: 16px; height: 16px; color: var(--muted); }
.dropdown-menu .sep { height: 1px; background: var(--line); margin: 6px 0; }
.dropdown-menu .danger:hover { background: var(--danger-100); color: var(--danger); }
.dropdown-menu.left { right: auto; left: 0; }
.notif-btn { position: relative; }
.notif-btn .count { position: absolute; top: -4px; right: -4px; background: var(--danger); color: #fff; font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* ---- footer ---------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 56px 0 24px; margin-top: 64px; font-size: .9rem; }
.site-footer a { color: var(--footer-ink); } .site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; } .footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #94a3b8; }
.socials { display: flex; gap: 8px; } .socials a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; } .socials svg { width: 16px; height: 16px; }
.newsletter { background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: var(--radius-lg); padding: 24px 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.newsletter form { display: flex; gap: 8px; flex: 1; min-width: 280px; } .newsletter input { flex: 1; }

/* ---- hero ------------------------------------------------------------ */
.hero { background: var(--hero-grad); padding: 48px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; align-items: end; }
.hero-center { text-align: center; }
.hero-center h1 { margin-bottom: 12px; }
.hero-center h1 span { color: var(--primary); }
.hero-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--primary-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero-lead { color: var(--ink-2); font-size: 1.05rem; max-width: 560px; margin: 0 auto 24px; }
.hero-side { background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.hero-side h3 { font-size: 1rem; margin-bottom: 4px; }
.hero-side img { width: 100%; max-height: 220px; object-fit: contain; margin: 6px 0 10px; }
.hero-side ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: .85rem; } .hero-side li { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; } .hero-side li svg { width: 14px; height: 14px; color: var(--success); }
.search-bar { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; gap: 6px; max-width: 900px; margin: 0 auto; }
.search-bar .input-icon input, .search-bar .input-icon select { border: 0; background: transparent; } .search-bar .input-icon input:focus, .search-bar .input-icon select:focus { box-shadow: none; }
.search-bar .btn { border-radius: 10px; }
.popular { margin-top: 14px; font-size: .85rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.popular a { background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -28px; position: relative; z-index: 2; }

/* ---- job cards ------------------------------------------------------- */
.job-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; position: relative; }
.job-card .top { display: flex; gap: 12px; align-items: flex-start; }
.job-card .title { font-size: 1.02rem; font-weight: 700; margin: 0; line-height: 1.3; }
.job-card .title a { color: var(--ink); } .job-card .title a:hover { color: var(--primary); text-decoration: none; }
.job-card .company { color: var(--muted); font-size: .86rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.job-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--ink-2); }
.job-card .meta span { display: inline-flex; align-items: center; gap: 5px; } .job-card .meta svg { width: 15px; height: 15px; color: var(--muted-2); }
.job-card .salary { font-weight: 700; color: var(--primary-700); }
.job-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.job-card .save { position: absolute; top: 14px; right: 14px; border: 0; background: none; color: var(--muted-2); padding: 4px; }
.job-card .save svg { width: 20px; height: 20px; } .job-card .save.is-saved, .job-card .save:hover { color: var(--primary); }
.job-card.is-featured { border-color: #fcd34d; background: linear-gradient(180deg, #fffbeb 0%, #fff 40%); }
.job-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; }
.job-row .title { font-weight: 700; font-size: 1rem; margin: 0 0 2px; }
.match-ring { --p: 0; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--success) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: var(--ink); flex: none; }
.match-ring::before { content: attr(data-label); width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.match-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; } .match-bar span { display: block; height: 100%; background: var(--success); }

/* ---- listing layout / filters ---------------------------------------- */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.filters { padding: 18px; }
.filters h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 8px; } .filters h4:first-child { margin-top: 0; }
.filters .check { font-size: .88rem; font-weight: 500; margin-bottom: 7px; }
.filters .count { margin-left: auto; color: var(--muted-2); font-size: .78rem; }
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.listing-toolbar select { width: auto; }
.results-list { display: flex; flex-direction: column; gap: 12px; }
.page-title { margin-bottom: 4px; } .page-intro { color: var(--muted); max-width: 70ch; }
.breadcrumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; } .breadcrumbs a { color: var(--muted); } .breadcrumbs span::before { content: "/"; margin-right: 6px; color: var(--muted-2); } .breadcrumbs span:first-child::before { content: none; }
.category-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none !important; color: var(--ink); }
.category-card .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-100); color: var(--primary); display: grid; place-items: center; flex: none; } .category-card .ico svg { width: 20px; height: 20px; }
.category-card strong { display: block; font-size: .95rem; } .category-card small { color: var(--muted); }
.company-card { padding: 20px; text-align: center; }
.company-card .company-logo { margin: 0 auto 12px; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.logo-strip a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; color: var(--ink-2); font-size: .9rem; }

/* job detail */
.job-head { padding: 26px; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.job-head h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.job-head .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: .9rem; } .job-head .meta span { display: inline-flex; gap: 6px; align-items: center; } .job-head .meta svg { width: 16px; height: 16px; color: var(--muted-2); }
.job-head .cta { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-self: center; }
.job-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.job-section { margin-bottom: 26px; } .job-section h2 { font-size: 1.2rem; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-100); display: inline-block; }
.job-section ul { padding-left: 1.2em; } .job-section li { margin-bottom: 6px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .facts div { padding: 10px 12px; background: var(--bg-soft); border-radius: 8px; } .facts small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; } .facts strong { font-size: .92rem; }
.apply-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: none; z-index: 90; box-shadow: 0 -4px 20px rgba(15,23,42,.08); }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; background: #fff; } .faq summary { padding: 13px 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; } .faq summary::after { content: "+"; color: var(--primary); font-weight: 800; } .faq[open] summary::after { content: "–"; } .faq p { padding: 0 16px 14px; margin: 0; color: var(--ink-2); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- plans ------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.plan { padding: 26px 24px; display: flex; flex-direction: column; position: relative; }
.plan.is-featured { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-100), var(--shadow-lg); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.plan .name { font-size: 1.05rem; font-weight: 800; }
.plan .price { font-size: 2rem; font-weight: 800; margin: 10px 0 2px; letter-spacing: -.02em; } .plan .price small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.plan .tagline { color: var(--muted); font-size: .88rem; min-height: 40px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; font-size: .9rem; flex: 1; } .plan li { display: flex; gap: 8px; margin-bottom: 9px; align-items: flex-start; } .plan li svg { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 2px; }
.billing-toggle { display: inline-flex; background: var(--bg-2); padding: 4px; border-radius: 999px; gap: 4px; } .billing-toggle button { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--muted); } .billing-toggle button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* ---- steps / features ------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { text-align: center; padding: 20px; } .step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; margin: 0 auto 12px; }
.feature { display: flex; gap: 14px; align-items: flex-start; } .feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-100); color: var(--primary); display: grid; place-items: center; flex: none; } .feature .ico svg { width: 22px; height: 22px; } .feature h4 { margin-bottom: 4px; } .feature p { color: var(--muted); font-size: .9rem; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius-lg); }
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%); color: #fff; border-radius: var(--radius-lg); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; } .cta-band p { margin: 0; opacity: .9; }
.score-ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--success) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; }
.score-ring > div { width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; }
.score-ring small { display: block; font-size: .7rem; color: var(--muted); font-weight: 500; }

/* ---- dashboard shell (seeker / employer) ------------------------------ */
.dash { display: grid; grid-template-columns: var(--sidebar-w) 1fr; gap: 24px; padding: 24px 0 48px; align-items: start; }
.dash-side { position: sticky; top: calc(var(--header-h) + 16px); }
.side-nav { padding: 10px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .92rem; text-decoration: none !important; }
.side-nav a svg { width: 19px; height: 19px; color: var(--muted-2); }
.side-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.side-nav a.is-active { background: var(--primary-100); color: var(--primary-700); font-weight: 600; } .side-nav a.is-active svg { color: var(--primary); }
.side-nav .count { margin-left: auto; background: var(--danger); color: #fff; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.side-promo { padding: 18px; margin-top: 16px; }
.dash-main { min-width: 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { font-size: 1.5rem; margin: 0; } .dash-head p { margin: 2px 0 0; color: var(--muted); }
.welcome { display: flex; gap: 20px; align-items: center; padding: 22px 24px; flex-wrap: wrap; }
.welcome h2 { margin: 0 0 2px; font-size: 1.35rem; }
.completion { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; width: 100%; } .progress span { display: block; height: 100%; background: var(--primary); border-radius: 4px; }
.progress.success span { background: var(--success); } .progress.warning span { background: var(--warning); }
.two-col { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; } .timeline li { position: relative; padding-left: 26px; padding-bottom: 16px; border-left: 2px solid var(--line); margin-left: 8px; } .timeline li::before { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; } .timeline li:last-child { border-color: transparent; } .timeline small { color: var(--muted); display: block; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); } .empty svg { width: 48px; height: 48px; color: var(--line-2); margin: 0 auto 12px; } .empty h3 { color: var(--ink); margin-bottom: 6px; }
.status-list { display: flex; gap: 8px; flex-wrap: wrap; }
.pipeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 10px; }
.pipeline .col { background: var(--bg-soft); border-radius: var(--radius); padding: 12px; min-height: 300px; } .pipeline .col h4 { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 10px; } .pipeline .col h4 span { color: var(--muted); }
.pipeline .item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: .86rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a, .tabs button { padding: 10px 14px; border: 0; background: none; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-size: .92rem; text-decoration: none !important; }
.tabs a.is-active, .tabs button.is-active, .tabs a:hover { color: var(--primary); border-color: var(--primary); }
.tab-panel { display: none; } .tab-panel.is-active { display: block; }
.pills { display: inline-flex; gap: 4px; background: var(--bg-2); padding: 4px; border-radius: 10px; } .pills a, .pills button { padding: 6px 12px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); border: 0; background: none; text-decoration: none !important; } .pills .is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.msg-layout { display: grid; grid-template-columns: 320px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 520px; background: #fff; }
.msg-list { border-right: 1px solid var(--line); overflow: auto; } .msg-list a { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none !important; } .msg-list a.is-active, .msg-list a:hover { background: var(--bg-soft); } .msg-list .unread { font-weight: 700; }
.msg-thread { display: flex; flex-direction: column; } .msg-body { flex: 1; padding: 20px; overflow: auto; display: flex; flex-direction: column; gap: 12px; background: var(--bg-soft); }
.bubble { max-width: 75%; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .92rem; } .bubble.me { align-self: flex-end; background: var(--primary); color: #fff; border-color: var(--primary); } .bubble small { display: block; opacity: .7; font-size: .72rem; margin-top: 4px; }
.msg-compose { padding: 14px; border-top: 1px solid var(--line); display: flex; gap: 10px; } .msg-compose textarea { min-height: 48px; }
.notif { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); } .notif.unread { background: var(--primary-50); } .notif .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--primary-100); color: var(--primary); display: grid; place-items: center; flex: none; } .notif small { color: var(--muted); }
.calendar-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); } .calendar-item .date { width: 52px; text-align: center; background: var(--primary-50); border-radius: 10px; padding: 6px 0; flex: none; } .calendar-item .date strong { display: block; font-size: 1.2rem; line-height: 1; } .calendar-item .date small { font-size: .68rem; text-transform: uppercase; color: var(--primary); font-weight: 700; }

/* ---- modal ----------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.55); backdrop-filter: blur(3px); }
.modal.is-open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg); animation: toast-in .18s ease; }
.modal-box.lg { max-width: 860px; } .modal-box.sm { max-width: 420px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); } .modal-head h3 { margin: 0; }
.modal-body { padding: 22px; } .modal-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; background: var(--bg-soft); }
.modal-close { border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--muted); }

/* ---- pagination ------------------------------------------------------ */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 24px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .88rem; text-decoration: none !important; }
.pagination .is-active { background: var(--primary); color: #fff; border-color: var(--primary); } .pagination .disabled { opacity: .45; pointer-events: none; }
.pagination-info { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 8px; }

/* ---- misc ------------------------------------------------------------ */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .88rem; max-width: 720px; margin: 0 auto; }
.ad-slot { min-height: 90px; background: var(--bg-soft); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--muted-2); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; margin: 20px 0; }
.skeleton { background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-soft) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 6px; min-height: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.qr { width: 120px; height: 120px; }
.kbd { font-family: ui-monospace, monospace; background: var(--bg-2); padding: 2px 6px; border-radius: 4px; font-size: .8em; border: 1px solid var(--line-2); }
.ai-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: linear-gradient(90deg, #ede9fe, #e0f2fe); color: #4c1d95; font-size: .72rem; font-weight: 700; } .ai-chip svg { width: 12px; height: 12px; }
.story { padding: 22px; } .story blockquote { margin: 0 0 14px; font-style: italic; color: var(--ink-2); } .story .who { display: flex; gap: 10px; align-items: center; } .story .who strong { display: block; font-size: .92rem; } .story .who small { color: var(--muted); }
.brand-tagline { font-family: "Caveat", cursive; font-size: 1.5rem; color: var(--primary); line-height: 1.1; transform: rotate(-4deg); display: inline-block; }
.print-only { display: none; }
@media print { .site-header, .site-footer, .apply-bar, .dash-side, .btn, .cookie-banner, .no-print { display: none !important; } .print-only { display: block; } body { background: #fff; } .card { box-shadow: none; } }

/* ---- responsive ------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; } .hero-side { display: none; }
  .job-layout { grid-template-columns: 1fr; } .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav, .nav-right .hide-mobile { display: none; } .nav-toggle { display: inline-flex; }
  .listing { grid-template-columns: 1fr; } .filters { display: none; } .filters.is-open { display: block; }
  .dash { grid-template-columns: 1fr; } .dash-side { position: static; }
  .side-nav { display: flex; overflow-x: auto; gap: 4px; padding: 6px; } .side-nav a { white-space: nowrap; padding: 8px 12px; } .side-promo { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; } .split { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; } .search-bar .btn { grid-column: 1 / -1; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
  .msg-layout { grid-template-columns: 1fr; } .msg-list { max-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .apply-bar { display: flex; gap: 10px; align-items: center; } .apply-bar .btn { flex: 1; }
  .form-row, .form-row-3, .form-row-4 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; } .section { padding: 36px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; }
  .search-bar { grid-template-columns: 1fr; } .stats-strip { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none !important; } .show-mobile { display: block !important; }
  .job-head .cta { margin-left: 0; width: 100%; } .job-row { grid-template-columns: 44px 1fr; } .job-row > :last-child { grid-column: 1 / -1; }
  .table th, .table td { padding: 10px 8px; } .modal-body { padding: 16px; }
  .facts { grid-template-columns: 1fr; } .plans { grid-template-columns: 1fr; }
}

/* ---- status pills (shared; admin.css duplicates for admin pages) ------- */
.status-pill { padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; display: inline-block; white-space: nowrap; }
.status-active, .status-published, .status-verified, .status-paid, .status-hired, .status-completed, .status-sent, .status-delivered, .status-confirmed, .status-accepted, .status-approved { background: var(--success-100); color: #166534; }
.status-pending_review, .status-pending, .status-under_review, .status-scheduled, .status-trial, .status-awaiting_proof, .status-proof_uploaded, .status-review, .status-reschedule_requested, .status-invited { background: var(--warning-100); color: #92400e; }
.status-rejected, .status-suspended, .status-failed, .status-cancelled, .status-expired, .status-closed, .status-gone, .status-declined, .status-no_show { background: var(--danger-100); color: #991b1b; }
.status-draft, .status-paused, .status-unpublished, .status-archived, .status-inactive, .status-withdrawn, .status-unknown { background: var(--bg-2); color: var(--ink-2); }
.status-applied, .status-reviewed, .status-interview, .status-shortlisted, .status-offered, .status-assessment, .status-need_info, .status-rescheduled, .status-new, .status-read, .status-replied { background: var(--info-100); color: #075985; }
