/* Daylight referrals: /partners/, /partners/join/, /partners/terms/, /partners/me/.
   Builds on site.css tokens (--ink, --muted, --action, --action-soft, --purple, --link, --line,
   --surface, --radius). Only the new colors below are named here; nothing else uses a raw value. */
:root {
  --pp-glow: #fff2a8;
  --pp-glow-soft: #fffbe6;
  --pp-sun-edge: #f0c400;
  --pp-good: #15803d;
  --pp-good-soft: #ecfdf3;
  --pp-good-line: #a7e3bd;
  --pp-info-soft: #eef4ff;
  --pp-info-line: #bcd0f5;
  --pp-purple-soft: #f4ecfd;
  --pp-purple-line: #d9c2f6;
  --pp-error-soft: #fdf1f1;
  --pp-error-line: #f2b8b8;
  --pp-field-line: #c9d3e3;
  --pp-on-ink: #ffffff;
  --pp-shadow:
    0 1px 2px rgb(43 10 74 / 0.05), 0 12px 32px -18px rgb(43 10 74 / 0.22);
  --pp-radius: 20px;
  --pp-radius-sm: 12px;
  --pp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.pp {
  overflow-x: clip;
}
.public-header #navigation > a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--action);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.pp :focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 6px;
}
.pp h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  margin: 10px 0 20px;
  letter-spacing: -0.04em;
}
.pp h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 22px;
}
.pp h3 {
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.pp .eyebrow {
  color: var(--purple);
  margin-bottom: 8px;
}
.pp-muted {
  color: var(--muted);
}
.pp-section {
  padding-block: 44px;
}
.pp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius);
  padding: 26px;
  box-shadow: var(--pp-shadow);
}
.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.pp-back:hover {
  color: var(--ink);
  text-decoration: underline;
}
.pp .button {
  font-size: 18px;
  min-height: 54px;
  gap: 14px;
  border-radius: 999px;
  padding-inline: 26px;
  box-shadow: inset 0 -3px 0 var(--pp-sun-edge);
}
.pp .button.secondary {
  box-shadow: none;
  border: 1.5px solid var(--line);
  background: #fff;
}
.pp .button.secondary:hover {
  border-color: var(--ink);
  background: #fff;
}
.pp .button.ink {
  background: var(--ink);
  color: var(--pp-on-ink);
  box-shadow: none;
}
.pp .button.ink:hover {
  background: var(--muted);
}
.pp .button[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.pp-link {
  color: var(--link);
  font-weight: 700;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.pp-sample {
  display: none;
}
.pp-ico {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ------------------------------------------------------------------ program page (P1) */
.pp-hero {
  position: relative;
  isolation: isolate;
}
.pp-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px -20vw auto auto;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--pp-glow), transparent 72%);
  opacity: 0.9;
  pointer-events: none;
}
.pp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding-block: 64px 40px;
}
.pp-hero .lead {
  color: var(--ink);
  font-size: 19px;
  max-width: 560px;
}
.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}
.pp-actions .pp-terms-link {
  color: var(--ink);
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
}
.pp-under {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.pp-earn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--pp-glow-soft), var(--pp-glow));
  border: 1px solid var(--pp-glow);
  border-radius: var(--pp-radius);
  padding: 28px 28px 30px;
  box-shadow: var(--pp-shadow);
}
.pp-earn-sun {
  position: absolute;
  right: -46px;
  top: -46px;
  width: 180px;
  height: 180px;
  opacity: 0.35;
  pointer-events: none;
}
.pp-earn .eyebrow {
  color: var(--muted);
}
.pp-big {
  font:
    800 clamp(64px, 7vw, 96px)/0.95 "Bricolage Grotesque",
    sans-serif;
  letter-spacing: -0.05em;
  display: block;
  margin: 6px 0 6px;
}
.pp-earn-line {
  font-weight: 700;
  margin: 0;
}
.pp-earn-biz {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 14px;
  font-weight: 700;
}
.pp-earn-biz strong {
  font:
    800 30px/1 "Bricolage Grotesque",
    sans-serif;
  letter-spacing: -0.03em;
}
.pp-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pp-ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pp-ticks svg {
  color: var(--pp-good);
  margin-top: 3px;
}

.pp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.pp-steps li {
  position: relative;
}
.pp-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--action);
  font:
    800 18px/1 "Bricolage Grotesque",
    sans-serif;
  margin-bottom: 18px;
  box-shadow: inset 0 -3px 0 var(--pp-sun-edge);
}
.pp-steps p {
  color: var(--muted);
  margin: 0;
}
.pp-steps li + li::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 46px;
  width: 18px;
  border-top: 2px dashed var(--pp-sun-edge);
}

.pp-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pp-ways .pp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pp-ways p {
  color: var(--muted);
  margin: 0 0 10px;
}
.pp-chips {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pp-chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}
.pp-ways .pp-link {
  margin-top: auto;
}

.pp-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--pp-info-soft);
  border: 1px solid var(--pp-info-line);
  border-radius: var(--pp-radius-sm);
  padding: 20px 24px;
}
.pp-callout svg {
  color: var(--link);
  margin-top: 2px;
}
.pp-callout strong {
  display: block;
  margin-bottom: 2px;
}
.pp-callout p {
  margin: 0;
  color: var(--muted);
}

.pp-faq details {
  border-top: 1px solid var(--line);
}
.pp-faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.pp-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  font-weight: 700;
  cursor: pointer;
}
.pp-faq summary::-webkit-details-marker {
  display: none;
}
.pp-faq summary::after {
  content: "+";
  font:
    700 22px/1 "Bricolage Grotesque",
    sans-serif;
  color: var(--ink);
  flex: none;
  width: 24px;
  text-align: center;
}
.pp-faq details[open] summary::after {
  content: "\2212";
}
.pp-faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 760px;
}

.pp-closing {
  background: var(--ink);
  color: var(--pp-on-ink);
  border-radius: var(--pp-radius);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
}
.pp-closing h2 {
  color: var(--pp-on-ink);
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}
.pp-closing img {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  opacity: 0.18;
  pointer-events: none;
}
.pp-closing .button {
  position: relative;
  flex: none;
}

/* ------------------------------------------------------------------ join (P2, P3) */
.pp-narrow {
  width: min(560px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 28px 56px;
}
.pp-narrow h1 {
  font-size: clamp(38px, 6vw, 56px);
  margin: 6px 0 10px;
}
.pp-sub {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 22px;
}
.pp-soon {
  background: var(--pp-glow-soft);
  border: 1px solid var(--pp-glow);
  border-radius: var(--pp-radius-sm);
  padding: 20px 22px;
  font-weight: 600;
}
.pp-soon a {
  font-weight: 700;
}
.pp-form label,
.pp-form legend {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  padding: 0;
}
.pp-field {
  margin-top: 20px;
}
.pp-form input:not([type="checkbox"], [type="radio"]),
.pp-form select,
.pp-form textarea {
  border: 1.5px solid var(--pp-field-line);
  border-radius: var(--pp-radius-sm);
  min-height: 54px;
  padding: 12px 16px;
  font-size: 17px;
  background: #fff;
  color: var(--ink);
  transition:
    border-color 160ms,
    box-shadow 160ms;
}
.pp-form textarea {
  min-height: 100px;
  line-height: 1.5;
}
.pp-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.pp-form :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--pp-info-line);
}
.pp-form [aria-invalid="true"]:not([type="checkbox"]) {
  border-color: var(--error);
  background: var(--pp-error-soft);
  color: var(--ink);
}
.pp-help {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}
.pp-err {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--error);
  margin: 8px 0 0;
}
.pp-err svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: none;
}
.pp-err[hidden] {
  display: none;
}

.pp-lane {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.pp-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--pp-field-line);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
}
.pp-seg label {
  position: relative;
  margin: 0;
}
.pp-seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.pp-seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--muted);
  transition:
    background-color 200ms var(--pp-ease),
    color 200ms;
}
.pp-seg input:checked + span {
  background: var(--ink);
  color: var(--pp-on-ink);
}
.pp-seg input:focus-visible + span {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

.pp-checks {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.pp-check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 17px;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
}
.pp-check input {
  appearance: none;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 2px solid var(--pp-field-line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background-color 160ms,
    border-color 160ms;
}
.pp-check input::after {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--pp-on-ink);
  border-bottom: 3px solid var(--pp-on-ink);
  transform: translateY(-2px) rotate(-45deg) scale(0);
  transition: transform 160ms var(--pp-ease);
}
.pp-check input:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.pp-check input:checked::after {
  transform: translateY(-2px) rotate(-45deg) scale(1);
}
.pp-check input:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}
.pp-check input[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--pp-error-soft);
}
.pp-check span {
  padding-top: 2px;
  line-height: 1.45;
}
.pp-check a {
  color: var(--link);
  font-weight: 700;
}
.pp-check + .pp-err {
  margin-left: 40px;
  margin-top: -6px;
}
.pp-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.pp-submit {
  width: 100%;
  margin-top: 26px;
}
.pp-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}
.pp-summary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-error-soft);
  border: 1px solid var(--pp-error-line);
  color: var(--error);
  font-weight: 700;
}
.pp-summary[data-tone="calm"] {
  background: var(--pp-glow-soft);
  border-color: var(--pp-glow);
  color: var(--ink);
}
.pp-summary a {
  color: inherit;
}
.pp-summary[hidden] {
  display: none;
}
.pp-summary:focus {
  outline: none;
}
.pp-summary:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

.pp-done {
  text-align: center;
}
.pp-done-hero {
  background: linear-gradient(
    180deg,
    var(--pp-glow),
    var(--pp-glow-soft) 55%,
    transparent
  );
  padding: 44px 16px 10px;
}
.pp-done-hero h1 {
  font-size: clamp(38px, 7vw, 60px);
  margin: 18px 0 10px;
}
.pp-done-hero h1:focus {
  outline: none;
}
.pp-done-hero p {
  font-size: 18px;
  max-width: 460px;
  margin: 0 auto;
}
.pp-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--action);
  display: grid;
  place-items: center;
  margin: 0 auto;
  box-shadow: inset 0 -4px 0 var(--pp-sun-edge);
}
.pp-badge svg {
  width: 38px;
  height: 38px;
}
@media (prefers-reduced-motion: no-preference) {
  .pp-badge {
    animation: pp-pop 520ms var(--pp-ease) both;
  }
  .pp-badge path {
    stroke-dasharray: 30;
    animation: pp-draw 520ms 180ms var(--pp-ease) both;
  }
}
@keyframes pp-pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes pp-draw {
  from {
    stroke-dashoffset: 30;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.pp-done-body {
  width: min(560px, calc(100% - 32px));
  margin: 24px auto 56px;
  display: grid;
  gap: 16px;
  text-align: left;
}
.pp-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.pp-url {
  font-weight: 700;
  font-size: 18px;
  overflow-wrap: anywhere;
  margin: 0 0 16px;
}
.pp-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pp-pair .button {
  width: 100%;
  padding-inline: 12px;
}
.pp-save {
  background: linear-gradient(165deg, var(--pp-glow-soft), var(--pp-glow));
  border-color: var(--pp-glow);
}
.pp-save .pp-kicker {
  color: var(--ink);
}
.pp-token {
  display: block;
  width: 100%;
  font:
    700 16px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  background: #fff;
  border: 1.5px solid var(--pp-glow);
  border-radius: var(--pp-radius-sm);
  padding: 14px 16px;
  margin: 14px 0 12px;
  overflow-wrap: anywhere;
  color: var(--ink);
}
.pp-token-full {
  font-size: 13px;
  font-weight: 400;
}
.pp-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.pp-steps-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 17px;
}
.pp-steps-list b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  font-family: "Bricolage Grotesque", sans-serif;
}
.pp-quiet {
  background: var(--surface);
  box-shadow: none;
}
.pp-done .pp-note a {
  color: inherit;
  font-weight: 700;
}
.pp-status-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ terms (P4) */
.pp-terms {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 64px;
  padding-block: 28px 64px;
}
.pp-terms h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin: 6px 0 8px;
}
.pp-toc {
  position: sticky;
  top: 24px;
  align-self: start;
  padding-top: 128px;
}
.pp-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}
.pp-toc a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding-left: 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.pp-toc a:hover {
  color: var(--ink);
  border-left-color: var(--action);
}
.pp-terms section {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  scroll-margin-top: 16px;
}
.pp-terms section h2 {
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.pp-terms section p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}
.pp-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
}

/* ------------------------------------------------------------------ private page (R1, R2) */
.pp-me-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.pp-me-header .brand {
  font-size: 28px;
}
.pp-me-header .brand img {
  width: 40px;
  height: 40px;
}
.pp-private {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}
.pp-me {
  padding-block: 28px 40px;
}
.pp-me h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 6px 0 6px;
}
.pp-me h1:focus {
  outline: none;
}
.pp-me-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}
.pp-me-main,
.pp-me-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
}
.pp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pp-stat {
  padding: 20px 22px;
}
.pp-stat dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pp-stat dd {
  margin: 0;
}
.pp-stat .pp-n {
  display: block;
  font:
    800 40px/1.1 "Bricolage Grotesque",
    sans-serif;
  margin: 6px 0 2px;
}
.pp-stat small {
  color: var(--muted);
  font-size: 14px;
}
.pp-balance {
  background: linear-gradient(160deg, var(--pp-glow-soft), var(--pp-glow));
  border-color: var(--pp-glow);
}
.pp-balance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pp-balance .pp-big {
  font-size: clamp(56px, 6vw, 76px);
  margin: 12px 0 14px;
}
.pp-balance p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}
.pp-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pp-pill.owed {
  background: var(--action);
}
.pp-pill.held {
  background: var(--surface);
  border-color: var(--line);
}
.pp-pill.inquiry {
  background: var(--pp-info-soft);
  border-color: var(--pp-info-line);
  color: var(--link);
}
.pp-pill.booked {
  background: var(--pp-purple-soft);
  border-color: var(--pp-purple-line);
  color: var(--purple);
}
.pp-pill.first_clean_done {
  background: var(--pp-good-soft);
  border-color: var(--pp-good-line);
  color: var(--pp-good);
}
.pp-pill.not_a_match {
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
  text-decoration: line-through;
}
.pp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pp-head h2 {
  margin: 0;
  font-size: 28px;
}
.pp-head span {
  color: var(--muted);
  font-size: 15px;
}
.pp-table {
  width: 100%;
  border-collapse: collapse;
}
.pp-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.pp-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}
.pp-table tr:last-child td {
  border-bottom: 0;
}
.pp-table td:first-child {
  font-weight: 700;
}
.pp-table .pp-r {
  text-align: right;
  font-weight: 800;
}
.pp-dots {
  display: inline-flex;
  align-items: center;
}
.pp-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--pp-field-line);
  background: #fff;
}
.pp-dots i.on {
  background: var(--ink);
  border-color: var(--ink);
}
.pp-dots b {
  width: 22px;
  height: 2px;
  background: var(--line);
}
.pp-dots b.on {
  background: var(--ink);
}
.pp-homes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}
.pp-homes-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.pp-homes-list li:last-child {
  border-bottom: 0;
}
.pp-homes-list strong {
  font-size: 17px;
}
.pp-homes-list small {
  color: var(--muted);
  font-size: 14px;
}
.pp-homes-list .pp-dots,
.pp-homes-list .pp-pill {
  justify-self: end;
}
.pp-copyrow {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--pp-field-line);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
}
.pp-copyrow span {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp-copyrow .button {
  min-height: 48px;
  font-size: 16px;
  padding-inline: 18px;
  gap: 8px;
}
.pp-qr {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 20px;
  align-items: start;
  margin: 20px 0;
}
.pp-qr-img {
  width: 136px;
  height: 136px;
  border-radius: 8px;
  overflow: hidden;
}
.pp-qr-img svg {
  display: block;
  width: 100%;
  height: 100%;
}
.pp-qr h3 {
  font-size: 18px;
  margin: 0 0 4px;
}
.pp-qr p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
}
.pp-textbox {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px 20px;
}
.pp-textbox-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pp-textbox-head .pp-kicker {
  margin: 0;
}
.pp-textbox button {
  border: 0;
  background: transparent;
}
.pp-textbox p {
  margin: 10px 0 0;
}
.pp-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.pp-feed li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
}
.pp-feed li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 7px;
  background: var(--link);
}
.pp-feed li[data-kind="paid"]::before {
  background: var(--pp-good);
}
.pp-feed li[data-kind="reversed"]::before {
  background: var(--error);
}
.pp-feed li[data-kind="claimed"]::before {
  background: var(--purple);
}
.pp-feed small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.pp-empty {
  text-align: center;
  padding: 36px 24px;
  border: 1.5px dashed var(--pp-field-line);
  background: var(--surface);
  box-shadow: none;
}
.pp-empty-ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--purple);
}
.pp-empty h2 {
  font-size: 26px;
  margin: 0 0 8px;
}
.pp-empty p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 420px;
}
.pp-me-foot {
  border-top: 1px solid var(--line);
  padding-block: 22px 40px;
  color: var(--muted);
  font-size: 15px;
}
.pp-me-foot a {
  color: var(--link);
}
.pp-ended {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding-block: 64px 72px;
}
.pp-ended h1 {
  font-size: clamp(36px, 6vw, 52px);
  margin: 22px 0 14px;
}
.pp-ended p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 26px;
}
.pp-ended .button {
  width: 100%;
  gap: 12px;
}
.pp-ended small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}
.pp-ended .pp-empty-ico {
  background: var(--surface);
}
.pp-skel {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.pp-skel i {
  display: block;
  height: 120px;
  border-radius: var(--pp-radius);
  background: linear-gradient(
    90deg,
    var(--surface),
    var(--line),
    var(--surface)
  );
  background-size: 200% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .pp-skel i {
    animation: pp-shimmer 1.4s linear infinite;
  }
}
@keyframes pp-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
[data-view][hidden] {
  display: none !important;
}

/* ------------------------------------------------------------------ phones */
@media (max-width: 900px) {
  .pp-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 32px 16px;
  }
  .pp-steps,
  .pp-ways {
    grid-template-columns: 1fr;
  }
  .pp-steps li + li::before {
    display: none;
  }
  .pp-terms {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pp-toc {
    display: none;
  }
  .pp-me-grid {
    grid-template-columns: 1fr;
  }
  .pp-me-side {
    order: -1;
  }
}
@media (max-width: 760px) {
  .pp h1 {
    font-size: 40px;
  }
  .pp-section {
    padding-block: 28px;
  }
  .pp-card {
    padding: 20px;
  }
  .pp-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pp-actions .button {
    width: 100%;
  }
  .pp-actions .pp-terms-link {
    display: none;
  }
  .pp-closing {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 22px;
  }
  .pp-closing .button {
    width: 100%;
  }
  .pp-stats {
    gap: 10px;
  }
  .pp-stat {
    padding: 14px;
  }
  .pp-stat .pp-n {
    font-size: 32px;
  }
  .pp-stat dt {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .pp-stat small {
    font-size: 13px;
  }
  .pp-table {
    display: none;
  }
  .pp-homes-list {
    display: block;
  }
  .pp-qr {
    grid-template-columns: 96px 1fr;
    gap: 14px;
  }
  .pp-qr-img {
    width: 96px;
    height: 96px;
  }
  .pp-me-header .pp-private {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pp *,
  .pp *::before,
  .pp *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Second pass: sizes, programmatic focus targets, and the phone order of the private page
   (R1-dashboard-390: balance, numbers, homes, share, activity; R1-empty: no homes, then share). */
.pp-summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 3px;
}
.pp [tabindex="-1"]:focus-visible {
  outline: none;
}
@media (max-width: 900px) {
  .pp-me-main,
  .pp-me-side {
    display: contents;
  }
  .pp-me-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #me-balance { order: 1; }
  #me-stats { order: 2; }
  #me-homes,
  #me-empty { order: 3; }
  .pp-me-side > section:not(#me-balance) { order: 4; }
  #me-activity { order: 5; }
}
.pp-form .pp-check {
  font-weight: 400;
  font-size: 17px;
  margin: 0;
}
