.kpi-choice {
  border:0; background:none; color:inherit; font:inherit; padding:6px 0;
  text-decoration:underline; cursor:pointer;
}
.kpi-footer { text-align:center; padding:14px; font:14px system-ui,sans-serif; }
.kpi-panel {
  box-sizing:border-box; position:fixed; z-index:102;
  left:50%; transform:translateX(-50%); bottom:max(14px, env(safe-area-inset-bottom));
  width:min(440px, calc(100vw - 24px)); padding:14px;
  color:var(--ink,#202020); background:var(--bg,#fff);
  border:1px solid var(--line,#bbb); border-radius:12px;
  font:14px/1.45 system-ui,sans-serif; box-shadow:0 6px 24px #0002;
}
.kpi-panel[hidden] { display:none; }
.kpi-panel p { margin:8px 0; }
.kpi-panel strong { font-size:15px; }
.kpi-panel div { display:flex; gap:8px; }
.kpi-panel button {
  flex:1; padding:7px; min-height:36px; font:inherit; cursor:pointer;
  border:1px solid currentColor; border-radius:6px; color:inherit; background:none;
}
.kpi-panel button:last-child { background:var(--ink,#202020); color:var(--bg,#fff); }
@media (max-width:800px) {
  html:has(#mobile-contact:not([hidden])) {
    scroll-padding-bottom:calc(5rem + env(safe-area-inset-bottom));
  }
  body:has(#mobile-contact:not([hidden])) .site-footer {
    padding-bottom:calc(5rem + env(safe-area-inset-bottom));
  }
}
