/* AURA demo site · the general Record page (rp.js, D-CBO-490 M2). The look is the mock's (pb.css, pb-record2.css), linked as they are.
   This file only carries the mock's few rules that were scoped to #pb-record over to .rp, and glue for the parts rp.js fills from data
   (links inside faces, a product picture that is not an RTD carton, a step of the proof as a link). Even sizes only; 1 px hairlines. */

/* from pb-record2.css, #pb-record scoped there, .rp here */
@media (max-width: 767px) {
  .rp.pb-recview > .pb-racts { flex-wrap: wrap; justify-content: flex-start; }
}
.rp-panel .pb-allp dd { min-width: 0; }
.rp-panel .pb-allp .pb-pval { max-width: 100%; white-space: normal; text-align: left; }
.rp-panel .pb-allp .pb-linkchip { max-width: 100%; height: auto; min-height: 24px; white-space: normal; }

/* All Properties: read only here, so a Value is text, not an edit field; Links wrap */
.rp-panel .rp-pval { flex-wrap: wrap; gap: 4px; cursor: auto; }
.rp-panel .rp-pval:hover { background: transparent; }

/* faces and packs are links to their Records */
.rp .pb-gfaces a { color: inherit; text-decoration: none; }
.rp .pb-gfaces b a:hover { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.rp .pb-tprods a > .icon.msr { font-size: 40px; width: 40px; height: 88px; display: flex; align-items: center; color: var(--ink-4); }

/* the head picture of a product that is not an RTD carton: the pack, contained */
.pb-rfvis.prod > .rp-pack { max-width: 72%; max-height: 88%; object-fit: contain; }

/* a Card that opens on its list of key numbers */
.rp .pb-kdl.rp-first { margin-top: 0; }

/* the proof, each step a link to its Record */
.rp-panel a.pb-kstep { text-decoration: none; }
.rp-panel a.pb-kstep:hover > b { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.rp .pb-rftbl .pb-linkchip + .pb-linkchip { margin-left: 4px; }

/* a list of label and Value inside a Card: a long Value wraps beside its label, never over it (D-CBO-605) */
.rp .pb-rfcard .pb-kdl > div { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
.rp .pb-rfcard .pb-kdl dd { min-width: 0; text-align: right; }
