/* Shared add-on modal styles (Lead Sync + AI Voice). Loaded site-wide.
   Renamed lc-* -> ls-* (2026-06-25). Base graph/phone styles live in styles.css. */
  .ls-modal-wrap { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
  .ls-modal-wrap[hidden] { display: none; }
  .ls-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 25, 50, .58); backdrop-filter: blur(4px); }
  .ls-modal-panel { position: relative; max-width: 1100px; width: 100%; max-height: 92vh; overflow-y: auto; overflow-x: hidden; background: #fff; border-radius: 18px; box-shadow: 0 40px 90px -30px rgba(15, 25, 50, .5); animation: lsIn .25s ease both; }
  .ls-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.96); border: 1px solid #ebedf3; color: #4d5566; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 20; box-shadow: 0 2px 8px rgba(15,25,50,.08); }
  .ls-modal-close:hover { background: #f3f4f8; color: #2A2840; }

  /* Lead Sync modal, compact internal sizing so it fits without scroll */
  .ls-modal-body { padding: 28px 32px 32px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
  .ls-modal-body .ls-copy h2 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; margin: 6px 0 10px; }
  .ls-modal-body .ls-copy .section-lede { font-size: 13.5px; line-height: 1.5; margin: 0 0 14px; }
  .ls-modal-body .ls-bullets { margin: 0 0 16px !important; padding-left: 0; list-style: none; }
  .ls-modal-body .ls-bullets li { font-size: 13px; line-height: 1.5; padding: 5px 0 5px 18px; position: relative; }
  .ls-modal-body .ls-bullets li::before { content: ''; position: absolute; left: 0; top: 12px; width: 10px; height: 2px; background: #00A1D6; border-radius: 1px; }
  .ls-modal-body .ls-stage { gap: 6px; }
  .ls-modal-body .ls-band { padding: 10px 12px; }
  .ls-modal-body .ls-band-lbl { font-size: 10.5px; margin-bottom: 6px; }
  .ls-modal-body .ls-sources-row { gap: 6px; }
  .ls-modal-body .ls-sources-row .src { font-size: 11px; padding: 3px 8px; }
  .ls-modal-body .ls-converge { height: 44px; }
  .ls-modal-body .ls-converge svg { height: 44px; }
  .ls-modal-body .ls-stack { padding: 10px; }
  .ls-modal-body .ls-stack-lbl { font-size: 10.5px; margin-bottom: 6px; }
  .ls-modal-body .ls-node { padding: 10px 12px; }
  .ls-modal-body .ls-node-head { gap: 8px; margin-bottom: 6px; }
  .ls-modal-body .ls-node-head b { font-size: 13px; }
  .ls-modal-body .ls-node-head span.mono { font-size: 10.5px; }
  .ls-modal-body .ls-node-row { padding: 4px 0; font-size: 12px; }
  .ls-modal-body .ls-mark { width: 26px; height: 26px; }
  .ls-modal-body .ls-sync svg { width: 60px; height: 80px; }
  .ls-modal-body .ls-sync-label { font-size: 10.5px; }
  .ls-modal-body .ls-out-arrow svg { height: 22px; }
  .ls-modal-body .ls-out-cards { gap: 8px; }
  .ls-modal-body .ls-out { padding: 6px 12px; font-size: 12px; }
  @media (max-width: 900px) {
    .ls-modal-body { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; }
    .ls-modal-body .ls-copy h2 { font-size: 20px; }
    .ls-modal-panel { max-height: 90vh; overflow-y: auto; }
  }
  @keyframes lsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  .voice-modal-body { padding: 28px 32px 32px; max-height: 92vh; overflow: hidden; }
  .voice-modal-body .section-head { text-align: center; max-width: 720px; margin: 0 auto 16px; }
  .voice-modal-body .section-head h2 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; margin: 4px 0 6px; }
  .voice-modal-body .section-head .kicker { margin: 0; }
  .voice-modal-body .section-head .section-lede { font-size: 13.5px; line-height: 1.5; margin: 4px auto 0; max-width: 580px; }
  .voice-modal-body .voice-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; }
  .voice-modal-body .vphone { padding: 14px 16px; border-radius: 16px; }
  .voice-modal-body .vp-head { padding-bottom: 10px; }
  .voice-modal-body .vp-name { font-size: 14px; }
  .voice-modal-body .vp-meta { font-size: 10.5px; }
  .voice-modal-body .vp-wave svg { height: 40px; }
  .voice-modal-body .vp-transcript { gap: 8px; margin-top: 8px; }
  .voice-modal-body .vp-transcript .ts { font-size: 12.5px; padding: 8px 12px; line-height: 1.45; }
  .voice-modal-body .vp-transcript .ts-lbl { font-size: 10px; }
  .voice-modal-body .vp-actions { gap: 6px; padding-top: 10px; }
  .voice-modal-body .vp-actions .btn { font-size: 11.5px; padding: 7px 10px; height: auto; }
  .voice-modal-body .vside { gap: 10px; }
  .voice-modal-body .vside-card { padding: 12px 14px; border-radius: 12px; }
  .voice-modal-body .vs-head { font-size: 10.5px; margin-bottom: 6px; }
  .voice-modal-body .vs-row { padding: 4px 0; font-size: 12px; }
  .voice-modal-body .vs-action-title { font-size: 13px; }
  .voice-modal-body .vs-action-sub { font-size: 11px; }
  .voice-modal-body .mini-pill { font-size: 10.5px; padding: 2px 8px; }
  .voice-modal-body .vside-stats { gap: 8px; }
  .voice-modal-body .vss { padding: 10px 12px; }
  .voice-modal-body .vss-num { font-size: 18px; margin: 2px 0; }
  @media (max-width: 900px) {
    .voice-modal-body { padding: 22px 18px; overflow-y: auto; }
    .voice-modal-body .voice-split { grid-template-columns: 1fr; }
  }
