/* Site-owned selection tools; the browser's Cut/Copy/Paste menu remains available. */
.wn-comment-toolbar,.wn-comment-composer{position:fixed;z-index:10020;box-sizing:border-box;background:#fff;color:#211c27;font-family:inherit;border:1px solid #d9c6d9;border-radius:8px;box-shadow:0 4px 20px #211c271c;overflow:auto;overscroll-behavior:contain}
.wn-comment-toolbar[hidden]{display:none}
.wn-comment-toolbar{padding:0}
.wn-comment-toolbar>button{display:block;width:100%;min-height:42px;padding:8px 12px;margin:0;border:0;border-radius:7px;background:#fff;color:#92278f;font:inherit;font-size:15px;line-height:1.35;white-space:nowrap;touch-action:manipulation}
.wn-comment-composer{display:grid;gap:10px;margin:0;padding:14px;text-align:left;scroll-padding:10px}
.wn-comment-composer .wn-comment-title{font:inherit;font-size:16px;font-weight:700;line-height:1.2;color:#92278f;margin:0}
.wn-comment-composer .wn-comment-quote{margin:0;padding:0 0 0 9px;border-left:2px solid #92278f;font-size:14px;line-height:1.4;max-height:60px;overflow:auto;overflow-wrap:anywhere}
.wn-comment-composer .wn-comment-body{display:block;box-sizing:border-box;width:100%;min-height:74px;max-height:180px;margin:0;padding:9px;border:1px solid #b9a7bb;border-radius:4px;background:#fff;color:#211c27;font:inherit;font-size:16px;line-height:1.4;resize:vertical;scroll-margin:8px}
.wn-comment-composer .wn-comment-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin:0}
.wn-comment-composer .wn-comment-actions button{margin:0;min-height:40px;padding:7px 11px;border:1px solid #d9c6d9;border-radius:4px;background:#fff;color:#92278f;font:inherit;font-size:15px;line-height:1.3;touch-action:manipulation}
.wn-comment-composer .wn-comment-actions .wn-comment-save{border-color:#92278f;background:#92278f;color:#fff}
.wn-comment-composer [disabled]{opacity:.6;cursor:wait}
.wn-comment-toolbar button:focus-visible,.wn-comment-composer :is(button,textarea):focus-visible{outline:2px solid #92278f;outline-offset:2px}
.wn-comment-composer[data-compact=true]{padding:8px;gap:5px;border-radius:5px}
.wn-comment-composer[data-compact=true] .wn-comment-title{font-size:14px}
.wn-comment-composer[data-compact=true] .wn-comment-quote{max-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.wn-comment-composer[data-compact=true] .wn-comment-body{min-height:42px;height:48px;max-height:85px;padding:5px 7px}
.wn-comment-composer[data-compact=true] .wn-comment-actions button{min-height:34px;padding:5px 9px;font-size:14px}
@media(prefers-reduced-motion:reduce){.wn-comment-toolbar,.wn-comment-composer{scroll-behavior:auto}}

/* Public-demo touch editing actions stay inside the visible draft above the keyboard. */
.wn-edit-actions{position:fixed;z-index:10020;display:flex;gap:8px;padding:4px;box-sizing:border-box;border:1px solid #d9c6d9;border-radius:5px;background:#fff;box-shadow:0 2px 12px #211c271c}
.wn-edit-actions[hidden]{display:none}
.wn-edit-actions button{flex:1;min-height:44px;min-width:44px;padding:7px 10px;border:1px solid #d9c6d9;border-radius:3px;background:#fff;color:#92278f;font:inherit;font-size:16px;line-height:1.2;touch-action:manipulation;white-space:nowrap}
.wn-edit-actions .wn-edit-save{background:#92278f;color:#fff;border-color:#92278f}
.wn-edit-actions button:focus-visible{outline:2px solid #92278f;outline-offset:2px}
.reply-actions{display:flex;flex-wrap:wrap;gap:8px}
#review-workspace.demo-mobile :is(.thread-tools button,.reply-actions button){min-height:44px;min-width:44px;font-size:16px;touch-action:manipulation}
#review-workspace.demo-mobile .reply-form{scroll-margin-block:8px}
#review-workspace.demo-mobile .reply-form textarea,
#review-workspace.demo-mobile.demo-viewport-compact .reply-form textarea{height:var(--reply-editor-height,96px);min-height:44px;max-height:var(--reply-editor-height,120px);font-size:16px;resize:none}
#review-workspace.demo-mobile .reply-actions{position:sticky;bottom:0;z-index:1;padding-block:4px;background:#fff}
.demo-mobile-page .wn-comment-toolbar>button,
.demo-mobile-page .wn-comment-composer .wn-comment-actions button,
.demo-mobile-page .wn-comment-composer[data-compact=true] .wn-comment-actions button{min-height:44px;min-width:44px;font-size:16px}
