:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#25332e;background:#f5f6f7;font-size:14px}*{box-sizing:border-box}body{margin:0;display:flex}button,input,select,textarea{font:inherit}button{cursor:pointer;background:white;border:1px solid #ced6d1;border-radius:6px;padding:9px 14px;color:#263e32}button:hover{background:#eef4f0}button:disabled{opacity:.48;cursor:not-allowed}.primary{background:#28754c;border-color:#28754c;color:white}.primary:hover{background:#205d3d}aside{width:248px;padding:28px 18px;background:#fff;border-right:1px solid #e0e5e2;position:fixed;height:100vh;overflow:auto}.brand{font-size:19px;font-weight:650;padding:0 10px 22px}.brand small{display:block;font-size:11px;color:#7c8780;font-weight:400;margin-top:10px}.navgroup{font-size:11px;color:#6e7973;margin:20px 10px 6px}.navstep{display:flex;align-items:center;width:100%;border:0;text-align:left;gap:9px;margin:3px 0;padding:10px 8px}.navstep.active{background:#eaf3ed;color:#246640;font-weight:600}.navstep small{margin-left:auto;font-size:10px;white-space:nowrap;color:#738078}.navstep.active small{color:#246640}.sidehint{font-size:12px;line-height:1.9;color:#7d8782;padding:18px 10px}main{margin-left:248px;width:calc(100% - 248px);padding:0 38px 36px;max-width:1500px}header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid #dfe5e1}.project-picker{display:flex;align-items:center;gap:10px}.project-picker select{max-width:270px}.project-picker label{color:#758078;font-size:12px}#saveStatus{font-size:12px;color:#286b44}#saveStatus.failed{color:#b13630}#error{background:#fff0ee;border:1px solid #e1b5af;color:#a22b24;padding:14px;margin-top:18px;white-space:pre-wrap}#recovery{padding:12px 0;display:flex;gap:10px}.heading{display:flex;justify-content:space-between;align-items:center;padding-top:26px}.heading p{color:#76827b;font-size:12px;margin:0 0 8px}h1{font-size:24px;margin:0}h2{font-size:17px;margin:0 0 18px}.hint{color:#6c7871;line-height:1.8;margin-bottom:22px}.badge{border-radius:5px;padding:6px 10px;background:#ebefec;font-size:12px}.badge.confirmed{background:#e2f2e8;color:#24663e}.badge.review{background:#fff0d9;color:#8d5912}.panel{background:#fff;border:1px solid #e0e5e2;border-radius:8px;padding:24px;margin:16px 0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}label{display:flex;flex-direction:column;gap:8px;color:#39483f;font-size:13px}input,textarea,select{border:1px solid #cdd6d0;border-radius:5px;background:white;color:#26362c;padding:10px;min-width:0;max-width:100%}textarea{resize:vertical;min-height:90px;line-height:1.6}input:focus,textarea:focus,select:focus{outline:2px solid #8fbea1;outline-offset:1px}.recordhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.recordhead code{font-size:12px;color:#6c7e70}.recordhead button{font-size:12px}.empty{border:1px dashed #d0d9d2;border-radius:8px;padding:54px 28px;text-align:center;background:#fff;margin:32px 0;color:#6a786e}.empty h1{color:#34483b;font-size:21px}.empty p{line-height:1.8}.collectionhead{display:flex;align-items:center;justify-content:space-between;margin-top:28px}.collectionhead h2{margin:0}.collectionempty{padding:26px;border:1px dashed #d1dad3;margin:14px 0;color:#79857c;text-align:center;border-radius:6px}footer{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:22px 0}#gate{font-size:12px;color:#7f7867;flex:1;text-align:right}.history{color:#6c7970;font-size:12px;line-height:1.9;border-top:1px solid #dde4df;padding-top:18px}.history li{padding:5px}.mobile{display:none}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}dialog{border:1px solid #d4dcd6;border-radius:10px;padding:28px;width:420px;max-width:90vw}dialog::backdrop{background:#172c2250}[hidden]{display:none!important}.note{padding:14px;background:#f0f5f1;line-height:1.8;color:#546b5b;font-size:13px}#createError{color:#a22b24}a{color:#286b44}@media(max-width:850px){aside{display:none}main{margin:0;width:100%;padding:0 16px 24px}header{align-items:flex-start;flex-direction:column;gap:12px}.project-picker{flex-wrap:wrap;width:100%}.project-picker select{flex:1;max-width:none}.mobile{display:block;margin-top:20px}.mobile label{margin-bottom:8px}.mobile select{width:100%}.fields{grid-template-columns:1fr}.panel{padding:18px}footer{flex-wrap:wrap}#gate{order:3;flex-basis:100%;text-align:left}.heading{gap:12px}.heading h1{font-size:22px}}

#validation{white-space:pre-line;background:#fff4e8;border:1px solid #e5c7a5;border-radius:6px;padding:16px;color:#87521e;margin:18px 0}.required{font-size:11px;color:#87521e}
.intake-submit{margin-top:16px}.intake-status{white-space:pre-wrap;color:#4f6657}.intake-failed{color:#a22b24}.full-width{grid-column:1/-1}.asset-thumb{display:block;width:180px;height:140px;object-fit:contain;background:#f4f6f4;border:1px solid #e0e5e2;margin:16px 0}.asset-card{overflow-wrap:anywhere}.asset-card code{font-size:12px;color:#6c7e70}
.search-history pre,.search-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;line-height:1.8}.search-history details{padding:14px 0;border-top:1px solid #e1e5e2}.search-history li{overflow-wrap:anywhere;margin:8px 0}.search-config{color:#526e5c;font-size:13px}.research-scope{line-height:1.9}blockquote.search-notes{margin:16px 0;padding:12px 16px;border-left:3px solid #c9d8cd;background:#f6f8f6}
.source-meta{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;font-size:12px;line-height:1.7;margin-bottom:22px}.source-meta dt{color:#6a7970}.source-meta dd{margin:0;overflow-wrap:anywhere}.scope-checkbox{display:flex;flex-direction:row;align-items:center;margin-top:22px;cursor:pointer}.scope-checkbox input{width:18px;height:18px;accent-color:#28754c}.scope-status{font-size:12px;color:#286b44}.source-review-card code{overflow-wrap:anywhere}
.analysis-preview{border-top:1px solid #dde4df;padding:18px 0}.analysis-preview details{margin:12px 0;line-height:1.8}.analysis-preview h3{font-size:15px}.image-choices{padding-bottom:18px}.image-choices .scope-checkbox{margin:10px 0}.image-choices input{flex-shrink:0}.analysis-preview pre{max-height:320px;overflow:auto;white-space:pre-wrap}
.task-asset{display:flex;flex-direction:row;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #e1e5e2;overflow-wrap:anywhere}.task-asset input{width:18px;height:18px;flex-shrink:0;accent-color:#28754c}.task-asset .asset-thumb{width:100px;height:80px;margin:0}
.result-preview{display:block;max-width:100%;max-height:420px;object-fit:contain;margin:18px 0;background:#f4f6f4}
