: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-target.is-processing{border-color:#0f766e;background:linear-gradient(180deg,#f8fafc,#eefbf7);box-shadow:inset 0 0 0 1px #0f766e14}.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-target.is-processing .upload-icon{color:#fff;background:#0f766e;box-shadow:0 10px 24px #0f766e38}.upload-kicker{color:#1d4ed8;font-size:10px;font-weight:800;letter-spacing:0;line-height:1;text-transform:uppercase}.upload-title{color:#172033;font-weight:700}.upload-meta{min-height:20px;color:#667085;font-size:13px}.upload-counter{color:#0f766e;font-size:12px;font-weight:700}.upload-progress{width:min(220px,100%);height:4px;overflow:hidden;border-radius:999px;background:#dbe4ee}.upload-progress span{display:block;width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f766e,#2563eb,#b45309);transition:width .22s ease}.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,.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>div:first-child{flex:0 0 auto}.pane-header h2{font-size:17px}.pane-header p{margin-top:2px;color:#667085;font-size:13px}.pane-filters{display:flex;align-items:flex-end;gap:12px;margin-left:auto}.region-filter{display:flex;flex-direction:column;gap:5px}.region-filter>span{color:#667085;font-size:12px}.region-filter>div{display:flex;overflow:hidden;border:1px solid #d5dde7;border-radius:8px;background:#fff}.region-filter button{min-width:52px;height:38px;padding:0 11px;border:0;border-right:1px solid #e5ebf2;color:#445166;background:transparent;font-size:13px;font-weight:700}.region-filter button:last-child{border-right:0}.region-filter button:hover,.region-filter button.active{color:#0f513f;background:#dff7ef}.category-filter{position:relative;display:flex;flex:0 0 184px;flex-direction:column;gap:5px;margin-left:auto}.pane-filters .category-filter{margin-left:0}.category-filter>span{color:#667085;font-size:12px}.category-menu-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;height:38px;padding:0 11px;border:1px solid #d5dde7;border-radius:8px;color:#172033;background:#fff}.category-menu-trigger strong{overflow:hidden;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.category-menu-trigger svg{flex:0 0 auto;color:#667085}.category-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:300px;max-width:calc(100vw - 40px);padding:8px;border:1px solid #d5dde7;border-radius:8px;background:#fff;box-shadow:0 18px 42px #1f293729}.category-menu button{min-height:32px;padding:6px 9px;border:1px solid transparent;border-radius:8px;color:#445166;background:transparent;font-size:13px;text-align:left}.category-menu button:hover,.category-menu button.active{border-color:#0f766e;color:#0f513f;background:#dff7ef}.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}.category-badge{flex:0 0 auto;min-height:22px;padding:3px 7px;border:1px solid #bfdbfe;border-radius:8px;color:#1d4ed8;background:#eff6ff;font-size:12px;line-height:1.2}.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-hired{color:#0f513f;border-color:#86efac;background:#f0fdf4}.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}.info-select-item{cursor:text}.info-select-item input,.info-select-item select{width:100%;min-width:0;margin-top:2px;padding:0;border:0;outline:0;color:#172033;background:transparent;font-size:13px;font-weight:700}.info-select-item select{cursor:pointer}.info-source-item{align-items:flex-start}.info-source-item>div{min-width:0}.info-source-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.info-source-heading button{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 7px;border:1px solid #cfd8e3;border-radius:7px;color:#475467;background:#fff;font-size:11px}.source-select{position:relative;margin-top:2px}.source-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;height:26px;padding:0;border:0;outline:none;color:#172033;background:transparent;text-align:left}.source-select-trigger:focus-visible{border-radius:7px;box-shadow:0 0 0 3px #0f766e29}.source-select-trigger strong{min-width:0;overflow:hidden;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.source-select-trigger svg{flex:0 0 auto;color:#667085;transition:transform .16s ease}.source-select-trigger.is-open svg{transform:rotate(180deg)}.source-select-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:40;display:grid;gap:4px;width:min(220px,calc(100vw - 48px));max-height:240px;padding:6px;overflow-y:auto;border:1px solid #d5dde7;border-radius:8px;background:#fff;box-shadow:0 18px 42px #1f293729}.source-select-menu button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:7px 8px;border:1px solid transparent;border-radius:8px;color:#445166;background:transparent;font-size:13px;text-align:left}.source-select-menu button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-select-menu button svg{flex:0 0 auto;color:#0f766e}.source-select-menu button:hover,.source-select-menu button.active{border-color:#0f766e;color:#0f513f;background:#dff7ef}.source-manager-panel{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid #d7e1ec;border-radius:8px;background:#f8fafc}.source-manager-head{display:flex;justify-content:space-between;gap:10px}.source-manager-head h3{margin:0;color:#172033;font-size:14px}.source-manager-head p{margin:2px 0 0;color:#667085;font-size:12px}.source-manager-add,.source-row{display:grid;align-items:center;gap:8px}.source-manager-add{grid-template-columns:18px minmax(0,1fr) auto;padding:8px 10px;border:1px solid #d7e1ec;border-radius:8px;background:#fff}.source-manager-add svg{color:#0f766e}.source-manager-add input,.source-row input{min-width:0;border:0;outline:none;color:#172033;background:transparent;font-size:13px;font-weight:700}.source-manager-add button{height:28px;padding:0 10px;border:1px solid #0f766e;border-radius:7px;color:#0f766e;background:#ecfdf5;font-size:12px}.source-manager-list{display:grid;gap:8px}.source-row{grid-template-columns:minmax(0,1fr) auto;padding:8px 9px;border:1px solid #d7e1ec;border-radius:8px;background:#fff}.source-row-actions{display:flex;gap:6px}.source-row-actions button{display:grid;place-items:center;width:28px;height:28px;border-radius:7px}.source-action-save{border-color:#a7f3d0;color:#0f766e;background:#ecfdf5}.source-action-delete{border-color:#fecaca;color:#b42318;background:#fff5f5}.source-manager-alert{padding:8px 10px;border:1px solid #fecaca;border-radius:8px;color:#7f1d1d;background:#fef2f2;font-size:12px}.inline-edit-field{display:flex;align-items:center;gap:4px;min-width:0}.inline-edit-field em{flex:0 0 auto;color:#667085;font-size:13px;font-style:normal;font-weight:700}.info-save-button{width:100%}.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}}@keyframes upload-scan{0%{transform:translate(-120%)}to{transform:translate(270%)}}@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}.pane-filters{align-items:stretch;flex-direction:column;gap:10px;margin-left:0}.region-filter>div{width:100%}.region-filter button{flex:1}.category-filter{flex-basis:auto;width:100%}.category-menu{left:0;right:auto;width:100%}.resume-link,.danger-button{width:100%}}
