/* HG104: fixed header/footer, one scrollable central body. No changes to inline personalization. */
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c)[open]{display:flex!important;flex-direction:column!important;position:fixed!important;top:var(--hg104-top,8px)!important;bottom:auto!important;margin:0 auto!important;width:700px!important;max-width:calc(100% - 16px)!important;height:auto!important;max-height:var(--hg104-height,calc(100dvh - 16px))!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) > .hg104-header{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex:0 0 auto!important;min-height:64px!important;padding:12px 20px!important;margin:0!important;background:#94D0C4!important;box-sizing:border-box!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-header :is(h2,h3){padding:0!important;margin:0!important;min-height:0!important;display:block!important;font-size:22px!important;line-height:1.25!important;font-weight:400!important;background:transparent!important;flex:1!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-header button{position:static!important;margin:0!important;flex:0 0 auto!important;min-height:44px!important;padding:8px 12px!important;width:auto!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) > form{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;scroll-padding:0!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scroll-padding:20px;padding:20px!important;box-sizing:border-box!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-footer{position:static!important;flex:0 0 auto!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important;margin:0!important;padding:12px 20px max(12px,env(safe-area-inset-bottom))!important;border-top:1px solid #E8E1E6!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-footer button{flex:1 1 150px!important;width:auto!important;min-height:44px!important;margin:0!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-footer [hidden]{display:none!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) textarea{resize:none!important;overflow:hidden!important;max-height:none!important;box-sizing:border-box!important;font-size:16px!important;line-height:1.5!important;scroll-margin:16px}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) :is(.hg102-ideas,[data-hg102-suggestions]){max-height:none!important;height:auto!important;overflow:visible!important}
@media(max-width:575px){html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c)[open]{height:var(--hg104-height,calc(100dvh - 16px))!important;border-radius:12px!important}html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) > .hg104-header{padding:10px 16px!important;min-height:60px!important}html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-header :is(h2,h3){font-size:20px!important}html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-body{padding:16px!important}html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-footer{padding:8px 16px max(8px,env(safe-area-inset-bottom))!important}html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-footer button{flex:1 1 110px!important;font-size:14px!important}}

/* HG105: remove inherited title separator only inside shared dialog headers. */
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-header :is(h2,h3){border:0!important;box-shadow:none!important;background-image:none!important;text-decoration:none!important}
html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-header :is(h2,h3)::before,html body dialog.hg104-modal:not(#hg104-a):not(#hg104-b):not(#hg104-c) .hg104-header :is(h2,h3)::after{content:none!important;display:none!important}
