html body dialog.dialog-fixed-navigation{isolation:isolate;box-sizing:border-box;max-height:calc(100dvh - 28px)!important;overflow-y:auto!important;scroll-padding-top:60px;scroll-padding-bottom:72px}
html body dialog.dialog-fixed-navigation>.dialog-fixed-header{position:sticky!important;top:-1px;z-index:5;display:flex;direction:ltr;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin:0 0 12px!important;padding:4px 0 8px;background:var(--theme-surface,#fffaf1);box-shadow:0 -22px 0 20px var(--theme-surface,#fffaf1)}
html body dialog.dialog-fixed-navigation .dialog-fixed-close{position:static!important;flex:none!important;display:grid!important;place-items:center!important;width:44px!important;min-width:44px!important;min-height:44px!important;height:44px!important;margin:0 0 0 auto!important;padding:0!important;line-height:1!important;font-size:28px!important;border:1px solid var(--theme-border,#819bb5)!important;border-radius:50%!important;background:var(--theme-bg,#dbe7f2)!important;color:var(--theme-text,#20374f)!important;cursor:pointer}
html body dialog.dialog-fixed-navigation>.dialog-fixed-footer{position:sticky!important;bottom:-1px;z-index:5;display:flex;direction:ltr;justify-content:flex-start;min-height:44px;margin:20px 0 0!important;padding:10px 0 0;border-top:1px solid var(--theme-border,#819bb5);background:var(--theme-surface,#fffaf1);box-shadow:0 22px 0 20px var(--theme-surface,#fffaf1)}
html body dialog.dialog-fixed-navigation .dialog-fixed-back{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;min-height:44px!important;margin:0!important;padding:8px 14px!important;border:1px solid var(--theme-border,#819bb5)!important;border-radius:22px!important;background:var(--theme-bg,#dbe7f2)!important;color:var(--theme-text,#20374f)!important;font:600 .95rem/1.2 system-ui,sans-serif!important;cursor:pointer}
.dialog-fixed-back span{font-size:24px;line-height:1}.dialog-fixed-navigation :is(.dialog-fixed-back,.dialog-fixed-close):focus-visible{outline:3px solid var(--theme-text,#20374f);outline-offset:3px}

/* All dialog return controls match training return controls without visible text. */
html body dialog.dialog-fixed-navigation button.dialog-fixed-back{display:inline-grid!important;place-items:center!important;position:fixed!important;left:max(8px,env(safe-area-inset-left))!important;bottom:max(12px,env(safe-area-inset-bottom))!important;top:auto!important;right:auto!important;width:64px!important;min-width:64px!important;height:64px!important;min-height:64px!important;max-height:64px!important;padding:0!important;gap:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--theme-accent,#701c32)!important;box-shadow:none!important;z-index:60!important}
html body dialog.dialog-fixed-navigation button.dialog-fixed-back svg{display:block!important;width:52px!important;height:52px!important;pointer-events:none}

html body dialog.dialog-fixed-navigation>.dialog-fixed-footer{min-height:76px!important;border-top:0!important;padding-top:0!important}

html body dialog.dialog-fixed-navigation .dialog-fixed-close{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;right:max(12px,env(safe-area-inset-right))!important;left:auto!important;bottom:auto!important;z-index:61!important}
html body dialog.dialog-fixed-navigation{scroll-padding-top:80px!important}

html body dialog.dialog-fixed-navigation[open] button.dialog-fixed-back{top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;z-index:100!important}
html body dialog.dialog-fixed-navigation[open] .dialog-fixed-close{z-index:101!important}
