/* S56A: the guard app's guided first run (same pattern as the office app's public/assets/first-run.css). The ring sits
   over the real control and dims everything else; the card is the app's own panel. Colours come from app.css tokens
   only: the ring is the accent (it asks for a tap). Buttons are 48 px tall: a thumb, not a mouse. */
:root { --fr-dim: rgba(3,7,15,.72); }

.fr-ring {
  position: fixed; z-index: 2147483000; pointer-events: none; border-radius: 16px;
  box-shadow: 0 0 0 9999px var(--fr-dim);
  outline: 3px solid var(--accent); outline-offset: 0;
  transition: top .18s ease, left .18s ease, width .18s ease, height .18s ease;
}
.fr-ring.fr-act { animation: fr-pulse 1.6s ease-in-out infinite; }
@keyframes fr-pulse { 50% { outline-offset: 5px; } }

.fr-tip {
  position: fixed; z-index: 2147483001; box-sizing: border-box;
  background: var(--panel); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 16px 16px 14px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.7);
  font-size: 16px; line-height: 1.45;
}
.fr-tip:focus { outline: none; }
.fr-tip .fr-count { margin: 0 0 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.fr-tip .fr-title { margin: 0 0 6px; font-size: 20px; font-weight: 750; color: var(--text); }
.fr-tip .fr-text { margin: 0 0 14px; color: var(--text); font-size: 16px; }
.fr-tip .fr-acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fr-tip .fr-do { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 650; color: var(--accent-text); }
.fr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 96px; padding: 10px 16px;
  border-radius: var(--r-ctl); border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; }
.fr-btn.primary { background: var(--accent-fill); color: var(--accent-ink); }
.fr-btn.ghost { background: var(--bg-2); color: var(--text); border-color: var(--line-2); }
.fr-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fr-tip .i { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) { .fr-ring { transition: none; } .fr-ring.fr-act { animation: none; } }
