.trix-content {
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word; }
  .trix-content * {
    box-sizing: border-box;
    margin: 0;
    padding: 0; }
  .trix-content h1 {
    font-size: 1.2em;
    line-height: 1.2; }
  .trix-content blockquote {
    border: 0 solid #ccc;
    border-left-width: 0.3em;
    margin-left: 0.3em;
    padding-left: 0.6em; }
  .trix-content [dir=rtl] blockquote,
  .trix-content blockquote[dir=rtl] {
    border-width: 0;
    border-right-width: 0.3em;
    margin-right: 0.3em;
    padding-right: 0.6em; }
  .trix-content li {
    margin-left: 1em; }
  .trix-content [dir=rtl] li {
    margin-right: 1em; }
  .trix-content pre {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    font-family: monospace;
    font-size: 0.9em;
    padding: 0.5em;
    white-space: pre;
    background-color: #eee;
    overflow-x: auto; }
  .trix-content img {
    max-width: 100%;
    height: auto; }
  .trix-content .attachment {
    display: inline-block;
    position: relative;
    max-width: 100%; }
    .trix-content .attachment a {
      color: inherit;
      text-decoration: none; }
      .trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
        color: inherit; }
  .trix-content .attachment__caption {
    text-align: center; }
    .trix-content .attachment__caption .attachment__name + .attachment__size::before {
      content: ' \2022 '; }
  .trix-content .attachment--preview {
    width: 100%;
    text-align: center; }
    .trix-content .attachment--preview .attachment__caption {
      color: #666;
      font-size: 0.9em;
      line-height: 1.2; }
  .trix-content .attachment--file {
    color: #333;
    line-height: 1;
    margin: 0 2px 2px 2px;
    padding: 0.4em 1em;
    border: 1px solid #bbb;
    border-radius: 5px; }
  .trix-content .attachment-gallery {
    display: flex;
    flex-wrap: wrap;
    position: relative; }
    .trix-content .attachment-gallery .attachment {
      flex: 1 0 33%;
      padding: 0 0.5em;
      max-width: 33%; }
    .trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
      flex-basis: 50%;
      max-width: 50%; }

.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

.trix-content ul {
  list-style-type: disc !important;
  margin-left: 1rem !important;
  padding-left: 1rem !important;
  list-style-position: outside !important;
}

.trix-content ol {
  list-style-type: decimal !important;
  margin-left: 1rem !important;
  padding-left: 1rem !important;
  list-style-position: outside !important;
}

.trix-content li {
  margin-bottom: 0.25rem !important;
  display: list-item !important;
}

lexxy-editor .lexxy-editor__content ul {
  list-style-type: disc !important;
  margin-left: 1rem !important;
  padding-left: 1rem !important;
  list-style-position: outside !important;
}

lexxy-editor .lexxy-editor__content ol {
  list-style-type: decimal !important;
  margin-left: 1rem !important;
  padding-left: 1rem !important;
  list-style-position: outside !important;
}

lexxy-editor .lexxy-editor__content li {
  margin-bottom: 0.25rem !important;
  display: list-item !important;
}

lexxy-editor .lexxy-editor__content[contenteditable] ul,
lexxy-editor .lexxy-editor__content[contenteditable] ol {
  list-style: revert !important;
  margin: revert !important;
  padding: revert !important;
}

lexxy-editor .lexxy-editor__content[contenteditable] ul {
  list-style-type: disc !important;
}

lexxy-editor .lexxy-editor__content[contenteditable] ol {
  list-style-type: decimal !important;
}

lexxy-editor .lexxy-editor__content[contenteditable] li {
  display: list-item !important;
  margin-left: 0 !important;
}

.lexxy-prompt-menu__item {
  padding: 6px 12px;
}

.lexxy-prompt-menu__item-name {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.smart-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  margin: 0 0.125rem;
  background-color: #e0e7ff;
  color: #4338ca;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

action-text-attachment[content-type="application/vnd.micepad.smart-tag"] {
  display: inline;
}

.email-section-editor lexxy-editor,
lexxy-editor.confirmation-email-editor,
lexxy-editor.notification-email-editor,
lexxy-editor[preset="email"] {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content,
lexxy-editor.notification-email-editor .lexxy-editor__content,
lexxy-editor[preset="email"] .lexxy-editor__content,
lexxy-editor.confirmation-email-editor .lexxy-editor__content p,
lexxy-editor.notification-email-editor .lexxy-editor__content p,
lexxy-editor[preset="email"] .lexxy-editor__content p,
lexxy-editor.confirmation-email-editor .lexxy-editor__content li,
lexxy-editor.notification-email-editor .lexxy-editor__content li,
lexxy-editor[preset="email"] .lexxy-editor__content li,
lexxy-editor.confirmation-email-editor .lexxy-editor__content div:not([class]),
lexxy-editor.notification-email-editor .lexxy-editor__content div:not([class]),
lexxy-editor[preset="email"] .lexxy-editor__content div:not([class]) {
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content p,
lexxy-editor.notification-email-editor .lexxy-editor__content p {
  margin: 0 0 1rem 0;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content h1,
lexxy-editor.notification-email-editor .lexxy-editor__content h1,
lexxy-editor[preset="email"] .lexxy-editor__content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content h2,
lexxy-editor.notification-email-editor .lexxy-editor__content h2,
lexxy-editor[preset="email"] .lexxy-editor__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content h3,
lexxy-editor.notification-email-editor .lexxy-editor__content h3,
lexxy-editor[preset="email"] .lexxy-editor__content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content h4,
lexxy-editor.notification-email-editor .lexxy-editor__content h4,
lexxy-editor[preset="email"] .lexxy-editor__content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content ul,
lexxy-editor.confirmation-email-editor .lexxy-editor__content ol,
lexxy-editor.notification-email-editor .lexxy-editor__content ul,
lexxy-editor.notification-email-editor .lexxy-editor__content ol,
lexxy-editor[preset="email"] .lexxy-editor__content ul,
lexxy-editor[preset="email"] .lexxy-editor__content ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5em;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content li,
lexxy-editor.notification-email-editor .lexxy-editor__content li,
lexxy-editor[preset="email"] .lexxy-editor__content li {
  margin-bottom: 0.25em;
}

.email-section-editor lexxy-editor .lexxy-editor__content {
  height: 320px;
  min-height: 160px;
  resize: vertical;
  overflow: auto;
}

.email-section-editor lexxy-editor strong {
  font-weight: 600 !important;
}

lexxy-editor[preset="email"],
lexxy-editor.confirmation-email-editor,
lexxy-editor.notification-email-editor {
  --highlight-bg-1: #f7f5b4;
  --highlight-bg-2: #ffeacd;
  --highlight-bg-3: #ffd6d6;
  --highlight-bg-4: #fddcf3;
  --highlight-bg-5: #ece4ff;
  --highlight-bg-6: #d8ecfe;
  --highlight-bg-7: #ddffd9;
  --highlight-bg-8: #f5e6d7;
  --highlight-bg-9: #efefef;
}

lexxy-editor[preset="email"] .lexxy-editor__content {
  box-sizing: border-box;
  width: 600px;
  max-width: 100%;
  padding: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

lexxy-editor[preset="email"] .lexxy-editor__content p {
  margin: 0;
  white-space: pre-wrap;
}

lexxy-editor[preset="email"] .lexxy-editor__content strong,
lexxy-editor[preset="email"] .lexxy-editor__content b {
  font-weight: 800 !important;
}

lexxy-editor[preset="email"] .lexxy-editor__content ul,
lexxy-editor[preset="email"] .lexxy-editor__content ol {
  padding-left: 32px;
  margin: 0 0 1em;
}

lexxy-editor[preset="email"] .lexxy-editor__content table {
  margin: 7px 0;
}

lexxy-editor .lexxy-editor__content .email-text-small,
lexxy-editor .lexxy-editor__content span[style*="font-size: 12px"],
.lexxy-content .email-text-small {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

lexxy-editor .lexxy-editor__content u,
lexxy-editor .lexxy-editor__content .lexxy-content__underline {
  text-decoration: underline !important;
}

lexxy-editor .lexxy-editor__content s,
lexxy-editor .lexxy-editor__content .lexxy-content__strikethrough {
  text-decoration: line-through !important;
}

lexxy-editor .lexxy-editor__content .lexxy-content__underline.lexxy-content__strikethrough {
  text-decoration: underline line-through !important;
}

lexxy-editor .attachment--preview .attachment__caption,
.lexxy-content .attachment--preview .attachment__caption {
  display: none !important;
}

.email-section-editor lexxy-editor lexxy-toolbar button[name="divider"] {
  display: none !important;
}

.lexxy-link-target {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: #374151;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
}

.lexxy-link-target__checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary-600);
}

lexxy-editor lexxy-toolbar {
  --lexxy-toolbar-button-size: 30px;
  --lexxy-toolbar-icon-size: 1em;
}

lexxy-editor lexxy-toolbar.form-editor-toolbar {
  --lexxy-toolbar-button-size: 32px;
  --lexxy-toolbar-icon-size: 16px;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  background: #f9fafb;
}

.form-editor-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.form-editor-toolbar__row + .form-editor-toolbar__row {
  border-top: 1px solid #e5e7eb;
  padding-top: 6px;
}

.form-editor-toolbar__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.form-editor-toolbar__group:not(:last-child) {
  border-inline-end: 1px solid #d1d5db;
  padding-inline-end: 6px;
}

.form-editor-toolbar__group > button,
.form-editor-toolbar__group > .lexxy-editor__toolbar-dropdown {
  flex: 0 0 auto;
}

.form-editor-toolbar__group > button,
.form-editor-toolbar__group > .lexxy-editor__toolbar-dropdown > button {
  min-inline-size: var(--lexxy-toolbar-button-size);
  white-space: nowrap;
  cursor: pointer;
}

.form-editor-toolbar__group > button:hover,
.form-editor-toolbar__group > .lexxy-editor__toolbar-dropdown > button:hover {
  background-color: #e5e7eb;
}

.form-editor-toolbar .lexxy-editor__toolbar-button--chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 8px;
}

.form-editor-toolbar .lexxy-editor__toolbar-button--chevron::after {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-width: 0 1.5px 1.5px 0;
  background: none;
  pointer-events: none;
}

.form-editor-toolbar .lexxy-editor__toolbar-button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.form-editor-toolbar .lexxy-editor__toolbar-dropdown--highlight {
  position: static;
}

.form-editor-toolbar .lexxy-editor__toolbar-dropdown--highlight > [data-dropdown-panel] {
  inset-inline: auto 6px;
  inline-size: 320px;
  max-inline-size: calc(100% - 12px);
}

@container (width < 600px) {
  .form-editor-toolbar .lexxy-editor__toolbar-dropdown > [data-dropdown-panel] {
    inset-inline: 6px auto;
    min-inline-size: 0;
    max-inline-size: calc(100% - 12px);
  }

  .form-editor-toolbar .lexxy-editor__toolbar-dropdown--link > [data-dropdown-panel] {
    flex-wrap: wrap;
  }

  .form-editor-toolbar .lexxy-editor__toolbar-dropdown--link > [data-dropdown-panel] > input[type="url"] {
    min-inline-size: 100%;
  }
}

@media (pointer: coarse) {
  lexxy-editor lexxy-toolbar.form-editor-toolbar {
    --lexxy-toolbar-button-size: 44px;
  }
}

lexxy-editor lexxy-toolbar svg {
  max-width: 2em;
  max-height: 2em;
}

.email-section-editor lexxy-editor lexxy-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
}

body:has(.html-insert-dialog[open]) {
  overflow: hidden;
}

.html-insert-dialog {
  box-sizing: border-box;
  width: min(48rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  color: #111827;
  box-shadow: 0 24px 64px rgb(15 23 42 / 25%);
  text-align: left;
}

.html-insert-dialog[open] {
  display: flex;
  flex-direction: column;
}

.html-insert-dialog::backdrop {
  background: rgb(15 23 42 / 45%);
}

.html-insert-dialog__header {
  flex-shrink: 0;
  padding: 1.25rem;
}

.html-insert-dialog__title {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 600;
}

.html-insert-dialog__body {
  display: grid;
  min-height: 0;
  gap: 0.625rem;
  padding: 0 1.25rem 1.25rem;
  overflow-y: auto;
}

.html-insert-dialog__label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.html-insert-dialog__hint {
  margin: 0;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

.html-insert-code-editor {
  position: relative;
  min-width: 0;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0f172a;
}

.html-insert-code-editor:focus-within {
  border-color: #2563eb;
  outline: 3px solid rgb(37 99 235 / 20%);
  outline-offset: 1px;
}

.html-insert-code-editor:has([aria-invalid="true"]) {
  border-color: #dc2626;
  outline-color: rgb(220 38 38 / 20%);
}

.html-insert-code-highlight,
.html-insert-dialog__textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 1rem;
  border: 0;
  border-radius: 0;
  overflow: auto;
  scrollbar-gutter: stable;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5rem;
  letter-spacing: normal;
  tab-size: 2;
  text-align: left;
  direction: ltr;
}

.html-insert-code-highlight {
  position: absolute;
  inset: 0;
  height: 100%;
  pointer-events: none;
  color: #e2e8f0;
}

.html-insert-dialog__textarea {
  position: relative;
  height: clamp(12rem, 42dvh, 24rem);
  min-height: 10rem;
  max-height: 55dvh;
  resize: vertical;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: transparent;
  caret-color: #f8fafc;
  -webkit-text-fill-color: transparent;
}

.html-insert-dialog__textarea::placeholder {
  color: #94a3b8;
  -webkit-text-fill-color: #94a3b8;
  opacity: 1;
}

.html-insert-dialog__textarea::selection {
  background: rgb(59 130 246 / 40%);
}

.html-token--tag { color: #7dd3fc; }
.html-token--attribute { color: #fbbf24; }
.html-token--string { color: #86efac; }
.html-token--comment { color: #94a3b8; }
.html-token--punctuation { color: #94a3b8; }

.html-insert-dialog__error {
  margin: 0;
  color: #dc2626;
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

.html-insert-dialog__footer {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.html-insert-dialog__shortcut {
  color: #64748b;
  font-size: 0.75rem;
}

.html-insert-dialog__shortcut kbd {
  font: inherit;
}

.html-insert-dialog__actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.html-insert-dialog__actions button {
  min-height: 2.5rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  cursor: pointer;
}

.html-insert-dialog__actions .html-insert-dialog__cancel {
  border-color: #cbd5e1;
  background: #fff;
  color: #334155;
}

.html-insert-dialog__cancel:hover {
  background: #f1f5f9;
}

.html-insert-dialog__submit {
  background: var(--color-primary-700, #1d4ed8);
  color: #fff;
}

.html-insert-dialog__submit:hover {
  background: var(--color-primary-800, #1e40af);
}

.html-insert-dialog__actions button:focus-visible {
  outline: 2px solid var(--color-primary-500, #3b82f6);
  outline-offset: 2px;
}

@media (forced-colors: active) {
  .html-insert-code-highlight {
    display: none;
  }

  .html-insert-dialog__textarea {
    background: Field;
    color: FieldText;
    caret-color: FieldText;
    -webkit-text-fill-color: FieldText;
  }
}

lexxy-editor action-text-attachment[content-type="text/html"] {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0.5rem 0;
  overflow-x: auto;
  white-space: normal;
  text-align: inherit;
  position: relative;
}

lexxy-editor:is([preset="email"], .confirmation-email-editor, .notification-email-editor) action-text-attachment[content-type="text/html"] {
  max-width: 600px;
  margin-inline: auto;
}

lexxy-editor action-text-attachment[content-type="text/html"] > figure {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.lexxy-content figure.attachment--content {
  border-radius: 0;
  inline-size: 100%;
  padding: 0;
  text-align: inherit;
}

lexxy-editor action-text-attachment[content-type="text/html"] img,
.lexxy-content figure.attachment--content img {
  display: inline-block;
  margin-inline: 0;
}

.lexxy-content iframe {
  max-width: 100%;
}

lexxy-editor action-text-attachment[content-type="text/html"] iframe {
  max-width: 100%;
  border: 0;
  pointer-events: none;
}

.html-block__edit-control {
  align-items: center;
  background: #111827;
  border-radius: 0.375rem;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.6875rem;
  font-weight: 600;
  gap: 0.25rem;
  inset-block-start: 0.5rem;
  inset-inline-end: 0.5rem;
  line-height: 1;
  opacity: 0;
  padding: 0.3125rem 0.5rem;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.15s ease-out;
  white-space: nowrap;
  z-index: 3;
}

lexxy-editor action-text-attachment[content-type="text/html"]:is(:hover, :focus-within) > .html-block__edit-control {
  opacity: 1;
  pointer-events: auto;
}

lexxy-editor action-text-attachment[content-type="text/html"] > .html-block__edit-control:hover {
  background: #374151;
}

.html-block__edit-control:focus-visible {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
}

.html-block__edit-control svg {
  block-size: 0.875rem;
  inline-size: 0.875rem;
}

lexxy-editor action-text-attachment[content-type="text/html"] table:not([class*="email-html-style-"]) {
  width: auto !important;
  max-width: 100%;
  margin: 12px auto 0 !important;
}

lexxy-editor action-text-attachment[content-type="text/html"] td:not([class*="email-html-style-"]),
lexxy-editor action-text-attachment[content-type="text/html"] th:not([class*="email-html-style-"]) {
  border: 0 !important;
  padding: 0 8px !important;
}

lexxy-editor:is([preset="email"], .confirmation-email-editor, .notification-email-editor):has(> lexxy-toolbar):has(.lexxy-editor__content table) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: max-content 40px auto;

  > lexxy-toolbar {
    grid-area: 1 / 1;
    z-index: 40;
  }

  > .lexxy-editor__content {
    grid-area: 3 / 1;
  }

  > lexxy-table-tools,
  > .lexxy-table-selection-menu {
    grid-area: 2 / 1;
    position: relative;
    inset: auto !important;
    transform: none;
    align-self: center;
    justify-self: start;
    margin-inline: 4px;
    font-size: 12px;
    --button-size: 26px;
  }
}

lexxy-editor lexxy-table-tools {
  z-index: 20;
}

lexxy-editor:has(lexxy-toolbar [data-dropdown-panel]:not([hidden])) :is(
  lexxy-table-tools, .lexxy-table-resize-handles, .lexxy-table-selection-menu
),
lexxy-editor:not(:focus-within):not(:has(lexxy-table-tools details[open])) lexxy-table-tools,
lexxy-editor:not(:focus-within) :is(
  .lexxy-table-resize-handles, .lexxy-table-selection-menu
),
lexxy-editor:has(lexxy-table-tools details[open]) .lexxy-table-resize-handles,
lexxy-editor:has(.lexxy-content__table-cell--selected) .lexxy-table-resize-handles {
  visibility: hidden;
}

.event-site-about-editor lexxy-editor {
  font-size: 0.875rem;
  line-height: 1.5;
}

.event-site-about-editor lexxy-editor lexxy-toolbar {
  --lexxy-toolbar-button-size: 26px;
  --lexxy-toolbar-icon-size: 0.875em;
  align-items: center;
  gap: 0;
  min-height: 34px;
  padding: 3px 4px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.event-site-about-editor lexxy-editor lexxy-toolbar [name="divider"],
.event-site-about-editor lexxy-editor lexxy-toolbar [name="table"],
.event-site-about-editor lexxy-editor lexxy-toolbar [name="upload"],
.event-site-about-editor lexxy-editor lexxy-toolbar .lexxy-editor__toolbar-spacer,
.event-site-about-editor lexxy-editor lexxy-toolbar .lexxy-editor__toolbar-overflow {
  display: none !important;
}

.event-site-about-editor lexxy-editor .lexxy-editor__content {
  min-height: 132px;
  padding: 0.75rem;
}

.event-site-about-modal lexxy-editor .lexxy-editor__content {
  height: clamp(200px, calc(85vh - 230px), 520px);
  overflow-y: auto;
}

.personalise-button {
  aspect-ratio: auto !important;
  inline-size: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding-inline: 6px !important;
  color: #1c64f2 !important;
  font-weight: 500 !important;
}

.personalise-button__label {
  font-size: 12px;
  white-space: nowrap;
}

.personalise-dropdown {
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-height: 360px;
  padding: 4px 0;
}

.personalise-dropdown__search {
  position: sticky;
  top: 0;
  margin: 4px 8px 4px;
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  background: #fff;
  z-index: 1;
  box-sizing: border-box;
  width: calc(100% - 16px);
}

.personalise-dropdown__search:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px #6366f1;
}

.personalise-dropdown__tag-list {
  overflow-y: auto;
  flex: 1;
}

.personalise-dropdown__group {
  padding: 2px 0;
}

.personalise-dropdown__group-label {
  padding: 6px 12px 2px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.personalise-dropdown__item {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 6px 12px;
  text-align: left;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 13px;
  line-height: 1.3;
}

.personalise-dropdown__item:hover,
.personalise-dropdown__item--active {
  background-color: #eef2ff !important;
  border-radius: 6px;
}

.personalise-dropdown__tag-name {
  font-weight: 500;
  color: #374151;
}

.personalise-dropdown__tag-desc {
  font-size: 11px;
  color: #9ca3af;
}

.personalise-dropdown__loading,
.personalise-dropdown__empty {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

lexxy-editor .lexxy-content__table-cell--selected {
  --lexxy-color-table-cell-selected-bg: transparent;
}

lexxy-editor .lexxy-editor__content .lexxy-content__table-cell--selected::after {
  background: rgb(59 130 246 / 0.12);
  box-shadow: none;
}

lexxy-editor .lexxy-content__table-cell--selected .lexxy-content__table-cell--selected::after {
  background: none;
}

lexxy-editor table.lexxy-content__table--selection:not(
  :has(:is(td, th):not(.lexxy-content__table-cell--selected)),
  .lexxy-content__table-cell--selected table
) {
  outline: 1px solid var(--lexxy-color-table-cell-selected-border);
  outline-offset: -1px;
}

lexxy-editor .lexxy-content__table-cell--focus:not(.lexxy-content__table-cell--selected, .lexxy-content__table-cell--highlight)::after {
  box-shadow: inset 0 0 0 1px var(--lexxy-color-table-cell-selected-border);
}

.lexxy-table-resize-handles {
  position: absolute;
  inset: 0;
  z-index: 18;
  overflow: hidden;
  pointer-events: none;
}

.lexxy-table-resize-handle {
  position: absolute;
  pointer-events: auto;
  touch-action: none;
}

.lexxy-table-resize-handle::after {
  position: absolute;
  content: "";
  background: transparent;
  transition: background-color 120ms ease;
}

.lexxy-table-resize-handle:hover::after,
body.lexxy-table-resizing .lexxy-table-resize-handle::after {
  background: #3b82f6;
}

.lexxy-table-resize-handle--column {
  width: 5px;
  margin-left: -2px;
  cursor: col-resize;
  z-index: 1;
}

.lexxy-table-resize-handle--column::after {
  top: 0;
  bottom: 0;
  left: 2px;
  width: 1px;
}

.lexxy-table-resize-handle--row {
  height: 5px;
  margin-top: -2px;
  cursor: row-resize;
}

.lexxy-table-resize-handle--row::after {
  top: 2px;
  right: 0;
  left: 0;
  height: 1px;
}

body.lexxy-table-resizing {
  user-select: none;
}

body.lexxy-table-resizing--column,
body.lexxy-table-resizing--column * {
  cursor: col-resize !important;
}

body.lexxy-table-resizing--row,
body.lexxy-table-resizing--row * {
  cursor: row-resize !important;
}

.lexxy-table-selection-menu {
  position: absolute;
  z-index: 30;
  transform: translate(-50%, calc(-100% - 8px));
}

.lexxy-table-selection-menu[hidden] {
  display: none;
}

.lexxy-table-selection-menu button {
  border: 0;
  border-radius: 0.5rem;
  background: #171717;
  padding: 0.5rem 0.75rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.2);
  cursor: pointer;
}

lexxy-editor .lexxy-table-selection-menu button:is(:hover, :focus-visible) {
  background: #262626;
  color: #fff;
}

.table-style-dropdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  max-height: min(32rem, calc(100dvh - 8rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px !important;
  font-size: 13px;
  color: #374151;
}

.table-style-dropdown__section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.table-style-dropdown__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b8c2d4;
}

.table-style-dropdown__row {
  display: flex;
  gap: 4px;
}

.table-style-dropdown__toggle {
  padding: 3px 10px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  background: #f3f4f6 !important;
  cursor: pointer;
}

.table-style-dropdown__toggle.active {
  color: #fff !important;
  background: #3b82f6 !important;
}

.table-style-dropdown__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.table-style-dropdown__color-swatch {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  aspect-ratio: 1 !important;
  border-radius: 4px !important;
  border: 1.5px solid #e5e7eb !important;
  cursor: pointer;
  padding: 0 !important;
}

.table-style-dropdown__color-swatch:hover {
  opacity: 0.8 !important;
}

.table-style-dropdown__color-swatch.active {
  outline: 2px solid #3b82f6;
  outline-offset: 1px;
}

.table-style-dropdown__color-none {
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #9ca3af;
  background: #fff !important;
}

.table-style-dropdown__size-row {
  display: grid;
  grid-template-columns: minmax(82px, 1fr) 72px 18px;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: #d1d5db;
  font-weight: 600;
}

.table-style-dropdown__size-row + .table-style-dropdown__size-row {
  margin-top: 6px;
}

.table-style-dropdown__size-row input {
  width: 72px;
  min-height: 28px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 12px;
}

.table-style-dropdown__size-row input:focus {
  border-color: #3b82f6;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px rgb(59 130 246 / 0.18);
}

.table-style-dropdown__reset-size {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d1d5db !important;
  border-radius: 4px !important;
  background: #fff !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  color: #374151 !important;
  text-align: center;
}

.table-style-dropdown__reset-size:hover {
  background: #f9fafb !important;
}

.lexxy-content .lexxy-content__table-wrapper,
lexxy-editor .lexxy-content__table-wrapper {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: 0;
}

.lexxy-content .lexxy-content__table-wrapper {
  overflow-x: hidden;
}

lexxy-editor .lexxy-content__table-wrapper {
  overflow-x: auto;
}

.lexxy-content .lexxy-content__table-wrapper > table,
lexxy-editor .lexxy-content__table-wrapper > table {
  margin: 0;
  max-width: 100%;
}

lexxy-editor table:not(.table-bordered) th,
lexxy-editor table:not(.table-bordered) td {
  border: none !important;
}

.lexxy-content table:not(.table-bordered) th,
.lexxy-content table:not(.table-bordered) td {
  border: none;
}

lexxy-editor table.table-bordered,
.lexxy-content table.table-bordered {
  border: 1px solid #d1d5db;
}

lexxy-editor table.table-bordered th,
lexxy-editor table.table-bordered td,
.lexxy-content table.table-bordered th,
.lexxy-content table.table-bordered td {
  border: 1px solid #d1d5db;
}

lexxy-editor table.table-border-gray th,
lexxy-editor table.table-border-gray td,
.lexxy-content table.table-border-gray th,
.lexxy-content table.table-border-gray td { border-color: #d1d5db; }

lexxy-editor table.table-border-dark th,
lexxy-editor table.table-border-dark td,
.lexxy-content table.table-border-dark th,
.lexxy-content table.table-border-dark td { border-color: #6b7280; }

lexxy-editor table.table-border-black th,
lexxy-editor table.table-border-black td,
.lexxy-content table.table-border-black th,
.lexxy-content table.table-border-black td { border-color: #111827; }

lexxy-editor table.table-border-blue th,
lexxy-editor table.table-border-blue td,
.lexxy-content table.table-border-blue th,
.lexxy-content table.table-border-blue td { border-color: #3b82f6; }

lexxy-editor table.table-border-red th,
lexxy-editor table.table-border-red td,
.lexxy-content table.table-border-red th,
.lexxy-content table.table-border-red td { border-color: #ef4444; }

lexxy-editor table.table-border-green th,
lexxy-editor table.table-border-green td,
.lexxy-content table.table-border-green th,
.lexxy-content table.table-border-green td { border-color: #22c55e; }

lexxy-editor table td,
lexxy-editor table th {
  height: inherit;
}

lexxy-editor.confirmation-email-editor .lexxy-editor__content table td p,
lexxy-editor.confirmation-email-editor .lexxy-editor__content table th p,
lexxy-editor.notification-email-editor .lexxy-editor__content table td p,
lexxy-editor.notification-email-editor .lexxy-editor__content table th p,
lexxy-editor[preset="email"] .lexxy-editor__content table td p,
lexxy-editor[preset="email"] .lexxy-editor__content table th p {
  margin: 0 !important;
}

.text-align-dropdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px !important;
  min-width: 120px;
}

.text-align-dropdown__item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}

.text-align-dropdown__item span {
  pointer-events: none;
}

.text-align-dropdown__item--active {
  background-color: #e0e7ff;
  color: #4338ca;
}

.text-style-dropdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px !important;
  width: 170px;
  min-width: 170px;
}

.font-family-dropdown {
  width: 200px;
  min-width: 200px;
}

.text-style-dropdown__custom {
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
  padding: 2px 8px 6px;
}

.text-style-dropdown__custom-label,
.text-style-dropdown__custom-unit {
  color: #6b7280;
  font-size: 12px;
}

.text-style-dropdown__custom-input {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  color: #374151;
  font-size: 13px;
  line-height: 1.2;
  padding: 3px 6px;
  width: 56px;
}

.text-style-dropdown__custom-input:focus {
  border-color: #6366f1;
  outline: 2px solid #a5b4fc;
  outline-offset: -1px;
}

.form-editor-toolbar .text-style-button {
  aspect-ratio: auto;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  justify-content: space-between;
}

.form-editor-toolbar .text-style-button[name="font-family"] {
  inline-size: 116px;
}

.form-editor-toolbar .text-style-button[name="font-size"] {
  inline-size: 76px;
}

.text-style-trigger {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.font-size-summary-label {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  min-width: 18px;
  font-weight: 600;
  line-height: 1;
}

.font-size-summary-label span:first-child {
  font-size: 15px;
}

.font-size-summary-label span:last-child {
  font-size: 10px;
}

.text-style-dropdown__item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.text-style-dropdown__item span {
  pointer-events: none;
}

.text-style-dropdown__preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  font-weight: 600;
  color: #374151;
}

.text-style-dropdown__item--active {
  background-color: #e0e7ff;
  color: #4338ca;
}

.text-style-dropdown__item--active .text-style-dropdown__preview {
  color: #4338ca;
}

lexxy-editor .lexxy-youtube-embed {
  display: block;
  margin: 0.75rem 0;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
  position: relative;
}

lexxy-editor .lexxy-youtube-embed a {
  color: inherit;
  text-decoration: none;
}

lexxy-editor .lexxy-youtube-embed::before {
  content: "▶";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #dc2626;
}

.lexxy-content .lexxy-youtube-embed {
  margin: 1rem 0;
}

.lexxy-content .lexxy-youtube-embed__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #000;
}

.lexxy-content .lexxy-youtube-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lexxy-content strong,
.lexxy-content b {
  font-weight: 600;
  color: inherit;
}

.lexxy-content .lexxy-content__underline {
  text-decoration: underline;
}

.lexxy-content .lexxy-content__strikethrough {
  text-decoration: line-through;
}

.lexxy-content .lexxy-content__strikethrough.lexxy-content__underline {
  text-decoration: line-through underline;
}

lexxy-editor.comment-editor {
  box-sizing: border-box;
  display: block !important;
  width: 100%;
  overflow: visible;
  line-height: 1.5;
}

lexxy-editor.comment-editor lexxy-toolbar {
  --lexxy-toolbar-button-size: 28px;
  --lexxy-toolbar-icon-size: 0.875em;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.375rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

lexxy-editor.comment-editor lexxy-toolbar button.lexxy-editor__toolbar-button,
lexxy-editor.comment-editor lexxy-toolbar summary.lexxy-editor__toolbar-button {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  inline-size: var(--lexxy-toolbar-button-size, 28px);
  block-size: var(--lexxy-toolbar-button-size, 28px);
  min-width: var(--lexxy-toolbar-button-size, 28px);
  min-height: var(--lexxy-toolbar-button-size, 28px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  list-style: none;
}

lexxy-editor.comment-editor lexxy-toolbar summary.lexxy-editor__toolbar-button::-webkit-details-marker {
  display: none;
}

lexxy-editor.comment-editor lexxy-toolbar .lexxy-editor__toolbar-button:hover {
  background: #eef2ff;
}

lexxy-editor.comment-editor lexxy-toolbar .lexxy-editor__toolbar-button svg {
  width: var(--lexxy-toolbar-icon-size, 0.875rem);
  height: var(--lexxy-toolbar-icon-size, 0.875rem);
  max-width: var(--lexxy-toolbar-icon-size, 0.875rem);
  max-height: var(--lexxy-toolbar-icon-size, 0.875rem);
}

lexxy-editor.comment-editor lexxy-toolbar details.lexxy-editor__toolbar-dropdown {
  display: inline-flex !important;
  position: relative;
  margin: 0;
}

lexxy-editor.comment-editor lexxy-toolbar details.lexxy-editor__toolbar-dropdown:not([open]) > .lexxy-editor__toolbar-dropdown-content {
  display: none !important;
}

lexxy-editor.comment-editor lexxy-toolbar details.lexxy-editor__toolbar-dropdown[open] > .lexxy-editor__toolbar-dropdown-content {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 30;
}

lexxy-editor.comment-editor .lexxy-editor__content {
  box-sizing: border-box;
  min-height: 7rem;
  padding: 0.75rem;
  outline: none;
}

lexxy-editor.comment-editor lexxy-toolbar [name="heading"],
lexxy-editor.comment-editor lexxy-toolbar lexxy-toolbar-dropdown:has(> [name="format"]),
lexxy-editor.comment-editor lexxy-toolbar [name="quote"],
lexxy-editor.comment-editor lexxy-toolbar [name="table"],
lexxy-editor.comment-editor lexxy-toolbar [name="divider"],
lexxy-editor.comment-editor lexxy-toolbar [name="highlight"],
lexxy-editor.comment-editor lexxy-toolbar [name="strikethrough"],
lexxy-editor.comment-editor lexxy-toolbar details:has([name="highlight"]),
lexxy-editor.comment-editor lexxy-toolbar lexxy-highlight-dropdown,
lexxy-editor.comment-editor lexxy-toolbar .lexxy-editor__toolbar-spacer,
lexxy-editor.comment-editor lexxy-toolbar .lexxy-editor__toolbar-overflow {
  display: none !important;
}

lexxy-editor.comment-editor lexxy-toolbar button.lexxy-editor__toolbar-button[name="heading"],
lexxy-editor.comment-editor lexxy-toolbar button.lexxy-editor__toolbar-button[name="strikethrough"],
lexxy-editor.comment-editor lexxy-toolbar button.lexxy-editor__toolbar-button[name="divider"],
lexxy-editor.comment-editor lexxy-toolbar summary.lexxy-editor__toolbar-button[name="heading"],
lexxy-editor.comment-editor lexxy-toolbar summary.lexxy-editor__toolbar-button[name="strikethrough"],
lexxy-editor.comment-editor lexxy-toolbar summary.lexxy-editor__toolbar-button[name="divider"],
lexxy-editor.comment-editor lexxy-toolbar details:has(> summary.lexxy-editor__toolbar-button[name="highlight"]) {
  display: none !important;
}

lexxy-editor.comment-editor lexxy-toolbar details:has(> summary[aria-label="Show more toolbar buttons"]),
lexxy-editor.comment-editor lexxy-toolbar summary[aria-label="Show more toolbar buttons"] {
  display: none !important;
}
