/* css/pwa.css — באנרים בראש המסך (js/pwa-update.js). תוספות בלבד, בלי נגיעה ב-styles.css.
   המארח נכנס כילד ראשון של המסך הפעיל (אחרי פס המשתמשת), בתוך הזרימה וללא position,
   לכן לא חופף ל-FABs שבתחתית. מאפיינים לוגיים בלבד (RTL/LTR). */
.np-banners { flex-shrink: 0; align-self: stretch; padding: 8px 12px 0; }
.np-banners[hidden] { display: none; }
.np-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 8px; padding: 10px 14px; border-radius: 14px;
  font-family: var(--font-body, 'Assistant', sans-serif); font-size: 13px; font-weight: 600; line-height: 1.45;
  background: #F3EBFE; color: var(--navy, #1E293B); border: 1px solid rgba(var(--accent-rgb, 144,63,249), .28);
}
.np-banner > span { min-width: 0; }
.np-banner-offline { background: #EEF2FF; border-color: #C7D2FE; justify-content: flex-start; }
.np-banner .np-btn { flex-shrink: 0; }

.np-btn {
  border: 0; border-radius: 999px; padding: 13px 20px; min-height: 44px; cursor: pointer;
  font-family: var(--font-ui, 'Rubik', sans-serif); font-size: 14px; font-weight: 900;
  background: var(--gradient-cta, #FF8A00); background-color: var(--gradient-cta-fallback, #FF8A00); color: var(--navy, #1E293B);
  transition: transform .12s, filter .15s;
}
.np-btn:hover { filter: brightness(0.95); }
.np-btn:active { transform: scale(0.96); }
.np-btn:focus-visible { outline: 3px solid var(--accent-dark, #5F2ED1); outline-offset: 2px; }
.np-btn:disabled { opacity: .6; cursor: default; }
.np-btn-sm { padding: 9px 16px; min-height: 40px; font-size: 13px; }
.np-btn-sec {
  background: var(--accent-soft, rgba(144,63,249,.08)); color: var(--accent-text, #4A22B8);
  border: 1px solid rgba(var(--accent-rgb, 144,63,249), .35); font-weight: 800;
}

.np-logo-fallback { font-family: var(--font-ui, 'Rubik', sans-serif); font-weight: 900; color: var(--accent-text, #4A22B8); }
@media (prefers-reduced-motion: reduce) { .np-btn { transition: none; } }

/* ═══ כרטיס התקנה + מדריך (js/pwa-install.js, P18; CTO הודעה 20) — מ-css/pwa.css של EyeFocus, צבעים של EnergyFocus ═══
   .np-btn כבר מוגדר למעלה (גרדיאנט עם צבע בסיס מתחת). כאן רק הגיליון, הכרטיס והמדריך. */
.np-sheet-back {
  position: fixed; inset: 0; z-index: 2147483200; background: rgba(15,23,42,.55);
  display: flex; align-items: flex-end; justify-content: center;
}
.np-sheet {
  width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--white, #fff); color: var(--text, #1E293B); border-radius: 24px 24px 0 0;
  padding: 12px 20px calc(18px + env(safe-area-inset-bottom)); box-sizing: border-box;
  font-family: var(--font-body, 'Assistant', sans-serif); font-size: 15px; font-weight: 500; line-height: 1.55;
  box-shadow: 0 -8px 32px rgba(15,23,42,.25); user-select: text;
}
.np-sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--border, #E2E8F0); margin: 2px auto 10px; }
.np-sheet-logo { display: block; margin: 0 auto 8px; width: 56px; height: 56px; object-fit: contain; }
.np-sheet-title { font-family: var(--font-ui, 'Rubik', sans-serif); font-size: 19px; font-weight: 800; color: var(--navy, #1E293B); text-align: center; margin-bottom: 8px; }
.np-sub { margin: 6px 0 10px; font-weight: 700; text-align: center; }
.np-hint { margin: 6px 0 10px; font-size: 13px; color: var(--muted, #526079); }
.np-steps { margin: 10px 0 14px; padding-inline-start: 22px; line-height: 1.7; font-weight: 700; }
.np-row, .np-row-gap { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; align-items: center; }
.np-btn-wide { width: 100%; }
.np-btn-sm { padding: 9px 16px; min-height: 44px; font-size: 13px; }
.np-btn-sec {
  background: var(--accent-soft, rgba(144,63,249,.08)); background-color: #F6F0FE; color: var(--accent-text, #4A22B8);
  border: 1px solid rgba(var(--accent-rgb, 144,63,249), .35); box-shadow: none; font-weight: 800;
}
.np-btn-ghost { background: transparent; background-color: transparent; color: var(--accent-text, #4A22B8); box-shadow: none; text-decoration: underline; font-weight: 700; padding-inline: 10px; }
.np-btn:focus-visible, .np-sheet a:focus-visible { outline: 3px solid var(--accent-text, #4A22B8); outline-offset: 2px; }
.np-sheet-foot { display: flex; justify-content: center; margin-top: 8px; }
.np-arrow { color: var(--accent-text, #4A22B8); display: flex; justify-content: center; margin-top: 4px; }
.np-arrow-top { position: fixed; top: calc(8px + env(safe-area-inset-top)); inset-inline-end: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .np-arrow svg { animation: npBob 1.2s ease-in-out infinite; }
  @keyframes npBob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(6px) } }
}
.np-slot-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 0 0 12px; padding: 12px 14px; text-align: start;
  background: var(--white, #fff); border: 1px solid var(--border, #E2E8F0);
  border-radius: 18px; box-shadow: 0 2px 10px rgba(15,23,42,.06);
}
.np-sc-text { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--text, #1E293B); min-width: 0; flex: 1 1 160px; }
.np-sc-text b { font-family: var(--font-ui, 'Rubik', sans-serif); color: var(--navy, #1E293B); font-size: 15px; }
.np-sc-text span { color: var(--muted, #526079); }
.np-xfer-guide { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: #F6F0FE; border: 1px solid rgba(var(--accent-rgb, 144,63,249), .2); }
.np-xfer-guide .np-hint { margin: 4px 0; color: var(--text, #1E293B); }
.np-xfer-path b { font-weight: 800; }
