/* The RetURN.org ID profile card - THE shared component.

   One design, three places: the public /id/ page, the editor's live preview, and the
   dashboard cards. This is deliberately the same visual as the .regprofile mock the
   home page has shown partners since August - the marketing card IS the product card,
   so what was promised is what ships.

   Pages using this include ro-id-card.js as well; the two files are one component.
   Colors ride the site's own custom properties (--ink, --card, --rule, --brass...)
   so the card inherits each page's palette without carrying its own. */

.rocard{background:var(--card,#FFFFFF);border-radius:16px;overflow:hidden;
  box-shadow:0 18px 36px -18px rgba(0,0,0,.6)}
.rocard .rp-bar{display:flex;align-items:center;gap:8px;background:var(--paper-2,#EDE9E0);
  border-bottom:1px solid var(--rule,#D9D3C7);padding:8px 12px}
.rocard .rp-dots{display:flex;gap:4px;flex:0 0 auto}
.rocard .rp-dots i{width:7px;height:7px;border-radius:50%;background:var(--rule,#D9D3C7);display:block}
.rocard .rp-url{font-family:"Courier Prime",ui-monospace,monospace;font-size:12px;
  color:var(--ink-soft,#4A5A75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rocard .rp-body{padding:16px 16px 18px}
.rocard .rp-person{display:flex;align-items:center;gap:12px;margin:0 0 14px}
.rocard .rp-portrait{flex:0 0 auto;width:54px;height:54px;border-radius:50%;display:block;
  object-fit:cover;box-shadow:0 0 0 2px var(--card,#FFF),0 0 0 3px var(--brass,#A8894C)}
.rocard .rp-initials{flex:0 0 auto;width:54px;height:54px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--paper-2,#EDE9E0);color:var(--ink-soft,#4A5A75);
  font-family:"Familjen Grotesk",Helvetica,Arial,sans-serif;font-weight:700;font-size:19px;
  box-shadow:0 0 0 2px var(--card,#FFF),0 0 0 3px var(--brass,#A8894C)}
.rocard .rp-name{font-family:"Familjen Grotesk",Helvetica,Arial,sans-serif;font-size:19px;
  font-weight:600;color:var(--ink,#253551);margin:0;letter-spacing:-.01em;overflow-wrap:anywhere}
.rocard .rp-dates{font-size:16px;color:var(--ink-soft,#4A5A75);margin:2px 0 0}
.rocard .rp-label{font-family:"Familjen Grotesk",Helvetica,Arial,sans-serif;font-size:11px;
  font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft,#4A5A75);
  margin:0 0 6px}
.rocard .rp-wishes{list-style:none;margin:0;padding:0}
.rocard .rp-wishes li{display:flex;gap:10px;align-items:flex-start;padding:8px 0 8px 12px;
  border-left:3px solid var(--brass,#A8894C);margin-bottom:6px}
.rocard .rp-wishes li:last-child{margin-bottom:0;border-left-color:var(--rule,#D9D3C7)}
.rocard .rp-wishes li:only-child{border-left-color:var(--brass,#A8894C)}
/* Equal-width tier pills, so the wish TEXT of "1st choice" and "If not" starts at the
   same x - Adam asked for the responses to align vertically (8/28). */
.rocard .rp-wtier{flex:0 0 auto;font-family:"Familjen Grotesk",Helvetica,Arial,sans-serif;
  font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-soft,#4A5A75);background:var(--paper-2,#EDE9E0);border-radius:999px;
  padding:3px 9px;margin-top:2px;white-space:nowrap;
  min-width:92px;text-align:center;box-sizing:border-box}
.rocard .rp-wtext{font-size:16px;line-height:1.45;color:var(--ink,#253551);
  overflow-wrap:anywhere;white-space:pre-line}
/* The company that performed the cremation, under the wishes (Adam, 8/28). Same
   visual as the home page mock's provider box. */
.rocard .rp-provider{display:flex;align-items:center;gap:10px;text-decoration:none;
  background:var(--paper,#F6F3EE);border:1px solid var(--rule,#D9D3C7);border-radius:12px;
  padding:9px 12px;margin:14px 0 0;transition:border-color .15s ease;color:inherit}
.rocard a.rp-provider:hover{border-color:var(--slate-lift,#1A59E0)}
.rocard .rp-plogo{flex:0 0 auto;width:32px;height:32px;border-radius:8px;
  background:var(--slate,#253551);color:var(--label,#F6F3EA);display:flex;align-items:center;
  justify-content:center;font-family:"Familjen Grotesk",Helvetica,Arial,sans-serif;
  font-weight:700;font-size:12.5px;letter-spacing:.02em}
.rocard .rp-pmeta{display:flex;flex-direction:column;min-width:0;flex:1}
.rocard .rp-pname{font-family:"Familjen Grotesk",Helvetica,Arial,sans-serif;font-size:16px;
  font-weight:600;color:var(--ink,#253551);line-height:1.3;overflow-wrap:anywhere}
.rocard .rp-pline{font-size:14.5px;color:var(--ink-soft,#4A5A75);line-height:1.35;
  font-family:"Familjen Grotesk",Helvetica,Arial,sans-serif;overflow-wrap:anywhere}
.rocard .rp-pgo{flex:0 0 auto;color:var(--slate-lift,#1A59E0);font-weight:700;font-size:14px}

/* Preview placeholders: what the editor shows before a field has anything in it.
   Visibly provisional, so "what is typed" and "what is promised" cannot be confused. */
.rocard .rp-ghost{color:#9AA5B4;font-style:italic}
.rocard .rp-provider .rp-ghost{font-style:italic;color:#9AA5B4}
