/* EDUPLAN AI — Banner PWA; tidak mengubah komponen aplikasi lain. */
.edu-pwa-banner {
  position: fixed;
  left: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 26px;
  align-items: start;
  gap: 13px;
  width: min(470px, calc(100vw - 44px));
  max-height: calc(100dvh - 44px);
  overflow-y: auto;
  padding: 19px;
  border: 1px solid var(--line, #e5e9f3);
  border-radius: 18px;
  background: var(--surface, #fff);
  color: var(--text, #1c2440);
  box-shadow: 0 14px 48px rgba(24, 31, 67, .18);
  font-family: inherit;
}
.edu-pwa-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 13px;
  background: #6254dc;
  color: #fff;
  font-size: 27px;
}
.edu-pwa-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface, #fff);
}
.edu-pwa-title { margin: 0 0 5px; font-size: 15px; line-height: 1.4; font-weight: 750; letter-spacing: -.2px; }
.edu-pwa-message { margin: 0 0 13px; font-size: 12px; line-height: 1.65; color: var(--muted, #758099); }
.edu-pwa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.edu-pwa-install, .edu-pwa-later {
  min-height: 39px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  font: 650 12px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.edu-pwa-install { background: var(--primary, #6254dc); color: #fff; }
[data-theme="dark"] .edu-pwa-install { color: #1c183a; }
.edu-pwa-install:disabled { cursor: wait; opacity: .65; }
.edu-pwa-later { background: var(--primary-soft, #eeebff); color: var(--primary, #6254dc); }
.edu-pwa-close { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--muted, #758099); font: 23px/1 system-ui, sans-serif; cursor: pointer; }
.edu-pwa-close:hover { background: var(--primary-soft, #eeebff); }
.edu-pwa-help { margin: 13px 0 0; font-size: 12px; line-height: 1.75; color: var(--text, #1c2440); }
.edu-pwa-banner [hidden] { display: none !important; }
.edu-pwa-banner button:focus-visible { outline: 3px solid var(--primary, #6254dc); outline-offset: 3px; }
@media (max-width: 600px) {
  .edu-pwa-banner { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); padding: 16px; gap: 11px; grid-template-columns: 42px minmax(0, 1fr) 24px; }
  .edu-pwa-icon { width: 42px; height: 42px; border-radius: 11px; }
}
