:root{color:#172033;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.68}.app-shell{min-height:100vh;background:linear-gradient(180deg,#2563eb0f,#f4f6f800 260px),#f4f6f8}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px;padding:18px 28px;border-bottom:1px solid #dfe5ec;background:#ffffffe0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;color:#fff;background:linear-gradient(135deg,#0f766e,#2563eb);box-shadow:0 12px 28px #2563eb29}.brand h1,.brand p,.pane-header h2,.pane-header p,.section-heading h2,.section-heading h3,.profile-head h2,.profile-head p,.empty-list h2,.empty-list p,.empty-detail h2,.empty-detail p{margin:0}.brand h1{font-size:18px;line-height:1.2}.brand p{margin-top:3px;color:#667085;font-size:13px}.topbar-metrics{display:flex;align-items:center;gap:10px}.user-box{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:7px 8px 7px 12px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#445166;font-size:13px}.user-box button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #d5dde7;border-radius:8px;color:#667085;background:#f8fafc}.user-box button:hover{color:#7f1d1d;background:#fef2f2}.metric{min-width:82px;padding:8px 10px;border:1px solid #dfe5ec;border-radius:8px;background:#fff}.metric strong{display:block;color:#0f766e;font-size:18px;line-height:1}.metric span{color:#667085;font-size:12px}.auth-shell{display:grid;place-items:center;min-height:100vh;padding:20px;background:linear-gradient(180deg,#0f766e14,#f4f6f800 280px),#f4f6f8}.auth-panel{width:min(100%,420px);padding:22px;border:1px solid #dfe5ec;border-radius:8px;background:#fffffff5;box-shadow:0 24px 64px #1f29371a}.auth-brand{padding-bottom:18px;border-bottom:1px solid #e5ebf2}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.auth-tabs button{height:38px;border:1px solid #d5dde7;border-radius:8px;color:#445166;background:#fff}.auth-tabs button.active{border-color:#0f766e;color:#0f513f;background:#dff7ef}.auth-form{display:grid;gap:13px;margin-top:18px}.auth-form label{display:grid;gap:6px}.auth-form label span{color:#445166;font-size:13px;font-weight:700}.auth-form input{width:100%;height:42px;padding:0 12px;border:1px solid #d5dde7;border-radius:8px;outline:0;color:#172033;background:#fff}.auth-form input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.auth-alert{margin-top:0}.auth-submit{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;border:1px solid #0f766e;border-radius:8px;color:#fff;background:#0f766e;font-weight:700}.auth-loading{display:inline-flex;align-items:center;gap:10px;color:#445166}.workspace{display:grid;grid-template-columns:minmax(250px,300px) minmax(420px,1fr) minmax(340px,440px);gap:18px;padding:20px}.left-pane,.candidate-pane,.detail-pane{min-height:calc(100vh - 116px)}.left-pane{display:flex;flex-direction:column;gap:16px}.upload-panel,.filter-panel,.candidate-pane,.detail-pane{border:1px solid #dfe5ec;border-radius:8px;background:#fffffff0;box-shadow:0 16px 44px #1f29370f}.upload-panel{padding:14px}.upload-panel input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.upload-target{display:grid;place-items:center;gap:8px;min-height:164px;padding:24px;border:1px dashed #a9b7c8;border-radius:8px;color:#445166;text-align:center;background:#f8fafc;transition:border-color .16s ease,background .16s ease,transform .16s ease}.upload-panel.is-dragging .upload-target,.upload-target:hover{border-color:#0f766e;background:#ecfdf5;transform:translateY(-1px)}.upload-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:8px;color:#0f766e;background:#dff7ef}.upload-title{color:#172033;font-weight:700}.upload-meta{min-height:20px;color:#667085;font-size:13px}.filter-panel,.candidate-pane,.detail-pane{padding:16px}.section-heading,.pane-header,.candidate-title-row,.detail-actions{display:flex;align-items:center}.section-heading{gap:8px;color:#445166}.section-heading h2,.section-heading h3{color:#172033;font-size:15px}.search-form{display:grid;grid-template-columns:20px 1fr 38px;align-items:center;gap:8px;height:44px;margin-top:14px;padding:0 4px 0 12px;border:1px solid #d5dde7;border-radius:8px;background:#fff}.search-form input{width:100%;min-width:0;border:0;outline:0;color:#172033}.search-form button,.ghost-button,.primary-button,.resume-link,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;border-radius:8px;border:1px solid #d5dde7;background:#fff;color:#172033;text-decoration:none}.search-form button{width:36px;border-color:transparent}.status-tabs,.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}.status-tabs{margin-top:16px}.status-tabs button,.tag-cloud button,.tag-cloud span{min-height:30px;padding:6px 10px;border:1px solid #d5dde7;border-radius:8px;background:#fff;color:#445166;font-size:13px;line-height:1.2}.status-tabs button.active,.tag-cloud button.active{border-color:#0f766e;color:#0f513f;background:#dff7ef}.tag-cloud{margin-top:16px}.candidate-pane,.detail-pane{overflow:hidden}.pane-header{justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #e5ebf2}.pane-header h2{font-size:17px}.pane-header p{margin-top:2px;color:#667085;font-size:13px}.ghost-button{padding:0 12px}.candidate-list{display:flex;flex-direction:column;gap:10px;padding-top:14px;max-height:calc(100vh - 176px);overflow:auto}.candidate-item{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;width:100%;padding:12px;border:1px solid #e3e9f0;border-radius:8px;background:#fff;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.candidate-item:hover,.candidate-item.active{border-color:#2563eb;box-shadow:0 14px 32px #2563eb1f;transform:translateY(-1px)}.avatar,.profile-avatar{display:grid;place-items:center;border-radius:8px;color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);font-weight:800}.avatar{width:44px;height:44px}.candidate-main{min-width:0}.candidate-title-row{justify-content:space-between;gap:8px}.candidate-title-row strong,.candidate-headline{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.candidate-title-row strong{min-width:0;color:#172033}.candidate-headline{display:block;margin-top:4px;color:#667085;font-size:13px}.candidate-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.candidate-tags span,.status-badge{display:inline-flex;align-items:center;min-height:24px;padding:4px 7px;border-radius:8px;font-size:12px;line-height:1.2}.candidate-tags span{color:#445166;background:#eef2f7}.status-badge{flex:0 0 auto;border:1px solid #d5dde7;color:#445166;background:#fff}.status-new{color:#0f513f;border-color:#a7f3d0;background:#ecfdf5}.status-screening,.status-interview{color:#1d4ed8;border-color:#bfdbfe;background:#eff6ff}.status-offer{color:#854d0e;border-color:#fde68a;background:#fffbeb}.status-rejected,.status-archived{color:#7f1d1d;border-color:#fecaca;background:#fef2f2}.detail-content{display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 148px);overflow:auto;padding-right:2px}.profile-head{display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;align-items:center}.profile-avatar{width:58px;height:58px;font-size:24px}.profile-head h2{overflow-wrap:anywhere;font-size:22px}.profile-head p{margin-top:4px;color:#667085;line-height:1.45}.detail-actions{justify-content:space-between;gap:12px}.detail-actions label{display:grid;gap:5px;color:#667085;font-size:12px}.detail-actions select{min-width:126px;height:36px;padding:0 10px;border:1px solid #d5dde7;border-radius:8px;background:#fff;color:#172033}.resume-link{padding:0 12px;color:#0f766e;border-color:#a7f3d0;background:#ecfdf5}.danger-button{padding:0 12px;color:#b42318;border-color:#fecaca;background:#fff5f5}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.info-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;min-height:58px;padding:10px;border:1px solid #e3e9f0;border-radius:8px;background:#f8fafc}.info-item>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:#2563eb;background:#eaf1ff}.info-item small{display:block;color:#667085;font-size:12px}.info-item strong{display:block;margin-top:2px;overflow:hidden;color:#172033;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.detail-section{padding-top:2px}.detail-tags{margin-top:10px}.detail-tags span{color:#172033;background:#f8fafc}.editable-chip-group{margin-top:10px}.editable-chips{display:flex;flex-wrap:wrap;gap:8px}.editable-chip,.empty-chip{display:inline-flex;align-items:center;min-height:32px;padding:6px 9px;border:1px solid #d5dde7;border-radius:8px;color:#172033;background:#f8fafc;font-size:13px;line-height:1.2}.editable-chip{gap:6px}.editable-chip button{display:grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:8px;color:#667085;background:#eef2f7}.editable-chip button:hover{color:#7f1d1d;background:#fee2e2}.empty-chip{color:#667085}.chip-input-row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;height:38px;margin-top:8px;padding:0 10px;border:1px solid #d5dde7;border-radius:8px;color:#0f766e;background:#fff}.chip-input-row:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.chip-input-row input{width:100%;min-width:0;border:0;outline:0;color:#172033}.notes-section textarea{width:100%;min-height:112px;margin-top:10px;padding:12px;resize:vertical;border:1px solid #d5dde7;border-radius:8px;outline:none;color:#172033;background:#fff}.notes-section textarea:focus,.search-form:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.primary-button{width:100%;margin-top:10px;border-color:#0f766e;color:#fff;background:#0f766e}.secondary-save-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;height:36px;margin-top:10px;border:1px solid #0f766e;border-radius:8px;color:#0f766e;background:#ecfdf5}.alert{margin-top:12px;padding:10px 12px;border:1px solid #fecaca;border-radius:8px;color:#7f1d1d;background:#fef2f2;font-size:13px}.loading-row{height:96px;border-radius:8px;background:linear-gradient(90deg,#eef2f7,#f8fafc,#eef2f7);background-size:240% 100%;animation:shimmer 1.3s ease-in-out infinite}.empty-list,.empty-detail{display:grid;place-items:center;gap:8px;min-height:260px;padding:28px;color:#667085;text-align:center}.empty-list svg,.empty-detail svg{color:#0f766e}.empty-list h2,.empty-detail h2{color:#172033;font-size:18px}.empty-list p,.empty-detail p{max-width:260px;line-height:1.5}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-240% 0}}@media(max-width:1180px){.workspace{grid-template-columns:minmax(240px,300px) minmax(420px,1fr)}.detail-pane{grid-column:1 / -1;min-height:auto}.detail-content{max-height:none}}@media(max-width:820px){.topbar{align-items:flex-start;flex-direction:column;padding:16px}.topbar-metrics{width:100%}.metric{flex:1}.workspace{grid-template-columns:1fr;padding:12px}.left-pane,.candidate-pane,.detail-pane{min-height:auto}.candidate-list{max-height:none}.info-grid{grid-template-columns:1fr}}@media(max-width:520px){.detail-actions,.pane-header{align-items:stretch;flex-direction:column}.resume-link,.danger-button,.ghost-button{width:100%}}
