/* Shared consultation entry: desktop rail, mobile action bar. */
.jj-contact-dock { position: fixed; z-index: 1100; right: 16px; top: 48%; width: 144px; border: 1px solid #dce5df; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(20,55,38,.12); overflow: hidden; }
.jj-contact-dock a, .jj-contact-dock button { box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 12px 8px; border: 0; font: inherit; font-size: 15px; line-height: 1.4; text-decoration: none; cursor: pointer; }
.jj-contact-dock button { flex-wrap: wrap; gap: 2px 6px; background: #247c50; color: #fff; }
.jj-contact-dock button:hover { background: #1b6340; }
.jj-contact-dock a { flex-wrap: wrap; gap: 2px 6px; color: #243c30; background: #fff; }
.jj-contact-dock a:hover { background: #f0f7f3; }
.jj-contact-dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; flex-shrink: 0; }
.jj-contact-dock small { width: 100%; font-size: 15px; font-weight: 600; text-align: center; }
.jj-contact-dock :focus-visible, #jjWxModal :focus-visible { outline: 3px solid #215fbd; outline-offset: -3px; }
#jjWxModal { padding: 16px; box-sizing: border-box; }
#jjWxModal .jj-wx-modal-box { position: relative; max-width: 352px; width: 100%; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 36px 24px 24px; }
#jjWxModal h2 { margin: 0 0 18px; color: #203b2c; font-size: 22px; line-height: 1.4; }
#jjWxModal .jj-wx-close { position: absolute; top: 8px; right: 8px; padding: 0; width: 40px; height: 40px; background: transparent; color: #45584c; font-size: 28px; border-radius: 6px; }
#jjWxModal .jj-wx-hint { font-size: 14px; line-height: 1.6; margin: 0 0 14px; font-weight: 400; }
#jjWxModal .jj-wx-account { margin: 0 0 12px; font-size: 16px; }
#jjWxModal .jj-wx-copy { background: #247c50; min-height: 44px; padding: 10px 24px; }
#jjWxModal .jj-wx-copy-status { min-height: 22px; margin: 8px 0; font-size: 14px; font-weight: 400; }
#jjWxModal .jj-wx-phone { color: #246c48; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; padding: 8px; }
@media (max-width: 1024px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .jj-contact-dock { top: auto; bottom: 0; right: 0; left: 0; width: auto; display: flex; border-radius: 0; border-width: 1px 0 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 10px; overflow: visible; }
  .jj-contact-dock a, .jj-contact-dock button { width: 50%; min-height: 48px; border-radius: 12px; font-size: 16px; line-height: 24px; font-weight: 500; }
  #jjWxModal h2 { font-size: 20px; line-height: 28px; }
  .jj-contact-dock a { border: 1px solid #c6d7cc; }
  .jj-contact-dock small { display: none; }
}
