/* Flock Press — Standalone Discovery.
   Scoped to .fp-disc so it stays inert everywhere
   else. Locked Phase 6 tokens: cream #FDF1E7
   panels, navy #1B3A8C actions and headings,
   slate #64748B muted text, input borders #75879c
   (3.68:1 on white). Result cards render through
   the shared renderer (core cards.css); the
   .fp-disc-listing rules below style only its
   legacy fallback markup. */
.fp-disc{max-width:900px;margin:0 auto;padding:8px 0 32px;color:#20312a}
.fp-disc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.fp-disc-head h2{margin:0;font-size:22px;color:#1B3A8C}
.fp-disc-subhead{font-size:18px;color:#1B3A8C;margin:22px 0 10px}
.fp-disc-flash{background:#fdf1e7;border:1px solid #e5ddd2;color:#20312a;border-radius:12px;padding:12px 16px;font-size:14px;margin:0 0 16px}
.fp-disc-note{font-size:14px;color:#7a3b12;background:#fdf1e7;border:1px solid #e5ddd2;border-radius:12px;padding:10px 14px;margin:0 0 14px}
.fp-disc-count{font-size:14px;color:#64748b;margin:0 0 12px}
.fp-disc-flocks{font-size:14px;color:#26313d;background:#fff;border:1px solid #e5ddd2;border-radius:12px;padding:10px 14px;margin:0 0 14px}
.fp-disc-flocks a{color:#1b3a8c;font-weight:700;text-decoration:none}
.fp-disc-card{background:#fff;border:1px solid #e5ddd2;border-radius:16px;padding:20px;margin:0 0 20px}
.fp-disc-card h3{margin:0 0 12px;font-size:18px;color:#20312a}
.fp-disc-btn{display:inline-block;background:linear-gradient(135deg,#0C224E,#1B3A8C);color:#fff;border:0;font:inherit;font-weight:700;padding:11px 20px;border-radius:999px;font-size:15px;cursor:pointer;text-decoration:none;min-height:44px;box-sizing:border-box}
.fp-disc-btn-small{padding:7px 14px;font-size:13.5px;min-height:44px}
.fp-disc-search{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;background:#fff;border:1px solid #e5ddd2;border-radius:16px;padding:16px;margin:0 0 16px}
.fp-disc-field{display:flex;flex-direction:column;gap:4px;flex:1 1 150px}
.fp-disc-field-wide{flex:2 1 220px}
.fp-disc-field-btn{flex:0 0 auto}
.fp-disc-field label{font-size:13px;font-weight:600;color:#64748b}
.fp-disc-breed-filter{margin-bottom:6px}
.fp-disc-field input,.fp-disc-field select,.fp-disc-field textarea{font:inherit;font-size:15px;padding:9px 12px;border:1px solid #75879c;border-radius:10px;background:#fff;color:#20312a;width:100%;box-sizing:border-box}
.fp-disc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;align-items:start}
.fp-disc-listing{margin:0;padding:14px;display:flex;flex-direction:column;gap:6px}
.fp-disc-thumb img{display:block;width:100%;height:140px;object-fit:cover;border-radius:10px}
.fp-disc-listing-title{margin:0;font-size:16px}
.fp-disc-listing-title a{color:#20312a;text-decoration:none}
.fp-disc-listing-meta{margin:0;font-size:14px;font-weight:600;color:#1B3A8C}
.fp-disc-listing-seller{margin:0;font-size:13px;color:#64748b}
.fp-disc-pages{display:flex;align-items:center;gap:16px;margin:18px 0 0;font-size:14.5px}
.fp-disc-page-link{color:#1B3A8C;font-weight:600;text-decoration:none}
.fp-disc-page-now{color:#64748b}
.fp-disc-banner{border-radius:16px;padding:16px 20px;margin:0 0 18px;font-size:15px}
.fp-disc-banner p{margin:0 0 12px}
.fp-disc-banner.is-soon{background:#fdf6e0;border:1px solid #e8d48b;color:#4d3d08}
.fp-disc-banner.is-expired{background:#fdecec;border:1px solid #e5a3a3;color:#5f1d1d}
.fp-disc-tombstone{text-align:left}
.fp-disc-tombstone h2{margin:0 0 10px;font-size:20px;color:#20312a}
.fp-disc-stamp{font-size:13px;color:#64748b;margin:10px 0 0}
.fp-disc-list{display:flex;flex-direction:column;gap:10px}
.fp-disc-want{margin:0;padding:16px 20px}
.fp-disc-want-title{margin:0 0 6px;font-size:16.5px;color:#20312a}
.fp-disc-want-meta{margin:0 0 6px;font-size:14px;font-weight:600;color:#1B3A8C}
.fp-disc-want-note{margin:0 0 6px;font-size:14.5px}
.fp-disc-want-by{margin:0;font-size:13px;color:#64748b}
.fp-disc-want-state{margin:0 0 8px;font-size:13px;font-weight:700;color:#64748b}
.fp-disc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.fp-disc-form{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.fp-disc-form-inline{display:inline}
@media (max-width:560px){.fp-disc-grid{grid-template-columns:1fr 1fr}.fp-disc-thumb img{height:110px}}
.fp-disc a:focus-visible,.fp-disc button:focus-visible,.fp-disc input:focus-visible,.fp-disc select:focus-visible,.fp-disc textarea:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 6px #1B3A8C;border-radius:6px}

/* Location finder (Nov 5, 2026): Near-field suggestions + Use my location. */
.fp-disc-near-wrap{position:relative}
.fp-disc-suggest{position:absolute;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid #c9d3e0;border-radius:10px;box-shadow:0 10px 26px rgba(27,58,140,.18);z-index:60;overflow:hidden}
.fp-disc-suggest[hidden]{display:none}
.fp-disc-suggest-item{display:block;width:100%;text-align:left;padding:12px;font:inherit;font-size:15px;background:#fff;border:0;border-bottom:1px solid #eef1f5;color:#20312a;cursor:pointer}
.fp-disc-suggest-item:last-child{border-bottom:0}
.fp-disc-suggest-item:hover,.fp-disc-suggest-item:focus{background:#fdf1e7}
.fp-disc-locate{margin-top:8px;align-self:flex-start;padding:9px 14px;font:inherit;font-size:14px;font-weight:700;color:#1b3a8c;background:#fdf1e7;border:1.5px solid #1b3a8c;border-radius:999px;cursor:pointer;min-height:44px}
.fp-disc-locate:hover,.fp-disc-locate:focus{background:#f7e3cc}
.fp-disc-locate-note{margin:8px 0 0;font-size:13px;color:#52637a}

/* Deep filters (0.8.41): kind pills + collapsible panel. */
.fp-disc-kinds { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.fp-disc-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #e2e0d8; color: #374151; cursor: pointer; }
.fp-disc-kind input { accent-color: #1b3a8c; }
.fp-disc-kind.is-on { background: #1b3a8c; color: #fff; border-color: #1b3a8c; }
.fp-disc-kind.is-on input { accent-color: #fff; }
.fp-disc-more { margin-top: 10px; }
.fp-disc-more > summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: #1b3a8c; padding: 6px 2px; }
.fp-disc-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 6px; }
.fp-disc-check { display: flex; align-items: flex-end; }
.fp-disc-check label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; padding-bottom: 8px; }

/* Browse-by-category tiles (moved from Home, Nov 9, 2026) */
.fp-disc-cats-sec{margin:0 0 18px}
.fp-disc-cats-title{font-size:21px;color:#1B3A8C;margin:0 0 14px;letter-spacing:.1px}
.fp-disc-cats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (min-width:700px){.fp-disc-cats{grid-template-columns:repeat(4,1fr)}}
.fp-disc-cat{display:flex;flex-direction:column;background:#fff;border:1px solid #e5ddd2;border-radius:14px;padding:14px 14px 12px;text-decoration:none}
.fp-disc-cat:hover,.fp-disc-cat:focus{background:#fdf1e7;border-color:#1B3A8C}
.fp-disc-cat-count{order:-1;display:block;font-size:22px;font-weight:800;color:#1B3A8C;line-height:1.15}
.fp-disc-cat-name{display:block;font-size:14.5px;font-weight:700;color:#20312a;margin-top:2px}
@media (max-width:560px){.fp-disc-cat-count{font-size:19px;white-space:nowrap}}

/* Location finder layout (Nov 9, 2026): the Near
   field takes its own full row so the label, input
   and button stack in one clean column. */
.fp-disc-near{flex:1 1 100%}
@media (max-width:560px){.fp-disc-locate{width:100%}}
/* Endless feed status line (Nov 9, 2026). */
.fp-disc-feed{padding:18px 0 6px;text-align:center}
.fp-disc-feed-note{font-size:14px;color:#64748b;margin:0}

/* Filter panel fit fix (0.8.58): the More-filters <details> is a flex
   item of the search form and sized to its content, squeezing the deep
   filters into a right-hand column while the checkbox labels (flex rows)
   ran off the right edge of the phone screen. The panel now takes its
   own full-width row, grid fields may shrink, and labels wrap. */
.fp-disc-search>*{min-width:0}
.fp-disc-more{flex:1 1 100%;min-width:0}
.fp-disc-more-grid>*{min-width:0}
.fp-disc-check label{flex-wrap:wrap;min-width:0;white-space:normal}
@media (max-width:560px){.fp-disc-more-grid{grid-template-columns:1fr 1fr}}
@media (max-width:380px){.fp-disc-more-grid{grid-template-columns:1fr}}

/* Checkboxes are not text inputs (1.0.2 fix): same width:100%
   blanket-rule bug as the sell form, in the filter panel. */
.fp-disc-field input[type="checkbox"],.fp-disc-field input[type="radio"]{width:20px;height:20px;padding:0;border:0;background:none;flex:0 0 auto;margin:0;accent-color:#1B3A8C}
.fp-disc-check label{display:flex;align-items:center;gap:8px}
.fp-disc-field-breed{position:relative}
.fp-disc-breed-suggest{position:absolute;left:0;right:0;top:100%;z-index:60;background:#fff;border:1px solid #e5ddd2;border-radius:10px;box-shadow:0 10px 28px rgba(12,34,78,.18);padding:6px;margin-top:4px;max-height:300px;overflow:auto}
.fp-disc-suggest-head{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b;padding:6px 8px 2px}
.fp-disc-suggest-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 8px;border-radius:6px;cursor:pointer;color:#20312a;font-size:14.5px}
.fp-disc-suggest-row:hover,.fp-disc-suggest-row.is-active{background:#fdf1e7}
.fp-disc-suggest-count{font-size:12.5px;color:#64748b}

/* Market surface (1.0.80, Phase 2 of the website-to-app rebuild).
   Scoped under .fp-disc-archive so the Wanted board (also .fp-disc)
   keeps its Phase 5 look. Tokens are the Phase 1 app values:
   border #E3E7F0, text #17203A, muted #6B7280, navy #1B3A8C,
   active pill #DCE7FF, price badge rgba(20,44,107,.7). */

/* Segment row (1.0.81): plain TEXT TABS, the style the
   owner picked for the app — no boxes, no fills, no
   borders, no outlines. A three-column grid at phone
   width puts Sell, Wanted and All Listings over
   Livestock & Poultry, Food and Services in equal-width
   columns that line up perfectly, every label centred in
   its cell; desktop fits one row of six equal cells. The
   active tab is bold navy with a short, thick, rounded
   navy underline centred under its label; inactive tabs
   are regular-weight muted navy grey. The horizontal
   padding matches the search panel's content box (16px
   padding + 1px border), so the tab rows share the same
   left and right edges as the search field and the Use
   my location row inside the panel — one clean aligned
   column, like the app header. */
.fp-mkt-segs{display:grid;grid-template-columns:repeat(3,1fr);gap:2px 8px;margin:0 0 12px;padding:0 17px}
.fp-mkt-seg{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 4px 12px;font-size:14.5px;font-weight:500;line-height:1.25;color:#64748b;text-decoration:none}
.fp-mkt-seg:hover{color:#1b3a8c}
.fp-mkt-seg.is-on{color:#1b3a8c;font-weight:800}
.fp-mkt-seg.is-on::after{content:"";position:absolute;left:50%;bottom:2px;transform:translateX(-50%);width:36px;height:4px;border-radius:999px;background:#1b3a8c}
@media (min-width:700px){.fp-mkt-segs{grid-template-columns:repeat(6,1fr)}}

/* The filter panel and count line in the app tokens. */
.fp-disc-archive .fp-disc-search{background:#fff;border-color:#e3e7f0;border-radius:16px}
.fp-disc-archive .fp-disc-field label{color:#6b7280}
.fp-disc-archive .fp-disc-count{color:#6b7280}
/* 1.0.100: after a Show results apply the view scrolls to the
   count line; the margin keeps it clear of the fixed top bar. */
.fp-disc-archive .fp-disc-count{scroll-margin-top:calc(72px + env(safe-area-inset-top,0px))}

/* Category chips: one horizontally scrollable row, the app's
   chip row. The radio inside is visually hidden; the label is
   the chip, and :focus-within keeps keyboard focus visible. */
.fp-mkt-chips{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;flex:1 1 100%;padding:2px 0 6px;scrollbar-width:none}
.fp-mkt-chips::-webkit-scrollbar{display:none}
.fp-mkt-chip{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;font-size:13.5px;font-weight:600;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #e3e7f0;color:#17203a;cursor:pointer;white-space:nowrap}
.fp-mkt-chip.is-on{background:#dce7ff;border-color:#dce7ff;color:#1b3a8c;font-weight:800}
.fp-mkt-chip input{position:absolute;opacity:0;width:1px;height:1px;margin:0;padding:0;border:0}
.fp-mkt-chip:focus-within{outline:3px solid #fff;box-shadow:0 0 0 6px #1b3a8c;border-radius:999px}

/* All Listings (1.0.81): the search field is the form's
   only field and takes the full form row, and the lone
   Use my location button sits in its own row exactly
   where the chips row sat (the chips row's own padding
   rhythm), inside the same panel edges as the search
   field above it. Since 1.0.82 the button is solid navy
   with white text, the way the app wears it; .fp-mkt-locate
   styles this button alone (the filter row's locate
   control on the other segments is .fp-disc-locate and
   keeps its own look). */
.fp-disc-archive .fp-disc-search-solo .fp-disc-field-wide{flex:1 1 100%}
.fp-mkt-locate-row{flex:1 1 100%;padding:2px 0 6px}
.fp-mkt-locate{padding:10px 18px;font:inherit;font-size:14.5px;font-weight:700;color:#fff;background:#1b3a8c;border:1.5px solid #1b3a8c;border-radius:999px;cursor:pointer;min-height:44px}
.fp-mkt-locate:hover,.fp-mkt-locate:focus{background:#142c6b}
@media (max-width:560px){.fp-mkt-locate{width:100%}}

/* Market grid cards: the Phase 1 feed listing card's shape —
   seller line, full-bleed photo with the navy price badge,
   title, and the place · distance · breed meta line. */
.fp-disc-archive .fp-disc-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
@media (max-width:560px){.fp-disc-archive .fp-disc-grid{grid-template-columns:1fr 1fr}}
.fp-mkt-card{background:#fff;border:1px solid #e3e7f0;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.fp-mkt-head{display:flex;gap:8px;padding:12px 12px 0;align-items:center}
.fp-mkt-ava{width:40px;height:40px;border-radius:50%;object-fit:cover;display:block}
.fp-mkt-seller{font-size:14.5px;font-weight:700;color:#17203a;line-height:1.3;min-width:0}
.fp-mkt-seller a{color:#17203a;text-decoration:none}
.fp-mkt-photowrap{position:relative;margin-top:10px}
.fp-mkt-photo{display:block}
.fp-mkt-photo img{width:100%;height:180px;object-fit:cover;display:block}
.fp-mkt-badge{position:absolute;left:8px;bottom:8px;background:rgba(20,44,107,.7);color:#fff;font-size:14px;font-weight:800;border-radius:999px;padding:3px 8px;line-height:1.3}
.fp-mkt-badge small{font-size:12px;font-weight:700}
.fp-mkt-body{padding:9px 12px 12px}
.fp-mkt-title{font-size:16.5px;font-weight:700;color:#17203a;margin:0;line-height:1.3}
.fp-mkt-title a{color:#17203a;text-decoration:none}
.fp-mkt-meta{font-size:13px;color:#6b7280;margin:2px 0 0}
@media (max-width:560px){.fp-mkt-photo img{height:150px}}

/* ---------------------------------------------------------------
   1.0.85 — Market Filters panel, app parity. The type
   pick lives inside the panel as radio rows (the app's
   Filters sheet sections), "Use my location" opens the
   location controls instead of locating, and the All
   Listings location panel sits under its pill. The old
   on-page chip rules above are unused by the new form.
   --------------------------------------------------------------- */
.fp-mkt-controls{display:flex;gap:10px;align-items:center;margin-top:10px}
.fp-mkt-controls .fp-disc-locate{margin-top:0}
.fp-mkt-filters > summary{font-size:15px}
.fp-mkt-fbadge{display:inline-block;min-width:20px;text-align:center;background:#1b3a8c;color:#fff;border-radius:999px;font-size:12px;font-weight:700;padding:1px 6px;margin-left:4px;vertical-align:1px}
.fp-mkt-sect{min-width:0}
.fp-mkt-sect-h{margin:4px 0 8px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#52637a}
.fp-mkt-types{display:flex;flex-direction:column;gap:6px}
.fp-mkt-typerow{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1.5px solid #e5ddd2;border-radius:12px;background:#fff;cursor:pointer;font-size:14.5px;color:#20312a}
.fp-mkt-typerow input{accent-color:#1b3a8c;margin:0}
.fp-mkt-typerow.is-on{border-color:#1b3a8c;background:#dce7ff;font-weight:700}
.fp-mkt-typename{flex:1 1 auto}
.fp-mkt-typecount{font-size:12.5px;color:#52637a;font-weight:600}
.fp-disc-locate-me{margin-top:8px;align-self:flex-start;padding:9px 14px;font:inherit;font-size:14px;font-weight:700;color:#1b3a8c;background:#fdf1e7;border:1.5px solid #1b3a8c;border-radius:999px;cursor:pointer;min-height:44px}
.fp-disc-locate-me:hover,.fp-disc-locate-me:focus{background:#f7e3cc}
.fp-mkt-locpanel{margin-top:10px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.fp-mkt-locpanel[hidden]{display:none}
@media (max-width:560px){.fp-mkt-locpanel{grid-template-columns:1fr 1fr}.fp-disc-locate-me{width:100%}}

/* ---------------------------------------------------------------
   1.0.87 — Sell segment, the app's Selling dashboard in place.
   Create pill, Needs attention rows, Manage and Performance
   tiles, and the Your listings rows follow SellingScreen's
   own metrics (19px section titles, 58px thumbs, pill Edit),
   in the site palette. The sign-in block follows the app's
   SignInPrompt shape (centred title and body, two pill
   actions).
   --------------------------------------------------------------- */
.fp-sell-create{display:block;background:#1b3a8c;color:#fff;text-align:center;font-size:17px;font-weight:800;padding:15px;border-radius:999px;text-decoration:none}
.fp-sell-h{font-size:19px;font-weight:800;color:#17203a;margin:24px 0 8px}
.fp-sell-attrow{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #e3e7f0;text-decoration:none}
.fp-sell-atttext{flex:1 1 auto;font-size:15px;font-weight:600;color:#17203a}
.fp-sell-badge{background:#b3261e;color:#fff;font-size:11.5px;font-weight:800;border-radius:999px;min-width:20px;height:20px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.fp-sell-chev{color:#6b7280;font-size:18px;line-height:1}
.fp-sell-tiles{display:flex;flex-wrap:wrap;gap:10px}
.fp-sell-tile{width:calc(50% - 5px);box-sizing:border-box;border:1px solid #e3e7f0;border-radius:12px;padding:13px;text-decoration:none;background:#fff}
.fp-sell-tileval{font-size:22px;font-weight:800;color:#17203a;margin:0}
.fp-sell-tilelabel{font-size:13px;color:#6b7280;margin:1px 0 0}
.fp-sell-star{color:#e3a008}
.fp-sell-empty{font-size:14px;color:#6b7280;line-height:1.45;margin:0}
.fp-sell-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e3e7f0}
.fp-sell-thumb{width:58px;height:58px;border-radius:8px;object-fit:cover;background:#dce7ff;flex:none}
.fp-sell-thumb.is-empty{display:block}
.fp-sell-rowmain{flex:1 1 auto;min-width:0;text-decoration:none}
.fp-sell-rowtitle{display:block;font-size:15px;font-weight:700;color:#17203a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-sell-rowmeta{display:block;font-size:12.5px;color:#6b7280;margin-top:1px}
.fp-sell-live{color:#2e7d32;font-weight:700}
.fp-sell-sold{color:#6b7280;font-weight:700}
.fp-sell-edit{border:1.5px solid #1b3a8c;border-radius:999px;padding:6px 13px;color:#1b3a8c;font-size:13px;font-weight:800;text-decoration:none;flex:none}
.fp-sell-signin{text-align:center;padding:48px 24px;max-width:460px;margin:0 auto}
.fp-sell-signin-title{font-size:19px;font-weight:800;color:#17203a;margin:0}
.fp-sell-signin-body{font-size:14.5px;color:#6b7280;line-height:1.45;margin:8px 0 0}
.fp-sell-signin-btn{display:block;margin-top:16px;padding:13px;border-radius:999px;background:#1b3a8c;color:#fff;font-size:15px;font-weight:700;text-decoration:none}
.fp-sell-signin-btn.is-outline{background:#fff;color:#1b3a8c;border:1.5px solid #1b3a8c;margin-top:10px}

/* ---------------------------------------------------------------
   In-place Market switching (1.0.90): while the next
   segment or page loads, only the archive region dims
   and stops taking input. The frosted bars live outside
   the region (the Chrome module's fixed bars) and are
   untouched, exactly as the brief requires.
   --------------------------------------------------------------- */
.fp-disc-archive{transition:opacity .15s ease}
.fp-disc-archive.is-loading{opacity:.55;pointer-events:none}
