:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;color:#20283f;background:#f6f7fb;font-size:16px;--accent:#5145cd;--line:#e8eaf2;--muted:#737b91;--surface:#fff;--shadow:0 4px 24px #25325906}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a9a3f3}button{cursor:pointer;border:1px solid #e0e3ed;border-radius:10px;background:white;color:#4d556b;padding:10px 16px;font-size:.875rem;font-weight:600;transition:background .16s,border-color .16s,box-shadow .16s}button:hover{border-color:#bcb5ed;background:#f6f5ff;color:var(--accent)}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 3px 8px #5145cd20}.primary:hover{background:#4135b4;border-color:#4135b4;color:white;box-shadow:0 4px 12px #5145cd30}.danger{color:#c04458;border-color:#f0dbe0}.danger:hover{background:#fff1f3;color:#a82b42;border-color:#e5afba}a{color:var(--accent)}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 18px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;font-size:1.4rem;font-weight:750;letter-spacing:1px;padding:0 10px;color:#25283f}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:linear-gradient(145deg,#7569e8,#4e42c4);color:white;border-radius:13px;font-size:1.2rem;box-shadow:0 5px 14px #5145cd22;flex-shrink:0}.brand small{display:block;font-size:.58rem;font-weight:600;letter-spacing:1.45px;color:#959aad;margin-top:6px}.nav-caption{font-size:.7rem;letter-spacing:1.6px;color:#959bad;padding:0 16px;margin-top:46px;margin-bottom:14px}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:12px;color:#6d748a;border:0;background:none;text-align:left;padding:13px 16px;font-size:.9rem;font-weight:500}.nav button.active{color:var(--accent);background:#eeecff;font-weight:650}.nav button.active:after{content:'';margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--accent)}.nav button:hover{background:#f6f5fc;color:var(--accent)}.nav-icon{width:20px;height:20px;flex-shrink:0}.sidebottom{margin-top:auto;padding:20px 14px 0;border-top:1px solid var(--line);font-size:.75rem;line-height:1.9;color:#8a91a4}.sidebottom button{display:block;margin-top:12px;font-size:.8rem;padding:7px 12px}.main{min-width:0}.topbar{min-height:84px;background:#ffffffd9;border-bottom:1px solid var(--line);padding:18px 40px;display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:.8rem;color:var(--muted)}.accountline{display:flex;align-items:center;gap:12px}.accountline button{font-size:.8rem;padding:8px 12px}.avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#eeecff;color:var(--accent);font-weight:650}.account-name{font-weight:600;color:#353c51;line-height:1.4;margin-right:8px}.account-name small{display:block;color:var(--muted);font-size:.68rem;font-weight:400;margin-top:3px}main{padding:36px 40px;max-width:1640px;margin:0 auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.heading .muted{line-height:1.7}h1{font-size:1.8rem;letter-spacing:-.6px;font-weight:700;margin:0 0 8px;overflow-wrap:anywhere}h2{font-size:1.05rem;margin:0 0 22px;font-weight:650}h3{font-size:.95rem;margin:0 0 12px}p{line-height:1.8}.muted{color:var(--muted);font-size:.84rem}.small{font-size:.76rem}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:22px;box-shadow:var(--shadow);min-width:0}.toolbar,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar{margin-bottom:24px}.toolbar input{flex:1;min-width:160px;background:#f8f9fc}.toolbar select{min-width:150px}.tablewrap{overflow:auto}table{border-collapse:separate;border-spacing:0;width:100%;text-align:left;font-size:.88rem}th{background:#f8f9fc;color:#8990a3;font-size:.75rem;font-weight:550;padding:14px 16px;white-space:nowrap;border-bottom:1px solid var(--line)}th:first-child{border-radius:8px 0 0 8px}th:last-child{border-radius:0 8px 8px 0}td{padding:22px 16px;border-bottom:1px solid #f0f1f6;line-height:1.6}tbody tr:hover td{background:#fafaff}tr:last-child td{border-bottom:0}.titlecell{max-width:360px;min-width:180px}.titlecell .muted{margin-top:4px}.link{border:0;padding:0;color:#343c58;background:none;text-align:left;line-height:1.6;font-size:.9rem;font-weight:600}.link:hover{color:var(--accent);background:none}.pill{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:550;border-radius:6px;padding:5px 9px;background:#f0f2f7;color:#67728a;white-space:nowrap}.pill.draft:before,.pill.configuring:before,.pill.ai_reviewing:before,.pill.difficulty_confirming:before,.pill.human_reviewing:before,.pill.published:before,.pill.rework:before,.pill.rejected:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.pill.published,.pill.pending_publish{background:#e9f7ef;color:#238257}.pill.configuring,.pill.ai_reviewing{background:#edf3ff;color:#446fbf}.pill.difficulty_confirming{background:#fff6e6;color:#a27625}.pill.rework{background:#fff1e8;color:#bc703d}.pill.rejected{background:#ffedf0;color:#bd4862}.pill.human_reviewing{background:#efecff;color:#7560c7}.empty{padding:65px 20px;text-align:center;color:var(--muted);font-size:.88rem;line-height:1.8}.empty:before{content:'◇';display:block;font-size:38px;color:#b5afd9;margin-bottom:12px}input,select,textarea{border:1px solid #dfe3ed;background:white;border-radius:9px;padding:11px 13px;color:#30394f;max-width:100%;font-size:.9rem;transition:box-shadow .16s,border-color .16s}input::placeholder,textarea::placeholder{color:#a2a8b7}input:focus,textarea:focus,select:focus{border-color:#8d80e2;outline:0;box-shadow:0 0 0 3px #5145cd12}input[type=file]{font-size:.82rem;color:var(--muted)}input::file-selector-button{border:0;border-radius:7px;background:#efedff;color:var(--accent);padding:8px 14px;font:inherit;margin-right:14px;cursor:pointer}textarea{width:100%;resize:vertical;line-height:1.8;min-height:150px}label{display:grid;gap:10px;font-size:.86rem;font-weight:550;color:#555d74;margin-bottom:22px}label input,label select{width:100%}.grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px}.full{grid-column:1/-1}.split{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.flow{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px;counter-reset:step}.flow span{display:flex;align-items:center;gap:8px;font-size:.76rem;padding:9px 12px;border-radius:9px;background:#eef0f6;color:#848b9f}.flow span:before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:20px;height:20px;border:1px solid #d4d8e5;border-radius:50%;font-size:.66rem}.flow .current{background:#eeecff;color:var(--accent);font-weight:600}.flow .current:before{background:var(--accent);border-color:var(--accent);color:white}.timeline{border-left:1px solid #e7e3f6;padding-left:19px}.review{position:relative;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--line)}.review:before{content:'';position:absolute;left:-24px;top:6px;width:9px;height:9px;border-radius:50%;background:#a69ce0;box-shadow:0 0 0 4px white}.review p{font-size:.84rem;white-space:pre-wrap}.review time{display:block;font-size:.7rem;color:var(--muted);margin-top:9px}pre,.prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font:inherit;font-size:.9rem}details{margin-top:12px;font-size:.84rem}summary{cursor:pointer;color:var(--accent)}dialog{border:1px solid #ffffff66;border-radius:20px;box-shadow:0 24px 90px #20223e33;width:min(660px,94vw);max-height:90vh;padding:30px;color:#30394f}dialog::backdrop{background:#20233b55;backdrop-filter:blur(5px)}dialog header{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:24px}dialog h2{margin:0}dialog header button{border:0;background:#f5f5fa;border-radius:50%;width:32px;height:32px;padding:0}dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;border-top:1px solid var(--line);padding-top:20px}#notice{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:14px 24px;border-radius:12px;background:#2a2c46;color:white;font-size:.875rem;box-shadow:0 8px 30px #25233c28;max-width:90vw;z-index:100}#notice:empty{display:none}.login{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.loginart{position:relative;overflow:hidden;background:radial-gradient(ellipse at 10% 10%,#5c51ab,transparent 65%),radial-gradient(ellipse at 95% 90%,#595995,transparent 65%),#272447;color:white;padding:8vh 7vw;display:flex;flex-direction:column;justify-content:center}.loginart:after{content:'';position:absolute;width:420px;height:420px;border:1px solid #ffffff13;border-radius:50%;right:-200px;top:20%;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff03;pointer-events:none}.loginart .brand{color:white;padding:0}.loginart .brand small{color:#b7b0d5}.loginart .brand-mark{background:#ffffff18;box-shadow:none;border:1px solid #ffffff2b}.login-eyebrow{font-size:.76rem;letter-spacing:2px;color:#bcb6da;margin-top:80px}.loginart h1{font-size:clamp(2.4rem,3.5vw,3.8rem);line-height:1.4;margin:20px 0;letter-spacing:-1px}.loginart p{color:#c4beda;font-size:.93rem;line-height:2}.login-steps{display:flex;gap:18px;margin-top:56px;padding-top:24px;border-top:1px solid #ffffff20;color:#bab4d2;font-size:.73rem;flex-wrap:wrap}.loginform{display:flex;align-items:center;justify-content:center;padding:40px}.loginform form{width:360px;max-width:100%}.loginform h2{font-size:1.9rem;margin-bottom:12px;letter-spacing:-.5px}.loginform form>.muted{margin-bottom:32px}.loginform .primary{width:100%;padding:13px;margin-top:10px}.loginform form>.muted:last-child{text-align:center;font-size:.75rem;margin-top:24px}.loginerror{color:#bb4058;font-size:.84rem;line-height:1.6;margin:10px 0}.loginerror:empty{display:none}.loading{padding:80px 24px;text-align:center;color:var(--muted)}.loading:before{content:'';display:block;width:24px;height:24px;border:2px solid #e4e0f5;border-top-color:var(--accent);border-radius:50%;margin:0 auto 16px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.check{display:flex;gap:10px;align-items:center}.check input{width:auto;accent-color:var(--accent)}.pagination{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.pagination .muted{margin-right:auto;font-size:.76rem}.pagination button{font-size:.76rem;padding:8px 12px}.hint{padding:14px 17px;border:1px solid #e7e2ff;border-radius:10px;background:#f6f4ff;color:#7665ab;font-size:.84rem;line-height:1.8;margin-bottom:20px}.modelresult{background:#f8f8fc;padding:16px;border-radius:10px;margin-top:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:24px 0}.stat{padding:22px;background:white;border:1px solid var(--line);border-radius:14px}.stat b{display:block;font-size:2rem;margin-top:13px}.stat small{color:var(--muted)}
@media(max-width:1150px){.shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:26px 12px}.topbar{padding:18px 26px}main{padding:28px 26px}.split{grid-template-columns:minmax(0,1fr)}.brand{gap:9px}.brand small{font-size:.52rem}}
@media(max-width:760px){.shell{display:block}.sidebar{height:auto;position:static;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:1.15rem}.brand-mark{width:34px;height:34px;border-radius:10px}.nav-caption,.sidebottom{display:none}.nav{display:flex;overflow:auto;margin-top:18px;gap:4px}.nav button{white-space:nowrap;padding:10px 12px;font-size:.8rem;gap:8px}.nav button.active:after{display:none}.nav-icon{width:17px;height:17px}.topbar{padding:14px 18px;flex-wrap:wrap;min-height:auto}.accountline{gap:8px}.accountline button{padding:7px 10px}.account-name{margin-right:0}main{padding:24px 16px}.heading{align-items:flex-start;gap:12px}.heading>.primary{white-space:nowrap}h1{font-size:1.5rem}.card{padding:18px;border-radius:13px}.grid2{grid-template-columns:minmax(0,1fr)}.full{grid-column:auto}.login{grid-template-columns:1fr}.loginart{display:none}.loginform{min-height:100vh;padding:28px}.toolbar select{flex:1;min-width:120px}.pagination{gap:7px}.flow{gap:6px}.flow span{padding:7px 9px}.stats{grid-template-columns:1fr 1fr}.attachment-list li{flex-wrap:wrap}dialog{padding:22px}.heading .muted{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.design-form{max-width:1120px}.rich-field{margin-bottom:22px;min-width:0}.field-label{font-size:.875rem;color:#485770;margin-bottom:10px}.rich-field .ql-container{font-family:inherit;font-size:1rem;background:white;border-radius:0 0 6px 6px}.rich-field .ql-toolbar{border-radius:6px 6px 0 0;background:#f8faff;line-height:1.7}.rich-field .ql-editor{min-height:180px;max-height:500px;overflow-y:auto;line-height:1.8}.rich-field .ql-snow .ql-tooltip{z-index:10}.rich-field .ql-toolbar button{padding:3px 5px;border-radius:3px}.rich-field .ql-toolbar .ql-picker{font-size:.875rem}.rich-field .ql-snow .ql-picker.ql-header .ql-picker-label::before{font-size:.875rem}.design-footer{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px}.design-footer .primary{min-width:140px}.attachment-upload{border:1px dashed #b9c9e5;padding:20px;border-radius:8px;margin-bottom:20px;background:#fafcff}.attachment-upload .file-picker{margin-bottom:8px}.attachment-list{list-style:none;padding:0;margin:12px 0}.attachment-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.attachment-list li>a,.attachment-list li>span:first-child{flex:1;min-width:0}.attachment-list button{flex-shrink:0}.attachment-list a{color:var(--accent)}.rich-content{overflow-wrap:anywhere;line-height:1.85;white-space:normal}.rich-content p{margin:10px 0}.rich-content pre{white-space:pre-wrap;background:#f3f5f8;padding:12px;border-radius:5px}.rich-content blockquote{border-left:3px solid #9eafd0;padding-left:16px;margin-left:0;color:#536681}.rich-content .ql-align-center{text-align:center}.rich-content .ql-align-right{text-align:right}.rich-content .ql-align-justify{text-align:justify}.rich-content .ql-indent-1{padding-left:2em}.rich-content .ql-indent-2{padding-left:4em}.rich-content .ql-indent-3{padding-left:6em}.rich-content .ql-indent-4{padding-left:8em}.rich-content .ql-indent-5{padding-left:10em}.rich-content .ql-indent-6{padding-left:12em}.rich-content .ql-indent-7{padding-left:14em}.rich-content .ql-indent-8{padding-left:16em}.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4,.rich-content h5,.rich-content h6{font-weight:650;line-height:1.5;margin:14px 0 8px}.rich-content h1{font-size:1.6rem}.rich-content h2{font-size:1.35rem}.rich-content h3{font-size:1.18rem}.rich-content h4{font-size:1.05rem}.rich-content h5{font-size:1rem}.rich-content h6{font-size:.95rem}.rich-content ul,.rich-content ol{margin:10px 0;padding-left:1.6em}.rich-content li+li{margin-top:4px}.rich-content a{color:#4a6da0;text-decoration:underline}.rich-content code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;background:#f3f5f8;padding:1px 5px;border-radius:3px}.rich-content pre code{background:none;padding:0}.rich-content>:first-child{margin-top:0}.rich-content>:last-child{margin-bottom:0}@media(max-width:720px){.attachment-list li{flex-wrap:wrap}.rich-field .ql-editor{min-height:160px}.attachment-upload{padding:12px}}

/* Shared editor and upload surfaces follow the workspace design tokens. */
.design-form{max-width:1120px}.field-label{color:#555d74;font-size:.82rem;font-weight:550}.rich-field .ql-toolbar{border-color:#dfe3ed;background:#f8f9fc;border-radius:10px 10px 0 0;padding:12px}.rich-field .ql-container{border-color:#dfe3ed;border-radius:0 0 10px 10px;font-size:.95rem}.rich-field:focus-within .ql-container,.rich-field:focus-within .ql-toolbar{border-color:#a79be5}.rich-field .ql-editor{padding:18px 20px;min-height:200px}.rich-field .ql-toolbar button{border-radius:5px}.rich-field .ql-toolbar button:hover{background:#eae6fc}.rich-field .ql-snow .ql-picker-options{border-color:var(--line);border-radius:8px;box-shadow:0 5px 20px #25233c12}.rich-field .ql-snow .ql-tooltip{border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 24px #25233c15;max-width:min(460px,75vw);white-space:normal}.rich-field .ql-snow .ql-tooltip input{max-width:100%}.attachment-upload{border:1px dashed #cbc5e6;background:#fbfaff;border-radius:12px;padding:24px}.attachment-upload h3{color:#55506f}.attachment-upload input[type=file]{background:white;border-color:#e4dfef}.attachment-list li{padding:12px 0;border-color:#eae7f3;font-size:.84rem}.attachment-list button{font-size:.76rem;padding:7px 10px}.attachment-list a{color:var(--accent)}.design-footer{padding-top:22px}.design-footer .primary{min-width:140px}.rich-content blockquote{border-color:#b9afe9;background:#faf9ff;border-radius:0 8px 8px 0;padding:10px 18px;color:#6b627f}.rich-content pre{background:#f7f6fb;border-radius:9px}.rich-content a{color:var(--accent)}@media(max-width:760px){.rich-field .ql-toolbar{padding:8px}.rich-field .ql-editor{padding:14px;min-height:170px}.attachment-upload{padding:16px}}

.upload-progress{padding:18px;margin:18px 0;border:1px solid #ddd7f5;border-radius:12px;background:#f8f6ff}.upload-progress[hidden]{display:none}.upload-progress-header{display:flex;justify-content:space-between;gap:16px;font-size:.85rem;color:var(--accent);font-weight:600}.upload-progress progress{display:block;width:100%;height:9px;margin:14px 0;accent-color:var(--accent);border:0;border-radius:9px;overflow:hidden}.upload-progress progress::-webkit-progress-bar{background:#e7e3f4;border-radius:9px}.upload-progress progress::-webkit-progress-value{background:var(--accent);border-radius:9px}.upload-progress p{margin:0}.upload-progress[data-phase=success]{border-color:#bde5ce;background:#f0faf4}.upload-progress[data-phase=error]{border-color:#ebbdc6;background:#fff5f7}.upload-progress[data-phase=error] progress{display:none}.upload-progress[data-phase=error] .upload-progress-header{color:#b3314f}

/* Quill's default 100% height includes the grid row again and overlaps the next field. */
.rich-field{align-self:start;min-width:0}
.rich-field .ql-container{height:auto}
.rich-field .ql-editor{height:auto;max-height:500px;overflow-y:auto}

.library-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.library-filters .actions{grid-column:1/-1;margin-bottom:20px}.library-batch{padding:14px 0;border-top:1px solid var(--line);margin-bottom:12px}.resume-preview{width:100%;height:55vh;border:1px solid var(--line);border-radius:10px;background:white;margin-bottom:14px}input[type=checkbox]{accent-color:var(--accent)}@media(max-width:760px){.library-filters{grid-template-columns:1fr 1fr}}@media(max-width:450px){.library-filters{grid-template-columns:1fr}}

.captcha-row{display:flex;align-items:center;gap:12px}.captcha-row input{min-width:0;flex:1}.captcha-row button{padding:0;overflow:hidden;flex-shrink:0;height:50px;border-radius:9px}.captcha-row img{display:block}.loginform #refreshCaptcha{width:auto;margin:0;box-shadow:none}
