/* Public forms and flows (redesign R3, direction B "warmer farm dealer").
   Visit request / confirmation / manage, offer + offer status, review, e-sign, wanted, sell-to-me, the haul-quote form,
   the print spec sheet and the eggs & chickens page. Tokens come from site.css :root; no hard-coded colors or sizes
   beyond the few literal layout widths. Everything is scoped under .f-page / .f-scope / .ps so it can't leak. */

/* ---------------------------------------------------------------- page frame */
.f-page { padding: var(--s6) 0 var(--s14); color: var(--ink); font-family: var(--font-text); font-size: var(--t-body); line-height: 1.55; }
.f-page.is-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
:is(.f-page, .f-scope) *, :is(.f-page, .f-scope) *::before, :is(.f-page, .f-scope) *::after { box-sizing: border-box; }
:is(.f-page, .f-scope) p { margin: 0; }
:is(.f-page, .f-scope) .num { font-variant-numeric: tabular-nums; }
:is(.f-page, .f-scope) .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:is(.f-page, .f-scope) a { color: var(--link); text-underline-offset: 2px; }
:is(.f-page, .f-scope) :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.f-page h1 { font-family: var(--font-head); font-weight: 700; font-size: var(--t-h1); line-height: 1.2; letter-spacing: 0; margin: 0; color: var(--ink); }
.f-page h1::after { content: ""; display: block; width: 44px; height: 3px; background: var(--accent, var(--gold)); margin: 12px 0 0; } /* shared-edit(brand01): the logo's red rule */
.f-lead { color: var(--ink-2); margin-top: var(--s3) !important; max-width: 62ch; }
.f-page h1 + .f-note, .f-page h1 + .f-panel, .f-lead + .f-panel, .f-lead + .f-note, .f-lead + form { margin-top: var(--s6); }
.f-page h1 + .f-lead { margin-top: var(--s4) !important; }
.f-back { font-size: var(--t-small); margin-bottom: var(--s4) !important; }
.f-back a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.f-back a:hover { text-decoration: underline; }
.f-back-end { margin: var(--s6) 0 0 !important; }

/* two columns: the form, and the item summary on the right (on the phone the summary is a compact row on top) */
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "main sum"; column-gap: var(--s10); align-items: start; }
.f-main { grid-area: main; min-width: 0; }
.f-grid > .f-sum { grid-area: sum; position: sticky; top: var(--s4); margin-top: 58px; }

.f-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--panel-shadow); padding: var(--s6) var(--s6); margin: var(--s6) 0 0; }
.f-panel + .f-panel, .f-panel + .f-line-action, .f-line-action + .f-panel { margin-top: var(--s4); }
.f-sec + .f-sec { border-top: 1px solid var(--line); margin-top: var(--s6); padding-top: var(--s6); }
.f-sec-out { margin-top: var(--s8); }
.f-sec-out .f-panel { margin-top: var(--s3); }

.f-step { display: flex; align-items: center; gap: var(--s3); font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0 0 var(--s4); color: var(--ink); }
.f-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--cta-ink); display: grid; place-items: center;
       font-family: var(--font-text); font-size: var(--t-small); font-weight: 700; }
.f-h2 { font-family: var(--font-head); font-weight: 700; font-size: var(--t-h2); line-height: 1.3; margin: 0 0 var(--s3); color: var(--ink); }

/* ---------------------------------------------------------------- fields */
.f-field { display: grid; gap: 6px; margin: 0 0 var(--s4); min-width: 0; }
:is(.f-page, .f-scope) label { display: block; margin: 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.f-opt { font-weight: 400; color: var(--muted); font-size: var(--t-small); }
.f-hint { font-size: var(--t-small); color: var(--muted); line-height: 1.45; }
.f-contact { margin-bottom: var(--s4) !important; }
.f-contact:last-child { margin-bottom: 0 !important; }
.f-contact .f-hint { margin: -6px 0 0; }
.f-legend { padding: 0; margin: 0 0 var(--s3); font-weight: 700; font-size: var(--t-body); color: var(--ink); }
:is(.f-page, .f-scope) fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

:is(.f-page, .f-scope) :is(input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], select, textarea) {
  display: block; width: 100%; min-height: 48px; margin: 0; padding: 10px 12px; font: inherit; font-size: var(--t-body); line-height: 1.4;
  color: var(--ink); background-color: var(--surface); border: 1px solid var(--input-line); border-radius: var(--r-ctl); box-shadow: none; }
:is(.f-page, .f-scope) textarea { min-height: 96px; resize: vertical; }
:is(.f-page, .f-scope) select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
:is(.f-page, .f-scope) :is(input, select, textarea):focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--brand); }
:is(.f-page, .f-scope) ::placeholder { color: var(--muted); opacity: 1; font-style: italic; }
:is(.f-page, .f-scope) input[type=file].f-file { display: block; width: 100%; min-height: 48px; padding: 10px 12px; font-size: var(--t-small);
  background: var(--surface-2); border: 1px dashed var(--input-line); border-radius: var(--r-ctl); color: var(--ink-2); }
:is(.f-page, .f-scope) input[type=file]::file-selector-button { font: inherit; font-weight: 600; min-height: 36px; margin-right: var(--s3); padding: 0 var(--s4);
  border: 1px solid var(--input-line); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); cursor: pointer; }

.f-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
.f-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s4); }
.f-money { position: relative; }
.f-money-sign { position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: var(--ink-2); font-weight: 600; pointer-events: none; }
:is(.f-page, .f-scope) .f-money input { padding-left: 28px; }
.f-amount input { font-size: 20px !important; font-weight: 600; max-width: 260px; }
.f-sig { font-family: var(--font-head) !important; font-size: 20px !important; }

/* checkboxes and radios: real inputs, 22px, inside a 44px label row */
:is(.f-page, .f-scope) :is(input[type=checkbox], input[type=radio]) { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--brand); cursor: pointer; }
.f-check { display: flex !important; align-items: flex-start; gap: var(--s3); min-height: 44px; padding: 10px 0; font-weight: 500 !important; cursor: pointer; }
.f-check input { margin-top: 1px !important; }
.f-checks { display: grid; gap: 0; margin-top: var(--s2) !important; }
.f-checks .f-check + .f-check { border-top: 1px solid var(--line); }
.f-agree { margin: var(--s2) 0 var(--s2) !important; }

.f-choices { display: grid; gap: var(--s2); margin-bottom: var(--s5) !important; }
.f-choice { display: flex !important; align-items: center; gap: var(--s3); min-height: 52px; padding: 0 var(--s4); border: 1px solid var(--input-line);
            border-radius: var(--r-ctl); background: var(--surface); font-weight: 500 !important; cursor: pointer; }
.f-choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.f-choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.f-star-g { color: var(--star); letter-spacing: 2px; font-size: 18px; min-width: 104px; }
.f-choice-t { color: var(--ink); }

/* <details> pieces: "add another machine", the policy, reveal panels */
.f-more, .f-policy { margin-top: var(--s2); }
.f-more > summary, .f-policy > summary { display: flex; align-items: center; gap: var(--s2); min-height: 44px; cursor: pointer; font-weight: 600; color: var(--link); list-style: none; }
.f-more > summary::-webkit-details-marker, .f-policy > summary::-webkit-details-marker, .f-reveal > summary::-webkit-details-marker, .f-haul > summary::-webkit-details-marker { display: none; }
:is(.f-more, .f-policy, .f-reveal, .f-haul) > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  rotate: -45deg; transition: rotate .15s; flex: none; margin-right: 4px; }
:is(.f-more, .f-policy, .f-reveal, .f-haul)[open] > summary::before { rotate: 45deg; }
.f-more > summary .f-opt { font-weight: 400; }
.f-policy p { font-size: var(--t-small); color: var(--ink-2); padding: 0 0 var(--s3) var(--s5); }
.f-page > .f-policy { margin-top: var(--s6); }

.f-reveal { padding-top: var(--s2); padding-bottom: var(--s2); }
.f-reveal > summary { display: flex; align-items: center; gap: var(--s2); min-height: 48px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); }
.f-reveal[open] { padding-bottom: var(--s6); }
.f-reveal[open] > summary { margin-bottom: var(--s4); }
.f-reveal > p { margin-bottom: var(--s4); color: var(--ink-2); }
.f-danger-zone > summary { color: var(--ink-2); font-size: 17px; }

/* ---------------------------------------------------------------- buttons (direction B; same names as site.css) */
:is(.f-page, .f-scope, .ps) .btn { display: flex; align-items: center; justify-content: center; gap: var(--s2); width: 100%; min-height: 48px; padding: 0 var(--s5);
  border-radius: var(--r-ctl); border: 1px solid transparent; font: inherit; font-size: var(--t-body); font-weight: 600; text-decoration: none; cursor: pointer; }
:is(.f-page, .f-scope, .ps) .btn-primary { background: var(--cta-bg); color: var(--cta-ink); border-color: var(--cta-bg); }
:is(.f-page, .f-scope, .ps) .btn-primary:hover { background: var(--brand-hover); }
:is(.f-page, .f-scope) .btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--input-line); }
:is(.f-page, .f-scope) .btn-secondary:hover { border-color: var(--ink-2); }
.f-page .f-btn-danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.f-page .f-btn-danger:hover { background: var(--danger-bg); }
.f-submit { margin-top: var(--s2); }
.f-panel > form, .f-panel > .btn { margin-top: var(--s5); }
.f-panel > form + form { margin-top: var(--s3); }
.f-line-action { margin-top: var(--s4); }
.f-reply { display: grid; gap: 0; }
.f-reply .btn { width: auto; justify-self: start; }
.f-fine { font-size: var(--t-small); color: var(--muted); margin-top: var(--s3) !important; }
.f-scam { text-align: center; }

/* ---------------------------------------------------------------- notes and status words */
.f-note { display: flex; gap: var(--s3); align-items: baseline; flex-wrap: wrap; margin: var(--s4) 0 0; padding: var(--s3) var(--s4);
          border-radius: var(--r-ctl); border-left: 4px solid currentColor; font-size: 15px; }
.f-note-w { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; flex: none; }
.f-note-t { color: var(--ink); flex: 1 1 240px; }
.f-note.is-ok { background: var(--ok-bg); color: var(--ok-ink); }
.f-note.is-warn { background: var(--warn-bg); color: var(--warn-ink); }
.f-note.is-err { background: var(--danger-bg); color: var(--danger); }
.f-note.is-info { background: var(--surface-2); color: var(--ink-2); }
.f-note-t a { color: inherit; font-weight: 600; }

.f-status { display: inline-flex; align-items: center; font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
            padding: 3px 8px; border-radius: var(--r-badge); line-height: 1.4; }
.f-status.is-ok { background: var(--ok-bg); color: var(--ok-ink); }
.f-status.is-warn { background: var(--warn-bg); color: var(--warn-ink); }
.f-status.is-sold { background: var(--sold-bg); color: var(--sold-ink); }

/* a status card: item row, then the state, then the one action */
.f-status-card > .f-sum { margin: 0 0 var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.f-state { display: grid; gap: var(--s2); }
.f-when { font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--ink); }
.f-big { font-size: 20px; }
.f-quote { border-left: 3px solid var(--gold); background: var(--surface-warm); padding: var(--s2) var(--s3); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; color: var(--ink-2); }
.f-k { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.f-for { font-size: var(--t-small); color: var(--muted); margin-top: var(--s2) !important; }
.f-times-list { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: 6px; }
.f-times-list li { padding: 8px 12px; background: var(--surface-2); border-radius: var(--r-ctl); font-weight: 600; }
.f-hold { display: grid; gap: 4px; padding: var(--s4); background: var(--surface-2); border-radius: var(--r-ctl); margin-bottom: var(--s2); }
.f-hold-amt b { font-size: 22px; }
.f-hold-line { margin-top: var(--s2) !important; }

/* ---------------------------------------------------------------- item summary card */
.f-sum { min-width: 0; }
.f-grid > .f-sum .f-sum-in { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--panel-shadow); overflow: hidden; }
.f-sum-ph { aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.f-sum-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f-sum-bd { padding: var(--s4) var(--s5) var(--s5); display: grid; gap: 4px; }
.f-sum-t { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; }
.f-sum-t a { color: var(--ink); text-decoration: none; }
.f-sum-t a:hover { text-decoration: underline; }
.f-sum-p { font-size: 22px; font-weight: 700; color: var(--ink); }
.f-sum-l { font-size: var(--t-small); color: var(--ink-2); }
.f-sum-l + .f-sum-l { margin-top: 2px; }
/* the compact row form (inside a status card, and on the phone) */
.f-status-card .f-sum-in { display: grid; grid-template-columns: 96px 1fr; gap: var(--s4); align-items: center; }
.f-status-card .f-sum-in:not(:has(.f-sum-ph)) { grid-template-columns: 1fr; }
.f-status-card .f-sum-ph { border-radius: var(--r-thumb); }
.f-status-card .f-sum-bd { padding: 0; }
.f-status-card .f-sum-t { font-size: 17px; }
.f-status-card .f-sum-p { font-size: 16px; font-weight: 600; color: var(--ink-2); }

/* ---------------------------------------------------------------- visit picker: day chips, then times */
.fvp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: 560px; gap: 6px; margin-bottom: var(--s4); }
.fvp-days[hidden] { display: none; }
.fvp-day { position: relative; display: grid; place-items: center; align-content: center; gap: 0; min-height: 64px; padding: 4px 2px; font: inherit; line-height: 1.15;
          border: 1px solid var(--input-line); border-radius: var(--r-chip); background: var(--surface); color: var(--ink); cursor: pointer; }
.fvp-day b { font-size: 18px; font-weight: 700; }
.fvp-dow, .fvp-mon { font-size: var(--t-meta); }
.fvp-mon { color: var(--muted); }
.fvp-day:hover { border-color: var(--brand); }
.fvp-day[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.fvp-day[aria-pressed="true"] .fvp-mon { color: var(--brand); }
.fvp-dot { position: absolute; top: -9px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; box-shadow: 0 0 0 2px var(--surface); background: var(--brand); color: var(--cta-ink);
          font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.fvp-dot[hidden] { display: none; }
.fvp-panel { margin: 0 0 var(--s4) !important; }
.fvp-panel[hidden] { display: none; }
.fvp-legend { padding: 0; margin: 0 0 var(--s2); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.fvp-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.fvp-time { position: relative; display: flex !important; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px;
           border: 1px solid var(--input-line); border-radius: var(--r-chip); background: var(--surface); font-weight: 500 !important; font-size: 15px !important; cursor: pointer; }
.fvp-time input { position: absolute; opacity: 0; width: 1px !important; height: 1px !important; pointer-events: none; }
.fvp-time:hover { border-color: var(--brand); }
.fvp-time:has(input:checked) { background: var(--brand); border-color: var(--brand); color: var(--cta-ink); font-weight: 600 !important; }
.fvp-time:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.fvp:not(.is-js) .fvp-panel { padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.fvp-picked:empty { display: none; }
.fvp-picked { margin: 0 0 var(--s4); padding: var(--s3) var(--s4); background: var(--surface-2); border-radius: var(--r-ctl); }
.fvp-picked-h { font-size: var(--t-small); font-weight: 600; color: var(--ink-2); margin-bottom: 6px !important; }
.fvp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fvp-chip { display: inline-flex; align-items: center; gap: 4px; padding-left: 10px; min-height: 36px; border-radius: var(--r-chip); background: var(--surface);
           border: 1px solid var(--brand); color: var(--brand); font-weight: 600; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.fvp-x { min-height: 36px; min-width: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: var(--t-meta);
        text-decoration: underline; cursor: pointer; }
.fvp-max { margin-top: 8px !important; font-size: var(--t-small); font-weight: 600; color: var(--warn-ink); }
.fvp-own { margin: var(--s2) 0 0; }

/* ---------------------------------------------------------------- e-sign document */
.f-doc { font-size: 15px; display: grid; gap: var(--s3); }
.f-doc-t { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.f-dl { margin: 0; display: grid; border-top: 1px solid var(--line); }
.f-dl div { display: grid; grid-template-columns: 110px 1fr; gap: var(--s3); padding: 8px 0; border-bottom: 1px solid var(--line); }
.f-dl dt { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.f-dl dd { margin: 0; font-weight: 500; }
.f-doc + .f-note, .f-doc + .f-panel { margin-top: var(--s4); }

/* ---------------------------------------------------------------- haul-quote form (inside the item page's Hauling section) */
.f-scope { font-family: var(--font-text); color: var(--ink); }
.f-haul { margin-top: var(--s3); border-top: 1px solid var(--line); }
.f-haul > summary { display: flex; align-items: center; gap: var(--s2); min-height: 48px; cursor: pointer; list-style: none; font-weight: 600; color: var(--link); }
.haul-d-body.f-haul-form, .f-haul-form { display: block; max-width: 640px; padding: var(--s2) 0 var(--s3); }
.f-haul-form label { font-size: 15px; }
.f-haul-form > :is(.f-two, .f-field, .f-contact) { width: 100%; justify-self: stretch; }
.f-haul-form textarea { font-size: var(--t-body) !important; min-height: 72px !important; }
.f-haul-form > link { display: none; }
.f-haul-form > .f-hint { margin-bottom: var(--s4); }
.f-haul-form .btn { width: auto; }
.f-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- eggs & chickens */
.fs-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s4); margin-top: var(--s6); }
.fs-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--panel-shadow); padding: var(--s5); display: grid; gap: var(--s2); }
.fs-item h2 { font-family: var(--font-head); font-weight: 700; font-size: var(--t-h2); line-height: 1.25; margin: 0; }
.fs-price { font-size: 26px; font-weight: 700; color: var(--ink); }
.fs-price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.fs-item .btn { margin-top: var(--s2); }
.fs-empty { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); color: var(--ink-2); }
.fs-pickup { margin-top: var(--s5) !important; padding: var(--s4); background: var(--surface-2); border-radius: var(--r-panel); color: var(--ink-2); font-size: 15px; }
.fs-reserve { margin-top: var(--s10); }
.fs-reserve .f-panel { margin-top: var(--s3); }
.fs-reserve .f-three { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr); }

/* ---------------------------------------------------------------- print spec sheet */
body.ps { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: 15px; line-height: 1.45; }
.ps-bar { display: flex; gap: var(--s3); align-items: center; justify-content: space-between; max-width: 8.5in; margin: 0 auto; padding: var(--s4) var(--s4); }
.ps-back { color: var(--ink-2); font-weight: 500; text-decoration: none; font-size: var(--t-small); }
.ps .ps-print { width: auto; }
.ps-sheet { display: block; max-width: 8.5in; margin: 0 auto var(--s10); padding: 0.5in; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--panel-shadow); }
.ps-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding-bottom: 10px; margin-bottom: var(--s4); border-bottom: 3px solid var(--accent, var(--gold)); } /* shared-edit(brand01) */
.ps-brand { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--brand); }
.ps-where { font-size: var(--t-small); color: var(--muted); }
.ps-cover { display: block; width: 100%; max-height: 3.6in; object-fit: cover; border-radius: var(--r-photo); }
.ps-titlerow { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin: var(--s4) 0 var(--s3); flex-wrap: wrap; }
.ps-title { font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1.2; margin: 0; flex: 1 1 60%; }
.ps-price { font-size: 28px; font-weight: 700; margin: 0; white-space: nowrap; }
.ps-note { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.ps-sold { color: var(--sold-ink); }
.ps-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(1.1in, 1fr)); margin: 0 0 var(--s4); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.ps-facts div { padding: 8px 10px; border-left: 1px solid var(--line); }
.ps-facts div:first-child { border-left: 0; padding-left: 0; }
.ps-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ps-facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.ps-sec h2 { font-family: var(--font-text); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: var(--s4) 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.ps-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s6); font-size: 14px; }
.ps-specs div { display: grid; grid-template-columns: 45% 1fr; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.ps-specs dt { color: var(--muted); }
.ps-specs dd { margin: 0; font-weight: 500; }
.ps-issues { margin: 0; padding-left: 20px; font-size: 14px; }
.ps-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s5); padding-top: var(--s3); border-top: 3px solid var(--brand); break-inside: avoid; }
.ps-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.ps-phone { font-size: 22px; font-weight: 700; }
.ps-contact p { margin: 4px 0 0; color: var(--ink-2); }
.ps-qr svg { width: 2in; height: auto; display: block; }
.ps-url { font-size: 10px; word-break: break-all; color: var(--ink-2); max-width: 2.2in; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .f-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sum" "main"; }
  .f-grid > .f-sum { position: static; margin: 0 0 var(--s5); }
  .f-grid > .f-sum .f-sum-in { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); align-items: center; padding: var(--s3); box-shadow: none; }
  .f-grid > .f-sum .f-sum-in:not(:has(.f-sum-ph)) { grid-template-columns: 1fr; }
  .f-grid > .f-sum .f-sum-ph { border-radius: var(--r-thumb); }
  .f-grid > .f-sum .f-sum-bd { padding: 0; gap: 2px; }
  .f-grid > .f-sum .f-sum-t { font-size: 16px; }
  .f-grid > .f-sum .f-sum-p { font-size: 17px; }
  .f-grid > .f-sum .f-sum-l:not(:first-of-type) { display: none; }
}
@media (max-width: 600px) {
  .f-page { padding: var(--s4) 0 var(--s10); }
  .f-panel { padding: var(--s5) var(--s4); border-radius: var(--r-panel); }
  .f-two, .f-three, .fs-reserve .f-three { grid-template-columns: 1fr; }
  .f-sec + .f-sec { margin-top: var(--s5); padding-top: var(--s5); }
  .fvp-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .fvp-day { min-height: 58px; }
  .fvp-day b { font-size: 16px; }
  .fvp-dow, .fvp-mon { font-size: 11px; }
  .fvp-times { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .fvp-time { font-size: 13px !important; padding: 0 2px; }
  .f-amount input { max-width: none; }
  .f-reply .btn, .f-haul-form .btn { width: 100%; }
  .f-dl div { grid-template-columns: 84px 1fr; }
  .ps-sheet { padding: var(--s4); margin-bottom: var(--s6); }
  .ps-specs { grid-template-columns: 1fr; }
  .ps-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { :is(.f-more, .f-policy, .f-reveal, .f-haul) > summary::before { transition: none; } }

/* fix16: checkbox/radio boxes meet the 24px minimum target */
.f-check input[type="checkbox"], .f-check input[type="radio"] { width: 24px; height: 24px; flex: none; }

/* fix16b: on phones a fixed bottom bar (the item page's .reach-bar, or a keyboard-adjacent action row) must not hide the
   focused field; keep fields and buttons scrolled clear of the bottom edge. */
@media (max-width: 900px) {
  :is(input, select, textarea, button, summary, .btn) { scroll-margin-bottom: 96px; }
}

/* feature ask_jordan (JOURNEY 2026-11-09): the buyer's thread page (/t/<token>) and the Ask Jordan form */
.aj-keep p { margin: 0 0 var(--s2); }
.aj-link a { overflow-wrap: anywhere; word-break: break-word; }
.aj-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.aj-msg { border: 1px solid var(--line); border-radius: var(--r-panel); padding: var(--s3); background: var(--surface); }
.aj-msg.is-buyer { background: var(--brand-tint); }
.aj-msg.is-jordan { border-left: 4px solid var(--brand); }
.aj-who { margin: 0 0 4px; }
.aj-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.aj-form .f-submit { margin-top: var(--s2); }
