/* The IIBM app (update 129): the weekly reminder banner and the App and alerts page. Uses the skin colours. */
.pwa-banner { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(520px, calc(100% - 24px));
  transform: translate(-50%, 140%); transition: transform .25s ease; display: flex; gap: 12px; align-items: flex-start;
  background: var(--card, #fff); color: var(--ink, #1e2b2a); border: 1px solid var(--line-strong, #d9cfbf); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 12px 14px; }
.pwa-banner.show { transform: translate(-50%, 0); }
.pwa-banner[hidden], [data-pwa-install][hidden], [data-pwa-ios][hidden], [data-pwa-other][hidden], [data-push-on][hidden], [data-push-off][hidden], [data-push-blocked][hidden], [data-pwa-msg][hidden] { display: none !important; }
.pwa-banner img { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 44px; border: 1px solid var(--line, #e6ddcf); }
.pwa-banner .pb-txt { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.45; }
.pwa-banner .pb-txt strong { display: block; font-size: 15px; margin-bottom: 2px; }
.pwa-banner .pb-act { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.pwa-banner .pb-act .btn { min-height: 36px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pwa-banner { transition: none; } }
@media (max-width: 420px) { .pwa-banner { flex-wrap: wrap; } .pwa-banner .pb-act { flex-direction: row; width: 100%; justify-content: flex-end; } }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.app-hero { display: flex; gap: 14px; align-items: center; }
.app-hero img { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--line, #e6ddcf); }
.app-steps { margin: 6px 0 0; padding-left: 20px; }
.app-steps li { margin-bottom: 4px; }
.app-state { font-weight: 600; }
.app-cats label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line, #e6ddcf); font-weight: 600; }
.app-cats label:last-of-type { border-bottom: 0; }
.app-cats input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.app-cats .small { display: block; font-weight: 400; }
.app-msg { background: var(--brand-soft, #e2f0ed); border-radius: 6px; padding: 8px 10px; }
.push-opt { border: 1px dashed var(--line-strong, #d9cfbf); border-radius: 8px; padding: 8px 12px; margin: 10px 0; }
.push-opt legend { font-weight: 700; padding: 0 4px; }
.nav-getapp .nav-ico { font-size: 15px; }
