/* The Add to Reminders row under a recipe's ingredients, and its first-time
   modal (docs/tickets/reminders-button.md, approved mock
   design/prototypes/reminders-button/, option 1 at its defaults). Its own file
   because site.css is past the 500-code-line cap. Loaded by recipe.njk only.

   The row is hidden in the markup and assets/reminders.js shows it on Apple
   devices, the only ones with Shortcuts. */

.remrow { display: flex; align-items: center; gap: var(--sp-16); width: 100%; max-width: 520px; margin: 0; padding: 0; border: 0; background: none; color: var(--red); font: inherit; text-align: left; cursor: pointer; }
.remrow[hidden] { display: none; }
/* The icon stands taller than the two title lines, as in Apple's own card:
   48px against a 40px title (Rex, 2026-10-18: bigger than the words, 48px square). Cropped to its
   tile, so the shadow follows the rounded corners. */
.rem-ico { flex: 0 0 auto; width: 4.8rem; height: 4.8rem; background: url(/assets/reminders-icon.png) center / contain no-repeat; filter: drop-shadow(0 1px 2px color-mix(in srgb, var(--ink) 18%, transparent)); }
.rem-name { flex: 1 1 auto; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-16); line-height: 1.25; }
/* The plus is two bars drawn in currentColor, not a "+" glyph: the font's glyph
   sits about 1.4px below the circle's center at 20px (measured 2026-10-20). */
.rem-add { flex: 0 0 auto; width: 3.2rem; height: 3.2rem; border-radius: 50%; background-color: var(--primary-100); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: .5em .1em, .1em .5em; background-position: center; background-repeat: no-repeat; color: var(--red); font-size: var(--fs-20); transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease; }

/* The modal sits on the search palette (.spal): Esc and a backdrop click close it. */
.remdlg [hidden] { display: none; }
.remdlg-h { display: flex; align-items: center; gap: var(--sp-16); }
.remdlg-p { margin: var(--sp-16) 0 0; font-size: var(--fs-16); line-height: 1.5; color: var(--ink85); }
/* The shortcut is a link inside the text, so the only button is Send the list
   (Rex, 2026-10-25). It was a second mono link beside the button, which wrapped
   under a short button on a phone. The link takes the in-prose link style
   (.vcoll-also). On a phone the button runs the full width. */
.remdlg-p a { color: inherit; text-decoration: underline 1px; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .remdlg-p a:hover { color: var(--red); }
}
.remdlg-acts { margin: var(--sp-24) 0 var(--sp-8); }
@media (max-width: 560px) {
  .remdlg-acts .vbtn { display: flex; justify-content: center; }
}

@media (hover: hover) and (pointer: fine) {
  .remrow:hover .rem-add { background-color: var(--red); color: var(--bg); }
}
@media (min-width: 820px) {
  .rrow > .remrow { grid-column: 2; }
}
@media print {
  .remrow { display: none !important; }
}
