/* shared/recur-scope.css — the "which occurrences?" pop-up. A centred card of
   stacked, full-width buttons. Colours use the apps' shared tokens (--ink,
   --faded, --line, --bg) so it matches both apps exactly. */

.rs-modal {
  position: fixed;
  inset: 0;
  z-index: 60;                    /* above the app's own modals */
  background: rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.rs-card {
  width: 100%;
  max-width: 340px;
  background: var(--bg);
  border-radius: 22px;
  padding: 22px 16px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.rs-text {
  font-size: 16px;
  line-height: 1.45;
  padding: 0 6px 4px;
  margin-bottom: 14px;
}
.rs-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 15px 12px;
  border: none;
  border-radius: 999px;
  background: #f1f1f1;
  /* --rs-accent is set per-open to the colour of the calendar the item lives
     in. Both apps define --ink, so a colourless calendar looks the same in
     each — unlike --accent, which only the calendar app defines. */
  color: var(--rs-accent, var(--ink));
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.rs-btn:hover { background: #ebebeb; }
.rs-btn:active { opacity: 0.85; }
/* Cancel reads as the quiet way out, not a fourth choice. */
.rs-btn--cancel { color: var(--faded); }
