.receipt-note-backdrop { position:fixed; inset:0; z-index:10050; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(0,0,0,.65); }
.receipt-note-dialog { box-sizing:border-box; display:grid; gap:16px; width:min(560px,100%); max-height:calc(100dvh - 32px); overflow:auto; padding:22px; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--bg2); color:var(--text); font-family:var(--font-body); }
.receipt-note-dialog h2 { margin:0; font-size:19px; }
.receipt-note-company { margin:0; font-size:13px; color:var(--text2); overflow-wrap:anywhere; }
.receipt-note-field { min-width:0; display:grid; gap:7px; }
.receipt-note-field strong { font-size:13px; overflow-wrap:anywhere; }
.receipt-note-field label { font-size:13px; color:var(--text2); }
.receipt-note-field textarea { box-sizing:border-box; width:100%; min-height:88px; resize:vertical; padding:10px 12px; border:1px solid var(--border2); border-radius:8px; background:var(--bg3); color:var(--text); font:inherit; line-height:1.5; }
.receipt-note-field textarea:focus-visible, .receipt-note-dialog button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.receipt-note-actions { display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; }
.receipt-note-dialog button { min-height:44px; min-width:44px; padding:10px 14px; border:1px solid var(--border2); border-radius:9px; font:inherit; font-size:14px; cursor:pointer; }
.receipt-note-dialog .receipt-note-cancel { background:var(--bg3); color:var(--text); }
.receipt-note-dialog .receipt-note-submit { background:var(--accent); color:#fff; border-color:var(--accent); font-weight:600; }
.receipt-note-error { margin:0; color:var(--danger); font-size:13px; }
.receipt-note-family > summary { display:list-item; box-sizing:border-box; min-height:44px; padding:12px 0; cursor:pointer; font-size:13px; color:var(--text2); }
.receipt-note-family > summary:focus-visible, .receipt-note-family input:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.receipt-note-family .receipt-note-field { padding-top:8px; }
.receipt-note-family input[type="text"] { box-sizing:border-box; width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--border2); border-radius:8px; background:var(--bg3); color:var(--text); font:inherit; }
.receipt-note-family-consent { display:flex; align-items:center; gap:10px; min-height:44px; cursor:pointer; line-height:1.5; }
.receipt-note-family-consent input { width:22px; height:22px; flex:0 0 auto; accent-color:var(--accent); }
@media(max-width:640px) { .receipt-note-dialog { padding:18px; } .receipt-note-actions > button { flex:1; } }
