/* Shared desktop feedback primitive. Source: the Clients remaining-checks dialog
   and Xreference Standard Desktop modal header/body/footer primitives.
   Feature dialogs own their data hooks/actions; only this file owns presentation. */
.xr-feedback-dialog { box-sizing:border-box; width:min(800px,calc(100vw - 40px)); max-height:calc(100dvh - 48px); margin:auto; padding:0; overflow:hidden; border:1px solid #8299ad; border-top:3px solid #f47b20; border-radius:5px; color:#17324d; background:#fff; box-shadow:0 22px 70px rgba(0,0,0,.34); font:13px/1.5 'Segoe UI',Arial,sans-serif; text-align:left; }
.xr-feedback-dialog[open] { display:flex; flex-direction:column; }
.xr-feedback-dialog:not([open]), .xr-feedback-dialog [hidden] { display:none!important; }
.xr-feedback-dialog::backdrop { background:rgba(5,22,39,.72); }
.xr-feedback-frame { display:flex; flex-direction:column; width:100%; min-height:0; margin:0; }
.xr-feedback-header { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:74px; box-sizing:border-box; padding:14px 18px; border-bottom:2px solid #f47b20; color:#fff; background:#133252; }
.xr-feedback-header > div { min-width:0; }
.xr-feedback-eyebrow { display:flex; align-items:center; gap:6px; margin:0 0 3px; color:#ffad70; font-size:10px; font-weight:600; line-height:1.4; }
.xr-feedback-title { margin:0; color:#fff; font-size:18px; font-weight:700; line-height:1.3; overflow-wrap:anywhere; }
.xr-feedback-dialog .xr-feedback-close { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; margin:0; padding:0; border:1px solid transparent; border-radius:3px; color:#fff; background:transparent; font:20px/1 Arial,sans-serif; cursor:pointer; }
.xr-feedback-dialog .xr-feedback-close:hover:not(:disabled) { border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.08); }
.xr-feedback-body { flex:1 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; padding:16px 22px; background:#fff; color:#17324d; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.xr-feedback-body p { margin:0 0 14px; }
.xr-feedback-body p:last-child { margin-bottom:0; }
.xr-feedback-message, .xr-feedback-next { white-space:pre-line; }
.xr-feedback-next { color:#526b82; }
.xr-feedback-footer { flex:0 0 auto; display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:9px; padding:12px 18px; border-top:1px solid #c8d4df; background:#edf2f7; }
.xr-feedback-dialog .xr-feedback-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:34px; padding:7px 12px; border:1px solid #133252; border-radius:3px; color:#fff; background:#133252; font:600 11px/1.35 'Segoe UI',Arial,sans-serif; text-decoration:none; cursor:pointer; }
.xr-feedback-dialog .xr-feedback-button:hover:not(:disabled) { background:#091e32; }
.xr-feedback-dialog .xr-feedback-button--secondary { background:#fff; color:#133252; border-color:#9eafbf; }
.xr-feedback-dialog .xr-feedback-button--secondary:hover:not(:disabled) { background:#e6edf3; }
.xr-feedback-dialog .xr-feedback-button--danger { background:#9d2f2f; border-color:#9d2f2f; }
.xr-feedback-dialog .xr-feedback-button--danger:hover:not(:disabled) { background:#7e2424; }
.xr-feedback-dialog button:disabled { opacity:.48; cursor:not-allowed; }
.xr-feedback-dialog :is(button,a,input,select,textarea):focus-visible { outline:2px solid #ffad70; outline-offset:2px; }
.xr-feedback-list { margin:12px 0; padding-left:24px; }
.xr-feedback-list li { padding:7px 0; border-bottom:1px solid #dce4ed; }
.xr-feedback-summary { display:block; margin:14px 0; padding:10px; border-left:3px solid #f47b20; background:#f5f8fb; }
/* Existing feedback API retains this body hook for queue and focus behavior. */
body.ps-auth-invitation-open { overflow:hidden; }
