:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#202a27;background:#f7f8f9;font-size:14px;letter-spacing:0;--green:#148052;--line:#e0e5e7;--muted:#6b7776}
.workspace-context{display:flex;align-items:baseline;gap:12px;padding-top:20px}.workspace-context h2{font-size:17px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;letter-spacing:0}button,input,textarea,select,a{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;min-height:38px;background:none;color:inherit;line-height:1.4}button:hover{background:#edf1f1}input,textarea,select{border:1px solid #dce2e3;border-radius:5px;color:inherit;background:#fff;min-width:0}input,select{height:38px;padding:0 10px}textarea{padding:10px 12px;line-height:1.7;resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #a0d4b9;border-color:#148052}svg{width:18px;height:18px;flex-shrink:0;stroke-width:1.8}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:20px;font-weight:700}h2{font-size:19px;line-height:1.5}h3{font-size:15px}.header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1120px;margin:auto;padding:21px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;gap:12px;align-items:center}.brand>div>span{font-size:12px;color:var(--muted);display:block;margin-top:2px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#e1f2e9;color:var(--green);flex-shrink:0}.brand-mark svg{width:24px;height:24px}.header-actions{display:flex;align-items:center;gap:6px}.icon{width:36px;min-height:36px;flex-shrink:0;padding:0}.connection{color:var(--green);font-size:12px;margin-right:10px}.connection.offline{color:#a3631d}main{max-width:1120px;margin:auto;padding:0 28px;min-height:70vh}.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);height:65px;margin-bottom:28px}.tabs button{border-radius:0;border:0;border-bottom:3px solid transparent;padding:3px 2px 0;font-weight:600;gap:9px}.tabs button[aria-selected=true]{color:var(--green);border-bottom-color:var(--green)}.tabs button:hover{background:none;color:var(--green)}.count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:22px;padding:0 6px;font-size:12px;font-weight:500;border-radius:5px;background:#eaf0f0;color:#566260}.tabs button[aria-selected=true] .count{background:#def0e5;color:#18774c}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.section-heading .muted{display:block;margin-top:6px}.muted{font-size:12px;color:var(--muted);line-height:1.6}.status-tag{font-size:12px;color:var(--green);border:1px solid #d0e8db;padding:4px 9px;border-radius:5px;background:#f0f8f3;white-space:nowrap}.status-tag.dirty{color:#9a641b;background:#fff8e9;border-color:#e9d8b7}.save{width:100%;height:46px;background:var(--green);color:#fff;font-weight:600;margin-bottom:22px}.save:hover{background:#0d6b43}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.search{display:flex;align-items:center;position:relative;width:380px;max-width:100%}.search svg{position:absolute;left:12px;color:#81908b;width:17px}.search input{width:100%;padding-left:38px}.secondary{border-color:#d1d9d8;background:#fff;padding:0 13px;white-space:nowrap}.table-head{display:grid;grid-template-columns:170px 1fr 70px;gap:18px;font-size:12px;color:var(--muted);padding:12px 14px;background:#eef1f2;border-block:1px solid var(--line)}.keyword-row{display:grid;grid-template-columns:170px minmax(0,1fr) 70px;gap:18px;padding:16px 14px;border-bottom:1px solid var(--line);background:#fff;align-items:start}.keyword-name{width:100%;font-weight:600}.note-wrap{min-width:0}.keyword-note{display:block;width:100%;height:82px;resize:none;border-color:#e4e8e8;background:#fafbfc}.keyword-row.expanded .keyword-note{height:240px;resize:vertical}.row-actions{display:flex;gap:2px;align-items:start}.row-actions .icon{width:33px}.danger{color:#b25959}.empty{text-align:center;padding:50px 20px;color:var(--muted);font-size:14px;border-bottom:1px solid var(--line)}.notice{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;background:#fff5dc;border:1px solid #ead6a9;font-size:13px;margin-bottom:18px;border-radius:5px}.text-button{color:var(--green);font-size:13px;text-decoration:underline;white-space:nowrap}.reviewer-label{font-size:12px;display:flex;align-items:center;gap:8px;color:var(--muted)}.reviewer-label input{width:150px;font-size:13px}.record-toolbar{padding-bottom:15px;border-bottom:1px solid var(--line)}.record-toolbar label{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.record-toolbar select{min-width:150px;color:#28332f}.record-list{display:flex;flex-direction:column;gap:12px}.record-card{display:grid;grid-template-columns:minmax(0,1fr) auto;background:#fff;border:1px solid var(--line);border-radius:6px;padding:0;overflow:hidden}.record-open{display:block;text-align:left;padding:16px 18px;min-width:0;border-radius:0;width:100%;border:0}.record-open:hover{background:#f7faf8}.record-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:9px}.keyword-chip{color:#176844;background:#e7f4ec;padding:2px 7px;font-size:12px;border-radius:4px;font-weight:600;max-width:100%;overflow-wrap:anywhere}.record-time{font-size:12px;color:var(--muted);margin-left:auto}.record-preview{line-height:1.7;color:#35413d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:24px}.record-foot{display:flex;align-items:center;gap:12px;font-size:12px;color:#788480;margin-top:10px;flex-wrap:wrap}.record-status{color:#697581}.record-status.positive{color:#217d54}.record-status.unknown{color:#a46c1c}.quick-votes{display:flex;gap:4px;align-items:center;justify-content:center;padding:14px;border-left:1px solid #edf0f0}.quick-votes button{height:34px;width:34px;min-height:34px;border:1px solid var(--line);color:#788680}.quick-votes .selected.right{background:#e1f4e8;border-color:#8dc5a8;color:#137748}.quick-votes .selected.wrong{background:#fff0eb;border-color:#deb3a7;color:#a84c32}.pagination{display:flex;justify-content:center;align-items:center;gap:18px;min-height:65px;font-size:12px;color:var(--muted)}.pagination .icon{border:1px solid var(--line);background:white}.forwarded-section{border-top:1px solid var(--line);margin-top:22px}.forwarded-section>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:23px 0;color:#44514b;font-size:14px;font-weight:600}.forwarded-section>summary::-webkit-details-marker{display:none}.forwarded-section>summary>span{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.forwarded-section[open]>summary>svg{transform:rotate(180deg)}footer{max-width:1120px;padding:25px 28px;margin:25px auto 0;display:flex;gap:9px;color:#8b9593;font-size:12px;border-top:1px solid var(--line)}dialog{padding:0;border:1px solid #d8dfdf;border-radius:8px;max-width:780px;width:calc(100% - 32px);height:min(850px,90vh);max-height:90dvh;box-shadow:0 18px 80px #18292333;color:inherit}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#17272280}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:19px 22px;border-bottom:1px solid var(--line);flex-shrink:0;background:#fff}.dialog-heading h2{font-size:17px;overflow-wrap:anywhere}.dialog-heading p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}.conversation-body{padding:0 24px;overflow:auto;min-height:0;flex:1;background:#fbfcfc}.ai-result{padding:18px 0;border-bottom:1px solid #e0e5e4;font-size:13px;line-height:1.8}.ai-result>strong{font-size:14px;color:#354c42}.ai-reason{color:#64706b;margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.feedback-summary{padding:10px 0;color:#7b7362;font-size:12px;border-bottom:1px solid #e5e5df;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message{padding:17px 0;display:grid;grid-template-columns:32px minmax(0,1fr);gap:11px;border-bottom:1px solid #edf0ef}.avatar{width:32px;height:32px;background:#e5ebf0;color:#547386;display:grid;place-items:center;border-radius:6px;font-size:13px;font-weight:600}.chat-message.hit .avatar{background:#ddf0e3;color:var(--green)}.message-heading{display:flex;align-items:baseline;gap:10px;min-width:0}.message-name{font-size:13px;color:#3f5549;font-weight:600;overflow-wrap:anywhere}.message-time{font-size:11px;color:#8c9591;margin-left:auto;white-space:nowrap;flex-shrink:0}.message-content{margin-top:7px;line-height:1.8;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.message-content p{display:inline}.message-content img{display:block;max-width:100%;max-height:380px;border-radius:5px;margin:8px 0;object-fit:contain;background:#eef1f1;min-width:64px;min-height:64px}.quote{display:block;font-size:12px;color:#7b8881;border-left:3px solid #cddcd3;padding:6px 10px;background:#f0f4f2;margin-bottom:8px;white-space:pre-wrap}.unavailable{color:#7a8580;font-size:13px}.nested-node{border-left:2px solid #d4dcd9;margin:6px 0;padding-left:10px}.message-hit-label{font-size:10px;margin-left:6px;color:var(--green);white-space:nowrap}.dialog-bottom{padding:14px 20px;border-top:1px solid var(--line);flex-shrink:0;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-bottom .muted{max-width:45%;overflow-wrap:anywhere}.vote-actions{display:flex;gap:9px}.vote{border:1px solid #cdd8d2;padding:8px 11px;font-size:13px;white-space:nowrap}.vote.right.selected{background:#e0f3e7;border-color:#86bda0;color:#147449}.vote.wrong.selected{background:#ffefe8;border-color:#dcb09f;color:#a34c30}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#233c31;color:#fff;border-radius:6px;max-width:calc(100% - 40px);z-index:20;box-shadow:0 4px 20px #0002;line-height:1.6;font-size:13px}.toast.error{background:#8a4336}.gate{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:30px;text-align:center}.gate .brand-mark{width:52px;height:52px}.gate p{font-size:14px;color:var(--muted);line-height:1.8}.loading{padding:38px 20px;text-align:center;color:var(--muted)}
@media(max-width:700px){.header-inner{padding:16px}.header-actions{gap:0}.connection{font-size:11px;margin-right:3px}.brand{gap:9px}.brand h1{font-size:18px}main{padding:0 16px}.tabs{height:59px;gap:24px;margin-bottom:22px}.tabs button{font-size:14px;gap:6px}.tabs svg{width:17px}.section-heading{gap:10px;margin-bottom:17px;align-items:flex-start}.section-heading h2{font-size:17px}.section-heading .muted{font-size:11px;max-width:240px}.save{height:45px;margin-bottom:17px}.toolbar{gap:9px}.search{flex:1;width:auto}.secondary{padding:0 9px;font-size:12px;gap:5px}.secondary svg{width:16px}.table-head{display:none}.keyword-row{grid-template-columns:minmax(0,1fr) 70px;gap:10px;padding:14px 10px;border-top:1px solid var(--line);border-bottom:0}.keyword-row:last-child{border-bottom:1px solid var(--line)}.keyword-name{grid-column:1;max-width:260px}.row-actions{grid-column:2;grid-row:1}.note-wrap{grid-column:1/-1;grid-row:2}.keyword-note{height:83px;font-size:13px}.notice{align-items:flex-start;flex-direction:column;gap:2px}.reviewer-label{flex-direction:column;align-items:flex-start;gap:5px;font-size:11px}.reviewer-label input{width:118px;height:32px;font-size:12px}.record-toolbar{flex-wrap:wrap}.record-card{grid-template-columns:minmax(0,1fr)}.record-open{padding:14px}.record-time{font-size:11px}.record-preview{font-size:13px}.quick-votes{padding:8px 13px;justify-content:flex-end;border-left:0;border-top:1px solid #edf0f0;background:#fdfefe}.quick-votes button{width:40px;height:30px;min-height:30px}.record-list{gap:10px}.forwarded-section>summary{font-size:13px}.dialog-heading{padding:15px}.conversation-body{padding:0 15px}.chat-message{gap:9px;grid-template-columns:29px minmax(0,1fr)}.avatar{height:29px;width:29px}.message-name{font-size:12px}.message-time{font-size:10px}.message-heading{gap:6px;flex-wrap:wrap}.message-content{font-size:13px}.dialog-bottom{padding:12px;flex-direction:column;align-items:stretch;gap:7px}.dialog-bottom .muted{max-width:100%;font-size:11px}.vote-actions{width:100%;gap:8px}.vote-actions button{flex:1;font-size:12px;padding:8px;gap:4px}.vote svg{width:16px}footer{padding:20px 16px}dialog{height:93dvh;max-height:93dvh;width:calc(100% - 20px)}.toast{bottom:15px;width:max-content}.status-tag{padding:4px 6px;font-size:11px}}
.tabs .tab-label{white-space:nowrap}.tabs .count{flex-shrink:0}.review-code{font-size:11px;font-weight:600;color:#8b631e;background:#fff3d7;padding:2px 6px;border-radius:4px}.review-reference{margin-top:12px;font-weight:600;color:#806027}
.record-status.error,.error-reason{color:#ad4838}
.human-review-note{padding:14px 0;border-bottom:1px solid var(--line);line-height:1.8}.human-review-note strong{font-size:14px;color:#375245}.human-review-note p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.review-note-preview{margin-top:10px;color:#586e60;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.quick-votes .has-note{background:#e7f2eb;color:#176844;border-color:#a4c8b3}.vote-actions{flex-wrap:wrap}#review-note-dialog{height:fit-content;max-height:85dvh}#review-note-form{display:flex;flex-direction:column;min-height:0;overflow:auto}.review-note-body{padding:18px 22px;overflow:auto}.review-note-body label{display:block;font-size:13px;color:var(--muted);margin:14px 0 6px}.review-note-body input{width:min(100%,280px)}.review-note-body textarea{display:block;width:100%;max-height:40dvh;min-height:130px}.save-note{background:#148052;color:#fff;padding:8px 16px}.save-note:hover{background:#116b45}
@media(max-width:700px){#add-review-note{flex-basis:100%}.review-note-body{padding:14px 15px}}
.version-section{margin-top:36px;border-top:1px solid var(--line);padding-top:24px}.version-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:16px;padding:16px 4px;border-bottom:1px solid var(--line)}.version-heading{display:flex;align-items:center;gap:10px;margin-bottom:7px}.version-note{font-size:13px;line-height:1.7;margin:5px 0;overflow-wrap:anywhere}.version-body{overflow:auto;padding:0 22px;flex:1;min-height:0}.version-prompt{border-bottom:1px solid var(--line);padding:15px 0}.version-prompt summary{cursor:pointer;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.version-prompt h3{font-size:13px;margin:14px 0 6px;color:var(--muted)}.version-prompt p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;margin:10px 0}.record-foot .review-reference{margin:0;flex-basis:100%;font-weight:400}
@media(min-width:701px) and (max-width:900px){.tabs{gap:12px}.tabs button{gap:6px;font-size:13px}}
@media(max-width:700px){.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;gap:0 8px}.tabs button{min-width:0;min-height:52px;padding:4px;gap:5px;justify-content:flex-start}.tabs .count{font-size:11px;min-width:21px;padding:0 4px}}
.keyword-name-wrap{display:flex;align-items:center;gap:5px;min-width:0}.keyword-name-wrap .keyword-name{min-width:0;flex:1}.keyword-star{flex:none;font-size:15px;line-height:1}.tabs .tab-label{overflow-wrap:anywhere}
@media(max-width:700px){.keyword-name-wrap{grid-column:1;max-width:290px}.keyword-name-wrap .keyword-name{max-width:none}}
.spending-panel{margin:0 0 30px;padding:0 0 20px;border-bottom:1px solid var(--line)}.spending-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.spending-heading h2{font-size:15px;font-weight:600}.spending-heading h2 .muted{margin-left:5px;font-weight:400}.spending-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:17px 0 0;gap:24px}.spending-metric{min-width:0}.spending-metric dt{font-size:13px;line-height:1.6;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.spending-metric dd{margin:0}.spending-value{font-size:23px;font-weight:600;line-height:1.7;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.spending-sources{margin-top:2px!important;overflow-wrap:anywhere}.spending-metric+.spending-metric{border-left:1px solid var(--line);padding-left:24px}
.validation-spending{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 20px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}.validation-spending strong{font-weight:500}.validation-spending>span{white-space:nowrap}
@media(max-width:700px){.spending-grid{gap:12px}.spending-metric+.spending-metric{padding-left:12px}.spending-value{font-size:19px}.spending-heading h2{font-size:14px}}
@media(max-width:500px){.spending-grid{grid-template-columns:minmax(0,1fr);gap:0;margin-top:9px}.spending-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:10px 0}.spending-metric+.spending-metric{border-left:0;border-top:1px solid var(--line);padding:10px 0}.spending-metric dt{align-content:center}.spending-value{font-size:19px}.spending-sources{grid-column:1/-1;font-size:11px}.spending-panel{margin-bottom:22px;padding-bottom:10px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .13s}.toast{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;bottom:16px}to{opacity:1}}}
.iteration-panel{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;padding:0 0 18px;margin-bottom:20px;border-bottom:1px solid var(--line);font-size:13px}.iteration-panel strong{font-weight:600}.iteration-panel .muted{flex-basis:100%}.iteration-panel.review-due #iteration-status{color:#94601b;font-weight:600}
.category-change{display:inline-flex;align-items:center;gap:4px;color:#835900;background:#fff1bc;border:1px solid #e4c45e;border-radius:4px;padding:3px 6px;font-size:12px}
.category-change svg{width:15px;height:15px}
.profanity-summary{font-size:13px;color:#42514a;line-height:1.6}
.previous-annotation{margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:12px;line-height:1.75;color:#68736e;overflow-wrap:anywhere;white-space:normal}
.previous-annotation p{white-space:pre-wrap;margin-top:4px}.previous-annotation strong{font-size:12px;color:#526159}.record-open .previous-annotation p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.previous-ai-reason{color:#7c8581}
