.jifi-help-modern {
  --help-ink: #20201f;
  --help-muted: #666661;
  --help-line: #e6e6e1;
  --help-soft: #f5f4f7;
  --help-lavender: #eeebf4;
  color: var(--help-ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.jifi-help-modern .text-slate-950, .jifi-help-modern .text-slate-800, .jifi-help-modern .text-slate-700 { color: var(--help-ink); }
.jifi-help-modern .text-slate-600, .jifi-help-modern .text-slate-500, .jifi-help-modern .text-slate-400 { color: var(--help-muted); }
.jifi-help-modern .border-slate-200, .jifi-help-modern .border-slate-300, .jifi-help-modern .divide-slate-200 > :not(:last-child) { border-color: var(--help-line); }
.jifi-help-modern .bg-slate-50, .jifi-help-modern .bg-slate-100 { background-color: var(--help-soft); }
.jifi-help-modern .bg-slate-950 { background-color: var(--help-ink); }
.jifi-help-modern a:focus-visible, .jifi-help-modern button:focus-visible, .jifi-help-modern summary:focus-visible, .jifi-help-modern input:focus-visible, .jifi-help-modern textarea:focus-visible, .jifi-help-modern select:focus-visible { outline: 2px solid #716097; outline-offset: 3px; }

.jifi-help-modern [data-help-header] { border-bottom: 1px solid var(--help-line); }
.jifi-help-modern [data-help-brand] { display: flex; min-width: 0; align-items: center; gap: 12px; }
.jifi-help-modern [data-help-company-name] { min-width: 0; overflow-wrap: anywhere; font-weight: 500; letter-spacing: -.7px; }
.jifi-help-modern [data-help-label] { margin-left: 2px; color: var(--help-muted); font-size: 13px; font-weight: 400; white-space: nowrap; }
.jifi-help-modern [data-help-content] { padding-top: 64px; padding-bottom: 64px; }
.jifi-help-modern [data-help-welcome] h1 { font-size: clamp(36px, 4vw, 52px); font-weight: 400; letter-spacing: -1.8px; }
.jifi-help-modern [data-help-search] { margin-top: 28px; }
.jifi-help-modern [data-help-search] > div { gap: 12px; border: 1px solid var(--help-line); border-radius: 12px; padding: 8px 10px 8px 18px; background: #fafaf9; }
.jifi-help-modern [data-help-search] input { font-size: 16px; }
.jifi-help-modern [data-help-search] button { min-height: 40px; border-radius: 8px; font-size: 13px; font-weight: 400; }
.jifi-help-modern [data-help-search] svg { width: 20px; height: 20px; }
.jifi-help-modern [data-help-collections] { gap: 20px; }
.jifi-help-modern [data-help-collection] { border: 1px solid var(--help-line); border-radius: 14px; padding: 24px; }
.jifi-help-modern [data-help-collection] h2 { font-size: 19px; font-weight: 500; letter-spacing: -.4px; }
.jifi-help-modern [data-help-collection] [data-help-category-icon] { width: 24px; height: 24px; margin-bottom: 22px; background: transparent; color: var(--help-muted); }
.jifi-help-modern [data-help-collection] > p { font-size: 14px; line-height: 1.7; }
.jifi-help-modern [data-help-collection] ul { margin-top: 20px; }
.jifi-help-modern [data-help-collection] a:hover, .jifi-help-modern [data-help-article-row]:hover { color: var(--help-ink); }
.jifi-help-modern [data-help-article-row]:hover { background: #faf9fc; }
.jifi-help-modern [data-help-content] article h1, .jifi-help-modern [data-help-content] section > h1 { font-weight: 400; letter-spacing: -1px; }
.jifi-help-modern [data-help-content] article h2, .jifi-help-modern [data-help-content] article h3 { font-weight: 500; }
.jifi-help-modern [data-help-footer] { border-top: 1px solid var(--help-line); }

.jifi-help-modern [data-help-dialog] { border-color: var(--help-line); border-radius: 18px; box-shadow: 0 18px 60px #20201f20, 0 2px 8px #20201f0a; }
.jifi-help-modern [data-help-chat-header] { gap: 12px; padding: 16px 18px; }
.jifi-help-modern [data-help-chat-heading] { display: flex; min-width: 0; align-items: center; gap: 10px; }
.jifi-help-modern [data-help-chat-heading] h2 { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.jifi-help-modern [data-help-chat-heading] p { margin-top: 2px; font-size: 12px; color: var(--help-muted); }
.jifi-help-modern [data-help-history] { padding: 16px 18px 20px; }
.jifi-help-modern [data-help-messages] { gap: 20px; }
.jifi-help-modern [data-help-message="customer"] { margin-left: 36px; border-radius: 14px 14px 4px 14px; background: var(--help-lavender); padding: 12px 14px; }
.jifi-help-modern [data-help-message="assistant"], .jifi-help-modern [data-help-message="operator"] { margin-right: 16px; padding: 2px 0; background: transparent; }
.jifi-help-modern [data-help-message="operator"] { border-left: 2px solid var(--help-line); padding-left: 12px; }
.jifi-help-modern [data-help-message] > p:first-child { margin-bottom: 5px; font-size: 11px; font-weight: 400; color: var(--help-muted); }
.jifi-help-modern [data-help-welcome-message] { padding: 16px; border-radius: 12px; background: #f7f6f9; }
.jifi-help-modern [data-help-composer] { padding: 14px 18px 16px; border-top-color: var(--help-line); }
.jifi-help-modern [data-help-composer-field] { align-items: flex-end; gap: 4px; padding: 5px; border: 1px solid var(--help-line); border-radius: 25px; background: #fafaf9; }
.jifi-help-modern [data-help-composer-field]:focus-within { border-color: #716097; box-shadow: 0 0 0 1px #716097; }
.jifi-help-modern [data-help-composer-field] label { gap: 0; }
.jifi-help-modern [data-help-composer-field] textarea { border: 0; padding: 11px 10px; background: transparent; box-shadow: none; border-radius: 18px; }
.jifi-help-modern [data-help-composer-field] textarea:focus-visible { outline: none; }
.jifi-help-modern [data-help-composer-field] button { width: 40px; height: 40px; border: 0; border-radius: 50%; }
.jifi-help-modern [data-help-composer-field] button[aria-label="Add screenshot"] { background: transparent; color: var(--help-muted); }
.jifi-help-modern [data-help-composer-field] button[aria-label="Add screenshot"]:hover { background: var(--help-lavender); }
.jifi-help-modern [data-help-disclosure] { text-align: center; font-size: 12px; line-height: 1.5; }
.jifi-help-modern [data-help-article-link] { border-color: var(--help-line); background: #f6f5f8; color: var(--help-ink); font-weight: 400; }
.jifi-help-modern [data-help-launcher] { font-weight: 500; }

@media (max-width: 639px) {
  .jifi-help-modern [data-help-content] { padding-top: 36px; }
  .jifi-help-modern [data-help-label] { display: none; }
  .jifi-help-modern [data-help-collection] { padding: 22px; }
  .jifi-help-modern [data-help-dialog] { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .jifi-help-modern [data-help-chat-header], .jifi-help-modern [data-help-history], .jifi-help-modern [data-help-composer] { padding-left: 14px; padding-right: 14px; }
}
