.wf-panel{background:#f6f8f1;border:1px solid #e1e6d9;border-radius:9px;padding:20px;margin-bottom:20px}.wf-panel h2{font-size:18px;margin:0 0 10px;color:#516747}.wf-panel p,.wf-muted{font-size:12px;line-height:1.8;color:#839076}.wf-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.wf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}.wf-ref{border:1px solid #e1e6d9;border-radius:8px;overflow:hidden;background:#fff}.wf-ref img{width:100%;height:175px;object-fit:contain;background:#edf0e8}.wf-ref>div{padding:14px}.wf-ref h3{font-size:14px;margin:0 0 8px}.wf-ref p{font-size:11px;color:#87937a;line-height:1.6;margin:6px 0}.wf-ref .button{font-size:11px;padding:8px}.wf-tags{display:flex;gap:6px;flex-wrap:wrap}.wf-tag{font-size:10px;padding:4px 7px;background:#edf2e5;color:#6e835a;border-radius:4px}.wf-tag.pending{background:#faf0dc;color:#aa884c}.wf-need{display:grid;grid-template-columns:1fr auto;gap:16px;background:#fff;border:1px solid #e3e7dc;border-radius:8px;padding:18px;margin-bottom:12px}.wf-need h3{margin:8px 0;font-size:16px}.wf-need p{font-size:12px;color:#88937e;line-height:1.8;margin:6px 0}.wf-need .wf-actions{align-content:start;max-width:280px}.wf-field{display:block;font-size:12px;color:#6c805e;margin:10px 0}.wf-field input,.wf-field select,.wf-field textarea{display:block;width:100%;border:1px solid #dfe5d6;padding:10px;border-radius:5px;background:white;color:#536747;margin-top:6px;box-sizing:border-box}.wf-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wf-options label{font-size:11px;color:#798a69}.wf-options input,.wf-options select{width:100%;padding:8px;border:1px solid #dfe6d5;border-radius:4px;margin-top:5px;color:#61794e;background:#fff}.wf-quad{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.wf-quad input{width:100%;box-sizing:border-box}.wf-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wf-compare img{width:100%;height:220px;object-fit:contain;background:#edf0e9}.wf-compare figcaption{font-size:11px;color:#839276}.wf-compare figure{margin:0}.wf-review{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.8;color:#7a865f;background:#fbf5e8;padding:12px;border-radius:6px;margin:12px 0}.wf-review input{margin-top:5px}.wf-inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.wf-draft{position:absolute;left:14px;bottom:14px;background:#fff3d7;color:#9c7a40;padding:6px 8px;font-size:10px;border-radius:4px}.wf-counts{display:flex;gap:24px;flex-wrap:wrap;margin:14px 0;font-size:12px;color:#748662}.wf-counts strong{font-size:23px;margin-right:5px;color:#506a3f}.wf-scan-scope{margin:15px 0;padding:12px;border:1px solid #e1e8d7;background:#f8faf4;border-radius:6px}.wf-scan-scope summary{font-size:12px;color:#6d835a;cursor:pointer}.wf-scan-scope p{font-size:11px;color:#899779}.wf-editor-meta{border-bottom:1px solid #e5e8df;padding-bottom:10px;margin-bottom:15px}.wf-editor-meta label{font-size:11px;color:#788969}.wf-editor-meta select,.wf-editor-meta input[type=text]{width:100%;padding:8px;border:1px solid #e1e6d8;box-sizing:border-box;border-radius:4px;margin:5px 0 8px}.wf-editor-meta .wf-review input{width:auto}.wf-candidate-risk{color:#aa8443!important}.wf-need.rejected{opacity:.55}@media(max-width:700px){.wf-options,.wf-compare{grid-template-columns:1fr}.wf-need{grid-template-columns:1fr}.wf-need .wf-actions{max-width:none}.wf-quad{grid-template-columns:1fr 1fr}.wf-ref img{height:150px}.wf-panel{padding:15px}.wf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.wf-discovery-steps{padding:12px 25px;background:#f3f6ed;color:#536747;font-size:12px;display:flex;gap:16px;flex-wrap:wrap;border-bottom:1px solid #e1e6d9}.wf-discovery-steps span{color:#94a284}#ai-dialog{max-height:94vh}#ai-dialog .ai-discovery-body{max-height:calc(94vh - 200px)}#ai-dialog .ai-source-preview{position:sticky;top:0}#wf-scan-config{border:1px solid #e1e6d9;border-radius:7px;padding:12px;margin-bottom:14px}#wf-scan-config>summary{cursor:pointer;font-size:12px;color:#536747;font-weight:600}#wf-scan-config[open]>summary{margin-bottom:14px}#wf-next-guide{background:#edf3e5;padding:15px;border-radius:7px;margin-bottom:14px}#wf-next-guide h3{font-size:15px;margin:0 0 7px;color:#405637}#wf-next-guide p{font-size:12px;line-height:1.8;color:#6c805b;margin:0}#ai-candidates .ai-candidate{display:grid;grid-template-columns:26px 1fr;gap:10px}#ai-candidates .wf-candidate-action{grid-column:2;margin:4px 0 0;color:#405b32;font-size:12px;font-weight:600}#ai-candidates .ai-candidate small,#ai-candidates .ai-candidate p{font-size:11px;color:#748168}#ai-candidates .ai-candidate:focus-visible{outline:3px solid #718b58;outline-offset:2px}#wf-editor-guide{padding:12px 24px;background:#f3f6ed;border-bottom:1px solid #e1e6d9;color:#536747}#wf-editor-guide b{font-size:12px}#wf-editor-guide p{font-size:11px;line-height:1.7;margin:6px 0 10px}#wf-editor-guide .button{font-size:11px;padding:6px 10px}#editor .editor-body{max-height:calc(94vh - 265px)}#editor{max-height:94vh}@media(max-width:850px){#ai-dialog .ai-source-preview{position:relative}#ai-dialog .ai-discovery-body{max-height:calc(94vh - 225px)}.wf-discovery-steps{font-size:11px;gap:6px;padding:12px}#wf-editor-guide{padding:10px 14px}#editor .editor-body{max-height:calc(94vh - 320px)}}

.quality-panel{padding:14px;border:1px solid #d9dfcb;background:#fffdf5;border-radius:8px;margin-bottom:16px}.quality-panel strong{font-size:14px;color:#6b542c}.quality-panel p{font-size:12px;line-height:1.8;color:#756d55;margin:9px 0}.quality-panel label{display:block;font-size:12px}.quality-panel select{margin-top:7px}.quality-panel .button{font-size:12px;padding:10px 12px}.editor-settings .wf-review{flex-direction:row;align-items:flex-start}.editor-settings .wf-review input{flex-shrink:0;margin-top:4px}

.quality-panel label{margin:9px 0}.quality-panel details{margin:10px 0;font-size:11px;color:#756d55}.quality-panel summary{cursor:pointer}#editor[open]{display:flex;flex-direction:column;height:92vh}#editor[open] .editor-body{flex:1;min-height:0;max-height:none}#editor>.dialog-header,#editor>.dialog-footer,#wf-editor-guide{flex-shrink:0}
