/* Layout only; desktop keeps the original fields and owner controls. */
.fxm-ief-mobile { display:none; }
.fxm-exposure-modal__document { display:grid; place-items:center; width:92px; height:72px; border:1px solid #e9edf2; border-radius:10px; color:#6040c0; background:#f5f3fb; }
@media(max-width:767.98px) {
  .fxm-exposure-modal.fxm-ief-ready { --exposure-primary:#6040c0;--exposure-line:#e9edf2;--exposure-ink:#1c1c21;--exposure-muted:#6b7380; position:fixed;inset:auto 0 0;width:100%;max-width:720px;height:calc(var(--fxm-ios-visible-height,100dvh) - 12px);max-height:calc(var(--fxm-ios-visible-height,100dvh) - 12px);margin:0 auto;border:0;border-radius:22px 22px 0 0;background:#fff;font-family:var(--fxm-ios-font,system-ui); }
  .fxm-ief-ready .fxm-ief-mobile { display:block; }
  .fxm-ief-ready[open] { animation:fxm-ief-sheet-in .24s ease-out; }
  .fxm-ief-ready::backdrop { background:#20253266;backdrop-filter:blur(2px); }
  .fxm-ief-ready .fxm-exposure-modal__form { height:100%;max-height:none; }
  .fxm-ief-ready .fxm-exposure-modal__header { position:relative;display:grid;grid-template-columns:65px minmax(0,1fr) 65px;gap:4px;min-height:64px;padding:8px 20px; }
  .fxm-ief-ready .fxm-exposure-modal__header > .fxm-exposure-modal__emblem,.fxm-ief-ready #fxm-exposure-modal-subtitle { display:none; }
  .fxm-ief-ready .fxm-exposure-modal__header > div { grid-column:2;grid-row:1;text-align:center; }
  .fxm-ief-ready .fxm-exposure-modal__header h2 { font:600 18px/1.4 var(--fxm-ios-font,system-ui); }
  .fxm-ief-ready .fxm-exposure-modal__header .fxm-exposure-modal__close { grid-column:1;grid-row:1;align-self:center;width:auto;height:44px;min-height:44px;padding:0;background:transparent;border-radius:0;color:#6040c0;text-align:left;font-size:16px; }
  .fxm-ief-ready .fxm-exposure-modal__header .fxm-exposure-modal__close svg { display:none; }
  .fxm-ief-ready .fxm-ief-keyboard-done { grid-column:3;grid-row:1;border:0;background:transparent;color:#6040c0;font-size:16px;min-height:44px;padding:0;text-align:right; }
  .fxm-ief-progress { flex-shrink:0;padding:4px 20px 12px; }
  .fxm-ief-progress > div:first-child { display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px; }
  .fxm-ief-progress strong { font-size:14px;line-height:1.4;font-weight:600;color:#1c1c21; }
  .fxm-ief-progress span { color:#6b7380;font:400 12px var(--fxm-ios-number-font,system-ui); }
  .fxm-ief-progress-bars { display:flex;gap:4px; }
  .fxm-ief-progress-bars i { flex:1;height:3px;border-radius:3px;background:#e9edf2;transition:background .2s; }
  .fxm-ief-progress-bars i.is-complete { background:#6040c0; }
  .fxm-ief-ready .fxm-exposure-modal__body { padding:20px; }
  .fxm-ief-ready .fxm-exposure-modal__body > .fxm-exposure-modal__row { display:none; }
  .fxm-ief-step { display:flex;flex-direction:column;gap:24px; }
  .fxm-ief-step.is-entering { animation:fxm-ief-step-in .2s ease-out; }
  .fxm-ief-warning { display:flex;gap:8px;margin:0;padding:12px 14px;border-radius:12px;background:#fff6eb;color:#99641d;font-size:12px;line-height:1.65; }
  .fxm-ief-warning::before { content:'!';display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;font-weight:600;margin-top:1px; }
  .fxm-ief-ready .fxm-exposure-modal__field { margin:0;border:0;padding:0;background:transparent; }
  .fxm-ief-ready .fxm-exposure-modal__field > :is(label,legend) { font-size:14px;font-weight:600;margin-bottom:8px; }
  .fxm-ief-ready :is(.fxm-exposure-modal__input-shell,.fxm-exposure-modal__textarea,.fxm-exposure-modal__select) { min-height:44px;border:.5px solid #e9edf2;border-radius:12px;background:#f2f3f5;box-shadow:none; }
  .fxm-ief-ready :is(input:not([type=checkbox]),textarea,select) { font-size:16px; }
  .fxm-ief-ready .fxm-exposure-modal__input-shell { padding:0 12px; }
  .fxm-ief-ready .fxm-exposure-modal__input-shell input { min-height:44px;height:auto; }
  .fxm-ief-ready .fxm-exposure-modal__textarea textarea { min-height:176px;max-height:none;padding:14px 12px 30px;line-height:1.6; }
  .fxm-ief-ready :is(.fxm-exposure-modal__counter,.fxm-exposure-modal__textarea > span) { font:400 12px var(--fxm-ios-number-font,system-ui);color:#8f96a2; }
  .fxm-ief-ready .fxm-ief-categories { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
  .fxm-ief-categories button { display:flex;align-items:center;min-width:0;min-height:48px;padding:10px 12px;border:.5px solid #e9edf2;border-radius:12px;background:#f2f3f5;font-size:14px;line-height:1.5;text-align:left;overflow-wrap:anywhere; }
  .fxm-ief-categories button[aria-checked=true] { border-color:#6040c0;background:#6040c00d;color:#6040c0;font-weight:600; }
  .fxm-ief-categories button[aria-checked=true]::after { content:'✓';margin-left:auto;padding-left:6px; }
  .fxm-ief-ready .fxm-exposure-modal__field:has(.fxm-ief-categories) > .fxm-exposure-modal__select { display:none; }
  .fxm-ief-ready .fxm-broker-picker__list { position:static;margin-top:8px;max-height:220px;border:0;box-shadow:none; }
  .fxm-ief-ready .fxm-broker-picker__option { min-height:64px;border-radius:12px;padding:8px; }
  .fxm-ief-selection { display:flex;align-items:center;gap:12px;border:.5px solid #e9edf2;background:#f5f4fa;padding:12px;border-radius:12px; }
  .fxm-ief-broker-logo { position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#fff;border:.5px solid #e9edf2;overflow:hidden;font:600 18px var(--fxm-ios-brand-font,system-ui);color:#6040c0; }
  .fxm-ief-broker-logo img { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff; }
  .fxm-ief-selection > div { flex:1;min-width:0;display:flex;flex-direction:column;gap:5px; }
  .fxm-ief-selection strong { font:600 16px/1.4 var(--fxm-ios-brand-font,system-ui);overflow-wrap:anywhere; }
  .fxm-ief-selection > div > span { font-size:12px;color:#6b7380; }
  .fxm-ief-ready .fxm-ief-evidence-tabs { display:flex;gap:2px;padding:3px;border-radius:10px;background:#f2f3f5;margin-bottom:12px; }
  .fxm-ief-evidence-tabs button { flex:1;min-width:0;min-height:44px;border:0;border-radius:8px;background:transparent;color:#6b7380;font-size:16px; }
  .fxm-ief-evidence-tabs button[aria-selected=true] { color:#6040c0;font-weight:600;background:#fff;box-shadow:0 1px 3px #0000000a; }
  .fxm-ief-ready .fxm-exposure-modal__upload { min-height:88px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #6040c04d;border-radius:12px;background:#f5f3fb;text-align:center; }
  .fxm-ief-ready .fxm-exposure-modal__upload-icon { background:transparent;width:28px;height:28px; }
  .fxm-ief-ready .fxm-exposure-modal__upload strong { font-size:14px; }
  .fxm-ief-ready .fxm-exposure-modal__upload small { font-size:11px; }
  .fxm-ief-file-empty { color:#8f96a2;text-align:center;font-size:12px;margin:12px 0 0; }
  .fxm-ief-ready .fxm-exposure-modal__files { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
  .fxm-ief-ready .fxm-exposure-modal__files > * { width:auto;min-width:0; }
  .fxm-ief-ready .fxm-exposure-modal__files img,.fxm-ief-ready .fxm-exposure-modal__document { width:100%;height:88px; }
  .fxm-ief-ready .fxm-exposure-modal__files .fxm-exposure-modal__image-remove { width:44px;height:44px;top:-10px;right:-10px;background:transparent;border:0;box-shadow:none; }
  .fxm-ief-ready .fxm-exposure-modal__image-remove svg { background:#fff;border-radius:50%;width:24px;height:24px;padding:5px;box-shadow:0 1px 4px #0002; }
  .fxm-ief-ready .fxm-exposure-modal__files[data-active-kind=files] { display:flex;flex-direction:column; }
  .fxm-ief-ready [data-active-kind=files] .fxm-exposure-modal__image { display:flex;align-items:center;gap:10px;padding:10px 42px 10px 10px;border:.5px solid #e9edf2;border-radius:12px;background:#f2f3f5; }
  .fxm-ief-ready [data-active-kind=files] .fxm-exposure-modal__document { flex:0 0 36px;width:36px;height:44px;border:0;background:transparent; }
  .fxm-ief-ready [data-active-kind=files] .fxm-exposure-modal__filename { white-space:normal;font-size:12px;overflow-wrap:anywhere; }
  .fxm-ief-ready [data-active-kind=files] .fxm-exposure-modal__image-remove { top:calc(50% - 22px);right:0; }
  .fxm-ief-ready .fxm-exposure-modal__methods { display:flex;flex-wrap:nowrap;overflow:auto;padding:2px 0 8px;scrollbar-width:none;gap:8px; }
  .fxm-ief-ready .fxm-exposure-modal__methods button { flex:0 0 auto;min-height:44px;border-radius:12px;font-size:14px;padding:8px 10px; }
  .fxm-ief-ready .fxm-exposure-modal__phone .fxm-phone-field__frame { border-radius:12px;background:#f2f3f5;border:.5px solid #e9edf2; }
  .fxm-ief-ready .fxm-phone-field--compact .fxm-phone-field__input { font-size:16px;min-height:44px; }
  .fxm-ief-ready .fxm-exposure-modal__hint { font-size:12px;line-height:1.6; }
  .fxm-ief-ready .fxm-exposure-modal__sync { min-height:44px;padding:16px;border-radius:12px;background:#f2f3f5; }
  .fxm-ief-ready .fxm-exposure-modal__sync input { right:16px; }
  .fxm-ief-ready .fxm-exposure-modal__sync small { font-size:12px; }
  .fxm-ief-confirm h3 { font-size:16px;margin:0 0 16px;font-weight:600; }
  .fxm-ief-confirm-row,.fxm-ief-confirm-broker { padding:12px 0;border-bottom:.5px solid #e9edf2; }
  .fxm-ief-confirm-label { display:block;font-size:14px;color:#6b7380;margin-bottom:6px; }
  .fxm-ief-confirm-row p { margin:0;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere; }
  .fxm-ief-confirm .fxm-ief-selection { padding:0;background:none;border:0; }
  .fxm-ief-ready .fxm-exposure-modal__consent { display:flex;flex-direction:column;gap:16px;margin:0;padding:16px;border:0;border-radius:12px;background:#f2f3f5; }
  .fxm-ief-ready .fxm-exposure-modal__declaration-body { order:-1;max-height:none;margin:0;padding:0;background:none;border:0;border-radius:0;overflow:visible;font-size:14px;line-height:1.65; }
  .fxm-ief-ready .fxm-exposure-modal__declaration { align-items:center;margin:0;padding-top:12px;border-top:.5px solid #e9edf2;gap:12px;font-size:14px;min-height:44px; }
  .fxm-ief-ready .fxm-exposure-modal__declaration input { appearance:none;position:relative;flex:0 0 44px;width:44px;height:27px;margin:0;border:0;border-radius:20px;background:#d8dce3;order:1; }
  .fxm-ief-ready .fxm-exposure-modal__declaration input::after { content:'';position:absolute;width:23px;height:23px;top:2px;left:2px;border-radius:50%;background:#fff;transition:transform .15s; }
  .fxm-ief-ready .fxm-exposure-modal__declaration input:checked { background:#6040c0; }
  .fxm-ief-ready .fxm-exposure-modal__declaration input:checked::after { transform:translateX(17px); }
  .fxm-ief-ready .fxm-exposure-modal__declaration > span { flex:1; }
  .fxm-ief-ready .fxm-exposure-modal__footer { display:block;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:.5px solid #e9edf2; }
  .fxm-ief-ready .fxm-exposure-modal__footer > p,.fxm-ief-ready .fxm-exposure-modal__footer [data-fxm-exposure-modal-close] { display:none; }
  .fxm-ief-ready .fxm-exposure-modal__actions { display:flex;gap:12px;width:100%; }
  .fxm-ief-ready :is(.fxm-ief-next,.fxm-exposure-modal__primary) { flex:1;min-height:48px;padding:10px 12px;border:0;border-radius:12px;background:linear-gradient(120deg,#7858d4,#6040c0);color:#fff;font-size:16px;font-weight:600;line-height:1.4; }
  .fxm-ief-ready .fxm-ief-prev { min-height:48px;max-width:45%;padding:10px 16px;border:.5px solid #e9edf2;border-radius:10px;background:#f2f3f5;color:#1c1c21;font-size:16px;line-height:1.4; }
  .fxm-ief-ready .fxm-exposure-modal__success { padding:32px 24px; }
  .fxm-ief-ready .fxm-exposure-modal__success h2 { font-size:18px; }
  .fxm-ief-ready .fxm-exposure-modal__success .fxm-exposure-modal__actions { flex-direction:column; }
  .fxm-ief-ready .fxm-exposure-modal__success button { width:100%;min-height:44px; }
  .fxm-ios-exposure-flows .fxm-account-card { background:transparent!important;border:0!important;padding:0!important; }
  .fxm-ios-exposure-flows .fxm-exposures-list { display:flex;flex-direction:column;gap:12px; }
  .fxm-ios-exposure-flows :is(.fxm-exposure-row,.fxm-mediation-row) { position:relative;display:flex;flex-direction:column;gap:8px;padding:14px!important;border:0!important;border-radius:14px!important;background:#fff;box-shadow:none!important; }
  .fxm-ios-exposure-flows .fxm-exposure-row-head { display:contents; }
  .fxm-ios-exposure-flows .fxm-exposure-row-code { order:0;font:400 13px/1.4 var(--fxm-ios-number-font,system-ui);color:#6b7380; }
  .fxm-ios-exposure-flows .fxm-exposure-row-title { order:1;margin:0;font-size:16px;font-weight:600;line-height:1.45; }
  .fxm-ios-exposure-flows .fxm-exposure-row-title a { display:block;min-height:44px;padding:8px 0;color:#1c1c21; }
  .fxm-ief-case-identity { order:2;display:flex;align-items:center;gap:12px; }
  .fxm-ios-exposure-flows .fxm-ief-case-identity .fxm-ios-case-logo { display:grid!important;place-items:center;position:relative;flex:0 0 56px;width:56px;height:56px;border-radius:14px!important;border:.5px solid #e9edf2!important;background:#fff;overflow:hidden;font:600 20px var(--fxm-ios-brand-font,system-ui);color:#6040c0; }
  .fxm-ief-case-identity .fxm-ios-case-logo img { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff; }
  .fxm-ief-case-identity-info { display:flex;flex-direction:column;gap:6px;flex:1;min-width:0; }
  .fxm-ios-exposure-flows .fxm-exposure-row-broker { font:500 16px/1.4 var(--fxm-ios-brand-font,system-ui);color:#1c1c21;overflow-wrap:anywhere; }
  .fxm-ios-exposure-flows :is(.fxm-exposure-badge,.fxm-mediation-badge) { align-self:flex-start;font-size:12px;line-height:1.4;color:#6040c0;background:#6040c00d;border:0;border-radius:6px;padding:3px 6px; }
  .fxm-ios-exposure-flows :is(.fxm-exposure-row-meta,.fxm-exposure-row-reject,.fxm-mediation-row-foot,.fxm-account-link) { order:3; }
  .fxm-ios-exposure-flows .fxm-exposure-row-meta { display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:#6b7380; }
  .fxm-ios-exposure-flows .fxm-exposure-row-reject { margin:0;padding:10px;background:#fff2f3;border-radius:8px;font-size:14px;line-height:1.6; }
  .fxm-ios-exposure-flows .fxm-account-link { min-height:44px;display:inline-flex;align-items:center;font-size:14px; }
  .fxm-ios-exposure-flows .fxm-exposures-footer { gap:12px;flex-wrap:wrap; }
  .fxm-ios-exposure-flows .fxm-exposures-pager button { min-height:44px; }
  .fxm-ief-apply { background:#fff!important; }
  .fxm-ief-apply > .border-b { display:none; }
  .fxm-ief-apply [data-fxm-apply-form-view] { padding:20px!important;display:flex;flex-direction:column;gap:24px; }
  .fxm-ief-apply [data-fxm-apply-form-view] > div { margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important; }
  .fxm-ief-apply [data-fxm-apply-form-view] > div > .mb-4 { margin-bottom:8px!important; }
  .fxm-ief-apply [data-fxm-apply-form-view] > div > .mb-4 > .h-8 { display:none; }
  .fxm-ief-apply h3 { font-size:14px!important;line-height:1.5;font-weight:600!important; }
  .fxm-ief-apply :is(input:not([type=checkbox]),textarea,select) { min-height:44px;font-size:16px!important;border:.5px solid #e9edf2!important;border-radius:12px!important;background:#f2f3f5!important;padding:10px 12px!important;min-width:0; }
  .fxm-ief-apply textarea { min-height:176px;line-height:1.6; }
  .fxm-ief-apply [data-fxm-apply-claim] { display:none; }
  .fxm-ief-apply .fxm-ief-claim-select { display:block;width:100%; }
  .fxm-ief-apply-count { margin:5px 0 0;text-align:right;font:400 12px var(--fxm-ios-number-font,system-ui);color:#6b7380; }
  .fxm-ief-apply [data-fxm-apply-form-view] > div:has([data-fxm-apply-declaration]) { background:#f2f3f5!important;padding:16px!important;border-radius:12px!important; }
  .fxm-ief-apply [data-fxm-apply-form-view] > div:has([data-fxm-apply-declaration]) :is(h4,p,label) { color:#1c1c21!important;font-size:14px; }
  .fxm-ief-apply .fxm-mediation-declaration { color:#6b7380!important;font-size:14px;line-height:1.65; }
  .fxm-ief-apply [data-fxm-apply-submit] { min-height:48px;border-radius:12px!important;font-size:16px;box-shadow:none; }
  .fxm-ief-apply [data-fxm-apply-form-view] > div:has(> [data-fxm-apply-submit]) { position:sticky;bottom:0;background:#fff!important;padding:12px 0!important;z-index:2;align-items:stretch; }
  .fxm-ief-apply [data-fxm-apply-form-view] > div:has(> [data-fxm-apply-submit]) > a { min-height:48px;padding:10px;border-radius:12px;font-size:14px; }
  .fxm-ief-apply label[for=fxm-mediation-evidence] { min-height:48px;border-radius:12px;font-size:14px; }
  @keyframes fxm-ief-sheet-in { from { transform:translateY(20px);opacity:.8; } to { transform:none;opacity:1; } }
  @keyframes fxm-ief-step-in { from { opacity:.5;transform:translateY(4px); } to { opacity:1;transform:none; } }
  @media(prefers-reduced-motion:reduce) { .fxm-ief-ready[open],.fxm-ief-step.is-entering { animation:none; }.fxm-ief-progress-bars i { transition:none; } }
}

/* Private owner content is held only in this dialog and is cleared on close. */
.fxm-ief-owner { padding:0;border:0; }
.fxm-ief-owner:not([open]) { display:none; }
@media(max-width:767.98px) {
 .fxm-ios-exposure-flows .fxm-exposure-row-public-title { display:none!important; }
 .fxm-ios-exposure-flows .fxm-exposure-row-owner-title { display:block!important; }
 .fxm-ief-ready [hidden],.fxm-ief-owner [hidden],.fxm-ief-mediation [hidden] { display:none!important; }
 .fxm-ief-owner { position:fixed;inset:0;width:100%;height:var(--fxm-ios-visible-height,100dvh);max-width:100%;max-height:100%;margin:0;border-radius:0;background:#f8f9fb;color:#1c1c21;font-family:var(--fxm-ios-font,system-ui); }
 .fxm-ief-owner[open] { display:flex;flex-direction:column;animation:fxm-ief-step-in .2s ease-out; }
 .fxm-ief-owner::backdrop { background:#20253266; }
 .fxm-ief-owner-header { display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;flex:0 0 56px;background:#fff;border-bottom:.5px solid #e9edf2;padding:0 12px; }
 .fxm-ief-owner-header h2 { margin:0;font-size:18px;font-weight:600;text-align:center; }
 .fxm-ief-owner-header button { display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:#1c1c21; }
 .fxm-ief-owner-body { flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:16px;padding:16px 16px calc(24px + env(safe-area-inset-bottom)); }
 .fxm-ief-owner-card { flex-shrink:0;padding:16px;border-radius:16px;background:#fff;min-width:0; }
 .fxm-ief-owner-card h3 { margin:0 0 14px;font-size:16px;font-weight:600; }
 .fxm-ief-owner-card p { margin:0; }
 .fxm-ief-owner-hero h1 { font-size:20px;line-height:1.5;margin:10px 0;font-weight:600;overflow-wrap:anywhere; }
 .fxm-ief-owner-status { display:inline-flex;max-width:100%;padding:4px 8px;border-radius:6px;color:#6040c0;background:#6040c00d;font-size:12px; }
 .fxm-ief-owner-status[data-status=rejected],.fxm-ief-owner-status[data-status=offline] { color:#a1641c;background:#fff4e6; }
 .fxm-ief-owner-code { font:400 13px/1.5 var(--fxm-ios-number-font,system-ui);color:#6b7380; }
 .fxm-ief-owner-meta { margin-top:8px!important;color:#8f96a2;font-size:12px;line-height:1.5; }
 .fxm-ief-owner-card .fxm-ief-selection { background:transparent;border:0;padding:0;min-height:56px; }
 .fxm-ief-owner .fxm-ief-broker-logo { width:56px;height:56px;flex-basis:56px; }
 .fxm-ief-owner-card > a:has(.fxm-ief-selection) { display:block; }
 .fxm-ief-owner-content,.fxm-ief-owner-reason,.fxm-ief-owner-reply p,.fxm-ief-owner-event p { white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7; }
 .fxm-ief-owner-row { display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 0;border-top:.5px solid #e9edf2;font-size:14px; }
 .fxm-ief-owner-content + .fxm-ief-owner-row { margin-top:16px; }
 .fxm-ief-owner-row > span { color:#6b7380;flex-shrink:0; }
 .fxm-ief-owner-row strong { font-weight:400;text-align:right;overflow-wrap:anywhere;min-width:0; }
 .fxm-ief-owner-action { display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 14px;border:0;border-radius:12px;background:#f2f3f5;color:#6040c0;font-size:14px;text-align:center;line-height:1.5;overflow-wrap:anywhere;width:100%;box-sizing:border-box; }
 .fxm-ief-owner-action.is-primary { background:#6040c0;color:#fff;font-size:16px;font-weight:600; }
 .fxm-ief-owner-state { color:#6b7380;text-align:center;font-size:14px;line-height:1.6;padding:24px 0; }
 .fxm-ief-owner-evidence { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
 .fxm-ief-owner-file button { display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:64px;width:100%;padding:8px;gap:8px;border:.5px solid #e9edf2;border-radius:12px;background:#f2f3f5;overflow-wrap:anywhere;font-size:12px;color:#6040c0; }
 .fxm-ief-owner-file img { display:block;width:100%;height:120px;object-fit:cover;border-radius:8px; }
 .fxm-ief-owner-mediation { margin-top:8px;flex-direction:column;align-items:flex-start;text-align:left; }
 .fxm-ief-owner-mediation strong { font:500 14px var(--fxm-ios-number-font,system-ui); }
 .fxm-ief-owner-mediation span { font-size:12px; }
 .fxm-ief-owner-reply,.fxm-ief-owner-event { padding:12px 0;border-bottom:.5px solid #e9edf2; }
 .fxm-ief-owner-reply:last-child,.fxm-ief-owner-event:last-child { border:0;padding-bottom:0; }
 .fxm-ief-owner-event strong { display:block;margin-bottom:6px;font-size:14px; }
 .fxm-ief-owner :is(.fxm-ief-owner-reply,.fxm-ief-owner-event) time { display:block;margin-top:8px;font-size:12px;color:#8f96a2; }
 .fxm-ief-mediation { position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:720px;height:calc(var(--fxm-ios-visible-height,100dvh) - 12px);max-height:calc(var(--fxm-ios-visible-height,100dvh) - 12px);border:0;border-radius:22px 22px 0 0;background:#fff;color:#1c1c21;font-family:var(--fxm-ios-font,system-ui); }
 .fxm-ief-mediation[open] { animation:fxm-ief-sheet-in .24s ease-out; }
 .fxm-ief-mediation::backdrop { background:#20253266;backdrop-filter:blur(2px); }
 .fxm-ief-mediation .fxm-med-dialog__form { height:100%;max-height:none; }
 .fxm-ief-mediation .fxm-med-dialog__header { min-height:64px;padding:8px 20px;position:relative;justify-content:center;align-items:center; }
 .fxm-ief-mediation .fxm-med-dialog__header h2 { font-size:18px;line-height:1.4;text-align:center; }
 .fxm-ief-mediation .fxm-med-dialog__header p { display:none; }
 .fxm-ief-mediation .fxm-med-dialog__close { position:absolute;left:8px;right:auto;top:10px;width:44px;height:44px;background:transparent;color:#6040c0;border:0; }
 .fxm-ief-mediation .fxm-med-dialog__body { display:flex;flex-direction:column;gap:24px;padding:20px; }
 .fxm-ief-mediation .fxm-med-dialog__body > * { flex-shrink:0; }
 .fxm-ief-mediation .fxm-med-dialog__flow,.fxm-ief-mediation .fxm-med-dialog__section,.fxm-ief-mediation .fxm-med-dialog__choices { display:none; }
 .fxm-ief-mediation .fxm-med-dialog__case { margin:0;border:0;padding:12px;background:#f5f4fa;border-radius:12px; }
 .fxm-ief-mediation .fxm-med-dialog__case strong { font-size:14px; }
 .fxm-ief-mediation .fxm-med-dialog__case span { font-size:12px; }
 .fxm-ief-mediation .fxm-med-dialog__field { margin:0;padding:0;border:0; }
 .fxm-ief-mediation .fxm-med-dialog__field > :is(label,legend),.fxm-ief-mediation .fxm-med-dialog__label { font-size:14px;font-weight:600;margin-bottom:8px; }
 .fxm-ief-mediation .fxm-ief-claim-select { display:block;width:100%;min-height:48px;padding:10px 12px;border:.5px solid #e9edf2;border-radius:12px;background:#f2f3f5;font-size:16px; }
 .fxm-ief-mediation :is(.fxm-med-dialog__input,.fxm-med-dialog__money,.fxm-med-dialog__textarea) { border:.5px solid #e9edf2;border-radius:12px;background:#f2f3f5;box-shadow:none; }
 .fxm-ief-mediation .fxm-med-dialog__input { min-height:48px;font-size:16px;padding:12px; }
 .fxm-ief-mediation .fxm-med-dialog__money input { min-height:48px;font-size:16px; }
 .fxm-ief-mediation .fxm-med-dialog__textarea textarea { min-height:176px;font-size:16px;line-height:1.65;padding:12px 12px 30px;background:transparent; }
 .fxm-ief-mediation .fxm-med-dialog__count { font:400 12px var(--fxm-ios-number-font,system-ui); }
 .fxm-ief-mediation :is(.fxm-med-dialog__note,.fxm-med-dialog__known) { font-size:12px;line-height:1.6; }
 .fxm-ief-mediation .fxm-med-dialog__drop { min-height:88px;padding:16px;border:1px dashed #6040c04d;border-radius:12px;background:#f5f3fb; }
 .fxm-ief-mediation .fxm-med-dialog__drop-icon { background:none; }
 .fxm-ief-mediation .fxm-med-dialog__drop strong { font-size:14px; }
 .fxm-ief-mediation .fxm-med-dialog__drop small { font-size:12px;line-height:1.5; }
 .fxm-ief-mediation .fxm-med-dialog__declaration { margin:0;padding:16px;border:0;border-radius:12px;background:#f2f3f5; }
 .fxm-ief-mediation .fxm-med-dialog__declaration-text { max-height:none;overflow:visible;border:0;padding:0;margin-top:12px;font-size:14px;line-height:1.7; }
 .fxm-ief-mediation .fxm-med-dialog__agree { display:flex;align-items:center;gap:12px;min-height:44px;margin-top:16px;font-size:14px; }
 .fxm-ief-mediation .fxm-med-dialog__agree input { appearance:none;position:relative;order:1;flex:0 0 44px;width:44px;height:27px;margin:0;border:0;border-radius:20px;background:#d8dce3; }
 .fxm-ief-mediation .fxm-med-dialog__agree input::after { content:'';position:absolute;width:23px;height:23px;top:2px;left:2px;border-radius:50%;background:#fff;transition:transform .15s; }
 .fxm-ief-mediation .fxm-med-dialog__agree input:checked { background:#6040c0; }
 .fxm-ief-mediation .fxm-med-dialog__agree input:checked::after { transform:translateX(17px); }
 .fxm-ief-mediation .fxm-med-dialog__agree span { flex:1; }
 .fxm-ief-mediation .fxm-med-dialog__footer { padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:.5px solid #e9edf2; }
 .fxm-ief-mediation .fxm-med-dialog__footer .fxm-med-dialog__secondary { display:none; }
 .fxm-ief-mediation .fxm-med-dialog__primary { min-height:48px;width:100%;padding:10px 14px;background:linear-gradient(120deg,#7858d4,#6040c0);border:0;border-radius:12px;font-size:16px;font-weight:600; }
}
@media(prefers-reduced-motion:reduce) { .fxm-ief-owner[open],.fxm-ief-mediation[open] { animation:none; } }

@media(max-width:767.98px) {
 .fxm-ief-mediation .fxm-med-dialog__header { display:grid;grid-template-columns:65px minmax(0,1fr) 65px;gap:4px; }
 .fxm-ief-mediation .fxm-med-dialog__header > div { grid-column:2;grid-row:1; }
 .fxm-ief-mediation .fxm-med-dialog__header .fxm-med-dialog__close { position:static;grid-column:1;grid-row:1;width:auto;height:44px;font-size:16px;text-align:left;border-radius:0;padding:0; }
 .fxm-ief-mediation .fxm-med-dialog__header .fxm-med-dialog__close svg { display:none; }
 .fxm-ief-mediation .fxm-med-dialog__close .fxm-ief-mobile { display:block; }
 .fxm-ief-ready .fxm-exposure-modal__textarea textarea,.fxm-ief-mediation textarea { resize:none; }
 .fxm-ief-mediation .fxm-med-dialog__primary:disabled { opacity:.45; }
}

@media(max-width:767.98px) {
 .fxm-ief-warning { background:#f8f9fb;color:#6b7380; }
 .fxm-ief-warning::before { border:0;border-radius:0;background:#fa4266;color:white;clip-path:polygon(50% 0,100% 100%,0 100%);font-size:12px;line-height:20px;padding-top:3px; }
 .fxm-ief-ready :is(.fxm-exposure-modal__input-shell,.fxm-exposure-modal__textarea,.fxm-exposure-modal__select),.fxm-ief-categories button,.fxm-ief-selection { background:#f8f9fb; }
 .fxm-ief-ready :is(#fxm-exposure-title-count,#fxm-exposure-detail-count) { display:block;position:static;margin:10px 0 0;text-align:right;font:400 12px/1.4 var(--fxm-ios-number-font,system-ui);color:#9a9fa8; }
 .fxm-ief-ready .fxm-ief-selection .fxm-ief-broker-logo { width:56px;height:56px;flex-basis:56px; }
 .fxm-ios-exposure-flows .fxm-exposure-row { background:#f2f2f7; }
 .fxm-ios-exposure-flows .fxm-exposure-row .fxm-exposure-row-title a { padding:0;min-height:0; }
 .fxm-ios-exposure-flows .fxm-exposure-row-owner-title::after { content:'';position:absolute;inset:0;border-radius:14px; }
 .fxm-ios-exposure-flows .fxm-exposure-row > .fxm-account-link { position:relative;z-index:1; }
 .fxm-ios-exposure-flows .fxm-exposure-row .fxm-exposure-row-meta { display:none; }
 .fxm-ios-exposure-flows .fxm-mediation-row { padding:16px!important;border:.5px solid #e9edf2!important;border-radius:16px!important;gap:12px; }
 .fxm-ief-mediation-identity { order:0; }
 .fxm-ios-exposure-flows .fxm-ief-mediation-identity .fxm-ios-case-logo { width:34px;height:34px;flex-basis:34px;border:0!important;border-radius:0!important; }
 .fxm-ief-mediation-identity .fxm-ief-case-identity-info { gap:0; }
 .fxm-ief-mediation-identity .fxm-mediation-badge { max-width:45%;color:#6b7380;background:#f2f3f5;align-self:center; }
 .fxm-ios-exposure-flows .fxm-mediation-row .fxm-exposure-row-title a { min-height:0;padding:0; }
 .fxm-ief-mediation-amount { order:2;display:flex;flex-direction:column;gap:5px; }
 .fxm-ief-mediation-amount > span { color:#6b7380;font-size:12px; }
 .fxm-ief-mediation-amount > strong { font:500 18px/1.3 var(--fxm-ios-number-font,system-ui);color:#1c1c21; }
 .fxm-ief-mediation-meta { order:4;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#6b7380; }
 .fxm-ios-exposure-flows .fxm-ief-mediation-meta .fxm-exposure-row-code { font-size:12px; }
 .fxm-ios-exposure-flows .fxm-mediation-row-foot { order:5; }
 .fxm-ios-exposure-flows .fxm-mediation-row:not(.is-waiting) .fxm-mediation-row-foot { display:none; }
 .fxm-ios-exposure-flows .fxm-mediation-row .fxm-exposure-row-title a::after { content:'';position:absolute;inset:0;border-radius:16px; }
 .fxm-ios-exposure-flows .fxm-mediation-row-foot a { position:relative;z-index:1; }
}

.fxm-ief-evidence-viewer { position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:64px 12px 20px;border:0;background:#101116;box-sizing:border-box; }
.fxm-ief-evidence-viewer[open] { display:grid;place-items:center; }
.fxm-ief-evidence-viewer header { position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;height:56px;padding:0 16px; }
.fxm-ief-evidence-viewer header :is(button,a) { display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border:0;background:transparent;color:#fff;font-size:14px; }
.fxm-ief-evidence-viewer > img { max-width:100%;max-height:100%;object-fit:contain; }

.fxm-exposure-modal__optional { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
@media(max-width:767.98px) {
 .fxm-ief-ready .fxm-exposure-modal__optional { display:flex;flex-direction:column;gap:24px; }
 .fxm-ief-ready .fxm-exposure-modal__field > :is(label,legend),.fxm-ief-ready .fxm-exposure-modal__group > legend,.fxm-ief-categories button { font-size:16px; }
 .fxm-ief-ready .fxm-ief-prev { flex:0 0 104px;max-width:none;padding:10px 8px; }
 .fxm-ief-ready .fxm-ief-next { flex:1; }
 .fxm-ief-ready .fxm-exposure-modal__sync { width:100%; }
 .fxm-ief-ready .fxm-ief-step[data-fxm-ief-step="2"] > .fxm-ief-anonymous { order:2; }
 .fxm-ief-ready .fxm-ief-step[data-fxm-ief-step="2"] > .fxm-exposure-modal__sync:not(.fxm-ief-anonymous) { order:3; }
}

@media(max-width:767.98px) {
 .fxm-ief-ready .fxm-exposure-modal__header,.fxm-ief-mediation .fxm-med-dialog__header { grid-template-columns:80px minmax(0,1fr) 80px; }
 .fxm-ief-ready .fxm-exposure-modal__header .fxm-exposure-modal__close,.fxm-ief-mediation .fxm-med-dialog__header .fxm-med-dialog__close { white-space:nowrap; }
 .fxm-ief-ready .fxm-exposure-modal__actions > .fxm-ief-prev { flex:0 0 104px;width:104px;min-width:0;max-width:none; }
 .fxm-ief-ready .fxm-exposure-modal__actions > .fxm-ief-next { flex:1 1 0;width:auto;min-width:0; }
}

@media(max-width:767.98px) {
 .fxm-ios-exposure-flows .fxm-exposure-row:has(.fxm-ios-case-logo) { display:flex;flex-direction:column;gap:8px; }
 .fxm-ios-exposure-flows .fxm-ief-case-identity { width:100%;min-width:0; }
 .fxm-ios-exposure-flows .fxm-ief-case-identity-info { min-width:0;flex:1 1 0; }
 .fxm-ios-exposure-flows .fxm-ief-case-identity .fxm-exposure-row-broker { align-self:flex-start;margin:0; }
 .fxm-ios-exposure-flows .fxm-ios-account-status { border:0;background:transparent;padding:0;box-shadow:none; }
 .fxm-ios-exposure-flows .fxm-ios-account-status select { width:auto;max-width:100%;min-height:44px;padding:8px 24px 8px 12px;border:0;background-color:transparent;color:#6040c0;font-size:16px; }
}

@media(max-width:767.98px) {
 .fxm-ief-apply [data-fxm-apply-amount] { width:100%;order:0; }
 .fxm-ief-apply [data-fxm-apply-amount]::placeholder { font-size:16px; }
 .fxm-ief-apply div:has(> [data-fxm-apply-amount]) { flex-direction:column;gap:8px; }
 .fxm-ief-apply .fxm-ief-currency-label { display:block;order:1;font-size:16px;font-weight:600;margin-top:16px; }
 .fxm-ief-apply [data-fxm-apply-currency] { order:2;width:100%; }
 .fxm-ief-apply h3 { font-size:16px!important; }
 .fxm-ief-apply [data-fxm-apply-form-view] > [hidden] { display:none!important; }
}

@media(max-width:767.98px) {
 .fxm-ios-exposure-flows .fxm-ief-case-identity .fxm-exposure-row-broker { align-self:flex-start!important; }
 .fxm-ios-exposure-flows.fxm-ios-account-activity .fxm-ios-account-status { padding:0;background:transparent;border:0;border-radius:0; }
 .fxm-ios-exposure-flows.fxm-ios-account-activity .fxm-ios-account-status select { background-color:transparent;color:#6040c0;width:auto; }
}

@media(max-width:767.98px) {
 .fxm-ief-mediation .fxm-med-dialog__amount { background:transparent!important;padding:0!important;border-radius:0; }
 .fxm-ief-mediation .fxm-med-dialog__money { display:flex;flex-direction:column;align-items:stretch;gap:8px;border:0;background:transparent;overflow:visible; }
 .fxm-ief-mediation .fxm-med-dialog__money > input[data-fxm-md-amount] { order:0;width:100%;min-height:48px;border:.5px solid #e9edf2;border-radius:12px;background:#f2f3f5;padding:12px;box-sizing:border-box; }
 .fxm-ief-mediation .fxm-ief-md-currency-label { display:block;order:1;margin-top:16px;font-size:16px;font-weight:600; }
 .fxm-ief-mediation .fxm-med-dialog__currency { order:2;width:100%;min-height:48px;justify-content:space-between;border:.5px solid #e9edf2;border-radius:12px;background:#f2f3f5;color:#1c1c21;padding:12px;font-size:16px; }
 .fxm-ief-mediation .fxm-med-dialog__money-symbol { display:none; }
 .fxm-ief-mediation .fxm-med-dialog__field > :is(label,legend),.fxm-ief-mediation .fxm-med-dialog__label { font-size:16px; }
}

@media(max-width:767.98px) {
 .fxm-ief-mediation .fxm-med-dialog__money { height:auto;min-height:0;max-height:none; }
 .fxm-ief-mediation .fxm-med-dialog__currency { position:relative;inset:auto;box-sizing:border-box;flex:none; }
}

/* Mobile success keeps the receipt private and returns to the owner's case list. */
@media(max-width:767.98px) {
  .fxm-ief-ready .fxm-exposure-modal__success .fxm-ief-success-mine { display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 20px;border-radius:14px;background:#6040c0;color:#fff;font-size:16px;font-weight:600;line-height:1.4;text-decoration:none;overflow-wrap:anywhere; }
  .fxm-ief-ready .fxm-exposure-modal__success [data-fxm-exposure-modal-close] { display:none; }
  .fxm-ief-ready .fxm-exposure-modal__success [data-fxm-exposure-modal-continue] { padding:8px 12px;border:0;background:transparent;color:#6040c0;font-size:16px;box-shadow:none; }
  /* These account routes have a native-sized title in the common header. */
  [data-fxm-ios-case-flow] .fxm-account-card-heading > div { position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
  [data-fxm-ios-case-flow].is-ios-account-activity-ready .fxm-account-exposures { display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.4fr);column-gap:12px;align-items:start; }
  [data-fxm-ios-case-flow].is-ios-account-activity-ready .fxm-account-exposures > * { grid-column:1 / -1; }
  [data-fxm-ios-case-flow].is-ios-account-activity-ready .fxm-account-card-heading { grid-column:2;grid-row:1;justify-content:flex-end;margin:0 0 12px;min-height:44px; }
  [data-fxm-ios-case-flow] .fxm-account-card-heading > .fxm-account-button { min-height:44px;padding:8px 0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#6040c0;font-size:16px;line-height:1.4;font-weight:400;text-align:right;overflow-wrap:anywhere; }
  [data-fxm-ios-case-flow].is-ios-account-activity-ready .fxm-ios-account-status { grid-column:1;grid-row:1;min-height:44px;margin:0 0 12px;padding:0;background:transparent;border-radius:0; }
  [data-fxm-ios-case-flow] .fxm-ios-account-status select { min-height:44px;padding:8px 24px 8px 0;background-color:transparent;border-radius:0; }
  [data-fxm-ios-case-flow] .fxm-account-loading { min-height:96px;padding:24px 16px;gap:10px; }
  [data-fxm-ios-case-flow] .fxm-account-empty { margin:0;padding:24px 16px;gap:12px; }
  [data-fxm-ios-case-flow] .fxm-account-empty-icon { width:44px;height:44px;margin:0;background:transparent; }
  [data-fxm-ios-case-flow] .fxm-account-empty h3 { font-size:16px;line-height:1.4; }
  [data-fxm-ios-case-flow] .fxm-account-empty p { margin:0;font-size:14px;line-height:1.5; }
  [data-fxm-ios-case-flow] [hidden] { display:none!important; }
}
