/* =========================================================================
   chrome.css — the two pieces of page furniture both shells render.

   These lived in go-overrides.css, which is the buyer shell's override sheet.
   The admin shell needed them too, and loading the whole buyer sheet to get
   them dragged nine buyer-tuned selectors (.linked__head, .urlrow, .grid2, …)
   onto admin screens, where the vendored admin.css defines the same names —
   whichever sheet loaded second silently won. Splitting the shared two out
   keeps one definition of each without that collision.
   ========================================================================= */

/* Site footer. The redesign prototype had no footer at all; the live site
   does, and dropping it would lose the only place the shop identifies itself
   on a page. */
.gofoot {
  border-top: 1px solid var(--border);
  padding: 26px 24px 40px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Preview-deploy banner. Only rendered when PREVIEW_MODE is set, so the
   production site never pays for it. Sticky rather than fixed: a fixed bar
   would sit on top of the nav on short mobile viewports. */
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 8px 16px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  background: repeating-linear-gradient(135deg, #b3204f, #b3204f 12px, #8d1a3f 12px, #8d1a3f 24px);
}

/* Buyer chat (docs/workflow/26-buyer-chat.md). The conversation renders in
   both shells — /messages for the buyer, /admin/messages for the shop — so
   it lives here rather than in either shell's override sheet. */
.gonav__unread {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px;
  margin-left: 4px; padding: 0 5px; border-radius: 9px;
  background: var(--accent-strong); color: #fff; font-size: 11px; font-weight: 700;
}
.chat-card { padding: 0; overflow: hidden; }
.chat-log { padding: 20px 20px 6px; max-height: 60vh; overflow-y: auto; }
.chat-empty { text-align: center; font-size: 14px; color: var(--ink-mute); padding: 30px 10px; }
.chat-bubble {
  max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5;
  color: var(--ink-head); white-space: pre-wrap; overflow-wrap: anywhere;
}
.chat-bubble--them { background: #fff; border: 1px solid var(--border); border-top-left-radius: 4px; }
.chat-bubble--me {
  background: var(--accent-tint); border: 1px solid oklch(0.9 0.05 340);
  border-top-right-radius: 4px; margin-left: auto;
}
.chat-meta { font-size: 11px; color: var(--ink-mute); margin: 3px 4px 12px; }
.chat-meta--me { text-align: right; }
.chat-tag {
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--accent-strong); background: #fff;
  border: 1px solid oklch(0.9 0.05 340); border-radius: 999px; padding: 1px 8px; margin-bottom: 5px;
}
.chat-form { display: flex; gap: 10px; align-items: flex-end; border-top: 1px solid var(--border); padding: 14px; }
.chat-form textarea {
  flex: 1; min-height: 44px; border: 1px solid var(--border-in); border-radius: 12px;
  padding: 10px 12px; font: 14px var(--font-body); color: var(--ink-body); resize: vertical;
}
.chat-error { margin: 0 14px 12px; font-size: 13px; color: oklch(0.5 0.18 25); }
