/* Vennigo for job seekers. Same tokens as the advisor app: teal #0FB3C8 -> blue #3B6CF6 -> purple #5F3FEA, ink #0C2233. */
@font-face { font-family: "Onest"; font-weight: 400 800; font-display: swap; src: url("onest.woff2") format("woff2"); }
:root {
  --bg: #f5fafc; --surface: #ffffff; --panel: #ebf4f8; --ink: #0c2233; --muted: #5b7486; --line: #dde9f0; --accent: #3b6cf6;
  --grad: linear-gradient(135deg, #0fb3c8, #3b6cf6 60%, #5f3fea);
  --hi-bg: #dcf6ec; --hi: #0b8a62; --mid-bg: #e4ecff; --mid: #2f56d6; --gap: #8a5a00; --bad: #c2410c; --warn-bg: #fff4e0;
  --shadow: 0 1px 2px rgba(12,34,51,.05), 0 10px 26px -14px rgba(20,196,217,.35);
  --f: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #061018; --surface: #0b1822; --panel: #10212d; --ink: #e6f3f8; --muted: #8aa6b6; --line: #1b2e3b; --accent: #6b93ff;
  --hi-bg: rgba(79,220,164,.13); --hi: #4fdca4; --mid-bg: rgba(107,147,255,.15); --mid: #9db6ff; --gap: #f5c26b; --bad: #fb923c; --warn-bg: rgba(245,194,107,.12);
  --shadow: 0 12px 34px -16px rgba(20,196,217,.45); color-scheme: dark; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--f); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1 { font-size: 26px; line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h2 { font-size: 18px; margin: 0 0 4px; letter-spacing: -.01em; }
h3 { font-size: 16px; margin: 0; line-height: 1.3; }
p { margin: 0; }

.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 22px; padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.015em; }
.brand img { width: 40px; height: 28px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; padding: 7px 12px; border-radius: 10px; font-weight: 500; opacity: .85; }
.nav a:hover { background: var(--panel); opacity: 1; }
.nav a.cur { background: var(--grad); color: #fff; opacity: 1; font-weight: 600; }
.linkish { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px 6px; font-size: 14px; }
.linkish:hover { color: var(--ink); }

.view { width: min(860px, 100%); margin: 0 auto; padding: 28px 24px 64px; display: grid; gap: 18px; outline: none; }
.lede { color: var(--muted); margin-top: 6px; }
.loading { color: var(--muted); padding: 40px 0; text-align: center; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.box > p + * { margin-top: 14px; }
.banner { border-radius: 12px; padding: 10px 14px; background: var(--warn-bg); color: var(--gap); font-size: 14px; }
.error { color: var(--bad); font-size: 14px; min-height: 1.2em; }

/* forms */
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 16px; }
label { display: grid; gap: 5px; font-weight: 600; font-size: 14px; align-content: start; }
label small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=password], select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
textarea { min-height: 160px; resize: vertical; font-size: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; text-decoration: none; color: var(--ink); }
.btn:hover { background: var(--panel); }
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(59,108,246,.7); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.small { padding: 6px 12px; font-size: 13.5px; border-radius: 9px; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.danger { color: var(--bad); }
.file { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
details { margin-top: 12px; }
summary { cursor: pointer; color: var(--muted); font-size: 14px; }
pre.clean { white-space: pre-wrap; font: 12.5px/1.5 ui-monospace, Menlo, monospace; background: var(--panel); border-radius: 10px; padding: 12px; max-height: 260px; overflow: auto; }

/* sign in */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.signin-card { width: min(420px, 100%); display: grid; gap: 12px; }
.signin-card .brand { font-size: 22px; }
.signin-card .brand img { width: 46px; height: 32px; }
.tagline { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#gbtn { min-height: 44px; display: flex; justify-content: center; }
.stack { display: grid; gap: 12px; }
.note { color: var(--hi); font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: 14px; justify-self: start; text-decoration: underline; }
.tabs.wide { display: flex; }
.tabs.wide button { flex: 1; }
input[type=email] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }

/* profile chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--panel); font-size: 13.5px; }
.chip button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 0 0 0 2px; font-size: 15px; line-height: 1; }
.chip.search { background: var(--mid-bg); color: var(--mid); font-weight: 600; }
.group + .group { margin-top: 14px; }
.group h4 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.addtitle { display: flex; gap: 8px; margin-top: 10px; }
.addtitle input { max-width: 280px; }

/* results */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; background: var(--surface); }
.tabs button { border: 0; background: transparent; color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 13.5px; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.score { display: grid; place-items: center; align-content: center; height: 52px; border-radius: 14px; font-weight: 700; font-size: 18px; background: var(--mid-bg); color: var(--mid); line-height: 1.1; }
.score small { font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.score.hi { background: var(--hi-bg); color: var(--hi); }
.score.mid { background: var(--warn-bg); color: var(--gap); }
.score.low { background: var(--panel); color: var(--muted); }
.kind { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; background: var(--mid-bg); color: var(--mid); }
.kind.related { background: rgba(95,63,234,.12); color: #5f3fea; }
.kind.change { background: var(--warn-bg); color: var(--gap); }
.kind.skill { background: rgba(15,179,200,.14); color: #0b7f8f; }
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.flag { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(194,65,12,.09); color: var(--bad); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.filters select { width: auto; padding: 6px 10px; }
.detail { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.desc { white-space: pre-wrap; font-size: 14px; line-height: 1.55; position: relative; }
.desc.clip { max-height: 300px; overflow: hidden; }
.desc.clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--surface)); }
.detail .btn, .detail .linkbtn { justify-self: start; }
.notes textarea { min-height: 80px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.check span { display: grid; gap: 2px; }
.srch { padding: 14px 0; border-top: 1px solid var(--line); }
.srch:first-of-type { border-top: 0; }
.chip.skill { gap: 4px; }
.chip.skill.on { background: rgba(15,179,200,.14); color: #0b7f8f; font-weight: 600; }
.chip .star { color: #d39b00; font-size: 15px; padding: 0 2px 0 0; }
.meta { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.why { margin-top: 8px; font-size: 14.5px; }
.gap { margin-top: 2px; font-size: 14px; color: var(--gap); }
.why b, .gap b { font-weight: 700; margin-right: 4px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--panel); color: var(--muted); margin-left: 6px; vertical-align: 2px; }
.empty { color: var(--muted); text-align: center; padding: 34px 16px; }

/* progress */
.progress { display: grid; gap: 10px; }
.track { height: 6px; border-radius: 6px; background: var(--panel); overflow: hidden; }
.track span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 6px; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.stats { color: var(--muted); font-size: 13.5px; }

@media (max-width: 640px) {
  .bar { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .brand { font-size: 17px; }
  .brand img { width: 34px; height: 24px; }
  .view { padding: 18px 16px 48px; }
  .box { padding: 18px; }
  .job { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .score { height: 44px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .track span { animation: none; width: 100%; opacity: .5; } }
