/* Native install invitation; independent of retired plugin/theme layouts. */
#ageenda-native-install[hidden]{display:none!important}
.ageenda-cookie-notice:not([hidden]) ~ #ageenda-native-install[data-preview="0"]{display:none}
#ageenda-native-install{box-sizing:border-box;position:fixed;z-index:900;left:50%;right:auto;bottom:24px;transform:translateX(-50%);width:min(720px,calc(100% - 32px));margin:0;padding:18px 20px;border:1px solid #ffffff40;border-radius:18px;box-shadow:0 12px 40px #062c3c24;text-align:left;white-space:normal;font:14px/1.5 system-ui,sans-serif;background:#fff;color:var(--ageenda-brand-primary,#062c3c)}
#ageenda-native-install .add-button-span{display:grid;grid-template-columns:44px minmax(0,1fr) auto 44px;grid-template-areas:"icon copy action close";align-items:center;gap:16px}
#ageenda-native-install .ageenda-install-icon{grid-area:icon}
#ageenda-native-install .ageenda-install-copy{grid-area:copy}
#ageenda-native-install .add-button_call-span{grid-area:action}
#ageenda-native-install .ageenda-install-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:color-mix(in srgb,currentColor 12%,transparent);color:inherit}
#ageenda-native-install .ageenda-install-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#ageenda-native-install .ageenda-install-copy{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}
#ageenda-native-install .add-button_description{font-size:14px;font-weight:650;line-height:1.5}
#ageenda-native-install button{box-sizing:border-box;appearance:none;margin:0;border:0;box-shadow:none;text-transform:none;letter-spacing:normal;font-family:inherit;cursor:pointer}
#ageenda-native-install .add-button_call{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:100px;padding:10px 20px;background:var(--ageenda-brand-primary,#062c3c);color:#fff;font-size:14px;font-weight:650;line-height:1.4;white-space:nowrap}
#ageenda-native-install .ageenda-install-note{font-size:12px;line-height:1.5;opacity:.9}
#ageenda-native-install .add-button_call[aria-disabled=true]{cursor:default}
#ageenda-native-install .ageenda-install-close{grid-area:close;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:12px;background:color-mix(in srgb,currentColor 10%,transparent);color:inherit}
#ageenda-native-install .ageenda-install-close:hover{background:color-mix(in srgb,currentColor 18%,transparent)}
#ageenda-native-install .ageenda-install-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
#ageenda-native-install button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:600px){
  #ageenda-native-install{bottom:calc(16px + env(safe-area-inset-bottom));padding:16px;border-radius:16px}
  #ageenda-native-install[data-preview="1"]{--ageenda-install-preview-bottom:calc(16px + env(safe-area-inset-bottom))}
  #ageenda-native-install .add-button-span{grid-template-columns:36px minmax(0,1fr) 44px;grid-template-areas:"icon copy close" "action action action";gap:12px}
  #ageenda-native-install .ageenda-install-icon{width:36px;height:36px;border-radius:11px}
  #ageenda-native-install .ageenda-install-icon svg{width:24px;height:24px}
  #ageenda-native-install .add-button_call{width:100%;padding:10px 16px}
}
@media(max-width:767px){
  .ageenda-mobile-shortcuts ~ #ageenda-native-install{bottom:calc(112px + env(safe-area-inset-bottom))}
  .ageenda-mobile-shortcuts ~ #ageenda-native-install[data-preview="1"]{--ageenda-install-preview-bottom:calc(112px + env(safe-area-inset-bottom))}
}
#ageenda-native-install[data-preview="1"]{bottom:max(var(--ageenda-install-preview-bottom,24px),var(--ageenda-install-notice-bottom,0px))}
