.ProseMirror {
  position: relative;
}

.ProseMirror {
  word-wrap: break-word;
  white-space: pre-wrap;
  white-space: break-spaces;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
}

.ProseMirror pre {
  white-space: pre-wrap;
}

.ProseMirror li {
  position: relative;
}

.ProseMirror-hideselection *::selection { background: transparent; }
.ProseMirror-hideselection *::-moz-selection { background: transparent; }
.ProseMirror-hideselection { caret-color: transparent; }

/* See https://code.haverbeke.berlin/prosemirror/prosemirror/issues/1421#issuecomment-1759320191 */
.ProseMirror [draggable][contenteditable=false] { user-select: text }

.ProseMirror-selectednode {
  outline: 2px solid #8cf;
}

/* Make sure li selections wrap around markers */

li.ProseMirror-selectednode {
  outline: none;
}

li.ProseMirror-selectednode:after {
  content: "";
  position: absolute;
  left: -32px;
  right: -2px; top: -2px; bottom: -2px;
  border: 2px solid #8cf;
  pointer-events: none;
}

/* Protect against generic img rules */

img.ProseMirror-separator {
  display: inline !important;
  border: none !important;
  margin: 0 !important;
}

/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wcm9zZS92aWV3L3N0eWxlL3Byb3NlbWlycm9yLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiJwcm9zZW1pcnJvci5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICdAbWlsa2Rvd24vcHJvc2Uvdmlldy9zdHlsZS9wcm9zZW1pcnJvci5jc3MnO1xuIl19 */
.milkdown {
  position: relative;
}

  .milkdown * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .milkdown button,
  .milkdown input {
    border: none;
    background: none;
    box-shadow: none;
  }

  .milkdown button:focus, .milkdown input:focus {
      outline: none;
    }

  .milkdown :focus-visible {
    outline: none;
  }

  .milkdown {

  font-family: var(--crepe-font-default);
  color: var(--crepe-color-on-background);
  background: var(--crepe-color-background);
}

  .milkdown .milkdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .milkdown .ProseMirror-focused {
    outline: none;
  }

  .milkdown .ProseMirror {
    padding: 60px 120px;
  }

  .milkdown .ProseMirror *::-moz-selection {
      background: var(--crepe-color-selected);
    }

  .milkdown .ProseMirror *::selection {
      background: var(--crepe-color-selected);
    }

  .milkdown .ProseMirror li.ProseMirror-selectednode {
      background: var(--crepe-color-selected);
      outline: none;
    }

  .milkdown .ProseMirror li.ProseMirror-selectednode ::-moz-selection {
        background: transparent;
      }

  .milkdown .ProseMirror li.ProseMirror-selectednode ::selection {
        background: transparent;
      }

  .milkdown .ProseMirror li.ProseMirror-selectednode::-moz-selection {
        background: transparent;
      }

  .milkdown .ProseMirror li.ProseMirror-selectednode::selection {
        background: transparent;
      }

  .milkdown .ProseMirror li.ProseMirror-selectednode:after {
      all: unset;
    }

  .milkdown .ProseMirror .ProseMirror-selectednode {
      background: var(--crepe-color-selected);
      outline: none;
      background: color-mix(
        in srgb,
        var(--crepe-color-selected),
        transparent 60%
      );
    }

  .milkdown .ProseMirror .ProseMirror-selectednode ::-moz-selection {
        background: transparent;
      }

  .milkdown .ProseMirror .ProseMirror-selectednode ::selection {
        background: transparent;
      }

  .milkdown .ProseMirror .ProseMirror-selectednode::-moz-selection {
        background: transparent;
      }

  .milkdown .ProseMirror .ProseMirror-selectednode::selection {
        background: transparent;
      }

  .milkdown .ProseMirror[data-dragging='true']::-moz-selection, .milkdown .ProseMirror[data-dragging='true'] *::-moz-selection {
        background: transparent;
      }

  .milkdown .ProseMirror[data-dragging='true'] .ProseMirror-selectednode,
      .milkdown .ProseMirror[data-dragging='true']::selection,
      .milkdown .ProseMirror[data-dragging='true'] *::selection {
        background: transparent;
      }

  .milkdown .ProseMirror[data-dragging='true'] input::-moz-selection {
        background: var(--crepe-color-selected);
      }

  .milkdown .ProseMirror[data-dragging='true'] input::selection {
        background: var(--crepe-color-selected);
      }

  .milkdown .ProseMirror img {
      vertical-align: bottom;
      max-width: 100%;
    }

  .milkdown .ProseMirror img.ProseMirror-selectednode {
        background: none;
        outline: 2px solid var(--crepe-color-primary);
      }

  .milkdown .ProseMirror h1,
    .milkdown .ProseMirror h2,
    .milkdown .ProseMirror h3,
    .milkdown .ProseMirror h4,
    .milkdown .ProseMirror h5,
    .milkdown .ProseMirror h6 {
      font-family: var(--crepe-font-title);
      font-weight: 400;
      padding: 2px 0;
    }

  .milkdown .ProseMirror h1 {
      font-size: 42px;
      line-height: 50px;
      margin-top: 32px;
    }

  .milkdown .ProseMirror h2 {
      font-size: 36px;
      line-height: 44px;
      margin-top: 28px;
    }

  .milkdown .ProseMirror h3 {
      font-size: 32px;
      line-height: 40px;
      margin-top: 24px;
    }

  .milkdown .ProseMirror h4 {
      font-size: 28px;
      line-height: 36px;
      margin-top: 20px;
    }

  .milkdown .ProseMirror h5 {
      font-size: 24px;
      line-height: 32px;
      margin-top: 16px;
    }

  .milkdown .ProseMirror h6 {
      font-size: 18px;
      font-weight: 700;
      line-height: 28px;
      margin-top: 16px;
    }

  .milkdown .ProseMirror p {
      font-size: 16px;
      line-height: 24px;
      padding: 4px 0;
    }

  .milkdown .ProseMirror code {
      color: var(--crepe-color-inline-code);
      background: color-mix(
        in srgb,
        var(--crepe-color-inline-area),
        transparent 40%
      );
      font-family: var(--crepe-font-code);
      padding: 0 2px;
      border-radius: 4px;
      font-size: 87.5%;
      display: inline-block;
      line-height: 1.4286;
    }

  .milkdown .ProseMirror a {
      color: var(--crepe-color-primary);
      text-decoration: underline;
    }

  .milkdown .ProseMirror pre {
      background: color-mix(
        in srgb,
        var(--crepe-color-inline-area),
        transparent 40%
      );
      padding: 10px;
      border-radius: 4px;
    }

  .milkdown .ProseMirror pre code {
        padding: 0;
        background: transparent;
      }

  .milkdown .ProseMirror blockquote {
      position: relative;
      padding-left: 40px;
      padding-top: 0;
      padding-bottom: 0;
      box-sizing: content-box;
      margin: 4px 0;
    }

  .milkdown .ProseMirror blockquote::before {
        content: '';
        width: 4px;
        left: 0;
        top: 4px;
        bottom: 4px;
        position: absolute;
        background: var(--crepe-color-selected);
        border-radius: 100px;
      }

  .milkdown .ProseMirror blockquote hr {
        margin-bottom: 16px;
      }

  .milkdown .ProseMirror hr {
      border: none;
      background-color: color-mix(
        in srgb,
        var(--crepe-color-outline),
        transparent 80%
      );
      background-clip: content-box;
      padding: 6px 0;
      height: 13px;
      position: relative;
    }

  .milkdown .ProseMirror hr.ProseMirror-selectednode {
        outline: none;
        background-color: color-mix(
          in srgb,
          var(--crepe-color-outline),
          transparent 20%
        );
        background-clip: content-box;
      }

  .milkdown .ProseMirror hr.ProseMirror-selectednode::before {
          content: '';
          position: absolute;
          left: 0;
          top: 0;
          bottom: 0;
          right: 0;
          background-color: color-mix(
            in srgb,
            var(--crepe-color-outline),
            transparent 80%
          );
          pointer-events: none;
        }

  .milkdown .ProseMirror ul,
    .milkdown .ProseMirror ol {
      padding: 0;
    }
.milkdown .milkdown-block-handle[data-show='false'] {
      opacity: 0;
      pointer-events: none;
    }
    .milkdown .milkdown-block-handle {
    transition: all 0.2s;
    position: absolute;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
    .milkdown .milkdown-block-handle .operation-item {
      border-radius: 4px;
      width: 32px;
      height: 32px;
      padding: 4px;
    }
    .milkdown .milkdown-block-handle .operation-item svg {
        width: 24px;
        height: 24px;
        fill: var(--crepe-color-outline);
      }
    .milkdown .milkdown-block-handle .operation-item:hover {
        background: var(--crepe-color-hover);
      }
    .milkdown .milkdown-block-handle .operation-item.active {
        background: var(--crepe-color-selected);
      }
  .milkdown .milkdown-slash-menu[data-show='false'] {
      display: none;
    }
  .milkdown .milkdown-slash-menu {
    position: absolute;
    z-index: 10;
    display: block;
    font-family: var(--crepe-font-default);
    color: var(--crepe-color-on-surface);
    background: var(--crepe-color-surface);
    border-radius: 12px;
    box-shadow: var(--crepe-shadow-1);
}
  .milkdown .milkdown-slash-menu ul {
      list-style-type: none;
    }
  .milkdown .milkdown-slash-menu ul li {
        cursor: pointer;
        border-radius: 8px;
      }
  .milkdown .milkdown-slash-menu .tab-group {
      border-bottom: 1px solid
        color-mix(in srgb, var(--crepe-color-outline), transparent 80%);
      padding: 12px 12px 0;
    }
  .milkdown .milkdown-slash-menu .tab-group ul {
        padding: 8px 10px;
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
      }
  .milkdown .milkdown-slash-menu .tab-group ul li {
          padding: 6px 10px;
          font-size: 14px;
          font-style: normal;
          font-weight: 600;
          line-height: 20px;
        }
  .milkdown .milkdown-slash-menu .tab-group ul li:hover {
            background: var(--crepe-color-hover);
          }
  .milkdown .milkdown-slash-menu .tab-group ul li.selected {
            background: var(--crepe-color-selected);
          }
  .milkdown .milkdown-slash-menu .menu-groups {
      padding: 0 12px 12px;
      max-height: 420px;
      overflow: auto;
      overscroll-behavior: contain;
      scroll-behavior: smooth;
    }
  .milkdown .milkdown-slash-menu .menu-groups .menu-group h6 {
          font-size: 14px;
          font-style: normal;
          font-weight: 600;
          line-height: 20px;
          padding: 14px 10px;
          text-transform: uppercase;
          color: color-mix(
            in srgb,
            var(--crepe-color-on-surface),
            transparent 40%
          );
        }
  .milkdown .milkdown-slash-menu .menu-groups .menu-group li {
          min-width: 220px;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          gap: 16px;
          padding: 14px 10px;
        }
  .milkdown .milkdown-slash-menu .menu-groups .menu-group li.hover {
            background: var(--crepe-color-hover);
          }
  .milkdown .milkdown-slash-menu .menu-groups .menu-group li.active {
            background: var(--crepe-color-selected);
          }
  .milkdown .milkdown-slash-menu .menu-groups .menu-group li svg {
            width: 24px;
            height: 24px;
            color: var(--crepe-color-outline);
            fill: var(--crepe-color-outline);
          }
  .milkdown .milkdown-slash-menu .menu-groups .menu-group li > span {
            font-size: 14px;
            font-style: normal;
            font-weight: 600;
            line-height: 20px;
          }
  .milkdown .milkdown-slash-menu .menu-groups .menu-group + .menu-group::before {
        content: '';
        display: block;
        height: 1px;
        background: color-mix(
          in srgb,
          var(--crepe-color-outline),
          transparent 80%
        );
        margin: 0 10px;
      }
.milkdown .milkdown-code-block {
    display: block;
    position: relative;
    padding: 8px 20px 20px;
    background: var(--crepe-color-surface);
    margin: 4px 0;
  }

    .milkdown .milkdown-code-block .language-picker {
      padding-top: 10px;
      width: -moz-max-content;
      width: max-content;
      position: absolute;
      z-index: 999;
    }

    .milkdown .milkdown-code-block .hidden {
      display: none !important;
    }

    .milkdown .milkdown-code-block.selected {
      outline: 1px solid var(--crepe-color-primary);
    }

    .milkdown .milkdown-code-block .milkdown-code-block-placeholder {
      margin: 0;
      padding: 4px 0;
      font-family: var(--crepe-font-code, monospace);
      font-size: 14px;
      line-height: 1.5;
      white-space: pre-wrap;
      word-break: break-all;
    }

    .milkdown .milkdown-code-block .milkdown-code-block-placeholder code {
        font-family: inherit;
      }

    .milkdown .milkdown-code-block .cm-editor {
      outline: none !important;
      background: var(--crepe-color-surface);
    }

    .milkdown .milkdown-code-block .cm-gutters {
      border-right: none;
      background: var(--crepe-color-surface);
    }

    .milkdown .milkdown-code-block .cm-panel {
      font-family: var(--crepe-font-default);
      background: var(--crepe-color-surface);
      color: var(--crepe-color-on-surface);
    }

    .milkdown .milkdown-code-block .cm-panel input {
        caret-color: var(--crepe-color-outline);
        border-radius: 4px;
        background: var(--crepe-color-surface-low);
      }

    .milkdown .milkdown-code-block .cm-panel > button {
        text-transform: capitalize;
        background: var(--crepe-color-surface-low);
        color: var(--crepe-color-on-surface-variant);
        border: 1px solid var(--crepe-color-outline);
        font-weight: 600;
        cursor: pointer;
        border-radius: 4px;
      }

    .milkdown .milkdown-code-block .cm-panel > button:hover {
          background: var(--crepe-color-hover);
        }

    .milkdown .milkdown-code-block .cm-panel > label {
        display: inline-flex;
        align-items: center;
        text-transform: capitalize;
      }

    .milkdown .milkdown-code-block .cm-panel > label input[type='checkbox'] {
          border-radius: 4px;
          cursor: pointer;
          -moz-appearance: none;
               appearance: none;
          -webkit-appearance: none;
          background: var(--crepe-color-surface-low);
          width: 1.15em;
          height: 1.15em;
          border: 1px solid var(--crepe-color-outline);
          display: grid;
          place-content: center;
        }

    .milkdown .milkdown-code-block .cm-panel > label input[type='checkbox']::before {
            content: '';
            transform-origin: bottom left;
            width: 0.65em;
            height: 0.65em;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em var(--crepe-color-outline);
            clip-path: polygon(
              14% 44%,
              0 65%,
              50% 100%,
              100% 16%,
              80% 0%,
              43% 62%
            );
          }

    .milkdown .milkdown-code-block .cm-panel > label input[type='checkbox']:checked::before {
            transform: scale(1);
          }

    .milkdown .milkdown-code-block .tools {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .milkdown .milkdown-code-block .tools input {
        caret-color: var(--crepe-color-outline);
      }

    .milkdown .milkdown-code-block .tools .tools-button-group {
        display: flex;
        gap: 2px;
      }

    .milkdown .milkdown-code-block .tools .tools-button-group button {
          background: var(--crepe-color-secondary);
          color: var(--crepe-color-on-surface-variant);
          padding: 4px 10px;
          opacity: 0;
          cursor: pointer;
          border-radius: 4px;
          font-size: 12px;
          line-height: 16px;
          font-weight: 600;
          font-family: var(--crepe-font-default);
          transition: opacity 0.2s ease-in-out;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 4px;
        }

    .milkdown .milkdown-code-block .tools .tools-button-group button svg {
            width: 14px;
            height: 14px;
            fill: var(--crepe-color-on-surface-variant);
          }

    .milkdown .milkdown-code-block .tools .tools-button-group button:first-child {
          border-top-left-radius: 100px;
          border-bottom-left-radius: 100px;
        }

    .milkdown .milkdown-code-block .tools .tools-button-group button:last-child {
          border-top-right-radius: 100px;
          border-bottom-right-radius: 100px;
        }

    .milkdown .milkdown-code-block .tools .language-button {
        display: flex;
        align-items: center;
        font-family: var(--crepe-font-default);
        gap: 6px;
        padding: 2px 4px 2px 8px;
        background: var(--crepe-color-surface-low);
        color: var(--crepe-color-on-surface-variant);
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
        margin-bottom: 8px;
        opacity: 0;
        cursor: pointer;
        transition: opacity 0.2s ease-in-out;
      }

    .milkdown .milkdown-code-block .tools .language-button:hover {
          background: var(--crepe-color-hover);
        }

    .milkdown .milkdown-code-block .tools .language-button .expand-icon {
          transition: transform 0.2s ease-in-out;
          width: 18px;
          height: 18px;
          display: flex;
          justify-content: center;
          align-items: center;
        }

    .milkdown .milkdown-code-block .tools .language-button .expand-icon svg {
          width: 14px;
          height: 14px;
          color: var(--crepe-color-outline);
        }

    .milkdown .milkdown-code-block .tools .language-button[data-expanded='true'] .expand-icon {
          transform: rotate(180deg);
        }

    .milkdown .milkdown-code-block .tools .language-button .expand-icon svg:focus,
        .milkdown .milkdown-code-block .tools .language-button .expand-icon:focus-visible {
          outline: none;
        }

    .milkdown .milkdown-code-block:hover .language-button {
      opacity: 1;
    }

    .milkdown .milkdown-code-block:hover .tools-button-group > button {
      opacity: 1;
    }

    .milkdown .milkdown-code-block .list-wrapper {
      background: var(--crepe-color-surface-low);
      border-radius: 12px;
      box-shadow: var(--crepe-shadow-1);
      width: 240px;
      padding-top: 12px;
    }

    .milkdown .milkdown-code-block .language-list {
      height: 410px;
      overflow-y: auto;
      overscroll-behavior: contain;
      margin: 0;
      padding: 0;
    }

    .milkdown .milkdown-code-block .language-list-item {
      cursor: pointer;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 4px 22px;
      font-size: 14px;
      font-weight: 600;
      line-height: 20px;
    }

    .milkdown .milkdown-code-block .language-list-item:hover {
        background: var(--crepe-color-hover);
      }

    .milkdown .milkdown-code-block .language-list-item:focus-visible {
        outline: none;
        background: var(--crepe-color-hover);
      }

    .milkdown .milkdown-code-block .language-list-item .leading,
      .milkdown .milkdown-code-block .language-list-item .leading svg {
        width: 24px;
        height: 24px;
      }

    .milkdown .milkdown-code-block .language-list-item.no-result {
        cursor: default;
        opacity: 0.6;
      }

    .milkdown .milkdown-code-block .language-list-item.no-result:hover {
          background: transparent;
        }

    .milkdown .milkdown-code-block .search-box {
      display: flex;
      align-items: center;
      margin: 0 12px 8px;
      background: transparent;
      border-radius: 4px;
      outline: 1px solid var(--crepe-color-primary);
      gap: 8px;
      padding: 6px 10px;
    }

    .milkdown .milkdown-code-block .search-box:has(input:focus) {
        outline: 2px solid var(--crepe-color-primary);
      }

    .milkdown .milkdown-code-block .search-box .search-input {
        width: 100%;
        color: var(--crepe-color-on-surface);
      }

    .milkdown .milkdown-code-block .search-box .search-icon {
        display: none;
      }

    .milkdown .milkdown-code-block .search-box .clear-icon {
        cursor: pointer;
        width: 20px;
        height: 20px;
      }

    .milkdown .milkdown-code-block .search-box .clear-icon svg {
          width: 20px;
          height: 20px;
          color: var(--crepe-color-primary);
          fill: var(--crepe-color-primary);
        }

    .milkdown .milkdown-code-block .search-box .clear-icon:hover {
          background: var(--crepe-color-hover);
        }

    .milkdown .milkdown-code-block .search-box input {
        font-family: var(--crepe-font-default);
        font-size: 14px;
        line-height: 20px;
        background: transparent;
      }

    .milkdown .milkdown-code-block .search-box input:focus {
        outline: none;
      }

    .milkdown .milkdown-code-block .preview-panel .preview-divider {
        height: 1px;
        opacity: 0.2;
        background: var(--crepe-color-outline);
        margin: 6px 0;
      }

    .milkdown .milkdown-code-block .preview-panel .preview-label {
        margin: 6px 0;
        font-size: 12px;
        color: color-mix(
          in srgb,
          var(--crepe-color-on-surface),
          transparent 40%
        );
        font-weight: 600;
        text-transform: uppercase;
        font-family: var(--crepe-font-default);
      }

    .milkdown .milkdown-code-block .preview-panel .preview {
        text-align: center;
        overflow-x: auto;
      }
.ProseMirror-gapcursor {
  display: none;
  pointer-events: none;
  position: absolute;
}

.ProseMirror-gapcursor:after {
  content: "";
  display: block;
  position: absolute;
  top: -2px;
  width: 20px;
  border-top: 1px solid black;
  animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
}

@keyframes ProseMirror-cursor-blink {
  to {
    visibility: hidden;
  }
}

.ProseMirror-focused .ProseMirror-gapcursor {
  display: block;
}

/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wcm9zZS9nYXBjdXJzb3Ivc3R5bGUvZ2FwY3Vyc29yLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiJnYXBjdXJzb3IuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCAnQG1pbGtkb3duL3Byb3NlL2dhcGN1cnNvci9zdHlsZS9nYXBjdXJzb3IuY3NzJztcbiJdfQ== */
.ProseMirror.virtual-cursor-enabled {
  /* Hide the native cursor */
  caret-color: transparent;
}

.ProseMirror-focused {
  /* Color of the virtual cursor */
  --prosemirror-virtual-cursor-color: red;
}

.ProseMirror .prosemirror-virtual-cursor {
  position: absolute;
  cursor: text;
  pointer-events: none;
  transform: translate(-1px);
  user-select: none;
  -webkit-user-select: none;
  border-left: 2px solid var(--prosemirror-virtual-cursor-color);
}

.ProseMirror .prosemirror-virtual-cursor-left {
  width: 1ch;
  transform: translate(calc(-1ch + -1px));
  border-bottom: 2px solid var(--prosemirror-virtual-cursor-color);
  border-right: 2px solid var(--prosemirror-virtual-cursor-color);
  border-left: none;
}

.ProseMirror .prosemirror-virtual-cursor-right {
  width: 1ch;
  border-bottom: 2px solid var(--prosemirror-virtual-cursor-color);
  border-left: 2px solid var(--prosemirror-virtual-cursor-color);
  border-right: none;
}

.ProseMirror-focused .prosemirror-virtual-cursor-animation {
  animation: prosemirror-virtual-cursor-blink 1s linear infinite;
  animation-delay: 0.5s;
}

@keyframes prosemirror-virtual-cursor-blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.milkdown .crepe-drop-cursor {
    background-color: color-mix(
      in srgb,
      var(--crepe-color-outline),
      transparent 50%
    );
    opacity: 0.5;
    transition: all 0.2s;
    pointer-events: none;
  }

.milkdown .ProseMirror-gapcursor:after {
    box-sizing: border-box;
    border-top: 1px solid var(--crepe-color-on-background);
  }

.milkdown .ProseMirror-focused {
    --prosemirror-virtual-cursor-color: var(--crepe-color-outline);
  }
.milkdown .milkdown-image-inline {
    outline: none;
    display: inline-flex;
    vertical-align: text-bottom;
  }

    .milkdown .milkdown-image-inline input {
      background: transparent;
      outline: none;
      border: 0;
      caret-color: var(--crepe-color-outline);
    }

    .milkdown .milkdown-image-inline > .empty-image-inline {
      display: inline-flex;
    }

    .milkdown .milkdown-image-inline > .empty-image-inline .confirm {
      cursor: pointer;
    }

    .milkdown .milkdown-image-inline > .empty-image-inline .link-importer {
      position: relative;
      flex: 1;
    }

    .milkdown .milkdown-image-inline > .empty-image-inline .link-importer > .link-input-area {
      width: 208px;
      color: var(--crepe-color-on-background);
      display: flex;
    }

    .milkdown .milkdown-image-inline > .empty-image-inline .link-importer .placeholder {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      cursor: text;
    }

    .milkdown .milkdown-image-inline > .empty-image-inline .link-importer .placeholder .uploader {
      cursor: pointer;
      display: flex;
    }

    .milkdown .milkdown-image-inline .hidden {
      display: none !important;
    }

    .milkdown .milkdown-image-inline.empty.selected {
      background: none;
      outline: none;
    }

    .milkdown .milkdown-image-inline.empty.selected .empty-image-inline {
        box-shadow: var(--crepe-shadow-1);
      }

    .milkdown .milkdown-image-inline.selected {
      background: none;
      outline: 1px solid var(--crepe-color-primary);
    }

    .milkdown .milkdown-image-inline.selected :not(input)::-moz-selection {
        background: transparent;
      }

    .milkdown .milkdown-image-inline.selected :not(input)::selection {
        background: transparent;
      }

    .milkdown .milkdown-image-inline .empty-image-inline {
      align-items: center;
      padding: 4px 10px;
      gap: 10px;
      background: var(--crepe-color-surface);
      font-family: var(--crepe-font-default);
      border-radius: 8px;
      font-size: 16px;
    }

    .milkdown .milkdown-image-inline .empty-image-inline .image-icon svg {
        width: 18px;
        height: 18px;
        fill: var(--crepe-color-outline);
      }

    .milkdown .milkdown-image-inline .empty-image-inline .image-icon {
      padding: 3px;
      width: 24px;
      height: 24px;
}

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer {
      height: 24px;
    }

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer .placeholder {
      color: color-mix(
        in srgb,
        var(--crepe-color-on-background),
        transparent 60%
      );
    }

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer .placeholder :not(input)::-moz-selection {
        background: transparent;
      }

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer .placeholder :not(input)::selection {
        background: transparent;
      }

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer .link-input-area {
      line-height: 24px;
    }

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer .placeholder .uploader {
      gap: 8px;
      color: var(--crepe-color-primary);
      justify-content: center;
      transition: color 0.2s;
      font-family: var(--crepe-font-default);
    }

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer.focus .placeholder .uploader {
      color: unset;
    }

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer .placeholder .uploader:hover {
      color: var(--crepe-color-primary);
    }

    .milkdown .milkdown-image-inline .empty-image-inline .link-importer .placeholder .text {
      margin-left: 8px;
    }

    .milkdown .milkdown-image-inline .empty-image-inline .confirm svg {
        width: 18px;
        height: 18px;
      }

    .milkdown .milkdown-image-inline .empty-image-inline .confirm {
      display: flex;
      width: 24px;
      height: 24px;
      padding: 3px;
      border-radius: 8px;
      color: var(--crepe-color-primary);
}

    .milkdown .milkdown-image-inline .empty-image-inline .confirm:hover {
        background: var(--crepe-color-hover);
      }
  .milkdown .milkdown-image-block {
    outline: none;
    margin: 4px 0;
    display: block;
  }
  .milkdown .milkdown-image-block > .image-wrapper {
      position: relative;
      width: -moz-fit-content;
      width: fit-content;
      margin: 0 auto;
      min-width: 100px;
    }
  .milkdown .milkdown-image-block > .image-wrapper .operation {
      position: absolute;
      display: flex;
    }
  .milkdown .milkdown-image-block > .image-wrapper .operation > .operation-item {
      cursor: pointer;
    }
  .milkdown .milkdown-image-block > .image-wrapper img {
      max-width: 100%;
      min-height: 100px;
      display: block;
      -o-object-fit: cover;
         object-fit: cover;
    }
  .milkdown .milkdown-image-block > .image-wrapper > .image-resize-handle {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
  .milkdown .milkdown-image-block > .image-wrapper > .image-resize-handle:hover {
      cursor: row-resize;
    }
  .milkdown .milkdown-image-block input {
      background: transparent;
      outline: none;
      border: 0;
      caret-color: var(--crepe-color-outline);
    }
  .milkdown .milkdown-image-block > .caption-input {
      display: block;
      width: 100%;
      text-align: center;
      color: var(--crepe-color-on-background);
    }
  .milkdown .milkdown-image-block > .image-edit {
      display: flex;
    }
  .milkdown .milkdown-image-block > .image-edit .confirm {
      cursor: pointer;
    }
  .milkdown .milkdown-image-block > .image-edit .link-importer {
      position: relative;
      flex: 1;
    }
  .milkdown .milkdown-image-block > .image-edit .link-importer > .link-input-area {
      width: 100%;
    }
  .milkdown .milkdown-image-block > .image-edit .link-importer .placeholder {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      cursor: text;
    }
  .milkdown .milkdown-image-block > .image-edit .link-importer .placeholder .uploader {
      cursor: pointer;
      display: flex;
    }
  .milkdown .milkdown-image-block .hidden {
      display: none !important;
    }
  .milkdown .milkdown-image-block.selected > .image-edit:not(:has(input:focus)) {
      position: relative;
    }
  .milkdown .milkdown-image-block.selected > .image-edit:not(:has(input:focus))::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: color-mix(
          in srgb,
          var(--crepe-color-selected),
          transparent 60%
        );
        pointer-events: none;
      }
  .milkdown .milkdown-image-block.selected > .image-wrapper {
        position: relative;
      }
  .milkdown .milkdown-image-block.selected > .image-wrapper::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background: color-mix(
            in srgb,
            var(--crepe-color-selected),
            transparent 60%
          );
        }
  .milkdown .milkdown-image-block.selected :not(input)::-moz-selection {
        background: transparent;
      }
  .milkdown .milkdown-image-block.selected :not(input)::selection {
        background: transparent;
      }
  .milkdown .milkdown-image-block .image-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  .milkdown .milkdown-image-block .image-wrapper .operation {
      gap: 12px;
      right: 12px;
      top: 12px;
      opacity: 0;
      transition: all 0.2s;
    }
  .milkdown .milkdown-image-block:hover > .image-wrapper .operation {
      opacity: 1;
    }
  .milkdown .milkdown-image-block .image-wrapper .operation > .operation-item {
      color: var(--crepe-color-on-inverse);
      padding: 4px;
      background: var(--crepe-color-inverse);
      opacity: 0.6;
      border-radius: 50%;
      width: 32px;
      height: 32px;
    }
  .milkdown .milkdown-image-block .image-wrapper .operation > .operation-item svg {
        width: 24px;
        height: 24px;
      }
  .milkdown .milkdown-image-block .image-wrapper .image-resize-handle {
      height: 4px;
      bottom: -2px;
      max-width: 160px;
      width: 100%;
      background: var(--crepe-color-outline);
      opacity: 0;
      transition: all 0.2s;
      border-radius: 4px;
    }
  .milkdown .milkdown-image-block:hover > .image-wrapper .image-resize-handle {
      opacity: 1;
    }
  .milkdown .milkdown-image-block .caption-input {
      margin: 4px auto;
      font-family: var(--crepe-font-default);
    }
  .milkdown .milkdown-image-block .image-edit {
      align-items: center;
      padding: 16px 24px;
      gap: 16px;
      background: var(--crepe-color-surface);
      height: 56px;
    }
  .milkdown .milkdown-image-block .image-edit .image-icon {
      color: var(--crepe-color-outline);
    }
  .milkdown .milkdown-image-block .image-edit .image-icon svg {
      width: 24px;
      height: 24px;
      display: flex;
      justify-content: center;
      align-items: center;
      fill: var(--crepe-color-outline);
    }
  .milkdown .milkdown-image-block .image-edit .link-importer .placeholder {
      color: color-mix(
        in srgb,
        var(--crepe-color-on-background),
        transparent 60%
      );
    }
  .milkdown .milkdown-image-block .image-edit .link-importer .placeholder :not(input)::-moz-selection {
        background: transparent;
      }
  .milkdown .milkdown-image-block .image-edit .link-importer .placeholder :not(input)::selection {
        background: transparent;
      }
  .milkdown .milkdown-image-block .image-edit .link-importer .link-input-area {
      line-height: 24px;
      color: var(--crepe-color-on-background);
    }
  .milkdown .milkdown-image-block .image-edit .link-importer .placeholder .uploader {
      gap: 8px;
      color: var(--crepe-color-primary);
      justify-content: center;
      transition: color 0.2s;
      font-weight: 600;
    }
  .milkdown .milkdown-image-block .image-edit .link-importer.focus .placeholder .uploader {
      color: unset;
    }
  .milkdown .milkdown-image-block .image-edit .link-importer .placeholder .uploader:hover {
      color: var(--crepe-color-primary);
    }
  .milkdown .milkdown-image-block .image-edit .link-importer .placeholder .text {
      margin-left: 8px;
    }
  .milkdown .milkdown-image-block .image-edit .confirm {
      background: var(--crepe-color-secondary);
      color: var(--crepe-color-on-secondary);
      line-height: 40px;
      padding: 0 24px;
      border-radius: 100px;
      font-size: 14px;
      font-weight: 600;
    }
  .milkdown .milkdown-image-block .image-edit .confirm:hover {
        background:
          linear-gradient(
            0deg,
            rgba(29, 25, 43, 0.08) 0%,
            rgba(29, 25, 43, 0.08) 100%
          ),
          var(--crepe-color-secondary);
      }
.milkdown .milkdown-link-preview {
    position: absolute;
    z-index: 10;
  }
    .milkdown .milkdown-link-preview[data-show='false'] {
      display: none;
    }
    .milkdown .milkdown-link-preview > .link-preview {
      height: 32px;
      display: flex;
      justify-content: center;
      padding: 4px 10px;
      background: var(--crepe-color-surface);
      gap: 10px;
      border-radius: 8px;
      cursor: pointer;
      box-shadow: var(--crepe-shadow-1);
    }
    .milkdown .milkdown-link-preview > .link-preview > .link-display {
        text-decoration: none;
        color: unset;
      }
    .milkdown .milkdown-link-preview > .link-preview > .link-display:hover:before {
        display: block;
      }
    .milkdown .milkdown-link-preview > .link-preview > .link-icon > svg {
          width: 18px;
          height: 18px;
          color: var(--crepe-color-outline);
          fill: var(--crepe-color-outline);
        }
    .milkdown .milkdown-link-preview > .link-preview > .link-icon {
        border-radius: 8px;
        padding: 3px;
        line-height: 24px;
}
    .milkdown .milkdown-link-preview > .link-preview > .link-icon:hover {
          background: var(--crepe-color-hover);
        }
    .milkdown .milkdown-link-preview > .link-preview > .link-display {
        width: 240px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
        white-space: nowrap;
      }
    .milkdown .milkdown-link-preview > .link-preview > .link-display:hover {
          text-decoration: underline;
        }
    .milkdown .milkdown-link-preview > .link-preview > .button > svg {
          width: 18px;
          height: 18px;
          color: var(--crepe-color-outline);
          fill: var(--crepe-color-outline);
        }
    .milkdown .milkdown-link-preview > .link-preview > .button {
        padding: 3px;
        border-radius: 8px;
        line-height: 24px;
}
    .milkdown .milkdown-link-preview > .link-preview > .button:hover {
          background: var(--crepe-color-hover);
        }
  .milkdown .milkdown-link-edit {
    position: absolute;
    z-index: 10;
  }
  .milkdown .milkdown-link-edit[data-show='false'] {
      display: none;
    }
  .milkdown .milkdown-link-edit > .link-edit {
      height: 32px;
      display: flex;
      justify-content: center;
      padding: 4px 10px 4px 20px;
      background: var(--crepe-color-surface);
      gap: 8px;
      border-radius: 8px;
      box-shadow: var(--crepe-shadow-1);
    }
  .milkdown .milkdown-link-edit > .link-edit > .input-area {
        outline: none;
        background: transparent;
        width: 200px;
        font-size: 14px;
        color: var(--crepe-color-on-background);
      }
  .milkdown .milkdown-link-edit > .link-edit > .button > svg {
          width: 18px;
          height: 18px;
          color: var(--crepe-color-outline);
          fill: var(--crepe-color-outline);
        }
  .milkdown .milkdown-link-edit > .link-edit > .button {
        padding: 3px;
        cursor: pointer;
        border-radius: 8px;
        font-size: 12px;
        line-height: 24px;
}
  .milkdown .milkdown-link-edit > .link-edit > .button:hover {
          background: var(--crepe-color-hover);
        }
  .milkdown .milkdown-link-edit > .link-edit > .button.hidden {
          visibility: hidden;
        }
.milkdown .milkdown-list-item-block {
    display: block;
    padding: 0;
  }

    .milkdown .milkdown-list-item-block > .list-item {
      display: flex;
      align-items: flex-start;
    }

    .milkdown .milkdown-list-item-block > .list-item > .children {
      min-width: 0;
      flex: 1;
    }

    .milkdown .milkdown-list-item-block li {
      gap: 10px;
    }

    .milkdown .milkdown-list-item-block li .label-wrapper {
        color: var(--crepe-color-outline);
      }

    .milkdown .milkdown-list-item-block li .label-wrapper svg {
          fill: var(--crepe-color-outline);
        }

    .milkdown .milkdown-list-item-block li .label-wrapper {
        height: 32px;
        width: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
}

    .milkdown .milkdown-list-item-block li .label-wrapper .label {
          height: 32px;
          padding: 4px 0;
          width: 24px;
          text-align: right;
        }

    .milkdown .milkdown-list-item-block li .label-wrapper .checked,
        .milkdown .milkdown-list-item-block li .label-wrapper .unchecked {
          cursor: pointer;
        }

    .milkdown .milkdown-list-item-block li .label-wrapper .readonly {
          cursor: not-allowed;
        }
.milkdown .crepe-placeholder::before {
    position: absolute;
    color: color-mix(
      in srgb,
      var(--crepe-color-on-background),
      transparent 60%
    );
    pointer-events: none;
    height: 0;
    content: attr(data-placeholder);
  }
.milkdown:has(.milkdown-link-preview[data-show='true']) .milkdown-toolbar,
  .milkdown:has(.milkdown-link-edit[data-show='true']) .milkdown-toolbar {
    display: none;
  }
  .milkdown .milkdown-toolbar[data-show='false'] {
      display: none;
    }
  .milkdown .milkdown-toolbar {
    z-index: 10;
    position: absolute;
    display: flex;
    background: var(--crepe-color-surface);
    box-shadow: var(--crepe-shadow-1);
    border-radius: 8px;
    overflow: hidden;
}
  .milkdown .milkdown-toolbar .divider {
      width: 1px;
      background: color-mix(
        in srgb,
        var(--crepe-color-outline),
        transparent 80%
      );
      height: 24px;
      margin: 10px;
    }
  .milkdown .milkdown-toolbar .toolbar-item {
      width: 32px;
      height: 32px;
      margin: 6px;
      padding: 4px;
      cursor: pointer;
      border-radius: 4px;
    }
  .milkdown .milkdown-toolbar .toolbar-item:hover {
        background: var(--crepe-color-hover);
      }
  .milkdown .milkdown-toolbar .toolbar-item:active {
        background: var(--crepe-color-selected);
      }
  .milkdown .milkdown-toolbar .toolbar-item svg {
        height: 24px;
        width: 24px;
        color: var(--crepe-color-outline);
        fill: var(--crepe-color-outline);
      }
  .milkdown .milkdown-toolbar .toolbar-item.active svg {
          color: var(--crepe-color-primary);
          fill: var(--crepe-color-primary);
        }
.ProseMirror .tableWrapper {
  overflow-x: auto;
}
.ProseMirror table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  overflow: hidden;
}
.ProseMirror td,
.ProseMirror th {
  vertical-align: top;
  box-sizing: border-box;
  position: relative;
}

.ProseMirror td:not([data-colwidth]):not(.column-resize-dragging),
.ProseMirror th:not([data-colwidth]):not(.column-resize-dragging) {
  /* if there's no explicit width set and the column is not being resized, set a default width */
  min-width: var(--default-cell-min-width);
}

.ProseMirror .column-resize-handle {
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 20;
  background-color: #adf;
  pointer-events: none;
}
.ProseMirror.resize-cursor {
  cursor: ew-resize;
  cursor: col-resize;
}
/* Give selected cells a blue overlay */
.ProseMirror .selectedCell:after {
  z-index: 2;
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(200, 200, 255, 0.4);
  pointer-events: none;
}

/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wcm9zZS90YWJsZXMvc3R5bGUvdGFibGVzLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiJ0YWJsZXMuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCAnQG1pbGtkb3duL3Byb3NlL3RhYmxlcy9zdHlsZS90YWJsZXMuY3NzJztcbiJdfQ== */

.milkdown .milkdown-table-block {
    display: block;
    margin: 4px 0;
  }

.milkdown .milkdown-table-block th,
    .milkdown .milkdown-table-block td {
      border: 1px solid
        color-mix(in srgb, var(--crepe-color-outline), transparent 80%);
      padding: 4px 16px;
    }

.milkdown .milkdown-table-block th .ProseMirror-selectednode, .milkdown .milkdown-table-block td .ProseMirror-selectednode {
        background-color: transparent !important;
      }

.milkdown .milkdown-table-block th:has(.ProseMirror-selectednode), .milkdown .milkdown-table-block td:has(.ProseMirror-selectednode) {
        outline: 1px solid var(--crepe-color-primary);
        outline-offset: -1px;
      }

.milkdown .milkdown-table-block .selectedCell::after {
        background-color: var(--crepe-color-selected);
        opacity: 0.4;
      }

.milkdown .milkdown-table-block .selectedCell ::-moz-selection {
        background: transparent;
      }

.milkdown .milkdown-table-block .selectedCell ::selection {
        background: transparent;
      }

.milkdown .milkdown-table-block .drag-preview {
      background-color: var(--crepe-color-surface);
      opacity: 0.4;
      position: absolute;
      z-index: 100;
      display: flex;
      flex-direction: column;
      outline: 1px solid var(--crepe-color-primary);
      outline-offset: -1px;
    }

.milkdown .milkdown-table-block .drag-preview[data-show='false'] {
        display: none;
      }

.milkdown .milkdown-table-block .drag-preview th:has(.ProseMirror-selectednode), .milkdown .milkdown-table-block .drag-preview td:has(.ProseMirror-selectednode) {
          outline: none;
        }

.milkdown .milkdown-table-block .handle {
      position: absolute;
      font-size: 14px;
      transition: opacity ease-in-out 0.2s;
    }

.milkdown .milkdown-table-block .handle[data-show='false'] {
      opacity: 0;
    }

.milkdown .milkdown-table-block svg {
      fill: var(--crepe-color-outline);
    }

.milkdown .milkdown-table-block .cell-handle {
      z-index: 50;
      left: -999px;
      top: -999px;
      cursor: grab;
      background-color: var(--crepe-color-surface);
      color: var(--crepe-color-outline);
      border-radius: 100px;
      box-shadow: var(--crepe-shadow-1);
      transition: background-color 0.2s ease-in-out;
    }

.milkdown .milkdown-table-block .cell-handle:hover {
        background-color: var(--crepe-color-hover);
      }

.milkdown .milkdown-table-block .cell-handle:has(.button-group:hover) {
        background-color: var(--crepe-color-surface);
      }

.milkdown .milkdown-table-block .cell-handle[data-role='col-drag-handle'] {
        transform: translateY(50%);
        padding: 0 6px;
        width: 28px;
        height: 16px;
      }

.milkdown .milkdown-table-block .cell-handle[data-role='row-drag-handle'] {
        transform: translateX(50%);
        padding: 6px 0;
        width: 16px;
        height: 28px;
      }

.milkdown .milkdown-table-block .cell-handle .button-group {
        position: absolute;
        transform: translateX(-50%);
        left: 50%;
        top: -52px;
        display: flex;
        background-color: var(--crepe-color-surface);
        border-radius: 8px;
        box-shadow: var(--crepe-shadow-1);
      }

.milkdown .milkdown-table-block .cell-handle .button-group::after {
          content: '';
          position: absolute;
          bottom: -8px;
          height: 8px;
          background-color: transparent;
          width: 100%;
        }

.milkdown .milkdown-table-block .cell-handle .button-group[data-show='false'] {
          display: none;
        }

.milkdown .milkdown-table-block .cell-handle .button-group button {
          cursor: pointer;
          margin: 6px;
          padding: 4px;
          display: flex;
          justify-content: center;
          align-items: center;
          border-radius: 4px;
        }

.milkdown .milkdown-table-block .cell-handle .button-group button svg {
            width: 24px;
            height: 24px;
          }

.milkdown .milkdown-table-block .cell-handle .button-group button:hover {
            border-radius: 8px;
            background-color: var(--crepe-color-hover);
          }

.milkdown .milkdown-table-block .cell-handle .button-group button:active {
            background: var(--crepe-color-selected);
          }

.milkdown .milkdown-table-block .cell-handle:hover {
        opacity: 1;
      }

.milkdown .milkdown-table-block .line-handle {
      z-index: 20;
      background-color: var(--crepe-color-primary);
    }

.milkdown .milkdown-table-block .line-handle:hover {
        opacity: 1;
      }

.milkdown .milkdown-table-block .line-handle .add-button {
        cursor: pointer;
        background-color: var(--crepe-color-surface);
        color: var(--crepe-color-outline);
        border-radius: 100px;
        box-shadow: var(--crepe-shadow-1);
        transition: background-color 0.2s ease-in-out;
      }

.milkdown .milkdown-table-block .line-handle .add-button svg {
          width: 16px;
          height: 16px;
        }

.milkdown .milkdown-table-block .line-handle .add-button:hover {
          background-color: var(--crepe-color-hover);
        }

.milkdown .milkdown-table-block .line-handle .add-button:active {
          background: var(--crepe-color-selected);
        }

.milkdown .milkdown-table-block .line-handle[data-role='x-line-drag-handle'] {
        height: 1px;
        z-index: 2;
      }

.milkdown .milkdown-table-block .line-handle[data-role='x-line-drag-handle'] .add-button {
          position: absolute;
          transform: translateX(-50%) translateY(-50%);
          padding: 6px 0;
          width: 16px;
          height: 28px;
        }

.milkdown .milkdown-table-block .line-handle[data-role='y-line-drag-handle'] {
        width: 1px;
        z-index: 1;
      }

.milkdown .milkdown-table-block .line-handle[data-role='y-line-drag-handle'] .add-button {
          position: absolute;
          transform: translateY(-50%) translateX(-50%);
          padding: 0 6px;
          width: 28px;
          height: 16px;
        }

.milkdown .milkdown-table-block .line-handle[data-display-type='indicator'] .add-button {
          display: none;
        }

.milkdown .milkdown-table-block.readonly .handle {
      display: none;
    }
@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,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) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.17.0"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}

.milkdown span[data-type='math_inline'] {
    padding: 0 4px;
    display: inline-block;
    vertical-align: bottom;
    color: var(--crepe-color-primary);
  }

.milkdown .milkdown-latex-inline-edit[data-show='false'] {
      display: none;
    }

.milkdown .milkdown-latex-inline-edit{
    position: absolute;
    background: var(--crepe-color-surface);
    box-shadow: var(--crepe-shadow-1);
    border-radius: 8px;
    padding: 2px 6px 2px 12px;
}

.milkdown .milkdown-latex-inline-edit .container {
      display: flex;
      gap: 6px;
      align-items: flex-start;
    }

.milkdown .milkdown-latex-inline-edit .container button {
        width: 24px;
        height: 24px;
        cursor: pointer;
        border-radius: 8px;
      }

.milkdown .milkdown-latex-inline-edit .container button:hover {
          background: var(--crepe-color-hover);
        }

.milkdown .milkdown-latex-inline-edit .ProseMirror {
      padding: 0;
      min-width: 174px;
      max-width: 294px;
      font-family: var(--crepe-font-code);
    }
.milkdown .milkdown-top-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    background: var(--crepe-color-surface);
    padding: 0 12px;
    min-height: 44px;
    border-bottom: 1px solid
      color-mix(in srgb, var(--crepe-color-outline), transparent 80%);
    flex-wrap: wrap;
  }

    .milkdown .milkdown-top-bar .top-bar-inner {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      width: 100%;
    }

    .milkdown .milkdown-top-bar .top-bar-divider {
      width: 1px;
      background: color-mix(
        in srgb,
        var(--crepe-color-outline),
        transparent 80%
      );
      height: 24px;
      margin: 10px;
      flex-shrink: 0;
    }

    .milkdown .milkdown-top-bar .top-bar-heading-selector {
      position: relative;
      flex-shrink: 0;
      padding: 6px;
    }

    .milkdown .milkdown-top-bar .top-bar-heading-button {
      display: flex;
      align-items: center;
      text-align: left;
      padding: 4px 4px 4px 10px;
      border-radius: 4px;
      cursor: pointer;
      height: 32px;
      box-sizing: border-box;
    }

    .milkdown .milkdown-top-bar .top-bar-heading-button:hover {
        background: var(--crepe-color-hover);
      }

    .milkdown .milkdown-top-bar .top-bar-heading-button .top-bar-heading-label {
        font-family: var(--crepe-font-default);
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: 0.1px;
        color: var(--crepe-color-on-surface);
        white-space: nowrap;
        min-width: 80px;
      }

    .milkdown .milkdown-top-bar .top-bar-heading-button .top-bar-chevron {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }

    .milkdown .milkdown-top-bar .top-bar-heading-button .top-bar-chevron svg {
          width: 16px;
          height: 16px;
          color: var(--crepe-color-outline);
          stroke: var(--crepe-color-outline);
          fill: none;
        }

    .milkdown .milkdown-top-bar .top-bar-heading-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 20;
      background: var(--crepe-color-surface);
      box-shadow: var(--crepe-shadow-2);
      border-radius: 8px;
      padding: 8px 4px 4px;
      min-width: 160px;
    }

    .milkdown .milkdown-top-bar .top-bar-heading-option {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      text-align: left;
      width: 100%;
      padding: 8px 12px;
      border-radius: 4px;
      cursor: pointer;
      font-family: var(--crepe-font-default);
      font-size: 14px;
      font-weight: 400;
      line-height: 20px;
      color: var(--crepe-color-on-surface);
      white-space: nowrap;
    }

    .milkdown .milkdown-top-bar .top-bar-heading-option:hover {
        background: var(--crepe-color-hover);
      }

    .milkdown .milkdown-top-bar .top-bar-heading-option.active {
        font-weight: 600;
        color: var(--crepe-color-primary);
      }

    .milkdown .milkdown-top-bar .top-bar-item {
      width: 32px;
      height: 32px;
      margin: 6px;
      padding: 4px;
      cursor: pointer;
      border-radius: 4px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .milkdown .milkdown-top-bar .top-bar-item:hover {
        background: var(--crepe-color-hover);
      }

    .milkdown .milkdown-top-bar .top-bar-item:active {
        background: var(--crepe-color-selected);
      }

    .milkdown .milkdown-top-bar .top-bar-item svg {
        height: 24px;
        width: 24px;
        color: var(--crepe-color-outline);
        fill: var(--crepe-color-outline);
      }

    .milkdown .milkdown-top-bar .top-bar-item.active svg {
          color: var(--crepe-color-primary);
          fill: var(--crepe-color-primary);
        }
.milkdown {
  --crepe-color-diff-added: #22c55e;
  --crepe-color-diff-removed: #ef4444;

  --crepe-color-diff-added-bg: color-mix(
    in srgb,
    var(--crepe-color-diff-added),
    transparent 88%
  );
  --crepe-color-diff-added-text: color-mix(
    in srgb,
    var(--crepe-color-diff-added),
    var(--crepe-color-on-background) 40%
  );
  --crepe-color-diff-removed-bg: color-mix(
    in srgb,
    var(--crepe-color-diff-removed),
    transparent 88%
  );
  --crepe-color-diff-removed-text: color-mix(
    in srgb,
    var(--crepe-color-diff-removed),
    var(--crepe-color-on-background) 40%
  );
}

  /* Inline deletion: strikethrough */
  .milkdown .milkdown-diff-removed {
    text-decoration: line-through;
    background-color: var(--crepe-color-diff-removed-bg);
    color: var(--crepe-color-diff-removed-text);
  }
  /* Block deletion: node-level overlay for custom node views */
  .milkdown .milkdown-diff-removed-block {
    position: relative;
    opacity: 0.45;
    outline: 2px dashed var(--crepe-color-diff-removed) !important;
    outline-offset: 2px;
    border-radius: 4px;
    background-color: var(--crepe-color-diff-removed-bg);
  }
  /* Inline insertion */
  .milkdown .milkdown-diff-added {
    background-color: var(--crepe-color-diff-added-bg);
    color: var(--crepe-color-diff-added-text);
    padding: 0 2px;
    border-radius: 2px;
  }
  /* Block insertion */
  .milkdown .milkdown-diff-added-block {
    display: block;
    background-color: var(--crepe-color-diff-added-bg);
    border-left: 3px solid var(--crepe-color-diff-added);
    border-radius: 4px;
    padding: 8px 12px;
    margin: 8px 0;
  }
  .milkdown .milkdown-diff-added-block h1,
    .milkdown .milkdown-diff-added-block h2,
    .milkdown .milkdown-diff-added-block h3,
    .milkdown .milkdown-diff-added-block h4,
    .milkdown .milkdown-diff-added-block h5,
    .milkdown .milkdown-diff-added-block h6 {
      color: var(--crepe-color-diff-added-text);
      margin: 4px 0;
    }
  .milkdown .milkdown-diff-added-block p {
      color: var(--crepe-color-diff-added-text);
      margin: 4px 0;
    }
  .milkdown .milkdown-diff-added-block ul,
    .milkdown .milkdown-diff-added-block ol {
      color: var(--crepe-color-diff-added-text);
      margin: 4px 0;
      padding-left: 20px;
    }
  .milkdown .milkdown-diff-added-block li {
      margin: 2px 0;
    }
  .milkdown .milkdown-diff-added-block table {
      border-collapse: collapse;
      width: 100%;
      margin: 4px 0;
    }
  .milkdown .milkdown-diff-added-block th,
    .milkdown .milkdown-diff-added-block td {
      border: 1px solid
        color-mix(in srgb, var(--crepe-color-diff-added), transparent 50%);
      padding: 6px 12px;
      text-align: left;
    }
  .milkdown .milkdown-diff-added-block th {
      font-weight: 600;
    }
  .milkdown .milkdown-diff-added-block img {
      max-width: 100%;
      border-radius: 4px;
    }
  .milkdown .milkdown-diff-added-block pre,
    .milkdown .milkdown-diff-added-block code {
      background: color-mix(
        in srgb,
        var(--crepe-color-diff-added),
        transparent 94%
      );
      border-radius: 4px;
      padding: 8px 12px;
      font-family: var(--crepe-font-code);
      font-size: 13px;
      overflow-x: auto;
      display: block;
      white-space: pre;
    }
  /* Inline controls */
  .milkdown .milkdown-diff-controls {
    display: inline-flex;
    gap: 3px;
    margin: 0 4px;
    vertical-align: middle;
    white-space: nowrap;
  }
  .milkdown .milkdown-diff-controls button {
      font-family: var(--crepe-font-default);
      font-size: 11px;
      line-height: 1;
      padding: 2px 6px;
      border-radius: 3px;
      cursor: pointer;
      border: 1px solid;
      font-weight: 500;
    }
  /* Block controls */
  .milkdown .milkdown-diff-controls-block {
    display: flex;
    gap: 4px;
    margin: 4px 0;
  }
  .milkdown .milkdown-diff-accept {
    background-color: color-mix(
      in srgb,
      var(--crepe-color-diff-added),
      var(--crepe-color-background) 85%
    );
    color: var(--crepe-color-diff-added-text);
    border-color: color-mix(
      in srgb,
      var(--crepe-color-diff-added),
      transparent 50%
    );
  }
  .milkdown .milkdown-diff-accept:hover {
      background-color: color-mix(
        in srgb,
        var(--crepe-color-diff-added),
        var(--crepe-color-background) 75%
      );
    }
  .milkdown .milkdown-diff-reject {
    background-color: color-mix(
      in srgb,
      var(--crepe-color-diff-removed),
      var(--crepe-color-background) 85%
    );
    color: var(--crepe-color-diff-removed-text);
    border-color: color-mix(
      in srgb,
      var(--crepe-color-diff-removed),
      transparent 50%
    );
  }
  .milkdown .milkdown-diff-reject:hover {
      background-color: color-mix(
        in srgb,
        var(--crepe-color-diff-removed),
        var(--crepe-color-background) 75%
      );
    }
/* Every selector lives under `.milkdown` so the AI feature's class names
   (which include generic ones like `.ai-instruction-*`) can't leak into
   host applications that happen to reuse the same names. Mirrors the
   pattern used by the other Crepe theme files. */

/* AI Instruction Tooltip */
.milkdown .milkdown-ai-instruction {
  position: absolute;
  z-index: 10;
}

.milkdown .milkdown-ai-instruction[data-show='false'] {
  display: none;
}

.milkdown .milkdown-ai-instruction > .ai-instruction {
  width: 360px;
  background: var(--crepe-color-surface);
  border-radius: 12px;
  box-shadow: var(--crepe-shadow-2);
  font-family: var(--crepe-font-default);
  font-size: 14px;
  color: var(--crepe-color-on-background);
  overflow: hidden;
}

.milkdown .ai-instruction-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px;
  padding: 4px 4px 4px 12px;
  background: var(--crepe-color-background);
  border: 1px solid
    color-mix(in srgb, var(--crepe-color-primary) 35%, transparent);
  border-radius: 999px;
}

.milkdown .ai-instruction-input-prefix {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--crepe-color-primary);
}

.milkdown .ai-instruction-input-prefix svg {
  width: 18px;
  height: 18px;
  color: var(--crepe-color-primary);
  fill: var(--crepe-color-primary);
}

.milkdown .ai-instruction-input-field {
  flex: 1;
  min-width: 0;
  outline: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  color: var(--crepe-color-on-background);
  padding: 4px 0;
}

.milkdown .ai-instruction-input-field::-moz-placeholder {
  color: var(--crepe-color-outline);
}

.milkdown .ai-instruction-input-field::placeholder {
  color: var(--crepe-color-outline);
}

.milkdown .ai-instruction-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--crepe-color-primary);
  color: var(--crepe-color-on-inverse);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.milkdown .ai-instruction-submit svg {
  width: 16px;
  height: 16px;
  color: var(--crepe-color-on-inverse);
  fill: var(--crepe-color-on-inverse);
}

.milkdown .ai-instruction-submit:hover:not(:disabled) {
  background: color-mix(in srgb, var(--crepe-color-primary) 85%, white);
}

.milkdown .ai-instruction-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.milkdown .ai-instruction-list {
  max-height: 320px;
  overflow-y: auto;
  padding-bottom: 6px;
}

.milkdown .ai-instruction-back {
  /* Rendered as a real <button> for keyboard / screen-reader access;
     reset the user-agent button styling so it visually matches the
     surrounding palette chrome. */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 4px;
  cursor: pointer;
  color: var(--crepe-color-outline);
  font-size: 12px;
  font-weight: 500;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.milkdown .ai-instruction-back:hover {
  color: var(--crepe-color-on-background);
}

.milkdown .ai-instruction-back-icon {
  display: inline-flex;
}

.milkdown .ai-instruction-back-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.milkdown .ai-instruction-section {
  display: flex;
  flex-direction: column;
}

.milkdown .ai-instruction-section-header {
  padding: 6px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--crepe-color-outline);
  text-transform: uppercase;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.milkdown .ai-instruction-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  color: var(--crepe-color-on-background);
}

.milkdown .ai-instruction-item.active {
  background: var(--crepe-color-hover);
}

.milkdown .ai-instruction-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.milkdown .ai-instruction-item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--crepe-color-on-surface-variant);
  fill: var(--crepe-color-on-surface-variant);
  stroke: var(--crepe-color-on-surface-variant);
}

.milkdown .ai-instruction-item-label {
  flex: 1;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.milkdown .ai-instruction-item-label mark {
  background: var(--crepe-color-secondary);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

.milkdown .ai-instruction-item-arrow {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--crepe-color-outline);
}

.milkdown .ai-instruction-item-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.milkdown .ai-instruction-item-prompt .ai-instruction-item-label {
  color: var(--crepe-color-primary);
}

.milkdown .ai-instruction-item-prompt .ai-instruction-item-icon svg {
  color: var(--crepe-color-primary);
  fill: var(--crepe-color-primary);
}

.milkdown .ai-instruction-item-quote {
  font-weight: 500;
}

.milkdown .ai-instruction-item-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 4px;
  border-radius: 4px;
  background: var(--crepe-color-surface-low);
  color: var(--crepe-color-outline);
  flex-shrink: 0;
}

.milkdown .ai-instruction-item-shortcut svg {
  width: 14px;
  height: 14px;
  color: var(--crepe-color-outline);
  fill: var(--crepe-color-outline);
}

/* Streaming Indicator */
.milkdown .milkdown-ai-streaming-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 12px;
  margin: 4px 0;
  border-radius: 999px;
  border: 1px solid
    color-mix(in srgb, var(--crepe-color-primary) 20%, transparent);
  background: var(--crepe-color-surface);
  vertical-align: middle;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: var(--crepe-font-default);
}

.milkdown .milkdown-ai-streaming-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid
    color-mix(in srgb, var(--crepe-color-primary) 25%, transparent);
  border-top-color: var(--crepe-color-primary);
  flex-shrink: 0;
  /* Rotation is driven by requestAnimationFrame in JS so it survives
     DOM re-mounts when the indicator's position advances. */
  will-change: transform;
}

.milkdown .milkdown-ai-streaming-label {
  font-size: 13px;
  line-height: 18px;
  color: var(--crepe-color-on-background);
}

.milkdown .milkdown-ai-streaming-esc {
  font-family: var(--crepe-font-code, ui-monospace, monospace);
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--crepe-color-surface-low);
  color: var(--crepe-color-outline);
}

/* Diff Actions Panel — appended to the editor's `.milkdown` host so the
   descendant selector below matches even though `position: fixed` takes
   the panel out of normal flow. */
.milkdown .milkdown-ai-diff-actions {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--crepe-color-surface);
  border: 1px solid
    color-mix(in srgb, var(--crepe-color-primary) 18%, transparent);
  border-radius: 999px;
  box-shadow: var(--crepe-shadow-2);
  font-family: var(--crepe-font-default);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.milkdown .milkdown-ai-diff-actions[data-show='false'] {
  display: none;
}

.milkdown .milkdown-ai-diff-actions-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--crepe-color-on-background);
  cursor: pointer;
  white-space: nowrap;
}

.milkdown .milkdown-ai-diff-actions-btn:hover {
  background: var(--crepe-color-hover);
}

.milkdown .milkdown-ai-diff-actions-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.milkdown .milkdown-ai-diff-actions-btn:disabled:hover {
  background: transparent;
}

.milkdown .milkdown-ai-diff-actions-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.milkdown .milkdown-ai-diff-actions-icon svg {
  width: 16px;
  height: 16px;
  color: currentColor;
  fill: currentColor;
}

.milkdown .milkdown-ai-diff-actions-btn-retry {
  color: var(--crepe-color-on-surface-variant);
}

.milkdown .milkdown-ai-diff-actions-btn-reject {
  color: var(--crepe-color-diff-removed-text, #ba1a1a);
  background: color-mix(
    in srgb,
    var(--crepe-color-diff-removed, #ef4444) 8%,
    transparent
  );
}

.milkdown .milkdown-ai-diff-actions-btn-reject:hover {
  background: color-mix(
    in srgb,
    var(--crepe-color-diff-removed, #ef4444) 16%,
    transparent
  );
}

.milkdown .milkdown-ai-diff-actions-btn-accept {
  color: var(--crepe-color-diff-added-text, #166534);
  background: color-mix(
    in srgb,
    var(--crepe-color-diff-added, #22c55e) 12%,
    transparent
  );
}

.milkdown .milkdown-ai-diff-actions-btn-accept:hover {
  background: color-mix(
    in srgb,
    var(--crepe-color-diff-added, #22c55e) 22%,
    transparent
  );
}

.milkdown .milkdown-ai-diff-actions-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  background: color-mix(
    in srgb,
    var(--crepe-color-diff-added, #22c55e) 14%,
    transparent
  );
  font-family: var(--crepe-font-code, ui-monospace, monospace);
  font-size: 11px;
  color: inherit;
}

.milkdown .milkdown-ai-diff-actions-shortcut-icon {
  display: inline-flex;
}

.milkdown .milkdown-ai-diff-actions-shortcut-icon svg {
  width: 12px;
  height: 12px;
  color: currentColor;
  fill: currentColor;
}
.milkdown {
  --crepe-color-background: #ffffff;
  --crepe-color-on-background: #000000;
  --crepe-color-surface: #f7f7f7;
  --crepe-color-surface-low: #ededed;
  --crepe-color-on-surface: #1c1c1c;
  --crepe-color-on-surface-variant: #4d4d4d;
  --crepe-color-outline: #a8a8a8;
  --crepe-color-primary: #333333;
  --crepe-color-secondary: #cfcfcf;
  --crepe-color-on-secondary: #000000;
  --crepe-color-inverse: #f0f0f0;
  --crepe-color-on-inverse: #1a1a1a;
  --crepe-color-inline-code: #ba1a1a;
  --crepe-color-error: #ba1a1a;
  --crepe-color-hover: #e0e0e0;
  --crepe-color-selected: #d5d5d5;
  --crepe-color-inline-area: #cacaca;

  --crepe-font-title: 'Noto Serif', Cambria, 'Times New Roman', Times, serif;
  --crepe-font-default: 'Noto Sans', Arial, Helvetica, sans-serif;
  --crepe-font-code:
    'Space Mono', Fira Code, Menlo, Monaco, 'Courier New', Courier, monospace;

  --crepe-shadow-1:
    0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
  --crepe-shadow-2:
    0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
}
@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,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) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.47"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}
/* You can add global styles to this file, and also import other style files */

/*
  Font baseline. Setting the family on `html`/`body` makes the cascade reach
  every descendant — including portaled MUI components (Modal, Popover, Menu)
  and the toast viewport, which render outside the theme provider's inner
  <Box> and would otherwise fall back to the UA default. Pinned to Plus Jakarta
  Sans (the upGrad product face) so the embedded assessment matches learner-fe.
*/
:root {
  --app-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html,
body {
  font-family: var(--app-font-family);
}

/* Reset the browser's default 8px body margin — the app owns full-bleed
   layout (it also renders inside the learner's assessment iframe, where any
   body gutter shows as an unwanted inset). */
body {
  margin: 0;
}

/* Attempt-runner answer options (AnswerInput). The resting/selected background
   is set inline, so the hover tint needs `!important` to win. Only unselected
   options react — the selected one keeps its brand tint. */
.qb-answer-option:not(.is-checked):hover {
  background: #f5f4f8 !important;
  border-color: #dad7e3 !important;
}
/**
 * assessmentAi.css — styling + keyframes for the post-assessment AI lesson
 * recommendation flow (AssessmentAiRecommendation) and the module-sidebar slot
 * the generated lesson "flies" into (AssessmentAiDemoPage).
 *
 * The AI surface has its OWN fixed indigo/violet identity (it deliberately does
 * NOT follow the tenant brand — mirrors the existing LearningPanel AI rail). All
 * tokens below are scoped under `.aiq-*` so they never leak into other features.
 */
.aiq-root {
  /* Inherit the tenant/app face (Plus Jakarta Sans) explicitly so portaled
     contexts never fall back to the UA serif. */
  font-family: inherit;
  --aiq-1: #d621f5;
  --aiq-2: #8a3efb;
  --aiq-3: #6f00ff;
  --aiq-4: #424bbb;
  --aiq-5: #1728f5;
  --aiq-ink: #221bac;
  --aiq-cta: #5935d8;
  --aiq-grad: linear-gradient(120deg, #8a3efb 0%, #6f00ff 44%, #424bbb 100%);
  --aiq-grad-rich: linear-gradient(120deg, #d621f5 0%, #8a3efb 48%, #1728f5 100%);
  --aiq-soft: linear-gradient(160deg, rgba(138, 62, 251, 0.1), rgba(66, 75, 187, 0.1));
  --aiq-cap-bg: #e7e4ff;
  --aiq-cap-grad: linear-gradient(95deg, #a365df 0%, #4d64c7 100%);
  --aiq-line: #eeeeee;
  --aiq-ink-3: #6b6678;
  --aiq-shadow-1: 0 1px 2px rgba(38, 50, 56, 0.06), 0 1px 3px rgba(38, 50, 56, 0.1);
  --aiq-shadow-2: 0 8px 28px rgba(38, 50, 56, 0.12);
  --aiq-shadow-ai: 0 10px 30px rgba(89, 53, 216, 0.28);
}

/* ============ AI RECOMMENDATION CARD ============ */
.aiq-card {
  margin-top: 22px;
  border-radius: 16px;
  position: relative;
  background: #f9f8fd;
  border: 1px solid transparent;
  box-shadow: var(--aiq-shadow-1);
  overflow: hidden;
}
.aiq-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: var(--aiq-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.aiq-band {
  height: 3px;
  background: var(--aiq-grad-rich);
}
.aiq-inner {
  padding: 22px 24px;
}
.aiq-h {
  display: flex;
  align-items: center;
  gap: 12px;
}
.aiq-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--aiq-grad-rich);
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--aiq-shadow-ai);
}
.aiq-mark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: aiq-sheen 3.4s ease-in-out infinite;
}
@keyframes aiq-sheen {
  0% {
    transform: translateX(-160%) skewX(-18deg);
  }
  55%,
  100% {
    transform: translateX(280%) skewX(-18deg);
  }
}
.aiq-star {
  position: relative;
  z-index: 1;
  transform-origin: center;
}
.aiq-star.aiq-twinkle {
  animation: aiq-twinkle 2.6s ease-in-out infinite;
}
@keyframes aiq-twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0);
  }
  50% {
    transform: scale(1.12) rotate(9deg);
  }
}
/* The small spark beside the main star flickers (matches `.aistar .s-spark`). */
.aiq-star-spark {
  animation: aiq-flick 1.7s ease-in-out infinite;
}
@keyframes aiq-flick {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
.aiq-h .aiq-ttl {
  font-size: 16px;
  font-weight: 700;
  color: #1d1b26;
}
.aiq-h .aiq-sub {
  font-size: 12.5px;
  color: var(--aiq-ink-3);
  margin-top: 1px;
}
.aiq-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--aiq-cap-bg);
  border-radius: 13px;
  padding: 5px 12px 5px 10px;
}
.aiq-chip .aiq-cap-txt {
  font-size: 13px;
  font-weight: 600;
  background: var(--aiq-cap-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aiq-stage[hidden] {
  display: none;
}
.aiq-fb-text {
  font-size: 14.5px;
  color: #455a64;
  line-height: 1.6;
  margin: 14px 0 4px;
}
.aiq-fb-text b {
  color: #1d1b26;
}
.aiq-topics {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.aiq-topic {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px 20px;
  border: 1px solid var(--aiq-line);
  border-radius: 11px;
  padding: 12px 14px;
  background: #fff;
}
.aiq-tw {
  flex: 0 0 auto;
  min-width: 0;
}
/* Progress bar fills the space beside the title, band pinned to the right. */
.aiq-trow {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.aiq-topic .aiq-tn {
  font-size: 14px;
  font-weight: 600;
  color: #1d1b26;
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aiq-topic .aiq-tnote {
  font-size: 11.5px;
  color: var(--aiq-ink-3);
  margin-top: 3px;
  font-weight: 400;
}
.aiq-topic .aiq-tbar {
  flex: 1 1 auto;
  min-width: 300px;
  max-width: 450px;
  height: 7px;
  border-radius: 6px;
  background: #eceff1;
  overflow: hidden;
}
.aiq-topic .aiq-tbar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  width: 0;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.aiq-topic .aiq-tsc {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.aiq-topic.aiq-low i {
  background: #e53935;
}
.aiq-topic.aiq-low .aiq-tsc {
  color: #e53935;
}
.aiq-topic.aiq-mid i {
  background: #ef6c00;
}
.aiq-topic.aiq-mid .aiq-tsc {
  color: #ef6c00;
}

.aiq-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.aiq-cta-note {
  font-size: 12.5px;
  color: var(--aiq-ink-3);
}
.aiq-btn-ai {
  margin-left: auto;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 11px;
  padding: 13px 22px;
  background: var(--aiq-cta);
  box-shadow: var(--aiq-shadow-ai);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.aiq-btn-ai:hover {
  transform: translateY(-1px);
  background: #4b2bc4;
  box-shadow: 0 14px 36px rgba(89, 53, 216, 0.4);
}
.aiq-btn-ai:active {
  transform: translateY(0);
}
.aiq-btn-ai:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

/* ---- Analyse stage ---- */
.aiq-an-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  margin-top: 18px;
  align-items: center;
}
.aiq-core {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 45%, #f4f2ff, #fff 72%);
  border: 1px solid #eceff1;
}
.aiq-halo {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #8a3efb, #d621f5, #1728f5, #73e5e2, #8a3efb);
  filter: blur(30px);
  opacity: 0.3;
  animation: aiq-spin 6s linear infinite;
}
@keyframes aiq-spin {
  to {
    transform: rotate(360deg);
  }
}
.aiq-ring {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px solid rgba(89, 53, 216, 0.4);
  animation: aiq-ripple 2.4s ease-out infinite;
}
.aiq-ring.aiq-r2 {
  animation-delay: 0.8s;
}
.aiq-ring.aiq-r3 {
  animation-delay: 1.6s;
}
@keyframes aiq-ripple {
  0% {
    transform: scale(0.55);
    opacity: 0.7;
  }
  100% {
    transform: scale(3.3);
    opacity: 0;
  }
}
.aiq-orb {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--aiq-grad-rich);
  display: grid;
  place-items: center;
  box-shadow: var(--aiq-shadow-ai);
  animation: aiq-breathe 1.8s ease-in-out infinite;
}
@keyframes aiq-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}
.aiq-pcl {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--aiq-2);
  box-shadow: 0 0 6px var(--aiq-2);
  animation: aiq-converge 2.2s ease-in infinite;
}
@keyframes aiq-converge {
  0% {
    transform: translate(var(--sx), var(--sy)) scale(0.5);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) scale(1.1);
    opacity: 0;
  }
}
.aiq-an-steps {
  display: grid;
  gap: 14px;
}
.aiq-an-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--aiq-ink-3);
  transition: color 0.3s;
}
.aiq-an-step .aiq-sdot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cfd8dc;
  display: grid;
  place-items: center;
  flex: none;
  transition: 0.3s;
  color: #fff;
}
.aiq-an-step.aiq-active {
  color: #1d1b26;
  font-weight: 600;
}
.aiq-an-step.aiq-active .aiq-sdot {
  border-color: var(--aiq-cta);
  box-shadow: 0 0 0 4px rgba(89, 53, 216, 0.12);
}
.aiq-an-step.aiq-done .aiq-sdot {
  background: var(--aiq-grad);
  border-color: transparent;
}
.aiq-spin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(89, 53, 216, 0.3);
  border-top-color: var(--aiq-cta);
  animation: aiq-sp 0.7s linear infinite;
}
@keyframes aiq-sp {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Assemble stage ---- */
.aiq-assemble {
  margin-top: 18px;
  display: grid;
  place-items: center;
  min-height: 230px;
}
.aiq-gen-card {
  width: 340px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid transparent;
  position: relative;
  box-shadow: var(--aiq-shadow-2);
  padding: 18px;
  transform: scale(0.96);
  opacity: 0;
  transition: 0.4s;
}
.aiq-gen-card.aiq-show {
  transform: scale(1);
  opacity: 1;
}
.aiq-gen-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: var(--aiq-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.aiq-gen-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.aiq-gen-top .aiq-gi {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--aiq-grad-rich);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.aiq-gen-top .aiq-gt {
  font-weight: 700;
  font-size: 15px;
  color: #1d1b26;
}
.aiq-gen-top .aiq-gm {
  font-size: 11.5px;
  color: var(--aiq-ink-3);
}
.aiq-gen-line {
  height: 11px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef0f3, #e2e6ea, #eef0f3);
  background-size: 200% 100%;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.4s;
  width: 88%;
}
.aiq-gen-line.aiq-show {
  opacity: 1;
  transform: none;
  animation: aiq-shimmer-line 1.4s linear infinite;
}
@keyframes aiq-shimmer-line {
  to {
    background-position: -200% 0;
  }
}
.aiq-gen-mods {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}
.aiq-gen-mod {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #455a64;
  border: 1px solid var(--aiq-line);
  border-radius: 9px;
  padding: 9px 11px;
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.4s;
}
.aiq-gen-mod.aiq-show {
  opacity: 1;
  transform: none;
}
.aiq-gen-mod .aiq-gmi {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(138, 62, 251, 0.12);
  color: var(--aiq-cta);
  display: grid;
  place-items: center;
  flex: none;
}

/* ---- Done stage ---- */
.aiq-done-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 13px;
  background: var(--aiq-soft);
  border: 1px solid rgba(89, 53, 216, 0.22);
}
.aiq-done-box .aiq-dok {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--aiq-grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  box-shadow: var(--aiq-shadow-ai);
}
.aiq-done-box .aiq-dt {
  font-size: 15px;
  font-weight: 700;
  color: #1d1b26;
}
.aiq-done-box .aiq-dm {
  font-size: 13px;
  color: #455a64;
  margin-top: 3px;
  line-height: 1.5;
}
.aiq-done-box .aiq-dm b {
  color: var(--aiq-cta);
}
.aiq-btn-go {
  margin-left: auto;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  padding: 11px 18px;
  background: var(--aiq-cta);
  box-shadow: var(--aiq-shadow-ai);
  white-space: nowrap;
}

/* ============ FLYER (the card that travels to the sidebar) ============ */
.aiq-flyer {
  position: fixed;
  z-index: 2000;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--aiq-shadow-ai);
  border: 1.5px solid var(--aiq-cta);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  pointer-events: none;
}
.aiq-flyer .aiq-fi {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--aiq-grad-rich);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.aiq-flyer .aiq-ft {
  font-size: 13px;
  font-weight: 600;
  color: #1d1b26;
}
.aiq-spark {
  position: fixed;
  z-index: 2001;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #73e5e2;
  pointer-events: none;
  box-shadow: 0 0 8px #73e5e2;
}

/* ============ SIDEBAR AI SLOT (destination) ============ */
.aiq-slot {
  overflow: hidden;
  height: 0;
  opacity: 0;
}
.aiq-asset {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 11px;
  position: relative;
  background: var(--aiq-soft);
  border: 1px solid transparent;
  background-clip: padding-box;
  cursor: pointer;
}
.aiq-asset::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 11px;
  padding: 1px;
  background: var(--aiq-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.aiq-asset .aiq-a-ico {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--aiq-grad-rich);
  color: #fff;
  box-shadow: 0 4px 12px rgba(89, 53, 216, 0.32);
}
.aiq-asset .aiq-a-body {
  flex: 1;
  min-width: 0;
}
.aiq-asset .aiq-a-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1d1b26;
}
.aiq-asset .aiq-a-name .aiq-nm {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aiq-tag {
  flex: none;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  background: var(--aiq-grad);
  padding: 2px 5px;
  border-radius: 5px;
  line-height: 1;
}
.aiq-asset .aiq-a-meta {
  color: var(--aiq-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11.5px;
  margin-top: 2px;
}
.aiq-go {
  font-size: 12px;
  font-weight: 600;
  color: var(--aiq-cta);
  white-space: nowrap;
  flex: none;
}
.aiq-glow {
  animation: aiq-glow-pulse 1.8s ease-out 2;
}
@keyframes aiq-glow-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(89, 53, 216, 0.45);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(89, 53, 216, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aiq-root *,
  .aiq-flyer,
  .aiq-spark {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1s !important;
  }
}
/* growthReportTransition.css — the full-screen launch animation played before
 * navigating from the AI Learning Coach banner to the Growth Report. Scoped
 * under `.grt-*`. Indigo→purple→magenta "AI coach" palette, matching the
 * banner orb and the report hero. Everything is CSS keyframes; the JS only
 * times the step ticker + score count-up + the final navigate. All motion is
 * disabled under prefers-reduced-motion (the component also self-suppresses). */

.grt-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #2a2350 0%, #171331 55%, #0d0a20 100%);
  animation: grt-overlay-in 0.4s ease both;
  transition: opacity 0.45s ease;
}

/* Graceful fade-out before navigating (no hard cut into the report). */
.grt-overlay--exit {
  opacity: 0;
}
.grt-overlay--exit .grt-card {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Soft drifting colour blobs behind the card. */
.grt-aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  filter: blur(64px);
  opacity: 0.7;
}
.grt-aurora::before,
.grt-aurora::after {
  content: '';
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
}
.grt-aurora::before {
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(138, 62, 251, 0.55), transparent 60%);
  animation: grt-drift-a 9s ease-in-out infinite alternate;
}
.grt-aurora::after {
  right: -10%;
  bottom: -14%;
  background: radial-gradient(circle, rgba(64, 111, 252, 0.5), transparent 60%);
  animation: grt-drift-b 11s ease-in-out infinite alternate;
}

/* Glass card. */
.grt-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 34px 32px 28px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: grt-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

/* Orb with expanding rings (mirrors the banner's .alc-orb). */
.grt-orb {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
}
.grt-orb-core {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #406ffc, #8a3efb 55%, #d621f5);
  box-shadow: 0 12px 30px rgba(138, 62, 251, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  animation: grt-orb-bob 2.6s ease-in-out infinite;
}
.grt-ring {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 2px solid rgba(179, 142, 255, 0.6);
  animation: grt-ring 2.2s ease-out infinite;
}
.grt-ring:nth-child(2) {
  animation-delay: 0.73s;
}
.grt-ring:nth-child(3) {
  animation-delay: 1.46s;
}

.grt-heading {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.grt-sub {
  margin-top: -8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

/* Forming growth-bar chart. It carries the moment now that the score row is
   gone, so it runs taller and wider. The rising heights are a rhythm, not a
   reading of the learner's scores. */
.grt-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 92px;
  margin-top: 10px;
}
.grt-bar {
  width: 18px;
  border-radius: 9px 9px 4px 4px;
  background: linear-gradient(180deg, #b38eff, #406ffc);
  transform-origin: bottom;
  animation: grt-bar 1.9s ease-in-out infinite;
}
.grt-bar:nth-child(1) {
  height: 24%;
  animation-delay: 0s;
}
.grt-bar:nth-child(2) {
  height: 36%;
  animation-delay: 0.1s;
}
.grt-bar:nth-child(3) {
  height: 52%;
  animation-delay: 0.2s;
}
.grt-bar:nth-child(4) {
  height: 64%;
  animation-delay: 0.3s;
}
.grt-bar:nth-child(5) {
  height: 86%;
  animation-delay: 0.4s;
}
.grt-bar:nth-child(6) {
  height: 76%;
  animation-delay: 0.5s;
}
.grt-bar:nth-child(7) {
  height: 100%;
  animation-delay: 0.6s;
}

/* Stepped "analysing…" ticker. */
.grt-steps {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.grt-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.35s ease;
}
.grt-step-dot {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.grt-step-check {
  display: block;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.grt-step--on {
  color: #fff;
}
.grt-step--on .grt-step-dot {
  border-color: #7cf2b0;
  background: #39d98a;
  box-shadow: 0 0 12px rgba(57, 217, 138, 0.6);
}
.grt-step--on .grt-step-check {
  opacity: 1;
  transform: scale(1);
}

.grt-caption {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Progress bar filling over the animation lifetime. */
.grt-progress {
  margin-top: 6px;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.grt-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #406ffc, #8a3efb, #d621f5);
  box-shadow: 0 0 12px rgba(138, 62, 251, 0.7);
  /* Fill across the visible lifetime (up to the fade-out), so it reads as
     ~complete just as the overlay leaves. */
  animation: grt-fill 3.5s cubic-bezier(0.33, 0, 0.2, 1) forwards;
}

/* ── Keyframes ─────────────────────────────────────────────────────── */

@keyframes grt-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes grt-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grt-ring {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes grt-orb-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes grt-bar {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes grt-fill {
  to {
    width: 100%;
  }
}

@keyframes grt-drift-a {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(6%, 8%);
  }
}

@keyframes grt-drift-b {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-7%, -6%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .grt-overlay,
  .grt-card,
  .grt-aurora::before,
  .grt-aurora::after,
  .grt-orb-core,
  .grt-ring,
  .grt-bar,
  .grt-progress-fill {
    animation: none;
  }
  .grt-progress-fill {
    width: 100%;
  }
}
/**
 * aiLearningCoachBanner.css — the "AI Learning Coach" entry banner (Phase C
 * Slice 5, Figma node 158-4988). Scoped under `.alc-*` so nothing leaks into
 * other features. Horizontal layout that wraps to a stacked column on narrow
 * viewports; the decorative grid watermark is approximated with a faint
 * linear gradient rather than a masked SVG asset.
 */
.alc-card {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 40%),
    #eaeaff;
  font-family: 'Roboto', inherit;
}

.alc-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 380px;
  min-width: 0;
}

/* Orb + label/subtitle sit on one row; the blurb + CTA drop below, left-aligned
   to the orb (per design) rather than indented under the label. */
.alc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.alc-orb {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #406ffc, #8a3efb);
  box-shadow: 0 6px 14px rgba(138, 62, 251, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.alc-copy {
  min-width: 0;
}

.alc-label {
  font-family: 'Roboto', inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #181f6c;
}

.alc-subtitle {
  margin-top: 2px;
  font-family: 'Roboto', inherit;
  font-size: 12px;
  color: #8f8888;
}

.alc-blurb {
  margin: 0;
  max-width: 46ch;
  font-family: 'Roboto', inherit;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.2px;
  color: #626262;
}

.alc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Nudged right so it doesn't sit flush under the orb. */
  margin-left: 40px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 20px;
  background: #ee2c3c;
  color: #fff;
  font-family: 'Plus Jakarta Sans', inherit;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 8px rgba(238, 44, 60, 0.3);
  transition: transform 0.15s, box-shadow 0.2s;
}
.alc-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 16px rgba(238, 44, 60, 0.36);
}
.alc-cta:active {
  transform: translateY(0);
}

/* ── Generating state ──────────────────────────────────────────────── */

/* Non-interactive status pill in the AI-coach theme (indigo→purple). */
.alc-cta--generating {
  cursor: default;
  background: linear-gradient(135deg, #406ffc, #8a3efb);
  box-shadow: 0 6px 8px rgba(138, 62, 251, 0.3);
}
.alc-cta--generating:hover {
  transform: none;
  box-shadow: 0 6px 8px rgba(138, 62, 251, 0.3);
}

.alc-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: alc-spin 0.8s linear infinite;
}

/* Pulsing orb signals active work. */
.alc-orb--pulse {
  animation: alc-orb-pulse 1.8s ease-in-out infinite;
}

/* Animated "growth chart building" — bars grow/shrink on a stagger. */
.alc-gen {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 271px;
  max-width: 100%;
}

.alc-gen-viz {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 56px;
}

.alc-gen-bar {
  width: 12px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #8a3efb, #406ffc);
  transform-origin: bottom;
  animation: alc-grow 1.2s ease-in-out infinite;
}
.alc-gen-bar:nth-child(1) {
  height: 40%;
  animation-delay: 0s;
}
.alc-gen-bar:nth-child(2) {
  height: 70%;
  animation-delay: 0.15s;
}
.alc-gen-bar:nth-child(3) {
  height: 55%;
  animation-delay: 0.3s;
}
.alc-gen-bar:nth-child(4) {
  height: 90%;
  animation-delay: 0.45s;
}

.alc-gen-caption {
  font-family: 'Roboto', inherit;
  font-size: 12px;
  color: #6a5da8;
  letter-spacing: 0.2px;
}

@keyframes alc-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes alc-orb-pulse {
  0%,
  100% {
    box-shadow: 0 6px 14px rgba(138, 62, 251, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.45);
  }
  50% {
    box-shadow: 0 6px 22px rgba(138, 62, 251, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.45);
  }
}

@keyframes alc-grow {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alc-spinner,
  .alc-orb--pulse,
  .alc-gen-bar {
    animation: none;
  }
}

.alc-stats {
  flex: none;
  width: 300px;
  max-width: 100%;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 44px rgba(0, 0, 0, 0.14);
  padding: 16px 18px;
}

.alc-score-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.alc-score {
  font-family: 'Plus Jakarta Sans', inherit;
  font-weight: 800;
  font-size: 24px;
  color: #18794e;
}

.alc-from {
  font-family: 'Plus Jakarta Sans', inherit;
  font-weight: 500;
  font-size: 12px;
  color: #636363;
}

.alc-divider {
  margin: 12px 0;
  height: 1px;
  background: #ececec;
}

.alc-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Staggered per the design: "skills improved" hugs the left, "areas to focus
   on" drops to the next line and aligns right. */
.alc-pill:first-child {
  align-self: flex-start;
}
.alc-pill:last-child {
  align-self: flex-end;
}

.alc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 12px;
  background: #372a49;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  color: #fff;
  font-size: 12px;
  font-family: 'Roboto', inherit;
  white-space: nowrap;
}

.alc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffc24d;
  flex: none;
}

@media (max-width: 640px) {
  .alc-card {
    padding: 18px;
  }
  .alc-stats {
    width: 100%;
  }
}
/* Growth Report — page, hero, section header, skill cards + insights.
 * Matches the "Learning Growth Report" Figma. Colour tokens live alongside
 * in growthTokens.ts. Typography inherits the app baseline (Plus Jakarta
 * Sans via --app-font-family); no per-block font-family overrides. */

/* ── Page ──────────────────────────────────────────────────────────── */

.gr-page {
  background: #f7f6fa;
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Close (X) — dismiss the report, pinned to the top-right. */
.gr-close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 30;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e7e4f0;
  background: #ffffff;
  color: #4a4658;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(35, 20, 45, 0.1);
  transition: background 0.15s, transform 0.15s;
}
.gr-close:hover {
  background: #f4f2fa;
  transform: translateY(-1px);
}

.gr-page-center {
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gr-loading-text {
  margin-top: 12px;
  color: #6b6678;
  font-size: 14px;
}

.gr-pending-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  color: #4a4557;
  font-size: 15px;
  max-width: 480px;
}

/* ── Page header ───────────────────────────────────────────────────── */

.gr-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gr-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #1d1b26;
}

.gr-subtitle {
  margin: 0;
  font-size: 13px;
  color: #6b6678;
}

/* ── Hero (AI coach) ───────────────────────────────────────────────── */

.gr-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f0ff 0%, #efe9ff 100%);
  border-radius: 24px;
  box-shadow: 0 30px 44px rgba(35, 20, 45, 0.14);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.gr-hero-art {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  height: 150%;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.gr-hero-summary,
.gr-hero-reco {
  position: relative;
  z-index: 1;
}

.gr-hero-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 460px;
}

.gr-hero-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #1d1b26;
}

.gr-hero-summary-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.gr-hero-overall {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gr-hero-label {
  color: rgba(0, 0, 0, 0.55);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gr-hero-scores {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gr-hero-pre {
  font-size: 24px;
  font-weight: 700;
  color: #1d1b26;
}

.gr-hero-arrow {
  color: #8a8794;
  font-size: 24px !important;
}

.gr-hero-post {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  color: #00b303;
}

.gr-hero-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gr-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #312552;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.gr-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffc24d;
}

.gr-hero-reco {
  flex: 1 1 320px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gr-reco-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gr-reco-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(120deg, #d621f5 0%, #8a3efb 48%, #1728f5 100%);
  box-shadow: 0 10px 30px rgba(89, 53, 216, 0.28);
  flex-shrink: 0;
}

.gr-reco-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #263238;
}

.gr-reco-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #607d8b;
  max-width: 360px;
}

.gr-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  background: #5935d8;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 15px rgba(89, 53, 216, 0.28);
}

.gr-cta:hover {
  background: #4c2bc0;
}

/* Staged-lesson card, portalled to a slot just below the hero. Rendered as an
   OVERLAY (absolute, zero-height slot) so it straddles the hero's bottom edge and
   floats over the content below — `.gr-page` uses flex `gap`, so an in-flow card
   can't overlap; taking it out of flow is what makes it an overlay. Hidden while
   idle via :empty so it never reserves space. */
.gr-launcher-slot:empty {
  display: none;
}
.gr-launcher-slot {
  position: relative;
  height: 0;
  z-index: 6;
}
.gr-launcher-slot .aiq-root {
  position: absolute;
  /* Straddle the hero's bottom edge but sit BELOW the CTA — the slot is ~one
     flex-gap (24px) below the hero, so -56px overlaps up ~32px into the hero. */
  top: -56px;
  /* Shifted right of centre so it sits under the "Recommendations / Help me
     learn this" block (the reco column), not the page centre. */
  left: 66%;
  transform: translateX(-50%);
  width: min(560px, 86vw);
}

@media (min-width: 900px) {
  .gr-hero-reco {
    border-left: 1px solid rgba(35, 20, 45, 0.12);
    padding-left: 28px;
  }
}

/* ── Section header + legend ───────────────────────────────────────── */

.gr-progression-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Row below the heading: the Get Insights toggle (left) + legend (right),
 * with a divider separating the section from the card grid. */
.gr-insights-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 2px solid #eceaf2;
  padding-bottom: 16px;
}

.gr-get-insights {
  margin-top: 0;
  align-self: center;
}

/* Keep the legend right-aligned whether or not the Get Insights button is
 * present (the button removes itself once insights are revealed). */
.gr-insights-bar .gr-legends {
  margin-left: auto;
}

.gr-progression-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gr-progression-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #ee2c3c;
}

.gr-progression-heading {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1d1b26;
}

.gr-legends {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.gr-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gr-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b6678;
}

.gr-legend-swatch {
  display: inline-block;
  flex-shrink: 0;
}

.gr-legend-level {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  border: 1px solid transparent;
}

.gr-legend-dashed {
  width: 22px;
  height: 0;
  border-top: 2px dashed #3590e9;
}

.gr-legend-hollow {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #a09bae;
  background: #ffffff;
}

.gr-legend-filled {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6b6678;
}

/* ── Card grid ─────────────────────────────────────────────────────── */

.gr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .gr-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Skill card ────────────────────────────────────────────────────── */

.gr-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eceaf2;
  border-radius: 20px;
  box-shadow: 0 2px 2px rgba(35, 28, 55, 0.04), 0 14px 17px rgba(35, 28, 55, 0.08);
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(35, 28, 55, 0.06), 0 24px 34px rgba(35, 28, 55, 0.16);
}

.gr-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gr-skill-name {
  color: #1d1b26;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.gr-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  /* Held hidden until the chart line finishes — see the .gr-in-view rule. */
  opacity: 0;
  transform: scale(0.85);
}
/* The trend badge is the payoff: pop it in right as the line reaches the post
 * marker (delay = line start 0.35s + draw 0.85s, scaled by --gr-paint). */
.gr-in-view .gr-badge {
  animation: gr-badge-in calc(0.4s * var(--gr-paint, 1)) cubic-bezier(0.34, 1.56, 0.64, 1)
    calc(1.2s * var(--gr-paint, 1)) forwards;
}

@keyframes gr-badge-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.gr-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.gr-post-label {
  color: #a09bae;
  font-size: 12px;
}

.gr-cohort-note {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.gr-score-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.gr-post-score {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.gr-pre-score {
  color: #6b6678;
  font-size: 12px;
}

.gr-chart-wrap {
  margin-top: 12px;
}

.gr-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Insights panel (revealed inside each skill card, below the chart) ── */

.gr-insights {
  background: #f7f7ff;
  border-top: 2px solid #8367ed;
  border-radius: 12px;
  padding: 14px 16px;
}

/* In-card: sit below the chart, separated by a hairline divider. */
.gr-card .gr-insights {
  position: relative;
  margin-top: 20px;
}
.gr-card .gr-insights::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 1px;
  background: #eceaf2;
}

.gr-insights-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gr-insights-skill {
  font-size: 14px;
  font-weight: 700;
  color: #1d1b26;
}

.gr-insights-skill::before {
  content: '·';
  margin: 0 6px;
  color: #a09bae;
}

.gr-insights-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eaf1fd;
  color: #4842c3;
  flex-shrink: 0;
}

.gr-insights-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #4842c3;
}

.gr-insights-narrative {
  margin: 12px 0 10px;
  font-size: 14px;
  line-height: 1.44;
  color: #3a3f47;
}

.gr-insights-next-steps-label {
  font-size: 14px;
  font-weight: 500;
  color: #646464;
  margin: 0 0 4px;
}

.gr-insights-next-steps {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.44;
  color: #3a3f47;
}

.gr-insights-next-steps li {
  margin-bottom: 2px;
}

/* ── AI insights per-card "scan beam" loader ────────────────────────────
 * On Get Insights, EACH card is scanned separately: a glowing beam sweeps down
 * inside the card ("reading your skills"), un-dimming it top→bottom, then the
 * insight panels reveal. Count-independent. Duration mirrors SCAN_MS. */
.gr-grid-wrap {
  position: relative;
}
.gr-card-scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
  border-radius: 20px;
}
/* Translucent scrim over the card that recedes top→bottom behind the beam. */
.gr-card-veil {
  position: absolute;
  inset: 0;
  background: rgba(247, 246, 250, 0.66);
  animation: gr-scan-reveal 1.8s linear forwards;
}
@keyframes gr-scan-reveal {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(100% 0 0 0);
  }
}
/* The sweeping beam: a soft glow band with a bright centre line. */
.gr-card-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 96px;
  margin-top: -48px;
  background: linear-gradient(180deg, transparent, rgba(138, 62, 251, 0.18), transparent);
  animation: gr-scan-move 1.8s linear forwards;
}
.gr-card-beam::after {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #8a3efb 35%, #406ffc 65%, transparent);
  box-shadow: 0 0 16px 2px rgba(138, 62, 251, 0.7);
}
@keyframes gr-scan-move {
  from {
    top: 0;
  }
  to {
    top: 100%;
  }
}
/* Floating status pill. */
.gr-scan-caption {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(33, 20, 55, 0.88);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(89, 53, 216, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.gr-scan-spin {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: gr-spin 0.7s linear infinite;
}
@keyframes gr-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gr-card-scan {
    display: none;
  }
}

/* ── AI insight "generation" reveal ─────────────────────────────────────
 * Thinking shimmer → typewriter narrative (blinking caret) → bullets slide in.
 * Driven by GrowthInsights when `animate` is set. */
.gr-insights--gen {
  min-height: 120px;
}

.gr-insights-shimmer {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 12px 0 6px;
}
.gr-shimmer-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ece9f6 25%, #f7f5fc 37%, #ece9f6 63%);
  background-size: 400% 100%;
  animation: gr-shimmer 1.15s ease-in-out infinite;
}
.gr-shimmer-line--short {
  width: 58%;
}
@keyframes gr-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Blinking cursor at the end of the streaming narrative. */
.gr-insights-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #8367ed;
  animation: gr-caret 0.75s step-end infinite;
}
@keyframes gr-caret {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Pulsing halo on the sparkle while "thinking". */
.gr-insights-icon--think {
  animation: gr-think 1.2s ease-in-out infinite;
}
@keyframes gr-think {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(131, 103, 237, 0);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(131, 103, 237, 0.18);
  }
}

/* Next-step bullets slide in one at a time. */
.gr-insights-next-steps li.gr-step-in {
  opacity: 0;
  transform: translateX(-6px);
}
.gr-insights-next-steps li.gr-step-in--on {
  animation: gr-step-in 0.35s ease forwards;
}
@keyframes gr-step-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gr-shimmer-line,
  .gr-insights-caret,
  .gr-insights-icon--think {
    animation: none;
  }
  .gr-insights-next-steps li.gr-step-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ── Entrance animations ───────────────────────────────────────────────
 * Sections "place" themselves into view in sequence on mount (right after
 * the launch overlay hands off). Card grid staggers per item. All disabled
 * under prefers-reduced-motion. */

@keyframes gr-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gr-fade-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gr-pop {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.gr-header {
  animation: gr-fade-down 0.5s ease both;
}
.gr-hero {
  animation: gr-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.06s;
}
.gr-hero-post {
  animation: gr-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.36s;
}
.gr-progression-head {
  animation: gr-fade-up 0.5s ease both;
  animation-delay: 0.16s;
}
.gr-insights-bar {
  animation: gr-fade-up 0.5s ease both;
  animation-delay: 0.22s;
}

/* Cards start hidden and reveal only when scrolled into view (see the
 * IntersectionObserver in GrowthSkillCard, which adds .gr-in-view). Each
 * card's chart "paint" is gated the same way, so the whole card comes alive
 * exactly when you reach it rather than on a fixed load-time queue. */
.gr-card {
  opacity: 0;
}
.gr-card.gr-in-view {
  animation: gr-card-reveal calc(0.6s * var(--gr-paint, 1)) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes gr-card-reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gr-header,
  .gr-hero,
  .gr-hero-post,
  .gr-progression-head,
  .gr-insights-bar,
  .gr-grid > * {
    animation: none;
  }
}

@keyframes gr-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── Hero sheen sweep ───────────────────────────────────────────────────
 * A single diagonal light streak wipes across the hero on entrance. Clipped
 * by the hero's overflow:hidden; sits behind the text (z-index:1 content). */
.gr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 32%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 68%
  );
  transform: translateX(-120%);
  animation: gr-sheen 1.1s ease 0.35s 1;
}

@keyframes gr-sheen {
  to {
    transform: translateX(120%);
  }
}

/* ── Skill chart "paint on" ─────────────────────────────────────────────
 * The graph assembles itself: bands wipe up, gridlines/cohort fade, the
 * pre→post connector draws left→right, the growth area fills under it, and
 * the markers pop with a one-shot ripple on the post point. Timings are
 * chart-local (all start on mount) and tuned to read as a single gesture. */
/* Base (pre-reveal) hidden states — held until the card is in view. */
.gr-chart-band {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: bottom;
}
.gr-chart-grid,
.gr-chart-cohort,
.gr-chart-area,
.gr-chart-val-pre,
.gr-chart-val-post {
  opacity: 0;
}
.gr-chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.gr-chart-pre,
.gr-chart-post {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
}
.gr-chart-post-halo {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

/* Paint on — triggered when the card scrolls into view. All durations + delays
 * scale by --gr-paint (set per-card by the page; >1 = slower & smoother, used
 * when there are few skills). */
.gr-in-view .gr-chart-band {
  animation: gr-band-in calc(0.5s * var(--gr-paint, 1)) ease both;
}
.gr-in-view .gr-chart-grid {
  animation: gr-fade-in calc(0.5s * var(--gr-paint, 1)) ease calc(0.15s * var(--gr-paint, 1)) forwards;
}
.gr-in-view .gr-chart-cohort {
  animation: gr-fade-in calc(0.5s * var(--gr-paint, 1)) ease calc(0.3s * var(--gr-paint, 1)) forwards;
}
.gr-in-view .gr-chart-line {
  animation: gr-draw calc(0.85s * var(--gr-paint, 1)) cubic-bezier(0.4, 0, 0.2, 1)
    calc(0.35s * var(--gr-paint, 1)) forwards;
}
.gr-in-view .gr-chart-area {
  animation: gr-fade-in calc(0.6s * var(--gr-paint, 1)) ease calc(0.95s * var(--gr-paint, 1)) forwards;
}
.gr-in-view .gr-chart-pre {
  animation: gr-pop-in calc(0.45s * var(--gr-paint, 1)) cubic-bezier(0.34, 1.56, 0.64, 1)
    calc(0.35s * var(--gr-paint, 1)) forwards;
}
.gr-in-view .gr-chart-post {
  animation: gr-pop-in calc(0.5s * var(--gr-paint, 1)) cubic-bezier(0.34, 1.56, 0.64, 1)
    calc(1s * var(--gr-paint, 1)) forwards;
}
.gr-in-view .gr-chart-post-halo {
  animation: gr-ripple calc(0.9s * var(--gr-paint, 1)) ease-out calc(1.1s * var(--gr-paint, 1)) 1;
}
.gr-in-view .gr-chart-val-pre {
  animation: gr-fade-in calc(0.4s * var(--gr-paint, 1)) ease calc(0.6s * var(--gr-paint, 1)) forwards;
}
.gr-in-view .gr-chart-val-post {
  animation: gr-fade-in calc(0.4s * var(--gr-paint, 1)) ease calc(1.15s * var(--gr-paint, 1)) forwards;
}

@keyframes gr-band-in {
  from {
    opacity: 0;
    transform: scaleY(0.55);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes gr-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes gr-pop-in {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes gr-ripple {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(2.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gr-hero::after {
    display: none;
  }
  /* Cards + charts are shown in their final state with no motion. */
  .gr-card,
  .gr-card.gr-in-view {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .gr-badge,
  .gr-in-view .gr-badge {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .gr-chart-band,
  .gr-chart-grid,
  .gr-chart-cohort,
  .gr-chart-area,
  .gr-chart-val-pre,
  .gr-chart-val-post,
  .gr-in-view .gr-chart-band,
  .gr-in-view .gr-chart-grid,
  .gr-in-view .gr-chart-cohort,
  .gr-in-view .gr-chart-area,
  .gr-in-view .gr-chart-val-pre,
  .gr-in-view .gr-chart-val-post {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .gr-chart-line,
  .gr-in-view .gr-chart-line {
    stroke-dashoffset: 0;
    animation: none;
  }
  .gr-chart-pre,
  .gr-chart-post,
  .gr-in-view .gr-chart-pre,
  .gr-in-view .gr-chart-post {
    transform: none;
    animation: none;
  }
  .gr-chart-post-halo {
    display: none;
  }
}
/*$vite$:1*/