:root { --bg:#f5f7fb; --card:#fff; --text:#1c2333; --muted:#6b7385; --line:#e3e7ef; --brand:#2455d6; --brand-2:#1b3fa3; --ok:#138a4a; --warn:#b26a00; --bad:#c62828; }
@media (prefers-color-scheme: dark) { :root { --bg:#10141c; --card:#181e29; --text:#e6e9f0; --muted:#98a0b3; --line:#2a3242; --brand:#5b8cff; --brand-2:#86a9ff; } }
* { box-sizing:border-box; }
body { margin:0; font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; background:var(--bg); color:var(--text); }
a { color:var(--brand); text-decoration:none; } a:hover { text-decoration:underline; }
header { background:var(--card); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:1; }
nav, main, footer { max-width:1000px; margin:auto; padding:0 16px; }
nav { display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; justify-content:space-between; min-height:60px; }
.brand { font-weight:700; font-size:20px; color:var(--text); }
.links { display:flex; flex-wrap:wrap; gap:4px 16px; align-items:center; }
main { padding-top:24px; padding-bottom:40px; }
footer { color:var(--muted); font-size:14px; padding-bottom:24px; }
h1 { font-size:26px; margin:0 0 12px; } h2 { font-size:20px; margin:32px 0 12px; } h3 { margin:0 0 6px; }
.muted { color:var(--muted); }
.card { display:block; background:var(--card); border:1px solid var(--line); border-radius:12px; padding:18px; margin-bottom:12px; color:inherit; }
.narrow { max-width:440px; margin:20px auto; }
.hero { background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:#fff; border-radius:16px; padding:28px 22px; margin-bottom:20px; }
.hero h1 { font-size:30px; } .hero p { opacity:.9; margin-top:0; }
.search, .filters, .row { display:flex; flex-wrap:wrap; gap:10px; }
.search > *, .row > * { flex:1 1 180px; }
.filters { margin:10px 0; } .filters select { width:auto; }
.job { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.job:hover { border-color:var(--brand); text-decoration:none; }
.job p { margin:2px 0; }
label { display:block; font-size:14px; font-weight:600; margin-bottom:12px; }
input, select, textarea { display:block; width:100%; margin-top:4px; padding:10px 12px; font:inherit; color:var(--text); background:var(--card); border:1px solid var(--line); border-radius:8px; }
input:focus, select:focus, textarea:focus { outline:2px solid var(--brand); border-color:transparent; }
td select { width:auto; margin:0; padding:6px 8px; }
button, .btn { display:inline-block; padding:10px 18px; font:inherit; font-weight:600; color:#fff; background:var(--brand); border:0; border-radius:8px; cursor:pointer; }
button:hover, .btn:hover { background:var(--brand-2); text-decoration:none; }
.hero button { background:#fff; color:var(--brand); }
button.link { background:none; color:var(--brand); padding:0; font-weight:400; }
button.link.danger { color:var(--bad); }
.flash { background:#e8f0ff; color:#1b3fa3; border-radius:8px; padding:10px 14px; }
.error { background:#fdecec; color:var(--bad); border-radius:8px; padding:10px 14px; }
.desc { margin:16px 0; }
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px; }
.stats .card { text-align:center; margin:0; } .stats b { display:block; font-size:28px; } .stats span { color:var(--muted); font-size:14px; }
.table { overflow-x:auto; background:var(--card); border:1px solid var(--line); border-radius:12px; }
table { width:100%; border-collapse:collapse; font-size:15px; }
th, td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
th { font-size:13px; color:var(--muted); text-transform:uppercase; letter-spacing:.03em; }
tr:last-child td { border-bottom:0; }
tr.due { background:rgba(255,170,0,.12); }
.actions { white-space:nowrap; } .actions form { display:inline; margin-left:10px; }
.badge { display:inline-block; padding:2px 10px; border-radius:99px; font-size:13px; font-weight:600; background:var(--line); color:var(--text); white-space:nowrap; }
.applied, .saved { background:#e8f0ff; color:#1b3fa3; }
.shortlisted, .interview { background:#fff3e0; color:var(--warn); }
.offer, .open { background:#e3f6ea; color:var(--ok); }
.rejected, .closed { background:#fdecec; color:var(--bad); }
.between { display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; align-items:center; }
.chips { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:6px; }
.chip { padding:4px 12px; border-radius:99px; font-size:14px; background:var(--line); }
.chip.title { background:#e8f0ff; color:#1b3fa3; font-weight:600; }
.chip.add { background:#fff3e0; color:var(--warn); border:1px dashed var(--warn); }
h4 { margin:18px 0 8px; font-size:15px; }
.upload input[type=file] { margin-bottom:12px; }
.btn.small, button.small { padding:6px 12px; font-size:14px; }
button.secondary { background:var(--card); color:var(--brand); border:1px solid var(--brand); margin-right:8px; }
.btn.linkedin { background:#0a66c2; } .btn.naukri { background:#4a90e2; } .btn.indeed { background:#2557a7; }
.links-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.match h3 { margin-bottom:2px; } .match p { margin:4px 0; } .snippet { font-size:14px; }
.score { font-weight:700; font-size:14px; padding:4px 10px; border-radius:8px; white-space:nowrap; }
.shi { background:#e3f6ea; color:var(--ok); } .smid { background:#fff3e0; color:var(--warn); } .slo { background:var(--line); color:var(--muted); }
.steps { padding-left:20px; } .steps li { margin:10px 0; }
details summary { cursor:pointer; color:var(--brand); font-size:14px; margin-top:6px; }
