/* Honeypot recruiter click dummy — design system rebuilt from mayaUI/theme.ts + captures */
:root {
  --blue100:#DDF0FF; --blue200:#CDE9FE; --blue300:#B2DBFB; --blue500:#2689EF; --blue600:#1465CA; --blue700:#0C378A;
  --green100:#DBF0E5; --green300:#9FDEBD; --green500:#3AAD70;
  --grey100:#F6F6F6; --grey200:#E0E2E5; --grey300:#D0D2D6; --grey500:#9098A1; --grey600:#606C78; --grey900:#1F2228;
  --pink500:#FC3287; --purple200:#DED9FD; --purple500:#7F53FE; --purple700:#551A8B;
  --red100:#FFE0E1; --red500:#CE2128; --turquoise500:#17B7AD;
  --yellow100:#FFF1C4; --yellow300:#FFE18F; --yellow400:#FDD567; --yellow500:#FFBE0F;
  --white:#FFFFFF;
  --accent:var(--blue500); --accent-hover:var(--blue600);
  --bg:var(--grey100); --surface:var(--white); --line:var(--grey200);
  --text:var(--grey900); --text2:var(--grey600); --text3:var(--grey500);
  --radius:8px; --radius-sm:4px; --shadow:0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --font:'Proxima Nova','Proxima-Nova',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
}
* { box-sizing:border-box; }
html,body { margin:0; padding:0; }
body { font-family:var(--font); background:var(--bg); color:var(--text); font-size:14px; line-height:1.45; -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-decoration:none; }
a:hover { text-decoration:underline; }
h1,h2,h3,h4 { margin:0; font-weight:800; color:var(--text); }
h1 { font-size:36px; letter-spacing:-.5px; }
h2 { font-size:24px; }
h3 { font-size:20px; }
button { font-family:inherit; cursor:pointer; }
img { max-width:100%; }

/* demo banner */
.demo-banner { background:var(--grey900); color:var(--yellow400); font-size:12.5px; display:flex; justify-content:center; gap:18px; align-items:center; padding:5px 12px; border-bottom:1px solid #000; }
.demo-banner b { color:var(--yellow500); }
.demo-banner a { color:var(--blue300); font-weight:600; }

/* top nav */
.topnav { background:var(--grey900); height:54px; display:flex; align-items:center; padding:0 28px; gap:28px; position:sticky; top:0; z-index:50; }
.topnav .logo { display:flex; align-items:center; gap:9px; font-weight:800; color:#fff; font-size:19px; }
.topnav .logo img { height:26px; }
.topnav .nav { margin-left:auto; display:flex; align-items:center; gap:26px; }
.topnav .nav a { color:#fff; font-weight:600; font-size:14px; padding:16px 0; border-bottom:3px solid transparent; }
.topnav .nav a:hover { text-decoration:none; color:#fff; }
.topnav .nav a.active { border-bottom-color:var(--accent); }
.topnav .user { position:relative; }
.topnav .user > button { background:none; border:none; color:#fff; font-weight:600; font-size:14px; display:flex; align-items:center; gap:7px; padding:6px 0; }
.topnav .user .caret { font-size:9px; opacity:.9; }
.dropdown { position:absolute; right:0; top:38px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 8px 24px rgba(0,0,0,.16); min-width:210px; padding:6px; z-index:60; }
.topnav .dropdown a { display:block; color:var(--text); padding:9px 12px; border-radius:var(--radius-sm); font-weight:500; border-bottom:none; }
.topnav .dropdown a:hover { background:var(--grey100); text-decoration:none; color:var(--text); }
.dropdown .sep { height:1px; background:var(--line); margin:6px 4px; }

/* layout */
.app-main { min-height:calc(100vh - 54px); }
.container { max-width:1220px; margin:0 auto; padding:34px 28px 80px; }
.page-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; gap:16px; flex-wrap:wrap; }
.page-head h1 { font-size:34px; }

/* buttons */
.btn { display:inline-flex; align-items:center; gap:8px; border-radius:var(--radius-sm); font-weight:700; font-size:14px; padding:10px 18px; border:1px solid transparent; background:var(--accent); color:#fff; transition:background .12s; }
.btn:hover { background:var(--accent-hover); text-decoration:none; }
.btn.secondary { background:#fff; color:var(--accent); border-color:var(--line); }
.btn.secondary:hover { background:var(--grey100); }
.btn.ghost { background:transparent; color:var(--text2); border-color:var(--line); }
.btn.ghost:hover { background:var(--grey100); }
.btn.sm { padding:7px 12px; font-size:13px; }
.btn.block { width:100%; justify-content:center; }
.btn:disabled { opacity:.5; cursor:default; }

/* tabs */
.tabs { display:flex; gap:26px; border-bottom:1px solid var(--line); margin-bottom:24px; }
.tabs a, .tabs button { background:none; border:none; padding:0 0 12px; font-size:15px; font-weight:600; color:var(--text2); border-bottom:3px solid transparent; margin-bottom:-1px; cursor:pointer; }
.tabs a.active, .tabs button.active { color:var(--text); border-bottom-color:var(--accent); }
.tabs a:hover, .tabs button:hover { text-decoration:none; color:var(--text); }

/* cards */
.card { background:var(--surface); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px; }
.card + .card { margin-top:18px; }
.muted { color:var(--text2); }
.tiny { font-size:12px; color:var(--text3); }

/* pills */
.pill { display:inline-block; background:var(--grey200); color:var(--grey900); border-radius:20px; padding:4px 12px; font-size:13px; font-weight:600; margin:0 6px 6px 0; }
.pill.blue { background:var(--blue100); color:var(--blue700); }
.badge { display:inline-flex; align-items:center; gap:6px; border-radius:var(--radius-sm); padding:3px 9px; font-size:12px; font-weight:700; }
.badge.yellow { background:var(--yellow100); color:#8a6d00; }
.badge.green { background:var(--green100); color:#1c6b40; }
.badge.grey { background:var(--grey200); color:var(--grey600); }
.badge.pink { background:var(--pink500); color:#fff; }
.badge.blue { background:var(--blue100); color:var(--blue700); }

/* avatars (synthetic initial circles — no real photos) */
.avatar { border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff; font-weight:800; flex:none; background:var(--blue500); overflow:hidden; }
.avatar.sm { width:40px; height:40px; font-size:15px; }
.avatar.md { width:52px; height:52px; font-size:18px; }
.avatar.lg { width:84px; height:84px; font-size:30px; }

/* empty states */
.empty { text-align:center; padding:60px 20px; }
.empty img { width:180px; margin-bottom:18px; }
.empty h3 { font-size:22px; margin-bottom:8px; }
.empty p { color:var(--text2); max-width:420px; margin:0 auto; }

/* stat strip */
.stat-strip { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin-bottom:22px; }
.stat-cell { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:16px 18px; display:flex; align-items:center; gap:12px; }
.stat-cell .ico { width:34px; height:34px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:16px; }
.stat-cell .n { font-size:22px; font-weight:800; }
.stat-cell .lbl { color:var(--text2); font-weight:600; font-size:13px; }

/* position rows */
.pos-row { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:20px 22px; display:flex; align-items:center; gap:18px; margin-bottom:14px; }
.pos-row .title { font-size:17px; font-weight:800; }
.pos-row .meta { color:var(--text2); font-size:13px; margin-top:3px; }
.pos-row .counters { margin-left:auto; display:flex; gap:6px; }
.count-chip { background:var(--grey100); border-radius:6px; padding:6px 9px; font-size:12px; color:var(--text2); display:flex; align-items:center; gap:5px; min-width:40px; justify-content:center; }
.count-chip.hot { background:var(--purple200); color:var(--purple700); }
.recs-avatars { display:flex; align-items:center; gap:0; margin-bottom:4px; }
.recs-avatars .avatar { width:22px; height:22px; font-size:9px; margin-right:-6px; border:2px solid #fff; }
.recs-avatars .lbl { margin-left:12px; font-size:12px; font-weight:700; color:var(--purple700); }

/* search page */
.search-hero { background:var(--grey900); color:#fff; padding:14px 28px; display:flex; align-items:center; justify-content:space-between; }
.search-hero .hi { font-weight:600; }
.boolean-bar { display:grid; grid-template-columns:repeat(3,1fr); gap:0; background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; margin-bottom:18px; }
.boolean-bar .col { padding:16px 20px; border-right:1px solid var(--line); }
.boolean-bar .col:last-child { border-right:none; }
.boolean-bar .col .lbl { font-weight:700; font-size:13px; margin-bottom:6px; }
.boolean-bar .col .ph { color:var(--text3); font-size:13px; }
.search-layout { display:grid; grid-template-columns:280px 1fr; gap:22px; align-items:start; }
.filter-panel { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:20px; position:sticky; top:70px; }
.filter-panel h4 { font-size:16px; margin-bottom:14px; display:flex; justify-content:space-between; }
.filter-panel .fld { margin-bottom:16px; }
.filter-panel label { font-weight:700; font-size:12.5px; display:block; margin-bottom:5px; }
.input, select.input { width:100%; border:1px solid var(--line); border-radius:var(--radius-sm); padding:9px 11px; font-family:inherit; font-size:13.5px; background:#fff; color:var(--text); }
.input::placeholder { color:var(--text3); }
.input:focus, select.input:focus { outline:none; border-color:var(--accent); }
.check { display:inline-flex; align-items:center; gap:6px; margin-right:12px; font-size:13px; color:var(--text2); }
.range { width:100%; accent-color:var(--accent); }
.range-lbls { display:flex; justify-content:space-between; font-size:11px; color:var(--text3); margin-top:2px; }

/* talent result card */
.result-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; color:var(--text2); font-size:13px; }
.tcard { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:20px 22px; margin-bottom:16px; display:grid; grid-template-columns:1fr 260px; gap:20px; cursor:pointer; transition:box-shadow .12s; }
.tcard:hover { box-shadow:0 4px 16px rgba(0,0,0,.10); }
.tcard .who { display:flex; gap:14px; }
.tcard .name { color:var(--accent); font-weight:800; font-size:17px; }
.tcard .skills { color:var(--text2); font-size:13px; margin-top:2px; }
.tcard .roles { margin-top:12px; }
.role-line { display:flex; align-items:center; gap:12px; padding:5px 0; font-size:13px; }
.role-line .rname { width:150px; color:var(--text); }
.role-bar { flex:1; height:4px; background:var(--grey200); border-radius:3px; overflow:hidden; }
.role-bar > i { display:block; height:100%; background:var(--accent); }
.role-line .ryears { color:var(--text2); width:60px; text-align:right; }
.tcard .facts { border-left:1px solid var(--line); padding-left:20px; font-size:13px; color:var(--text2); display:flex; flex-direction:column; gap:10px; }
.tcard .facts .row { display:flex; gap:8px; align-items:center; }
.tcard .bkmk { display:flex; gap:10px; align-items:flex-start; }
.star { background:none; border:none; font-size:18px; color:var(--grey300); cursor:pointer; line-height:1; }
.star.on { color:var(--yellow500); }

/* talent profile */
.tp-hero { background:linear-gradient(120deg,var(--yellow500),var(--yellow400)); height:150px; border-radius:var(--radius) var(--radius) 0 0; position:relative; }
.tp-wrap { display:grid; grid-template-columns:1fr 300px; gap:22px; align-items:start; }
.tp-main .card:first-child { margin-top:-46px; position:relative; }
.tp-avatar { width:84px; height:84px; margin-top:-58px; border:4px solid #fff; }
.tp-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.tp-cols { display:grid; grid-template-columns:1fr 1.4fr; gap:18px; }
.kv { margin-bottom:14px; }
.kv .k { font-weight:700; font-size:13px; }
.kv .v { color:var(--text2); font-size:13.5px; }
.summary-block b { color:var(--text); }
.summary-block .q { font-weight:700; margin-top:14px; }

/* invites */
.invites-layout { display:grid; grid-template-columns:1fr 300px; gap:22px; align-items:start; }
.invites-layout .filter-side { position:sticky; top:70px; }
.invite-info .row { display:flex; align-items:center; gap:9px; padding:9px 0; border-bottom:1px solid var(--line); font-size:13.5px; color:var(--text2); }
.filter-side .fgroup { margin-bottom:18px; }
.filter-side .fgroup h5 { margin:0 0 8px; font-size:13px; font-weight:700; }
.filter-side .check { display:flex; margin:5px 0; }

/* company profile */
.cp-cover { height:150px; background:var(--grey200); border-radius:var(--radius) var(--radius) 0 0; }
.cp-grid3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:18px; }
.cp-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.timeline { list-style:none; padding:0; margin:0; }
.timeline li { position:relative; padding:0 0 20px 22px; }
.timeline li::before { content:''; position:absolute; left:3px; top:4px; width:9px; height:9px; border-radius:50%; background:var(--grey900); }
.timeline li::after { content:''; position:absolute; left:7px; top:13px; bottom:-4px; width:1px; background:var(--grey300); }
.timeline li:last-child::after { display:none; }
.ratio-row { margin:10px 0; }
.ratio-row .top { display:flex; justify-content:space-between; font-size:13px; font-weight:700; }
.ratio-bar { height:6px; background:var(--grey200); border-radius:4px; margin-top:5px; overflow:hidden; }
.ratio-bar > i { display:block; height:100%; background:var(--accent); }
.team-member { display:flex; align-items:center; gap:12px; margin:14px 0; }

/* integrations / templates */
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.integration .ico-circle { width:52px; height:52px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:800; }

/* activity stats */
.kpi-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:20px; }
.kpi { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:18px; }
.kpi .lbl { color:var(--text2); font-size:13px; }
.kpi .val { font-size:26px; font-weight:800; margin:8px 0; }
.kpi .avg { color:var(--text3); font-size:12px; border-top:1px solid var(--line); padding-top:8px; }
.bars { display:flex; align-items:flex-end; gap:14px; height:180px; padding:10px 0; }
.bars .b { flex:1; background:var(--blue300); border-radius:4px 4px 0 0; position:relative; }
.bars .b > span { position:absolute; bottom:-22px; left:0; right:0; text-align:center; font-size:11px; color:var(--text3); }
.bars .b > em { position:absolute; top:-20px; left:0; right:0; text-align:center; font-size:11px; font-weight:700; font-style:normal; }

/* table */
.tbl { width:100%; border-collapse:collapse; font-size:13.5px; }
.tbl th { text-align:left; color:var(--text2); font-weight:700; padding:10px 12px; border-bottom:1px solid var(--line); }
.tbl td { padding:12px; border-bottom:1px solid var(--line); }

/* settings / forms */
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:16px; }
.field label { font-weight:700; font-size:13px; display:block; margin-bottom:6px; }

/* pipeline board */
.board { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.board-col { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:12px; min-height:200px; }
.board-col h4 { font-size:13px; display:flex; justify-content:space-between; align-items:center; padding:4px 4px 12px; border-bottom:1px solid var(--line); margin-bottom:10px; }
.board-col h4 .cnt { background:var(--grey100); border-radius:12px; padding:1px 9px; font-size:12px; color:var(--text2); }
.chip-card { border:1px solid var(--line); border-radius:var(--radius-sm); padding:10px; margin-bottom:9px; display:flex; gap:9px; align-items:center; cursor:pointer; }
.chip-card:hover { border-color:var(--accent); }
.chip-card .nm { font-weight:700; font-size:13px; }
.chip-card .sk { font-size:11px; color:var(--text2); }

/* modal */
.modal-overlay { position:fixed; inset:0; background:rgba(31,34,40,.55); display:flex; align-items:flex-start; justify-content:center; padding:60px 20px; z-index:1000; overflow:auto; }
.modal { background:#fff; border-radius:var(--radius); width:100%; max-width:640px; box-shadow:0 20px 60px rgba(0,0,0,.3); }
.modal-head { padding:22px 26px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
.modal-head h3 { font-size:20px; }
.modal-body { padding:24px 26px; }
.modal-foot { padding:18px 26px; border-top:1px solid var(--line); display:flex; justify-content:flex-end; gap:12px; }
.modal .x { background:none; border:none; font-size:22px; color:var(--text3); line-height:1; }

/* toast */
#toast { position:fixed; bottom:26px; left:50%; transform:translateX(-50%); background:var(--grey900); color:#fff; padding:12px 20px; border-radius:var(--radius); font-weight:600; font-size:14px; box-shadow:0 8px 24px rgba(0,0,0,.3); z-index:2000; opacity:0; transition:opacity .2s, transform .2s; pointer-events:none; }
#toast.show { opacity:1; transform:translateX(-50%) translateY(-4px); }

/* inbox */
.inbox-grid { display:grid; grid-template-columns:320px 1fr; gap:0; background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; min-height:520px; }
.inbox-list { border-right:1px solid var(--line); }
.conv { display:flex; gap:12px; padding:14px 16px; border-bottom:1px solid var(--line); cursor:pointer; }
.conv:hover, .conv.active { background:var(--grey100); }
.conv .nm { font-weight:700; font-size:14px; }
.conv .snip { color:var(--text2); font-size:12.5px; }
.thread { display:flex; flex-direction:column; }
.thread .msgs { flex:1; padding:20px; display:flex; flex-direction:column; gap:12px; }
.bubble { max-width:70%; padding:10px 14px; border-radius:14px; font-size:13.5px; }
.bubble.them { background:var(--grey100); align-self:flex-start; }
.bubble.me { background:var(--blue500); color:#fff; align-self:flex-end; }
.thread .compose { border-top:1px solid var(--line); padding:14px; display:flex; gap:10px; }

@media (max-width:900px) {
  .stat-strip { grid-template-columns:repeat(2,1fr); }
  .search-layout, .tp-wrap, .invites-layout, .tcard, .cp-grid3, .cp-grid2, .grid2, .form-row { grid-template-columns:1fr; }
  .kpi-grid { grid-template-columns:repeat(2,1fr); }
  .board { grid-template-columns:1fr; }
  .boolean-bar { grid-template-columns:1fr; }
  .topnav .nav { display:none; }
}
