/* /p in the Parcel Standard's five groups (GW_P_STANDARD_V1, pro/p_groups.py). Linked from the /p body only while the
   flag is on, after shop/static/p.css (GW_ANSWER_HEADER); tokens only (docs/DESIGN.md). */

.p-g-all { margin-top: var(--section-gap); }
.p-g-all > .p-g { margin: 0; }
.p-g .p-g__rows { margin: 0; padding: 0; list-style: none; }
.p-g .p-g__sub { margin-top: var(--s5); }
.p-g .p-g__rows + .p-g__sub, .p-g .ui-grp__b > .p-g__sub:first-child { margin-top: var(--s4); }
.p-g .p-g__sub > section { margin-top: 0; }
.p-g .p-g__sub > section > .ui-sh:empty { display: none; }
.p-g h3.p-g__h { margin: 0 0 var(--s2); color: var(--paper2); font: var(--w-medium) var(--t-sm) / var(--lh-sm) var(--sans);
  letter-spacing: var(--ls-0); }

/* the link lines at a group's end: the area-wide facts' own pages, words only */
.p-g .p-g__links { margin: var(--s5) 0 0; padding: var(--s3) 0 0; list-style: none; border-top: 1px solid var(--line2);
  display: grid; gap: var(--s2); font-size: var(--t-sm); line-height: var(--lh-sm); }
.p-grp .p-g__more { margin: var(--s3) 0 0; font-size: var(--t-sm); line-height: var(--lh-sm); }

/* About: "Record and sources", one list */
.ui-about .p-g__al { margin: 0; padding-left: var(--s4); color: var(--muted); font-size: var(--t-sm); line-height: var(--lh-sm); }
.ui-about .p-g__al > li + li { margin-top: var(--s1); }
