.modal.workflow-modal{display:block;width:100%;max-width:1180px;overflow:auto;max-height:92vh;min-width:0}.wf-modal-head{gap:16px}.wf-modal-head .icon-btn{flex:0 0 34px}
.workflow-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;align-items:center}
.wf-checkbox{display:flex;align-items:center;gap:8px;margin:10px 0 16px;line-height:1.5;font-size:14px}.wf-checkbox input{width:auto;flex:0 0 auto}
.wf-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.wf-review-grid article{min-width:0;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.wf-review-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.wf-review-grid h4{margin:10px 0 4px}
.wf-image-button{display:block;width:100%;border:0;padding:0;background:#f3f5f8;cursor:zoom-in;border-radius:8px;overflow:hidden}.wf-image-button img{display:block;width:100%;height:auto;object-fit:contain}.wf-review-grid .wf-image-button img{aspect-ratio:3/4}
.wf-compare{display:grid;grid-template-columns:1fr 1fr;gap:20px}.wf-compare>div,.wf-compare>label{min-width:0}.wf-compare pre,.wf-impact pre,.wf-fact pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;font-family:inherit;line-height:1.6;background:#f4f6f9;border-radius:8px;padding:12px}.wf-compare .wf-image-button img{max-height:65vh}
.wf-zoom{max-height:72vh;overflow:auto;background:#edf0f4}.wf-zoom img{display:block;width:auto;min-width:100%;max-width:none}
.wf-region,.wf-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.wf-region label{font-size:13px}.wf-region input{width:100%;box-sizing:border-box}
.wf-impact{padding:16px;background:#f2f6ff;border:1px solid #d7e3ff;border-radius:10px;margin:16px 0}.wf-impact small{display:block;color:#64748b}.wf-impact li{margin:8px 0}
.wf-order-row{display:flex;gap:8px;align-items:center;border:1px solid #e2e8f0;border-radius:8px;padding:10px;margin-bottom:8px;cursor:grab}.wf-order-row span{flex:1;overflow-wrap:anywhere}
.wf-fact{border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin:16px 0}.wf-fact blockquote{margin:8px 0;padding:10px 12px;background:#f7f8fa;border-left:3px solid #94a3b8;white-space:pre-wrap;overflow-wrap:anywhere}.wf-fact fieldset{border:1px solid #e2e8f0;margin:14px 0;border-radius:8px}.wf-fact legend{font-weight:600;padding:0 8px}
.wf-preset-list article{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #e2e8f0}.wf-preset-list strong{flex:1}.wf-preset-list small{color:#64748b}
.wf-csv{margin:24px 0;padding:16px;border:1px solid #e2e8f0;border-radius:10px}.wf-csv form{display:flex;gap:12px;flex-wrap:wrap}.wf-history{max-height:220px;overflow:auto}.wf-history p{padding:8px 0;border-bottom:1px solid #eee}
.wf-locks{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.wf-locks button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.wf-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wf-review-grid,.wf-compare{grid-template-columns:1fr}.wf-preset-list article{flex-wrap:wrap}.workflow-toolbar .btn{flex:1 1 auto}.wf-review-head{flex-wrap:wrap}.wf-order-row{flex-wrap:wrap}.wf-order-row span{flex-basis:100%}.wf-zoom img{min-width:100%;max-width:none}.wf-review-grid .wf-image-button img{max-height:70vh}.wf-fact{padding:12px}}
