/*
 * TikTok for Business 应用抽屉共享样式
 * index--概览.html、index--潜在.html、index--后台.html 均引用此文件。
 */
[data-shared-app-drawer]#appDrawer.app-drawer {
  position: fixed !important;
  top: var(--shared-app-drawer-top, 70px) !important;
  left: 14px !important;
  z-index: 7000 !important;
  width: 256px !important;
  height: 612px !important;
  min-height: 0 !important;
  padding: 18px 16px 16px !important;
  border: 0 !important;
  border-radius: 0 0 7px 7px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: block !important;
  color: #111318 !important;
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(22, 24, 35, .13) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-10px) !important;
  transition: opacity .14s ease-out, transform .14s ease-out, visibility 0s linear .14s !important;
  font-family: "TikTok Sans Text", "TikTok Text", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

[data-shared-app-drawer]#appDrawer.app-drawer.active {
  left: 14px !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
  transition: opacity .14s ease-out, transform .14s ease-out, visibility 0s !important;
}

.shared-app-drawer__brand {
  height: 36px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #111318;
}

.shared-app-drawer__brand-mark { width: 20px; height: 20px; flex: 0 0 20px; color: #111318; }
.shared-app-drawer__brand strong { font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -.5px; }
.shared-app-drawer__brand span { font-size: 14px; line-height: 20px; font-weight: 500; }

.shared-app-drawer__user {
  height: 56px;
  margin: 0 0 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 2px;
  background: #f7f7f8;
}

.shared-app-drawer__avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #009f98;
  font-size: 13px;
  line-height: 28px;
  font-weight: 600;
}

.shared-app-drawer__user-name { min-width: 0; color: #292c33; font-size: 14px; line-height: 20px; font-weight: 400; }
.shared-app-drawer__more { width: 16px; height: 16px; margin-left: auto; flex: 0 0 16px; color: #161823; }
.shared-app-drawer__menu { display: flex; flex-direction: column; gap: 0; }

.shared-app-drawer__item {
  width: 100%;
  height: 50px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #24272d;
  background: transparent;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}

.shared-app-drawer__item:hover { color: #24272d; background: #f5f5f6; }
.shared-app-drawer__item.is-active,
.shared-app-drawer__item.is-active:hover { color: #008f88; background: #e7f9f6; }
.shared-app-drawer.is-all-tools-open .shared-app-drawer__item[data-app-drawer-item="all"] { color: #24272d; background: #f0f1f2; }
.shared-app-drawer__item:focus-visible { outline: 2px solid #00a39b; outline-offset: -2px; }

.shared-app-drawer__icon {
  width: 16px;
  height: 18px;
  flex: 0 0 16px;
  display: grid;
  place-items: center;
  color: currentColor;
}

.shared-app-drawer__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shared-app-drawer__icon svg.is-solid { fill: currentColor; stroke: none; }

.shared-all-tools {
  position: fixed;
  top: var(--shared-app-drawer-top, 70px);
  left: 289px;
  z-index: 6999;
  width: 450px;
  height: 724px;
  padding: 0 24px 18px;
  box-sizing: border-box;
  overflow: hidden;
  color: #161823;
  background: #f7f7f8;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 4px 18px rgba(22, 24, 35, .14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity .14s ease-out, transform .14s ease-out, visibility 0s linear .14s;
  font-family: "TikTok Sans Text", "TikTok Text", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.shared-all-tools.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: opacity .14s ease-out, transform .14s ease-out, visibility 0s;
}

.shared-all-tools__head {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shared-all-tools__head h2 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; }
.shared-all-tools__close { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 3px; color: #666970; background: transparent; font: 25px/28px Arial, sans-serif; cursor: pointer; }
.shared-all-tools__close:hover { color: #161823; background: #ebeced; }

.shared-all-tools__scroll {
  height: calc(100% - 56px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #b6b8bc transparent;
}
.shared-all-tools__scroll::-webkit-scrollbar { width: 8px; }
.shared-all-tools__scroll::-webkit-scrollbar-thumb { border: 2px solid #fff; border-radius: 8px; background: #b6b8bc; }

.shared-all-tools__card {
  min-height: 100%;
  padding: 14px 14px 12px;
  box-sizing: border-box;
  border-radius: 5px;
  background: #fff;
}

.shared-all-tools__group { margin: 0 0 8px; color: #72767d; font-size: 12px; line-height: 18px; }
.shared-all-tools__group--second { margin-top: 25px; }
.shared-all-tools__row {
  width: 100%;
  min-height: 70px;
  padding: 7px 6px;
  border: 0;
  border-radius: 3px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 8px;
  color: #161823;
  background: #fff;
  text-decoration: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.shared-all-tools__row:hover { color: #161823; background: #f5f6f6; }
.shared-all-tools__row:focus-visible { outline: 2px solid #00a39b; outline-offset: -2px; }
.shared-all-tools__icon { width: 18px; height: 20px; display: grid; place-items: center; margin-top: 1px; }
.shared-all-tools__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.shared-all-tools__icon svg.is-solid { fill: currentColor; stroke: none; }
.shared-all-tools__copy { min-width: 0; display: block; }
.shared-all-tools__copy strong { display: block; margin-bottom: 2px; font-size: 14px; line-height: 20px; font-weight: 500; }
.shared-all-tools__copy small { display: block; color: #7b7f86; font-size: 12px; line-height: 17px; font-weight: 400; }
.shared-all-tools__pin { width: 18px; height: 18px; display: grid; place-items: center; color: #6f7379; }
.shared-all-tools__pin svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }

@media (max-width: 780px) {
  .shared-all-tools { left: 270px; width: calc(100vw - 278px); min-width: 360px; }
}

@media (max-height: 800px) {
  .shared-all-tools { height: calc(100vh - var(--shared-app-drawer-top, 70px) - 8px); }
}

@media (max-height: 700px) {
  [data-shared-app-drawer]#appDrawer.app-drawer {
    height: calc(100vh - var(--shared-app-drawer-top, 70px) - 8px) !important;
    overflow-y: auto !important;
  }
}
