/* ---- Suggestions (Suggesting mode: insertion/deletion marks) ------- */
.docx-editor-suggestion--insert {
  color: #0f9d58;
  text-decoration: underline;
  text-decoration-color: #0f9d58;
  background: rgba(15, 157, 88, 0.08);
  cursor: pointer;
}
.docx-editor-suggestion--delete {
  color: #d93025;
  text-decoration: line-through;
  background: rgba(217, 48, 37, 0.08);
  cursor: pointer;
}

.docx-editor-suggestion-popover {
  background: #ffffff;
  border: 1px solid var(--de-border-raw);
  border-left: 3px solid #0f9d58;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 10px 12px;
  animation: docx-editor-suggestion-popover-in 100ms ease-out;
}
.docx-editor-suggestion-popover[data-kind="deletion"] {
  border-left-color: #d93025;
}
@keyframes docx-editor-suggestion-popover-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.docx-editor-suggestion-popover__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.docx-editor-suggestion-popover__who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.docx-editor-suggestion-popover__avatar {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #5f6368;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.docx-editor-suggestion-popover__who-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.docx-editor-suggestion-popover__author {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--de-text, #1f2328);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.docx-editor-suggestion-popover__time {
  font-size: 10.5px;
  color: var(--de-text-muted);
  line-height: 1.3;
}
.docx-editor-suggestion-popover__quick-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.docx-editor-suggestion-popover__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--de-border-raw);
  background: #fff;
}
.docx-editor-suggestion-popover__icon-btn--accept {
  color: #0f9d58;
}
.docx-editor-suggestion-popover__icon-btn--accept:hover {
  background: rgba(15, 157, 88, 0.08);
}
.docx-editor-suggestion-popover__icon-btn--reject {
  color: #d93025;
}
.docx-editor-suggestion-popover__icon-btn--reject:hover {
  background: rgba(217, 48, 37, 0.08);
}
.docx-editor-suggestion-popover__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: var(--de-text-muted);
}
.docx-editor-suggestion-popover__dismiss:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--de-text, #1f2328);
}
.docx-editor-suggestion-popover__body {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--de-text, #1f2328);
  font-style: italic;
  word-break: break-word;
  padding-left: 30px;
}
.docx-editor-suggestion-popover__body strong {
  font-style: normal;
  font-weight: 600;
}
