.task-unit-preview-modes > button[data-note-feedback-trigger] { margin-inline-start:auto; color:#245bdb; }
.task-note-feedback-entry { display:flex; justify-content:flex-end; padding:0 12px 8px; }
.task-note-feedback-entry button { background:none; border:0; color:#245bdb; padding:6px 0; cursor:pointer; }
.note-feedback-actions,.note-feedback-foot { display:flex; gap:8px; align-items:center; }
.note-feedback-count:not(:empty) { margin-left:6px; color:#245bdb; background:#edf1ff; padding:2px 6px; border-radius:8px; }
dialog.note-feedback { background:#fff; color:#1f2329; border:1px solid #e4e6eb; padding:0; border-radius:8px; width:min(480px,calc(100vw - 28px)); max-width:none; max-height:calc(100dvh - 36px); overflow:hidden; box-shadow:0 12px 44px #1f232928; font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; }
dialog.note-feedback[open] { display:flex; flex-direction:column; }
dialog.note-feedback::backdrop { background:#1f232944; }
dialog.note-feedback.note-feedback-drawer { position:fixed; inset:0 0 0 auto; margin:0; width:min(600px,100vw); height:100dvh; max-height:none; border-radius:0; }
dialog.note-feedback.note-feedback-compare { width:min(1060px,calc(100vw - 40px)); }
.note-feedback-head,.note-feedback-foot { padding:14px 20px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #e4e6eb; gap:12px; }
.note-feedback-head h2,.note-feedback-box h3 { font-size:15px; margin:0 0 4px; color:#1f2329; }
.note-feedback-head p,.note-feedback-body p { margin:0; }
.note-feedback-foot { border-bottom:0; border-top:1px solid #e4e6eb; justify-content:flex-end; flex-wrap:wrap; }
.note-feedback-body { min-height:0; overflow:auto; padding:16px 20px; display:grid; gap:12px; }
.note-feedback-body p { white-space:pre-wrap; overflow-wrap:anywhere; }
.note-feedback-muted { color:#646a73; font-size:12px; }
.note-feedback-error { padding:0 20px; color:#a93638; font-size:12px; margin:0 0 10px; }
.note-feedback-error:empty { display:none; }
.note-feedback-button,.note-feedback-primary,.note-feedback-entry { border:1px solid #dfe2e8; background:#fff; color:#1f2329; border-radius:8px; padding:7px 12px; cursor:pointer; font:inherit; font-size:13px; }
.note-feedback-primary { background:#315eeb; color:#fff; border-color:#315eeb; }
.note-feedback button:disabled { opacity:.45; cursor:default; }
.note-feedback-box { padding:10px 12px; border-radius:8px; background:#f7f8fa; border:1px solid #e6e8ee; min-width:0; }
.note-feedback-box summary { cursor:pointer; font-weight:600; }
.note-feedback-box article { padding-top:9px; margin-top:8px; border-top:1px solid #e4e6eb; }
.note-feedback-field { display:grid; gap:6px; font-weight:500; }
.note-feedback-field textarea { width:100%; min-height:104px; padding:9px 10px; border:1px solid #dfe2e8; border-radius:8px; resize:vertical; background:#fafbfc; color:#1f2329; font:inherit; box-sizing:border-box; }
.note-feedback-entry { width:100%; text-align:left; display:grid; gap:4px; overflow-wrap:anywhere; }
.note-feedback-entry small { color:#315eeb; }
.note-feedback-entry span { color:#646a73; }
.note-feedback-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.note-feedback-copy { background:#fff; }
.note-feedback-copy h3 { font-size:13px; color:#646a73; }
.note-feedback-copy p { margin-top:6px; }
.note-feedback-check { display:flex; align-items:center; gap:6px; }
.note-feedback-check input { accent-color:#315eeb; }
@media(max-width:620px) { .note-feedback-pair { grid-template-columns:1fr; } }

.note-feedback-compare details.note-feedback-box { max-height:152px; overflow:auto; }
