/* Flock Press — Standalone Messages.
   Scoped to .fp-msg (plus the listing page's
   Message seller button) so it stays inert
   everywhere else. Phase 6 tokens: own messages
   sit on brand cream #fdf1e7 with a soft border,
   right-aligned; the other side white-grey, left.
   Cream replaced the Phase 3 pale green so the
   standalone surfaces carry the one locked
   palette (cream / navy / slate). */
.fp-msg{max-width:760px;margin:0 auto;padding:8px 0 32px;color:#20312a}
.fp-msg-card{background:#fff;border:1px solid #e5ddd2;border-radius:16px;padding:20px;margin:0 0 20px}
.fp-msg-card h2{margin:0 0 10px;font-size:20px;color:#1B3A8C}
.fp-msg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.fp-msg-head h2{margin:0;font-size:22px;color:#1B3A8C}
.fp-msg-total{background:#1B3A8C;color:#fff;font-size:12px;font-weight:700;border-radius:999px;padding:3px 10px;vertical-align:middle}
.fp-msg-flash{background:#fdf1e7;border:1px solid #e5ddd2;color:#20312a;border-radius:12px;padding:12px 16px;font-size:14px;margin:0 0 16px}
.fp-msg-note{font-size:14px;color:#64748b;padding:8px 2px}
.fp-msg-back{margin:0 0 10px;font-size:14px}
.fp-msg-btn{display:inline-block;background:linear-gradient(135deg,#0C224E,#1B3A8C);color:#fff;border:0;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-msg-btn-ghost{background:#fff;color:#1B3A8C;border:1px solid #1B3A8C}
.fp-msg-cta{margin:16px 0}
.fp-msg-act{font-size:13px;font-weight:600;color:#64748b;text-decoration:none}
.fp-msg-act:hover{color:#1B3A8C;text-decoration:underline}
.fp-msg-list{display:flex;flex-direction:column;gap:8px}
.fp-msg-row{background:#fff;border:1px solid #e5ddd2;border-radius:12px;padding:10px 14px;display:flex;align-items:center;gap:10px}
.fp-msg-row-main{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-decoration:none;color:#20312a}
.fp-msg-avatar{border-radius:50%;flex:none}
.fp-msg-row-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.fp-msg-row-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.fp-msg-name{font-weight:700;color:#20312a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-msg-time{font-size:12px;color:#64748b;flex:none}
.fp-msg-context{font-size:13px;color:#1B3A8C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-msg-preview{font-size:13px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-msg-row.is-unread .fp-msg-preview{color:#20312a;font-weight:600}
.fp-msg-badge{background:#1B3A8C;color:#fff;font-size:12px;font-weight:700;border-radius:999px;min-width:22px;height:22px;line-height:22px;text-align:center;padding:0 6px;flex:none}
.fp-msg-row-actions{display:flex;gap:12px;flex:none}
.fp-msg-more{margin:16px 0;text-align:center}
.fp-msg-threadchip{margin:0 0 12px}
.fp-msg-chip{display:inline-block;background:#fdf1e7;border:1px solid #e5ddd2;border-radius:999px;padding:3px 10px;font-size:12px;color:#20312a}
.fp-msg-chip a{color:#1B3A8C;font-weight:600}
.fp-msg-stream{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e5ddd2;border-radius:16px;padding:16px;margin:0 0 14px}
.fp-msg-bubble{max-width:78%;border-radius:16px;padding:9px 13px;display:flex;flex-direction:column;gap:3px}
.fp-msg-bubble.is-own{align-self:flex-end;background:#fdf1e7;border:1px solid #e5ddd2;border-bottom-right-radius:6px}
.fp-msg-bubble.is-other{align-self:flex-start;background:#f4f1ec;border:1px solid #e5ddd2;border-bottom-left-radius:6px}
.fp-msg-body{margin:0;font-size:15px;line-height:1.45;word-wrap:break-word}
.fp-msg-meta{font-size:11px;color:#52637a;align-self:flex-end}
.fp-msg-bubble.is-other .fp-msg-meta{align-self:flex-start}
.fp-msg-bubble .fp-msg-chip{align-self:flex-start;background:#fff}
.fp-msg-seen{margin:2px 0 0;font-size:12px;color:#64748b;text-align:right}
.fp-msg-composer{display:flex;gap:10px;align-items:flex-end}
.fp-msg-composer textarea{flex:1;font:inherit;padding:11px 13px;border:1px solid #75879c;border-radius:12px;background:#fff;color:#20312a;box-sizing:border-box;resize:vertical}
.fp-msg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:560px){.fp-msg-bubble{max-width:88%}.fp-msg-row-actions{gap:8px}}
.fp-msg a:focus-visible,.fp-msg button:focus-visible,.fp-msg textarea:focus-visible,.fp-msg-cta a:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 6px #1B3A8C;border-radius:6px}

/* 1.0.85 — the listing page's Message Seller wears
   the app's shape: one big full-width navy pill. */
.fp-msg-cta .fp-msg-btn{display:block;text-align:center;padding:14px 20px;font-size:16px}
