
        /* ── Hover hint na badge ── */
        .author-float { cursor: pointer; border: none; font-family: inherit; text-align: left; }
        .author-float:hover { transform: translateY(-2px); transition: transform .25s; }
        .author-float-role { font-size:.75rem; color:#64748b; position: relative; }
        .author-float-role-hint {
          display: block;
          color: #e11d48;
          font-weight: 600;
          opacity: 0;
          max-height: 0;
          overflow: hidden;
          transition: opacity .25s, max-height .25s;
        }
        .author-float:hover .author-float-role-default { display: none; }
        .author-float:hover .author-float-role-hint { opacity: 1; max-height: 20px; }

        /* ── Chat widget — modern, polished ── */
        .sv-chat {
          position: absolute;
          bottom: 28px; right: 28px;
          width: min(380px, calc(100% - 56px));
          background: #fff;
          border-radius: 24px;
          box-shadow:
            0 30px 80px -10px rgba(45, 36, 33, .35),
            0 0 0 1px rgba(225, 29, 72, .06),
            0 1px 0 rgba(255,255,255,.9) inset;
          display: flex; flex-direction: column;
          z-index: 50;
          opacity: 0;
          transform: translateY(20px) scale(.96);
          transform-origin: bottom right;
          transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
          pointer-events: none;
          overflow: hidden;
        }
        .sv-chat[hidden] { display: none; }
        .sv-chat.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
        .sv-chat-head {
          position: relative;
          padding: 16px 18px;
          border-bottom: 1px solid rgba(45, 36, 33, .06);
          overflow: hidden;
          background: #fff;
        }
        .sv-chat-head-bg {
          position: absolute; inset: 0;
          background: linear-gradient(180deg, rgba(225,29,72,.04) 0%, transparent 100%);
        }
        .sv-chat-head-row {
          position: relative;
          display: flex; align-items: center; gap: 12px;
          z-index: 1;
        }
        .sv-chat-head-row .sv-chat-head-text { flex: 1; min-width: 0; }
        .sv-chat-head-avatar {
          width: 42px; height: 42px;
          border-radius: 50%;
          overflow: hidden;
          position: relative;
          border: 2px solid #fff;
          box-shadow: 0 2px 6px rgba(0,0,0,.08);
          flex-shrink: 0;
        }
        .sv-chat-head-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
        .sv-chat-head-dot {
          position: absolute; bottom: -1px; right: -1px;
          width: 12px; height: 12px;
          background: #22c55e;
          border-radius: 50%;
          border: 2px solid #fff;
        }
        .sv-chat-head-text { flex: 1; min-width: 0; }
        .sv-chat-head-name {
          font-size: .94rem; font-weight: 700;
          color: #1a1515;
          line-height: 1.15;
          letter-spacing: -.01em;
        }
        .sv-chat-head-status {
          font-size: .74rem;
          color: #5c4f51;
          margin-top: 3px;
          display: inline-flex; align-items: center; gap: 5px;
        }
        .sv-chat-head-status-dot {
          width: 5px; height: 5px;
          background: #22c55e;
          border-radius: 50%;
          flex-shrink: 0;
          box-shadow: 0 0 0 0 rgba(34,197,94,.5);
          animation: svChatStatusDot 2s ease-in-out infinite;
        }
        @keyframes svChatStatusDot {
          0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
          50%      { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
          25%      { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
        }
        .sv-chat-close { display: none; } /* Legacy */

        /* Minimize button — top right v headeru */
        .sv-chat-min {
          width: 30px; height: 30px;
          display: flex; align-items: center; justify-content: center;
          background: rgba(45,36,33,.06);
          border: none; border-radius: 8px;
          color: #5c4f51;
          cursor: pointer;
          flex-shrink: 0;
          transition: background .2s, color .2s, transform .2s;
        }
        .sv-chat-min:hover { background: rgba(225,29,72,.12); color: #e11d48; }
        .sv-chat-min:active { transform: scale(.92); }

        /* ── Contextual followup chips (under each AI bubble) ── */
        .sv-chat-followups {
          display: flex; flex-wrap: wrap; gap: 6px;
          margin-top: 4px;
          padding-left: 2px;
          animation: svChatFuIn .35s cubic-bezier(.22,1,.36,1);
        }
        @keyframes svChatFuIn {
          from { opacity: 0; transform: translateY(4px); }
          to   { opacity: 1; transform: translateY(0); }
        }
        .sv-chat-followup-chip {
          padding: 7px 12px;
          background: #fff;
          border: 1px solid rgba(225,29,72,.22);
          border-radius: 100px;
          font-family: inherit;
          font-size: .78rem;
          font-weight: 500;
          color: #be123c;
          cursor: pointer;
          letter-spacing: -.005em;
          transition: background .2s, border-color .2s, color .2s, transform .2s;
        }
        .sv-chat-followup-chip:hover {
          background: #e11d48;
          border-color: #e11d48;
          color: #fff;
          transform: translateY(-1px);
        }
        .sv-chat-followup-chip:active { transform: translateY(0); }
        .sv-chat-body {
          padding: 20px 16px 16px;
          max-height: 340px;
          overflow-y: auto;
          display: flex; flex-direction: column;
          gap: 10px;
          background: #fff;
          scrollbar-width: thin;
          scrollbar-color: #f0e8eb transparent;
        }
        .sv-chat-body::-webkit-scrollbar { width: 5px; }
        .sv-chat-body::-webkit-scrollbar-thumb { background: #f0e8eb; border-radius: 100px; }
        .sv-chat-body::-webkit-scrollbar-thumb:hover { background: #e5d5db; }

        /* ── MINIMALIST BUBBLES (Linear/Notion AI inspired) ── */
        .sv-chat-bubble {
          max-width: 84%;
          padding: 12px 16px;
          border-radius: 16px;
          font-size: .87rem;
          line-height: 1.55;
          position: relative;
          letter-spacing: -.005em;
        }
        .sv-chat-bubble p { margin: 0; }
        .sv-chat-bubble p strong { font-weight: 600; }
        .sv-chat-bubble p + p { margin-top: 8px; }

        /* Asistentka — clean light s subtle border */
        .sv-chat-bubble--in {
          background: #f8f5f6;
          color: #1a1515;
          align-self: flex-start;
          border: 1px solid rgba(45,36,33,.04);
        }
        .sv-chat-bubble--in a {
          color: #e11d48;
          text-decoration: none;
          font-weight: 500;
          border-bottom: 1px solid rgba(225,29,72,.3);
          transition: border-color .2s;
        }
        .sv-chat-bubble--in a:hover { border-color: #e11d48; }

        /* Uživatel — solid rose, žádný gradient/shadow */
        .sv-chat-bubble--out {
          background: #e11d48;
          color: #fff;
          align-self: flex-end;
        }
        .sv-chat-bubble--out a {
          color: #fff;
          text-decoration: none;
          border-bottom: 1px solid rgba(255,255,255,.5);
        }

        /* Success bar */
        .sv-chat-bubble--success {
          background: transparent;
          color: #15803d;
          align-self: stretch;
          border: 1px dashed rgba(34,197,94,.4);
          border-radius: 10px;
          text-align: center;
          font-weight: 500;
          padding: 9px 14px;
          font-size: .8rem;
        }

        /* Time stamp — schované, minimalistický look */
        .sv-chat-time { display: none; }

        /* Sender label nad první bublinou (volitelné, future) */
        .sv-chat-sender {
          font-size: .68rem;
          font-weight: 600;
          color: #8a7a7c;
          letter-spacing: .04em;
          text-transform: uppercase;
          margin-bottom: -4px;
          padding-left: 4px;
        }
        .sv-chat-form {
          padding: 14px 14px 16px;
          border-top: 1px solid rgba(45,36,33,.06);
          display: flex; flex-direction: column; gap: 10px;
          background: #fff;
        }
        /* Email toggle (sbalený) */
        .sv-chat-email-toggle {
          display: inline-flex; align-items: center; gap: 6px;
          background: transparent;
          border: none;
          padding: 4px 4px;
          font-family: inherit;
          font-size: .75rem;
          color: #5c4f51;
          cursor: pointer;
          border-radius: 8px;
          transition: color .2s;
          align-self: flex-start;
          margin-top: 2px;
        }
        .sv-chat-email-toggle:hover { color: #e11d48; }
        .sv-chat-email-toggle > svg:first-child { color: #e11d48; flex-shrink: 0; }
        .sv-chat-email-chev {
          color: #94a3b8;
          transition: transform .25s cubic-bezier(.22,1,.36,1);
        }
        .sv-chat-email-toggle.is-open .sv-chat-email-chev { transform: rotate(180deg); }

        .sv-chat-email-wrap {
          padding: 6px 0 4px;
          display: flex; flex-direction: column; gap: 5px;
          animation: svChatEmailIn .25s ease;
        }
        .sv-chat-email-wrap[hidden] { display: none; }
        @keyframes svChatEmailIn {
          from { opacity: 0; transform: translateY(-4px); }
          to   { opacity: 1; transform: translateY(0); }
        }
        .sv-chat-email-wrap input[type="email"] {
          padding: 11px 14px;
          font-size: .85rem;
          background: #fafafa;
          border: 1.5px solid #e5e7eb;
          border-radius: 12px;
          font-family: inherit;
          color: #1a1515;
          transition: border-color .2s, background .2s, box-shadow .2s;
        }
        .sv-chat-email-wrap input[type="email"]:focus {
          outline: none;
          border-color: #e11d48;
          background: #fff;
          box-shadow: 0 0 0 3px rgba(225,29,72,.08);
        }
        .sv-chat-email-hint {
          margin: 0; padding: 0 4px;
          font-size: .68rem;
          color: #8a7a7c;
          line-height: 1.35;
        }
        .sv-chat-input-row {
          display: flex; gap: 8px; align-items: flex-end;
        }
        .sv-chat-form textarea {
          flex: 1;
          padding: 12px 18px;
          font-size: .88rem;
          font-family: inherit;
          background: #fafafa;
          border: 1.5px solid #f0e8eb;
          border-radius: 100px;
          resize: none;
          min-height: 44px;
          max-height: 120px;
          color: #1a1515;
          letter-spacing: -.005em;
          transition: border-color .2s, background .2s, box-shadow .2s;
          line-height: 1.4;
        }
        .sv-chat-form textarea:focus {
          outline: none;
          background: #fff;
          border-color: #e11d48;
          box-shadow: 0 0 0 3px rgba(225,29,72,.08);
        }
        .sv-chat-form textarea::placeholder { color: #a8a29e; }

        /* Suggestion chips (zobrazí se na startu) */
        .sv-chat-suggestions {
          display: flex; flex-wrap: wrap; gap: 6px;
          padding: 4px 0 2px;
        }
        .sv-chat-chip {
          padding: 7px 12px;
          font-family: inherit;
          font-size: .76rem; font-weight: 500;
          color: #1a1515;
          background: #fef2f4;
          border: 1px solid rgba(225,29,72,.18);
          border-radius: 100px;
          cursor: pointer;
          transition: background .2s, border-color .2s, transform .2s;
          white-space: nowrap;
        }
        .sv-chat-chip:hover {
          background: #fce7ec;
          border-color: rgba(225,29,72,.35);
          transform: translateY(-1px);
        }
        .sv-chat-suggestions.is-hidden { display: none; }

        /* Footer pod formulářem */
        .sv-chat-foot {
          display: flex; align-items: center; gap: 8px;
          padding: 8px 4px 0;
          margin-top: 4px;
          border-top: 1px solid rgba(45,36,33,.06);
          font-size: .7rem;
          color: #8a7a7c;
        }
        .sv-chat-foot-ai {
          display: inline-flex; align-items: center; gap: 6px;
          color: #5c4f51;
          font-weight: 500;
        }
        .sv-chat-foot-dot {
          width: 6px; height: 6px;
          background: #22c55e;
          border-radius: 50%;
          flex-shrink: 0;
        }
        .sv-chat-foot-sep { color: #cbd5e1; }
        .sv-chat-foot a {
          color: #e11d48;
          text-decoration: none;
          font-weight: 500;
        }
        .sv-chat-foot a:hover { text-decoration: underline; }
        .sv-chat-send {
          width: 44px; height: 44px;
          display: flex; align-items: center; justify-content: center;
          background: #e11d48;
          color: #fff;
          border: none; border-radius: 50%;
          cursor: pointer;
          flex-shrink: 0;
          transition: background .2s, transform .2s, box-shadow .25s;
          box-shadow: 0 6px 16px -4px rgba(225, 29, 72, .55);
        }
        .sv-chat-send:hover {
          background: #be123c;
          transform: scale(1.06);
          box-shadow: 0 10px 24px -4px rgba(225, 29, 72, .65);
        }
        .sv-chat-send:active { transform: scale(.95); }
        .sv-chat-send:disabled { opacity: .55; cursor: wait; transform: none; }

        /* Mobile: chat fullwidth from bottom */
        @media (max-width: 768px) {
          .sv-chat {
            position: fixed;
            bottom: 12px; right: 12px; left: 12px;
            width: auto;
            max-width: 420px;
            margin: 0 auto;
          }
        }
      