/* Keep the consent panel above the fixed consultant and its contact links. */
.endos-analytics-controls{--analytics-panel-bottom:144px;font:inherit;color:#172c36;position:relative;z-index:1201}
.endos-analytics-settings{position:fixed;right:16px;bottom:16px;z-index:1100;border:1px solid #66848c;border-radius:7px;background:#fff;color:#243f46;padding:8px 12px;font:inherit;font-size:13px;cursor:pointer;box-shadow:0 2px 12px #102a3321}
.endos-analytics-panel{box-sizing:border-box;position:fixed;z-index:1101;right:16px;bottom:var(--analytics-panel-bottom);width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - var(--analytics-panel-bottom) - 16px);overflow:auto;border:1px solid #9eb4b8;border-radius:12px;background:#fff;padding:20px;box-shadow:0 8px 36px #102a3333;font-size:14px;line-height:1.5}
.endos-analytics-panel[hidden],.endos-analytics-reload[hidden]{display:none!important}
.endos-analytics-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.endos-analytics-panel h2{margin:0;font:inherit;font-size:19px;font-weight:700;color:#173d44}
.endos-analytics-panel p{margin:12px 0;overflow-wrap:anywhere}
.endos-analytics-panel a{color:#006b73;text-decoration:underline;text-underline-offset:2px}
.endos-analytics-close{border:0;background:transparent;color:#355760;min-width:32px;min-height:32px;padding:0 5px;font:inherit;font-size:24px;line-height:1;cursor:pointer}
.endos-analytics-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.endos-analytics-buttons button,.endos-analytics-reload button{box-sizing:border-box;border:1px solid #006b73;border-radius:7px;background:#fff;color:#005963;padding:11px 16px;min-height:44px;font:inherit;font-weight:600;cursor:pointer}
.endos-analytics-buttons button{flex:1 1 160px}
.endos-analytics-buttons button:hover,.endos-analytics-reload button:hover,.endos-analytics-settings:hover{background:#eaf4f4}
.endos-analytics-controls button:focus-visible,.endos-analytics-panel a:focus-visible{outline:3px solid #087b91;outline-offset:3px}
.endos-analytics-controls button:disabled{opacity:.6;cursor:not-allowed}
.endos-analytics-status{font-size:13px;color:#3b5660}
.endos-analytics-reload{border-top:1px solid #d8e3e5;margin-top:16px;padding-top:4px}
/* The fixed mobile contact bar is present through 700px. */
@media(max-width:700px){
  .endos-analytics-controls{
    --analytics-settings-bottom:calc(140px + env(safe-area-inset-bottom,0px));
    --analytics-panel-bottom:calc(var(--analytics-settings-bottom) + 48px);
  }
  .endos-analytics-settings{bottom:var(--analytics-settings-bottom)}
}
@media(max-width:600px){
  .endos-analytics-settings{right:12px}
  .endos-analytics-panel{right:12px;width:calc(100vw - 24px);padding:16px}
  .endos-analytics-buttons{gap:8px}
  .endos-analytics-buttons button{flex-basis:110px;padding:10px 8px}
}
/* At high zoom or low height, leave room to read and scroll the open panel. */
@media(max-height:320px){
  .endos-analytics-panel{top:8px;bottom:auto;max-height:calc(100dvh - 16px)}
}
