:root {
  --bg: #ffffff;
  --ink: #151515;
  --line: #ececec;
  --font-brand: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body.pc-shell-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.pc-shell-body button,
body.pc-shell-body input,
body.pc-shell-body textarea {
  font: inherit;
}

.pc-shell button,
.pc-shell input,
.pc-shell textarea {
  font: inherit;
}

body.pc-shell-body button {
  border: 0;
  background: none;
  cursor: pointer;
}

.pc-shell button {
  border: 0;
  background: none;
  cursor: pointer;
}

body.pc-shell-body a {
  color: inherit;
  text-decoration: none;
}

.pc-shell a {
  color: inherit;
  text-decoration: none;
}

body.pc-shell-body img {
  display: block;
  max-width: 100%;
}

.pc-shell img {
  display: block;
  max-width: 100%;
}

.pc-shell {
  min-height: 100vh;
  position: relative;
}

.pc-layout {
  position: relative;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns 0.26s ease;
}

.pc-shell.pc-sidebar-hidden .pc-layout {
  grid-template-columns: 0 minmax(0, 1fr);
}

.pc-sidebar-toggle {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 252px;
  z-index: 24;
  width: 64px;
  display: block;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: ew-resize;
  transition: left 0.24s ease, transform 0.24s ease;
}

.pc-sidebar-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(205, 205, 205, 0.08) 0%,
    rgba(178, 178, 178, 0.42) 10%,
    rgba(178, 178, 178, 0.42) 90%,
    rgba(205, 205, 205, 0.08) 100%
  );
  transform: translateX(-50%);
  transition: opacity 0.14s ease, width 0.14s ease, background 0.14s ease;
}

.pc-sidebar-toggle:hover::before,
.pc-sidebar-toggle:focus-visible::before {
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(205, 205, 205, 0.16) 0%,
    rgba(150, 150, 150, 0.86) 10%,
    rgba(150, 150, 150, 0.86) 90%,
    rgba(205, 205, 205, 0.16) 100%
  );
}

.pc-sidebar-toggle:focus-visible,
.pc-history-head:focus-visible,
.pc-login-button:focus-visible {
  outline: none;
  box-shadow: none;
}

.pc-shell.pc-sidebar-hidden .pc-sidebar-toggle {
  left: 0;
  transform: none;
}

.pc-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-right: 1px solid var(--line);
  padding: 16px 10px 18px;
  overflow: hidden;
  background: #fff;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.pc-shell.pc-sidebar-hidden .pc-sidebar {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-22px);
}

.pc-sidebar::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 18px;
  height: 1px;
  background: var(--line);
}

.pc-sidebar-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 22px;
}

.pc-sidebar-top {
  display: grid;
  gap: 18px;
}

.pc-brand {
  font-family: var(--font-brand);
  font-size: 2.42rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-top: 20px;
}

.pc-ai-latin,
.ai-latin {
  display: inline-block;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  transform: translateY(0.08em);
  margin-right: 0.08em;
}

.pc-nav-item,
.pc-history-head {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  display: grid;
  align-items: center;
  gap: 14px;
  color: #1d1d1d;
  text-align: left;
}

.pc-sidebar .pc-nav-item,
.pc-sidebar .pc-nav-item:link,
.pc-sidebar .pc-nav-item:visited,
.pc-sidebar .pc-nav-item:hover,
.pc-sidebar .pc-nav-item:active,
.pc-sidebar .pc-login-button,
.pc-sidebar .pc-login-button:link,
.pc-sidebar .pc-login-button:visited,
.pc-sidebar .pc-login-button:hover,
.pc-sidebar .pc-login-button:active {
  color: #1d1d1d !important;
}

.pc-nav-item {
  grid-template-columns: 38px minmax(0, 1fr);
  border-radius: 0;
}

.pc-nav-item.pc-is-active,
.pc-shell[data-sidebar-section="search"] .pc-nav-item[data-nav-key="search"],
.pc-shell[data-sidebar-section="assistant"] .pc-nav-item[data-nav-key="assistant"],
.pc-shell[data-sidebar-section="generate"] .pc-nav-item[data-nav-key="generate"],
.pc-shell[data-sidebar-section="appoint"] .pc-nav-item[data-nav-key="appoint"],
.pc-shell[data-sidebar-section="member"] .pc-nav-item[data-nav-key="member"] {
  min-height: 82px;
  border: 1px solid #ececec;
  border-radius: 4px;
  background: #fafafa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.pc-nav-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.pc-nav-icon svg,
.pc-history-arrow svg {
  width: 24px;
  height: 24px;
}

.pc-nav-item span:last-child,
.pc-history-head span:nth-child(2) {
  font-size: 1.04rem;
  font-weight: 400;
  letter-spacing: 0;
}

.pc-sidebar-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.pc-history-panel {
  min-height: 0;
}

.pc-history-head {
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  padding: 0 8px 0 18px;
  border: 0;
  background: none;
}

.pc-nav-icon.pc-nav-icon-plain svg {
  width: 24px;
  height: 24px;
}

.pc-history-head[aria-expanded="false"] .pc-history-arrow svg {
  transform: rotate(-90deg);
}

.pc-history-list {
  display: grid;
  gap: 14px;
  padding: 16px 26px 0 70px;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pc-history-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pc-history-list[hidden] {
  display: none;
}

.pc-history-chip {
  display: block;
  padding: 0;
  color: #7d7d7d;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.pc-login-button {
  width: 100%;
  min-height: 52px;
  margin: auto 0 0;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fafafa;
  color: #1d1d1d;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
}

.pc-login-button::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12.4c2.43 0 4.4-1.97 4.4-4.4S14.43 3.6 12 3.6 7.6 5.57 7.6 8s1.97 4.4 4.4 4.4Zm0 1.8c-3.57 0-6.7 1.86-8.48 4.66-.42.66.06 1.54.84 1.54h15.28c.78 0 1.26-.88.84-1.54C18.7 16.06 15.57 14.2 12 14.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12.4c2.43 0 4.4-1.97 4.4-4.4S14.43 3.6 12 3.6 7.6 5.57 7.6 8s1.97 4.4 4.4 4.4Zm0 1.8c-3.57 0-6.7 1.86-8.48 4.66-.42.66.06 1.54.84 1.54h15.28c.78 0 1.26-.88.84-1.54C18.7 16.06 15.57 14.2 12 14.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pc-login-button:hover {
  border-color: #ececec;
  background: #f5f5f5;
}

.pc-main {
  min-width: 0;
  padding: 24px 36px 56px;
}

.pc-legacy-main {
  background: #fff;
}

.pc-legacy-main .ey_inside {
  margin-left: 0 !important;
  padding: 0 !important;
}

.pc-legacy-main .main-content,
.pc-legacy-main #content,
.pc-legacy-main .header-big,
.pc-legacy-main .breadcrumbs,
.pc-legacy-main .ey-body-bg {
  margin-left: 0 !important;
}

.pc-legacy-main .main-content.flex-fill {
  min-width: 0;
}

.pc-member-main {
  background: #fff;
  padding: 0 32px 48px;
}

@media (max-width: 1120px) {
  .pc-layout {
    grid-template-columns: 0 minmax(0, 1fr);
  }

  .pc-sidebar {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-22px);
  }

  .pc-main,
  .pc-member-main {
    padding-left: 20px;
    padding-right: 20px;
  }
}
