/* Standalone recruitment UI. Uses system fonts, CSS shapes, and project-owned text. */
:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#292c3e;background:#faf9fc;font-synthesis:none;--ink:#292c3e;--muted:#807a8c;--accent:#7944e8;--line:#e7e0ef;--wash:#f3effa}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;font-size:14px;line-height:1.65}h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #8f63d6;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* Introduction: soft raised cards with project-owned styles. */
.hero{margin:16px;border:1px solid #e6deee;border-radius:24px;background:linear-gradient(110deg,#eeeaf4 0%,#f1eef4 52%,#eaf0ed 100%);padding-bottom:28px}
nav{height:78px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff80}.brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650}.brand-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#7944e8;color:white;font-size:19px}.nav-links{display:flex;align-items:center;gap:28px;font-size:12px}.nav-pill{padding:8px 16px;border:1px solid #ddd3e8;border-radius:22px;background:#ffffff70}
.hero-inner{max-width:940px;margin:45px auto 0;padding:0 24px;text-align:center}.badge{display:inline-flex;align-items:center;gap:8px;color:#766587;font-size:12px}.dot{width:6px;height:6px;background:var(--accent);border-radius:50%}h1{font-size:58px;font-weight:700;line-height:1.25;letter-spacing:-2px;margin-top:24px}h1 em{font-style:normal;color:#7545d5}.hero-copy>p{font-size:14px;line-height:1.85;color:#7b7487;margin:20px auto 24px;max-width:570px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:30px;background:var(--accent);color:#fff;border:0;border-radius:24px;padding:13px 26px;font-size:13px;font-weight:600}.primary:hover{background:#6c39d5}
.product-benefits{display:grid;grid-template-columns:1fr 1fr;gap:26px;max-width:500px;margin:38px auto 0;text-align:left;padding:4px 8px 10px}.benefit-item{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:148px;padding:20px 24px;background:linear-gradient(135deg,#ffffffed,#f8f3ffdf);border:1px solid #fff;border-radius:22px;box-shadow:0 14px 32px #65517b14,inset 0 1px 0 #fff;transform:rotate(-2deg)}.benefit-item:nth-child(2){background:linear-gradient(135deg,#fffffff0,#eef5f1e0);transform:rotate(2deg)}.benefit-icon{display:grid;place-items:center;width:36px;height:36px;margin-bottom:12px;border:1px solid #e6dbf5;border-radius:11px;background:#f1e8fc;color:#8352ca;font-size:22px;line-height:1;box-shadow:0 3px 8px #9064bf08}.benefit-item:nth-child(2) .benefit-icon{background:#e9f1ed;border-color:#dce9e2;color:#658b78}.benefit-item h3{font-size:14px;font-weight:600;letter-spacing:.1px}.benefit-item small{font-size:11px;color:#8c799e;margin-top:4px}.benefit-tagline{font-size:16px;font-weight:550;color:#6d4a8e;margin:22px 0 7px}.benefit-preview-note{font-size:10px;color:#908497;max-width:560px;margin:auto;line-height:1.7}
.steps-strip{max-width:1140px;margin:30px auto 0;padding:0 0 28px;display:grid;grid-template-columns:repeat(4,1fr);gap:22px;border-bottom:1px solid var(--line)}.steps-strip>div{display:flex;align-items:start;gap:12px}.steps-strip b{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#f0e9fb;color:#8555cb;font:11px ui-monospace,monospace;flex-shrink:0}.steps-strip span{display:grid;gap:4px}.steps-strip strong{font-size:12px;font-weight:550}.steps-strip small{font-size:10px;color:var(--muted)}
/* Working area: fixed left panel and scrollable results, both accessible at low heights. */
.workspace{max-width:1200px;margin:auto;display:grid;grid-template-columns:335px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:22px 28px;height:calc(100dvh - 32px);padding:16px 30px}.section-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px}.kicker{font:10px/1.6 ui-monospace,monospace;letter-spacing:1.7px;color:#9166c5;margin-bottom:6px}.section-heading h2{font-size:23px;font-weight:650;letter-spacing:-.5px}.freshness-banner{display:grid;gap:4px;text-align:right}.freshness-banner strong{font-size:11px;color:#8650cc;font-weight:550}.freshness-banner span{font-size:13px;color:#604371;font-weight:600}
.panel{height:100%;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#dbd0e9 transparent;padding:21px;border:1px solid var(--line);border-radius:19px;background:white}.entry-heading{margin-bottom:14px}.entry-heading h2{font-size:16px;font-weight:600}.entry-heading p{font-size:10px;color:var(--muted);margin-top:3px}.entry-icon,.avatar-small{display:none}.intake-tabs{display:flex;gap:4px;padding:4px;margin-bottom:12px;border-radius:10px;background:#f3eff8}.intake-tabs button{flex:1;border:0;background:transparent;padding:8px;border-radius:7px;font-size:12px;color:var(--muted)}.intake-tabs button[aria-selected=true]{background:white;color:#8150c8;font-weight:600}
.drop-zone{width:100%;height:106px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:#fbf9fe;border:1px dashed #c9b6e3;border-radius:11px;padding:10px;color:var(--ink)}.drop-zone:hover,.drop-zone.dragover{background:#f2eafb;border-color:#9a73ca}.upload-glyph{font-size:23px;color:#8756ca;line-height:1.2}.drop-zone strong{font-size:11px;font-weight:500}.drop-zone>span:last-child{font-size:9px;color:var(--muted);text-align:center}.file-card{display:flex;align-items:center;gap:9px;padding:9px;margin-top:9px;background:#f5f0fa;border-radius:9px}.file-symbol{font-size:23px;color:#946dc6}.file-card>div{min-width:0;flex:1}.file-card strong{display:block;font-size:11px;overflow-wrap:anywhere}.file-card #file-size{font-size:10px;color:var(--muted)}.file-card button{flex-shrink:0;width:25px;height:25px;border:0;background:white;border-radius:50%;font-size:18px;color:#8f7c9c}
#resume-text{display:block;width:100%;height:110px;min-height:95px;max-height:220px;resize:vertical;border:1px solid #dfd3ec;border-radius:10px;background:#fcfbfe;padding:11px;font-size:12px;line-height:1.75;color:var(--ink)}#resume-text::placeholder{color:#a598af}.text-tools{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:5px}.text-tools button{border:0;background:transparent;font-size:10px;color:#85649c;padding:0}.resume-privacy{font-size:10px;line-height:1.7;color:#7a688a;margin-top:10px}#intake-status{font-size:9px;line-height:1.65;color:var(--muted);margin:8px 0 3px}#intake-status.error{color:#a2455b}.demo-note{font-size:9px;color:#94849f;line-height:1.6}
.filter-heading{border-top:1px solid var(--line);padding-top:14px;margin:16px 0 10px;font-size:15px;font-weight:600}.profile-line{font-size:10px;color:#91849d;margin-bottom:11px}.controls{display:grid;grid-template-columns:1fr 1fr;gap:11px}.control{display:grid;gap:6px;min-width:0;font-size:11px;color:var(--muted)}.control:last-child{grid-column:1/-1}.control select{width:100%;min-width:0;border:1px solid #e4dbed;border-radius:8px;background:#fcfbfe;color:#3b334a;padding:8px;font-size:12px}.preference-help{font-size:10px;color:var(--muted);margin-top:7px}.intake-cta{display:flex;justify-content:space-between;width:100%;margin-top:15px;font-size:12px;padding:11px 17px}.panel-rule-summary{display:grid;gap:5px;margin-top:12px;font-size:10px;color:var(--muted)}.panel-rule-summary button{justify-self:start;border:0;padding:0;color:#8554bb;background:transparent;font-size:11px}
.list-zone{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;margin-bottom:8px}.toolbar h2{font-size:16px;font-weight:600;letter-spacing:-.2px}.result-total{display:inline-flex;align-items:baseline;gap:4px;margin-left:5px;color:var(--accent);white-space:nowrap}.result-total strong{font-size:25px;font-weight:650}.result-total small{font-size:10px;font-weight:400}.tabs{display:flex;gap:3px;background:#f3eefb;border-radius:9px;padding:4px}.tabs button{border:0;border-radius:6px;background:transparent;font-size:11px;color:var(--muted);padding:6px 12px;white-space:nowrap}.tabs button.active{background:white;color:#514361}.result-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:10px;color:var(--muted);margin-bottom:9px;flex-shrink:0}.result-summary b{font-weight:500;color:#786084}
.record-storage{flex-shrink:0;padding:9px 0;border-top:1px solid var(--line);margin-bottom:3px}.record-storage p{font-size:10px;line-height:1.7;color:#8c8096}.record-backup-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}.record-backup-actions button{border:1px solid #e2d7ee;background:#f9f6fc;border-radius:7px;padding:4px 9px;color:#82549f;font-size:10px}#backup-count{font-size:10px;color:#92849d}#toast{flex-shrink:0;font-size:11px;color:#8955c1;margin:4px 0 8px;line-height:1.6}#toast:empty{margin:0;height:0}.result-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:auto;padding:3px 7px 12px 2px;scrollbar-width:thin;scrollbar-color:#cfbce5 transparent}#list{display:grid;gap:15px}
/* Results: ordinary document cards, with compact dates and optional evidence. */
.card{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:16px;padding:20px;border:1px solid var(--line);border-radius:17px;background:white;min-width:0}.card:hover{border-color:#cbb6e0}.card.applied{background:#fdfbff}.company{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;line-height:1.5}.company-mark{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;font-size:13px;color:#9065b6;background:#f5effb;border:1px solid #e8def1;border-radius:8px}.role{font-size:12px;margin:10px 0 5px}.role strong{font-weight:550}.field-label{font-size:9px;color:#9a8ea4;margin-right:8px}.other-roles{font-size:11px;line-height:1.7;color:#93829e;margin-bottom:5px}.other-roles>span{font-size:9px;margin-right:8px;color:#a796b1}.pill{display:inline-block;padding:3px 7px;margin:3px 4px 2px 0;border-radius:5px;font-size:9px;background:#f3f0f7;color:#9986a6}.pill.exam{background:#f0e6fb;color:#9063b4}.pill.pref{color:#80708c;background:#f5eff9}.reason{font-size:12px;line-height:1.7;color:#83738f;margin:9px 0 8px}.meta{font-size:10px;color:#94879d;line-height:1.8}.side{display:flex;flex-direction:column;align-items:flex-end;gap:7px;text-align:right;min-width:0}.score{font-size:36px;line-height:1.1;font-weight:700;color:#8145dd;letter-spacing:-1px}.score small{font-size:15px;font-weight:500}.action{display:inline-block;border-radius:20px;background:#824be0;color:white;font-size:11px;padding:9px 13px;white-space:nowrap;margin:8px 0 5px}.action:hover{background:#733cd2}.check{display:flex;align-items:center;gap:6px;color:#94839e;font-size:10px;cursor:pointer}.check input{width:16px;height:16px;margin:0;accent-color:#8250c9}
.recruit-dates{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:11px 0 9px;padding:7px 10px;border:1px solid #e9ddf3;border-radius:7px;background:#f8f4fc}.recruit-dates>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.recruit-dates>div+div{padding-left:12px;border-left:1px solid #e4d5ef}.recruit-dates span{display:flex;align-items:center;gap:5px;font-size:9px;color:#9b83ac}.recruit-dates strong{font-size:12px;font-weight:600;color:#816095}.recruit-dates em{font-style:normal;font-size:8px;color:#9766c1;background:#eee2fa;padding:1px 4px;border-radius:3px}details{font-size:10px;color:#9b87a9;margin-top:8px}summary{cursor:pointer}details p{line-height:1.8;margin-top:7px;overflow-wrap:anywhere}.empty{padding:30px;background:#fff;border:1px dashed var(--line);border-radius:13px;text-align:center;color:var(--muted);font-size:12px}#more{display:block;margin:20px auto 0;border:1px solid var(--line);border-radius:20px;background:white;padding:9px 18px;color:#9a7bab;font-size:11px}
/* Small print and overlays. */
.page-footer{max-width:1140px;display:grid;grid-template-columns:255px minmax(0,1fr);align-items:center;gap:50px;margin:0 auto;padding:26px 0 31px;border-top:1px solid var(--line);color:#918398}.footer-brand p{font-size:14px;font-weight:400;line-height:1.9}.footer-information{display:grid;gap:4px}.footer-information p{font-size:12px;line-height:1.65}.back-to-top{position:fixed;right:22px;bottom:22px;display:flex;gap:7px;align-items:center;z-index:10;background:#fff;border:1px solid #e2d4ed;border-radius:22px;padding:9px 14px;font-size:11px;color:#9768bb;box-shadow:0 4px 14px #4b325c0a}
#match-rules-dialog{width:min(520px,calc(100vw - 40px));max-height:80dvh;overflow:auto;border:1px solid var(--line);border-radius:18px;background:white;color:var(--ink);padding:24px;box-shadow:0 18px 80px #31233f25}#match-rules-dialog::backdrop{background:#38294740}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-heading h2{font-size:20px}.dialog-heading button{border:0;background:#f3ecf8;color:#9c79b0;width:29px;height:29px;border-radius:50%;font-size:21px}#match-rules-dialog h3{font-size:14px;margin-top:17px}#match-rules-dialog p,#match-rules-dialog .rule{font-size:12px;line-height:1.9;margin-top:13px;color:#87778f}
@media(max-width:1200px){.steps-strip,.page-footer{margin-left:30px;margin-right:30px}.workspace{grid-template-columns:300px minmax(0,1fr);gap:20px}.page-footer{grid-template-columns:220px minmax(0,1fr);gap:28px}.toolbar{flex-wrap:wrap;gap:8px}.card{grid-template-columns:minmax(0,1fr) 105px;gap:12px;padding:18px}.recruit-dates>div+div{border:0;padding-left:0}}
@media(max-width:800px){.hero{margin:10px;padding-bottom:23px}nav{height:70px;padding:0 20px}.nav-links>a:not(.nav-pill){display:none}.hero-inner{margin-top:32px;padding:0 20px}h1{font-size:40px;letter-spacing:-1px}.hero-copy>p{font-size:12px}.steps-strip{grid-template-columns:1fr 1fr;gap:20px}.workspace{display:block;height:auto;padding:28px 25px 36px}.section-heading{align-items:start;flex-direction:column;gap:10px;margin-bottom:20px}.section-heading h2{font-size:22px}.freshness-banner{text-align:left}.panel{height:auto;overflow:visible}.list-zone{height:auto;display:block;margin-top:25px}.result-scroll{height:auto;overflow:visible;padding:0}.toolbar{margin-bottom:10px}.card{grid-template-columns:minmax(0,1fr) 110px}.page-footer{margin:0 25px;grid-template-columns:1fr;gap:14px;padding:23px 0 75px}.footer-brand p{font-size:13px;line-height:1.8}.footer-information p{font-size:11px;line-height:1.7}}
@media(max-width:480px){nav{padding:0 16px}.brand{font-size:15px}.brand-symbol{width:27px;height:27px}.nav-pill{padding:6px 11px;font-size:11px}.hero-inner{padding:0 16px}.badge{font-size:10px}h1{font-size:29px;line-height:1.4;letter-spacing:-.5px;margin-top:20px}.hero-copy>p{font-size:11px;line-height:1.9}.primary{font-size:12px;padding:11px 21px}.product-benefits{gap:14px;margin-top:28px;padding:4px 3px 8px}.benefit-item{min-height:134px;padding:16px 13px;border-radius:17px}.benefit-icon{display:grid;width:30px;height:30px;font-size:18px;margin-bottom:10px}.benefit-item h3{font-size:12px}.benefit-item small{font-size:10px;margin:0}.benefit-tagline{font-size:14px}.benefit-preview-note{font-size:9px}.steps-strip{margin:25px 20px 0;gap:18px 10px;padding-bottom:24px}.steps-strip>div{gap:8px}.steps-strip b{width:29px;height:29px;font-size:10px}.steps-strip strong{font-size:11px}.steps-strip small{font-size:9px}.workspace{padding:25px 20px 32px}.panel{padding:18px}.toolbar h2{font-size:15px}.result-total strong{font-size:23px}.tabs button{padding:6px 10px}.card{grid-template-columns:minmax(0,1fr) 88px;padding:16px;gap:10px}.company{font-size:14px}.company-mark{display:none}.score{font-size:30px}.action{font-size:10px;padding:8px 9px}.recruit-dates{flex-direction:column;align-items:flex-start;gap:5px}.recruit-dates>div+div{border:0;padding:0}.recruit-dates strong{font-size:11px}.back-to-top{right:12px;bottom:15px;padding:8px 12px}.record-storage p{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.resume-consent{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.7;color:#7a688a;margin-top:10px}.resume-consent input{accent-color:#7944e8;flex-shrink:0;margin-top:3px}#extracted-text{white-space:pre-wrap;word-break:break-word;max-height:180px;overflow:auto;font:10px/1.7 inherit;background:#faf8fc;padding:9px;border-radius:7px}.intake-cta:disabled{opacity:.65}
