:root {
  /* CSS variables */
}
/* Isolate editor content from external/client CSS by reverting all properties.
 * IMPORTANT: We exclude SVG elements and their children from this rule because
 * 'all: revert' breaks SVG rendering (paths don't display, transforms don't work).
 * SVG has its own rendering model and doesn't need CSS isolation the same way text content does.
 */
.sd-editor-scoped,
.sd-editor-scoped :where(*:not(svg):not(svg *):not(.annotation):not([data-drag-handle])),
.sd-editor-scoped :where(*:not(svg):not(svg *)::before),
.sd-editor-scoped :where(*:not(svg):not(svg *)::after) {
  all: revert;
  box-sizing: border-box;
}
/* Ensure SVG display properties for proper rendering */
.sd-editor-scoped svg {
  display: inline-block;
  overflow: visible;
}
.sd-editor-scoped {
  display: block;
}
/*
 * Visual Regression Testing:
 * This CSS isolation is critical for protecting editor content from external stylesheets.
 * Visual regression tests should be added to the visual testing repository to ensure:
 * 1. Text content is not affected by aggressive global CSS
 * 2. SVG shapes (shape groups, vector shapes) render correctly
 * 3. No visual regressions when client applications have conflicting styles
 *
 * Reference: PR #1219 - "improve style scoping in the editor to prevent external styles affecting content"
 * Reference: PR #1236 - "shape groups" (this fix ensures both isolation AND SVG rendering work)
 */
.sd-input-active {
  border: 1px solid #1355ff !important;
}
.sd-super-editor-html .ProseMirror {
  border: 1px solid #d9d9d9;
  outline: none;
  border-radius: 8px;
  height: 100%;
  width: 100%;
  outline: none;
}
.super-editor a {
  color: initial;
  text-decoration: auto;
}
.presentation-editor__selection-caret {
  animation: superdoc-caret-blink 1.2s steps(2, start) infinite;
}
.presentation-editor__permission-overlay {
  pointer-events: none;
}
.presentation-editor__permission-highlight {
  border-radius: 2px;
  background-color: rgba(199, 200, 217, 0.55);
}
@keyframes superdoc-caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  55%,
  100% {
    opacity: 0;
  }
}
/**
 * Basic ProseMirror styles.
 * https://github.com/ProseMirror/prosemirror-view/blob/master/style/prosemirror.css
 *
 * All selectors are scoped under .sd-editor-scoped to prevent bleeding into host apps.
 * See: SD-1850
 */
.sd-editor-scoped .ProseMirror {
  position: relative;
  /* We use "all: revert" to isolate the editor content from external stylesheets. This makes the "contenteditable" not editable on Safari devices. So we need to keep this. */
  -webkit-user-modify: read-write-plaintext-only;
}
.sd-editor-scoped .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 */
  z-index: 0; /* Needed to place images behind text with lower z-index */
}
.sd-editor-scoped .ProseMirror pre {
  white-space: pre-wrap;
}
.sd-editor-scoped .ProseMirror ol,
.sd-editor-scoped .ProseMirror ul {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}
.sd-editor-scoped .ProseMirror ol,
.sd-editor-scoped .ProseMirror ul {
  padding-inline-start: 0;
  padding-left: 0;
  list-style: none;
}
.sd-editor-scoped .ProseMirror li::marker {
  content: none;
}
.sd-editor-scoped .ProseMirror li::marker {
  padding: 0;
  margin: 0;
}
.sd-editor-scoped .ProseMirror li > p {
  margin: 0;
  padding: 0;
  display: inline-block;
}
/**
 * Hide marker for indented lists.
 * If a list-item contains a list but doesn't contain a "p" tag with text.
 */
.sd-editor-scoped .ProseMirror ol {
  margin: 0;
}
.sd-editor-scoped .ProseMirror li:has(> ul:first-child, > ol:first-child):not(:has(> p)) {
  list-style-type: none;
}
.sd-editor-scoped .ProseMirror li:has(> ul:first-child, > ol:first-child):not(:has(> p))::marker {
  content: '';
}
.sd-editor-scoped .ProseMirror-hideselection *::selection {
  background: transparent;
}
.sd-editor-scoped .ProseMirror-hideselection *::-moz-selection {
  background: transparent;
}
.sd-editor-scoped .ProseMirror-hideselection * {
  caret-color: transparent;
}
/* See https://github.com/ProseMirror/prosemirror/issues/1421#issuecomment-1759320191 */
.sd-editor-scoped .ProseMirror [draggable][contenteditable='false'] {
  user-select: text;
}
.sd-editor-scoped .ProseMirror-selectednode {
  outline: 2px solid #8cf;
}
/* Make sure li selections wrap around markers */
.sd-editor-scoped li.ProseMirror-selectednode {
  outline: none;
}
.sd-editor-scoped li.ProseMirror-selectednode:after {
  content: '';
  position: absolute;
  left: -32px;
  right: -2px;
  top: -2px;
  bottom: -2px;
  border: 2px solid #8cf;
  pointer-events: none;
}
.sd-editor-scoped .ProseMirror img {
  height: auto;
  max-width: 100%;
}
/* Protect against generic img rules */
.sd-editor-scoped img.ProseMirror-separator {
  display: inline !important;
  border: none !important;
  margin: 0 !important;
}
.sd-editor-scoped .ProseMirror .sd-editor-tab {
  display: inline-block;
  vertical-align: text-bottom;
}
.sd-editor-scoped .ProseMirror u .sd-editor-tab {
  white-space: pre;
  border-bottom: 1px solid #000;
  margin-bottom: 1.5px;
}
/*
Tables
https://github.com/ProseMirror/prosemirror-tables/blob/master/style/tables.css
https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
*/
.sd-editor-scoped .ProseMirror.resize-cursor {
  cursor: ew-resize;
  cursor: col-resize;
}
.sd-editor-scoped .ProseMirror .tableWrapper {
  --table-border-width: 1px;
  --offset: 2px;

  overflow-x: auto;
  scrollbar-width: thin;
  overflow: visible; /* Allow table to extend beyond margins */

  /*
  The border width does not need to be multiplied by two,
  for tables it works differently. */
  width: calc(100% + (var(--table-border-width) + var(--offset)));
}
.sd-editor-scoped .ProseMirror table {
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: auto;
  margin: 0;
  /* width: 100%; */
}
/* Header/footer editors: constrain table to the editor's available width.
   Raw DOCX grid <col> widths may exceed the section's content area.
   table-layout:auto treats col widths as preferred (not hard) constraints,
   so the browser can redistribute columns to fit within width:100%.
   !important overrides inline styles set by TableView.updateTable()
   which resets styles via table.style.cssText. */
.sd-editor-scoped .ProseMirror.sd-header-footer table {
  table-layout: auto !important;
  width: 100% !important;
  max-width: 100% !important;
}
.sd-editor-scoped .ProseMirror tr {
  position: relative;
}
.sd-editor-scoped .ProseMirror td,
.sd-editor-scoped .ProseMirror th {
  min-width: 0;
  position: relative;
  vertical-align: top;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.sd-editor-scoped .ProseMirror td[data-placeholder],
.sd-editor-scoped .ProseMirror th[data-placeholder] {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.sd-editor-scoped .ProseMirror td[data-placeholder] > *,
.sd-editor-scoped .ProseMirror th[data-placeholder] > * {
  display: none !important;
}
.sd-editor-scoped .ProseMirror th {
  font-weight: bold;
  text-align: left;
}
.sd-editor-scoped .ProseMirror table .column-resize-handle {
  position: absolute;
  right: -2px;
  top: 0;
  bottom: -2px; /* 0 */
  width: 4px;
  z-index: 20;
  background-color: #adf;
  pointer-events: none;
}
.sd-editor-scoped .ProseMirror table .selectedCell:after {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(200, 200, 255, 0.4);
  pointer-events: none;
  z-index: 2;
}
/* Tables - end */
/* Track changes */
.sd-editor-scoped .ProseMirror .track-insert-dec,
.sd-editor-scoped .ProseMirror .track-delete-dec,
.sd-editor-scoped .ProseMirror .track-format-dec {
  pointer-events: none;
}
.sd-editor-scoped .ProseMirror .track-insert-dec.hidden,
.sd-editor-scoped .ProseMirror .track-delete-dec.hidden {
  display: none;
}
.sd-editor-scoped .ProseMirror .track-insert-dec.highlighted {
  border-top: 1px dashed var(--sd-track-insert-border, #00853d);
  border-bottom: 1px dashed var(--sd-track-insert-border, #00853d);
  background-color: var(--sd-track-insert-bg, #399c7222);
}
.sd-editor-scoped .ProseMirror .track-delete-dec.highlighted {
  border-top: 1px dashed var(--sd-track-delete-border, #cb0e47);
  border-bottom: 1px dashed var(--sd-track-delete-border, #cb0e47);
  background-color: var(--sd-track-delete-bg, #cb0e4722);
  text-decoration: line-through !important;
  text-decoration-thickness: 2px !important;
}
.sd-editor-scoped .ProseMirror .track-format-dec.highlighted {
  border-bottom: 2px solid var(--sd-track-format-border, gold);
}
.sd-editor-scoped .ProseMirror .track-delete-widget {
  visibility: hidden;
}
/* Track changes - end */
/* Collaboration cursors */
.sd-editor-scoped .ProseMirror > .ProseMirror-yjs-cursor:first-child {
  margin-top: 16px;
}
.sd-editor-scoped .ProseMirror-yjs-cursor {
  position: relative;
  margin-left: -1px;
  margin-right: -1px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-color: orange;
  word-break: normal;
  pointer-events: none;
}
.sd-editor-scoped .ProseMirror-yjs-cursor > div {
  position: absolute;
  top: -1.05em;
  left: -1px;
  font-size: 13px;
  background-color: rgb(250, 129, 0);
  font-family: serif;
  font-style: normal;
  font-weight: normal;
  line-height: normal;
  user-select: none;
  color: white;
  padding-left: 2px;
  padding-right: 2px;
  white-space: nowrap;
}
/* Collaboration cursors - end */
/* Presentation Editor Remote Cursors */
.presentation-editor__selection-layer--local,
.presentation-editor__selection-layer--remote {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.presentation-editor__remote-caret {
  position: absolute;
  pointer-events: none;
}
.presentation-editor__remote-label {
  position: absolute;
  font-size: 13px;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  line-height: normal;
  pointer-events: none;
  user-select: none;
  /* Drop shadow for better readability over varied backgrounds */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  /* Ensure labels appear above selections */
  z-index: 1;
}
.presentation-editor__remote-selection {
  position: absolute;
  border-radius: 2px;
  pointer-events: none;
  /* Better color blending with text (multiply mode shows text more clearly through highlights) */
  mix-blend-mode: multiply;
}
/* Presentation Editor Remote Cursors - end */
/* Footnotes */
.sd-editor-scoped .sd-footnote-ref {
  font-size: 0.75em;
  line-height: 1;
  vertical-align: super;
  user-select: none;
}
/* Image placeholder */
.sd-editor-scoped .ProseMirror placeholder {
  display: inline;
  border: 1px solid #ccc;
  color: #ccc;
}
.sd-editor-scoped .ProseMirror placeholder:after {
  content: '☁';
  font-size: 200%;
  line-height: 0.1;
  font-weight: bold;
}
/* Gapcursor */
.sd-editor-scoped .ProseMirror-gapcursor {
  display: none;
  pointer-events: none;
  position: absolute;
  margin: 0;
}
.sd-editor-scoped .ProseMirror-gapcursor:after {
  content: '';
  display: block;
  position: absolute;
  top: -2px;
  width: 20px;
  border-top: 1px solid black;
  animation: superdoc-cursor-blink 1.1s steps(2, start) infinite;
}
@keyframes superdoc-cursor-blink {
  to {
    visibility: hidden;
  }
}
.sd-editor-scoped .ProseMirror-focused .ProseMirror-gapcursor {
  display: block;
}
.sd-editor-scoped .ProseMirror div[data-type='contentBlock'] {
  position: absolute;
  outline: none;
  user-select: none;
  z-index: -1;
}
.sd-editor-scoped .ProseMirror div[data-horizontal-rule='true'] {
  position: relative;
  z-index: auto;
  display: inline-block;
  vertical-align: middle;
  margin-top: auto;
  align-self: flex-end;
}
.sd-editor-scoped .sd-editor-dropcap {
  float: left;
  display: flex;
  align-items: baseline;
  margin-top: -5px;
}
.sd-editor-scoped .ProseMirror-search-match {
  background-color: #ffff0054;
}
.sd-editor-scoped .ProseMirror-active-search-match {
  background-color: #ff6a0054;
}
.sd-editor-scoped .ProseMirror span.sd-custom-selection::selection {
  background: transparent;
}
.sd-editor-scoped .sd-custom-selection {
  background-color: #d9d9d9;
  border-radius: 0.1em;
}
.superdoc-toolbar svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.superdoc-toolbar svg path {
    stroke: currentColor;
  }
.sd-editor-toolbar-dropdown .n-dropdown-option .dropdown-select-icon {
  display: flex;
  width: 12px;
  height: 12px;
}
/* Custom toolbar styling */
/* AI button icon styling with gradient */
.super-editor .toolbar-icon__icon--ai {
  position: relative;
  z-index: 1;
}
.super-editor .toolbar-icon__icon--ai svg {
  fill: transparent;
}
.super-editor .toolbar-icon__icon--ai::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(
    270deg,
    rgba(218, 215, 118, 0.5) -20%,
    rgba(191, 100, 100, 1) 30%,
    rgba(77, 82, 217, 1) 60%,
    rgb(255, 219, 102) 150%
  );
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>")
    center / contain no-repeat;
  mask: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>")
    center / contain no-repeat;
  filter: brightness(1.2);
  transition: filter 0.2s ease;
}
.super-editor .toolbar-icon__icon--ai:hover::before {
  filter: brightness(1.3);
}
/* AI text appear animation */
@keyframes superdoc-aiTextAppear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.super-editor .sd-ai-text-appear {
  display: inline;
  opacity: 0;
  animation: superdoc-aiTextAppear 0.7s ease-out forwards;
  animation-fill-mode: both;
  will-change: opacity, transform;
  /* Ensure each mark is treated as a separate animation context */
  contain: content;
}
.super-editor .sd-ai-loader {
  display: flex;
  justify-content: flex-start;
}
.super-editor .sd-ai-loader > img {
  width: fit-content;
  height: 40px;
}
@keyframes superdoc-ai-pulse {
  0% {
    background-color: rgba(99, 102, 241, 0.1);
  }
  50% {
    background-color: rgba(99, 102, 241, 0.375);
  }
  100% {
    background-color: rgba(99, 102, 241, 0.1);
  }
}
.super-editor .sd-ai-highlight-pulse {
  animation: superdoc-ai-pulse 1.5s ease-in-out infinite;
}
.super-editor .sd-editor-auto-page-number,
.super-editor .sd-editor-auto-total-pages {
  transition: all 250ms ease;
  border-bottom: 1px solid #9a9a9a;
  cursor: not-allowed;
}
.super-editor .sd-editor-auto-page-number:hover,
.super-editor .sd-editor-auto-total-pages:hover {
  border-bottom-color: #4f4f4f;
}
.super-editor .sd-editor-auto-page-number-content {
  pointer-events: none;
}
.super-editor .ProseMirror.view-mode .sd-editor-auto-page-number,
  .super-editor .ProseMirror.view-mode .sd-editor-auto-total-pages {
    border: none;
  }
.sd-editor-popover {
  background-color: #fff;
  border-radius: 8px;
  -webkit-box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
  -moz-box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
  box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
  padding: 0;
  width: auto;
  height: auto;
  font-size: 14px;
  color: #333;
  z-index: 1000;
}
.sd-editor-popover .popover-header {
  font-weight: bold;
  margin-bottom: 8px;
}
.tippy-box[data-theme~='sd-editor-popover'] {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border: none !important;
  padding: 0 !important;
}
.tippy-box[data-theme~='sd-editor-popover'] .tippy-arrow {
  color: #fff;
  border: 1px solid #dbdbdb;
}
.tippy-box[data-theme~='sd-editor-popover'] .tippy-content {
  padding: 0;
}
.sd-editor-placeholder::before {
  content: attr(data-placeholder);
  color: #aaa;
  pointer-events: none;
  display: block;
  height: 0;
}
.sd-editor-mention {
  background-color: #1355ff15;
  color: #222;
  font-weight: 400;
  border-radius: 3px;
  padding: 0 5px;
  cursor: default;
  display: inline-block;
  box-sizing: border-box;
}
.sd-editor-comment-highlight {
  transition: background-color 250ms ease;
}
.sd-editor-comment-highlight:hover {
  background-color: var(--sd-comment-highlight-hover, #1354ff55);
}
.sd-editor-comment-highlight.sd-custom-selection {
  background-color: #d6c0c6 !important;
}
/* Resize handles container */
.sd-editor-resize-container.sd-editor-scoped {
  position: absolute;
  pointer-events: none;
  z-index: 11;
}
/* Resize handles */
.sd-editor-scoped .sd-editor-resize-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #4dabf7;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  transition: all 0.1s ease;
}
.sd-editor-scoped .sd-editor-resize-handle:hover {
  background-color: #228be6;
  transform: scale(1.1);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}
/* Handle positions */
.sd-editor-scoped .sd-editor-resize-handle-nw {
  top: -6px;
  left: -6px;
  cursor: nwse-resize;
}
.sd-editor-scoped .sd-editor-resize-handle-ne {
  top: -6px;
  right: -6px;
  cursor: nesw-resize;
}
.sd-editor-scoped .sd-editor-resize-handle-sw {
  bottom: -6px;
  left: -6px;
  cursor: nesw-resize;
}
.sd-editor-scoped .sd-editor-resize-handle-se {
  bottom: -6px;
  right: -6px;
  cursor: nwse-resize;
}
/* Hide handles when editor loses focus */
.sd-editor-scoped .ProseMirror:not(.ProseMirror-focused) .sd-editor-resize-container {
  display: none;
}
/* Smooth transitions for resizing */
.sd-editor-scoped .sd-editor-resizable-wrapper * {
  transition: none;
}
.sd-editor-scoped .sd-editor-resizable-wrapper *:not([style*='width']) {
  transition: all 0.2s ease;
}
/* Resize feedback indicator */
.sd-editor-scoped .sd-editor-resizable-wrapper::after {
  content: 'Drag corners to resize';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(77, 171, 247, 0.9);
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 12;
}
.sd-editor-scoped .sd-editor-resizable-wrapper:hover::after {
  opacity: 1;
}
.super-editor .sd-document-section-block {
  background-color: #fafafa;
  border: 1px solid #ababab;
  border-radius: 4px;
  position: relative;
}
.super-editor .sd-document-section-block-info {
  position: absolute;
  top: -19px;
  left: -1px;
  max-width: 100px;
  min-width: 0;
  height: 18px;
  border: 1px solid #ababab;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 0 8px;
  align-items: center;
  font-size: 10px;
  display: none;
  z-index: 100;
  background-color: #fafafa;
}
.super-editor .sd-document-section-block:hover {
  border-radius: 0 4px 4px 4px;
}
.super-editor .sd-document-section-block:hover .sd-document-section-block-info {
  display: flex;
  align-items: center;
}
.super-editor .sd-document-section-block-info span {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.super-editor .ProseMirror.view-mode .sd-document-section-block {
  background: none;
  border: none;
}
.super-editor .ProseMirror.view-mode .sd-document-section-block-info {
  display: none;
}
.super-editor .sd-structured-content,
.super-editor .sd-structured-content-block {
  padding: 1px;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid transparent;
  position: relative;
}
.super-editor .sd-structured-content:has(img),
.super-editor .sd-structured-content:has(img) .sd-structured-content__content {
  display: inline-block;
}
/* Hover (not selected): light grey background, no handle */
.super-editor .sd-structured-content:not(.ProseMirror-selectednode):hover,
.super-editor .sd-structured-content-block:not(.ProseMirror-selectednode):hover {
  background-color: #f2f2f2;
}
/* Selected: border + handle visible */
.super-editor .sd-structured-content.ProseMirror-selectednode,
.super-editor .sd-structured-content-block.ProseMirror-selectednode {
  border-color: #629be7;
}
.super-editor .sd-structured-content-draggable {
  font-size: 10px;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 2px;
  bottom: 100%;
  width: calc(100% - 4px);
  max-width: 110px;
  min-width: 0;
  height: 18px;
  padding: 0 4px;
  border: 1px solid #629be7;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background-color: #629be7dd;
  box-sizing: border-box;
  z-index: 10;
  cursor: grab;
  display: none;
}
.super-editor .sd-structured-content-draggable span {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* Handle only visible when selected */
.super-editor .sd-structured-content.ProseMirror-selectednode .sd-structured-content-draggable,
.super-editor .sd-structured-content-block.ProseMirror-selectednode .sd-structured-content-draggable {
  display: inline-flex;
}
.super-editor .ProseMirror.view-mode .sd-structured-content,
.super-editor .ProseMirror.view-mode .sd-structured-content-block {
  padding: 0;
  border: none;
}
.super-editor .ProseMirror.view-mode .sd-structured-content-draggable {
  display: none;
}
.presentation-editor--viewing .sd-structured-content,
.presentation-editor--viewing .sd-structured-content-block {
  padding: 0;
  border: none;
}
.presentation-editor--viewing .sd-structured-content-draggable {
  display: none;
}
.sd-vector-shape {
  display: inline-block;
  vertical-align: bottom;
}
.sd-vector-shape svg {
  width: 100%;
  height: 100%;
  display: block;
}
.sd-shape-group {
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  border: 1px dashed transparent;
  transition: border-color 0.2s ease;
}
.sd-shape-group:hover {
  border-color: rgba(91, 155, 213, 0.3);
}
.sd-shape-group svg {
  display: block;
}
.sd-shape-group[data-selected] {
  border-color: rgba(91, 155, 213, 0.6);
  background-color: rgba(91, 155, 213, 0.05);
}
/* Ensure shapes within the group are properly positioned */
.sd-shape-group svg g {
  transform-origin: top left;
}

.selected[data-v-72af6874] {
  background-color: #dbdbdb;
}
.mentions-container[data-v-72af6874] {
  outline: none !important;
  border: none;
  max-height: 300px;
  overflow-y: auto;
}
.mentions-container[data-v-72af6874]:focus {
  border: none;
  outline: none !important;
}
.user-row[data-v-72af6874] {
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Add isolation styles */
.prosemirror-isolated[data-v-5bf16391] {
  /* Make sure the component is above ProseMirror in z-index */
  z-index: 100;
  position: relative;
}
.ai-writer[data-v-5bf16391] {
  background-color: white;
  display: flex;
  flex-direction: column;
  width: 300px;
  border-radius: 5px;
  overflow-y: scroll;
  /* Firefox */
  scrollbar-width: none;
  /* Internet Explorer and Edge */
  -ms-overflow-style: none;

  padding: 0.75rem;
  box-shadow: 0 0 2px 2px #7715b366;
  border: 1px solid #7715b3;
}

/* Chrome, Safari, and Opera */
.ai-writer[data-v-5bf16391]::-webkit-scrollbar {
  display: none;
}

/* Replace .ai-editable with .ai-textarea */
.ai-textarea[data-v-5bf16391] {
  padding-left: 8px;
  width: 100%;
  color: #47484a;
  font-size: 12px;
  border: none;
  background: transparent;
  outline: none;
  resize: none;
  overflow: hidden;
  height: 100%;
  font-family: var(--sd-ui-font-family, Arial, Helvetica, sans-serif);
}

/* Add specific styles for textarea placeholder */
.ai-textarea[data-v-5bf16391]::placeholder {
  color: #666;
  font-weight: 400;
}
.ai-user-input-field[data-v-5bf16391] {
  line-height: 13px;
  display: flex;
  flex-direction: row;
  min-height: 50px;
  resize: none;
  border: none;
  border-radius: 8px;
  margin-bottom: 10px;
}
.ai-textarea-icon[data-v-5bf16391] {
  display: block;
  font-weight: 800;
  font-size: 14px;
  width: 16px;
  height: 16px;
}
.ai-textarea-icon svg[data-v-5bf16391] {
  height: 16px;
  width: 16px;
}
.ai-textarea-icon.loading[data-v-5bf16391] {
  animation: spin-5bf16391 2s linear infinite;
}
.loading i[data-v-5bf16391] {
  display: flex;
}
.error[data-v-5bf16391] {
  fill: #ed4337;
}
.ai-submit-button[data-v-5bf16391] {
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.ai-submit-button[data-v-5bf16391]:hover {
  opacity: 0.8;
}
@keyframes spin-5bf16391 {
from {
    transform: rotate(0deg);
}
to {
    transform: rotate(360deg);
}
}
.ai-loader[data-v-5bf16391] {
  display: flex;
  height: 14px;
  justify-content: flex-end;
  align-items: center;
}

.alignment-buttons[data-v-b4162baa] {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}
.alignment-buttons .button-icon[data-v-b4162baa] {
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.alignment-buttons .button-icon[data-v-b4162baa]:hover {
      background-color: #d8dee5;
}
.alignment-buttons .button-icon[data-v-b4162baa] svg {
      width: 100%;
      height: 100%;
      display: block;
      fill: currentColor;
}
.alignment-buttons.high-contrast .button-icon[data-v-b4162baa]:hover {
        background-color: #000;
        color: #fff;
}

.document-mode[data-v-6e1ad9c8] {
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-sizing: border-box;
}
.document-mode[data-v-6e1ad9c8] svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}
.document-mode .option-item[data-v-6e1ad9c8] {
    display: flex;
    flex-direction: row;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
}
.document-mode .option-item[data-v-6e1ad9c8]:hover {
      background-color: #c8d0d8;
}
.document-mode.high-contrast .option-item[data-v-6e1ad9c8]:hover {
        background-color: #000;
        color: #fff;
}
.document-mode.high-contrast .option-item:hover .icon-column__icon[data-v-6e1ad9c8] {
          color: #fff;
}
.document-mode.high-contrast .option-item:hover .text-column > .document-mode-type[data-v-6e1ad9c8],
          .document-mode.high-contrast .option-item:hover .text-column > .document-mode-description[data-v-6e1ad9c8] {
            color: #fff;
}
.disabled[data-v-6e1ad9c8] {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
}
.document-mode-column[data-v-6e1ad9c8] {
  display: flex;
  flex-direction: column;
}
.document-mode-type[data-v-6e1ad9c8] {
  font-weight: 400;
  font-size: 15px;
  color: #222;
}
.icon-column[data-v-6e1ad9c8] {
  margin-right: 5px;
  justify-content: flex-start;
  align-items: center;
  padding: 0 5px;
  color: black;
  height: 100%;
  box-sizing: border-box;
}
.icon-column__icon[data-v-6e1ad9c8] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    height: 18px;
    color: #47484a;
}
.icon-column__icon[data-v-6e1ad9c8] svg {
  width: auto;
  /* needed for safari */
  max-height: 18px;
}
.document-mode-description[data-v-6e1ad9c8] {
  font-size: 12px;
  color: #666;
}

.style-name[data-v-073a491c] {
  padding: 16px 10px;
}
.style-name[data-v-073a491c]:hover {
  background-color: #c8d0d8;
}
.linked-style-buttons[data-v-073a491c] {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  max-height: 400px;
  width: 200px;
  padding: 0;
  margin: 0;
  overflow: auto;
}
.button-icon[data-v-073a491c] {
  cursor: pointer;
  padding: 5px;
  font-size: 16px;
  width: 25px;
  height: 25px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.button-icon[data-v-073a491c]:hover {
  background-color: #d8dee5;
}
.button-icon[data-v-073a491c] svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.link-input-wrapper[data-v-1cefc34d] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.link-input-ctn[data-v-1cefc34d] {
  width: 320px;
  display: flex;
  flex-direction: column;
  padding: 1em;
  border-radius: 5px;
  background-color: #fff;
  box-sizing: border-box;
}
.link-input-ctn[data-v-1cefc34d] svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}
.link-input-ctn .input-row[data-v-1cefc34d] {
    align-content: baseline;
    display: flex;
    align-items: center;
    font-size: 16px;
}
.link-input-ctn .input-row input[data-v-1cefc34d] {
      font-size: 13px;
      flex-grow: 1;
      padding: 10px;
      border-radius: 8px;
      padding-left: 32px;
      box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
      color: #666;
      border: 1px solid #ddd;
      box-sizing: border-box;
}
.link-input-ctn .input-row input[data-v-1cefc34d]:active,
      .link-input-ctn .input-row input[data-v-1cefc34d]:focus {
        outline: none;
        border: 1px solid #1355ff;
}
.link-input-ctn .input-row input[readonly][data-v-1cefc34d] {
        background-color: #f5f5f5;
        cursor: default;
        color: #888;
        border-color: #e0e0e0;
}
.link-input-ctn .input-row input[readonly][data-v-1cefc34d]:active,
        .link-input-ctn .input-row input[readonly][data-v-1cefc34d]:focus {
          border-color: #e0e0e0;
}
.link-input-ctn .input-icon[data-v-1cefc34d] {
    position: absolute;
    left: 25px;
    width: auto;
    color: #999;
    pointer-events: none;
}
.link-input-ctn .input-icon[data-v-1cefc34d]:not(.text-input-icon) {
    transform: rotate(45deg);
    height: 12px;
}
.link-input-ctn.high-contrast .input-icon[data-v-1cefc34d] {
      color: #000;
}
.link-input-ctn.high-contrast .input-row input[data-v-1cefc34d] {
      color: #000;
      border-color: #000;
}
.open-link-icon[data-v-1cefc34d] {
  margin-left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  cursor: pointer;
}
.open-link-icon[data-v-1cefc34d]:hover {
  color: #1355ff;
  background-color: white;
  border: 1px solid #dbdbdb;
}
.open-link-icon[data-v-1cefc34d] svg {
  width: 15px;
  height: 15px;
}
.disabled[data-v-1cefc34d] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.link-buttons[data-v-1cefc34d] {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.remove-btn__icon[data-v-1cefc34d] {
  display: inline-flex;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-right: 4px;
}
.link-buttons button[data-v-1cefc34d] {
  margin-left: 5px;
}
.disable-btn[data-v-1cefc34d] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.go-to-anchor a[data-v-1cefc34d] {
  font-size: 14px;
  text-decoration: underline;
}
.clickable[data-v-1cefc34d] {
  cursor: pointer;
}
.link-title[data-v-1cefc34d] {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.hasBottomMargin[data-v-1cefc34d] {
  margin-bottom: 1em;
}
.remove-btn[data-v-1cefc34d] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  outline: none;
  background-color: white;
  color: black;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #ebebeb;
  box-sizing: border-box;
}
.remove-btn[data-v-1cefc34d]:hover {
  background-color: #dbdbdb;
}
.submit-btn[data-v-1cefc34d] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  outline: none;
  border: none;
  background-color: #1355ff;
  color: white;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* &.high-contrast {
    background-color: black;
  } */
.submit-btn[data-v-1cefc34d]:hover {
    background-color: #0d47c1;
}
.error[data-v-1cefc34d] {
  border-color: red !important;
  background-color: #ff00001a;
}
.submit[data-v-1cefc34d] {
  cursor: pointer;
}

.option-row[data-v-7eb02a60] {
  display: flex;
  flex-direction: row;
}
.option[data-v-7eb02a60] {
  border-radius: 50%;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}
.option[data-v-7eb02a60]:hover {
  background-color: #dbdbdb;
}
.option__icon[data-v-7eb02a60] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.option__check[data-v-7eb02a60] {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  position: absolute;
}

.options-grid-wrap[data-v-891fd942] {
  padding: 5px;
  border-radius: 5px;
}
.none-option[data-v-891fd942] {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
}
.none-option[data-v-891fd942]:hover {
    opacity: 0.65;
}
.none-icon[data-v-891fd942] {
  width: 16px;
}
.option-grid-ctn[data-v-891fd942] {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  z-index: 3;
  box-sizing: border-box;
}
.option-grid-ctn__subtitle[data-v-891fd942] {
    padding: 3px;
    font-size: 12px;
    font-weight: 600;
}
.option-grid-ctn[data-v-891fd942] svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.toolbar-table-grid-wrapper .toolbar-table-grid[data-v-07c60426] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 8px;
    box-sizing: border-box;
}
.toolbar-table-grid-wrapper .toolbar-table-grid__item[data-v-07c60426] {
    width: 20px;
    height: 20px;
    border: 1px solid #d3d3d3;
    cursor: pointer;
    transition: all 0.15s;
}
.toolbar-table-grid-wrapper .toolbar-table-grid__item.selected[data-v-07c60426] {
    background-color: #dbdbdb;
}
.toolbar-table-grid-wrapper.high-contrast .toolbar-table-grid__item[data-v-07c60426] {
      border-color: #000;
}
.toolbar-table-grid-wrapper.high-contrast .toolbar-table-grid__item.selected[data-v-07c60426] {
      background: #000;
}
.toolbar-table-grid-wrapper .toolbar-table-grid-value[data-v-07c60426] {
    font-size: 13px;
    line-height: 1.1;
    padding: 0px 8px 2px;
}

.toolbar-table-actions[data-v-d1697e32] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  box-sizing: border-box;
}
.toolbar-table-actions[data-v-d1697e32] svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.toolbar-table-actions__item[data-v-d1697e32] {
  display: flex;
  gap: 5px;
  background-color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}
.toolbar-table-actions__item[data-v-d1697e32]:hover {
  background-color: #c8d0d8;
}
.toolbar-table-actions__item--border[data-v-d1697e32]:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -3px;
  left: -10px;
  right: 0;
  height: 1px;
  width: calc(100% + 20px);
  background: #c8d0d8;
}
.toolbar-table-actions__icon[data-v-d1697e32] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  color: black;
  box-sizing: border-box;
}
.toolbar-table-actions__icon-wrapper[data-v-d1697e32] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  height: 14px;
  color: #47484a;
}
.toolbar-table-actions__icon-wrapper[data-v-d1697e32] svg {
  width: auto;
  max-height: 14px;
}
.toolbar-table-actions__label[data-v-d1697e32] {
  font-size: 15px;
  font-weight: 400;
  color: #222;
  white-space: nowrap;
}

.search-input-ctn[data-v-ab2fefe3] {
  padding: 10px;
  border-radius: 5px;
}
.search-input-ctn .search-input[data-v-ab2fefe3] {
    min-width: 200px;
    font-size: 13px;
    flex-grow: 1;
    padding: 10px;
    border-radius: 8px;
    color: #666;
    border: 1px solid #ddd;
    box-sizing: border-box;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
}
.search-input-ctn .search-input[data-v-ab2fefe3]:active,
    .search-input-ctn .search-input[data-v-ab2fefe3]:focus {
      outline: none;
      border: 1px solid #1355ff;
}
.search-input-ctn .row[data-v-ab2fefe3] {
    display: flex;
}
.search-input-ctn .row.submit[data-v-ab2fefe3] {
      margin-top: 10px;
      flex-direction: row-reverse;
}
.search-input-ctn .submit-btn[data-v-ab2fefe3] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    outline: none;
    border: none;
    background-color: #1355ff;
    color: white;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.toolbar-icon[data-v-8bc7866c] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toolbar-icon__icon[data-v-8bc7866c] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 16px;
}
.toolbar-icon__icon--highlight[data-v-8bc7866c] {
    width: 16px;
    margin-left: 3px;
    margin-bottom: 1px;
}
.toolbar-icon__icon[data-v-8bc7866c] svg {
  width: auto; /* needed for safari */
  max-height: 16px;
}
.toolbar-icon__icon--color[data-v-8bc7866c] svg {
  max-height: 14px;
  margin-top: -3px;
}
.toolbar-button[data-v-8bc7866c]:hover {
  color: black;
  background-color: #d8dee5;
}
.toolbar-button[data-v-8bc7866c]:active,
.active[data-v-8bc7866c] {
  background-color: #c8d0d8;
}
.color-bar[data-v-8bc7866c] {
  border-radius: 4px;
  position: absolute;
  z-index: 5;
  height: 4px;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 16px;
}

.toolbar-item[data-v-54806efd] {
  position: relative;
  z-index: 1;
  min-width: 30px;
  margin: 0 1px;
}
.visually-hidden[data-v-54806efd] {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.toolbar-button[data-v-54806efd] {
  padding: 5px;
  height: 32px;
  max-height: 32px;
  border-radius: 6px;
  overflow-y: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #47484a;
  transition: all 0.2s ease-out;
  user-select: none;
  position: relative;
  box-sizing: border-box;
}
.toolbar-button[data-v-54806efd]:hover {
  background-color: #dbdbdb;
}
.toolbar-button:hover .toolbar-icon.high-contrast[data-v-54806efd] {
      color: #fff;
}
.toolbar-button:hover.high-contrast[data-v-54806efd] {
    background-color: #000;
    color: #fff;
}
.toolbar-button[data-v-54806efd]:active,
.active[data-v-54806efd] {
  background-color: #c8d0d8;
}
.button-label[data-v-54806efd] {
  overflow: hidden;
  width: 100%;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
  font-size: 15px;
  margin: 5px;
}
.toolbar-icon + .dropdown-caret[data-v-54806efd] {
  margin-left: 4px;
}
.left[data-v-54806efd],
.right[data-v-54806efd] {
  width: 50%;
  height: 100%;
  background-color: #dbdbdb;
  border-radius: 60%;
}
.has-inline-text-input[data-v-54806efd]:hover {
  cursor: text;
}
.disabled[data-v-54806efd] {
  cursor: default;
}
.disabled[data-v-54806efd]:hover {
  cursor: default;
  background-color: initial;
}
.disabled .toolbar-icon[data-v-54806efd],
.disabled .caret[data-v-54806efd],
.disabled .button-label[data-v-54806efd] {
  opacity: 0.35;
}
.caret[data-v-54806efd] {
  font-size: 1em;
  padding-left: 2px;
  padding-right: 2px;
}
.button-text-input[data-v-54806efd] {
  color: #47484a;
  border-radius: 4px;
  text-align: center;
  width: 30px;
  font-size: 14px;
  margin-right: 5px;
  font-weight: 400;
  background-color: transparent;
  padding: 2px 0;
  outline: none;
  border: 1px solid #d8dee5;
  box-sizing: border-box;
}
.button-text-input.high-contrast[data-v-54806efd] {
    background-color: #fff;
}
.button-text-input--font-size[data-v-54806efd] {
  width: 36px;
}
.button-text-input[data-v-54806efd]::placeholder {
  color: #47484a;
}
.dropdown-caret[data-v-54806efd] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  width: 10px;
  height: 10px;
}
@media (max-width: 1280px) {
.toolbar-item--doc-mode .button-label[data-v-54806efd] {
    display: none;
}
.toolbar-item--doc-mode .toolbar-icon[data-v-54806efd] {
    margin-right: 5px;
}
.toolbar-item--linked-styles[data-v-54806efd] {
    width: auto !important;
}
.toolbar-item--linked-styles .button-label[data-v-54806efd] {
    display: none;
}
}

.toolbar-separator[data-v-c7e2cd4d] {
  height: 32px;
  border-radius: 6px;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbdbdb;
  transition: all 0.2s ease-out;
  user-select: none;
  overflow: hidden;
}
.toolbar-separator .separator-inner[data-v-c7e2cd4d] {
  width: 1.5px;
  height: 20px;
}
.toolbar-button[data-v-c7e2cd4d]:hover {
  color: black;
  background-color: #d8dee5;
}
.toolbar-button[data-v-c7e2cd4d]:active,
.active[data-v-c7e2cd4d] {
  background-color: #c8d0d8;
}

.overflow-menu[data-v-23c383c4] {
  position: relative;
}
.overflow-menu_items[data-v-23c383c4] {
    position: absolute;
    width: 200px;
    top: calc(100% + 3px);
    right: 0;
    padding: 4px 8px;
    background-color: #fff;
    border-radius: 8px;
    z-index: 100;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}
.superdoc-toolbar-overflow[data-v-23c383c4] {
  min-width: auto !important;
  max-width: 200px;
  flex-wrap: wrap;
}
@media (max-width: 300px) {
.overflow-menu_items[data-v-23c383c4] {
    right: auto;
    left: 0;
    transform: translateX(-50%);
}
}

.sd-editor-toolbar-dropdown {
  border-radius: 8px;
  min-width: 80px;
  cursor: pointer;
}
.sd-editor-toolbar-dropdown.high-contrast .n-dropdown-option-body:hover::before,
        .sd-editor-toolbar-dropdown.high-contrast .n-dropdown-option-body:hover::after {
          background-color: #000 !important;
}
.sd-editor-toolbar-dropdown.high-contrast .n-dropdown-option-body.selected[data-item='btn-fontFamily-option']::before,
        .sd-editor-toolbar-dropdown.high-contrast .n-dropdown-option-body.selected[data-item='btn-fontFamily-option']::after,
        .sd-editor-toolbar-dropdown.high-contrast .n-dropdown-option-body.selected[data-item='btn-fontSize-option']::before,
        .sd-editor-toolbar-dropdown.high-contrast .n-dropdown-option-body.selected[data-item='btn-fontSize-option']::after {
          background-color: #000 !important;
}
.sd-editor-toolbar-dropdown.high-contrast .n-dropdown-option-body__label:hover {
          color: #fff !important;
}
.sd-editor-toolbar-dropdown .n-dropdown-option-body:hover::before,
      .sd-editor-toolbar-dropdown .n-dropdown-option-body:hover::after {
        background-color: #d8dee5 !important;
}
.sd-editor-toolbar-dropdown .n-dropdown-option-body.selected[data-item='btn-fontFamily-option']::before,
      .sd-editor-toolbar-dropdown .n-dropdown-option-body.selected[data-item='btn-fontFamily-option']::after,
      .sd-editor-toolbar-dropdown .n-dropdown-option-body.selected[data-item='btn-fontSize-option']::before,
      .sd-editor-toolbar-dropdown .n-dropdown-option-body.selected[data-item='btn-fontSize-option']::after {
        background-color: #d8dee5 !important;
}
.sd-editor-toolbar-tooltip,
.sd-editor-toolbar-tooltip.n-popover {
  background-color: #333333 !important;
  font-size: 14px;
  border-radius: 8px !important;
}

.button-group[data-v-ddc38c6d] {
  display: flex;
}

.superdoc-toolbar[data-v-042a9556] {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 4px 16px;
  box-sizing: border-box;
  font-family: var(--sd-ui-font-family, Arial, Helvetica, sans-serif);
}
@media (max-width: 1280px) {
.superdoc-toolbar-group-side[data-v-042a9556] {
    min-width: auto !important;
}
}
@media (max-width: 768px) {
.superdoc-toolbar[data-v-042a9556] {
    padding: 4px 10px;
    justify-content: inherit;
}
}

.context-menu {
  position: fixed;
  z-index: 50;
  width: 180px;
  color: #47484a;
  background: white;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0px 10px 20px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  font-size: 12px;
}

/* Hide the input but keep it functional */
.context-menu-hidden-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  padding: 0;
  margin: 0;
  border: none;
}
.context-menu-items {
  max-height: 300px;
  overflow-y: auto;
}
.context-menu-search {
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}
.context-menu-search input {
  width: 100%;
  padding: 0.25rem 0.5rem;
  border: 1px solid #ddd;
  outline: none;
}
.context-menu-search input:focus {
  border-color: #0096fd;
}

/* Remove unused group styles */
.context-menu-group-label {
  display: none;
}
.context-menu-item {
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
  display: flex;
  align-items: center;
}
.context-menu-item:hover {
  background: #f5f5f5;
}
.context-menu-item.is-selected {
  background: #edf6ff;
  color: #0096fd;
  fill: #0096fd;
}
.context-menu-item-icon {
  display: flex;
  align-items: center;
  margin-right: 10px;
}
.context-menu .context-menu-item-icon svg {
  height: 12px;
  width: 12px;
}
.context-menu-custom-item {
  display: flex;
  align-items: center;
  width: 100%;
}
.context-menu-default-content {
  display: flex;
  align-items: center;
  width: 100%;
}
.popover {
  background: white;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0px 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.context-menu-divider {
  height: 1px;
  background: #eee;
  margin: 4px 0;
}
.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
/**
 * Wrapper provides the scaled layout width so the container sizes correctly.
 * Width is set via inline style (wrapperStyle computed).
 */
.ruler-wrapper[data-v-9face03e] {
  /* width set via inline style */
  /* height set via inline style */
  /* overflow set via inline style */
}

/**
 * Inner ruler uses scaled width with zoom-spaced tick positions.
 * Width is set via inline style (rulerStyle computed).
 */
.ruler[data-v-9face03e] {
  /* width set via inline style */
  /* height set via inline style */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  color: #666;
}
.vertical-indicator[data-v-9face03e] {
  position: absolute;
  height: 0px;
  min-width: 1px;
  background-color: #aaa;
  top: 20px;
  z-index: 100;
}
.margin-handle[data-v-9face03e] {
  width: 56px;
  min-width: 5px;
  max-width: 5px;
  background-color: var(--ruler-handle-color);
  height: 20px;
  cursor: grab;
  position: absolute;
  margin-left: -2px;
  border-radius: 4px 4px 0 0;
  transition: background-color 250ms ease;
  z-index: 10;
}
.margin-handle[data-v-9face03e]:hover {
  background-color: var(--ruler-handle-active-color);
}
.ruler-tick[data-v-9face03e] {
  pointer-events: none;
  user-select: none;
}
.numbering[data-v-9face03e] {
  position: absolute;
  top: -16px;
  left: -2px;
  font-size: 10px;
  pointer-events: none;
  user-select: none;
}

/* @remarks - popover adds a slight shadow, this can be removed if needed */
.generic-popover[data-v-e57bf610] {
  background-color: var(--sd-popover-bg, white);
  position: absolute;
  z-index: var(--sd-popover-z-index, 1000);
  border-radius: var(--sd-popover-radius, 6px);
  box-shadow: var(--sd-popover-shadow, 0 0 0 1px rgba(0, 0, 0, 0.05), 0px 10px 20px rgba(0, 0, 0, 0.1));
  min-width: var(--sd-popover-min-width, 120px);
  min-height: var(--sd-popover-min-height, 40px);
}

.superdoc-table-resize-overlay[data-v-e8ef42a6] {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.resize-handle[data-v-e8ef42a6] {
  position: absolute;
  cursor: col-resize;
  user-select: none;
  z-index: 15;
}
.resize-handle[data-v-e8ef42a6]::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: rgba(74, 144, 226, 0.3);
  transform: translateX(-1px);
  transition:
    background-color 0.2s ease,
    width 0.2s ease;
}
.resize-handle[data-v-e8ef42a6]:hover::before {
  background-color: #4a90e2;
  width: 3px;
  transform: translateX(-1.5px);
}
.resize-handle--active[data-v-e8ef42a6]::before {
  background-color: #4a90e2;
  width: 2px;
  transform: translateX(-1px);
}
.resize-handle--row[data-v-e8ef42a6] {
  cursor: row-resize;
}
.resize-handle--row[data-v-e8ef42a6]::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  transform: translateY(-1px);
}
.resize-handle--row[data-v-e8ef42a6]:hover::before {
  height: 3px;
  width: 100%;
  transform: translateY(-1.5px);
}
.resize-handle--row.resize-handle--active[data-v-e8ef42a6]::before {
  height: 2px;
  width: 100%;
  transform: translateY(-1px);
}
.resize-guideline[data-v-e8ef42a6] {
  position: absolute;
  background-color: #4a90e2;
  pointer-events: none;
  box-shadow: 0 0 4px rgba(74, 144, 226, 0.5);
}

.superdoc-image-resize-overlay[data-v-55df65b5] {
  position: absolute;
  pointer-events: none;
  user-select: none;
  overflow: visible;
}
.resize-handle[data-v-55df65b5] {
  position: absolute;
  width: var(--v0803aabd);
  height: var(--v0803aabd);
  background-color: #ffffff;
  border: 2px solid #4a90e2;
  border-radius: 50%;
  user-select: none;
  z-index: var(--v3efefbc4);
  pointer-events: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.resize-handle[data-v-55df65b5]:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  background-color: #4a90e2;
  border-color: #ffffff;
}
.resize-handle--active[data-v-55df65b5] {
  transform: scale(1.2);
  background-color: #4a90e2;
  border-color: #ffffff;
}
.resize-guideline[data-v-55df65b5] {
  position: absolute;
  background-color: rgba(74, 144, 226, 0.1);
  pointer-events: none;
  box-shadow: 0 0 4px rgba(74, 144, 226, 0.5);
}

.editor-element[data-v-79f4cb59] {
  position: relative;
}
.super-editor-container[data-v-79f4cb59] {
  width: auto;
  height: auto;
  /* min-width is controlled via inline style (containerStyle) to scale with zoom */
  min-height: 11in;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Web layout mode (OOXML ST_View 'web'): content reflows to fit container */
.super-editor-container.web-layout[data-v-79f4cb59] {
  min-height: unset;
  min-width: unset;
  width: 100%;
}
.super-editor-container.web-layout .super-editor[data-v-79f4cb59] {
  width: 100%;
}
.super-editor-container.web-layout .editor-element[data-v-79f4cb59] {
  width: 100%;
}

/* Web layout: ensure editor fills screen width and content reflows (WCAG AA) */
.super-editor-container.web-layout[data-v-79f4cb59] .ProseMirror {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
}
.super-editor-container.web-layout[data-v-79f4cb59] .ProseMirror p,
.super-editor-container.web-layout[data-v-79f4cb59] .ProseMirror div,
.super-editor-container.web-layout[data-v-79f4cb59] .ProseMirror li {
  max-width: 100%;
  overflow-wrap: break-word;
}
.ruler-host[data-v-79f4cb59] {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.ruler[data-v-79f4cb59] {
  margin-bottom: 2px;
}
.super-editor[data-v-79f4cb59] {
  color: initial;
  overflow: hidden;
  position: relative;
}
.placeholder-editor[data-v-79f4cb59] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  padding: 1in;
  z-index: 5;
  background-color: white;
  box-sizing: border-box;
}
.placeholder-title[data-v-79f4cb59] {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.super-editor[data-v-7a59c63b] {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 1px solid #999;
  outline: none;
  transition: border 0.2s ease;
  background-color: white;
}
.super-input[data-v-7a59c63b] {
  font-size: 13px;
  font-family: inherit;
}
.editor-element[data-v-7a59c63b] {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
}
.super-input-active[data-v-7a59c63b] {
  border: 1px solid #007bff;
  outline: none;
}
:root {
  /* CSS variables */
}
.superdoc *,
.superdoc ::before,
.superdoc ::after,
.superdoc-toolbar *,
.superdoc-toolbar ::before,
.superdoc-toolbar ::after {
  box-sizing: border-box;
}
.superdoc .disabled,
.super-editor .disabled,
.superdoc-toolbar .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.super-editor h1,
.super-editor h2,
.super-editor h3,
.super-editor h4,
.super-editor h5,
.super-editor h6 {
  font-size: unset;
  font-weight: unset;
  margin: 0;
  padding: 0;
}
.super-editor p {
  padding: 0;
  margin: 0;
}
.sd-button {
  border-radius: 8px;
  background-color: white;
  padding: 8px 12px;
  outline: none;
  border: 1px solid #dbdbdb;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 250ms ease;
}
.sd-button:hover {
  background-color: #dbdbdb;
}
.sd-button.primary {
  background-color: #1355ff;
  border: none;
  color: white;
}
.sd-button.primary:hover {
  background-color: #0d3fcc;
}
.sd-comment-box {
  width: 300px;
}
.superdoc-field {
  border-radius: 8px;
  padding: 12px;
  outline: none;
  border: 1px solid #dbdbdb;
  width: 100%;
}
.superdoc-field:focus,
.superdoc-field:active {
  border: 1px solid #1355ff;
}
.superdoc-field .ProseMirror {
  border: 0;
  outline: 0;
  margin: 0;
}
.sd-editor-placeholder::before {
  content: attr(data-placeholder);
  color: #aaa;
  pointer-events: none;
  display: block;
  height: 0;
}
.superdoc svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
/* Override global svg styles above for AI Writer error state */
.superdoc .ai-textarea-icon.error > svg {
  fill: #ed4337;
}
/* Web Layout Mode (OOXML ST_View 'web') - content reflows to container width */
.superdoc--web-layout,
.superdoc--web-layout .superdoc__layers,
.superdoc--web-layout .superdoc__document,
.superdoc--web-layout .superdoc__sub-document {
  width: 100%;
}

.comment-option[data-v-8b9e3b75] {
  display: flex;
  align-items: center;
  font-size: 11px;
}
.comment-option i[data-v-8b9e3b75] {
  font-size: 11px;
}
.option-state[data-v-8b9e3b75] {
  margin: 0 7px;
}
.active-icon[data-v-8b9e3b75] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.active-icon[data-v-8b9e3b75] svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.dropdown-caret[data-v-8b9e3b75] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 10px;
  height: 16px;
}
.dropdown-caret[data-v-8b9e3b75] svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.internal-dropdown[data-v-8b9e3b75] {
  transition: all 250ms ease;
  display: inline-block;
  cursor: pointer;
  border-radius: 50px;
  padding: 2px 8px;
}
.internal-dropdown[data-v-8b9e3b75]:hover {
  background-color: #f3f3f5;
}

.internal-dropdown__item-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.internal-dropdown__item-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.user-container[data-v-c95b2073] {
  border-radius: 50%;
  border: var(--sd-comment-avatar-border, 2px solid #333);
  font-size: var(--sd-comment-avatar-font-size, 11px);
  font-weight: 600;
  color: var(--sd-comment-avatar-color, #fff);
  background-color: var(--sd-comment-avatar-bg, #00000098);

  width: var(--sd-comment-avatar-size, 28px);
  height: var(--sd-comment-avatar-size, 28px);
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
img[data-v-c95b2073] {
  border-radius: 50%;
  width: 100%;
  background-color: transparent;
}

.comment-header[data-v-a05fa750] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.comment-header-left[data-v-a05fa750] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-info[data-v-a05fa750] {
  display: flex;
  flex-direction: column;
}
.user-name[data-v-a05fa750] {
  font-size: var(--sd-comment-author-size, 14px);
  font-weight: var(--sd-comment-author-weight, 600);
  color: var(--sd-comment-author-color, #212121);
  line-height: 1.2em;
}
.imported-tag[data-v-a05fa750] {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sd-comment-imported-tag-color, var(--sd-color-gray-600, #888888));
  background: var(--sd-comment-imported-tag-bg, var(--sd-color-gray-200, #f2f2f2));
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.4;
}
.user-timestamp[data-v-a05fa750] {
  line-height: 1.2em;
  font-size: var(--sd-comment-time-size, 12px);
  color: var(--sd-comment-time-color, #888888);
}
.overflow-menu[data-v-a05fa750] {
  flex-shrink: 1;
  display: flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}
.overflow-menu.is-visible[data-v-a05fa750] {
  opacity: 1;
  pointer-events: auto;
}
.overflow-menu__icon[data-v-a05fa750] {
  display: flex;
  box-sizing: content-box;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  padding: 3px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 250ms ease;
}
.overflow-menu__icon[data-v-a05fa750]:hover {
  background-color: var(--sd-comment-separator, #dbdbdb);
}
.overflow-menu__icon[data-v-a05fa750] svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.overflow-icon[data-v-a05fa750] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 10px;
  height: 16px;
}

.comment-entry[data-v-7c05d9e6] {
  box-sizing: border-box;
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  transition: all 250ms ease;
}
.internal-dropdown[data-v-7c05d9e6] {
  display: inline-block;
}

.comments-dialog[data-v-6161f306] {
  display: flex;
  flex-direction: column;
  padding: var(--sd-comment-padding, 16px);
  border-radius: var(--sd-comment-radius, 12px);
  background-color: var(--sd-comment-bg, #f3f6fd);
  border: 1px solid transparent;
  font-family: var(--sd-ui-font-family, Arial, Helvetica, sans-serif);
  font-size: var(--sd-comment-body-size, 14px);
  line-height: 1.5;
  transition: var(--sd-comment-transition, all 200ms ease);
  box-shadow: none;
  z-index: 5;
  max-width: var(--sd-comment-max-width, 300px);
  min-width: var(--sd-comment-min-width, 200px);
  width: 100%;
}
.comments-dialog[data-v-6161f306]:not(.is-active) {
  cursor: pointer;
}
.comments-dialog[data-v-6161f306]:not(.is-active):not(.is-resolved):hover {
  background-color: var(--sd-comment-bg-hover, #f3f6fd);
}
.comments-dialog[data-v-6161f306]:not(.is-resolved):hover .overflow-menu {
  opacity: 1;
  pointer-events: auto;
}
.comments-dialog.is-active[data-v-6161f306] {
  background-color: var(--sd-comment-bg-active, #ffffff);
  border-color: var(--sd-comment-border-active, #e0e0e0);
  box-shadow: var(--sd-comment-shadow, 0px 4px 12px 0px rgba(50, 50, 50, 0.15));
  z-index: 10;
}
.comments-dialog.is-resolved[data-v-6161f306] {
  background-color: var(--sd-comment-bg-resolved, #f0f0f0);
}
.comment-separator[data-v-6161f306] {
  background-color: var(--sd-comment-separator, #e0e0e0);
  height: 1px;
  width: 100%;
  margin: 10px 0;
}
.comment[data-v-6161f306] {
  font-size: var(--sd-comment-body-size, 14px);
  line-height: 1.5;
  color: var(--sd-comment-author-color, #212121);
  margin: 4px 0 0 0;
}
.comment[data-v-6161f306] p {
  margin: 0;
}
.tracked-change[data-v-6161f306] {
  font-size: var(--sd-comment-body-size, 14px);
  line-height: 1.5;
  color: var(--sd-comment-author-color, #212121);
  margin: 4px 0 0 0;
}
.change-type[data-v-6161f306] {
  color: var(--sd-comment-author-color, #212121);
}
.tracked-change-text[data-v-6161f306] {
  color: var(--sd-comment-author-color, #212121);
}
.tracked-change-text.is-deleted[data-v-6161f306] {
  color: var(--sd-comment-tc-delete-color, #cb0e47);
}
.tracked-change-text.is-inserted[data-v-6161f306] {
  color: var(--sd-comment-tc-insert-color, #00853d);
  font-weight: 500;
}

/* ── Resolved badge ── */
.resolved-badge[data-v-6161f306] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--sd-color-green-500, #00853d);
  margin-bottom: 4px;
}
.resolved-badge__icon[data-v-6161f306] {
  display: inline-flex;
  width: 12px;
  height: 12px;
}
.resolved-badge__icon[data-v-6161f306] svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ── Text truncation ── */
.comment.is-truncated[data-v-6161f306],
.tracked-change.is-truncated[data-v-6161f306] {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.show-more-toggle[data-v-6161f306] {
  font-size: 12px;
  color: var(--sd-action-primary, #1355ff);
  cursor: pointer;
  font-weight: 500;
  margin-top: 4px;
  user-select: none;
}
.show-more-toggle[data-v-6161f306]:hover {
  text-decoration: underline;
}

/* ── Thread collapse ── */
.collapsed-replies[data-v-6161f306] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 12px;
  color: var(--sd-action-primary, #1355ff);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.collapsed-replies[data-v-6161f306]:hover {
  text-decoration: underline;
}
.collapsed-avatars[data-v-6161f306] {
  display: flex;
}
.collapsed-avatars .mini-avatar[data-v-6161f306] {
  --sd-comment-avatar-size: 20px;
  --sd-comment-avatar-font-size: 8px;
  margin-left: -4px;
  border: 2px solid var(--sd-comment-bg-active, #ffffff);
}
.collapsed-avatars .mini-avatar[data-v-6161f306]:first-child {
  margin-left: 0;
}

/* ── New comment input ── */
.new-comment-input-wrapper[data-v-6161f306] {
  border: 1.5px solid var(--sd-border-default, #dbdbdb);
  border-radius: 12px;
  padding: 8.5px 10.5px;
  background: var(--sd-surface-card, #ffffff);
  margin-top: 4px;
  max-height: 150px;
  overflow-y: auto;
}
.new-comment-input-wrapper[data-v-6161f306] .comment-entry {
  border-radius: 0;
}
.new-comment-input-wrapper[data-v-6161f306] .input-section {
  margin: 0;
}
.new-comment-input-wrapper[data-v-6161f306] .superdoc-field {
  font-size: 14px;
  border: none;
  padding: 0;
  border-radius: 0;
}
.new-comment-input-wrapper[data-v-6161f306] .superdoc-field:focus,
.new-comment-input-wrapper[data-v-6161f306] .superdoc-field:active {
  border: none;
}
.new-comment-input-wrapper[data-v-6161f306] .sd-editor-placeholder::before {
  content: 'Comment or add others with @';
}

/* ── Reply pill & expanded input ── */
.reply-pill[data-v-6161f306] {
  padding: 8.5px 10.5px;
  border: 1.5px solid transparent;
  border-radius: 9999px;
  font-size: 14px;
  color: var(--sd-color-gray-500, #ababab);
  background: var(--sd-color-gray-100, #f5f5f5);
  margin-top: 10px;
  cursor: text;
  transition: background 150ms ease;
}
.reply-pill[data-v-6161f306]:hover {
  background: var(--sd-color-gray-200, #f2f2f2);
}
.reply-expanded[data-v-6161f306] {
  margin-top: 10px;
}
.reply-input-wrapper[data-v-6161f306] {
  border: 1.5px solid var(--sd-border-default, #dbdbdb);
  border-radius: 12px;
  padding: 8.5px 10.5px;
  background: var(--sd-surface-card, #ffffff);
  max-height: 150px;
  overflow-y: auto;
}
.reply-input-wrapper[data-v-6161f306] .comment-entry {
  border-radius: 0;
}
.reply-input-wrapper[data-v-6161f306] .input-section {
  margin: 0;
}
.reply-input-wrapper[data-v-6161f306] .superdoc-field {
  font-size: 14px;
  border: none;
  padding: 0;
  border-radius: 0;
}
.reply-input-wrapper[data-v-6161f306] .superdoc-field:focus,
.reply-input-wrapper[data-v-6161f306] .superdoc-field:active {
  border: none;
}
.reply-input-wrapper[data-v-6161f306] .sd-editor-placeholder::before {
  content: 'Reply or add others with @';
}
.reply-actions[data-v-6161f306] {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.reply-btn-cancel[data-v-6161f306] {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--sd-color-gray-700, #666666);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 150ms;
}
.reply-btn-cancel[data-v-6161f306]:hover {
  color: var(--sd-color-gray-900, #212121);
}
.reply-btn-primary[data-v-6161f306] {
  background: var(--sd-action-primary, #1355ff);
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: inherit;
  transition: background 150ms;
}
.reply-btn-primary[data-v-6161f306]:hover {
  background: var(--sd-action-primary-hover, #0f44cc);
}
.reply-btn-primary.is-disabled[data-v-6161f306] {
  background: var(--sd-color-gray-400, #dbdbdb);
  color: var(--sd-color-gray-600, #888888);
  cursor: default;
  pointer-events: none;
}
.existing-internal-input[data-v-6161f306] {
  margin-bottom: 10px;
}
.comment-footer[data-v-6161f306] {
  margin: 5px 0 5px;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.comment-footer .sd-button[data-v-6161f306] {
  font-size: 12px;
  margin-left: 5px;
}
.internal-dropdown[data-v-6161f306] {
  display: inline-block;
}
.comment-editing[data-v-6161f306] {
  padding-bottom: 10px;
}
.comment-editing button[data-v-6161f306] {
  margin-left: 5px;
}

.comments-list[data-v-12d3e3dd] {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 400px;
}
.comment-item[data-v-12d3e3dd] {
  margin-bottom: 10px;
}
.comment-title[data-v-12d3e3dd] {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}
.sd-comment-anchor {
  position: absolute;
  cursor: pointer;
  z-index: 3;
  border-radius: 33px;
  transition: background-color 250ms ease;
}

.sd-highlight {
  cursor: pointer;
  border-radius: 8px;
  background-color: #ddaf0955;
  mix-blend-mode: multiply;
  transition: background-color 250ms ease;
}

.sd-initial-highlight {
  background-color: #1355ff7f;
}

.sd-highlight:hover,
.sd-highlight:hover .sd-highlight-active {
  background-color: #ddaf0999;
}

.sd-highlight-active {
  background-color: #1355ff7f;
}

.comment-doc[data-v-ec1c18ad] {
  position: relative;
}
.comments-layer[data-v-ec1c18ad] {
  position: relative;
}
.sd-comment-anchor[data-v-ec1c18ad] {
  position: absolute;
  cursor: pointer;
  z-index: 3;
  border-radius: 4px;
  transition: background-color 250ms ease;
}
.bypass[data-v-ec1c18ad] {
  display: none;
}
.comments-container[data-v-ec1c18ad] {
  /* pointer-events: none;  */
}

.comment-placeholder[data-v-705854f6] {
  position: absolute;
  width: 300px;
  transition: top 0.3s ease;
}
.floating-comment[data-v-705854f6] {
  position: relative;
  display: block;
  min-width: 300px;
}
.sidebar-container[data-v-705854f6] {
  position: absolute;
  width: 300px;
  min-height: 300px;
}
.section-wrapper[data-v-705854f6] {
  position: relative;
  min-height: 100%;
  width: 300px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  /* SD-2034: smooth min-height changes to prevent scrollbar flash */
  transition: min-height 0.5s ease-out;
}

.text-field[data-v-f3984d30] {
  white-space: nowrap;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  margin: 0;
  display: flex;
  align-items: center;
}

.paragraph-field[data-v-ce5a87b3] {
  margin: 0;
  padding: 1px;
}

.image-field[data-v-7dd69850] {
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 2px;
}
img[data-v-7dd69850] {
  max-height: 100%;
}

.checkbox-container[data-v-a135a0a5] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  width: 100%;
  height: 100%;
}
.checkbox-preview[data-v-a135a0a5] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  width: 100%;
  height: 100%;
}

.select-container[data-v-1e49d9b3] {
  padding: 1px;
}

.field-container[data-v-22e6ae02] {
  border-radius: 2px;
  background-color: #efd0f0 !important;
  border: 2px solid #b015b3;
}
.field-container--no-style[data-v-22e6ae02] {
  background: none !important;
  border-color: transparent;
}

.whiteboard-page[data-v-c876c9b5] {
  position: absolute;
  left: 0;
  top: 0;
}

.whiteboard-layer[data-v-8448a15a] {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

.superdoc-html-viewer[data-v-da3494ba] {
  font-family: initial;
  color: initial;
  width: 100%;
  height: auto;
  position: relative;
}
.superdoc-html-viewer__document[data-v-da3494ba] {
  width: 100%;
  height: auto;
}
.superdoc-html-viewer__content[data-v-da3494ba] {
  width: 100%;
  min-width: 800px;
  padding: 38px 75px 75px;
}

.ai-highlight-layer[data-v-497b8118] {
  position: relative;
}
.ai-highlight-anchor[data-v-497b8118] {
  position: absolute;
  cursor: pointer;
  z-index: 3;
  border-radius: 4px;
  transition: background-color 250ms ease;
}
.bypass[data-v-497b8118] {
  display: none;
}

.superdoc[data-v-b34d8e2d] {
  display: flex;
}
.right-sidebar[data-v-b34d8e2d] {
  min-width: 320px;
}
.floating-comments[data-v-b34d8e2d] {
  min-width: 300px;
  width: 300px;
}
.superdoc__layers[data-v-b34d8e2d] {
  height: 100%;
  position: relative;
  box-sizing: border-box;
}
.superdoc__document[data-v-b34d8e2d] {
  width: 100%;
  position: relative;
}
.superdoc__sub-document[data-v-b34d8e2d] {
  width: 100%;
  position: relative;
}
.superdoc__selection-layer[data-v-b34d8e2d] {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  z-index: 10;
  pointer-events: none;
}
.superdoc__temp-selection[data-v-b34d8e2d] {
  position: absolute;
}
.superdoc__comments-layer[data-v-b34d8e2d] {
  /* position: absolute; */
  top: 0;
  height: 100%;
  position: relative;
}
.superdoc__right-sidebar[data-v-b34d8e2d] {
  width: 320px;
  min-width: 320px;
  padding: 0 10px;
  min-height: 100%;
  position: relative;
  z-index: 2;
}

/* Tools styles */
.tools[data-v-b34d8e2d] {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tools .tool-icon[data-v-b34d8e2d] {
  font-size: 20px;
  border-radius: 12px;
  border: none;
  outline: none;
  background-color: #dbdbdb;
  cursor: pointer;
}
.tools-item[data-v-b34d8e2d] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(219, 219, 219, 0.6);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.tools-item i[data-v-b34d8e2d] {
  cursor: pointer;
}
.superdoc__tools-icon[data-v-b34d8e2d] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Tools styles - end */

/* .docx {
  border: 1px solid #dfdfdf;
  pointer-events: auto;
} */

/* 834px is iPad screen size in portrait orientation */
@media (max-width: 834px) {
.superdoc .superdoc__layers[data-v-b34d8e2d] {
    margin: 0;
    border: 0 !important;
    box-shadow: none;
}
.superdoc__sub-document[data-v-b34d8e2d] {
    max-width: 100%;
}
.superdoc__right-sidebar[data-v-b34d8e2d] {
    padding: 10px;
    width: 55px;
    position: relative;
}
}

/* AI Writer styles */
.ai-writer-container[data-v-b34d8e2d] {
  position: fixed;
  z-index: 1000;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Remove the AI Sidebar styles */
/* .ai-sidebar-container {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
} */

/* Tools styles */
.tools[data-v-b34d8e2d] {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.tools .tool-icon[data-v-b34d8e2d] {
  font-size: 20px;
  border-radius: 12px;
  border: none;
  outline: none;
  background-color: #dbdbdb;
  cursor: pointer;
}
.tools-item[data-v-b34d8e2d] {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 50px;
  height: 50px;
  background-color: rgba(219, 219, 219, 0.6);
  border-radius: 12px;
  cursor: pointer;
}
.tools-item i[data-v-b34d8e2d] {
  cursor: pointer;
}
.superdoc__tools-icon[data-v-b34d8e2d] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.ai-tool > svg[data-v-b34d8e2d] {
  fill: transparent;
}
.ai-tool[data-v-b34d8e2d]::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;

  z-index: 1;
  background: linear-gradient(
    270deg,
    rgba(218, 215, 118, 0.5) -20%,
    rgba(191, 100, 100, 1) 30%,
    rgba(77, 82, 217, 1) 60%,
    rgb(255, 219, 102) 150%
  );
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>")
    center / contain no-repeat;
  mask: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>")
    center / contain no-repeat;
  filter: brightness(1.2);
  transition: filter 0.2s ease;
}
.ai-tool[data-v-b34d8e2d]:hover::before {
  filter: brightness(1.3);
}

/* Tools styles - end */

.sd-pdf-viewer-page[data-v-d7a9857d] {
  --user-unit: 1;
  --total-scale-factor: calc(var(--scale-factor) * var(--user-unit));
  --scale-round-x: 1px;
  --scale-round-y: 1px;

  width: 816px;
  height: 1056px;
  /* margin: 1px auto -8px; */
  position: relative;
  overflow: visible;
  /* border: 9px solid transparent; */
  background-clip: content-box;
  background-color: #fff;
  box-sizing: content-box;
  margin: 0 0 calc(var(--scale-factor) * 10px);
}
.sd-pdf-viewer-page[data-v-d7a9857d]:last-child {
  margin: 0;
}
.sd-pdf-viewer-page__canvas-wrapper[data-v-d7a9857d] {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.sd-pdf-viewer-page__canvas[data-v-d7a9857d] {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
  contain: content;
}

/* Text layer style */
.sd-pdf-viewer-page__text-layer {
  --csstools-color-scheme--light: initial;
  color-scheme: only light;

  position: absolute;
  text-align: initial;
  inset: 0;
  overflow: clip;
  opacity: 1;
  line-height: 1;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  forced-color-adjust: none;
  transform-origin: 0 0;
  caret-color: CanvasText;
  z-index: 0;
}
.sd-pdf-viewer-page__text-layer.highlighting {
  touch-action: none;
}
.sd-pdf-viewer-page__text-layer :is(span, br) {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  transform-origin: 0% 0%;
}
.sd-pdf-viewer-page__text-layer {
  --min-font-size: 1;
  --text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size));
  --min-font-size-inv: calc(1 / var(--min-font-size));
}
.sd-pdf-viewer-page__text-layer > :not(.markedContent),
.sd-pdf-viewer-page__text-layer .markedContent span:not(.markedContent) {
  z-index: 1;

  --font-height: 0;
  font-size: calc(var(--text-scale-factor) * var(--font-height));

  --scale-x: 1;
  --rotate: 0deg;
  transform: rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv));
}
.sd-pdf-viewer-page__text-layer .markedContent {
  display: contents;
}
.sd-pdf-viewer-page__text-layer span[role='img'] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: default;
}
.sd-pdf-viewer-page__text-layer .highlight {
  --highlight-bg-color: rgb(180 0 170 / 0.25);
  --highlight-selected-bg-color: rgb(0 100 0 / 0.25);
  --highlight-backdrop-filter: none;
  --highlight-selected-backdrop-filter: none;
}
@media screen and (forced-colors: active) {
.sd-pdf-viewer-page__text-layer.highlight {
    --highlight-bg-color: transparent;
    --highlight-selected-bg-color: transparent;
    --highlight-backdrop-filter: var(--hcm-highlight-filter);
    --highlight-selected-backdrop-filter: var(--hcm-highlight-selected-filter);
}
}
.sd-pdf-viewer-page__text-layer .highlight {
  margin: -1px;
  padding: 1px;
  background-color: var(--highlight-bg-color);
  -webkit-backdrop-filter: var(--highlight-backdrop-filter);
  backdrop-filter: var(--highlight-backdrop-filter);
  border-radius: 4px;
}
.appended:is(.sd-pdf-viewer-page__text-layer .highlight) {
  position: initial;
}
.begin:is(.sd-pdf-viewer-page__text-layer .highlight) {
  border-radius: 4px 0 0 4px;
}
.end:is(.sd-pdf-viewer-page__text-layer .highlight) {
  border-radius: 0 4px 4px 0;
}
.middle:is(.sd-pdf-viewer-page__text-layer .highlight) {
  border-radius: 0;
}
.selected:is(.sd-pdf-viewer-page__text-layer .highlight) {
  background-color: var(--highlight-selected-bg-color);
  -webkit-backdrop-filter: var(--highlight-selected-backdrop-filter);
  backdrop-filter: var(--highlight-selected-backdrop-filter);
}
.sd-pdf-viewer-page__text-layer ::-moz-selection {
  background: rgba(0 0 255 / 0.25);
  background: color-mix(in srgb, AccentColor, transparent 75%);
}
.sd-pdf-viewer-page__text-layer ::selection {
  background: rgba(0 0 255 / 0.25);
  background: color-mix(in srgb, AccentColor, transparent 75%);
}
.sd-pdf-viewer-page__text-layer br::-moz-selection {
  background: transparent;
}
.sd-pdf-viewer-page__text-layer br::selection {
  background: transparent;
}
.sd-pdf-viewer-page__text-layer .endOfContent {
  display: block;
  position: absolute;
  inset: 100% 0 0;
  z-index: 0;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.textLayer.selecting .endOfContent {
  top: 0;
}

.sd-pdf-viewer-document[data-v-2152178b] {
  position: relative;
  width: 100%;
}
.sd-pdf-viewer-document__wrapper[data-v-2152178b] {
  width: 100%;
  padding-bottom: 10px;
}

.sd-pdf-viewer[data-v-c47c92bc] {
  width: 100%;
  position: relative;
}
.sd-pdf-viewer__main[data-v-c47c92bc] {
  width: 100%;
}
/*$vite$:1*/