/* FloodMarkets compact quote dock (updated 2026-11-16). Not used on the homepage. */
.fm-dock-head { background: linear-gradient(135deg, #0a2342, #1a5fa8); color: #fff; padding: 0.8rem 1rem; }
.fm-dock-title { display: block; font-family: 'DM Serif Display', serif; font-size: 1.25rem; line-height: 1.2; }
.fm-dock-sub { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.8); }
.fm-dock-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.fm-dock-inline { display: none; }
/* Desktop: fixed right rail; page content shifts left so nothing is covered */
@media (min-width: 1280px) {
  body.fm-has-dock { padding-right: 372px; }
  body > .fm-dock { display: flex; flex-direction: column; position: fixed; right: 16px; top: var(--fm-dock-top, 360px); width: 340px;
    height: min(640px, max(440px, calc(100vh - var(--fm-dock-top, 360px) - 16px))); background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 12px 36px rgba(10,30,56,0.22); border: 2px solid #1a5fa8; z-index: 1030; }
  body > .fm-dock .fm-dock-frame { flex: 1; min-height: 0; }
}
/* Tablet/phone: the card sits inline in the middle of the article, in normal page flow */
@media (max-width: 1279.98px) {
  body > .fm-dock { display: none; }
  .fm-dock-inline { display: block; clear: both; margin: 2rem 0; padding: 1.25rem 0; border-top: 2px dashed #c9d6e6; border-bottom: 2px dashed #c9d6e6; }
  .fm-dock-inline-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #4b5563; text-align: center; margin-bottom: 0.6rem; }
  .fm-dock-inline .fm-dock { display: block; max-width: 520px; margin: 0 auto; background: #fff; border: 2px solid #1a5fa8; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(10,30,56,0.15); }
  .fm-dock-inline .fm-dock-frame { height: 540px; }
  .fm-dock-continue { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-weight: 700; color: #1a5fa8; font-size: 0.95rem; }
  .fm-dock-continue i { font-style: normal; font-size: 1.2rem; animation: fmDockNudge 1.8s ease-in-out infinite; }
}
@keyframes fmDockNudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .fm-dock-continue i { animation: none; } }
