.research-word-overlay{padding:20px;background:#22263d70;backdrop-filter:blur(3px)}
.research-word-panel{width:min(1360px,98vw);height:min(940px,94vh);border-radius:12px;font-size:13px}
.research-word-panel header{padding:17px 24px;align-items:center}.research-word-panel header small{display:none}.research-word-panel h2{font-size:21px;margin:0 0 3px;letter-spacing:0}.research-word-panel header p{font-size:12px;color:#777d92;margin:0}.research-word-panel header button{width:34px;min-height:34px;padding:4px;font-size:20px;background:#f7f8fb;border:0}
.research-word-panel .word-progress{display:flex;align-items:center;justify-content:center;gap:20px;padding:11px 24px;background:#fafaff;border-bottom:1px solid #e9eaf2;color:#8b8e9e;font-size:12px}.word-progress span{display:flex;align-items:center;gap:8px}.word-progress b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e9eaf1;color:#81869a;font-size:11px}.word-progress .done{color:#6555c7}.word-progress .done b{background:#7664d8;color:white}.word-progress i{height:1px;width:70px;background:#dedfe9}
.research-word-panel .word-status{padding:7px 24px;background:#f2f0fd;min-height:30px;font-size:12px}.research-word-panel .word-status.is-error{color:#a23f38;background:#fff0ee}
.research-word-panel .word-columns{grid-template-columns:minmax(280px,32%) minmax(0,1fr)}.research-word-panel aside,.research-word-panel main{padding:20px 24px;scrollbar-width:thin;scrollbar-color:#cbc9dc transparent;overscroll-behavior:contain}.research-word-panel aside{background:#f8f9fc}.word-section-title{font-size:13px;margin:0 0 12px;color:#42485f}
.research-word-panel .word-file{position:relative;cursor:pointer;overflow:hidden;border:1px solid #dcd9ed;border-radius:8px;padding:12px;text-align:center;color:#6554c5}.research-word-panel .word-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.research-word-panel .word-file:focus-within{outline:2px solid #8b7ae2;outline-offset:2px}.word-file-primary{display:flex!important;flex-direction:column;gap:4px;background:#eeebfb;border-style:dashed!important;min-height:76px;justify-content:center}.word-file-primary strong{font-size:14px}.word-file-primary span{font-size:11px;color:#85809d}.research-word-panel .word-file-secondary{border:0;padding:7px;font-size:11px;color:#77758e;margin:4px 0 16px;background:transparent}.word-selected-file{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5c5391!important;margin-bottom:12px!important}
.research-word-panel #word-source{min-height:180px;height:clamp(140px,27vh,280px);font-size:12px;line-height:1.75;background:#fff}.research-word-panel .word-consent{font-size:11px;line-height:1.7;color:#646a80}.research-word-panel aside .word-actions{justify-content:stretch;flex-wrap:nowrap}.research-word-panel aside .word-actions button{flex:1;padding:9px 5px;font-size:12px;min-height:38px}.word-file-notes{font-size:11px;margin-top:14px;color:#7d8092}.research-word-panel summary{cursor:pointer;line-height:1.7}.word-file-notes summary{padding:5px 0}
.research-word-panel .word-result-title{gap:12px;align-items:center}.research-word-panel .word-result-title label{font-size:11px;color:#80869a}.research-word-panel .word-result-title input{margin-top:5px}.research-word-panel .word-count{background:#eeebfb;color:#6b5ac4;border-radius:6px;font-size:12px;padding:6px 10px;white-space:nowrap;align-self:end;margin-bottom:5px}
.word-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:-20px;z-index:2;background:#fff;padding:15px 0 12px;border-bottom:1px solid #ececf3}.word-review-toolbar strong{font-size:13px}.research-word-panel .word-review-toolbar select{width:240px;max-width:65%;padding:6px 9px;font-size:11px;background:#f8f9fc}.word-review-notes{font-size:12px;color:#8d682a;margin-top:10px}.word-review-notes summary{background:#fff7e5;border-radius:5px;padding:8px 11px}
.research-word-panel article{padding:16px 18px;margin:14px 0;border-left:3px solid #b7adef;scroll-margin-top:58px;box-shadow:0 2px 8px #30375a03}.research-word-panel .word-question-head b{display:flex;align-items:center;gap:9px;font-size:12px}.word-question-number{display:inline-grid;place-items:center;background:#f0edfc;color:#7664cf;border-radius:5px;width:25px;height:25px;font-size:11px}.research-word-panel .word-question-head button{border:0;padding:4px 8px;font-size:11px;color:#a17777;min-height:28px;background:#fbf7f7}.research-word-panel article label{font-size:11px;color:#7b8091}.research-word-panel article label>small{font-size:10px;color:#9a9cac}.research-word-panel article textarea{margin-top:5px;min-height:60px;font-size:13px;line-height:1.65;color:#353b50}.research-word-panel article textarea[data-options]{min-height:72px}.research-word-panel .word-question-settings{justify-content:flex-start;gap:25px;margin:10px 0}.research-word-panel .word-question-settings label{display:flex;align-items:center;gap:10px;margin:0}.research-word-panel .word-question-settings select{width:145px;padding:7px;font-size:12px}.research-word-panel .word-logic{border-top:1px solid #eeedf4;margin-top:14px;padding-top:10px;font-size:11px;color:#77718f}.research-word-panel .word-logic[open] summary{color:#8a682d}.research-word-panel .word-warning{font-size:11px;line-height:1.8}
.research-word-panel footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 24px;background:#fff;box-shadow:0 -3px 12px #25294004}.word-footer-copy{min-width:0}.research-word-panel footer p{font-size:11px;color:#85889b;margin:0 0 5px}.research-word-panel footer label{font-size:11px;color:#6b647f}.research-word-panel footer .word-actions{margin:0;flex:none;gap:8px}.research-word-panel footer button{font-size:12px;min-height:38px;padding:8px 14px}.research-word-panel footer button.primary{padding-inline:22px}
@media(max-width:780px){.research-word-overlay{padding:5px}.research-word-panel{height:98vh;width:100%}.research-word-panel .word-columns{display:block}.research-word-panel aside,.research-word-panel main{padding:16px}.word-progress i{width:20px}.research-word-panel .word-progress{gap:8px;padding:10px}.research-word-panel footer{display:block;padding:10px 14px}.research-word-panel footer .word-actions{margin-top:10px}.research-word-panel footer .word-actions button{flex:1}.word-review-toolbar{top:-16px}.research-word-panel #word-source{height:160px}.research-word-panel header{padding:14px 16px}}
