/* Editors and code editing */
.ace_editor {
  flex: 1;
}
.ace_editor .ace_gutter[aria-hidden="true"] {
    display: block;
  }
.ace_editor.ace-tm .ace_gutter {
    background-color: var(--gray-50);
    color: var(--gray-500);
  }
.custom-template-editor {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.custom-template-editor > form {
    width: 350px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--light-gray);
  }
:is(.custom-template-editor > form) header {
      padding: 1rem;
      border-bottom: 1px solid var(--lightest-gray);
    }
:is(.custom-template-editor > form) small {
      background: var(--medium-purple);
      padding: 1rem;
    }
:is(.custom-template-editor > form) main {
      flex: 1;
      overflow-y: auto;
      padding: 1rem;
    }
:is(.custom-template-editor > form) footer {
      display: flex;
      align-items: center;
      justify-content: end;
      border-top: 1px solid var(--lightest-gray);
    }
:is(.dark-mode .custom-template-editor) small {
      background: var(--gray-700);
    }
.edit-html-toggle {
  margin: 2rem 0 0;
  padding: 0;
}
.edit-html-toggle summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
  }
:is(.edit-html-toggle summary)::marker {
      font-size: 0;
    }
:is(.edit-html-toggle summary)::-webkit-details-marker {
      display: none;
    }
:is(.edit-html-toggle summary):hover .details-toggle {
        color: var(--dark-purple);
      }
.edit-html-toggle  > h3 {
    display: none;
  }
.edit-html-toggle.fixed-open > h3 {
      display: block;
    }
.edit-html-toggle.fixed-open summary {
      display: none;
    }
.edit-html-toggle.disabled summary {
    cursor: not-allowed;
    opacity: 0.5;
  }
.edit-html-toggle[open] {
    margin-bottom: 0.25rem;
  }
.edit-html-toggle .fa-chevron-up {
    display: none;
  }
.edit-html-toggle[open] .fa-chevron-down {
    display: none;
  }
.edit-html-toggle[open] .fa-chevron-up {
    display: block;
  }
.editor-with-sidebar {
  --border-color: var(--lightest-gray);

  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
}
.editor-with-sidebar > .editor {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1rem;
    min-height: 300px;
  }
.editor-with-sidebar main {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
.editor-with-sidebar > .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
:is(.editor-with-sidebar > .sidebar) .checkbox:last-of-type {
      margin-bottom: 0.3rem;
    }
@media (width > 768px) {
.editor-with-sidebar {
    flex-direction: row;
    gap: 0;
}

    .editor-with-sidebar > .sidebar {
      border-left: 1px solid var(--border-color);
      flex-basis: 30ch;
    }

    .editor-with-sidebar main {
      border-bottom: none;
    }
  }
.editor {
  display: flex;
  flex-direction: column;
}
.editor main {
    flex: 1;
  }
.editor--custom-template header {
    border-bottom: 1px solid var(--light-gray);
  }
:is(.editor--custom-template header) h2 {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin: 0 0 0.5rem;
    }
:is(.editor--custom-template header) p {
      margin: 0 0 0.5rem;
    }
.list-and-editor {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.list-and-editor .editor {
    border-top: 1px solid var(--light-gray);
    border-left: 1px solid var(--light-gray);
    flex: 1;
    display: flex;
  }
:is(.list-and-editor .editor) form {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
:is(:is(.list-and-editor .editor) form) header {
        padding: 1rem;
        z-index: 5;
      }
:is(:is(:is(.list-and-editor .editor) form) header) p.hint {
          margin-bottom: 0.5rem;
        }
:is(:is(.list-and-editor .editor) form) main {
        flex: 1;
        display: flex;
        flex-direction: column;
      }
:is(:is(:is(.list-and-editor .editor) form) main) label {
          padding-left: 1rem;
        }
:is(:is(.list-and-editor .editor) form) footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid var(--lightest-gray);
      }
:is(:is(:is(.list-and-editor .editor) form) footer) button {
          border: none;
          background: none;
          cursor: pointer;
          display: inline;
          padding: 0;
          color: var(--link-color);
        }
:is(:is(:is(:is(.list-and-editor .editor) form) footer) button):hover {
            text-decoration: underline;
          }
:is(:is(:is(.list-and-editor .editor) form) footer) p {
          margin: 0;
        }
.template-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--medium-gray);
}
.template-editor input[type="text"] {
    margin-bottom: 0.5rem;
  }
.template-editor header {
    padding: 1rem 1rem 0;
  }
.template-editor label#editor-label {
    margin-top: 0.25rem;
    padding: 0 1rem;
  }
.template-editor main {
    flex: 1;
    display: flex;
  }
.template-editor footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--lightest-gray);
  }
:is(.template-editor footer) p {
      margin: 0;
    }
.template-editor .help {
    padding: 0 1rem;
  }
/* .template-editor {
  display: flex;
  height: 100vh;

  & div:not(.field_with_errors) {
    flex: 1;
  }

  & div.editor {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;

    & a {
      text-decoration: none;
    }

    & .hint a {
      text-decoration: underline;
    }

    & div:not(.field_with_errors) {
      flex: 1;
    }

    & div.alert {
      flex: 0;
    }

    & .hint a {
      text-decoration: underline;
    }

    & footer {
      padding: 1rem 0;

      a {
        padding: 0;
      }
    }
  }

  & div.html-preview {
    display: flex;
    flex-direction: column;
  }

  & iframe {
    border: 0;
    width: 100%;
    flex: 1;
  }
}
*/

/*# sourceMappingURL=/assets/application-editors-aab89c0b.css.map */