/* Stage E scoped to Relay's existing Add task dialog. */
#wfv-modebar{padding:10px 26px 0;display:flex;justify-content:flex-end;flex-shrink:0}
#wfv-panel{flex:1;min-height:0;overflow:auto;padding:16px 26px 20px;display:flex;flex-direction:column;gap:13px;color:inherit}
#wfv-panel h3,#wfv-panel p,.wfv-review-head p,.wfv-review-extra p{margin:0;line-height:1.45}
#wfv-panel h3{font-size:15px}.wfv-label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}
#wfv-panel textarea,#wfv-panel select{width:100%;min-width:0;max-width:100%;font:inherit;color:inherit;background:var(--wf-surface,#fff);border:1px solid var(--wf-border,#bfd0d6);border-radius:4px;padding:9px;box-sizing:border-box}
#wfv-panel textarea{min-height:78px;resize:vertical;font-size:13px}.wfv-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.wfv-actions button{min-height:38px}.wfv-note{font-size:12px;line-height:1.5;color:inherit}.wfv-privacy{border:1px solid #9cbabc;border-radius:6px;padding:10px;background:rgba(71,137,132,.07);display:flex;flex-direction:column;gap:8px}.wfv-privacy label,.wfv-confirm-label{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.4}.wfv-privacy input,.wfv-confirm-label input{width:16px!important;min-height:16px!important;flex:0 0 16px;margin-top:2px;accent-color:#087e83}.wfv-preview{border:1px solid #b4c8ce;border-radius:6px;padding:12px;display:flex;flex-direction:column;gap:7px}.wfv-preview dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 15px;margin:0}.wfv-preview dl div:nth-child(2){grid-column:1/-1}.wfv-preview dt{font-size:11px;font-weight:600;opacity:.85}.wfv-preview dd{margin:2px 0;font-size:13px;overflow-wrap:anywhere}.wfv-review-head,.wfv-review-extra{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px;border:1px solid #b4c8ce;border-radius:6px;background:rgba(71,137,132,.05)}.wfv-review-head blockquote{margin:0;padding:8px;border-left:3px solid #528c87;overflow-wrap:anywhere;font-size:13px}.wfv-review-head p,.wfv-review-extra p{font-size:12px;overflow-wrap:anywhere}.wfv-review-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.wfv-timing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wfv-timing-grid label{min-width:0}.wfv-timing-grid label:last-child{grid-column:1/-1}#wfv-review-error:not(:empty),#wfv-issues:not(:empty),#wfv-review-issues:not(:empty){color:#925a1b;font-size:12px}#wfv-interim-row{font-size:12px;border:1px dashed #b4c8ce;padding:9px;overflow-wrap:anywhere}#wfv-interim-row p{margin-bottom:7px}.wfv-confirm-label{align-items:flex-start!important}.wfv-note[role=status]{min-height:18px}.wfv-preview,.wfv-review-extra,.wfv-review-head{min-width:0}#wfv-panel .btn:disabled,#quickTaskForm button:disabled{opacity:.56;cursor:not-allowed}.wfv-primary-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.wfv-primary-row button{min-height:40px}#wfv-panel [hidden],#quickTaskFields [hidden],#wfv-modebar[hidden],#wfv-panel[hidden]{display:none!important}
html[data-wf-theme=dark] #wfv-panel,html[data-wf-theme=dark] .wfv-review-head,html[data-wf-theme=dark] .wfv-review-extra{color:#e4f0f3}html[data-wf-theme=dark] #wfv-panel textarea,html[data-wf-theme=dark] #wfv-panel select{background:#1a303c;border-color:#58727e;color:#e4f0f3}html[data-wf-theme=dark] #wfv-review-error,html[data-wf-theme=dark] #wfv-issues,html[data-wf-theme=dark] #wfv-review-issues{color:#f1ca8b}
@media(max-width:620px){#wfv-modebar{padding:8px 18px 0}#wfv-panel{padding:12px 16px;gap:10px}#wfv-panel .btn,#wfv-modebar .btn,.wfv-review-line .btn{min-height:44px}.wfv-review-line{flex-wrap:wrap}.wfv-timing-grid{grid-template-columns:1fr}.wfv-preview dl{gap:6px 10px}.wfv-actions{gap:6px}}
#wfv-confirm-zone{width:100%;display:flex;flex-direction:column;gap:4px}#wfv-confirm-zone[hidden],#quickTaskForm .wf-modal-actions [hidden]{display:none!important}#wfv-confirm-zone p{max-width:100%;margin:0}#addTaskDialog[data-voice-mode=review] .wf-task-modal{width:min(760px,100%)}#addTaskDialog[data-voice-mode=review] .wf-modal-foot{gap:9px}#addTaskDialog[data-voice-mode=capture] .wf-modal-actions button,#addTaskDialog[data-voice-mode=review] .wf-modal-actions button{min-height:40px}.wfv-review-head .wfv-review-line strong{font-size:14px}#wfv-review-issues:empty{display:none}.wfv-review-head blockquote{padding:5px 8px}.wfv-review-head{gap:6px}#wfv-confirm-zone label{color:inherit;font-size:12px;font-weight:600}
@media(max-width:620px){#addTaskDialog[data-voice-mode=review] .wf-task-modal{width:100%}#addTaskDialog[data-voice-mode=review] .wf-modal-actions button,#addTaskDialog[data-voice-mode=capture] .wf-modal-actions button{min-height:44px}}
