.user-note-editor { width:min(460px,calc(100vw - 32px)); box-sizing:border-box; max-height:calc(100vh - 48px); overflow:auto; background:#141824; color:#e8ebf5; border:1px solid #353c51; border-radius:18px; padding:26px; box-shadow:0 24px 90px #0009; font:14px/1.6 "Segoe UI","Microsoft YaHei",sans-serif; }
.user-note-editor::backdrop { background:#05070caa; backdrop-filter:blur(6px); }
.user-note-editor h2 { margin:0 0 8px; font-size:19px; }
.user-note-editor p { margin:6px 0 12px; }
.user-note-editor .note-account { overflow-wrap:anywhere; }
.user-note-editor .note-privacy,.user-note-editor .note-length { color:#9aa3bb; font-size:12px; }
.user-note-editor label { display:block; margin:14px 0 6px; }
.user-note-editor input { box-sizing:border-box; width:100%; background:#0f121a; color:#e8ebf5; border:1px solid #353c51; border-radius:9px; padding:10px 12px; font:inherit; }
.user-note-editor .note-error { color:#ff8290; font-size:13px; }
.note-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }
.user-note-editor button { border:1px solid #353c51; border-radius:9px; background:transparent; color:#e8ebf5; padding:8px 15px; font:inherit; cursor:pointer; }
.user-note-editor .note-save { background:#8173ee; border-color:#8173ee; }
.user-note-editor button:disabled { opacity:.5; cursor:wait; }
.user-note-editor :focus-visible { outline:2px solid #a399ff; outline-offset:3px; }
.user-note-preview { max-width:260px; color:#a9a0ff; font-size:12px; margin-top:6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

[data-user-label] { display:block; max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
