/* ═══════════════════════════════════════════════════════════════════════
   CHL PRODUCT EXPERIENCE — px.css (the keel)
   Governed by: Documentation/CHL_PRODUCT_EXPERIENCE_CONSTITUTION_v1.md
   Namespace: .px (never styles bare elements globally)
   One structure, five personalities: type territories set --px-acc/--px-acc-soft
   on .px--event / .px--service / .px--membership / .px--bookable / .px--rental.
   CHL signature orange appears ONLY via .px-primary / .px-live (the Orange Law).
   ═══════════════════════════════════════════════════════════════════════ */

.px {
  /* keel tokens */
  --px-font: 'DM Sans', 'Poppins', -apple-system, sans-serif;
  --px-ink: #2a211c;
  --px-mut: #6f6157;          /* AA 5.0+ on white */
  --px-canvas: #faf8f6;
  --px-card: #ffffff;
  --px-line: #eee7e0;
  --px-r: 16px;
  --px-r-lg: 18px;
  --px-shadow: 0 1px 2px rgba(42,33,28,.06), 0 8px 24px rgba(42,33,28,.05);
  --px-org: #F26122;          /* signature — .px-primary/.px-live only */
  --px-org-ink: #c74d17;      /* AA 4.5 text-orange when needed on white */
  --px-ok: #1a7f4f;
  --px-warn: #b45309;
  --px-bad: #b91c1c;
  /* territory defaults (overridden per type) */
  --px-acc: #4b5563;
  --px-acc-soft: #f3f4f6;
  --px-field-a: #e9e5e0;      /* light-study fallback stops */
  --px-field-b: #f6f2ee;
  --px-field-c: #dcd5cd;

  font-family: var(--px-font);
  color: var(--px-ink);
  background: var(--px-canvas);
}

/* ── Type territories (AA-verified accents; see px_experience_proof) ── */
.px--event      { --px-acc:#6d28d9; --px-acc-soft:#f3eefe; --px-field-a:#ddd3f2; --px-field-b:#f0eaf9; --px-field-c:#b9a6e4; }
.px--service    { --px-acc:#0f766e; --px-acc-soft:#e9f6f4; --px-field-a:#cfe8e4; --px-field-b:#eaf5f3; --px-field-c:#9ecdc6; }
.px--membership { --px-acc:#4338ca; --px-acc-soft:#eef0fd; --px-field-a:#d6daf6; --px-field-b:#edeffb; --px-field-c:#aab3ea; }
.px--bookable   { --px-acc:#0369a1; --px-acc-soft:#e8f4fb; --px-field-a:#cfe6f3; --px-field-b:#e9f4fa; --px-field-c:#9dc9e2; }
.px--rental     { --px-acc:#8a4b0f; --px-acc-soft:#f7efe6; --px-field-a:#e8d8c4; --px-field-b:#f5ede2; --px-field-c:#d3b48d; }

/* ═══ Layout ═══ */
.px { padding: 18px 0 90px; }
.px .px-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.px .px-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 26px; align-items: start; }
.px .px-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.px .px-rail { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
.px .px-crumb { font-size: 13px; color: var(--px-mut); margin: 4px 0 12px; }
.px .px-crumb a { color: var(--px-mut); text-decoration: none; }
.px .px-crumb a:hover { color: var(--px-acc); }
.px .px-crumb b { color: var(--px-ink); font-weight: 600; }

/* ═══ Cards & sections ═══ */
.px .px-card { background: var(--px-card); border: 1px solid var(--px-line); border-radius: var(--px-r); box-shadow: var(--px-shadow); }
.px .px-sec { padding: 24px 26px; scroll-margin-top: 132px; }
.px .px-sec > h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.px .px-sec > h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--px-acc); flex: 0 0 auto; }
.px .px-prose { font-size: 15.5px; line-height: 1.65; color: #453a32; }
.px .px-prose p { margin: 0 0 12px; }
.px .px-prose p:last-child { margin-bottom: 0; }

/* ═══ Hero media ═══ */
.px .px-hero { position: relative; border-radius: var(--px-r-lg); overflow: hidden; background: var(--px-field-b); }
.px .px-hero .px-stage { aspect-ratio: 16/9; position: relative; }
.px .px-hero.px-hero--band .px-stage { aspect-ratio: 21/9; }
.px .px-stage img, .px .px-stage video, .px .px-stage iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
/* light-study fallback field (Stillwater precedent) — layered soft light, horizon */
.px .px-field {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, var(--px-field-b) 0%, transparent 55%),
    radial-gradient(90% 70% at 12% 92%, var(--px-field-c) 0%, transparent 60%),
    linear-gradient(180deg, var(--px-field-b) 0%, var(--px-field-a) 46%, var(--px-field-c) 100%);
}
.px .px-field::after { /* horizon */
  content: ""; position: absolute; left: 8%; right: 8%; top: 62%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42,33,28,.22), transparent);
}
.px .px-field-label {
  position: absolute; left: 18px; bottom: 14px; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(42,33,28,.55);
}
.px .px-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--px-ink); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: 0 1px 4px rgba(42,33,28,.15); }
.px .px-badge--state { background: var(--px-ink); color: #fff; }

/* gallery strip + lightbox-ready thumbs */
.px .px-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.px .px-thumb { flex: 0 0 92px; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: var(--px-field-b); min-width: 44px; min-height: 44px; }
.px .px-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.px .px-thumb.is-active, .px .px-thumb:focus-visible { border-color: var(--px-acc); }
/* rental inspection grid — media-forward opening */
.px .px-gallery-grid { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 150px; gap: 10px; border-radius: var(--px-r-lg); overflow: hidden; }
.px .px-gallery-grid > * { position: relative; overflow: hidden; cursor: pointer; padding: 0; border: 0; background: var(--px-field-b); }
.px .px-gallery-grid > *:first-child { grid-row: span 2; }
.px .px-gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.px .px-gallery-more { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--px-ink); background: var(--px-acc-soft); }

/* ═══ Title card ═══ */
.px .px-title { padding: 22px 26px; }
.px .px-title h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 6px; }
.px .px-byline { font-size: 14px; color: var(--px-mut); margin: 0 0 12px; }
.px .px-byline a { color: var(--px-acc); font-weight: 600; text-decoration: none; }
.px .px-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.px .px-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--px-ink); background: var(--px-acc-soft); border-radius: 999px; padding: 7px 13px; }
.px .px-pill i { color: var(--px-acc); font-size: 12px; }
.px .px-pill--quiet { background: var(--px-canvas); border: 1px solid var(--px-line); color: var(--px-mut); }
/* event date tile */
.px .px-datetile { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 74px; min-height: 74px; border-radius: 14px; background: var(--px-acc); color: #fff; flex: 0 0 auto; }
.px .px-datetile .d { font-size: 26px; font-weight: 800; line-height: 1; }
.px .px-datetile .m { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .92; }
.px .px-title-row { display: flex; gap: 18px; align-items: flex-start; }
.px .px-next-avail { font-size: 14px; font-weight: 700; color: var(--px-acc); margin-top: 10px; display: flex; align-items: center; gap: 7px; }

/* ═══ Lists / spec / steps ═══ */
.px .px-checks { list-style: none; margin: 0; padding: 0; }
.px .px-checks li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--px-line); font-size: 15px; color: #453a32; }
.px .px-checks li:last-child { border-bottom: 0; }
.px .px-checks li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--px-acc); font-weight: 800; }
.px .px-spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.px .px-spec th { text-align: left; font-weight: 600; color: var(--px-mut); padding: 10px 14px 10px 0; width: 38%; vertical-align: top; border-bottom: 1px solid var(--px-line); }
.px .px-spec td { padding: 10px 0; color: var(--px-ink); border-bottom: 1px solid var(--px-line); }
.px .px-spec tr:last-child th, .px .px-spec tr:last-child td { border-bottom: 0; }
.px .px-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: pxstep; }
.px .px-step { background: var(--px-acc-soft); border-radius: 12px; padding: 16px 16px 14px; counter-increment: pxstep; }
.px .px-step::before { content: counter(pxstep); display: inline-flex; width: 26px; height: 26px; border-radius: 999px; background: var(--px-acc); color: #fff; font-weight: 800; font-size: 13px; align-items: center; justify-content: center; margin-bottom: 8px; }
.px .px-step b { display: block; font-size: 14px; margin-bottom: 3px; }
.px .px-step span { font-size: 13px; color: var(--px-mut); line-height: 1.45; }
.px .px-benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.px .px-benefit { background: var(--px-acc-soft); border-radius: 12px; padding: 15px 16px; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.px .px-benefit i { color: var(--px-acc); margin-top: 2px; }

/* ═══ FAQ / policy voice ═══ */
.px .px-faq details { border-bottom: 1px solid var(--px-line); }
.px .px-faq details:last-child { border-bottom: 0; }
.px .px-faq summary { cursor: pointer; font-weight: 700; font-size: 15px; padding: 13px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.px .px-faq summary::after { content: "+"; font-size: 20px; color: var(--px-acc); font-weight: 600; }
.px .px-faq details[open] summary::after { content: "–"; }
.px .px-faq .a { font-size: 14.5px; color: var(--px-mut); line-height: 1.6; padding: 0 0 14px; }
.px .px-policy { background: var(--px-canvas); border: 1px solid var(--px-line); border-radius: 12px; padding: 15px 17px; font-size: 14px; color: #453a32; line-height: 1.6; }
.px .px-policy b { color: var(--px-ink); }

/* ═══ Vendor / business block ═══ */
.px .px-biz { display: flex; align-items: center; gap: 15px; }
.px .px-biz .logo { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--px-acc-soft); color: var(--px-acc); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 21px; flex: 0 0 auto; }
.px .px-biz .logo img { width: 100%; height: 100%; object-fit: cover; }
.px .px-biz .who b { display: block; font-size: 16px; }
.px .px-biz .who span { font-size: 13px; color: var(--px-mut); }
.px .px-biz .go { margin-left: auto; }
.px .px-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--px-acc); color: var(--px-acc); background: #fff; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.px .px-ghost:hover { background: var(--px-acc-soft); }

/* ═══ Reviews ═══ */
.px .px-review { padding: 14px 0; border-bottom: 1px solid var(--px-line); }
.px .px-review:last-child { border-bottom: 0; }
.px .px-review .rhead { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.px .px-review .ravatar { width: 38px; height: 38px; border-radius: 999px; background: var(--px-acc-soft); color: var(--px-acc); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.px .px-review .rname { font-weight: 700; font-size: 14px; }
.px .px-review .rstars { color: #eab308; font-size: 13px; letter-spacing: 1px; }
.px .px-review .rmeta { font-size: 12px; color: var(--px-mut); }
.px .px-review .rbody { font-size: 14.5px; color: #453a32; line-height: 1.6; }
.px .px-verified { font-size: 11px; font-weight: 700; color: var(--px-ok); background: #e8f5ee; border-radius: 6px; padding: 2px 7px; }

/* ═══ Related cards ═══ */
.px .px-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.px .px-rel-card { border: 1px solid var(--px-line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: transform .18s ease, box-shadow .18s ease; display: block; }
.px .px-rel-card:hover { transform: translateY(-3px); box-shadow: var(--px-shadow); }
/* .m/.b are declared block so views may use <span> or <div> inside the <a>
   (inline spans ignore aspect-ratio → image overlays the card body). */
.px .px-rel-card .m { display: block; aspect-ratio: 16/10; background: var(--px-field-b); position: relative; overflow: hidden; }
.px .px-rel-card .m img { width: 100%; height: 100%; object-fit: cover; display: block; }
.px .px-rel-card .b { display: block; padding: 12px 14px; }
.px .px-rel-card .t { font-weight: 700; font-size: 14px; line-height: 1.35; display: block; }
.px .px-rel-card .s { font-size: 12.5px; color: var(--px-mut); margin-top: 4px; display: flex; gap: 8px; align-items: center; }
.px .px-rel-card .p { color: var(--px-acc); font-weight: 800; }

/* ═══ Transaction instrument (shared surface; type-specific fields) ═══ */
.px .px-inst { padding: 22px; }
.px .px-inst .ihead { margin: -22px -22px 18px; padding: 16px 22px; border-bottom: 1px solid var(--px-line); background: var(--px-acc-soft); border-radius: var(--px-r) var(--px-r) 0 0; }
.px .px-inst .ihead b { font-size: 16px; font-weight: 800; display: block; }
.px .px-inst .ihead span { font-size: 13px; color: var(--px-mut); }
.px .px-price { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.px .px-price small { font-size: 14px; font-weight: 600; color: var(--px-mut); }
.px .px-was { text-decoration: line-through; color: var(--px-mut); font-size: 15px; font-weight: 600; margin-left: 8px; }
.px .px-inst label { font-size: 13px; font-weight: 700; display: block; margin: 0 0 6px; }
.px .px-inst .fld { margin-bottom: 14px; }
.px .px-input, .px .px-select, .px .px-textarea {
  width: 100%; min-height: 44px; border: 1.5px solid var(--px-line); border-radius: 10px;
  padding: 10px 13px; font-size: 14.5px; font-family: inherit; color: var(--px-ink); background: #fff;
}
.px .px-input:focus, .px .px-select:focus, .px .px-textarea:focus { outline: 2px solid var(--px-acc); outline-offset: 1px; border-color: var(--px-acc); }
.px .px-summary { background: var(--px-canvas); border: 1px solid var(--px-line); border-radius: 12px; padding: 13px 15px; margin: 14px 0; font-size: 14px; }
.px .px-summary .row { display: flex; justify-content: space-between; padding: 3px 0; color: #453a32; }
.px .px-summary .row.total { border-top: 1px solid var(--px-line); margin-top: 7px; padding-top: 9px; font-weight: 800; color: var(--px-ink); font-size: 15.5px; }
.px .px-summary .row.later { color: var(--px-mut); font-size: 13px; }
.px .px-note { font-size: 12.5px; color: var(--px-mut); line-height: 1.5; margin-top: 10px; }
.px .px-note i { color: var(--px-acc); }
/* THE orange moment (Orange Law §3.2) */
.px .px-primary {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  min-height: 50px; border: 0; border-radius: 13px; cursor: pointer;
  background: var(--px-org); color: #fff; font-weight: 800; font-size: 15.5px; font-family: inherit;
  transition: filter .15s ease, transform .15s ease;
}
.px .px-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.px .px-primary:focus-visible { outline: 3px solid var(--px-org-ink); outline-offset: 2px; }
.px .px-primary:disabled { background: #d6cdc5; color: #8d8178; cursor: not-allowed; transform: none; }
.px .px-live { color: var(--px-org-ink); font-weight: 800; } /* punctuation highlight */

/* ticket selector */
.px .px-tier { border: 1.5px solid var(--px-line); border-radius: 12px; padding: 13px 15px; margin-bottom: 10px; transition: border-color .15s ease; }
.px .px-tier.is-active { border-color: var(--px-acc); background: var(--px-acc-soft); }
.px .px-tier .trow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.px .px-tier .tname { font-weight: 700; font-size: 14.5px; }
.px .px-tier .tprice { font-weight: 800; font-size: 15.5px; color: var(--px-acc); white-space: nowrap; }
.px .px-tier .tdesc { font-size: 13px; color: var(--px-mut); margin-top: 3px; }
.px .px-tier .tleft { font-size: 12px; font-weight: 700; color: var(--px-warn); margin-top: 4px; }
.px .px-qty { display: flex; align-items: center; gap: 0; margin-top: 9px; }
.px .px-qty button { width: 44px; height: 44px; border: 1.5px solid var(--px-line); background: #fff; font-size: 18px; font-weight: 700; cursor: pointer; color: var(--px-ink); }
.px .px-qty button:first-child { border-radius: 10px 0 0 10px; }
.px .px-qty button:last-child { border-radius: 0 10px 10px 0; }
.px .px-qty button:hover { border-color: var(--px-acc); color: var(--px-acc); }
.px .px-qty input { width: 52px; height: 44px; border: 1.5px solid var(--px-line); border-left: 0; border-right: 0; text-align: center; font-weight: 800; font-size: 15px; font-family: inherit; }

/* calendar + slots */
.px .px-cal { user-select: none; }
.px .px-cal .chead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.px .px-cal .chead b { font-size: 14.5px; }
.px .px-cal .cnav { width: 44px; height: 44px; border: 1.5px solid var(--px-line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 15px; color: var(--px-ink); }
.px .px-cal .cnav:hover { border-color: var(--px-acc); color: var(--px-acc); }
.px .px-cal .cgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.px .px-cal .cdow { font-size: 11px; font-weight: 700; color: var(--px-mut); text-align: center; padding: 5px 0; text-transform: uppercase; }
.px .px-cal .cday { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 9px; background: transparent; font-size: 13.5px; font-weight: 600; font-family: inherit; color: var(--px-ink); cursor: pointer; position: relative; }
.px .px-cal .cday:hover:not(:disabled) { background: var(--px-acc-soft); }
.px .px-cal .cday.is-selected { background: var(--px-org); color: #fff; font-weight: 800; }
.px .px-cal .cday.is-limited::after { content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 999px; background: var(--px-warn); }
.px .px-cal .cday:disabled { color: #cbc2b9; cursor: not-allowed; text-decoration: line-through; }
.px .px-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.px .px-slot { min-height: 44px; border: 1.5px solid var(--px-line); border-radius: 10px; background: #fff; font-weight: 700; font-size: 13.5px; font-family: inherit; cursor: pointer; color: var(--px-ink); }
.px .px-slot:hover:not(:disabled) { border-color: var(--px-acc); color: var(--px-acc); }
.px .px-slot.is-selected { background: var(--px-org); border-color: var(--px-org); color: #fff; }
.px .px-slot:disabled { color: #cbc2b9; cursor: not-allowed; background: var(--px-canvas); }

/* instrument states */
.px .px-state { border-radius: 12px; padding: 16px 18px; font-size: 14.5px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.px .px-state i { margin-top: 2px; }
.px .px-state--info { background: var(--px-acc-soft); color: var(--px-ink); }
.px .px-state--warn { background: #fef6ec; color: #8a5a13; }
.px .px-state--bad  { background: #fdf0ef; color: #8f2f28; }
.px .px-state--ok   { background: #e8f5ee; color: #17603f; }

/* ═══ Contextual nav (sticky, CSS-native) ═══ */
.px .px-nav { position: sticky; top: 0; z-index: 40; background: rgba(250,248,246,.94); backdrop-filter: none; border-bottom: 1px solid var(--px-line); margin: 0 0 18px; }
.px .px-nav .nwrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.px .px-nav .nwrap::-webkit-scrollbar { display: none; }
.px .px-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 46px; padding: 0 13px; font-size: 13.5px; font-weight: 700; color: var(--px-mut); text-decoration: none; border-bottom: 3px solid transparent; }
.px .px-nav a:hover { color: var(--px-ink); }
.px .px-nav a.is-active { color: var(--px-ink); border-bottom-color: var(--px-org); }
.px .px-nav .ntitle { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--px-ink); white-space: nowrap; padding-left: 14px; display: none; }
@media (min-width: 900px) { .px .px-nav .ntitle { display: block; } }

/* ═══ Mobile bottom action bar ═══ */
.px .px-bar { display: none; }
@media (max-width: 991px) {
  .px .px-grid { grid-template-columns: 1fr; }
  .px .px-rail { position: static; }
  .px .px-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--px-line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    align-items: center; gap: 12px; box-shadow: 0 -4px 18px rgba(42,33,28,.08);
  }
  .px .px-bar .binfo { min-width: 0; }
  .px .px-bar .binfo b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .px .px-bar .binfo span { font-size: 12px; color: var(--px-mut); }
  .px .px-bar .px-primary { width: auto; flex: 0 0 auto; padding: 0 22px; min-height: 46px; }
  .px { padding-bottom: 120px; }
}
@media (max-width: 430px) {
  /* 44px Tap Law: 7 calendar columns need >=44px day buttons in BOTH axes.
     At <=430px tighten the instrument padding + calendar gap so they fit
     (390px: (390-32 wrap - 28 inst - 12 gaps)/7 = 45.4px per day). */
  .px .px-inst { padding: 20px 14px; }
  .px .px-inst .ihead { margin: -20px -14px 16px; padding: 14px 16px; }
  .px .px-cal .cgrid { gap: 2px; }
  .px .px-cal .cday { min-height: 44px; }
}
@media (max-width: 640px) {
  .px .px-sec { padding: 18px 18px; }
  .px .px-title { padding: 18px; }
  .px .px-steps { grid-template-columns: 1fr; }
  .px .px-title-row { gap: 13px; }
  .px .px-datetile { width: 62px; min-height: 62px; }
  .px .px-datetile .d { font-size: 21px; }
  .px .px-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; }
  .px .px-gallery-grid > *:first-child { grid-column: span 2; }
}

/* ═══ Map card (always designed — Media Law §5) ═══
   Third-party map embeds render a browser broken-document icon whenever a
   privacy tool or network blocks the subframe (and blocked frames still fire
   onload, so failure can't be detected). The map is therefore a DESIGNED
   static card in the type territory that opens the full map — deterministic
   for every visitor, and the a11y "map alternative" in one move. */
.px .px-map { position: relative; display: block; aspect-ratio: 16/7; border-radius: 12px; overflow: hidden; border: 1px solid var(--px-line); margin-top: 14px; text-decoration: none; grid-column: 1 / -1; width: 100%; background:
    radial-gradient(120% 90% at 78% 8%, var(--px-field-b) 0%, transparent 55%),
    radial-gradient(90% 70% at 12% 92%, var(--px-field-c) 0%, transparent 60%),
    linear-gradient(180deg, var(--px-field-b) 0%, var(--px-field-a) 100%); }
.px .px-map::before { content: ""; position: absolute; left: 8%; right: 8%; top: 62%; height: 1px; background: linear-gradient(90deg, transparent, rgba(42,33,28,.22), transparent); }
.px .px-map .px-map-pin { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(42,33,28,.72); font-weight: 700; font-size: 14.5px; padding: 0 10%; text-align: center; }
.px .px-map .px-map-pin i { font-size: 26px; color: var(--px-acc); }
.px .px-map .px-map-open { position: absolute; right: 14px; bottom: 12px; background: #fff; border: 1.5px solid var(--px-acc); color: var(--px-acc); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 8px 15px; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; }
.px a.px-map:hover .px-map-open, .px a.px-map:focus-visible .px-map-open { background: var(--px-acc-soft); }

/* ═══ Loading skeletons ═══ */
.px .px-skel { position: relative; overflow: hidden; background: #efe9e3; border-radius: 10px; min-height: 16px; }
.px .px-skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: px-shimmer 1.4s infinite; }
@keyframes px-shimmer { to { transform: translateX(100%); } }

/* ═══ Reduced motion (binding — Constitution §2) ═══ */
@media (prefers-reduced-motion: reduce) {
  .px *, .px *::before, .px *::after { animation: none !important; transition: none !important; }
  .px .px-rel-card:hover, .px .px-primary:hover { transform: none; }
}
