.nxa-overlay{position:fixed;inset:0;z-index:100010;display:flex;align-items:center;justify-content:center;padding:24px;background:rgb(15 23 42/.48)}
.nxa-dialog{width:min(100%,36rem);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 18px 60px rgb(15 23 42/.22);color:#0f172a;font:inherit;outline:none}
.nxa-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e2e8f0}.nxa-header h2{font-size:18px;line-height:1.35;font-weight:650;margin:0}.nxa-body{padding:20px 24px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.nxa-recipient{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 20px;font-size:14px;line-height:1.5}.nxa-recipient span{color:#475569;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.nxa-copy{font-size:14px;line-height:1.6;margin:0 0 16px;max-width:65ch}.nxa-status{font-size:13px;font-weight:600;line-height:1.5;color:#0f766e;margin:0 0 16px}.nxa-field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600}.nxa-field textarea{width:100%;box-sizing:border-box;min-height:144px;max-height:40dvh;padding:12px;border:1px solid #cbd5e1;border-radius:10px;resize:vertical;background:#fff;color:#0f172a;font:inherit;font-weight:400;font-size:14px;line-height:1.6;caret-color:#4f46e5}.nxa-hint{margin:8px 0 0;font-size:13px;font-weight:400;line-height:1.55;color:#475569}.nxa-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e2e8f0}.nxa-button{min-height:44px;border:1px solid transparent;border-radius:10px;background:#4f46e5;color:#fff;font:inherit;font-size:14px;font-weight:600;line-height:1.35;padding:10px 16px;cursor:pointer;transition:background-color 160ms ease-out}.nxa-button:hover{background:#4338ca}.nxa-button.nxa-secondary{background:#fff;color:#334155;border-color:#cbd5e1}.nxa-button.nxa-secondary:hover{background:#f8fafc}.nxa-button:focus-visible,.nxa-field textarea:focus-visible,.nxa-details summary:focus-visible{outline:2px solid #4f46e5;outline-offset:3px}.nxa-button:disabled{background:#e2e8f0;border-color:#e2e8f0;color:#475569;cursor:default}.nxa-choices{list-style:none;margin:0;padding:0}.nxa-choice{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #e2e8f0}.nxa-choice strong{font-size:14px}.nxa-choice .nxa-button{flex-shrink:0}.nxa-preview{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e2e8f0;border-radius:10px;padding:16px;background:#f8fafc}.nxa-details{margin-top:20px;font-size:13px;line-height:1.6;color:#475569}.nxa-details summary{cursor:pointer;font-weight:600;text-underline-offset:3px}.nxa-decision{margin:0 0 20px;font-size:13px;line-height:1.55;color:#475569;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.nxa-checking{display:flex;flex-direction:column;gap:10px;padding:4px 0 16px}.nxa-checking span{height:12px;border-radius:4px;background:#e2e8f0}.nxa-checking span:nth-child(2){width:85%}.nxa-checking span:nth-child(3){width:60%}.nxa-dialog ::selection{background:#e0e7ff;color:#1e1b4b}
@media(max-width:480px){.nxa-overlay{padding:12px}.nxa-dialog{max-height:calc(100dvh - 24px);border-radius:14px}.nxa-header{padding:16px}.nxa-header h2{font-size:17px}.nxa-header>.nxa-button{padding-inline:10px}.nxa-body{padding:16px}.nxa-recipient{align-items:flex-start;flex-direction:column;gap:3px;margin-bottom:16px}.nxa-choice{align-items:flex-start;gap:10px}.nxa-footer{padding:12px 16px}.nxa-footer .nxa-button{flex:1}.nxa-details{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.nxa-button{transition:none}}

.nxa-status.nxa-muted{color:#475569}
