/* Greetings & reminders, Roles & Security overview and Live tracking (real-pages-ui.js).
   Colours come from the shared tokens only, so light and dark both stay readable. */
.rp-rows { display: flex; flex-direction: column; }
.rp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 16px; padding: 13px 2px; border-top: 1px solid var(--line); }
.rp-row:first-child { border-top: 0; }
.rp-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rp-main b { color: var(--ink); font-size: 14px; }
.rp-detail { color: var(--muted); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.rp-state { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.rp-state .rp-detail { text-align: right; max-width: 260px; }
.rp-act { display: flex; justify-content: flex-end; }
.rp-week { margin: 18px 0; }
.rp-h { margin: 0 0 10px; font-size: 15px; color: var(--ink); }
.rp-tiles { margin-bottom: 18px; }
.rp-note { margin: 12px 0 14px; }
.rp-notes { margin-top: 0; }
.rp-foot { margin: 16px 0 6px; display: flex; gap: 8px; flex-wrap: wrap; }
#rp-sec .ap-card, #rp-greet .ap-card { margin-top: 18px; }
#rp-sec-body > .ap-tiles { margin-bottom: 4px; }
@media (max-width: 640px) {
  .rp-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rp-state { align-items: flex-start; text-align: left; }
  .rp-state .rp-detail { text-align: left; max-width: none; }
  .rp-act { justify-content: flex-start; }
}
