/* The partner program's pages (site-src/pages/partners.mjs, built to
   site/assets/partners.css): /partners' pictures and application form, and
   the partner dashboard. The site's own tokens (site.css): warm paper, white
   cards with a hairline, the Fraunces serif for numbers, the app's orange. */

[hidden] { display: none !important; }

/* ---------- Cards and forms (shared) ---------- */
.pcard { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); padding: 24px; }
.pform { display: grid; gap: 16px; }
.pform-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 640px) { .pform-two { grid-template-columns: minmax(0, 1fr); } }
.pfield { display: grid; gap: 7px; min-width: 0; }
.pfield > span { font: 600 13.5px/1.3 var(--display); color: var(--muted); }
.pfield > span em { font-style: normal; font-weight: 500; color: var(--soft); margin-left: 4px; }
.pfield input, .pfield select, .pfield textarea {
  width: 100%; font: 500 16px/1.4 var(--body); color: var(--text); background: var(--paper);
  padding: 12px 14px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--border);
  transition: box-shadow .15s ease, background-color .15s ease; -webkit-appearance: none; appearance: none;
}
.pfield select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23645C54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.pfield textarea { resize: vertical; min-height: 52px; }
.pfield input::placeholder, .pfield textarea::placeholder { color: var(--soft); }
.pfield input:focus, .pfield select:focus, .pfield textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.pform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pform-error { margin: 0 !important; padding: 10px 14px; border-radius: 12px; background: #FEF2F2; color: #991B1B; font-size: 15px; max-width: none !important; }
.pform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.pform-note { margin: 0 !important; font-size: 14px; color: var(--muted); }
.btn:disabled { opacity: 0.65; cursor: default; transform: none; }

/* ---------- /partners: the pictures in its tiles ---------- */
.pcode-demo { display: grid; justify-items: center; gap: 10px; padding: 26px 22px; width: min(100%, 300px); border-radius: 20px; background: rgba(255, 249, 240, 0.06); box-shadow: inset 0 0 0 1px var(--ink-line); text-align: center; }
.pcode-demo-label { font: 700 11.5px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-muted); }
.pcode-demo-code { font: 600 clamp(30px, 3.4vw, 40px)/1 var(--serif); letter-spacing: 0.08em; color: var(--on-ink); }


.pmini { width: min(100%, 460px); padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px rgba(23, 19, 15, 0.12), inset 0 0 0 1px var(--border); }
.pmini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pmini-kpis div { padding: 12px 10px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--border); }
.pmini-kpis b { display: block; font: 600 30px/1 var(--serif); letter-spacing: -0.02em; color: var(--text); }
.pmini-kpis div:nth-child(3) b { color: var(--good); }
.pmini-kpis span { display: block; margin-top: 5px; font: 600 12px/1.2 var(--display); color: var(--muted); }
.pmini-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; margin-top: 14px; padding: 0 2px; }
.pmini-bars i { flex: 1; height: calc(var(--h) / 16 * 100%); min-height: 6px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand-light), var(--brand)); }
.rise-js .tile.rise .pmini-bars i { transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.rise-js .tile.rise.is-in .pmini-bars i { transform: none; }
.rise-js .tile.rise.is-in .pmini-bars i:nth-child(n+4) { transition-delay: .08s; }
.rise-js .tile.rise.is-in .pmini-bars i:nth-child(n+8) { transition-delay: .16s; }
.pmini-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font: 500 12px/1.3 var(--body); color: var(--soft); }

/* ---------- /partners: the application ---------- */
.papply-card { max-width: 720px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--border); border-top: 4px solid var(--brand); }
.pform-done { display: grid; justify-items: start; gap: 8px; outline: none; }
.pform-done h3 { margin: 6px 0 0 !important; font: 600 28px/1.15 var(--serif) !important; letter-spacing: -0.015em; }
.pform-done p { margin: 0 !important; color: var(--muted); }
.pform-done-check { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--good-bg); }
.pform-done-check::after { content: ""; position: absolute; left: 18px; top: 11px; width: 10px; height: 20px; border: solid var(--good); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* ---------- The dashboard ---------- */
.content--app { padding-top: clamp(28px, 4vw, 48px); }
.pd { min-height: 60vh; }
.pd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.pd-head .eyebrow { margin-bottom: 8px; }
.pd-head h1 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; letter-spacing: -0.025em; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; }
.pd-sub { margin-top: 10px; color: var(--muted); font-size: 15px; }
.pd-head-actions { display: flex; gap: 10px; }
.pd-head-actions .btn { padding: 10px 18px; font-size: 14.5px; }

/* Signed out: one column in the middle. */
.pd:not([data-state="board"]) .pd-head { justify-content: center; text-align: center; margin: clamp(8px, 3vw, 32px) auto 24px; }
.pd-auth { max-width: 480px; margin: 0 auto; }
.pd-auth-card { padding: clamp(22px, 4vw, 32px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--border); }
.pd-auth-lede { margin: 0 0 18px !important; color: var(--muted); font-size: 16.5px; max-width: none !important; }
.pd-auth-h { font: 600 26px/1.15 var(--serif) !important; letter-spacing: -0.015em; margin: 14px 0 8px !important; }
.pd-auth-foot { margin-top: 18px !important; text-align: center; font-size: 15px; color: var(--muted); max-width: none !important; }
.pd-wide { width: 100%; }
.pd-center { text-align: center; margin: 14px 0 0 !important; }
.pd-mail { display: block; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23C04A18' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E") center no-repeat; }
.pd-spin { display: block; width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--sand-2); border-top-color: var(--brand); animation: pd-spin .8s linear infinite; }
@keyframes pd-spin { to { transform: rotate(360deg); } }
.pd-loading { display: grid; justify-items: center; gap: 14px; padding: 60px 0; color: var(--muted); }
.pd-error { max-width: 480px; margin: 0 auto; display: grid; justify-items: center; gap: 14px; text-align: center; }
.pd-error p { margin: 0 !important; }

/* Signed in. */
.pd-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.pd-board > *, .pd-hero > *, .pd-two > *, .pd-kpis > * { min-width: 0; }
.pd-board h2 { margin: 0 !important; font: 600 22px/1.2 var(--serif) !important; letter-spacing: -0.01em; }
.pd-board p { max-width: none; }
.pd-sample { margin: 0 !important; padding: 12px 16px; border-radius: 14px; background: var(--warn-bg); color: #713F12; font-size: 15px; }
.pd-flash { margin: 0 !important; padding: 12px 16px; border-radius: 14px; background: var(--good-bg); color: #14532D; font-size: 15px; }
.pd-label { margin: 0 0 8px !important; font: 700 11.5px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pd-note { margin: 12px 0 0 !important; font-size: 14px; color: var(--muted); }
.pd-muted { color: var(--soft); }
.pd-strong { font-weight: 700; }
.pd-minus { color: #B91C1C; white-space: nowrap; }
.pd-since { display: block; margin-top: 3px; font-size: 12px; color: var(--soft); white-space: nowrap; }
.pd-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.pd-sec-head > span { font-size: 14px; color: var(--muted); }

.pd-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; }
.pd-code { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.pd-code .pd-label { color: var(--on-ink-muted); }
.pd-code-row, .pd-link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; margin-bottom: 18px; border-radius: 16px; background: rgba(255, 249, 240, 0.07); box-shadow: inset 0 0 0 1px var(--ink-line); }
.pd-code-text { min-width: 0; font: 600 clamp(26px, 7.2vw, 44px)/1.1 var(--serif); letter-spacing: 0.05em; overflow-wrap: anywhere; }
.pd-link-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; color: var(--on-ink-muted); }
.pd-copy { flex: none; border: 0; cursor: pointer; padding: 10px 16px; border-radius: 100px; background: var(--on-ink); color: var(--ink); font: 600 14px/1 var(--body); transition: background-color .15s ease, transform .15s ease; }
.pd-copy:hover { transform: translateY(-1px); }
.pd-copy.is-done { background: var(--good); color: #fff; }
.pd-code-note { margin: auto 0 0 !important; font-size: 14px; color: var(--on-ink-muted); }
.pd-code-note b { color: var(--on-ink); font-weight: 600; }

.pd-rate { display: flex; flex-direction: column; border-top: 4px solid var(--brand); }
.pd-rate-big { margin: 0 !important; font: 600 clamp(56px, 6vw, 76px)/0.95 var(--serif); letter-spacing: -0.04em; color: var(--brand); }
.pd-rate-big small { font-size: 0.5em; letter-spacing: 0; margin-left: 2px; }
.pd-rate-of { margin: 8px 0 0 !important; font-size: 14.5px; color: var(--muted); }
.pd-rate-next { margin: auto 0 0 !important; padding-top: 4px; font-size: 15px; color: var(--muted); }
.pd-rate-next b { color: var(--text); }

/* The owner view: which partner, over their own page. */
.pd-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px 12px 16px; border-radius: 16px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-md); }
.pd-owner-tag { padding: 5px 10px; border-radius: 100px; background: var(--brand); color: #fff; font: 700 12px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.pd-owner-text { flex: 1; min-width: 200px; font-size: 15px; color: var(--on-ink-muted); }
.pd-owner-text b { color: var(--on-ink); }
.pd-owner-pick { display: flex; align-items: center; gap: 8px; }
.pd-owner-label { font: 600 13px/1 var(--display); color: var(--on-ink-muted); }
.pd-owner-pick select { font: 600 15px/1.2 var(--body); color: var(--ink); background: var(--on-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%2317130F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center no-repeat; border: 0; border-radius: 100px; padding: 9px 34px 9px 14px; -webkit-appearance: none; appearance: none; max-width: 100%; }
.pd-owner-pick select:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.pfield input:disabled { opacity: 0.6; }

/* The rate's road: a line from the start to the top rate, filled to today. */
.ptrack { position: relative; margin: 26px 18px 30px; height: 64px; }
.ptrack-line { position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 6px; background: var(--sand-2); overflow: hidden; }
.ptrack-line i { position: absolute; inset: 0 auto 0 0; width: var(--fill); border-radius: 6px; background: linear-gradient(90deg, var(--brand-light), var(--brand)); transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.ptrack ol { list-style: none; }
.ptrack-stop { position: absolute; left: var(--at); top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 1px; text-align: center; white-space: nowrap; }
.ptrack-stop:first-child { transform: translateX(-18px); justify-items: start; text-align: left; }
.ptrack-stop:last-child { transform: translateX(calc(-100% + 18px)); justify-items: end; text-align: right; }
.ptrack-stop::before { content: ""; width: 22px; height: 22px; margin-bottom: 6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--sand-2); }
.ptrack-stop:first-child::before { margin-left: 7px; }
.ptrack-stop:last-child::before { margin-right: 7px; }
.ptrack-stop.is-on::before { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.ptrack-stop.is-now::before { box-shadow: 0 0 0 6px rgba(232, 93, 32, 0.22); }
.ptrack-stop b { font: 600 18px/1.1 var(--serif); }
.ptrack-stop span { font-size: 12.5px; color: var(--muted); }
.ptrack-stop small { font-size: 11.5px; color: var(--good); font-weight: 600; }

.pd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pd-kpi { display: grid; align-content: start; gap: 4px; padding: 20px 22px; }
.pd-kpi b { font: 600 clamp(36px, 3.6vw, 46px)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pd-kpi span { font: 700 14.5px/1.3 var(--display); margin-top: 6px; }
.pd-kpi small { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.pd-kpi--money b { color: var(--good); }

.pd-legend { display: inline-flex; align-items: center; gap: 6px 8px; flex-wrap: wrap; }
.pd-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.pd-key--a { background: var(--brand); }
.pd-key--b { background: var(--ink); }
.pd-bars { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; height: 220px; padding-top: 22px; }
.pd-bars li { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; min-width: 0; }
.pd-bar-pair { display: flex; align-items: flex-end; justify-content: center; gap: 3px; border-bottom: 1px solid var(--line); }
.pd-bar { position: relative; display: block; width: min(44%, 18px); height: var(--h); min-height: 2px; border-radius: 5px 5px 0 0; }
.pd-bar--a { background: linear-gradient(180deg, var(--brand-light), var(--brand)); }
.pd-bar--b { background: var(--ink); opacity: 0.85; }
.pd-bar em { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font: 600 12px/1 var(--display); font-style: normal; color: var(--muted); }
.pd-bar-label { font-size: 11.5px; color: var(--soft); text-align: center; white-space: nowrap; overflow: hidden; }

.pd-table { position: relative; margin: 0; border-top: 1px solid var(--line); border-bottom: 0; background: transparent; }
.pd-table table { font-size: 15px; min-width: 600px; }
.pd-table thead th { background: transparent; }
.pd-table td, .pd-table th { font-variant-numeric: tabular-nums; vertical-align: middle; }

.ppill { display: inline-block; padding: 4px 10px; border-radius: 100px; font: 600 12.5px/1.2 var(--display); white-space: nowrap; }
.ppill--paying { background: var(--good-bg); color: #14532D; }
.ppill--free { background: var(--brand-tint); color: var(--brand-text); }
.ppill--warn { background: var(--warn-bg); color: #713F12; }
.ppill--ended { background: var(--sand); color: var(--muted); }

.pd-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 18px; align-items: start; }
.pd-two--one { grid-template-columns: minmax(0, 1fr); }
.pd-postform { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; margin-top: 16px; }
.pd-postform .pform-error { grid-column: 1 / -1; }
.pd-posts { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.pd-posts li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pd-posts a { min-width: 0; display: grid; text-decoration: none; color: var(--text); font-weight: 600; }
.pd-posts a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: 13.5px; color: var(--muted); }
.pd-posts small { font-size: 13px; color: var(--soft); white-space: nowrap; }
.pd-terms dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; font-size: 15px; }
.pd-terms dt { color: var(--muted); }
.pd-terms dd { font-weight: 600; }

.pd-more { margin-top: 14px; }
.pd-empty { display: grid; gap: 4px; padding: 28px 20px; border-radius: 16px; background: var(--paper); text-align: center; }
.pd-empty span { color: var(--muted); font-size: 15px; }
.pd-foot { margin: 4px 0 0 !important; font-size: 13.5px; color: var(--soft); max-width: 820px !important; }

@media (max-width: 960px) {
  .pd-hero, .pd-two { grid-template-columns: minmax(0, 1fr); }
  .pd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pcard { padding: 18px; }
  .pd-kpis { gap: 12px; }
  .pd-kpi { padding: 16px; }
  .pd-head-actions { width: 100%; }
  .pd-head-actions .btn { flex: 1; }
  .pd-bars { gap: 4px; height: 180px; }
  .pd-bar-label { font-size: 10px; }
  .pd-bars li:nth-child(odd) .pd-bar-label { visibility: hidden; }
  .pd-bar em { display: none; }
  .pd-postform { grid-template-columns: minmax(0, 1fr); }
  .pd-posts li { grid-template-columns: minmax(0, 1fr) auto; }
  .pd-posts small { display: none; }
  .ptrack { margin-left: 8px; margin-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-spin { animation-duration: 2.4s; }
}

/* ---------- The owner's Manage tab (partners-admin.js) ---------- */
.pd-manage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.pd-manage > * { min-width: 0; }
.pd-manage h2 { margin: 0 !important; font: 600 22px/1.2 var(--serif) !important; letter-spacing: -0.01em; }
.pd-manage h3 { margin: 0 0 10px; font: 700 15px/1.3 var(--display); }
.pd-manage p { max-width: none; }
.pd-owner-tabs { display: inline-flex; padding: 3px; border-radius: 100px; background: rgba(255, 249, 240, 0.1); }
.pd-owner-tabs button { border: 0; background: none; color: var(--on-ink-muted); font: 600 14px/1 var(--body); padding: 8px 14px; border-radius: 100px; cursor: pointer; }
.pd-owner-tabs button.is-on { background: var(--on-ink); color: var(--ink); cursor: default; }
.pd-owner-tabs button:not(.is-on):hover { color: var(--on-ink); }
.pform-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .pform-three { grid-template-columns: minmax(0, 1fr); } }
.pm-editor { border-top: 4px solid var(--brand); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--border); }
.pm-status { min-width: 160px; }
.pm-status select { padding-top: 8px; padding-bottom: 8px; }
.pm-tiers { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.pm-tiers legend { padding: 0; margin-bottom: 8px; font: 600 13.5px/1.3 var(--display); color: var(--muted); }
.pm-tiers legend em { font-style: normal; font-weight: 500; color: var(--soft); margin-left: 4px; }
.pm-tiers ol { list-style: none; display: grid; gap: 10px; }
.pm-tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.pm-tier-gap { width: 92px; }
.pm-tier input[readonly] { color: var(--soft); }
.pm-tiers > .btn { justify-self: start; }
.pm-filter { display: inline-flex; gap: 6px; }
.pm-filter button { border: 0; cursor: pointer; padding: 7px 12px; border-radius: 100px; background: var(--sand); color: var(--muted); font: 600 13px/1 var(--display); }
.pm-filter button.is-on { background: var(--ink); color: var(--on-ink); }
.pm-apps { list-style: none; border-top: 1px solid var(--line); }
.pm-app { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pm-app-main { display: grid; gap: 4px; min-width: 0; flex: 1 1 320px; }
.pm-app-main > b { font: 700 16px/1.3 var(--display); margin-right: 8px; }
.pm-app-main > b + .ppill { justify-self: start; }
.pm-app-meta { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.pm-app details summary { cursor: pointer; font-size: 14px; color: var(--brand-text); }
.pm-pre { white-space: pre-wrap; margin: 8px 0 0 !important; font-size: 14.5px; color: var(--text); overflow-wrap: anywhere; }
.pm-actions, .pm-row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pm-actions .btn, .pm-row-actions .btn, .pm-list .btn, .pm-owners .btn { padding: 9px 14px; font-size: 14px; }
.pm-row-actions { justify-content: flex-end; }
.pm-name { border: 0; background: none; padding: 0; cursor: pointer; font: 700 15px/1.3 var(--body); color: var(--brand-text); text-align: left; text-decoration: underline; text-decoration-color: rgba(232, 93, 32, 0.45); text-underline-offset: 3px; }
.pm-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .pm-detail { grid-template-columns: minmax(0, 1fr); } }
.pm-list { list-style: none; border-top: 1px solid var(--line); margin-bottom: 14px; }
.pm-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pm-list li > span { color: var(--muted); }
.pm-post-acts { display: inline-flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.pm-payout { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.pm-payout .pform-error, .pm-payout .btn { grid-column: 1 / -1; justify-self: start; }
.pm-owners { list-style: none; border-top: 1px solid var(--line); margin-bottom: 14px; }
.pm-owners li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.pm-inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.pm-inline .pform-error { grid-column: 1 / -1; }
.pm-added { border-top: 4px solid var(--good); }
.pm-steps { margin: 10px 0 16px 20px; display: grid; gap: 6px; font-size: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .pm-tier { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pm-tier .btn, .pm-tier-gap { grid-column: 1 / -1; width: auto; justify-self: start; }
  .pm-payout { grid-template-columns: minmax(0, 1fr); }
  .pm-inline { grid-template-columns: minmax(0, 1fr); }
  .pd-owner-text { min-width: 0; }
}
