:root {
  --ds-font-family-body: "Arial";
  --color-font-black: #555;
  --color-font-white: #fff;
  --color-gray-placeholder: #626f86;

  --color-gray-border: #b0b0b0;

  --color-white-background-dark: #f5f5f5;
  --color-gray-background-light: #e0e0e0;
  --color-gray-background-dark: #d0d0d0;
  --color-blue-background: #0974f6;
  --color-blue-background-dark: #006aeb;
  --color-blue-background-light: #409eff;
  --color-yellow-background: #d6a411;
  --color-yellow-background-light: #fff2a1;

  --color-red: rgb(224, 4, 4);

  --border-radius: 5px;
  --border-radius-bigger: 10px;

  --border-normal: 1px solid var(--color-gray-border);
  --border-lighter: 1px solid var(--color-gray-background-light);
  --border-blue: 1px solid var(--color-blue-background);
  --boxshadow-normal: 3px 3px 5px rgba(0, 0, 0, 0.15), inset 1px 1px 0 rgba(255, 255, 255,
      0.3);

  --boxshadow-card: 0 2px 12px 0 rgba(0, 0, 0, 0.1);

}

*::-webkit-scrollbar {
  width: 7px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
  border: 2px solid #fff;
  cursor: pointer;

  &:hover {
    background-color: #555;
  }
}

.tox-sidebar-wrap {
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--ds-font-family-body);
  font-size: 15px !important;
}

body#tinymce {
  width: 60%;
  margin: auto;
  /* height: 97vh; */
  letter-spacing: 0.5px;
}

.mce-content-body {
  height: auto;
}

.mce-content-body [contentEditable=true] {
  outline: none;
}

.mce-content-body [contentEditable=false] [contentEditable=true]:hover {
  outline: none;
}

section main:empty::before,
.no-data-place[data-placeholder]::before {
  content: attr(data-placeholder);
  position: absolute;
  color: var(--color-gray-placeholder);
}

.no-data-place[data-placeholder]::before {
  width: 100%;
  display: contents;
}

.editable {
  outline: none
}

section main:has(> br[data-mce-bogus]:first-child)::before {
  content: "Type / for all elements or @ to mention someone.";
  position: absolute;
  color: var(--color-gray-placeholder);
}

.tox-tinymce-aux .tox-toolbar[role="group"] {
  display: flex;
  flex-direction: column;
}

.tox:not(.tox-tinymce-inline) .tox-editor-header {
  box-shadow: none !important;
  z-index: 0 !important;
}

.tox .tox-collection--list {
  .tox-collection__item[aria-label="View more"] {
    background-color: var(--color-font-white);
    cursor: pointer;
    position: sticky;
    bottom: 0px;
    height: 3rem;

    .tox-collection__item-label {
      font-size: 1.2rem;
      font-weight: 600;
    }

    &:hover {
      background-color: var(--color-gray-background-light);
    }
  }
}

/* .tox .tox-collection--list .tox-collection__group>div:last-child {
  background-color: papayawhip;
} */

.title-section {
  margin: 1rem 0;
}

.title-section input {
  height: 4rem;
  border: none;
  font-size: 1.5rem;
  width: 100%;
  color: var(--color-font-black);
  letter-spacing: 1px;
  background: none;
}

.title-section input:focus {
  outline: none;
}

#content-section {
  overflow-wrap: break-word;
  white-space: normal;
}

#content-section li {
  margin: 0.5rem 0;
}




#content-section {
  table:not([border="0"]) {
    border-collapse: collapse !important;
    border: 1px solid var(--color-gray-border) !important;
  }

  table:not([border="0"]) td,
  table:not([border="0"]) th {
    border: 1px solid var(--color-gray-border) !important;
    padding: 5px !important;
  }

  table {
    border-collapse: collapse;
    width: 100%;
    border-width: 1px;
    border-color: var(--color-gray-border);

    .background-gray {
      background-color: #e8e8e8
    }

    .background-green {
      background-color: #dcfff1;
    }

    .background-yellow {
      background-color: #fef7c8;
    }

    .background-red {
      background-color: #ffeceb;
    }

    .background-blue {
      background-color: #cfd8f1;
    }

    .background-purple {
      background-color: #EAE6FF;
    }

    tr {
      height: 50px;
    }

    td {
      border-color: var(--color-gray-border);
      padding: 5px;

      p {
        margin: 0.5rem;
      }
    }
  }
}

.mention-people-card-style.avatar-style {
  width: 2rem !important;
  height: 2rem !important;
  object-fit: contain;
  margin-right: 1.5rem;
  cursor: pointer;
}

.mention-people-card-style.text-style {
  font-weight: 700;
  cursor: pointer;
  margin-right: 2rem;
}

.operation-section {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--color-gray-background-light);
  border-radius: var(--border-radius-bigger);
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;
  bottom: 1rem;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  caret-color: transparent;
}

/* 按钮基础样式：图标+文字的组合按钮 */
.operation-section .btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--color-gray-background-light);
  border-radius: var(--border-radius);
  background-color: transparent;
  color: var(--color-font-black);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-family: var(--ds-font-family-body);
  font-size: 0.9rem;
}

/* 按钮 hover 交互：背景浅灰、文字加深 */
.operation-section .btn:hover {
  background-color: var(--color-gray-background-light) !important;
  color: var(--color-font-black) !important;
}

/* 按钮「选中状态」：背景深灰、边框同步变化 */
.operation-section .btn.active {
  background-color: var(--color-gray-background-dark) !important;
  border-color: var(--color-gray-border) !important;
}

/* 图标区域：统一 SVG 尺寸、间距 */
.operation-section .icon svg {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  stroke: currentColor;
}

/* 容器样式 */
.card-container {
  width: 15rem;
  max-width: 15rem;
  height: 12rem;
  margin: 1rem 0;
  box-shadow: 0 2px 0.5rem rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-bigger);
  overflow: hidden;
}

/* 图片区域 */
.card-container .image-section {
  height: 80%;
  position: relative;
  transition: all 0.3s ease;
}

.card-container .image-section img {
  width: 100%;
  height: 100%;
  object-fit:
    contain;
  display: block;
}

.card-container .image-section:hover {
  box-shadow:
    inset 0 0 12rem rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
}

/* 文字区域 */
.card-container .text-section {
  height: 20%;
  padding: 0 5px;
  background:
    #f8f9fa;
  border-top: 1px solid #eee;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
}

.upload-file-section {
  position: relative;
}

.upload-file-section .img-comment-tips {
  position: absolute;
  top: 0;
  left: 5px;

  svg {
    fill: #fff2a1;
    cursor: pointer;
  }
}

.img-comment-tips.is-active {
  svg {
    fill: #d6a411;
  }
}

.inline-container {
  color: #333333;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-right-color: #ccc;
  border-bottom-color: #bbb;
  border-radius: var(--border-radius);
  box-shadow: var(--boxshadow-normal);
  display: inline-block;
  cursor: pointer;
  margin: 0 0.5rem;
}

.inline-container:hover {
  background-color: var(--color-white-background-dark);
}

.mention-user {
  color: var(--color-font-white);
  font-weight: 500;
  background: var(--color-blue-background);
  padding: 1px 5px;
  border-radius: var(--border-radius-bigger);
  cursor: pointer !important;
}

.mention-user:hover {
  background: var(--color-blue-background-dark);
}

/* 卡片整体样式：宽度、阴影、圆角 */
.people-avatar {
  width: 320px;
  border-radius: var(--border-radius-bigger);
  box-shadow: var(--boxshadow-card);
  overflow: hidden;
  cursor: default !important;
  background: #fff;
  z-index: 2;
}

.people-avatar-header {
  background-color: var(--color-blue-background);
  display: flex;
  align-items: center;
  padding: 16px;
}

.people-avatar .tinymce-avatar {
  width: 3rem !important;
  height: 3rem !important;
  border-radius: 50%;
  background-color: var(--color-gray-background-light);
  margin-right: 1rem;
}

.people-avatar .name {
  color: var(--color-font-white);
  font-size: 1.2rem;
  margin: 0;
}

.people-avatar-body {
  padding: 1rem 1rem 1rem 5rem;
}

.people-avatar .email {
  margin: 0 0 1rem;
  color: var(--color-font-black);
}

.people-avatar .buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.people-avatar .avatar-btn {
  background-color: var(--color-font-white);
  border: var(--border-lighter);
  border-radius: var(--border-radius);
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--ds-font-family-body);
  color: var(--color-font-black);
}

.people-avatar .avatar-btn:hover {
  background-color: var(--color-white-background-dark);
}

.insert-date {
  border-radius: var(--border-radius);
  padding: 4px;
  cursor: pointer !important;
  background-color: var(--color-gray-background-light);
  user-select: none;
}

.insert-date:hover {
  background: var(--color-gray-background-dark);
}

.calendar-panel {
  width: 350px;
  background: var(--color-font-white);
  border-radius: var(--border-radius);
  box-shadow: var(--boxshadow-card);
  padding: 20px;
  font-family: var(--ds-font-family-body);
}

/* 头部样式 */
.date-panel .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.nav-btn {
  cursor: pointer;
  padding: 8px 12px;
  border: none;
  background: var(--color-white-background-dark);
  border-radius: var(--border-radius);
  transition: background 0.2s;
}

.nav-btn:hover {
  background: var(--color-gray-background-light);
}

.current-month {
  font-weight: 600;
  color: var(--color-font-black);
}

/* 星期行 */
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.weekday {
  text-align: center;
  color: var(--color-font-black);
  font-size: 14px;
}

/* 日期网格 */
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.day-cell {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s;
}

.day-cell:hover:not(.disabled) {
  background: var(--color-white-background-dark);
}

.current-day {
  background: var(--color-blue-background-light);
  color: var(--color-font-white);
}

.disabled {
  color: var(--color-gray-background-dark);
  cursor: not-allowed;
}



.highlighted-comment {
  background-color: var(--color-yellow-background-light);
  text-decoration: underline;
  cursor: pointer;
}

.highlighted-comment.is-active {
  background-color: var(--color-yellow-background);
}

/* panel-info  style */
.highlight-panel {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-bigger);
  background-color: #e0f2fe;
  color: #1e40af;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  max-width: 100%;
  margin: 1rem 0;

  display: flex;
  align-items: flex-start;
  gap: 1rem;

  p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.9375rem;
    flex-grow: 1;
  }

  .panel-icon {
    color: inherit;
    margin-top: 3px;
    flex-shrink: 0;
  }

  .panel-text {
    width: 95%;

    p {
      margin: 0;
      line-height: 1.5;
      font-size: 0.9375rem;
      flex-grow: 1;
    }

    h2 {
      margin-top: 0;
    }
  }
}

.panel-text [contentEditable=true] {
  outline: none !important;
}

.highlight-panel.no-icon .panel-icon {
  display: none !important;
}

/* panel-info 主题色彩方案 */
.theme-info {
  background-color: #e9dfff;
  color: #5425b9;
}

.theme-remark {
  background-color: #e0f2fe;
  color: #0a91eb;
}

.theme-success {
  background-color: #dcfce7;
  color: #15803d;
}

.theme-warning {
  background-color: #fff7ed;
  color: #c2410c;
}

.theme-error {
  background-color: #fee2e2;
  color: #b91c1c;
}

.theme-primary {
  background-color: #e0e7ff;
  color: #3b82f6;
}

.theme-description {
  background-color: #f3f4f6;
  color: #4b5563;
}


/* colorful-tag */
.colorful-tag {
  border-radius: var(--border-radius);
  padding: 1px 6px;
  margin: 0 5px;
  cursor: pointer !important;
  background-color: var(--color-gray-background-dark);
  user-select: none;
  font-weight: 700;
  white-space: nowrap;
}

.colorful-tag[data-color="tag-gray"] {
  background-color: #DCDFE4;
}

.colorful-tag[data-color="tag-blue"] {
  background-color: #85B8FF;
}

.colorful-tag[data-color="tag-green"] {
  background-color: #7EE2B8;
}

.colorful-tag[data-color="tag-yellow"] {
  background-color: #F5CD47;
}

.colorful-tag[data-color="tag-red"] {
  background-color: #FD9891;
}

.colorful-tag[data-color="tag-purple"] {
  background-color: #B8ACF6;
}


.link-anchor {
  cursor: pointer;
  color: var(--color-blue-background-light);
}

.link-anchor:hover {
  text-decoration: underline;
}

.link-text {
  color: var(--color-blue-background-light);
  text-decoration: underline;
}

.link-text:hover {
  text-decoration: none;
}

.text.color-blue {
  color: #2898bd;
}

.text.color-gray {
  color: #7d818a;
}

.live-search-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: fit-content;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  box-sizing: border-box;
}

div[data-id="live-search-wrapper"].large {
  width: 100%;

  .live-search-container,
  .live-search-select {
    width: 100%;
  }

  .input-wrapper {
    width: 98%;
  }

  .live-search-button {
    display: none;
  }
}

.live-search-container.center {
  margin: auto;
}

.live-search-container:hover {
  border: var(--border-lighter);
}

.live-search-container.focus {
  border: var(--border-lighter);
}


.live-search-select {
  position: relative;
  width: 300px;
  font-family: var(--ds-font-family-body);

  .select-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dcdfe6;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: var(--ds-font-family-body);
    outline: none;
    transition: border-color 0.3s;
  }

  .select-input:focus {
    border-color: var(--color-blue-background-light);
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
  }

  .select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 325px;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e4e7ed;
    border-radius: var(--border-radius);
    background: var(--color-font-white);
    box-shadow: var(--boxshadow-card);
    z-index: 1000;

  }

  .option-item {
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.3s;
  }

  .option-item:hover {
    background-color: var(--color-white-background-dark);
  }

  .option-item.selected {
    color: #fff;
    background-color: var(--color-blue-background-light);
  }

  .loading-text,
  .no-data-text {
    padding: 8px 12px;
    color: #909399;
    font-size: 14px;
    text-align: center;
  }

  .arrow-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    pointer-events: none;
  }

  .arrow-icon.reverse {
    transform: translateY(-50%) rotate(180deg);
  }

  .clear-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .input-wrapper {
    position: relative;
  }
}

.live-search-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-family: var(--ds-font-family-body);
  font-size: 16px;
  caret-color: transparent;
}

.live-search-button:hover {
  background-color: var(--color-gray-background-light);
}

span[data-id="smart-button-wrapper"] {
  display: inline-block;
}

span[data-id="smart-button-wrapper"].active {
  .smart-button {
    border: var(--border-blue);
  }
}

.smart-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background-color: var(--color-font-white);
  border: var(--border-lighter);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
  font-family: var(--ds-font-family-body);
  caret-color: transparent;

  .mdi.red {
    color: var(--color-red);
  }
}

.smart-button:hover {
  border: var(--border-blue);
}


.layout-wrapper {
  display: grid;
  gap: 1rem;

  &.column-1 {
    grid-template-columns: repeat(1, 1fr);
  }

  &.column-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  &.column-2-sider-left {
    grid-template-columns: 2fr 1fr;
  }

  &.column-2-sider-right {
    grid-template-columns: 1fr 2fr;
  }

  &.column-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  &.column-3-sider-left {
    grid-template-columns: 2fr 1fr 1fr;
  }

  &.column-3-sider-center {
    grid-template-columns: 1fr 2fr 1fr;
  }

  &.column-3-sider-right {
    grid-template-columns: 1fr 1fr 2fr;
  }

  &.column-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  &.column-5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .layout-item {
    padding: 1rem;

    p {
      margin: 0;
      position: relative;
      transition: all 0.3s ease;
      max-width: 100%;

      word-break: break-word;
      white-space: normal;
      overflow-wrap: anywhere;

      border-right: var(--border-lighter);
    }


  }

  .layout-item:hover {
    background-color: var(--color-white-background-dark);
    /* transform: translateY(-5px); */
    box-shadow: var(--boxshadow-normal);
    z-index: 2;
  }

  .layout-item:last-child {
    border-right: none;
  }
}

.more-info-wrapper {
  box-sizing: border-box;
  padding: 0.5rem 0.5rem;
  display: flex;
  gap: 1rem;
  border-radius: var(--border-radius);
  border: var(--border-lighter);

  &.no-border {
    border: none;
  }

  &:hover {
    border: var(--border-lighter);
  }

  .left {
    height: fit-content;
  }

  .left.rotate {
    transform: rotate(270deg);
  }

  .mdi {
    cursor: pointer;
    padding: 0 0.3rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
  }

  .mdi:hover {
    background-color: var(--color-gray-background-light);
  }

  .right-content {
    p {
      margin: 0.5rem 0;
      word-break: break-word;
    }
  }

  .right-content.hide {
    display: none;
  }
}

.content-properties {
  padding: 3rem 2.5rem;
  border: var(--border-normal);
  border-radius: var(--border-radius);
}



.recent-list {
  font-family: var(--ds-font-family-body);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--color-gray-background-light);
  border-bottom: 1px solid var(--color-gray-background-light);
  padding: .625rem 0;

  &:empty {
    border: none;
  }

  .recent-item {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    margin: 0.3125rem 0;



    a {
      color: var(--color-blue-background-light)
    }

    .recent-item-content-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .recent-item-title {
      font-weight: 500;
      font-size: 1rem;
    }

    .recent-item-content {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 0.5rem;

      span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .recent-item-time::after {
        content: "•";
        margin-left: 8px;
        font-size: 1.2rem;
        vertical-align: middle;
      }

      .label-tag {
        background-color: var(--color-gray-background-light);
        padding: 0 0.3rem;
        border-radius: var(--border-radius);
        cursor: pointer;
        margin: 0 0.5rem;

      }
    }

    .page-before::before {
      content: "\1F4C4 ";
      font-size: 1.2em;
    }

  }
}

.recent-update-show-more {
  background-color: var(--color-font-white);
  border: var(--border-lighter);
  border-radius: var(--border-radius);
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--ds-font-family-body);
  color: var(--color-font-black);
}



.user-icon {
  width: 20px;
}

/* table of contents */
.toc-level-2 {
  margin-left: 10px !important;
}

.toc-level-3 {
  margin-left: 20px !important;
}

.toc-level-4 {
  margin-left: 30px !important;
}

.toc-level-5 {
  margin-left: 40px !important;
}

.toc-level-6 {
  margin-left: 50px !important;
}

.content-report-properties {
  padding: 0.3rem 1rem;
  border: var(--border-normal);
  border-radius: var(--border-radius);
  cursor: pointer;
  user-select: none;
  caret-color: transparent;
  overflow-x: auto;
}

.content-report {
  padding: 0.3rem 1rem;
  /* border: var(--border-normal); */
  border-radius: var(--border-radius);
  cursor: pointer;
  user-select: none;
  caret-color: transparent;

  &:hover {
    border: var(--border-normal);
  }

  &.border {
    border: var(--border-normal);
  }

  .mdi {
    width: 2rem;
    height: 2rem;
  }

  .link {
    color: var(--color-blue-background);

    &:hover {
      text-decoration: underline;
    }
  }
}

/* 阻止特定容器内的表格调整器显示 */
[data-id="jira-work-items-wrapper"] .ephox-snooker-resizer-bar {
  display: none !important;
  visibility: hidden !important;
}

/* 或者完全隐藏 */
.ephox-snooker-resizer-bar {
  display: none !important;
}

.split-bar {
  border: 0;
  height: 2px;
  background: var(--color-gray-background-light);
  margin: 1.8rem 0;
}

.table-app {
  border: 0.5rem solid var(--color-gray-background-light);
  cursor: move;
  margin: 1rem 0;
  /* caret-color: transparent; */

  table {
    cursor: text;
    max-width: 97% !important;
  }

  &::before {
    content: attr(data-macro-type) " | " attr(data-macro-id) " | " attr(data-macro-attrs);
    width: 100%;
    display: inline-block;
    background-color: var(--color-gray-background-light);
    user-select: none;
    caret-color: transparent;
    cursor: pointer;
  }
}

.table-app>* {
  margin: 1rem;
}

.table-app[data-macro-type="Table Spreadsheet"] {
  background-color: var(--color-gray-background-light);
}

.spreadsheet-display {
  height: 40rem;
}

img {
  max-width: 100%;
}

[data-id="recent-updates-table-wrapper"] {
  .title {
    font-size: 20px;
    font-weight: bold;
  }
}


[aria-macro-type="children-items-wrapper"] a {
  cursor: pointer;
}

[aria-macro-type="filter-by-label-wrapper"] {
  max-height: 20rem;
  position: relative;
  padding: 0 1rem;

  a {
    cursor: pointer;
  }

  .title {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 3rem;
    background: #fff;
    margin: 0;
    display: flex;
    align-items: center;
  }
}

[aria-macro-type="label-list-wrapper"] {
  ol {
    display: flex;
    padding: 0;
    gap: 2rem;
    flex-wrap: wrap;
    max-height: 25rem;
  }

  li,
  ul {
    list-style-type: none;
    padding: 0;
  }

  .label-title {
    height: 2rem;
    border-bottom: 2px solid var(--color-gray-background-dark);
  }

  a {
    cursor: pointer;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

[aria-macro-type="excerpt-wrapper"] {
  caret-color: auto
}

[aria-macro-type="excerpt-include-wrapper"] {
  border: 0.5rem solid var(--color-gray-background-light);
  cursor: move;
  margin: 1rem 0;
  caret-color: transparent;

  &::before {
    content: attr(aria-page-name) " | " attr(aria-excerpt-name);
    width: 100%;
    display: inline-block;
    background-color: var(--color-gray-background-light);
    user-select: none;
    caret-color: transparent;
    cursor: pointer;
  }

  &.no-border {
    border: none;

    &::before {
      content: none
    }
  }

  &:empty {
    border: none;

    &::before {
      content: none
    }
  }
}

[data-id="jira-legacy-wrapper"],
[data-id="jira-work-items-wrapper"] {
  padding: 1rem 0.5rem;
  border: var(--border-lighter);
  border-radius: 10px;
  position: relative;
  caret-color: transparent;

  table {
    font-size: 14px;
    border: none;
    color: var(--color-font-black);
  }

  table td,
  table th {
    border: none;
  }

  thead {
    background-color: var(--color-gray-background-light) !important;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  tr {
    border-top: 1px solid var(--color-gray-border);
    border-bottom: 1px solid var(--color-gray-border);
  }

  td {
    min-width: 100px;
    text-align: center;

    img {
      width: 1rem;
      height: 1rem;
      object-fit: contain;
      margin-right: 0.5rem;
    }

    a {
      text-decoration: none;
      color: var(--color-blue-background-light);
      cursor: pointer;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  .jira-legacy-footer {
    padding: 0 1rem;
    margin-bottom: 0;

    .refresh-jira-legacy {
      background-color: var(--color-font-white);
      border: var(--border-lighter);
      border-radius: var(--border-radius);
      padding: 0.3rem;
      cursor: pointer;
      font-size: 1rem;
      font-family: var(--ds-font-family-body);
      color: var(--color-font-black);
      margin-left: 0.5rem;
    }

    a {
      text-decoration: none;
      color: var(--color-blue-background-light);
      cursor: pointer;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  .jira-work-items-container,
  .jira-legacy-container {
    max-height: 25rem;
  }

  .ephox-snooker-resizer-bar {
    display: none !important;
    visibility: hidden !important;
  }

  .ephox-snooker-resizer-bar {
    display: none !important;
  }


}

/* .jira-roda-map-section {
  overflow: auto;
  min-height: 12.5rem;
  border: 1px solid var(--color-gray-border);
  padding: 0.5rem;
} */

.page-title {
  padding: 0.625rem 0;
}

.title {
  font-weight: 700;
  font-size: 1.25rem;

  display: flex;
  align-items: center;
}

[aria-macro-type="jira-timeline-wrapper"],
[data-id="jira-roda-map-section"],
[aria-macro-type="roadmap-planner"],
[data-id="forums-wrapper"] {
  border: var(--border-lighter);
  border-radius: var(--border-radius);
  cursor: pointer;
  caret-color: transparent;
  box-sizing: border-box;
  padding: 0.5rem;


  iframe {
    width: calc(100% - 1px);
  }
}

[aria-macro-type="jira-timeline-wrapper"],
[data-id="forums-wrapper"],
[aria-macro-type="roadmap-planner"],
[data-id="jira-roda-map-section"] {
  iframe {
    height: 500px !important;
  }
}

.drawio-wrapper {
  padding: 1rem;
  border: var(--border-lighter);

  img {
    border: none !important;
  }
}
