/* Scoped support note overlay. Existing CASH and finance layouts are unchanged. */
.wr-support-notes-wrap{width:min(690px,calc(100vw - 58px));max-width:100%;color:var(--text)}
.wr-support-notes-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:4px 0 16px;border-bottom:1px solid var(--line)}
.wr-support-notes-title h3{font-size:17px;margin:0 0 4px;font-weight:700;letter-spacing:-.02em}
.wr-support-notes-title p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}
.wr-support-notes-count{flex-shrink:0;border:1px solid var(--line);background:var(--surface);padding:5px 9px;border-radius:999px;font-size:11px;font-weight:650}
.wr-support-notes-history{min-height:90px;max-height:min(42vh,350px);overflow:auto;padding:13px 3px 11px;display:flex;flex-direction:column;gap:9px;scrollbar-width:thin}
.wr-support-note{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:11px 13px;box-shadow:0 1px 2px rgba(0,0,0,.025)}
.wr-support-note-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}
.wr-support-note-meta b{font-weight:700}
.wr-support-note-meta time{color:var(--muted);font-size:10px}
.wr-support-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.55;margin:8px 0 0}
.wr-support-notes-empty{color:var(--muted);font-size:12px;text-align:center;padding:34px 16px}
#r17SupportNoteForm{border-top:1px solid var(--line);padding-top:13px}
#r17SupportNoteForm label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}
#r17SupportNoteForm textarea{width:100%;box-sizing:border-box;min-height:96px;max-height:180px;resize:vertical;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);padding:11px 12px;font:inherit;font-size:12px;line-height:1.5}
#r17SupportNoteForm textarea:focus{outline:2px solid rgba(16,185,129,.32);outline-offset:1px;border-color:var(--accent,#10b981)}
.wr-support-note-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:9px}
.wr-support-note-actions small,.wr-support-note-readonly{font-size:11px;color:var(--muted)}
.wr-support-note-actions .btn{min-width:130px}
.support-conversation-actions .wr-support-notes-btn{display:inline-flex;gap:6px;align-items:center;white-space:nowrap}
.support-conversation-actions .wr-support-notes-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:690px){
 .wr-support-notes-title{flex-direction:column;gap:9px}
 .wr-support-notes-wrap{width:auto}
 .wr-support-note-actions{flex-direction:column;align-items:stretch}
 .wr-support-note-actions .btn{width:100%}
}
