#ftd-privacy-open{position:fixed;bottom:12px;left:12px;z-index:99998;padding:8px 12px;background:#fff;color:#182b38;border:1px solid #536875;border-radius:6px;font:inherit;font-size:13px;box-shadow:0 2px 8px #0002;cursor:pointer}
#ftd-privacy-panel{position:fixed;bottom:58px;left:12px;right:12px;z-index:99999;max-width:760px;max-height:70vh;max-height:70dvh;overflow:hidden;display:flex;flex-direction:column;padding:0;background:#fff;color:#182b38;border:2px solid #536875;border-radius:8px;box-shadow:0 4px 24px #0003;font:normal 16px/1.5 system-ui,sans-serif;box-sizing:border-box}
#ftd-privacy-panel[hidden],#ftd-privacy-open[hidden]{display:none!important}
#ftd-privacy-panel h2{font-size:22px;margin:0 0 12px;color:inherit}#ftd-privacy-panel p{margin:10px 0}#ftd-privacy-panel a{color:#164d83;text-decoration:underline}
.ftd-privacy-options label{display:block;border-top:1px solid #ccd4d8;padding:12px 0;cursor:pointer}.ftd-privacy-options span{display:block;margin:4px 0 0 28px;font-size:14px}.ftd-privacy-options input{width:18px;height:18px;vertical-align:middle;margin-right:6px}
.ftd-privacy-actions{display:flex;flex-direction:column;gap:8px}#ftd-privacy-panel button,.ftd-privacy-map-button,.ftd-privacy-form-note button{background:#fff;color:#164d83;border:1px solid #164d83;border-radius:4px;padding:10px 12px;cursor:pointer;font:inherit}
#ftd-privacy-panel :focus-visible,#ftd-privacy-open:focus-visible{outline:3px solid #b05600;outline-offset:3px}.ftd-privacy-form-note{padding:12px;border:1px solid #889ca8;margin:12px 0}.ftd-privacy-map-button{display:block;margin:8px 0}

#ftd-privacy-panel .ftd-privacy-header{position:relative;flex:0 0 auto;padding:16px;border-bottom:1px solid #ccd4d8;background:#fff}
#ftd-privacy-panel h2{padding-right:38px}
#ftd-privacy-panel .ftd-privacy-actions button{width:100%;min-height:44px;text-align:center;box-sizing:border-box}
#ftd-privacy-panel .ftd-privacy-close{position:absolute;top:8px;right:8px;width:36px;height:36px;padding:0;font-size:26px;line-height:1}
#ftd-privacy-panel .ftd-privacy-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:4px 16px 16px}
@media(max-height:500px){
 #ftd-privacy-panel{max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px)}
 #ftd-privacy-panel .ftd-privacy-header{padding:8px 12px}
 #ftd-privacy-panel h2{font-size:16px;line-height:1.25;margin-bottom:6px}
 #ftd-privacy-panel .ftd-privacy-actions{gap:4px}
 #ftd-privacy-panel .ftd-privacy-actions button{min-height:32px;padding:4px 8px;font-size:14px}
}

/* Title stays above the scrollable information; actions stay below it. */
#ftd-privacy-panel > .ftd-privacy-actions{flex:0 0 auto;padding:12px 16px 16px;border-top:1px solid #ccd4d8;background:#fff}
@media(max-height:500px){#ftd-privacy-panel > .ftd-privacy-actions{padding:8px 12px}}

/* Open panel centered in the viewport; collapsed launcher stays bottom-left. */
#ftd-privacy-panel{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:calc(100% - 24px);max-width:760px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
