/* « Notifications » page of the public site (webapp/templates/public/notifications.html). */
.push-layout{max-width:820px}
.push-panel{margin:0 0 2.4rem;padding:1.4rem 1.5rem;border:3px solid var(--purple);border-radius:6px 22px 6px 22px;background:var(--white)}
.push-status{margin:0 0 1rem;font-size:1.12rem;font-weight:800;color:var(--ink)}
.push-actions{display:flex;flex-wrap:wrap;gap:1rem}
.push-actions .button[hidden]{display:none}
.push-actions .button:disabled{cursor:progress;opacity:.7}
.push-facts,.push-ios ol{margin:0 0 2rem;padding-left:1.3rem;line-height:1.55}
.push-facts li,.push-ios li{margin-bottom:.55rem}
.essential-content .push-ios h2{font-size:clamp(1.6rem,2.6vw,2.2rem)}
.push-ios{padding:1.2rem 1.4rem .2rem;border-left:6px solid var(--cyan);background:#fff}
.push-ios.is-highlighted{border-left-color:var(--orange);box-shadow:5px 5px 0 var(--ink)}
/* Each device's choice of notification types (shown once subscribed). */
.push-topics{margin:1.4rem 0 0;padding:.9rem 1.1rem 1rem;border:2px solid #e2d1ea;border-radius:12px;min-width:0}
.push-topics[hidden]{display:none}
.push-topics legend{padding:0 .4rem;font-weight:900;color:var(--purple)}
.push-topics label{display:flex;align-items:center;gap:.7rem;min-height:44px;font-weight:700;cursor:pointer}
.push-topics input{width:22px;height:22px;flex:none;margin:0;accent-color:#5f2786}
.push-topics input:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.push-topics-status{margin:.4rem 0 0;font-weight:800}
.push-topics-status:empty{display:none}
@media (max-width:600px){.push-panel{padding:1.1rem}.push-actions .button{width:100%}}

/* « L’application de l’APE » on the homepage (webapp/templates/public/index.html), shown by pwa.js. */
.home-install{width:min(1242px,calc(100% - 2.4rem));margin:1rem auto 1.8rem;padding:1.1rem 1.6rem;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:0 1.4rem;background:#f9f5fc;border:1px solid #eadfea;border-radius:18px;color:#4c216b}
.home-install[hidden],.home-install [hidden]{display:none}
.home-install-icon{display:block;width:64px;height:64px;border-radius:16px;box-shadow:0 6px 14px rgba(77,28,99,.14)}
.home-install h2{margin:0 0 .2rem;font-size:1.6rem;color:#542177}
.home-install-copy p{margin:0;font-size:.98rem;line-height:1.45}
.home-install-steps{margin:.6rem 0 0;padding-left:1.3rem;line-height:1.5;font-weight:700}
.home-install-steps li{margin-bottom:.3rem}
.home-install-nowrap{white-space:nowrap}
.home-install-share{width:1.2em;height:1.2em;margin:0 .05em 0 .3em;vertical-align:-.22em;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home-install-copy .home-install-status:not(:empty){margin-top:.5rem;font-weight:900}
.home-install-button{min-height:52px;margin:0;padding:.75rem 1.5rem;border:0;border-radius:30px;background:#5f2786;color:#fff;font-size:1.02rem;box-shadow:0 10px 20px rgba(77,28,99,.16)}
.home-install-button:hover{transform:none;background:#4c216b;box-shadow:0 6px 14px rgba(77,28,99,.2)}
.home-install-button:disabled{cursor:progress;opacity:.7}
/* Mobile: the icon beside the title, then the text and a full-width button. */
@media (max-width:700px){
  .home-install{margin:0 auto 1.4rem;padding:1rem;grid-template-columns:48px minmax(0,1fr);column-gap:.9rem}
  .home-install-copy{display:contents}
  .home-install-icon{width:48px;height:48px;border-radius:12px}
  .home-install h2{margin:0;font-size:1.4rem}
  .home-install-copy p,.home-install-steps,.home-install-button{grid-column:1/-1}
  .home-install-copy p{margin-top:.6rem}
  .home-install-copy .home-install-status:empty{margin:0}
  .home-install-button{width:100%;margin-top:.9rem}
}

/* « Être prévenu… ? » banner at the top of the public pages, in the page flow (pwa.js loads this file first). */
.push-banner{background:#f3eaf8;border-bottom:1px solid #e2d1ea;color:#3f1b59}
.push-banner-inner{width:min(1242px,calc(100% - 2rem));margin:0 auto;padding:.7rem 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1.2rem}
.push-banner-text{flex:1 1 18rem;min-width:0;margin:0;font-size:1rem;font-weight:800;line-height:1.4;overflow-wrap:anywhere}
.push-banner-text a{color:#5f2786;font-weight:900}
.push-banner-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.push-banner-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:.5rem 1.2rem;border:2px solid #5f2786;border-radius:30px;background:#fff;color:#5f2786;font:inherit;font-weight:900;line-height:1.2;text-decoration:none;cursor:pointer}
.push-banner-button:hover{background:#efe3f6}
.push-banner-button.is-primary{background:#5f2786;color:#fff}
.push-banner-button.is-primary:hover{background:#4c216b}
.push-banner-button[aria-disabled=true]{cursor:progress;opacity:.7}
.push-banner-button:focus-visible,.push-banner-text a:focus-visible{outline:3px solid #21b7d4;outline-offset:3px}
@media (max-width:600px){.push-banner-actions{width:100%}.push-banner-button{flex:1 1 0}}
