:root{--ink:#18233a;--muted:#68738a;--line:#dfe4ed;--surface:#fff;--surface-soft:#f5f7fb;--navy:#17243d;--purple:#6354d6;--purple-soft:#eeebff;--green:#237a57;--green-soft:#e5f5ed;--red:#b23a48;--red-soft:#fdecef;--amber:#a46616;--amber-soft:#fff4dc;--shadow:0 16px 48px rgba(34,43,70,.12);color-scheme:light;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#eef1f6;color:var(--ink);margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0;white-space:nowrap}.login-view{background:radial-gradient(circle at 15% 15%,#6f62dc 0,#352b7d 30%,#17243d 78%);display:grid;min-height:100vh;padding:2rem;place-items:center}.login-card{background:hsla(0,0%,100%,.98);border-radius:26px;box-shadow:0 32px 80px rgba(0,0,0,.28);padding:2.4rem;width:min(100%,430px)}.brand-mark{background:linear-gradient(135deg,#7a69e8,#493ab2);border-radius:14px;box-shadow:0 8px 20px rgba(99,84,214,.32);color:#fff;display:grid;font-size:1.3rem;font-weight:900;height:44px;place-items:center;width:44px}.eyebrow{color:var(--purple);font-size:.72rem;font-weight:800;letter-spacing:.12em;margin:0 0 .35rem;text-transform:uppercase}.login-card h1{font-size:2rem;margin:.3rem 0 .55rem}.login-intro{color:var(--muted);margin:0 0 1.5rem}.auth-form{display:grid;gap:1rem}.auth-form label,.field{color:#39445a;display:grid;font-size:.88rem;font-weight:700;gap:.42rem}.auth-form input,.field input,.field select,.field textarea{background:#fff;border:1px solid #cfd5e1;border-radius:10px;color:var(--ink);font-weight:500;min-height:44px;padding:.72rem .8rem;width:100%}.field textarea{min-height:92px;resize:vertical}.auth-form input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--purple);outline:3px solid rgba(99,84,214,.16)}.auth-form .remember{align-items:center;display:flex;font-weight:500;grid-template-columns:auto 1fr}.auth-form .remember input{min-height:0;width:auto}.button{background:#fff;border:1px solid transparent;border-radius:10px;color:var(--ink);font-weight:800;min-height:42px;padding:.65rem 1rem}.button.primary{background:var(--purple);box-shadow:0 8px 18px rgba(99,84,214,.24);color:#fff}.button.primary:hover{background:#5547c6}.button.secondary{background:var(--surface-soft);border-color:var(--line)}.button.ghost{background:hsla(0,0%,100%,.08);border-color:hsla(0,0%,100%,.22);color:#fff}.button.danger{background:var(--red-soft);border-color:#f0bdc4;color:var(--red)}.button.success{background:var(--green-soft);border-color:#b6ddcb;color:var(--green)}.button:disabled{cursor:wait;opacity:.55}.topbar{background:var(--navy);box-shadow:0 4px 20px rgba(18,28,49,.2);color:#fff;gap:1rem;justify-content:space-between;min-height:72px;padding:0 2rem}.brand-lockup,.topbar{align-items:center;display:flex}.brand-lockup{gap:.8rem}.brand-lockup div:last-child{display:grid;gap:.05rem}.brand-lockup span{color:#aeb7ca;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}.brand-lockup strong{font-size:1.05rem}.topbar-actions{align-items:center;display:flex;gap:.65rem}.user-name{color:#c8d0df;font-size:.88rem;margin-right:.4rem}.workspace-main{margin:0 auto;padding:2rem;width:min(100%,1720px)}.hero{align-items:end;display:flex;gap:2rem;justify-content:space-between;margin-bottom:1.6rem}.hero h1{font-size:clamp(1.9rem,4vw,3.1rem);letter-spacing:-.035em;line-height:1.04;margin:0}.hero p:last-child{color:var(--muted);margin:.65rem 0 0;max-width:700px}.add-candidate{white-space:nowrap}.summary-grid{display:grid;gap:.85rem;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1.1rem}.summary-card{background:hsla(0,0%,100%,.85);border:1px solid var(--line);border-radius:14px;padding:1rem 1.1rem}.summary-card span{color:var(--muted);display:block;font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.summary-card strong{display:block;font-size:1.65rem;margin-top:.2rem}.toolbar{align-items:center;display:grid;gap:.85rem;grid-template-columns:minmax(260px,1fr) auto minmax(150px,auto);margin-bottom:1rem}.search-field input{height:46px;padding:0 1rem;width:100%}.search-field input,.segmented{background:#fff;border:1px solid var(--line);border-radius:12px}.segmented{display:inline-flex;padding:4px}.segmented button{background:transparent;border:0;border-radius:8px;color:var(--muted);font-weight:800;padding:.6rem .9rem}.segmented button.is-active{background:var(--navy);color:#fff}.pipeline-status{color:var(--muted);font-size:.82rem;margin:0;min-height:1.2rem;text-align:right}.pipeline-status.is-error{color:var(--red)}.pipeline-board{align-items:start;display:grid;gap:.85rem;grid-template-columns:repeat(5,minmax(255px,1fr));overflow-x:auto;padding-bottom:1rem}.stage-column{background:hsla(0,0%,100%,.62);border:1px solid var(--line);border-radius:16px;min-height:420px;overflow:hidden}.stage-header{align-items:center;background:#fff;border-bottom:1px solid var(--line);display:flex;gap:.5rem;justify-content:space-between;padding:.85rem .9rem}.stage-header div{align-items:center;display:flex;gap:.55rem}.stage-number{background:var(--purple-soft);border-radius:8px;color:var(--purple);display:grid;font-size:.78rem;font-weight:900;height:26px;place-items:center;width:26px}.stage-header h2{font-size:.92rem;margin:0}.count-pill{background:var(--surface-soft);border-radius:999px;color:var(--muted);display:grid;font-size:.75rem;font-weight:900;height:24px;min-width:26px;place-items:center}.stage-list{display:grid;gap:.7rem;padding:.7rem}.empty-column{color:#929bad;font-size:.82rem;margin:.8rem;text-align:center}.candidate-card{background:#fff;border:1px solid #e1e5ed;border-radius:13px;box-shadow:0 3px 10px rgba(31,42,68,.05);color:inherit;padding:.85rem;text-align:left;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease;width:100%}.candidate-card:hover{border-color:#c7c1f6;box-shadow:0 10px 24px rgba(41,49,82,.1);transform:translateY(-2px)}.candidate-name{display:flex;font-weight:850;gap:.6rem;justify-content:space-between}.resume-dot{color:var(--green);font-size:.72rem;white-space:nowrap}.candidate-contact{color:var(--muted);display:grid;font-size:.76rem;gap:.15rem;margin:.5rem 0;overflow-wrap:anywhere}.candidate-tags{display:flex;flex-wrap:wrap;gap:.3rem}.tag{align-items:center;background:var(--surface-soft);border-radius:999px;color:#556078;display:inline-flex;font-size:.68rem;font-weight:800;min-height:23px;padding:.15rem .45rem}.tag.rank-one{background:var(--purple-soft);color:var(--purple)}.candidate-updated{color:#929bad;font-size:.68rem;margin-top:.6rem}.inactive-list{display:grid;gap:.65rem}.inactive-row{align-items:center;background:#fff;border:1px solid var(--line);border-radius:13px;display:grid;gap:1rem;grid-template-columns:minmax(180px,1fr) 1fr 1fr auto;padding:1rem}.inactive-row button{justify-self:end}.inactive-row small{color:var(--muted)}.modal-backdrop{backdrop-filter:blur(4px);background:rgba(13,20,36,.62);display:grid;inset:0;padding:1.2rem;place-items:center;position:fixed;z-index:100}.modal-card{background:#fff;border-radius:20px;box-shadow:0 32px 90px rgba(0,0,0,.35);display:flex;flex-direction:column;max-height:calc(100vh - 2.4rem);overflow:hidden;width:min(100%,880px)}.modal-card.is-wide{width:min(100%,1120px)}.modal-header{border-bottom:1px solid var(--line);display:flex;gap:1rem;justify-content:space-between;padding:1.2rem 1.35rem}.modal-header h2{font-size:1.45rem;margin:0}.icon-button{background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--muted);font-size:1.55rem;height:40px;width:40px}.modal-body{overflow:auto;padding:1.35rem}.form-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.field.full,.form-actions,.form-section{grid-column:1/-1}.required{color:var(--red)}.field-help{color:var(--muted);font-size:.75rem;font-weight:500}.form-section{border-top:1px solid var(--line);padding-top:1rem}.form-section h3{font-size:1rem;margin:0 0 .25rem}.form-section>p{color:var(--muted);font-size:.8rem;margin:0 0 .8rem}.choice-grid{display:grid;gap:.6rem;grid-template-columns:repeat(2,minmax(0,1fr))}.choice-row{align-items:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;display:grid;font-size:.82rem;gap:.55rem;grid-template-columns:auto minmax(0,1fr) 80px;padding:.65rem}.choice-row input[type=number]{min-height:36px;width:70px}.language-grid{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.language-card{background:var(--surface-soft);border:1px solid var(--line);border-radius:11px;display:grid;gap:.6rem;grid-template-columns:1fr 100px;padding:.8rem}.language-card textarea{grid-column:1/-1;min-height:64px}.form-actions{display:flex;gap:.65rem;justify-content:flex-end;padding-top:.4rem}.form-message{color:var(--muted);font-size:.82rem;grid-column:1/-1;margin:0;min-height:1.15rem}.form-message.is-error{color:var(--red)}.candidate-detail{display:grid;gap:1rem}.detail-top{align-items:start;display:flex;gap:1rem;justify-content:space-between}.detail-contact{color:var(--muted);display:grid;font-size:.88rem;gap:.2rem}.status-badge{background:var(--green-soft);border-radius:999px;color:var(--green);display:inline-flex;font-size:.72rem;font-weight:900;padding:.35rem .6rem;text-transform:uppercase}.status-badge.dropped{background:var(--red-soft);color:var(--red)}.status-badge.onboarded{background:var(--purple-soft);color:var(--purple)}.detail-actions{display:flex;flex-wrap:wrap;gap:.5rem}.detail-grid{display:grid;gap:.8rem;grid-template-columns:repeat(2,minmax(0,1fr))}.detail-panel{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:.9rem}.detail-panel h3{font-size:.86rem;margin:0 0 .55rem}.detail-panel p{color:#556078;font-size:.82rem;margin:.25rem 0;white-space:pre-wrap}.timeline{display:grid;gap:.7rem}.timeline-item{background:var(--surface-soft);border-left:3px solid #c9c2f4;border-radius:0 10px 10px 0;padding:.8rem .85rem .8rem 1rem;position:relative}.timeline-item strong{display:block;font-size:.84rem}.timeline-meta{color:var(--muted);font-size:.72rem;margin-top:.2rem}.timeline-notes{color:#4d586d;font-size:.8rem;margin:.45rem 0 0;white-space:pre-wrap}.activity-split{display:grid;gap:1rem;grid-template-columns:1fr 1fr}.panel-box{border:1px solid var(--line);border-radius:13px;padding:1rem}.panel-box h3{margin-top:0}.interviewer-list{border:1px solid var(--line);border-radius:9px;display:grid;gap:.35rem;grid-template-columns:repeat(2,minmax(0,1fr));max-height:170px;overflow:auto;padding:.5rem}.check-label{align-items:center;display:flex;font-size:.78rem;font-weight:600;gap:.4rem}.delivery-results{display:grid;gap:.4rem;margin-top:.7rem}.delivery-result{background:var(--surface-soft);border-radius:8px;font-size:.78rem;padding:.55rem .7rem}.toast{background:var(--navy);border-radius:11px;bottom:1.25rem;box-shadow:var(--shadow);color:#fff;font-size:.86rem;max-width:min(420px,calc(100vw - 2.5rem));padding:.8rem 1rem;position:fixed;right:1.25rem;z-index:150}.toast.is-error{background:#8f2937}@media (max-width:900px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{grid-template-columns:1fr}.pipeline-status{text-align:left}.activity-split,.detail-grid{grid-template-columns:1fr}.inactive-row{grid-template-columns:1fr auto}.inactive-row>:nth-child(2),.inactive-row>:nth-child(3){grid-column:1/-1}}@media (max-width:620px){.topbar{align-items:flex-start;padding:.8rem 1rem}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.user-name{text-align:right;width:100%}.workspace-main{padding:1.2rem .85rem}.hero{align-items:stretch;flex-direction:column}.choice-grid,.form-grid,.language-grid,.summary-grid{grid-template-columns:1fr}.modal-backdrop{align-items:end;padding:0}.modal-card,.modal-card.is-wide{border-radius:18px 18px 0 0;max-height:94vh;width:100%}.detail-top{flex-direction:column}.interviewer-list{grid-template-columns:1fr}}