body.ecs-hfp-open { overflow: hidden; }
dialog.ecs-hfp-panel {
 position: fixed; inset: 0 0 0 auto; margin: 0; box-sizing: border-box;
 width: min(560px, 100%); max-width: 100%; height: 100%; height: 100dvh; max-height: 100%;
 padding: 72px 36px 36px; border: 0; border-top: 5px solid #ec7614;
 background: #fff; color: #0d3347; overflow-y: auto; overscroll-behavior: contain;
 font-family: Montserrat, Arial, sans-serif; text-align: left;
 box-shadow: -16px 0 60px rgba(0,0,0,.2);
}
dialog.ecs-hfp-panel:not([open]) { display: none; }
dialog.ecs-hfp-panel[open] { animation: ecs-hfp-in .24s ease-out; }
dialog.ecs-hfp-panel::backdrop { background: rgba(4,24,35,.65); }
.ecs-hfp-panel .ecs-hfp-title { color: #0d3347; font-size: clamp(26px, 5vw, 36px); line-height: 1.2; margin: 0 0 16px; }
.ecs-hfp-panel .ecs-hfp-description { font-size: 16px; line-height: 1.5; margin: 0 0 24px; white-space: pre-line; }
.ecs-hfp-panel .ecs-hfp-status { color: #405866; font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
.ecs-hfp-panel button.ecs-hfp-close {
 position: absolute; right: 16px; top: 16px; display: grid; place-items: center;
 min-width: 44px; width: 44px; height: 44px; padding: 0; margin: 0;
 background: transparent; border: 1px solid #ccd5da; border-radius: 0;
 color: #0d3347; font: 32px/1 Arial, sans-serif; cursor: pointer;
}
.ecs-hfp-panel button.ecs-hfp-retry { background: #05c2de; color: #0d3347; padding: 12px 20px; border: 0; cursor: pointer; font: inherit; }
.ecs-hfp-panel button::before, .ecs-hfp-panel button::after { content: none; }
.ecs-hfp-panel button:focus-visible { outline: 3px solid #ec7614; outline-offset: 3px; }
.ecs-hfp-panel [hidden] { display: none !important; }
.ecs-hfp-panel .ecs-hfp-form { width: 100%; min-width: 0; }
.ecs-hfp-panel iframe { max-width: 100%; border: 0; }
@keyframes ecs-hfp-in { from { opacity: .5; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 600px) { dialog.ecs-hfp-panel { padding: 72px 20px 28px; } }
@media (prefers-reduced-motion: reduce) { dialog.ecs-hfp-panel[open] { animation: none; } }
