.office-file-annotation-panel {
  --office-file-review-panel-width: 300px;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 var(--office-file-review-panel-width);
  width: var(--office-file-review-panel-width);
  min-width: 0;
  height: 100%;
  overflow: visible;
  visibility: visible;
  background: var(--office-file-surface-color);
  border-left: 1px solid var(--office-file-border-color);
  transition: flex-basis 280ms cubic-bezier(0.2, 0, 0, 1), width 280ms cubic-bezier(0.2, 0, 0, 1), visibility 0s linear;
}
.office-file-annotation-panel[data-visible='false'] {
  flex-basis: 0;
  width: 0;
  visibility: hidden;
  pointer-events: none;
  transition: flex-basis 220ms cubic-bezier(0.4, 0, 1, 1), width 220ms cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 220ms;
}
.office-file-annotation-panel[data-resizing='true'] {
  transition: none;
}
.office-file-annotation-panel__surface {
  display: flex;
  width: var(--office-file-review-panel-width);
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}
.office-file-annotation-panel__resize-handle {
  position: absolute;
  z-index: 4;
  top: 0;
  left: -6px;
  display: flex;
  width: 12px;
  height: 100%;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
  touch-action: none;
}
.office-file-annotation-panel__resize-handle::before {
  width: 1px;
  height: 100%;
  background: transparent;
  content: '';
  transition: background 160ms ease;
}
.office-file-annotation-panel__resize-handle > span {
  position: absolute;
  width: 3px;
  height: 44px;
  background: var(--office-file-disabled-text-color);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 160ms ease;
}
.office-file-annotation-panel__resize-handle:hover::before,
.office-file-annotation-panel__resize-handle:focus-visible::before,
.office-file-annotation-panel[data-resizing='true'] .office-file-annotation-panel__resize-handle::before {
  background: var(--office-file-primary-color);
}
.office-file-annotation-panel__resize-handle:hover > span,
.office-file-annotation-panel__resize-handle:focus-visible > span,
.office-file-annotation-panel[data-resizing='true'] .office-file-annotation-panel__resize-handle > span {
  opacity: 1;
}
.office-file-annotation-panel__resize-handle:focus-visible {
  outline: 2px solid var(--office-file-primary-color);
  outline-offset: -2px;
}
.office-file-annotation-panel__header {
  display: flex;
  flex: 0 0 auto;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-file-annotation-panel__header > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.office-file-annotation-panel__header strong {
  color: var(--office-file-text-color);
  font-size: 14px;
}
.office-file-annotation-panel__header > div:first-child > span {
  color: var(--office-file-muted-text-color);
  font-size: 12px;
}
.office-file-annotation-panel__header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}
.office-file-annotation-panel__summary {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  color: var(--office-file-muted-text-color);
  font-size: 12px;
  background: var(--office-file-subtle-surface-color);
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-file-annotation-panel__summary span {
  padding: 2px 7px;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-border-color);
  border-radius: 999px;
}
.office-file-annotation-panel__list {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  outline: none;
  scrollbar-gutter: stable;
}
.office-file-annotation-panel__list:focus-visible {
  box-shadow: inset 0 0 0 2px var(--office-file-focus-ring-color);
}
.office-file-annotation-panel__list-space {
  position: relative;
  min-height: 100%;
}
.office-file-annotation-panel__item-position {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  box-sizing: border-box;
  height: 112px;
  padding: 6px 10px;
}
.office-file-annotation-panel__item {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px;
  color: var(--office-file-text-color);
  font: inherit;
  text-align: left;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-border-color);
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.office-file-annotation-panel__item:hover {
  background: var(--office-file-subtle-surface-color);
  border-color: var(--office-file-primary-hover-color);
}
.office-file-annotation-panel__item[aria-selected='true'] {
  background: var(--office-file-selected-surface-color);
  border-color: var(--office-file-primary-color);
  box-shadow: 0 0 0 1px var(--office-file-focus-ring-color);
}
.office-file-annotation-panel__item:focus-visible {
  outline: 2px solid var(--office-file-primary-color);
  outline-offset: -2px;
}
.office-file-annotation-panel__item-meta,
.office-file-annotation-panel__item-footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--office-file-muted-text-color);
  font-size: 11px;
  line-height: 1.3;
}
.office-file-annotation-panel__item-meta strong {
  overflow: hidden;
  color: var(--office-file-text-color);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.office-file-annotation-panel__item-text {
  min-height: 42px;
  max-height: 42px;
  overflow: hidden;
  color: var(--office-file-text-color);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.office-file-annotation-panel__resolved {
  color: #237804;
}
.office-file-annotation-panel__status {
  display: grid;
  flex: 1 1 auto;
  min-height: 120px;
  place-items: center;
  padding: 24px;
  color: var(--office-file-muted-text-color);
  line-height: 1.6;
  text-align: center;
}
.office-file-annotation-marker {
  padding: 0;
  color: inherit;
  background: rgba(80, 157, 232, 0.28);
  cursor: pointer;
}
.office-file-annotation-marker--active {
  background: rgba(80, 157, 232, 0.42);
  box-shadow: inset 0 -2px var(--office-file-primary-color);
}
.office-file-annotation-marker--resolved {
  background: rgba(148, 163, 184, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .office-file-annotation-panel {
    transition: flex-basis 180ms ease-out, width 180ms ease-out, visibility 0s linear;
  }
  .office-file-annotation-panel[data-visible='false'] {
    transition: flex-basis 150ms ease-in, width 150ms ease-in, visibility 0s linear 150ms;
  }
  .office-file-annotation-panel__item,
  .office-file-annotation-panel__resize-handle::before,
  .office-file-annotation-panel__resize-handle > span {
    transition-duration: 80ms;
  }
}
