/* feet 09.11. requests marketplace (lib/requests.php; templates/requests*.php, partials/req_*.php). Members only, loaded by
   pnew_head_css_add('pnew-requests') on those pages and on a chat that carries an offer card. Member look: tonal surfaces,
   no card edges, mint accent for the one key, heads in the portal face, sentence case. Tokens only, no colour literals. */

/* ---- page: the board has the full width (owner 09.11.: no right column; the flow and «Send offer» are modals) */
.fp-req { --rq-gap: var(--space-4, 16px); padding-block: var(--space-4, 16px) var(--space-8, 40px); }
.fp-req__main { display: grid; gap: var(--rq-gap); min-width: 0; align-content: start; }

/* ---- head */
.fp-req__head { display: grid; gap: var(--space-1, 4px); }
.fp-req__titlerow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2, 8px) var(--space-3, 12px); }
.fp-req__h1 { display: inline-flex; align-items: center; gap: 12px; margin: 0; font: 800 clamp(26px, 3vw, 32px)/1.15 var(--portal-display, var(--body)); color: var(--ink); }
.fp-req__h1 .pc-ico { display: none; }   /* fix pack 1 (audit AD m56): no icon in page heads, all heads alike */
.fp-req__how { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--surface);
  color: var(--ink); font: 600 14px/1 var(--body); text-decoration: none; }
.fp-req__how:hover { background: var(--surface-2); }
.fp-req__sub { margin: 0; color: var(--ink-2); }
.fp-req__ok, .fp-req__err, .fp-of__err { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; border-radius: var(--r-s, 14px);
  background: var(--fp-tint); color: var(--ink); font-weight: 600; }   /* colour audit #271 */
.fp-req__err, .fp-of__err { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); }

/* ---- tabs */
.fp-req__tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-padding-inline: 16px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 28px; }
.fp-req__tabs::-webkit-scrollbar { display: none; }
.fp-req__tab { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px 0 18px; border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; }
.fp-req__tab:hover { background: var(--surface-2); }
.fp-req__tab.is-on { background: var(--accent); color: var(--on-accent); }
.fp-req__n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink); font: 700 13px/1 var(--body); font-variant-numeric: tabular-nums; }
.fp-req__tab.is-on .fp-req__n { background: var(--on-accent); color: var(--accent); }   /* colour audit #255: white on a white veil was 3.9:1 */

/* ---- filters */
.fp-req__filters { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .fp-req__filters { grid-template-columns: repeat(3, minmax(0, 150px)) minmax(0, 1fr); } }
.fp-req__sel, .fp-req__search { position: relative; display: flex; align-items: center; min-height: 46px; border-radius: var(--r-field, 16px); background: var(--surface); }
.fp-req__sel select { appearance: none; width: 100%; min-height: 46px; padding: 0 36px 0 14px; border: 0; border-radius: inherit; background: transparent;
  color: var(--ink); font: 600 14px/1 var(--body); cursor: pointer; }
.fp-req__sel > .pc-ico { position: absolute; right: 12px; pointer-events: none; color: var(--ink-2); }
.fp-req__search { grid-column: 1 / -1; padding-left: 14px; gap: 8px; color: var(--ink-2); }
@media (min-width: 760px) { .fp-req__search { grid-column: auto; } }
.fp-req__search input { flex: 1; min-width: 0; min-height: 46px; border: 0; background: transparent; color: var(--ink); font: 500 14px/1 var(--body); }
.fp-req__search input::placeholder { color: var(--ink-2); }
.fp-req__sel:focus-within, .fp-req__search:focus-within { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 1px; }
.fp-req__sel select:focus, .fp-req__search input:focus { outline: none; }
.fp-req__apply { justify-self: start; }
.js-req .fp-req__apply { display: none; }

/* ---- request cards */
.fp-req__cards { display: grid; gap: var(--rq-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .fp-req__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .fp-req__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fp-rq { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 16px; border-radius: var(--r-m, 22px); background: var(--surface); color: var(--ink); scroll-margin-top: 100px; }
.fp-rq:target { box-shadow: 0 0 0 2px var(--accent); }
.fp-rq__top { display: flex; align-items: flex-start; gap: 12px; }
.fp-rq__type { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 11px; border-radius: 999px;
  background: var(--fp-tint); color: var(--ink); font: 700 14px/1 var(--body); }   /* #269 */
.fp-rq__type .pc-ico { width: 16px; height: 16px; color: var(--accent-text, var(--accent)); }   /* colour audit #291 */
.fp-rq__type--photos { background: var(--fp-tint); }
.fp-rq__type--custom { background: var(--fp-tint); }
.fp-rq__budget { margin-left: auto; display: grid; justify-items: end; line-height: 1.05; }
.fp-rq__budget small { color: var(--ink-2); font: 500 12px/1.2 var(--body); }
.fp-rq__budget b { font: 800 22px/1.1 var(--portal-display, var(--body)); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp-rq__save { margin: -4px -6px 0 0; }
.fp-rq__savebtn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
.fp-rq__savebtn:hover { background: var(--surface-2); color: var(--ink); }
.fp-rq__savebtn[aria-pressed="true"] { color: var(--accent); }
.fp-rq__savebtn[aria-pressed="true"] .pc-ico { fill: currentColor; }
.fp-rq__title { margin: 2px 0 0; font: 800 19px/1.25 var(--portal-display, var(--body)) !important; letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; }
.fp-rq__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-rq__tags li { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-2);
  color: var(--ink); font: 500 13px/1 var(--body); }
.fp-rq__tags .fp-rq__more { color: var(--ink-2); font-weight: 700; }
.fp-rq__size { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font: 500 14px/1.3 var(--body); }
.fp-rq__size .pc-ico { color: var(--ink-2); }
.fp-rq__size.is-hot, .fp-rq__size.is-hot .pc-ico { color: var(--accent); font-weight: 700; }   /* night 1000 (creator-money #9): under an hour left */
.fp-rq__text { margin: 0; color: var(--ink-2); font: 400 14.5px/1.45 var(--body); overflow-wrap: anywhere; }
.fp-req__cards .fp-rq__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-rq__foot { margin-top: auto; padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fp-rq__who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); font: 500 14px/1.2 var(--body); }
.fp-rq__who > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-rq__go { flex: none; }

/* ---- her other tabs: one row per offer / order */
.fp-req__rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fp-req__row { display: grid; gap: 10px 14px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "type price" "main main" "keys keys";
  padding: 14px 16px; border-radius: var(--r-m, 22px); background: var(--surface); scroll-margin-top: 100px; }
.fp-req__row > .fp-rq__type { grid-area: type; justify-self: start; }
.fp-req__rowmain { grid-area: main; display: grid; gap: 6px; min-width: 0; }
.fp-req__rowt { font: 700 16px/1.3 var(--body); color: var(--ink); }
.fp-req__rowm { color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.fp-req__rowmin { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.fp-req__rowp { grid-area: price; font: 800 20px/1 var(--portal-display, var(--body)); color: var(--ink); white-space: nowrap; }
.fp-req__rowk { grid-area: keys; display: flex; flex-wrap: wrap; gap: 8px; }
.fp-req__rowk form { margin: 0; }
@media (min-width: 760px) {
  .fp-req__row { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "type main price keys"; align-items: center; }
}
.fp-req__empty { display: grid; justify-items: center; gap: 10px; padding: 36px 20px; border-radius: var(--r-m, 22px); background: var(--surface); color: var(--ink-2); text-align: center; }
.fp-req__empty .pc-ico { color: var(--accent); }
.fp-req__empty p { margin: 0; max-width: 46ch; }
.fp-req__quota { display: flex; gap: 10px; margin: 0; padding: 14px 16px; border-radius: var(--r-m, 22px); background: var(--surface); color: var(--ink-2); font-size: 14px; }
.fp-req__quota .pc-ico { flex: none; color: var(--accent); margin-top: 2px; }

/* ---- the modals (native <dialog>): centred on wide screens, a full-screen sheet on phones */
.fp-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0;
  border-radius: var(--r-l, 28px); background: var(--surface); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: var(--sh-float, 0 24px 64px rgb(0 0 0 / .5)); }   /* colour audit #275 */
.fp-modal--offer { width: min(720px, calc(100vw - 32px)); }
.fp-modal::backdrop { background: var(--scrim, rgb(3 7 18 / .7)); }   /* #274: a light veil in light theme gave no focus */
.fp-modal:not([open]) { display: none; }
.fp-modal__top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 12px 12px 0; }
.fp-modal__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: var(--surface-2); }
.fp-modal__x:hover { background: var(--surface-3); }
.fp-modal .fp-rflow { padding-top: 0; }
@media (max-width: 699px) {
  .fp-modal, .fp-modal--offer { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
}

/* ---- the flow */
.fp-rflow { padding: 18px 18px 20px; border-radius: var(--r-m, 22px); background: var(--surface); scroll-margin-top: 100px; }
.fp-rflow__h { margin: 0 0 16px; font: 800 19px/1.25 var(--portal-display, var(--body)) !important; color: var(--ink); }
.fp-rflow__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.fp-rflow__list li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--ink); font: 500 13px/1.3 var(--body); }
.fp-rflow__list li + li::before { content: ""; position: absolute; top: 17px; right: calc(50% + 24px); width: calc(100% - 40px); height: 2px; border-radius: 2px;
  background: color-mix(in srgb, var(--accent) 45%, transparent); }
.fp-rflow__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 800 16px/1 var(--portal-display, var(--body)); }

/* ---- «Send offer» */
.fp-of { --of-pad: 18px; display: grid; gap: 14px; padding: var(--of-pad); border-radius: var(--r-m, 22px); background: var(--surface); scroll-margin-top: 90px; }
.fp-of__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fp-of__h { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 800 22px/1.2 var(--portal-display, var(--body)) !important; color: var(--ink); }
.fp-of__h .pc-ico { color: var(--accent); }
.fp-of__close { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); background: var(--surface-2); }
.fp-of__close:hover { background: var(--surface-3); }
.fp-of__req { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--r-s, 14px); background: var(--surface-2); color: var(--ink); }
.fp-of__req .pc-ico { flex: none; color: var(--accent); }
.fp-of__req b { flex: 1; min-width: 0; font: 700 14.5px/1.3 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-of__req span { flex: none; color: var(--ink-2); font: 600 13px/1 var(--body); white-space: nowrap; }
.fp-of__note { display: flex; gap: 8px; margin: 0; padding: 12px 14px; border-radius: var(--r-s, 14px); background: var(--fp-tint);
  color: var(--ink); font-size: 14px; }
.fp-of__note .pc-ico { flex: none; margin-top: 2px; color: var(--accent); }
.fp-of__grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .fp-of__grid { grid-template-columns: minmax(0, 1fr) 240px; } .fp-of__keys { grid-column: 1 / -1; } }
.fp-of__fields { display: grid; gap: 14px; align-content: start; min-width: 0; }
.fp-of__fields .pc-field { margin: 0; }
.fp-of__msg { min-height: 104px; resize: vertical; }
.fp-of__count { text-align: right; font-variant-numeric: tabular-nums; }
.fp-of__teaser { margin: 0; padding: 0; border: 0; min-width: 0; }
.fp-of__opt { color: var(--ink-2); font-weight: 500; text-transform: none; letter-spacing: 0; }
.fp-of__up { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 8px; }
.fp-of__drop { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 92px; padding: 10px; border-radius: var(--r-s, 14px);
  background: var(--surface-2); color: var(--ink); text-align: center; cursor: pointer; outline: 2px dashed color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: -2px; }   /* #278 */
.fp-of__drop:hover { background: var(--surface-3); }
.fp-of__drop:focus-within { outline-style: solid; outline-color: var(--focus-ring, var(--accent)); }
.fp-of__drop .pc-ico { color: var(--accent); }
.fp-of__drop b { font: 700 13.5px/1.2 var(--body); }
.fp-of__drop small { color: var(--ink-2); font: 500 11.5px/1.3 var(--body); }
.fp-of__drop.has-file { outline-style: solid; background: var(--fp-tint); }
.fp-of__money, .fp-rn__money { position: relative; display: flex; align-items: center; gap: 8px; }
.fp-of__money .pc-input { flex: 1; padding-right: 40px; font-weight: 700; }
.fp-of__money > span { position: absolute; right: 16px; color: var(--ink-2); font-weight: 700; pointer-events: none; }
.fp-of__prev { display: grid; gap: 8px; align-content: start; min-width: 0; }
.fp-of__prev .pc-label { margin: 0; }
.fp-of__keys { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.fp-of__left { flex: 1 1 100%; margin: 0; color: var(--ink-2); font-size: 13.5px; }
.fp-of__keys .pc-btn--primary { flex: 1 1 auto; justify-content: center; }
/* inside its modal: the panel is the modal's body; on phones the Send bar sticks to the bottom of the sheet */
.fp-modal .fp-of { --of-pad: 22px; border-radius: 0; background: transparent; }
@media (max-width: 699px) {
  .fp-modal .fp-of { --of-pad: 16px; min-height: 100%; align-content: start; }
  .fp-modal .fp-of__keys { position: sticky; bottom: calc(-1 * var(--of-pad)); margin: 0 calc(-1 * var(--of-pad)) calc(-1 * var(--of-pad));
    padding: 12px var(--of-pad) calc(var(--of-pad) + env(safe-area-inset-bottom, 0px)); background: var(--surface);
    box-shadow: var(--sh-sheet, 0 -10px 24px rgb(0 0 0 / .3)); }   /* #283 */
}

/* ---- the offer card (his chat, his page, her preview) */
.fp-oc { container-type: inline-size; display: grid; gap: 12px; padding: 14px; border-radius: var(--r-m, 22px); background: var(--surface); color: var(--ink); scroll-margin-top: 100px; }
.fp-oc + .fp-oc { margin-top: 10px; }
.fp-oc--preview { background: var(--surface-2); padding: 12px; }
.fp-oc:target { box-shadow: 0 0 0 2px var(--accent); }
.fp-oc__head { display: flex; align-items: center; gap: 10px; }
.fp-oc__who { display: grid; min-width: 0; line-height: 1.25; }
.fp-oc__who b { font: 700 15px/1.25 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-oc__who span { color: var(--ink-2); font-size: 13px; }
.fp-oc__time { margin-left: auto; color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.fp-oc__body { display: grid; gap: 12px; }
@container (min-width: 440px) { .fp-oc__body:has(.fp-oc__media) { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: start; } }
.fp-oc__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-s, 14px); overflow: hidden; background: var(--fp-tint); }   /* #280 */
.fp-oc--preview .fp-oc__media { background: var(--fp-tint); }
.fp-oc__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fp-oc__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-text); }
.fp-oc__media:not(.is-empty) .fp-oc__ph { display: none; }
.fp-oc__txt { display: grid; gap: 6px; min-width: 0; align-content: start; }
.fp-oc__title { margin: 0; font: 800 18px/1.25 var(--portal-display, var(--body)) !important; color: var(--ink); overflow-wrap: anywhere; }
.fp-oc__msg { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fp-oc__price { margin: 2px 0 0; font: 800 24px/1.1 var(--portal-display, var(--body)); color: var(--ink); font-variant-numeric: tabular-nums; }
.fp-oc__price:empty { display: none; }
.fp-oc__note, .fp-oc__safe { display: flex; gap: 8px; margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.fp-oc__note { padding: 10px 12px; border-radius: var(--r-s, 14px); background: var(--surface-2); color: var(--ink); }
.fp-oc--preview .fp-oc__note { background: var(--surface); }
.fp-oc__note .pc-ico, .fp-oc__safe .pc-ico { flex: none; margin-top: 1px; color: var(--accent); }
.fp-oc__state { margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.fp-oc__keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fp-oc__keys .pc-btn, .fp-oc__accept .pc-btn { width: 100%; justify-content: center; }
.fp-oc__accept { margin: 0; }
.fp-oc__keys .pc-btn[disabled] { opacity: .5; cursor: not-allowed; }
.fp-oc--preview .fp-oc__keys .pc-btn { pointer-events: none; min-height: 40px; font-size: 14px; }
.fp-oc--preview.is-low [data-req-prev-accept] { opacity: .5; }
/* in the chat: the card under the thread head, the width of the bubbles */
.pn-lchat .fp-oc, .pn-chat .fp-oc { max-width: 620px; margin-inline: auto; }

/* ---- his page */
.fp-mr { display: grid; gap: 10px; scroll-margin-top: 100px; }
.fp-mr__state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-2); font: 600 13px/1.3 var(--body); }
.fp-mr__state > span:first-child { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.fp-mr__state--open > span:first-child { background: var(--accent); color: var(--on-accent); }
.fp-mr__close { margin: 0 0 0 auto; }
.fp-mr__offers { display: grid; gap: 10px; padding-left: clamp(0px, 3vw, 24px); }
.fp-mr__h { margin: 4px 0 0; font: 700 16px/1.3 var(--body) !important; color: var(--ink); }
.fp-mr__wait { margin: 0; color: var(--ink-2); font-size: 14px; padding-left: clamp(0px, 3vw, 24px); }
.fp-req__empty--cta .pc-btn { margin-top: 6px; }

/* ---- his form */
.fp-rn { display: grid; gap: 18px; padding: 20px; border-radius: var(--r-m, 22px); background: var(--surface); }
.fp-rn .pc-field { margin: 0; }
.fp-rn__types { margin: 0; padding: 0; border: 0; min-width: 0; }
.fp-rn__typegrid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.fp-rn__type { display: grid; gap: 6px; justify-items: start; padding: 12px; border-radius: var(--r-s, 14px); background: var(--surface-2); cursor: pointer; }
.fp-rn__type small { color: var(--ink-2); font-size: 12.5px; line-height: 1.3; }
.fp-rn__type:hover { background: var(--surface-3); }
.fp-rn__type:has(input:checked) { box-shadow: none; background: var(--fp-tint); }   /* colour audit #290: one selected style, no edge */
.fp-rn__type:has(input:focus-visible) { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; }
@media (max-width: 520px) { .fp-rn__typegrid { grid-template-columns: minmax(0, 1fr); } .fp-rn__type { grid-template-columns: auto 1fr; align-items: center; } }
.fp-rn__two { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .fp-rn__two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fp-rn__money .pc-input { flex: 1; min-width: 0; font-weight: 700; }
.fp-rn__money .pc-select { flex: 0 0 auto; }
.fp-rn__size { display: none; }
.fp-rn:has(input[name="type"][value="video"]:checked) [data-req-size="video"],
.fp-rn:has(input[name="type"][value="photos"]:checked) [data-req-size="photos"],
.fp-rn:has(input[name="type"][value="custom"]:checked) [data-req-size="custom"] { display: block; }
.fp-rn__size .pc-label { display: block; }
.fp-rn__size .pc-help { margin-top: 10px; }
.fp-rn__chips:empty { display: none; }
.fp-rn__chips { margin-top: 10px; }
.fp-rn__descr { min-height: 150px; resize: vertical; }
.fp-rn__foot { display: flex; justify-content: space-between; gap: 12px; }
.fp-rn__foot > span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.fp-rn__keys { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.fp-rn__rules { display: flex; gap: 8px; margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.fp-rn__rules .pc-ico { flex: none; color: var(--accent); margin-top: 1px; }
.fp-rn .is-error .pc-help, .fp-rn .pc-help.is-error { color: var(--danger, var(--ink)); }
@media (max-width: 700px) {
  .fp-rn { padding: 16px; }
  .fp-rn__keys .pc-btn { flex: 1 1 auto; justify-content: center; }
  .fp-rflow__list li { font-size: 12px; }
}
/* a hidden line stays hidden (the flex / grid rules above would show it) */
.fp-oc [hidden], .fp-of [hidden], .fp-rn [hidden] { display: none !important; }
/* the preview column is narrow: its two keys stack */
@container (max-width: 300px) {
  .fp-oc__keys { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .fp-oc__title { font-size: 16px !important; }
  .fp-oc__price { font-size: 22px; }
}

/* ---- direct requests (owner 09.11.): «For you» on her board and in their chat, his waiting line, the budget chips */
.fp-rq__for { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--fp-tint-2); color: var(--ink); font: 700 13px/1 var(--body); }
.fp-rq__for .pc-ico { width: 14px; height: 14px; color: var(--accent); }
.fp-rq.is-for-you { background: var(--fp-tint); }   /* #258 */
.fp-rq--chat { margin-block: 8px; }
.fp-rq__wait { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-2); font-size: 14px; }
.fp-rq__wait .pc-ico { flex: none; color: var(--accent); }
.fp-rn__chipsb { margin-bottom: 8px; }

/* ---- direct payment (owner 09.11., lib/req_pay.php): the order card in their chat, the offer modal's «Add how you get paid»,
   her payment methods page /account/payments/ (with pnew-tools.css for the fp-tl / fp-spay parts it shares). */
.fp-ro { gap: 14px; }
.fp-ro__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.fp-ro__top .fp-oc__price { margin: 0; }
.fp-ro__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: rqo; }
.fp-ro__steps li { display: grid; gap: 6px; min-width: 0; color: var(--ink-2); font: 600 12px/1.25 var(--body); }
.fp-ro__steps li::before { content: ''; display: block; height: 4px; border-radius: 999px; background: var(--surface-3, var(--surface-2)); }
.fp-ro__steps li.is-done::before, .fp-ro__steps li.is-now::before { background: var(--accent); }
.fp-ro__steps li.is-now { color: var(--ink); }
.fp-ro__steps span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-ro__line { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.45; font-weight: 600; }
.fp-ro__honest { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.fp-ro__pay { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-ro__m { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; padding: 12px; border-radius: var(--r-s, 14px); background: var(--surface-2); }
.fp-ro__mico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fp-tint); color: var(--accent-text); }   /* #285 */
.fp-ro__mtxt { display: grid; gap: 2px; min-width: 0; font-size: 13px; color: var(--ink-2); }
.fp-ro__mtxt b { color: var(--ink); font: 700 14px/1.3 var(--body); }
.fp-ro__val { display: block; color: var(--ink); font: 600 14px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; user-select: all; }
.fp-ro__pref { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; vertical-align: 1px;
  background: var(--fp-tint); color: var(--accent-text); font: 700 11px/1 var(--body); }   /* #205 */
.fp-ro__copy { gap: 6px; }
.fp-ro__copy.is-done { background: var(--accent); color: var(--on-accent); }
.fp-ro__mine { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.fp-ro__mine a { color: var(--ink); font-weight: 700; }
.fp-ro__keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.fp-ro__keys form { margin: 0; }
.fp-ro__keys .pc-btn { width: 100%; justify-content: center; }
.fp-ro--delivered, .fp-ro--cancelled { background: var(--surface-2); }   /* #287 */
.fp-ro--cancelled .fp-ro__line { color: var(--ink-2); }
@container (max-width: 420px) {
  .fp-ro__m { grid-template-columns: auto minmax(0, 1fr); }
  .fp-ro__copy { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
.fp-ro__chip { min-height: 24px; padding: 0 10px; font-size: 12px; justify-self: start; }
.fp-ro__chip--accepted { background: var(--surface-3, var(--surface-2)); color: var(--ink); }
.fp-ro__chip--paid_by_buyer, .fp-ro__chip--payment_confirmed { background: var(--fp-tint-2); color: var(--ink); }   /* #268 */
.fp-ro__chip--delivered { background: var(--accent); color: var(--on-accent); }
.fp-of__pay { display: flex; flex: 1 1 100%; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.fp-of__pay .pc-ico { flex: none; color: var(--accent); }
.fp-of__pay a { color: var(--ink); font-weight: 700; }

/* her payment methods page */
.fp-rqp__grid { display: grid; gap: var(--tl-gap, 16px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .fp-rqp__grid { grid-template-columns: minmax(0, 1fr) 360px; } .fp-rqp .fp-spay__how { position: sticky; top: calc(var(--app-top, 76px) + 12px); } }
.fp-rqp__list, .fp-rqp__add { display: grid; gap: 14px; }
.fp-rqp__list h2, .fp-rqp__add h2 { margin: 0; }
/* PM 200 #70 (feet 09.11.): Get paid inside My profile — one panel, the list and the add form under its head */
.fp-rqp--in { display: grid; gap: 18px; margin-top: var(--space-4, 16px); }
.fp-rqp--in .fp-rqp__list h3, .fp-rqp--in .fp-rqp__add h3 { margin: 0; }
.fp-rqp__rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-rqp__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; padding: 12px; border-radius: var(--r-s, 14px); background: var(--surface-2); }
.fp-rqp__row .fp-tl__ico { width: 40px; height: 40px; }
.fp-rqp__row.is-off .fp-rqp__main { opacity: .6; }
.fp-rqp__main { display: grid; gap: 2px; min-width: 0; }
.fp-rqp__main b { color: var(--ink); font: 700 15px/1.3 var(--body); }
.fp-rqp__main > span { color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.fp-rqp__off { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; vertical-align: 1px;
  background: var(--surface-3, var(--surface)); color: var(--ink-2); font: 700 11px/1 var(--body); }
.fp-rqp__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.fp-rqp__acts form { margin: 0; }
@media (max-width: 699px) {
  .fp-rqp__row { grid-template-columns: auto minmax(0, 1fr); }
  .fp-rqp__acts { grid-column: 1 / -1; justify-content: flex-start; }
}
.fp-rqp__form { display: grid; gap: 14px; }
.fp-rqp__kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fp-rqp__kinds legend { margin-bottom: 8px; padding: 0; }
.fp-rqp__kind span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface-2); color: var(--ink); font: 600 14px/1 var(--body); }
.fp-rqp__kind span .pc-ico { color: var(--ink-2); }
.fp-rqp__kind input:checked + span { background: var(--accent); color: var(--on-accent); }
.fp-rqp__kind input:checked + span .pc-ico { color: currentColor; }
.fp-rqp__kind input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fp-rqp__f { display: none; gap: 12px; }
.fp-rqp__form:has(input[name="kind"][value="paypal"]:checked) .fp-rqp__f--paypal,
.fp-rqp__form:has(input[name="kind"][value="cashapp"]:checked) .fp-rqp__f--cashapp,
.fp-rqp__form:has(input[name="kind"][value="venmo"]:checked) .fp-rqp__f--venmo,
.fp-rqp__form:has(input[name="kind"][value="iban"]:checked) .fp-rqp__f--iban,
.fp-rqp__form:has(input[name="kind"][value="crypto"]:checked) .fp-rqp__f--crypto,
.fp-rqp__form:has(input[name="kind"][value="other"]:checked) .fp-rqp__f--other { display: grid; }
/* seller20 trust #4 / #5: what the buyer sees of this method (a quiet tonal note above its fields); «Other»: her own name only with «Something else» */
.fp-rqp__warn { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.fp-rqp__warn .pc-ico { flex: none; margin-top: 2px; color: var(--accent); }
.fp-rqp__warn b { color: var(--ink); font-weight: 700; }
.fp-rqp__f--other .fp-rqp__own { display: none; }
.fp-rqp__f--other:has(select[name="other_name"] option[value="_own"]:checked) .fp-rqp__own,
.fp-rqp__f--other .fp-rqp__own.is-error { display: grid; }
.fp-rqp__f .pc-field { margin: 0; }
.fp-rqp__mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.fp-rqp__pref { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; }
.fp-rqp__pref input { width: 18px; height: 18px; accent-color: var(--accent); }
/* funnel 09.11. (addition 2): the teaser clip beside the photo, «Exclusive — only in this chat» (default off), a video teaser */
.fp-of__excl { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; font: var(--type-meta); color: var(--ink-2); cursor: pointer; }
.fp-of__excl input { margin-top: 3px; accent-color: var(--accent); }
.fp-of__excl b { color: var(--ink); }
.fp-of__excl small { display: block; }
.fp-oc__media video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.fp-of__up:has(> :nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* PM 200 (09.11.): the buyer-chat preview of her offer on wide screens only (#111); no payment method = «Add how you get paid» first (#110) */
@media (max-width: 699px) { .fp-of__prev--wide { display: none; } }
.fp-of__payfirst { display: grid; gap: 16px; }

/* ---- owner 09.11. late: the teaser is required (1 clip or 5 to 10 photos; templates/partials/req_offer_form.php, requests.js) */
.fp-of__rule { margin: 2px 0 0; }
.fp-of__up:has(> :nth-child(2)) { grid-template-columns: minmax(0, 1fr); }   /* one drop tile; the picks, the count and the line below it */
.fp-of__picks { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-of__pick { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
  background: var(--fp-tint); color: var(--accent-text); }
.fp-of__pick img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fp-of__clear { align-self: center; min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--r-full, 999px); background: var(--surface-2);
  color: var(--ink); font: 600 13px/1 var(--body); cursor: pointer; }
.fp-of__clear:hover { background: var(--surface-3); }
.fp-of__tn { margin: 0; color: var(--ink-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.fp-of__tn.is-ok { color: var(--accent-text, var(--ink)); font-weight: 600; }
.fp-of__terr { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--r-s, 14px);
  background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--ink); font-size: 13.5px; }   /* #282 */
.fp-of__terr .pc-ico { flex: none; color: var(--danger); }
.fp-of__teaser.is-bad .fp-of__drop { outline-color: color-mix(in srgb, var(--danger) 70%, transparent); }
/* the 2nd to 10th teaser photo: small tiles over the foot of the first one (his card, her preview) */
.fp-oc__strip { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.fp-oc__strip::-webkit-scrollbar { display: none; }
.fp-oc__thumb { flex: none; display: block; width: 38px; height: 38px; border-radius: 9px; overflow: hidden; box-shadow: 0 0 0 2px var(--surface); }
.fp-oc__media .fp-oc__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* owner 09.11. late (point 4): «Preview in the buyer's chat» — the preview card under a dashed border, quiet grey 50 % (light + dark) */
.fp-oc--preview { border: 1.5px dashed rgba(128, 128, 128, .5); }

/* ---------------------------------------------------------------- audit 500 (09.11. late), package flow ---------------- */
/* one fold for «Accept offer», «Close request», «Something went wrong»: the summary is the key, the form opens under it */
.fp-oc__confirm, .fp-mr__close, .fp-ro__prob { display: block; }
.fp-oc__confirm > summary, .fp-mr__close > summary, .fp-ro__prob > summary { list-style: none; cursor: pointer; }
.fp-oc__confirm > summary::-webkit-details-marker, .fp-mr__close > summary::-webkit-details-marker, .fp-ro__prob > summary::-webkit-details-marker { display: none; }
.fp-oc__confirm > summary { width: 100%; justify-content: center; }
.fp-oc__confirm[open] > summary { opacity: .6; }
.fp-oc__confirm form, .fp-mr__close form, .fp-ro__probf { display: grid; gap: 8px; margin-top: 8px; padding: 12px; border-radius: var(--r-m, 12px); background: var(--surface-2); }
.fp-oc__q { margin: 0; color: var(--ink); font: 600 14px/1.4 var(--body); }
.fp-mr__close[open] { flex-basis: 100%; }
/* #67: the preview's Accept is a picture of a key, never a key */
.fp-oc__inert { opacity: .55; pointer-events: none; filter: saturate(.6); }
/* #66: the placeholder in the preview stays grey */
.fp-oc__msg.is-ph { color: var(--ink-2); font-style: italic; opacity: .8; }
/* #60: each request state its own pill (only «Open» had one) */
.fp-mr__state--expired > span:first-child, .fp-mr__state--closed > span:first-child { background: var(--surface); color: var(--ink-2); }
.fp-mr__state--taken > span:first-child { background: var(--fp-tint-2); color: var(--ink); }   /* #286 */
.fp-mr__state--o-delivered > span:first-child { background: var(--accent); color: var(--on-accent); }
.fp-ro__chip--cancelled { background: var(--surface); color: var(--ink-2); }
/* creator #129: the whole request in the offer modal */
.fp-of__full { display: grid; gap: 8px; margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r-m, 12px); background: var(--surface-2); }
.fp-of__facts { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; color: var(--ink-2); font: 600 13px/1.3 var(--body); }
.fp-of__facts > span { display: inline-flex; align-items: center; gap: 6px; }
.fp-of__tag { min-height: 24px; padding: 0 10px; border-radius: 999px; background: var(--surface-3, var(--surface)); color: var(--ink); }
.fp-of__descr { margin: 0; max-height: 9.5em; overflow: auto; color: var(--ink); font: 400 14px/1.5 var(--body); white-space: normal; }
.fp-of__clipref, .fp-of__payhint { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--ink-2); font: 500 13px/1.45 var(--body); }
.fp-of__payhint { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-m, 12px); background: var(--fp-tint); }   /* #281 */
.fp-of__payhint a, .fp-ro__mine a { color: var(--accent-text, var(--accent)); font-weight: 700; }
/* #49: each picked photo has its own remove key */
.fp-of__pickx { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .65); color: #fff; font: 700 14px/1 var(--body); cursor: pointer; }
.fp-of__pickx:focus-visible { outline: none; box-shadow: var(--focus-ring); }
/* the order card: a reported problem, paying safely, the delivered clips and her upload */
.fp-ro__prob-line, .fp-ro__safe { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--r-m, 12px); font: 500 13px/1.45 var(--body); }
.fp-ro__prob-line { background: color-mix(in srgb, var(--danger) 12%, var(--surface-2)); color: var(--ink); }
.fp-ro__safe { background: var(--surface-2); color: var(--ink-2); }
.fp-ro__clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-ro__clip { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-m, 12px); overflow: hidden; background: var(--surface-2); }
.fp-ro__clip video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.fp-ro__clipwait { display: grid; place-content: center; justify-items: center; gap: 6px; height: 100%; padding: 10px; color: var(--ink-2); font: 600 12px/1.35 var(--body); text-align: center; }
.fp-ro__up { display: grid; gap: 6px; padding: 12px; border-radius: var(--r-m, 12px); background: var(--surface-2); }
.fp-ro__up .pc-help { margin: 0; }
.fp-ro__up .pc-btn { justify-self: start; }
.fp-ro__upf { display: grid; gap: 6px; }
.fp-ro__prob > summary { justify-self: start; }
.fp-ro__probf fieldset { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.fp-ro__reason { display: flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ink); font: 500 14px/1.3 var(--body); cursor: pointer; }
.fp-ro__reason input { accent-color: var(--accent); }
/* buyer #112: the clip a request started from */
.fp-rq__clip, .fp-rn__clip { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border-radius: var(--r-m, 12px); background: var(--surface-2);
  color: var(--ink-2); font: 600 13px/1.35 var(--body); }
.fp-rq__clip img, .fp-rn__clip img { flex: none; width: 40px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--surface-3, var(--surface)); }
.fp-rq__clip small, .fp-rn__clip small { display: block; color: var(--ink-2); font-weight: 400; }
.fp-rn__clip img { width: 48px; height: 64px; }
.fp-rq__chatk { display: inline-flex; margin: 0; }
.fp-rq--chat .fp-rq__foot { flex-wrap: wrap; gap: 8px; }

/* ==== feet 10.11. the creator's Requests page to the owner's mockup (templates/requests.php, partials/req_row.php) ==========
   Head with the coin (the pink / violet glow lives here only), four stat tiles (filters of the list), tabs + Filter + sort,
   the list as table rows from 900 px of list width (a container query: the shell's side column decides, not the window),
   compact cards below. Anthracite tonal surfaces, no card edges, the mint accent; the two glow colours are local properties. */
.fp-rqb { --rqb-pink: #00b3ff; --rqb-violet: #0062ff;   /* colour audit: both names hold the brand blues */ --rqb-r: 20px; }
.fp-rqb .fp-req__main { gap: 18px; }

/* ---- head */
.fp-rqb__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; min-height: 120px; }
.fp-rqb__htext { display: grid; justify-items: start; gap: 8px; min-width: 0; position: relative; z-index: 1; }
.fp-rqb__h1 { margin: 0; font: 800 clamp(30px, 3.6vw, 42px)/1.08 var(--portal-display, var(--body)) !important; letter-spacing: -.015em; color: var(--ink); text-transform: none; }
.fp-rqb__lede { margin: 0; color: var(--ink-2); font: 400 16px/1.45 var(--body); max-width: 52ch; }
.fp-rqb__how { margin-top: 4px; }
.fp-rqb__coin { position: relative; width: 150px; height: 150px; margin-right: 8px; }
.fp-rqb__coin::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 40% 40%, #00b3ff, transparent 62%), radial-gradient(circle at 70% 70%, #0062ff, transparent 62%);   /* colour audit #251 */
  filter: blur(26px); opacity: .55; }
html[data-theme="light"] .fp-rqb__coin::before { opacity: .4; }
.fp-rqb__coin svg { position: relative; z-index: 1; width: 100%; height: 100%; filter: drop-shadow(0 14px 22px color-mix(in srgb, var(--bg, #000) 70%, transparent)); animation: rqb-float 6s ease-in-out infinite; }
@keyframes rqb-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .fp-rqb__coin svg { animation: none; } }

/* ---- the four stat tiles */
.fp-rqb__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .fp-rqb__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.fp-rqb__stat { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px; border-radius: var(--rqb-r);
  background: var(--surface); color: var(--ink); text-decoration: none; transition: background .15s, box-shadow .15s; }
.fp-rqb__stat:hover { background: color-mix(in srgb, var(--fp-tint) 60%, var(--surface)); }   /* #254 */
.fp-rqb__stat.is-on { background: var(--fp-tint); box-shadow: none; }   /* colour audit #252: the lit tile is the tint, no edge and glow */
.fp-rqb__sico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--fp-tint); color: var(--accent-text); }   /* #253 */
.fp-rqb__stat--earned .fp-rqb__sico { background: var(--fp-tint-2); }
.fp-rqb__stat--new .fp-rqb__sico { background: var(--fp-tint); }
.fp-rqb__stat.is-on .fp-rqb__sico { background: var(--fp-tint-2); }
.fp-rqb__stxt { display: grid; gap: 4px; min-width: 0; }
.fp-rqb__sn { font: 800 clamp(20px, 2.1vw, 26px)/1.1 var(--portal-display, var(--body)); color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fp-rqb__sl { font: 500 13.5px/1.25 var(--body); color: var(--ink-2); }

/* ---- tabs, Filter, sort */
.fp-rqb__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.fp-rqb__tabs { flex: 1 1 auto; min-width: 0; }
.fp-rqb__tabs .fp-req__tab .pc-ico { width: 16px; height: 16px; }
.fp-rqb__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.fp-rqb__tool { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface);
  color: var(--ink); font: 600 14.5px/1 var(--body); cursor: pointer; white-space: nowrap; }
.fp-rqb__tool:hover { background: var(--surface-2); }
.fp-rqb__tool.is-on { background: var(--fp-tint); color: var(--ink); }   /* #256 */
.fp-rqb__tool .pc-ico { color: var(--ink-2); }
.fp-rqb__filter { position: relative; }
.fp-rqb__filter > summary { list-style: none; }
.fp-rqb__filter > summary::-webkit-details-marker { display: none; }
.fp-rqb__filter[open] > summary { background: var(--surface-2); }
.fp-rqb__fpanel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(340px, 86vw); display: grid; gap: 14px; padding: 16px;
  border-radius: 18px; background: var(--surface); box-shadow: var(--sh-float, 0 18px 40px rgb(0 0 0 / .5)); }   /* #257 */
.fp-rqb__fset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fp-rqb__fset legend { width: 100%; margin-bottom: 8px; padding: 0; font: 700 13px/1.2 var(--body); color: var(--ink-2); }
.fp-rqb__opt { position: relative; }
.fp-rqb__opt input { position: absolute; opacity: 0; pointer-events: none; }
.fp-rqb__opt span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface);
  color: var(--ink); font: 600 13.5px/1 var(--body); cursor: pointer; }
.fp-rqb__opt span .pc-ico { color: var(--accent); }
.fp-rqb__opt input:checked + span { background: var(--accent); color: var(--on-accent); }
.fp-rqb__opt input:checked + span .pc-ico { color: var(--on-accent); }
.fp-rqb__opt input:focus-visible + span { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; }
.fp-rqb__fkeys { display: flex; justify-content: flex-end; gap: 8px; }
.fp-rqb__sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.fp-rqb__sel { position: relative; padding: 0 12px 0 14px; }
.fp-rqb__sel select { appearance: none; min-height: 44px; padding: 0 22px 0 0; border: 0; background: transparent; color: var(--ink); font: 600 14.5px/1 var(--body); cursor: pointer; }
.fp-rqb__sel select:focus { outline: none; }
.fp-rqb__sel:focus-within { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 1px; }
.fp-rqb__sel > .pc-ico:last-child { position: absolute; right: 12px; pointer-events: none; }
.fp-rqb__newon { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 16px; border-radius: 16px;
  background: var(--fp-tint); color: var(--ink); font: 600 14px/1.3 var(--body); }   /* #272 */
.fp-rqb__newon .pc-ico { color: var(--accent); }
.fp-rqb__newon a { color: var(--accent); font-weight: 700; }
.fp-rqb .fcd-board-note { margin: 0; }

/* ---- the list: compact cards first, table rows when the list is wide */
.fp-rqb__list { container-type: inline-size; display: grid; gap: 10px; min-width: 0; }
.fp-rqb__cols { display: none; }
.fp-rqb__rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fp-rqr { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "thumb txt" "meta meta" "keys keys";
  align-items: center; gap: 12px 14px; padding: 12px; border-radius: var(--rqb-r); background: var(--surface); color: var(--ink); scroll-margin-top: 100px; }
.fp-rqr:hover { background: color-mix(in srgb, var(--fp-tint) 50%, var(--surface)); }   /* #259 */
.fp-rqr:target { box-shadow: 0 0 0 2px var(--accent); }
.fp-rqr.is-for-you { background: var(--fp-tint); }
.fp-rqr__thumb { grid-area: thumb; position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.fp-rqr__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-rqr__thumb.is-ph { color: color-mix(in srgb, var(--ink) 88%, transparent); }
/* colour audit #266 / #267: the three placeholders in the two brand blues only, no pink / violet names, no drop shadow */
.fp-rqr__thumb--video.is-ph { background: linear-gradient(135deg, color-mix(in srgb, #00b3ff 38%, var(--surface-2)), color-mix(in srgb, #0062ff 34%, var(--surface-2))); }
.fp-rqr__thumb--photos.is-ph { background: linear-gradient(135deg, color-mix(in srgb, #0062ff 30%, var(--surface-2)), color-mix(in srgb, #00b3ff 30%, var(--surface-2))); }
.fp-rqr__thumb--custom.is-ph { background: linear-gradient(135deg, color-mix(in srgb, #0a2a6b 45%, var(--surface-2)), color-mix(in srgb, #00b3ff 28%, var(--surface-2))); }
.fp-rqr__phg.pc-ico { width: 34px; height: 34px; stroke-width: 1.6; filter: none; }
.fp-rqr__glyph { position: absolute; left: 6px; bottom: 6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgb(10 42 107 / .66); color: #FFFFFF; backdrop-filter: blur(6px); }   /* colour audit #265 */
.fp-rqr__glyph .pc-ico { width: 14px; height: 14px; }
.fp-rqr__txt { grid-area: txt; display: grid; gap: 4px; min-width: 0; justify-items: start; overflow: hidden; }
.fp-rqr__txt > * { max-width: 100%; }
.fp-rqr__for { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0 9px 0 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font: 700 12px/1 var(--body); }
.fp-rqr__for .pc-ico { width: 13px; height: 13px; }
.fp-rqr__title { display: block; width: 100%; margin: 0; font: 800 16.5px/1.25 var(--portal-display, var(--body)) !important; color: var(--ink); text-transform: none; letter-spacing: -.005em; }
.fp-rqr__title { overflow-wrap: anywhere; }
.fp-rqr__savedmark { display: inline-grid; margin-left: 6px; vertical-align: -2px; color: var(--accent); }
.fp-rqr__savedmark .pc-ico { fill: currentColor; }
.fp-rqr__ex { margin: 0; max-width: 100%; color: var(--ink-2); font: 400 14px/1.4 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-rqr__who { display: flex; align-items: center; gap: 8px; margin: 0; max-width: 100%; color: var(--ink-3, var(--ink-2)); font: 500 12.5px/1.2 var(--body); }
.fp-rqr__who > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-rqr__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.fp-rqr__type { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.fp-rqr__type small { display: none; color: var(--ink-2); font: 500 12.5px/1.3 var(--body); }
.fp-rqr__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--surface-2);
  color: var(--ink); font: 600 13.5px/1 var(--body); white-space: nowrap; }
.fp-rqr__chip .pc-ico { width: 15px; height: 15px; color: var(--accent-text); }   /* #270 */
.fp-rqr__budget b { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--fp-tint);   /* #260 */
  font: 800 16px/1 var(--portal-display, var(--body)); color: var(--accent-text, var(--accent)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp-rqr__left { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; color: var(--ink); font: 600 13.5px/1.2 var(--body); }
.fp-rqr__lefttime { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
.fp-rqr__lefttime .pc-ico { width: 15px; height: 15px; color: var(--ink-2); }
.fp-rqr__left.is-hot .fp-rqr__lefttime { color: var(--accent-text); background: var(--fp-tint); }   /* #261 */
.fp-rqr__left.is-hot .fp-rqr__lefttime .pc-ico { color: var(--accent); }
.fp-rqr__left small { color: var(--ink-2); font: 500 12.5px/1.2 var(--body); }
.fp-rqr__left small.fcd-offers0 { color: var(--accent); }
.fp-rqr__wait { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font: 500 13px/1.3 var(--body); }
.fp-rqr__keys { grid-area: keys; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.fp-rqr__go { justify-content: center; min-height: 44px; }
.fp-rqr__go .pc-ico { width: 16px; height: 16px; }
.fp-rqr__wd { margin: 0; }
.fp-rqr__more { position: relative; }
.fp-rqr__more > summary { list-style: none; }
.fp-rqr__more > summary::-webkit-details-marker { display: none; }
.fp-rqr__dots { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; }   /* #262 */
.fp-rqr__dots:hover, .fp-rqr__more[open] > .fp-rqr__dots { background: var(--surface-3); }
.fp-rqr__dots:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; }
.fp-rqr__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; display: grid; gap: 2px; min-width: 210px; padding: 6px; border-radius: 16px;
  background: var(--surface); box-shadow: var(--sh-float, 0 16px 36px rgb(0 0 0 / .5)); }   /* colour audit #263: no ring edge, no lavender */
.fp-rqr__menu form { margin: 0; }
.fp-rqr__mi { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ink); font: 600 14px/1 var(--body); text-align: left; text-decoration: none; cursor: pointer; }
.fp-rqr__mi:hover, .fp-rqr__mi:focus-visible { background: var(--surface-2); outline: none; }   /* #264 */
.fp-rqr__mi .pc-ico { color: var(--ink-2); }
.fp-rqr__mi[aria-pressed="true"] .pc-ico { color: var(--accent); fill: currentColor; }
.fp-rqr__st { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink);
  font: 600 13px/1.15 var(--body); }
.fp-rqr__st--paid_by_buyer { background: var(--fp-tint-2); }
.fp-rqr__st--payment_confirmed, .fp-rqr__st--delivered { background: var(--accent); color: var(--on-accent); }

@container (min-width: 860px) {
  .fp-rqb__cols, .fp-rqr { grid-template-columns: 104px minmax(0, 1fr) 124px 84px 116px 184px; grid-template-areas: none; column-gap: 16px; }
  .fp-rqb__cols { display: grid; padding: 0 16px 0 12px; color: var(--ink-2); font: 600 12.5px/1.2 var(--body); }
  .fp-rqb__col1 { grid-column: 1 / span 2; }
  .fp-rqb__col5 { text-align: right; }
  .fp-rqr { padding: 12px 16px 12px 12px; min-height: 108px; }
  .fp-rqr > * { grid-area: auto; }
  .fp-rqr__meta { display: contents; }
  .fp-rqr__type { flex-direction: column; align-items: flex-start; gap: 6px; }
  .fp-rqr__type small { display: block; }
  .fp-rqr__budget b { min-height: 0; padding: 0; background: none; font-size: 24px; }
  .fp-rqr__left { flex-direction: column; align-items: flex-start; }
  .fp-rqr__lefttime { min-height: 0; padding: 0; background: none; font-size: 14.5px; }
  .fp-rqr__left.is-hot .fp-rqr__lefttime { background: none; }
  .fp-rqr__keys { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .fp-rqr__go { min-height: 42px; }
}
@media (max-width: 759px) {
  .fp-rqb__head { grid-template-columns: minmax(0, 1fr) 88px; min-height: 0; }
  .fp-rqb__coin { width: 88px; height: 88px; margin: 0; align-self: start; }
  .fp-rqb__lede { font-size: 15px; }
  .fp-rqb__stat { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; min-height: 74px; padding: 12px; }
  .fp-rqb__sico { width: 40px; height: 40px; border-radius: 12px; }
  .fp-rqb__sl { font-size: 12.5px; }
  .fp-rqb__bar { display: grid; grid-template-columns: minmax(0, 1fr); }
  .fp-rqb__tools { justify-content: space-between; }
  .fp-rqb__filter { position: static; }
  .fp-rqb__fpanel { left: 0; right: 0; width: auto; }
  .fp-rqb__tools { position: relative; }
}

/* owner 10.11. («grün»): paid, payment received and delivered are green (the success token), not the blue accent */
.fp-ro__chip--paid_by_buyer, .fp-ro__chip--payment_confirmed, .fp-ro__chip--delivered,
.fp-rqr__st--payment_confirmed, .fp-rqr__st--delivered, .fp-mr__state--o-delivered > span:first-child { background: var(--success); color: var(--on-success, #fff); }
.fp-rqr__st--paid_by_buyer { background: color-mix(in srgb, var(--success) 22%, transparent); color: var(--ink); }
.fp-of__tn.is-ok { color: var(--success); }

/* ==== q-flow (audit 500 #2, 10.11.; scratchpad r1011/q-flow.md): request → offer → accept → pay → deliver, both roles ======== */
/* ---- her board: the stat tiles follow the list column (#4), compact on phones (#1); zero amounts muted (#7) */
.fp-rqb .fp-req__main { container: rqbmain / inline-size; }
.fp-rqb__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container rqbmain (min-width: 840px) { .fp-rqb__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .fp-rqb__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container rqbmain (min-width: 840px) { .fp-rqb .fp-rqb__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fp-rqb__stat.is-zero .fp-rqb__sn { color: var(--ink-3, var(--ink-2)); }
@media (max-width: 759px) {
  .fp-rqb__head { gap: 8px 12px; }
  .fp-rqb__lede { display: none; }
  .fp-rqb__coin { width: 64px; height: 64px; }
  .fp-rqb__how { margin-top: 0; }
  .fp-rqb__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .fp-rqb__stat { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; min-height: 0; padding: 10px 4px; border-radius: 14px; text-align: center; }
  .fp-rqb__sico { display: none; }
  .fp-rqb__stxt { justify-items: center; gap: 2px; }
  .fp-rqb__sn { font-size: 18px; }
  .fp-rqb__sl { font-size: 11px; line-height: 1.2; }
}
/* ---- the tabs: short labels on phones, the long ones from 760 px (#2); the fade only where the row scrolls (#22) */
.fp-rqb__ts { display: none; }
.fp-rqb .fp-req__tabs { -webkit-mask-image: none; mask-image: none; padding-right: 0; }
@media (max-width: 759px) {
  .fp-rqb__tl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fp-rqb__ts { display: inline; }
  .fp-rqb .fp-req__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .fp-rqb .fp-req__tab { justify-content: center; gap: 6px; min-height: 42px; padding: 0 6px; font-size: 14px; }
  .fp-rqb .fp-req__n { min-width: 22px; height: 22px; padding: 0 6px; font-size: 12px; }
  /* #122 / #123: the filter panel's keys full width, both tool pills their natural width */
  .fp-rqb__tools { justify-content: flex-start; }
  .fp-rqb__fkeys .pc-btn { flex: 1 1 0; justify-content: center; }
}
/* ---- rows: the «New» chip (#9), the title column wider (#12), the «I do it» key (#14), the end line (#19) */
.fp-rqr__flags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.fp-rqr__new { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; background: var(--fp-tint-2, var(--fp-tint));
  color: var(--ink); font: 700 12px/1 var(--body); }
@container (min-width: 860px) {
  .fp-rqb__cols, .fp-rqr { grid-template-columns: 104px minmax(0, 1fr) 112px 88px 118px 168px; }
  .fp-rqr__go { min-height: 42px; padding-inline: 18px; }
}
.fp-rqr__go .pc-ico { width: 16px; height: 16px; }
.fp-rqb__end { margin: 6px 0 0; color: var(--ink-2); font: 500 13.5px/1.4 var(--body); text-align: center; }
/* ---- tablets: two compact cards a row until the table starts (#21) */
@container (min-width: 620px) and (max-width: 859px) {
  .fp-rqb__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-rqr { grid-template-columns: 84px minmax(0, 1fr); align-content: start; }
}
/* ---- the filter panel's options have a shape (#17); «Show all» is a real target (#128) */
.fp-rqb__opt span { background: var(--surface-2); }
.fp-rqb__newon a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 6px; }
/* ---- her offers / orders rows: the time left (#27), status chips on one line (#28), confirm folds (#16, #26) */
.fp-rqr__wait + small { display: block; color: var(--ink-2); font: 500 12.5px/1.2 var(--body); }
.fp-rqr__state { flex-wrap: wrap; }
.fp-rqr__st { white-space: nowrap; min-height: 26px; padding: 0 10px; font-size: 12.5px; }
.fp-rqr__ask { position: relative; margin: 0; }
.fp-rqr__ask > summary { list-style: none; cursor: pointer; }
.fp-rqr__ask > summary::-webkit-details-marker { display: none; }
.fp-rqr__ask form { display: grid; gap: 8px; margin-top: 6px; padding: 12px; border-radius: 14px; background: var(--surface-2); min-width: 220px; }
.fp-rqr__wd.fp-rqr__ask form { position: absolute; right: 0; top: 100%; z-index: 26; box-shadow: var(--sh-float, 0 16px 36px rgb(0 0 0 / .5)); background: var(--surface); }
.fp-rqr__menu .fp-rqr__ask form { margin: 4px 0 2px; }
/* ---- her offer: the request once (#37), the starters (#38), the legend in line (#39), a bigger box (#124) */
.fp-of__full .fp-of__req { padding: 0; background: none; border-radius: 0; }
.fp-of__full .fp-of__req b { font: 800 16px/1.3 var(--portal-display, var(--body)); white-space: normal; }
.fp-of__teaser > legend { padding: 0; }
.fp-of__starters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.fp-of__starters > span { color: var(--ink-2); font: 600 12.5px/1.2 var(--body); margin-right: 2px; }
.fp-of__starter { min-height: 34px; max-width: 100%; padding: 0 12px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--ink);
  font: 600 13px/1.2 var(--body); text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-of__starter:hover { background: var(--surface-3, var(--fp-tint)); }
.fp-of__starter:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; }
.fp-of__excl input { width: 20px; height: 20px; flex: none; margin-top: 1px; }
/* ---- his form: a readable width (#45), the picked type marked (#46) with a plain label (#47), compact budget chips (#48),
   even gaps (#50), the next-step line (#51) */
.fp-req--new .fp-req__main { max-width: 760px; }
.fp-rn__type { position: relative; }
.fp-rn__tname { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 700 15px/1.2 var(--body); }
.fp-rn__tname .pc-ico { color: var(--accent-text, var(--accent)); }
.fp-rn__tick { position: absolute; top: 10px; right: 10px; display: none; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); }
.fp-rn__tick .pc-ico { width: 14px; height: 14px; }
.fp-rn__type:has(input:checked) { background: color-mix(in srgb, var(--accent) 20%, var(--surface-2)); }
.fp-rn__type:has(input:checked) .fp-rn__tick { display: grid; }
@media (max-width: 520px) { .fp-rn__tick { top: 50%; transform: translateY(-50%); } .fp-rn__type { padding-right: 40px; } }
.fp-rn .pn-wishchips--budget { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-rn .pn-wishchips--budget .pn-wishchip { min-width: 64px; }
.fp-rn .fpbx-chips { margin-top: 10px; }
.fp-rn .fpbx-chips + .fp-rn__chips:empty + .pc-help, .fp-rn .fpbx-chips ~ .pc-help { margin-top: 8px; }
.fp-rn__next { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--ink-2); font: 500 13.5px/1.45 var(--body); }
.fp-rn__next .pc-ico { flex: none; margin-top: 2px; color: var(--accent-text, var(--accent)); }
/* ---- his page: no repeated title in the offers under a request (#59), a folded running order (#61), air before the flow (#62) */
.fp-mr__offers .fp-oc__title { display: none; }
.fp-mr__ct { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 16px; border-radius: var(--r-m, 22px);
  background: var(--surface); color: var(--ink); font: 700 16px/1.3 var(--body) !important; }
.fp-mr__ct span { flex: none; font: 800 18px/1 var(--portal-display, var(--body)); font-variant-numeric: tabular-nums; }
.fp-mr__go { margin-left: auto; }
.fp-req--mine .fp-req__side { margin-top: var(--space-6, 28px); }
.fp-req--mine .fpbx-tiles + .fp-req__side, .fp-req--mine .fp-req__main > :last-child { margin-bottom: 0; }
/* ---- the offer card: one key spans the row (#67), her whole message in the chat (#68), bigger teaser tiles (#70),
   the open Accept fold stays readable (#72) */
.fp-oc__keys > :only-child { grid-column: 1 / -1; }
.fp-oc__msg { -webkit-line-clamp: unset; display: block; }
.fp-mr__offers .fp-oc__msg { display: -webkit-box; -webkit-line-clamp: 3; }
.fp-oc__thumb { width: 44px; height: 44px; }
.fp-oc__confirm[open] > summary { opacity: 1; background: var(--surface-2); color: var(--ink); }
/* ---- the chat: the cards at the width of the bubbles on the feet chat page (#75; .pn-lchat / .pn-chat never matched) */
.pn-chatpage .fp-oc, .pn-chatpage .fp-rq--chat { max-width: 640px; margin-inline: auto; width: 100%; }
.pn-chatpage .fp-oc + .fp-oc, .pn-chatpage .fp-rq--chat + .fp-oc, .pn-chatpage .fp-oc + .fp-rq--chat { margin-top: 10px; }
.fp-oc--preview .fp-oc__msg { display: -webkit-box; -webkit-line-clamp: 3; }
/* ---- the order card: the state chip in the head (#84), the card that waits for me lit (#73), the folded finished order (#74),
   one safety box (#76), the quiet problem key (#77), her clip pick tile (#78) and its fold after delivery (#79), confirm folds (#80) */
.fp-ro__hchip { margin-left: auto; white-space: nowrap; }
.fp-ro__hchip + .fp-oc__time { margin-left: 8px; }
.fp-ro.is-turn { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 55%, transparent); }
.fp-ro__fold { max-width: 640px; margin-inline: auto; width: 100%; }
.fp-ro__fold + .fp-oc, .fp-oc + .fp-ro__fold, .fp-ro__fold + .fp-ro__fold { margin-top: 10px; }
.fp-ro__foldh { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-radius: var(--r-m, 22px); background: var(--surface-2);
  color: var(--ink); list-style: none; cursor: pointer; }
.fp-ro__foldh::-webkit-details-marker { display: none; }
.fp-ro__foldh b { flex: 1 1 auto; min-width: 0; font: 700 14.5px/1.3 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-ro__foldh .fp-ro__chip { flex: none; display: inline-flex; align-items: center; border-radius: 999px; white-space: nowrap; }
.fp-ro__foldp { flex: none; font: 800 15px/1 var(--portal-display, var(--body)); font-variant-numeric: tabular-nums; }
.fp-ro__foldi { flex: none; color: var(--ink-2); transition: transform .15s; }
.fp-ro__fold[open] .fp-ro__foldi { transform: rotate(180deg); }
.fp-ro__fold[open] > .fp-oc { margin-top: 8px; }
/* e2e 14.11. creator: on phones the folded order hid its state chip — a closed or delivered order read title + price only; the chip
   stays, smaller, and the title gives way (it already ends in …) */
@media (max-width: 420px) { .fp-ro__foldh { gap: 8px; } .fp-ro__foldh .fp-ro__chip { padding: 0 8px; } }
.fp-ro__safe span { min-width: 0; }
.fp-ro__problink { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--ink-2); font: 600 13px/1.2 var(--body); list-style: none; cursor: pointer; }
.fp-ro__problink::-webkit-details-marker { display: none; }
.fp-ro__problink:hover { color: var(--ink); }
.fp-ro__problink .pc-ico { width: 15px; height: 15px; }
.fp-ro__pick { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 10px 14px; border-radius: var(--r-s, 14px);
  background: var(--surface); color: var(--ink); cursor: pointer; outline: 2px dashed color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: -2px; }
.fp-ro__pick .pc-ico { flex: none; color: var(--accent-text, var(--accent)); }
.fp-ro__pick b { min-width: 0; font: 700 14px/1.3 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-ro__pick:hover { background: var(--surface-3, var(--surface)); }
.fp-ro__pick:focus-within { outline-style: solid; outline-color: var(--focus-ring, var(--accent)); }
.fp-ro__pick.has-file { outline-style: solid; background: var(--fp-tint); }
.fp-ro__upmore > summary { list-style: none; justify-self: start; }
.fp-ro__upmore > summary::-webkit-details-marker { display: none; }
.fp-ro__upmore[open] > summary { margin-bottom: 8px; }
.fp-ro__ask { margin: 0; }
.fp-ro__ask > summary { list-style: none; width: 100%; justify-content: center; cursor: pointer; }
.fp-ro__ask > summary::-webkit-details-marker { display: none; }
.fp-ro__ask form { display: grid; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.fp-ro__keys > .fp-ro__ask[open] { grid-column: 1 / -1; }
.fp-ro__hchip { display: inline-flex; align-items: center; border-radius: 999px; font-weight: 700; }
/* ---- the request card in their chat: «I do it» leads full width (#88), Decline / Cancel request open a question first (#85, #86) */
.fp-rq__ask { margin: 0; }
.fp-rq__ask > summary { list-style: none; cursor: pointer; }
.fp-rq__ask > summary::-webkit-details-marker { display: none; }
.fp-rq__ask form { display: grid; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.fp-rq--chat .fp-rq__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.fp-rq--chat .fp-rq__foot > .fp-rq__who { grid-column: 1 / -1; }
.fp-rq--chat .fp-rq__foot > .fp-rq__go { grid-column: 1 / -1; justify-content: center; min-height: 44px; }
.fp-rq--chat .fp-rq__foot > .fp-rq__ask { grid-column: 1 / -1; justify-self: center; }
.fp-rq--chat .fp-rq__foot > .fp-rq__ask[open] { justify-self: stretch; }
.fp-rq--chat .fp-rq__foot > .fp-rq__ask > summary { margin-inline: auto; }
.fp-ro.is-turn .fp-ro__hchip.fp-ro__chip--accepted { background: var(--accent); color: var(--on-accent); }   /* his turn to pay; paid states stay green (owner «grün») */
@container (max-width: 440px) {
  .fp-ro .fp-oc__who > span { display: none; }   /* the state chip says it; the name keeps its room */
  .fp-ro__keys { grid-template-columns: minmax(0, 1fr); }
}
/* her payment methods (creator team request 10.11.): Remove opens its question in the row (the site's own fold) */
.fp-rqp__ask { margin: 0; }
.fp-rqp__ask > summary { list-style: none; cursor: pointer; }
.fp-rqp__ask > summary::-webkit-details-marker { display: none; }
.fp-rqp__ask[open] { flex: 1 1 100%; }
.fp-rqp__ask form { display: grid; gap: 8px; margin-top: 6px; padding: 12px; border-radius: 14px; background: var(--surface); }
.fp-rqp__askk { display: flex; justify-content: flex-end; }

/* ==== q2-mobile (audit 500 #2 round 2, 10.11.; scratchpad r1011/q2-mobile.md) ==== */
/* R1 / R2: on a phone the text column of a request row was sized by its longest line (227 px in a 194 px cell): titles were
   cut mid-word («Longer video with close-»), the excerpt and «Posted yesterd…» lost their ellipsis at the cell edge */
.fp-rqr__txt { grid-template-columns: minmax(0, 1fr); }
/* R3: the four stat labels were 11 px on phones («Earned so far», «New since last visit»), under the 12 px floor */
@media (max-width: 759px) { .fp-rqb__sl { font-size: 12px; line-height: 1.2; } }
/* R4: the four tabs were 42 px tall on phones */
@media (max-width: 759px) { .fp-rqb .fp-req__tab { min-height: 44px; } }
/* R5 / R6: the offer sheet ran 24 px past the right edge at 360–414 px: the message field's grid track took the width of the
   longest starter chip («This is exactly my style. Tell me if…», nowrap); the field and the chips now stay in the sheet and
   a long starter wraps */
.fp-of .pc-field, .fp-of__fields { grid-template-columns: minmax(0, 1fr); }
.fp-of__starter { white-space: normal; text-align: start; line-height: 1.3; padding-block: 6px; }
/* R7: the close keys of the offer sheet (38 px) and the «How it works» sheet (40 px) */
.fp-of__close, .fp-modal__x { min-width: 44px; min-height: 44px; }
/* R8: a phone on its side got the centred 342 px desktop dialog for the offer: «Send offer» sat 600 px down inside it; the
   sheet is full screen there too, with the Send row stuck to its bottom */
@media (orientation: landscape) and (max-height: 500px) and (min-aspect-ratio: 4/3) {   /* buyer #145: not a portrait window the keyboard shrank */
  .fp-modal, .fp-modal--offer { width: 100vw; max-width: 100vw; height: 100svh; height: 100dvh; max-height: none; margin: 0; border-radius: 0;
    padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
  .fp-modal .fp-of { --of-pad: 16px; min-height: 100%; align-content: start; }
  .fp-modal .fp-of__keys { position: sticky; bottom: calc(-1 * var(--of-pad)); margin: 0 calc(-1 * var(--of-pad)) calc(-1 * var(--of-pad));
    padding: 10px var(--of-pad) calc(var(--of-pad) + env(safe-area-inset-bottom, 0px)); background: var(--surface); box-shadow: var(--sh-sheet, 0 -10px 24px rgb(0 0 0 / .3)); }
  /* R9: the board's head (coin, lede, four tall tiles) filled the first landscape screen; the phone strip of four */
  .fp-rqb__lede, .fp-rqb__coin { display: none; }
  .fp-rqb__head { min-height: 0; }
  .fp-rqb .fp-rqb__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .fp-rqb__stat { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; min-height: 0; padding: 8px 4px; border-radius: 14px; text-align: center; }
  .fp-rqb__sico { display: none; }
  .fp-rqb__stxt { justify-items: center; gap: 2px; }
  .fp-rqb__sn { font-size: 18px; }
}
/* ==== end q2-mobile ==== */

/* feet 10.11. (My vault, lib/fp2_vault.php): a delivered photo on the order card, and her «Deliver from vault» key */
.fp-ro__photo { display: block; width: 100%; height: 100%; }
.fp-ro__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fp-ro__vault { margin: 8px 0 0; }

/* ==== m500-flow (Mobile 500, 10.11. evening; scratchpad m500/flow.md): requests, offer sheet, chats, bell and Get paid on a
   phone. Everything under body.fp-ds (the feet member design) or a feet-only fp-* class; this bundle is loaded on feet only
   (requests pages, Get paid, and since now the feet chat / bell pages, pages/lchat.php, lchats.php, chats.php, lalerts.php). */

/* ---- #7: the page behind an open sheet or the photo viewer never scrolls (requests.js sets html.is-req-modal) */
html.is-req-modal, html.is-req-modal body { overflow: hidden; }
body.fp-ds .fp-modal:focus { outline: none; }   /* #5: the sheet holds the focus on touch, no ring */

/* ---- #1 / #3 / #8 / #9 / #10: on a phone every flow dialog is a bottom sheet — top corners, a grab handle, it slides up,
   the top keeps clear of the status bar; «How it works» is as tall as its content, «Your offer» takes the screen */
@keyframes m5f-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes m5f-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 699px) {
  body.fp-ds .fp-modal, body.fp-ds .fp-modal--offer { top: auto; bottom: 0; height: auto; max-height: calc(100dvh - 10px - env(safe-area-inset-top, 0px));
    margin: auto 0 0; border-radius: 22px 22px 0 0; overscroll-behavior: contain; transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
  body.fp-ds .fp-modal--offer { height: calc(100dvh - 10px - env(safe-area-inset-top, 0px)); }
  body.fp-ds .fp-modal[open] { animation: m5f-up .26s cubic-bezier(.2, .8, .2, 1); }
  body.fp-ds .fp-modal[open]::backdrop { animation: m5f-fade .2s ease; }
  body.fp-ds .fp-modal::before { content: ""; position: sticky; top: 0; z-index: 4; display: block; width: 40px; height: 5px; margin: 8px auto -13px;
    border-radius: 3px; background: color-mix(in srgb, var(--ink) 28%, transparent); }
  body.fp-ds .fp-modal .fp-modal__top { padding: 10px 12px 0; }
  body.fp-ds .fp-modal .fp-of { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { body.fp-ds .fp-modal[open], body.fp-ds .fp-modal[open]::backdrop { animation: none; } }

/* ---- #1 / #2: «How it works» — the four steps as a list you read top to bottom (15 px, not four 12 px columns), «Got it» in
   the thumb zone */
.fp-modal__foot { position: sticky; bottom: 0; z-index: 3; padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--surface); }
.fp-modal__foot .pc-btn { width: 100%; min-height: 48px; justify-content: center; }
@media (max-width: 699px) {
  body.fp-ds .fp-modal--flow .fp-rflow__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.fp-ds .fp-modal--flow .fp-rflow__list li { grid-template-columns: 36px minmax(0, 1fr); justify-items: start; align-items: center; gap: 14px;
    padding: 10px 0; text-align: start; font: 500 15px/1.4 var(--body); }
  body.fp-ds .fp-modal--flow .fp-rflow__list li + li::before { top: -10px; right: auto; left: 17px; width: 2px; height: 20px; }
}

/* ---- #11 / #12: in «Your offer» the field she types in stays above the Send row */
body.fp-ds .fp-modal--offer { scroll-padding-top: 72px; scroll-padding-bottom: 120px; }

/* ---- #13: leaving a half-written offer asks in the sheet (requests.js); a card at the bottom over a veil */
body.fp-ds .fp-modal.is-asking .fp-of__grid, body.fp-ds .fp-modal.is-asking .fp-of__full { opacity: .35; pointer-events: none; }
.fp-of__discard { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom, 0px)); z-index: 20; width: min(520px, calc(100vw - 20px)); transform: translateX(-50%);
  display: grid; gap: 4px; padding: 18px 18px 16px; border-radius: 22px; background: var(--surface-2); box-shadow: var(--sh-float, 0 18px 44px rgb(0 0 0 / .45));
  animation: m5f-up .2s ease; }
.fp-of__dq { margin: 0; font: 800 18px/1.25 var(--portal-display, var(--body)); color: var(--ink); }
.fp-of__ds { margin: 0 0 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.fp-of__dk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fp-of__dk .pc-btn { justify-content: center; min-height: 48px; }

/* ---- #14 / #47 / #70 / #105: a key that posts shows that it works (requests.js .is-busy; disabled after the submit) */
@keyframes m5f-spin { to { transform: rotate(360deg); } }
body.fp-ds :is(.fp-req, .fp-rqb, .fp-of, .fp-ro, .fp-oc, .fp-rq, .fp-rqp, .fp-rn, .fp-modal) .pc-btn.is-busy, body.fp-ds :is(.fp-rqr__go, .fp-rq__go).is-busy { pointer-events: none; opacity: .88; }
body.fp-ds :is(.fp-req, .fp-rqb, .fp-of, .fp-ro, .fp-oc, .fp-rq, .fp-rqp, .fp-rn, .fp-modal) .pc-btn.is-busy > .pc-ico, body.fp-ds :is(.fp-rqr__go, .fp-rq__go).is-busy > .pc-ico { display: none; }
body.fp-ds :is(.fp-req, .fp-rqb, .fp-of, .fp-ro, .fp-oc, .fp-rq, .fp-rqp, .fp-rn, .fp-modal) .pc-btn.is-busy::before, body.fp-ds :is(.fp-rqr__go, .fp-rq__go).is-busy::before { content: ""; flex: none; width: 16px; height: 16px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: m5f-spin .7s linear infinite; }
body.fp-ds .pc-btn.is-busy[disabled] { opacity: .88; cursor: progress; }

/* ---- #107 – #110: native touch feel on every flow key — a press state, no grey flash, no double-tap zoom, no text callout,
   and a hover look that does not stick after a tap */
body.fp-ds :is(.fp-req, .fp-rqb, .fp-modal, .fp-oc, .fp-rq, .fp-rqp, .fp-rn, .pn-chatpage, .pn-inbox, .pn-alertspage, .fp-ro)
  :is(.pc-btn, .pc-iconbtn, .pc-chip, .fp-req__tab, .fp-rqb__stat, .fp-rqb__tool, .fp-rqb__opt span, .fp-of__starter, .fpbx-chip, .fp-rqr__dots, .fp-rqr__mi,
  .fp-rqp__kind span, .fp-modal__x, .fp-of__close, .fp-of__drop, .fp-rn__type, .fp-ro__problink, .fp-ro__paidsum, .pn-maintab, .pn-threadrow__link, .pn-alert) {
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
body.fp-ds :is(.fp-req, .fp-rqb, .fp-modal, .fp-oc, .fp-rq, .fp-rqp, .fp-rn, .pn-chatpage, .pn-inbox, .fp-ro)
  :is(.pc-btn, .pc-chip, .fp-req__tab, .fp-rqb__tool, .fp-rqb__opt span, .fp-of__starter, .fpbx-chip, .fp-rqr__mi, .fp-rqp__kind span, .fp-ro__paidsum) { -webkit-user-select: none; user-select: none; }
@media (hover: none) {
  body.fp-ds :is(.fp-req, .fp-rqb, .fp-modal, .fp-oc, .fp-rq, .fp-rqp, .fp-rn, .fp-ro) :is(.pc-btn, .pc-iconbtn, .fp-req__tab, .fp-rqb__stat, .fp-rqb__tool, .fp-of__starter, .fpbx-chip,
    .fp-rqr__dots, .fp-modal__x, .fp-of__close, .pc-chip):active { transform: scale(.96); }
  body.fp-ds :is(.fp-req, .fp-rqb, .fp-modal, .fp-oc, .fp-rq, .fp-rqp, .fp-rn, .fp-ro) :is(.pc-btn, .pc-iconbtn, .fp-req__tab, .fp-rqb__stat, .fp-rqb__tool, .fp-of__starter,
    .fpbx-chip, .fp-rqr__dots, .fp-modal__x, .fp-of__close, .pc-chip) { transition: transform .12s ease, background-color .12s ease, opacity .12s ease; }
  body.fp-ds .fp-rqr__mi:active, body.fp-ds .fp-rqb__opt span:active { background: var(--surface-2); }
  body.fp-ds .pn-threadrow__link:active, body.fp-ds a.pn-alert:active { background: color-mix(in srgb, var(--accent) 10%, transparent); }
  body.fp-ds .fp-rqr[data-req-card]:active:not(:has(a:active, button:active, summary:active)) { background-color: color-mix(in srgb, var(--surface) 88%, var(--accent)); }
  /* #110: hover looks that stuck after a tap */
  body.fp-ds .fp-modal__x:hover, body.fp-ds .fp-of__close:hover, body.fp-ds .fp-rqr__dots:hover, body.fp-ds .fp-of__drop:hover, body.fp-ds .fp-of__starter:hover { background: var(--surface-2); }
  body.fp-ds .fp-rn__type:hover { background: var(--surface-2); }
  body.fp-ds .fp-rn__type:has(input:checked):hover { background: var(--fp-tint); }
  body.fp-ds .fp-rqb__stat:hover { background: var(--surface); }
  body.fp-ds .fp-rqb__stat.is-on:hover { background: var(--fp-tint); }
  body.fp-ds .fp-rqb__tool:hover { background: var(--surface); }
  body.fp-ds .fp-rqb__tool.is-on:hover { background: var(--fp-tint); }
  body.fp-ds .fp-rqr__mi:hover { background: transparent; }
}

/* ---- her board (#21 – #31) */
body.fp-ds .fp-rqb__h1 { font-size: clamp(26px, 3.6vw, 42px) !important; }   /* #31: 26 px on phones like every member head (was 30) */
.fp-rqr__wl { display: flex !important; min-width: 0; }   /* #22: the name ellipsizes alone, the time always shows */
.fp-rqr__wn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-rqr__wt { flex: none; white-space: pre; }
.fp-rqr__tsh { display: none; }
@media (max-width: 759px) {
  body.fp-ds .fp-rqr__ex { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }   /* #21: two lines of what he wants */
  body.fp-ds .fp-rqr__who { font-size: 13px; }   /* #36 */
  body.fp-ds :is(.fp-rqr__for, .fp-rqr__new) { font-size: 13px; }   /* #35 */
  body.fp-ds :is(.fp-rqr__left small, .fp-rqr__wait, .fp-rqr__st) { font-size: 13px; }
}
@media (max-width: 430px) {
  body.fp-ds .fp-rqr__chip--custom .fp-rqr__tl { display: none; }   /* #23: «Custom» keeps the chip row on one line */
  body.fp-ds .fp-rqr__chip--custom .fp-rqr__tsh { display: inline; }
  body.fp-ds .fp-rqr__meta { flex-wrap: nowrap; gap: 6px; }
  body.fp-ds .fp-rqr__meta > * { flex: none; }
  body.fp-ds .fp-rqr__left { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; }
  body.fp-ds .fp-rqr__left small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}
@media (max-width: 359px) {
  /* #24: on a 320 px phone the four tiles were 170 px tall with three-line labels — two compact rows of two */
  body.fp-ds .fp-rqb__stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
  body.fp-ds .fp-rqb__stat { min-height: 0; padding: 10px 12px; }
  body.fp-ds .fp-rqb__sl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* #25: the four tabs fit without their words touching the pill's edge */
  body.fp-ds .fp-rqb .fp-rqb__tabs .fp-req__tab { position: relative; padding-inline: 4px; }
  body.fp-ds .fp-rqb .fp-rqb__tabs .fp-req__n { position: absolute; top: -5px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
    box-shadow: 0 0 0 2px var(--bg, var(--surface)); }   /* the count rides on the pill's corner, the word keeps the pill */
}
/* #28 / #29: on a phone the «⋯» menu and the Filter panel are bottom sheets in the thumb zone (over a veil), not popovers at the
   row's edge that run under the tab bar; the list drops its container (a container is the box of fixed children) */
@media (max-width: 699px) {
  body.fp-ds .fp-rqb__list, body.fp-ds .fp-rqb .fp-req__main { container-type: normal; }
  body.fp-ds .pn-main:has(.fp-rqr__more[open], .fp-rqb__filter[open]) { isolation: auto; }   /* the main column isolates (z 0): the sheet must rise over the tab bar */
  body.fp-ds :is(.fp-rqr__more, .fp-rqb__filter)[open] > summary::after { content: ""; position: fixed; inset: 0; z-index: 90; background: var(--scrim, rgb(3 7 18 / .6));
    animation: m5f-fade .18s ease; cursor: default; }
  body.fp-ds .fp-rqr__more[open] .fp-rqr__menu, body.fp-ds .fp-rqb__filter[open] .fp-rqb__fpanel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 91;
    width: auto; min-width: 0; max-height: 82dvh; overflow-y: auto; overscroll-behavior: contain; gap: 4px; padding: 26px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0; animation: m5f-up .22s cubic-bezier(.2, .8, .2, 1); }
  body.fp-ds .fp-rqb__filter[open] .fp-rqb__fpanel { gap: 16px; padding-inline: 16px; }
  body.fp-ds :is(.fp-rqr__menu, .fp-rqb__fpanel)::before { content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px;
    background: color-mix(in srgb, var(--ink) 28%, transparent); }
  body.fp-ds .fp-rqr__mi { min-height: 52px; padding: 0 14px; font-size: 16px; border-radius: 14px; }
  body.fp-ds .fp-rqb__opt span { min-height: 44px; font-size: 15px; }
  body.fp-ds .fp-rqb__fkeys .pc-btn { min-height: 48px; }
}
@media (max-width: 699px) and (prefers-reduced-motion: reduce) {
  body.fp-ds .fp-rqr__more[open] .fp-rqr__menu, body.fp-ds .fp-rqb__filter[open] .fp-rqb__fpanel { animation: none; }
}
/* #33: pull to refresh in the installed app (requests.js) */
.m5f-pull { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 6px); left: 50%; z-index: 95; display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font: 600 13px/1 var(--body);
  transform: translate(-50%, -60px); transition: transform .18s ease; pointer-events: none; box-shadow: var(--sh-float, 0 8px 20px rgb(0 0 0 / .35)); }
.m5f-pull__dot { width: 16px; height: 16px; border: 2px solid var(--accent); border-right-color: transparent; border-radius: 50%; }
.m5f-pull.is-go { color: var(--ink); }
.m5f-pull.is-busy .m5f-pull__dot { animation: m5f-spin .7s linear infinite; }

/* ---- «Your offer» (#15, #16, #117) */
@media (max-width: 699px) {
  /* #15: the three starters swipe sideways in one row (they stacked to 180 px and pushed her message field off the first screen) */
  body.fp-ds .fp-of__starters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--of-pad, 16px)); padding-inline: var(--of-pad, 16px);
    scroll-padding-inline: var(--of-pad, 16px); scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
  body.fp-ds .fp-of__starters::-webkit-scrollbar { display: none; }
  body.fp-ds .fp-of__starters > span { flex: none; font-size: 13px; scroll-snap-align: start; }
  body.fp-ds .fp-of__starter { flex: none; max-width: 78vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; scroll-snap-align: start; min-height: 44px; }
  /* #117: a long request folds to five lines on a phone, «Show all» opens it (requests.js) */
  body.fp-ds .fp-modal .fp-of__descr[data-m5f-fold]:not(.is-open) { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
}
.fp-of__more { justify-self: start; min-height: 44px; margin: -6px 0 0; padding: 0 2px; border: 0; background: none; color: var(--accent-text, var(--accent)); font: 700 14px/1 var(--body); cursor: pointer; }
/* #16: a picked photo's remove key is a 44 px target (it was a 22 px dot on a 52 px tile) */
body.fp-ds .fp-of__pickx { width: 26px; height: 26px; }
body.fp-ds .fp-of__pickx::after { content: ""; position: absolute; inset: -9px; }
body.fp-ds .fp-of__pick { overflow: visible; }
body.fp-ds .fp-of__pick img { border-radius: 10px; }

/* ---- his request form (#42 – #48) */
@media (max-width: 699px) {
  /* #42: a compose page — no tab bar under the Cancel / Post request row; the row docks at the very bottom over the home bar */
  body.fp-ds.fp-shelled:has(.fp-req--new):not(:has(.fpb-cm)) .pn-tabbar.fp-tabs { display: none; }
  body.fp-ds .fp-req--new:not(.fpb-cm__form *) .fp-rn__keys { bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  html:has(> body.fp-ds .fp-req--new) { scroll-padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 100px); }
  body.fp-ds.fp-shelled:has(.fp-req--new):not(:has(.fpb-cm)) { padding-bottom: 0; }
  /* #43: while she or he types, the tab bar leaves the keyboard's edge to the field (requests, offer, Get paid) */
  body.fp-ds.fp-shelled:has(:is(.fp-req, .fp-rqp, .fp-rqb) :is(textarea, input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"])):focus) .pn-tabbar.fp-tabs { display: none; }
  /* #48: the type tiles' sublines at the 13 px floor */
  body.fp-ds .fp-rn__type small { font-size: 13px; }
  /* #46: the help line and the counter under the description each get their room (the help wrapped to three lines beside 0 / 600) */
  body.fp-ds .fp-rn__foot { flex-wrap: wrap; }
  body.fp-ds .fp-rn__foot > span:first-child { flex: 1 1 100%; }
  body.fp-ds .fp-rn__foot > span:last-child { margin-left: auto; }
}

/* ---- the chat cards: offer, request, order (#58 – #73) */
body.fp-ds :is(.fp-oc__time, .fp-ro__chip, .fp-rq__budget small) { font-size: 13px; }   /* #64 / #66: the 13 px floor */
body.fp-ds .fp-ro__steps li { font-size: 13px; }
body.fp-ds .fp-ro__pref { min-height: 22px; font-size: 12px; }   /* #103 */
body.fp-ds .fp-ro__hchip { min-height: 28px; }
/* #65: «your turn» is a lit surface, not an edge (owner: separation by surfaces, no card lines) */
body.fp-ds .fp-ro.is-turn { box-shadow: none; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
/* #67 / #68: «Something went wrong» and its reasons are real touch targets */
body.fp-ds .fp-ro__problink { min-height: 44px; }
body.fp-ds .fp-ro__reason { min-height: 44px; gap: 12px; font-size: 15px; }
body.fp-ds .fp-ro__reason input { width: 22px; height: 22px; margin: 0; flex: none; }
/* #55: a confirm under a fold is a full key on a phone (the small «Yes» was 36 px) */
@media (max-width: 699px) {
  body.fp-ds :is(.fp-oc, .fp-ro, .fp-rq, .fp-rqr, .fp-rqp) :is(.fp-oc__accept, .fp-ro__ask, .fp-rq__ask, .fp-rqr__ask, .fp-rqp__ask) form .pc-btn { width: 100%; min-height: 48px; justify-content: center; }
}
/* #62: his paid order folds her payment details into one row */
.fp-ro__paidhow { border-radius: var(--r-s, 14px); background: var(--surface-2); }
.fp-ro__paidsum { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; color: var(--ink); font: 600 14.5px/1.2 var(--body); list-style: none; cursor: pointer; }
.fp-ro__paidsum::-webkit-details-marker { display: none; }
.fp-ro__paidsum > .pc-ico:first-child { color: var(--accent); }
.fp-ro__paidsum > span { flex: 1; }
.fp-ro__paidchev { transition: transform .15s ease; color: var(--ink-2); }
.fp-ro__paidhow[open] .fp-ro__paidchev { transform: rotate(180deg); }
.fp-ro__paidhow > .fp-ro__pay { padding: 0 8px 8px; }
.fp-ro__paidhow .fp-ro__m { background: var(--surface); }
/* #58: the teaser photos open in the app; the tiles say they can be tapped */
body.fp-ds .fp-oc:not(.fp-oc--preview) :is(.fp-oc__media > img, .fp-oc__thumb, .fp-ro__photo) { cursor: zoom-in; }
.m5f-view { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overscroll-behavior: contain; }
.m5f-view[open] { display: grid; place-items: center; animation: m5f-fade .18s ease; }
.m5f-view::backdrop { background: #000; }
.m5f-view__img { max-width: 100vw; max-height: 100dvh; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.m5f-view__x, .m5f-view__nav { position: fixed; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .16); color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.m5f-view__x { top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.m5f-view__nav { top: 50%; margin-top: -24px; }
.m5f-view__prev { left: max(10px, env(safe-area-inset-left, 0px)); }
.m5f-view__next { right: max(10px, env(safe-area-inset-right, 0px)); }
.m5f-view.is-one .m5f-view__nav { display: none; }
@media (hover: none) { .m5f-view__nav { display: none; } }   /* a phone swipes */
.m5f-view__pos { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom, 0px)); margin: 0; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px;
  background: rgb(0 0 0 / .5); font: 600 14px/1 var(--body); font-variant-numeric: tabular-nums; }
.m5f-view__pos:empty { display: none; }

/* ---- their chat on a phone (#74 – #84) */
/* #74: a phone on its side got the desktop chat — the site header, a framed card, 165 px for messages; now the phone layout */
@media (pointer: coarse) and (max-height: 500px) and (min-width: 701px) and (min-aspect-ratio: 4/3) {
  body.fp-ds:has(.pn-chatpage) .pc-header { display: none; }
  body.fp-ds:has(.pn-chatpage) .pn-main { max-width: none; padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px) !important; }
  body.fp-ds .pn-chatshell--thread { gap: 0; }
  body.fp-ds .pn-chatshell--thread > .pn-chatrail { display: none; }
  body.fp-ds .pn-chatpage { border: 0; border-radius: 0; }
  body.fp-ds .pn-chathead { min-height: 52px; padding-block: 4px; }
  body.fp-ds .pn-msgs { padding: 12px 16px; }
  body.fp-ds .pn-composer { padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px)); }
}
/* #75: the message list keeps its scroll — at the top or the end the drag no longer pulls the page behind it */
body.fp-ds .pn-chatpage .pn-msgs { overscroll-behavior: contain; }
/* #76: a growing message stops at a third of the screen (with the keyboard up 180 px left no room for the thread) */
body.fp-ds .pn-chatpage .pn-composer textarea { max-height: 32dvh; }
/* #77: «Safety guide» and «Add picture» are 44 px targets inside their sentence */
body.fp-ds .pn-chatpage .pn-safeline a { padding-block: 13px; margin-block: -13px; }
/* #78: the composer's keys give way to the keyboard's edge in landscape and on a 320 px phone (no squeezed field) */
@media (max-width: 359px) { body.fp-ds .pn-composer__row { gap: 6px; } }
/* #79: the cards over the thread and the starters breathe at the phone's edge (the cards ran to the screen edge in landscape) */
body.fp-ds .pn-chatpage .fp-oc { max-width: 620px; margin-inline: auto; }
@media (pointer: coarse) and (max-height: 500px) and (min-aspect-ratio: 4/3) { body.fp-ds .pn-chatpage .fp-oc__media { aspect-ratio: 21 / 9; } }

/* ---- the chats list (#85 – #89) */
@media (max-width: 700px) {
  /* #85: no footer peeking half under the tab bar (an app's inbox has none) */
  body.fp-ds:has(.pn-chatshell--inbox, .pn-inbox):not(:has(.pn-chatpage)) .pc-footer { display: none; }
}
body.fp-ds .pn-blocklink a { display: inline-flex; align-items: center; min-height: 44px; }   /* #86 */
body.fp-ds .pn-inbox .pn-threadrow__link { -webkit-touch-callout: none; }   /* #88: the long press opens her row menu, not the browser's link callout */

/* ---- the bell (#90 – #94) */
body.fp-ds .pn-alertspage .pn-alert { -webkit-touch-callout: none; }
@media (max-width: 700px) {
  body.fp-ds .pn-alertspage .pn-railnav { scrollbar-width: none; overscroll-behavior-x: contain; }   /* #91 */
  body.fp-ds .pn-alertspage .pn-alerts__readall { min-height: 44px; }   /* #92 */
  body.fp-ds .pn-alertspage .pn-al__meta { font-size: 13px; }   /* #93 */
  body.fp-ds:has(.pn-alertspage) .pc-footer { display: none; }   /* #94: as #85 */
}

/* ---- Get paid (#95 – #106) */
@media (max-width: 699px) {
  /* #102: the method's keys (Make preferred · Turn off · Change · Remove) as a tidy two-column grid of 44 px keys under it */
  body.fp-ds .fp-rqp__acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  body.fp-ds .fp-rqp__acts > * { min-width: 0; }
  body.fp-ds .fp-rqp__acts :is(.pc-btn, summary.pc-btn) { width: 100%; min-height: 44px; justify-content: center; }
  body.fp-ds .fp-rqp__ask[open] { grid-column: 1 / -1; }
  /* #104: the five kind pills (PayPal · Cash App · Venmo · IBAN · Crypto) were 40 px — 44 px targets */
  body.fp-ds .fp-rqp__kind span { min-height: 44px; }
  body.fp-ds .fp-rqp__form .fp-tl__keys .pc-btn { flex: 1 1 auto; justify-content: center; min-height: 48px; }   /* #106 */
}

/* ---- #37 / #38: readable type on a phone — what she / he reads in the cards at 15 px, the helper lines at 14 px */
@media (max-width: 699px) {
  body.fp-ds :is(.fp-oc__msg, .fp-rq__text, .fp-of__descr, .fp-ro__line) { font-size: 15px; }
  body.fp-ds :is(.fp-oc__safe, .fp-ro__safe, .fp-ro__honest, .fp-ro__mine, .fp-of__payhint, .fp-rn__next, .fp-oc__state, .fp-rq__wait) { font-size: 14px; }
  body.fp-ds .fp-rqr__ex { font-size: 14.5px; }
}
/* ---- #34: on a 320 px phone the coin made «Requests & orders» break into two lines — the title gets the row */
@media (max-width: 359px) { body.fp-ds .fp-rqb__coin { display: none; } }
/* ---- #123: «Offer sent» is a toast over the tab bar that fades after four seconds (it stayed as a block on top of the board) */
@keyframes m5f-toast { 0% { opacity: 0; transform: translate(-50%, 12px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 12px); visibility: hidden; } }
@media (max-width: 699px) {
  body.fp-ds .fp-rqb .fp-req__ok { position: fixed; left: 50%; bottom: calc(var(--tabbar-h, 64px) + env(safe-area-inset-bottom, 0px) + 12px); z-index: 45;
    width: max-content; max-width: calc(100vw - 24px); margin: 0; padding: 12px 16px; border-radius: 999px; box-shadow: var(--sh-float, 0 10px 28px rgb(0 0 0 / .4));
    animation: m5f-toast 4.2s ease forwards; pointer-events: none; }
}
@media (max-width: 699px) and (prefers-reduced-motion: reduce) { body.fp-ds .fp-rqb .fp-req__ok { animation-duration: 6s; } }
/* ---- creator team requests for Get paid (10.11. evening; #128 – #130) */
/* #128: «Make preferred · Turn off · Change · Remove» read as plain text (ghost keys on the row's own surface) → tonal 44 px keys */
html body.pc-root.fp-ds.fp-ds.fp-ds:not(.pn-adm):not(.pc-guest) .fp-rqp__acts :is(.pc-btn--ghost, summary.pc-btn) { min-height: 44px; padding-inline: 16px; background: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); color: var(--ink); }   /* the shell's ghost rule is (0,7,2) */
html body.pc-root.fp-ds.fp-ds.fp-ds:not(.pn-adm):not(.pc-guest) .fp-rqp__acts .fp-rqp__ask[open] > summary.pc-btn { background: var(--fp-tint); }
@media (hover: hover) { html body.pc-root.fp-ds.fp-ds.fp-ds:not(.pn-adm):not(.pc-guest) .fp-rqp__acts :is(.pc-btn--ghost, summary.pc-btn):hover { background: var(--fp-tint); } }
/* #129: «Make this one preferred» — the native box had low contrast in dark; a 24 px box with a clear edge, the accent when on */
body.fp-ds .fp-rqp__pref { min-height: 44px; font-size: 15px; cursor: pointer; }
body.fp-ds .fp-rqp__pref input { -webkit-appearance: none; appearance: none; position: relative; display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin: 0;
  border: 2px solid color-mix(in srgb, var(--ink) 62%, transparent); border-radius: 7px; background: transparent; cursor: pointer; }
body.fp-ds .fp-rqp__pref input:checked { border-color: var(--accent); background: var(--accent); }
body.fp-ds .fp-rqp__pref input:checked::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid var(--on-accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
body.fp-ds .fp-rqp__pref input:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; }
/* ---- buyer team #133: her offer message was cut at three lines on his requests page with no way to read the rest → the whole
   message in every real offer card (≤ 300 characters; her own preview in «Your offer» keeps the three lines) */
body.fp-ds .fp-mr__offers .fp-oc:not(.fp-oc--preview) .fp-oc__msg { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* seller20 trust #9 (templates/lchat.php, partials/req_row.php): Report and Block where she looks — two 44 px keys in the
   chat's safety note (the ⋯ menu's own actions), Report / Block in a request's ⋯ menu; the note wraps under its text */
.pn-safeline:has(.pn-safeline__acts) { flex-wrap: wrap; }
.pn-safeline__acts { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 8px; }
.pn-safeline__acts .pc-btn { min-height: 44px; }
.pn-safeline__more { display: block; width: 100%; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.fp-rqr__mi.is-bad { color: var(--danger, #ff6b6b); }
.fp-rqr__menu .fp-rqr__mi { min-height: 44px; }

/* ==== AD 400 per page, FLOW team (10.11. late; scratchpad ad400/flow.md): her board, the offer sheet, his request form, his
   requests, the chat cards, the chats list, the bell. Numbers = findings. Feet only (this file loads on feet pages only). ======== */
/* ---- her board: the stat tiles (#2 – #4) */
.fp-rqb__stat { align-items: start; }   /* #2: the numbers of all four tiles on one line, whatever the label below them */
.fp-rqb__stxt { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 8px; row-gap: 2px; }
.fp-rqb__stxt > * { grid-column: 1 / -1; }
.fp-rqb__stxt > .fp-rqb__sn { grid-column: 1; }
.fp-rqb__stxt > .fp-rqb__sn + .fp-rqb__sl + .fpm-approx { grid-column: 2; grid-row: 1; margin: 0; white-space: nowrap; }   /* #5: «≈ $67» beside its number */
.fp-rqb__sl { color: var(--ink-2); }
@media (max-width: 759px) {
  /* #4: four tiles across left 11 px labels in three lines; two by two, one-line 13 px labels, the number first */
  .fp-rqb .fp-rqb__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fp-rqb__stat { justify-items: start; padding: 10px 14px; text-align: left; }
  .fp-rqb__stxt { justify-items: start; }
  .fp-rqb__sn { font-size: 20px; }
  .fp-rqb__sl { font-size: 13px; line-height: 1.25; }
  .fp-rqb__stxt .fpm-approx { font-size: 13px; }
}
/* ---- her rows (#1, #6 – #10, #12, #13) */
.fp-rqr__glyph { display: none; }   /* #6: the picture already is the type's art and the chip says it; a third type icon on it was noise */
.fp-rqr__tl:has(+ .fp-rqr__tsh) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* #1: «Custom request» ran into the budget column at 1280 px; «Custom» at every width */
.fp-rqr__tsh { display: inline !important; }
.fp-rqr__left small.fcd-offers0 { color: var(--ink-2); font-weight: 600; }   /* #7: «No offers yet» is a fact, not a link (it wore the link colour) */
.fp-rqr__who { color: var(--ink-2); }   /* #8: the buyer line at 4.2 : 1, now ink 2 */
.fp-rqr__state { min-width: 0; }
.fp-rqr__wait { white-space: nowrap; }   /* #9: «Waiting for his answer» broke in two and pushed «Ends in 11 h» to «Ends i…» */
.fp-rqr__wait + small { white-space: nowrap; }
@media (max-width: 859px) { body.fp-ds .fp-rqr__left.fp-rqr__state { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; gap: 4px 10px; } }
.fp-rqr__wd > summary { list-style: none; color: var(--ink-2); }   /* #10: Withdraw a tonal key of the row's height, not floating bold text */
.fp-rqr__wd > summary::-webkit-details-marker { display: none; }
.fp-rqr__keys .fp-rqr__wd > summary { min-height: 44px; }
.fp-rqb .fp-req__n, .fp-req--mine .fp-req__n { font-size: 13px; }   /* #12: the tab counts at the 13 px floor */
:is(.fp-rqb, .fp-req--mine, .fp-of) .fpm-approx { font-size: 13px; }   /* #13: «≈ $84» lines at the 13 px floor */
/* ---- the offer sheet (#21 – #25) */
:is(.fp-of, .fp-rn) .pc-input::placeholder { font-weight: 400; color: var(--ink-3, var(--ink-2)); opacity: 1; }   /* #21 / #29: a placeholder never looks typed */
@media (max-width: 599px) {
  /* #22: the budget beside the title squeezed it into three lines; on phones it goes under the title */
  .fp-of__full .fp-of__req { flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .fp-of__full .fp-of__req b { flex: 1 1 100%; }
}
.fp-of .fp-metaline, .fp-ro .fp-metaline { display: flex; align-items: flex-start; gap: 6px; }   /* #23: the shield touched its words (the rule lived in the Edit profile CSS only) */
.fp-of .fp-metaline .pc-ico, .fp-ro .fp-metaline .pc-ico { flex: none; margin-top: 2px; color: var(--accent); }
.fpm-reuse__list { margin-inline: -2px; }   /* #24: the earlier teasers line up with the rest of the sheet; their labels at 13 px */
.fpm-reuse__t { font-size: 13px; }
.fp-oc--preview { border: 0; }   /* #25: the preview card a tonal surface like every card, no dashed edge */
/* ---- his requests (#34 – #36, #38, #44, #45) */
.fp-req--mine .fp-mr { gap: 0; }
.fp-req--mine .fp-mr__state { padding: 12px 18px 0; border-radius: var(--r-m, 22px) var(--r-m, 22px) 0 0; background: var(--surface); }   /* #34: the state line is the card's head, not a line between two cards */
.fp-req--mine .fp-mr__state + .fp-rq, .fp-req--mine .fp-mr__state + .fp-mr__ct { border-top-left-radius: 0; border-top-right-radius: 0; }
.fp-req--mine .fp-mr__state:has(+ .fp-mr__ct) { padding-bottom: 6px; }
.fp-req--mine .fp-mr__ct { margin: 0; padding: 6px 18px 14px; border-radius: 0 0 var(--r-m, 22px) var(--r-m, 22px); background: var(--surface); }
body .fp-req--mine .fp-mr__wait { margin: 0; padding: 0 18px 16px; border-radius: 0 0 var(--r-m, 22px) var(--r-m, 22px); background: var(--surface); }   /* #34: «No offers yet» inside its card */
.fp-req--mine .fp-mr__state + .fp-rq:has(+ .fp-mr__wait) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 10px; }
.fp-req--mine .fp-mr__offers { margin-top: 12px; }
.fp-req--mine .fp-mr + .fp-mr { margin-top: 14px; }
.fp-req--mine .fp-mr__state--open > span:first-child { background: var(--fp-tint); color: var(--ink); }   /* #35: «Open» is the normal state, a tint not the accent */
.fp-req--mine .fp-mr__close > summary { min-height: 36px; padding-inline: 10px; margin-right: -10px; color: var(--ink-2); font-weight: 600; }
body .fp-req--mine .fp-mr__state { column-gap: 10px; font-size: 13px; }
.fp-req--mine .fp-mr__close > summary { white-space: nowrap; font-size: 13px; color: var(--ink-2) !important; }   /* #36: the shell's ghost key colour outweighs a plain rule */   /* #36: Close request is quiet */
.fp-req--mine .fpbx-waiting { background: var(--fp-tint); }   /* #38: one tint of the system, the primary key in it */
.fp-req--mine .fp-req__row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av main price" "keys keys keys"; align-items: center; }   /* #44 */
.fp-req--mine .fp-req__row > .pc-avatar { grid-area: av; }
.fp-req--mine .fp-req__rowmain { grid-area: main; }
.fp-req--mine .fp-req__rowp { grid-area: price; align-self: start; }
.fp-req--mine .fp-req__rowk { grid-area: keys; }
@media (min-width: 760px) { .fp-req--mine .fp-req__row { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "av main price keys"; } }
.fp-req--mine .fp-req__rowmain .fp-tl__chip { display: inline-flex; align-items: center; justify-self: start; width: max-content; min-height: 26px; padding: 0 10px; border-radius: 999px; }   /* #45: a pill, not a square box */
/* ---- the chat cards (#50 – #53, #56, #57) */
@media (max-width: 599px) {
  /* #50: the state chip took the name's room («Buyer…»); on phones the head wraps, the chip on its own line under the name */
  .fp-ro > .fp-oc__head { flex-wrap: wrap; row-gap: 6px; }
  .fp-ro > .fp-oc__head .fp-oc__who { flex: 1 0 auto; max-width: calc(100% - 46px); }
  .fp-ro > .fp-oc__head .fp-ro__hchip { order: 3; margin-left: 0; }
  .fp-ro > .fp-oc__head .fp-oc__time { margin-left: auto; }
  /* #57: on a phone the offer card reads title first, then the teaser (as the request and order cards do) */
  .fp-oc:not(.fp-ro) > .fp-oc__body { display: flex; flex-direction: column; gap: 10px; }
  .fp-oc:not(.fp-ro) > .fp-oc__body > .fp-oc__txt { display: contents; }
  .fp-oc:not(.fp-ro) > .fp-oc__body .fp-oc__title { order: -1; margin: 0; }
}
.fp-rq.is-for-you .fp-rq__type { background: var(--fp-tint-2, var(--surface-2)); }   /* #51: the type chip vanished on the lit card */
.fp-ro__steps li { color: var(--ink-2); opacity: 1; }   /* #52: the steps still to come at 2.9 : 1 in light */
/* #53: Copy beside the method's name, the value keeps the card's full width (the full-width Copy row made each method three rows) */
.fp-ro__m { grid-template-columns: auto minmax(0, 1fr) auto !important; align-items: start; row-gap: 2px; }
.fp-ro__mico { grid-row: 1 / span 4; }
.fp-ro__mtxt { display: contents; }
.fp-ro__mtxt > * { grid-column: 2 / -1; min-width: 0; }
.fp-ro__mtxt > b { grid-column: 2; align-self: center; }
.fp-ro__mtxt > span, .fp-ro__mtxt > code { color: var(--ink-2); font-size: 13px; }
.fp-ro__mtxt > code { color: var(--ink); }
.fp-ro__copy { grid-column: 3 !important; grid-row: 1; width: auto !important; min-height: 36px; align-self: center; }
@media (pointer: coarse) { .fp-ro__copy { min-height: 44px; } }
body.fp-ds .fp-ro__pref { font-size: 13px; }   /* #56 */
/* ---- the thread's safety line (#58) */
.pn-safeline { align-items: flex-start; }
.pn-safeline > .pc-ico { margin-top: 2px; }
.pn-safeline__x { align-self: flex-start; margin-top: -6px; }
.pn-safeline__acts { justify-content: flex-start; }
/* ---- the chats list and the bell (#59, #61, #62) */
body.fp-ds .pn-inbox .pn-blocklink { margin: 8px 0 0; text-align: center; }
body.fp-ds .pn-inbox .pn-blocklink a { gap: 6px; color: var(--ink-2); font: 600 14px/1.2 var(--body); text-decoration: none; }
body.fp-ds .pn-inbox .pn-inbox__bar:not(:has(*)) { display: none; }   /* #59: no empty bar above the list */
body.fp-ds .pn-threadrow__dead { font-size: 13px; }   /* #61 */
@media (max-width: 700px) {
  body.fp-ds:has(.pn-alertspage) .pc-footer.pn-gfooter { display: none; }   /* #62: the shell's footer rule outweighed m500 #94; the empty bell showed it mid-screen */
}
/* ---- the board's two sheets say what they are (#19, #20) */
.fp-rqb__fh, .fp-rqr__mh { display: none; }
@media (max-width: 699px) {
  body.fp-ds .fp-rqb__filter[open] .fp-rqb__fh { display: block; margin: 0; font: 700 17px/1.3 var(--portal-display, var(--body)); color: var(--ink); }
  body.fp-ds .fp-rqr__more[open] .fp-rqr__mh { display: block; margin: 0 14px 6px; overflow: hidden; color: var(--ink-2); font: 600 14px/1.3 var(--body); text-overflow: ellipsis; white-space: nowrap; }
}
/* ---- #28: the sheet's head line says «No offers yet» as a fact too (the creator CSS paints it in the link colour); #49: under
   «Offers you received» each card repeated «Offer for your request» under her name (the chat keeps it) */
.fp-of .fcd-cardmeta .fcd-offers0 { color: var(--ink-2); font-weight: 600; }
.fp-mr__offers .fp-oc:not(.fp-ro) .fp-oc__who > span { display: none; }
/* ==== night 1000 (buyer b, 12.11.): My requests ==== */
/* a withdrawn offer reads as gone: muted, its price small and struck */
.fp-oc--off { opacity: .72; }
.fp-oc--off .fp-oc__price { font-size: 17px; color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1px; }
/* desktop: the offer's two keys keep their size at the card's right edge (they were two 520 px bars) */
@media (min-width: 760px) {
  .fp-req--mine .fp-oc__keys { grid-template-columns: repeat(2, minmax(160px, max-content)); justify-content: end; }
  .fp-req--mine .fp-oc__keys > :only-child { grid-column: auto; }
}
/* Orders rows: on desktop the price sits on the key's line (it floated above it); on phones the avatar stays at the title */
@media (min-width: 760px) { .fp-req--mine .fp-req__rowp { align-self: center; } }
@media (max-width: 759.98px) { .fp-req--mine .fp-req__row > .pc-avatar { align-self: start; } }
.fp-rflow__list li { align-content: start; }   /* the one-line step sat lower than its neighbours (the row stretched) */
/* «Creators you might like» on his empty Requests: «Send request» broke onto two lines in the 108 px tiles of a phone */
.fp-req--mine .fpbx-tile__req { white-space: nowrap; padding-inline: 8px; gap: 4px; }
@media (max-width: 479.98px) { .fp-req--mine .fpbx-tile__req .pc-ico { display: none; } }
.fp-req__err a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }   /* the way out of a refusal («Show me», «Contact support») */
.fp-req__note { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 12px 16px; border-radius: var(--r-s, 14px); background: var(--surface-2); color: var(--ink); font-size: 14px; line-height: 1.45; }   /* «this creator cannot get your request» on the form */
.fp-req__note .pc-ico { flex: none; margin-top: 2px; color: var(--ink-2); }
.fp-oc__keys { align-items: start; }   /* the open «Accept offer» confirm stretched «Open chat» into a 200 px tall pill */
.fp-req--mine :is(.fp-mr__state--expired, .fp-mr__state--closed) > span:first-child { background: var(--surface-2); color: var(--ink-2); }   /* «Ended» / «Closed» were a pill in the card colour (invisible beside «Open»'s) */
.fp-rn :is(#reqType, #reqBudget, #reqSizes, #reqTags, #reqDescr) { scroll-margin-top: 120px; }   /* «Show me» lands the field below the sticky header */
.fp-req__limit { max-width: 280px; color: var(--ink-2); font: 500 13px/1.4 var(--body); text-align: right; }   /* My requests at the day's limit, where «Post a request» stands */
/* 320 px: «For fp2qa-seller» broke into three lines between the type chip and the budget → one line, cut with … when tight */
.fp-rq__for { min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-rq__top > .fp-rq__for:not(:has(.pc-ico)) { display: block; line-height: 28px; flex: 0 1 auto; }
.fp-req--mine .fp-req__rowmain .fp-rq__who > span:last-child { white-space: normal; }   /* 320 px: «fp2qa-seller · 3 day…» — the order row may wrap its name and time */

/* night 1000 (buyer c): phones — with chats in the list the inbox bar holds only the ⋯ key (no chip, ad400-flow #59), and it
   took a row of its own between «Chats» and the list; it moves up into the head row, at its end */
@media (max-width: 1023.98px) {
  body.fp-ds .pn-inbox.is-inboxrail > .pn-apphead + .pn-inbox__bar:not(:has(.pc-chip, input)) { justify-content: flex-end; margin-top: -12px; margin-bottom: 12px;   /* night 1000 recheck: -56 px put the key over the top bar line; -12 px centres it on the «Chats» head (measured 360–768 px) */
    pointer-events: none; }
  body.fp-ds .pn-inbox.is-inboxrail > .pn-apphead + .pn-inbox__bar:not(:has(.pc-chip, input)) > * { pointer-events: auto; }
}
/* night 1000 creator #25: Get paid's field error (Edit profile and /account/payments/) — the shared sheet rule centred it, the icon
   stayed at the left edge; the help line above it turned red too, so one mistake read as two errors */
.fp-rqp .pc-field .pn-fielderr { text-align: start; }
.fp-rqp .pc-field.is-error .pc-help { color: var(--ink-2); }
@media (max-width: 599px) { body.fp-ds .fp-rqp__acts:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } body.fp-ds .fp-rqp__acts:has(> :nth-child(3):last-child) :is(.pc-btn, summary.pc-btn) { padding-inline: 8px; } }
/* night 1000 creator #41: «Remove» on a payment method read 3.5 : 1 (danger red on the dark blue key) — a lighter red on dark, 5 : 1 */
html[data-theme="dark"] body.fp-ds .fp-rqp__acts .fp-rqp__ask > summary.pc-btn, html[data-theme="dark"] body.fp-ds .fp-pe .fp-rqp__acts .fp-rqp__ask > summary.pc-btn { color: #ff9893 !important; }
/* night 1000 (creator-money #36): a total in several currencies wraps, its «≈ total» goes under the label, never cut off */
.fp-rqb__stxt.is-mix > .fp-rqb__sn { grid-column: 1 / -1; overflow-wrap: anywhere; }
.fp-rqb__stxt.is-mix > .fp-rqb__sn + .fp-rqb__sl + .fpm-approx { grid-column: 1 / -1; grid-row: auto; white-space: normal; }
/* night 1000 recheck (12.11.): below 1024 px the chat list is the page itself, not a card (no fill, no padding) — the card
   edge of fp-system.css framed the whole list with «Chats» flush on the line; the edge stays on the card from 1024 px */
@media (max-width:1023.98px){body.pc-root:not(.fp-ref):not(.pn-adm) .pn-chatrail.is-rail.is-inboxrail{outline:0 !important}}
/* night 1000 recheck: on phones the chat list's ⋯ (Select chats) stood alone on a row of its own under «Chats» — it sits on the
   title row (only when the bar holds nothing but the ⋯) */
@media (max-width:1023.98px){
  .pn-inbox.is-inboxrail:has(> .pn-inbox__bar > .pn-inbox__more:only-child){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px}
  .pn-inbox.is-inboxrail:has(> .pn-inbox__bar > .pn-inbox__more:only-child) > *{grid-column:1 / -1}
  .pn-inbox.is-inboxrail:has(> .pn-inbox__bar > .pn-inbox__more:only-child) > .pn-apphead{grid-column:1;grid-row:1}
  .pn-inbox.is-inboxrail:has(> .pn-inbox__bar > .pn-inbox__more:only-child) > .pn-inbox__bar{grid-column:2;grid-row:1;margin:0}
}
/* night 1000 recheck: «Decline» on a request card in the chat jumped from the middle to the left edge when it opened (an
   inline-flex key ignores margin-inline: auto once its fold is full width) — it stays where it was */
.fp-rq--chat .fp-rq__foot > .fp-rq__ask[open] > summary { display: flex; width: max-content; }
/* night 1000 recheck: the feet shell lets its main grow with the content (pnew-fpshell.css body.fp-shelled > .pn-main
   flex: 1 0 auto) — on a chat thread that undid the app shell (body 100dvh, the log scrolls): the whole page scrolled, the
   chat head went off the top and the composer sat below the fold (390: composer at 1423 px of an 844 px screen; 1440 the
   same). The thread fits the screen again: head on top, the log scrolls to the latest, the composer at the bottom */
body.fp-shelled:has(.pn-chatpage) > .pn-main { flex: 1 1 0%; min-height: 0; }
/* inside wave 12.11. (fan): «Skip for now» on the sign-up's request step — a quiet text key, never a second primary */
.fp-rn__skiprow { display: flex; justify-content: flex-end; margin: 0 0 var(--space-2, 8px); }
.fp-rn__skip { min-height: 44px; padding: 0 var(--space-3, 12px);   /* E2E 14.11.: 44 px tap target (was 40) */ border: 0; background: none; cursor: pointer; font: var(--type-label, 600 14px/1 var(--font-sans, inherit)); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.fp-rn__skip:hover { color: var(--ink); }
.fp-rn__skip:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; border-radius: 6px; }
/* lane B 14.11. (buyer my-requests #23, chat #30): cards on the one system radius, 20 px (chat bubbles keep theirs) */
html body.pc-root :is(.fp-req__row, .fp-oc):not(#fp-x) { border-radius: 20px; }
/* coherence 14.11. (#73): at the day's limit his page ran 49 px past a 390 px phone — the column took the head's widest line as its
   floor; the column is the page's width, its contents wrap */
.fp-req__main { grid-template-columns: minmax(0, 1fr); }
/* … and the request cards under it (a closed card with its budget ran 33 px past a 390 px phone): one column at the page's width */
.fp-mr { grid-template-columns: minmax(0, 1fr); }
.fp-mr > .fp-rq, .fp-rq__top { min-width: 0; }
/* owner 14.11. (lib/req_contact.php): the description is optional — «Optional» at the label; the second line under «Your request is live» when contact details left his text */
.fp-rn__opt { font: 400 13px/1.3 var(--font-sans, inherit); color: var(--ink-2); }
.fp-req__ok--note { margin-top: 8px; }

/* 16.11. (owner «zu gequetscht an manchen stellen», /account/requests/new/): the form's step spacing lived only in pnew-wiz.css,
   which this page never loads, so label sat on the block above. The same two rules here, a little more air between steps. */
.fp-rn__steps { display: grid; gap: 28px; }
.fp-rn__step { display: grid; gap: 20px; min-width: 0; }
.fp-rn__step > .pc-field { display: grid; gap: 10px; }
.fp-rn__step .pc-help { margin-top: 0; }
.fp-rn__credits { display: flex; align-items: center; gap: 8px; }
.fp-rn__types > legend { margin-bottom: 10px; }
/* ---- feet 18.11. (friction audit #108 #112 #117): the short request form — type, budget, send on the first phone screen, the rest under one toggle */
.mk-rnd { border-radius: var(--r-s, 14px); background: var(--surface-2); }
.mk-rnd__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 14px; cursor: pointer; list-style: none; font-weight: 700; }
.mk-rnd__sum::-webkit-details-marker { display: none; }
.mk-rnd__t { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mk-rnd__t .pc-ico { color: var(--accent); }
.mk-rnd__s { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.mk-rnd[open] > .mk-rnd__sum .mk-rnd__s { display: none; }
.mk-rnd[open] > .mk-rnd__sum .pc-ico { transform: rotate(45deg); }
.mk-rnd__sum:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; }
.mk-rnd__body { display: grid; gap: 20px; padding: 4px 14px 16px; }
.mk-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-sizechip { min-height: 44px; }
.mk-rn [data-req-bother]:not(:placeholder-shown) { box-shadow: 0 0 0 2px var(--accent); }   /* #112: the typed amount is the one that counts */
.mk-rn__pay { margin: 0; }
.mk-ended { margin-top: 12px; }
.mk-ended__sum { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r-s, 14px); background: var(--surface-2); cursor: pointer; font-weight: 700; }
.mk-ended[open] > .mk-ended__sum { margin-bottom: 12px; }
@media (max-width: 520px) {
  /* #108: the three types side by side (they stacked into three full-width rows and pushed the budget off the screen) */
  .mk-rn .fp-rn__typegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mk-rn .fp-rn__type { grid-template-columns: minmax(0, 1fr); justify-items: center; min-height: 48px; padding: 10px 6px; text-align: center; }
  .mk-rn .fp-rn__type small { display: none; }
  .mk-rn .fp-rn__tname { font-size: 14px; }
  .mk-rn .fp-rn__tick { display: none; }
}
