/* The points page's sheet (doc 125 §8.2, /shared/points-history.js): the points shop sheet's shape and header — the
   dialog wears .p360-shop, so its venue head, paper card (.pscard), rows' text (.pstx), expiry line (.psexp) and
   footnotes (.psfoot) are /shared/points-shop.css's — with the few parts it adds:
     the balance face   the shop's balance as a figure: rounded 800, tabular (DESIGN.md "Counters & numerals"), its unit
                        beside it, "at {venue}" under it in ink2
     the shop row       a paper card's one row: the gift glyph in the venue's ink in a 28px slot, title over its line, ›
     History            the caps label (ink3), then the entries in one paper card: the number first (rounded bold,
                        tabular), the line over its detail, the day at the end in ink2; "Show older" a plain row in the
                        accent; "No points yet." a quiet row
     loading / failed   still bars on the card colour (no shimmer); the failure line and the sheet's paper button
   Load it after account.css and points-shop.css. */
.p360-ptsh .phbal{display:flex;align-items:baseline;gap:6px;margin:6px 0 0}
.p360-ptsh .phbal b{font:800 40px/1.05 ui-rounded,"SF Pro Rounded",system-ui,sans-serif;font-variant-numeric:tabular-nums;
  letter-spacing:-.01em}
.p360-ptsh .phbal span{font-size:17px;font-weight:600}
.p360-ptsh .phat{font-size:14px;color:var(--ink2,#5F5D57);margin:2px 0 0;overflow-wrap:anywhere}
.p360-ptsh .phexp{margin:4px 0 0}
.p360-ptsh .phat + .pscard,.p360-ptsh .phexp + .pscard{margin-top:16px}

/* the Points shop row: a button that is the card's one row */
.p360-ptsh .phrow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:12px;text-align:left;
  border-radius:15px;color:inherit}
.p360-ptsh .phrow:focus-visible{outline:2px solid var(--brand-ink,#4C51E0);outline-offset:-2px}
.p360-ptsh .phgl{width:28px;height:28px;flex:none;display:grid;place-items:center;color:var(--brand-ink,#4C51E0)}
.p360-ptsh .phgl svg{width:22px;height:22px}
.p360-ptsh .phgo{color:var(--ink3,#6F6C63);font-size:19px;flex:none}

/* History: the caps label, then the entries */
.p360-ptsh .phsec{color:var(--ink3,#6F6C63);margin:22px 2px 8px}
.p360-ptsh .phent{display:flex;align-items:flex-start;gap:12px;padding:12px;position:relative}
.p360-ptsh .phent + .phent::before{content:"";position:absolute;top:0;left:12px;right:0;border-top:1px solid var(--hair,#E7E5E0)}
.p360-ptsh .phd{flex:none;min-width:52px;font:800 15px/1.35 ui-rounded,"SF Pro Rounded",system-ui,sans-serif;
  font-variant-numeric:tabular-nums;white-space:nowrap}
.p360-ptsh .phent .pstx b{font-weight:500;line-height:1.35}
.p360-ptsh .phday{flex:none;font-size:13px;line-height:1.55;color:var(--ink2,#5F5D57);white-space:nowrap;
  font-variant-numeric:tabular-nums}
/* "Show older": a plain row in the accent (the venue's ink on its page, Indigo on places360.io) */
.p360-ptsh .phmore{width:100%;justify-content:flex-start;align-items:center;min-height:48px;font-size:15px;
  font-weight:600;color:var(--brand-ink,#4C51E0);border-radius:0 0 15px 15px;text-align:left}
.p360-ptsh .phmore:focus-visible{outline:2px solid var(--brand-ink,#4C51E0);outline-offset:-2px}
.p360-ptsh .phmore[aria-busy="true"]{cursor:progress}
.p360-ptsh .phnone{padding:14px 12px;font-size:15px;color:var(--ink2,#5F5D57)}
.p360-ptsh .phfail{font-size:15px;font-weight:600;margin:14px 2px 12px}
.p360-ptsh .phfail-older{font-size:13.5px;margin:10px 2px 0;color:var(--danger,#B42318)}

/* loading: the rows' skeleton, still */
.p360-ptsh .phskel{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.p360-ptsh .phsk{display:block;height:14px;border-radius:6px;background:var(--hair,#E7E5E0)}
.p360-ptsh .phsk-big{width:34%;height:38px;border-radius:8px}
.p360-ptsh .phskel .phent{min-height:44px;align-items:center}

.p360-ptsh .psfoot{margin-top:14px}
/* where the sheet puts focus to say what changed (its title, the first older row) — read, not a control */
.p360-ptsh [tabindex="-1"]:focus{outline:none}
