/* Flock Press — Standalone Sell Form.
   Scoped to .fp-sell so it stays inert everywhere else. */
.fp-sell{max-width:760px;margin:0 auto;padding:8px 0 32px}
.fp-sell-card{background:#fff;border:1px solid #e5ddd2;border-radius:16px;padding:20px;margin:0 0 20px}
.fp-sell-card h2{margin:0 0 14px;font-size:20px;color:#1B3A8C}
.fp-sell-sub{margin:10px 0 6px;font-size:13px;color:#64748b}
.fp-sell-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fp-sell-field{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;color:#20312a}
.fp-sell-field input,.fp-sell-field select,.fp-sell-field textarea{font:inherit;font-weight:400;padding:10px 12px;border:1px solid #75879c;border-radius:10px;background:#fff;color:#20312a;width:100%;box-sizing:border-box}
.fp-sell-wide{grid-column:1/-1}
.fp-sell-btn{display:inline-block;margin-top:16px;background:linear-gradient(135deg,#0C224E,#1B3A8C);color:#fff;border:0;font-weight:700;padding:12px 22px;border-radius:999px;font-size:15px;cursor:pointer;text-decoration:none;min-height:44px;box-sizing:border-box}
.fp-sell-cancel{margin-left:10px;font-size:14px}
.fp-sell-flash{background:#fdf1e7;border:1px solid #e5ddd2;color:#20312a;border-radius:12px;padding:12px 16px;font-size:14px;margin:0 0 16px}
.fp-sell-note{font-size:15px;color:#20312a}
.fp-sell-photos{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 4px}
.fp-sell-photo{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#64748b;max-width:150px}
.fp-sell-cover{font-weight:700;color:#1B3A8C;font-size:12px}
.fp-sell-moves{display:flex;gap:6px;flex-wrap:wrap}
.fp-sell-move{display:inline}
.fp-sell-move-btn{background:#fff;color:#1B3A8C;border:1px solid #1B3A8C;font:inherit;font-size:12.5px;font-weight:600;padding:8px 10px;border-radius:999px;cursor:pointer;min-height:44px}
.fp-sell-thumb{width:88px;height:88px;object-fit:cover;border-radius:10px}
.fp-sell-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.fp-sell-preview img{width:88px;height:88px;object-fit:cover;border-radius:10px}
.fp-sell-h{font-size:18px;color:#1B3A8C;margin:22px 0 10px}
.fp-sell-list{display:flex;flex-direction:column;gap:8px}
.fp-sell-row{background:#fff;border:1px solid #e5ddd2;border-radius:12px;padding:12px 16px;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.fp-sell-row-title{font-weight:700;color:#20312a}
.fp-sell-row-meta{font-size:13px;color:#64748b}
.fp-sell-row a{font-size:14px;font-weight:600}
@media (max-width:560px){.fp-sell-grid{grid-template-columns:1fr}}
.fp-sell a:focus-visible,.fp-sell button:focus-visible,.fp-sell input:focus-visible,.fp-sell select:focus-visible,.fp-sell textarea:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 6px #1B3A8C;border-radius:6px}

/* Listing delete (0.8.55): danger zone on the edit form + row link. */
.fp-sell-danger { border: 1px solid #f0c6c0; background: #fdf3f1; border-radius: 12px; padding: 14px; margin: 18px 0 0; }
.fp-sell-danger h3 { margin: 0 0 4px; font-size: 15px; color: #b3261e; }
.fp-sell-danger p { margin: 0 0 10px; font-size: 13.5px; color: #6b5753; }
.fp-sell-delcheck { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.fp-sell-delbtn { appearance: none; background: #b3261e; color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; cursor: pointer; }
.fp-sell-row-del { color: #b3261e !important; }

/* Use my location (1.0.2): centered pill under City/State. */
.fp-sell-locrow{grid-column:1/-1;text-align:center;margin:2px 0 0}
.fp-sell-locbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#0C224E,#1B3A8C);color:#fff;border:0;font:inherit;font-weight:700;font-size:14.5px;padding:11px 24px;border-radius:999px;cursor:pointer;min-height:44px;box-shadow:0 2px 8px rgba(12,34,78,.25)}
.fp-sell-locbtn:disabled{opacity:.6;cursor:wait}
.fp-sell-locbtn svg{flex:0 0 auto}
.fp-sell-locstatus{margin:7px 0 0;font-size:13px;font-weight:400;color:#b3261e;min-height:16px}
.fp-sell-locstatus-ok{color:#3d7a3d}

/* Checkboxes are not text inputs (1.0.2 fix): the blanket
   .fp-sell-field input{width:100%} rule was stretching the
   Registered/papers checkbox and shoving its label off the
   card on phones. Real size, navy accent, no flex stretch. */
.fp-sell-field input[type="checkbox"],.fp-sell-field input[type="radio"]{width:22px;height:22px;padding:0;border:0;background:none;flex:0 0 auto;margin:0;accent-color:#1B3A8C}
.fp-sell-photo input[type="checkbox"],.fp-sell-delcheck input[type="checkbox"]{width:20px;height:20px;padding:0;margin:0;accent-color:#1B3A8C;flex:0 0 auto}
/* Owner bar on the single-listing page (1.0.13): shown
   only to the listing's owner (or an admin), linking
   into the sell form's edit mode. */
.fp-sell-ownerbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;background:#fdf1e7;border:1px solid #e5ddd2;border-radius:12px;padding:12px 16px;margin:18px 0 0}
.fp-sell-ownerbar-label{font-weight:700;color:#20312a;font-size:14.5px}
.fp-sell-ownerbar-btn{display:inline-flex;align-items:center;background:linear-gradient(135deg,#0C224E,#1B3A8C);color:#fff !important;font-weight:700;font-size:14px;padding:10px 20px;border-radius:999px;text-decoration:none;min-height:44px;box-sizing:border-box}
.fp-sell-ownerbar-del{color:#b3261e !important;font-weight:600;font-size:14px}
.fp-sell-dogcard{background:#fef3c7;border:1px solid #f59e0b;color:#451a03;border-radius:12px;padding:16px;margin:0 0 16px}
.fp-sell-dogcard h3{margin:0 0 6px;font-size:17px}
.fp-sell-dogcard p{margin:0 0 10px;font-size:14px}
.fp-sell-dogcard-email{background:#dbeafe;border-color:#3b82f6;color:#172554}
.fp-sell-dogactions{display:flex;gap:10px;flex-wrap:wrap}
.fp-sell-btn-ghost{background:transparent!important;color:#1b3a8c!important;border:2px solid #1b3a8c!important}

/* 1.0.100 — sticky submit bar. The sell and edit form's
   action row sticks to the bottom of the screen while
   scrolling, offset above the shell's fixed tab bar
   (about 60px plus the safe area inset), so the submit
   is always reachable on a phone and never sits under
   the tab bar. Fields carry a deep scroll margin so a
   focused field can always be scrolled clear of the
   on-screen keyboard and the bar. */
.fp-sell-actions{position:sticky;bottom:calc(60px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:12px;margin-top:16px;padding:10px 2px;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid #e3e7f0;z-index:6}
.fp-sell-actions .fp-sell-btn{margin-top:0}
.fp-sell-actions .fp-sell-cancel{margin-left:0}
.fp-sell-card input,.fp-sell-card select,.fp-sell-card textarea{scroll-margin-top:96px;scroll-margin-bottom:45vh}

/* Character counters + price hint (1.0.77, Fix C, ported in 1.0.108). */
.fp-sell-count{font-size:12px;font-weight:400;color:#64748b;text-align:right;min-height:14px}
.fp-sell-count-over{color:#b3261e;font-weight:700}
.fp-sell-hint{font-size:12px;font-weight:400;color:#64748b}
