/* AI对话：对齐 miniprogram-native/pages/chat */

.chat-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 100%;
  padding-bottom: calc(58px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  overflow: hidden;
  background: #eee7dc;
}
.chat-page .studio-shell, .chat-page .studio-main {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
}
.chat-page .studio-chrome {
  flex: 0 0 auto;
  padding-left: 8px;
  box-sizing: border-box;
  background: #fffdf8;
  border-bottom: 0.5px solid rgba(187, 164, 127, 0.28);
}
.chat-page .studio-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.chat-page .chrome-back {
  flex: 0 0 auto;
  max-width: 46%;
  height: 32px;
  padding: 0 8px;
  border-radius: 10px;
  background: #eee7dc;
  color: #b08968;
  font-size: 12px;
  font-weight: 800;
  line-height: 32px;
  text-align: center;
  white-space: nowrap;
}
.chat-page .studio-title {
  flex: 1;
  min-width: 0;
  color: #29231e;
  font-size: 17px;
  font-weight: 800;
}
.chat-page .ai-mark {
  display: block;
  padding: 0 8px 5px;
  color: #8c4630;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}
.chat-page .choice-row, .chat-page .mode-row {
  display: none;
}
.chat-page .choice, .chat-page .mode-chip {
  flex: 1;
  min-width: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px dashed rgba(187, 164, 127, 0.72);
  background: #fffdf8;
  color: #29231e;
  font-size: 15px;
  font-weight: 800;
}
.chat-page .choice.is-active, .chat-page .mode-chip.is-active {
  border-style: solid;
  border-color: #c4a574;
  background: #f4ead8;
  color: #5c4630;
  box-shadow: none;
}
.chat-page .choice:active, .chat-page .mode-chip:active, .chat-page .chip:active {
  opacity: 0.88;
  transform: translateY(2px);
}
.chat-page .mode-row {
  padding-top: 4px;
  padding-bottom: 4px;
}
.chat-page .mode-chip {
  height: 32px;
  font-size: 13px;
}
.chat-page .work-tabs {
  flex: 0 0 auto;
  width: 100%;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 5px 10px 6px;
  border-bottom: 0.5px solid #e1ebe8;
  background: #fffdf9;
}
.chat-page .chip-row {
  display: none;
}
.chat-page .work-tab.artifact {
  margin-left: 0;
}
.chat-page .chip, .chat-page .work-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  margin-right: 5px;
  padding: 0 9px;
  border-radius: 499.5px;
  border: 0.5px dashed rgba(187, 164, 127, 0.72);
  background: #fffdf8;
  color: #8c7058;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}
.chat-page .chip.is-format, .chat-page .work-tab.format {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-page .work-tab.is-active {
  border-style: solid;
  border-color: #c4a574;
  background: #f4ead8;
  color: #5c4630;
}
.chat-page .work-tab.artifact {
  margin-left: 4px;
}
.chat-page .ghost-btn, .chat-page .icon-close {
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 44px;
  height: 36px;
  padding: 0 9px;
  border-radius: 8px;
  border: 0.5px dashed rgba(187, 164, 127, 0.72);
  background: #fbf8f2;
  color: #29231e;
  font-size: 12px;
  font-weight: 800;
  line-height: 36px;
  text-align: center;
}
.chat-page .icon-close {
  min-width: 36px;
  font-size: 20px;
}
.chat-page .mode-tabs, .chat-page .mode-tab {
  display: none;
}
.chat-page .messages {
  flex: 1;
  min-height: 0;
  padding: 0 12px 4px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.chat-page .welcome {
  margin: 0 0 8px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 0.5px dashed rgba(187, 164, 127, 0.72);
  background: #fbf8f2;
}
.chat-page .welcome.slim {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
}
.chat-page .welcome-kicker, .chat-page .kicker {
  display: block;
  color: #8c7058;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}
.chat-page .welcome-title, .chat-page .sheet-strong {
  display: block;
  margin-top: 0;
  color: #29231e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.chat-page .welcome.slim .welcome-title {
  flex: 1;
  min-width: 0;
}
.chat-page .welcome-note, .chat-page .empty, .chat-page .hint, .chat-page .meta {
  display: block;
  color: #8c8073;
  font-size: 11px;
  line-height: 1.6;
}
.chat-page .msg {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.chat-page .msg.is-user {
  flex-direction: row-reverse;
}
.chat-page .avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: #fbf8f2;
  border: 0.5px dashed rgba(187, 164, 127, 0.55);
  color: #8c7058;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 27px;
}
.chat-page .bubble-wrap {
  max-width: 78%;
  min-width: 0;
}
.chat-page .bubble {
  display: block;
  padding: 1px 1px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #29231e;
}
.chat-page .bubble-text {
  display: block;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-page .msg.is-user .bubble {
  padding: 1px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #5c4630;
}
.chat-page .msg.is-pending .pending-bubble {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 32px;
  padding: 9px 6px 9px 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #5f7774;
}
.chat-page .msg.is-pending.is-scheme .scheme-card {
  width: 100%;
  padding: 2px 2px 4px;
}
.chat-page .scheme-kicker {
  display: block;
  color: #0d716b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}
.chat-page .scheme-lead {
  display: block;
  margin-top: 4px;
  color: #29231e;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.chat-page .scheme-steps {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
}
.chat-page .scheme-step {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
}
.chat-page .scheme-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0.5px solid #d5e4e1;
  color: #7a8f8c;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.chat-page .scheme-name {
  flex: 1;
  color: #52736e;
  font-size: 12px;
  font-weight: 700;
}
.chat-page .scheme-mark {
  color: #8aa09c;
  font-size: 10px;
}
.chat-page .scheme-step.is-now .scheme-num {
  border-color: #149d91;
  background: #e5f7f3;
  color: #0d716b;
}
.chat-page .scheme-step.is-now .scheme-name, .chat-page .scheme-step.is-now .scheme-mark {
  color: #0d716b;
}
.chat-page .scheme-step.is-done .scheme-num {
  border-color: #b7d8d3;
  background: #f4fbf9;
  color: #149d91;
}
.chat-page .scheme-step.is-done .scheme-name {
  color: #3f5f5b;
}
.chat-page .scheme-hint {
  display: block;
  margin-top: 6px;
  color: #718485;
  font-size: 11px;
  line-height: 1.5;
}
.chat-page .wait-dot {
  position: absolute;
  left: 8px;
  top: 14px;
  width: 8px;
  height: 8px;
  margin-top: 0;
  border-radius: 50%;
  background: #149d91;
  animation: wait-dot-pulse 1.6s ease-in-out infinite;
}
.chat-page .wait-body {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.75;
}
.chat-page .wait-copy {
  display: inline;
  color: #5f7774;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  transition: opacity 0.18s ease;
}
.chat-page .wait-ellipsis {
  display: inline;
  color: #29231e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0;
  vertical-align: baseline;
  animation: wait-ellipsis 1.2s ease-in-out infinite;
}
.chat-page .wait-copy.wait-out {
  opacity: 0;
}
.chat-page .wait-copy.wait-in {
  opacity: 1;
}
@keyframes wait-ellipsis {
  0%,
  100% {
    opacity: 0.28;
  }
50% {
    opacity: 1;
  }
.chat-page }

@keyframes wait-dot-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.78);
    box-shadow: 0 0 0 0 rgba(20, 157, 145, 0.14);
  }
50% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(20, 157, 145, 0);
  }
.chat-page }

.msg-foot {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}
.chat-page .kicker-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.chat-page .copy-mark {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.chat-page .copy-back, .chat-page .copy-front {
  position: absolute;
  box-sizing: border-box;
  border: 1.5px solid #5c4630;
  border-radius: 2px;
  background: transparent;
}
.chat-page .copy-back {
  left: 1px;
  top: 4px;
  width: 11px;
  height: 12px;
}
.chat-page .copy-front {
  left: 5px;
  top: 1px;
  width: 11px;
  height: 12px;
  background: #fffdf8;
}
.chat-page .copy-mark.is-copied .copy-back, .chat-page .copy-mark.is-copied .copy-front {
  border-color: #29231e;
}
.chat-page .tail {
  height: 12px;
}
.chat-page .welcome-duo {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.chat-page .welcome-face {
  width: 22px;
  height: 22px;
}
.chat-page .avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.chat-page .composer-shell {
  position: relative;
  flex: 0 0 auto;
  overflow: visible;
}
.chat-page .jump-bottom {
  position: absolute;
  left: 50%;
  top: -44px;
  z-index: 8;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 499.5px;
  border: 0.5px solid rgba(187, 164, 127, 0.55);
  background: #fffdf8;
  box-shadow: 0 4px 10px rgba(74, 55, 40, 0.12);
  transform: translateX(-50%);
}
.chat-page .jump-bottom:active {
  transform: translateX(-50%) scale(0.96);
}
.chat-page .jump-arrow {
  width: 0;
  height: 0;
  margin-top: 3px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 9px solid #3a2f26;
}
.chat-page .composer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 4px 10px 8px;
  overflow: visible;
  background: #eee7dc;
  border-top: none;
  box-sizing: border-box;
}
.chat-page .pack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.chat-page .pack, .chat-page .tool {
  flex: 0 0 auto;
  max-width: 100%;
  height: 28px;
  padding: 0 7px;
  border-radius: 499.5px;
  border: 0.5px dashed rgba(187, 164, 127, 0.72);
  background: #fffdf8;
  color: #8c7058;
  font-size: 11px;
  font-weight: 800;
  line-height: 27px;
  text-align: center;
  box-sizing: border-box;
}
.chat-page .tool.tool-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px 0 6px;
  line-height: 1;
}
.chat-page .tool.tool-mark.is-on {
  border-color: #9ed5d0;
  background: #eefaf7;
  color: #0d716b;
}
.chat-page .mark {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.chat-page .mark-tpl-back, .chat-page .mark-tpl-front {
  position: absolute;
  box-sizing: border-box;
  border: 1.5px solid #5c4630;
  border-radius: 2.5px;
  background: #fffdf8;
}
.chat-page .mark-tpl-back {
  left: 1px;
  top: 2px;
  width: 11px;
  height: 12px;
}
.chat-page .mark-tpl-front {
  left: 4px;
  top: 4px;
  width: 11px;
  height: 12px;
}
.chat-page .mark-tpl-line {
  position: absolute;
  left: 6.5px;
  top: 7px;
  width: 6px;
  height: 1.5px;
  border-radius: 1px;
  background: #c4a574;
}
.chat-page .tool.tool-mark.is-on .mark-tpl-back, .chat-page .tool.tool-mark.is-on .mark-tpl-front {
  border-color: #5c4630;
}
.chat-page .tool.setup {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-page .pack {
  min-width: 45%;
  flex: 1 1 40%;
}
.chat-page .pack.is-active {
  background: #f4ead8;
  color: #5c4630;
  border-style: solid;
  border-color: #c4a574;
}
.chat-page .format-sheet {
  height: auto;
  max-height: 70vh;
}
.chat-page .model-sheet {
  max-height: 78vh;
}
.chat-page .model-split {
  display: flex;
  gap: 8px;
  min-height: 0;
}
.chat-page .model-names {
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-page .model-name {
  padding: 8px 7px;
  border-radius: 8px;
  border: 0.5px solid #dcebe7;
  background: #fff;
  color: #24524f;
  font-size: 12px;
  font-weight: 800;
}
.chat-page .model-name.is-active {
  border-color: #149d91;
  background: #e3f6f2;
  color: #0d716b;
}
.chat-page .model-detail {
  flex: 1;
  min-width: 0;
}
.chat-page .model-pick-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}
.chat-page .pack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.chat-page .pack-pill {
  padding: 3px 7px;
  border-radius: 499.5px;
  background: #ececeb;
  color: #5a5a5a;
  font-size: 10px;
  font-weight: 800;
}
.chat-page .pack-pill.is-on {
  background: #54a2a2;
  color: #fff;
}
.chat-page .model-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.chat-page .kite-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto 4px;
}
.chat-page .kite-canvas {
  width: 148px;
  height: 148px;
}
.chat-page .kite-lab {
  position: absolute;
  z-index: 1;
  color: #6a6a6a;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.chat-page .kite-n {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.chat-page .kite-e {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.chat-page .kite-s {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.chat-page .kite-w {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.chat-page .format-note {
  display: block;
  padding: 8px 9px;
  border-radius: 8px;
  background: #fbf8f2;
  color: #8c8073;
  font-size: 11px;
  line-height: 1.55;
}
.chat-page .input-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  min-width: 0;
}
.chat-page .composer-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  min-width: 0;
  overflow: visible;
}
.chat-page .tool.model {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 110px;
  overflow: hidden;
  line-height: 1;
}
.chat-page .model-mark {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  flex-shrink: 0;
  overflow: hidden;
  background: #d8c6b1;
}
.chat-page .model-mark .mm {
  position: absolute;
  box-sizing: border-box;
}
.chat-page .model-mark.is-doubao {
  background: linear-gradient(165deg, #8fe8ec 0%, #3ec4d0 52%, #2aa8b8 100%);
}
.chat-page .model-mark.is-doubao .mm1 {
  left: 3px;
  top: 4px;
  width: 14px;
  height: 13px;
  border-radius: 8px 8px 7px 6px;
  background: #fff;
}
.chat-page .model-mark.is-doubao .mm2 {
  left: 6px;
  top: 8px;
  width: 3px;
  height: 4px;
  border-radius: 50%;
  background: #1c1c1c;
  box-shadow: 5px 0 0 #1c1c1c;
}
.chat-page .model-mark.is-doubao .mm3 {
  left: 8px;
  top: 13px;
  width: 4px;
  height: 2px;
  border: 0;
  border-bottom: 1.5px solid #1c1c1c;
  border-radius: 0 0 4px 4px;
}
.chat-page .model-mark.is-claude {
  background: linear-gradient(165deg, #f3c29a 0%, #d97757 100%);
}
.chat-page .model-mark.is-claude .mm1 {
  left: 4px;
  top: 5px;
  width: 12px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 253, 248, 0.92);
}
.chat-page .model-mark.is-deepseek {
  background: linear-gradient(165deg, #6ea0ff 0%, #2458d4 100%);
}
.chat-page .model-mark.is-deepseek .mm1 {
  left: 5px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
}
.chat-page .model-mark.is-gemini {
  background: linear-gradient(135deg, #6ea8ff 0%, #8a6bff 50%, #e889c8 100%);
}
.chat-page .model-mark.is-gemini .mm1 {
  left: 5px;
  top: 4px;
  width: 10px;
  height: 12px;
  border-radius: 50% 50% 40% 40%;
  background: #fff;
  opacity: 0.92;
}
.chat-page .model-mark.is-generic .mm1 {
  left: 5px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #fffdf8;
}
.chat-page .model-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-page .tpl-face {
  display: none;
}
.chat-page .send-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 74px;
  height: 40px;
  margin-left: auto;
  padding: 0 13px 0 11px;
  border-radius: 499.5px;
  border: 1px solid #8a6f52;
  color: #4a3728;
  background: #fffdf8;
  box-sizing: border-box;
  box-shadow: 0 1px 0 rgba(74, 55, 40, 0.08);
}
.chat-page .send-cta.is-ready {
  color: #fffdf8;
  background: #3a2f26;
  border-color: #2c241c;
  box-shadow: 0 3px 7px rgba(44, 36, 28, 0.22);
}
.chat-page .send-cta.is-busy {
  color: #fffdf8;
  background: #3a2f26;
  border-color: #2c241c;
  pointer-events: none;
}
.chat-page .send-cta.is-disabled {
  color: #4a3728;
  background: #fffdf8;
  border-color: #8a6f52;
  opacity: 1;
}
.chat-page .send-press {
  transform: scale(0.97);
}
.chat-page .send-glyph {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid currentColor;
}
.chat-page .send-label {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
}
.chat-page .tpl-chip {
  margin-top: 4px;
  color: #1a6f68;
  font-size: 11px;
  font-weight: 700;
}
.chat-page .search {
  width: 100%;
  height: 36px;
  margin-bottom: 8px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 0.5px dashed rgba(187, 164, 127, 0.72);
  border-radius: 8px;
  background: #fffdf8;
}
.chat-page .tpl-sheet {
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
}
.chat-page .tpl-list {
  padding-bottom: 6px;
}
.chat-page .paper-search {
  height: 34px;
  margin-bottom: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 0.5px rgba(196, 165, 116, 0.18);
}
.chat-page .paper-tabs {
  display: flex;
  gap: 5px;
  margin: -4px 0 8px;
}
.chat-page .paper-tab {
  flex: 1;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 499.5px;
  background: #fff;
  color: #8c7058;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 0 0 0.5px #eadccb;
}
.chat-page .paper-tab.is-on {
  background: #29231e;
  color: #f7efe2;
  box-shadow: none;
}
.chat-page .paper-tab.is-upload {
  flex: 0.7;
}
.chat-page .paper-sorts {
  display: flex;
  gap: 5px;
  margin: -2px 0 8px;
}
.chat-page .paper-sort {
  min-width: 44px;
  height: 24px;
  padding: 0 9px;
  line-height: 24px;
  text-align: center;
  border-radius: 499.5px;
  background: #fff;
  color: #8c7058;
  font-size: 11px;
  font-weight: 800;
  box-shadow: inset 0 0 0 0.5px #eadccb;
}
.chat-page .paper-sort.is-on {
  background: #29231e;
  color: #f7efe2;
  box-shadow: none;
}
.chat-page .paper-likes-sum {
  display: block;
  margin: -2px 0 7px 2px;
  color: #8c7058;
  font-size: 11px;
  font-weight: 700;
}
.chat-page .paper-note {
  display: block;
  margin-top: 4px;
  color: #a36b3b;
  font-size: 10px;
}
.chat-page .paper-group {
  margin-bottom: 14px;
}
.chat-page .paper-group-title {
  display: block;
  margin: 2px 2px 7px;
  color: #8c7058;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.chat-page .paper-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  padding: 9px 9px 9px 8px;
  border-radius: 11px;
  border: 1px solid #eadccb;
  background: #fffdf8;
  box-shadow: 0 4px 11px rgba(82, 58, 32, 0.04);
}
.chat-page .paper-item.is-active {
  border-color: #29231e;
  background: #f4ead8;
  box-shadow: none;
}
.chat-page .paper-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: #fffdf8;
  box-shadow: inset 0 0 0 0.5px #eadccb;
  color: #5c4630;
  font-size: 12px;
  font-weight: 800;
}
.chat-page .paper-avatar-img {
  width: 28px;
  height: 28px;
  display: block;
}
.chat-page .paper-copy {
  flex: 1;
  min-width: 0;
}
.chat-page .paper-top {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.chat-page .paper-name {
  display: -webkit-box;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #29231e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}
.chat-page .paper-used {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 1px 5px;
  border-radius: 499.5px;
  background: #29231e;
  color: #f7efe2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.chat-page .paper-type, .chat-page .paper-stats {
  display: block;
  margin-top: 3px;
  color: #a36b3b;
  font-size: 10px;
  font-weight: 700;
}
.chat-page .paper-desc {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: #8c8073;
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.chat-page .paper-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  min-height: 22px;
  align-items: center;
}
.chat-page .paper-act {
  border: 0;
  background: transparent;
  color: #5c4630;
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
}
.chat-page .paper-act.is-on {
  color: #29231e;
}
.chat-page .paper-act.is-danger {
  color: #a36b3b;
}
.chat-page .paper-dates {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
  overflow: hidden;
  color: #8c8073;
  font-size: 10px;
  white-space: nowrap;
}
.chat-page .paper-dates text,
.chat-page .paper-dates span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-page .paper-foot {
  flex: 0 0 auto;
  padding-top: 6px;
}
.chat-page .paper-foot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0.5px solid rgba(140, 112, 88, 0.42);
  border-radius: 12px;
  background: #fffdf8;
  color: #5c4630;
  font-size: 14px;
  font-weight: 700;
}
.chat-page .field-label {
  display: block;
  margin: 4px 0 4px;
  color: #8c7058;
  font-size: 11px;
  font-weight: 800;
}
.chat-page .manage-area {
  width: 100%;
  min-height: 90px;
  margin-bottom: 8px;
  padding: 8px 9px;
  box-sizing: border-box;
  border-radius: 9px;
  border: 0.5px solid #e3d5c4;
  background: #fffdf8;
  color: #29231e;
  font-size: 13px;
  line-height: 1.55;
}
.chat-page .manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 10px;
}
.chat-page .manage-btn {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 499.5px;
  border: 0.5px solid #e3d5c4;
  background: #fffdf8;
  color: #5c4630;
  font-size: 12px;
  font-weight: 800;
  line-height: 31px;
}
.chat-page .manage-btn.is-primary {
  border-color: #29231e;
  background: #29231e;
  color: #f7efe2;
}
.chat-page .manage-btn.is-busy {
  opacity: 0.6;
}
.chat-page .paper-item:active, .chat-page .paper-foot-btn:active, .chat-page .paper-tab:active, .chat-page .paper-sort:active, .chat-page .manage-btn:active {
  opacity: 0.86;
}
.chat-page .hint {
  display: block;
  margin-top: 4px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8c8073;
  font-size: 11px;
}
.chat-page .input {
  flex: 1;
  min-width: 0;
  width: auto;
  min-height: 36px;
  max-height: 80px;
  padding: 8px 9px;
  box-sizing: border-box;
  border: 0.5px dashed rgba(187, 164, 127, 0.72);
  border-radius: 10px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  resize: none;
  background: #fffdf8;
  color: #29231e;
  caret-color: #5c4630;
  font-size: 14px;
  line-height: 1.55;
}
.chat-page .input:focus {
  outline: none;
  border-color: rgba(187, 164, 127, 0.72);
  box-shadow: none;
}
.chat-page .input::placeholder {
  color: #b3a696;
}
.chat-page .composer-bar-legacy {
  display: none;
}
.chat-page .send {
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 54px;
  height: 36px;
  padding: 0 11px;
  border-radius: 11px;
  background: #2bb8a8;
  color: #fffdf8;
  font-size: 12px;
  font-weight: 800;
  line-height: 36px;
  text-align: center;
}
.chat-page .send.is-disabled, .chat-page .confirm-title.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.chat-page .mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  background: rgba(41, 35, 30, 0.28);
}
@media (max-width: 767px) {
  .chat-page .mask {
    bottom: calc(58px + env(safe-area-inset-bottom));
  }
}
.chat-page .drawer {
  position: fixed;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  background: #fbf8f2;
}
.chat-page .drawer-left {
  top: 0;
  bottom: calc(58px + env(safe-area-inset-bottom));
  left: 0;
  width: 86%;
  max-width: 340px;
  padding: 14px 14px 16px;
  border-radius: 0 16px 16px 0;
  border-right: 0.5px solid rgba(187, 164, 127, 0.45);
  background: linear-gradient(180deg, #fffef9 0%, #f7f1e6 100%);
  box-shadow: 6px 0 20px rgba(78, 55, 33, 0.08);
  box-sizing: border-box;
}
.chat-page .thread-folio .icon-close {
  min-width: 32px;
  height: 32px;
  border: 0.5px solid #e3d5c4;
  border-radius: 499.5px;
  background: #fffef9;
  color: #6f6256;
  font-size: 18px;
  line-height: 31px;
}
.chat-page .drawer-sheet {
  left: 0;
  right: 0;
  bottom: calc(58px + env(safe-area-inset-bottom));
  height: 78vh;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  border-radius: 14px 14px 0 0;
  border-top: 0.5px dashed rgba(187, 164, 127, 0.72);
  box-sizing: border-box;
}
.chat-page .drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.chat-page .drawer-title {
  display: block;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  font-size: 20px;
  font-weight: 700;
  color: #29231e;
  letter-spacing: 0.04em;
}
.chat-page .drawer-kicker {
  display: block;
  margin-bottom: 4px;
  color: #8a6a4a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.chat-page .drawer-sub {
  display: block;
  margin-top: 4px;
  color: #8c8073;
  font-size: 11px;
  line-height: 1.45;
}
.chat-page .drawer-body {
  flex: 1;
  min-height: 0;
}
.chat-page .thread, .chat-page .title-option {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-bottom: 6px;
  padding: 8px 10px;
  border: 0.5px dashed rgba(187, 164, 127, 0.72);
  border-radius: 10px;
  background: #fffdf8;
  color: #29231e;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.chat-page .thread-card {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  margin-bottom: 7px;
  padding: 10px 8px 9px 0;
  border: 0.5px solid #e3d5c4;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffef9 0%, #fbf6ee 100%);
  box-shadow: 0 4px 9px rgba(78, 55, 33, 0.05);
}
.chat-page .thread-mark {
  width: 5px;
  border-radius: 0 5px 5px 0;
  background: #d9cbb8;
}
.chat-page .thread-mark.is-write {
  background: #b08954;
}
.chat-page .thread-card.is-active {
  border-color: #cbb28a;
  box-shadow: 0 5px 11px rgba(78, 55, 33, 0.08);
}
.chat-page .thread-copy {
  min-width: 0;
}
.chat-page .thread-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.chat-page .thread-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #29231e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-page .thread-time {
  flex: 0 0 auto;
  color: #9a8d7e;
  font-size: 10px;
}
.chat-page .thread-preview {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: #6f6256;
  font-size: 11px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.chat-page .thread-mode {
  display: inline-flex;
  margin-top: 6px;
  padding: 2px 6px;
  border-radius: 499.5px;
  background: #f4efe4;
  color: #6f5340;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.chat-page .thread-del {
  align-self: start;
  min-width: 36px;
  min-height: 28px;
  padding: 4px 6px;
  border: 0.5px solid #e3d5c4;
  border-radius: 499.5px;
  background: #fff8ef;
  color: #8a6a4a;
  font-size: 10px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.chat-page .thread-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
  padding: 14px 4px 6px;
  text-align: center;
}
.chat-page .thread-empty-title {
  color: #29231e;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  font-size: 16px;
}
.chat-page .thread-empty-copy {
  margin-top: 5px;
  color: #8c8073;
  font-size: 11px;
  line-height: 1.55;
}
.chat-page .thread.is-active, .chat-page .title-option.is-active {
  border-style: solid;
  border-color: #2bb8a8;
  background: #efe6d6;
  color: #1a6f68;
}
.chat-page .new-chat, .chat-page .confirm-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 10px;
  min-height: 42px;
  border-radius: 499.5px;
  background: linear-gradient(180deg, #3cc4b4 0%, #2bb8a8 100%);
  color: #fffdf8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 5px 10px rgba(43, 184, 168, 0.22);
}
.chat-page .thread-folio .new-chat {
  margin: 4px 0 10px;
  border: 0.5px solid #d7c4a6;
  background: linear-gradient(180deg, #4a3a2c 0%, #3d2f24 100%);
  color: #fff8ef;
  box-shadow: 0 5px 10px rgba(78, 55, 33, 0.16);
}
.chat-page .confirm-title {
  margin-top: 8px;
  margin-bottom: 0;
}
.chat-page .title-option {
  gap: 8px;
}
.chat-page .num {
  width: 20px;
  color: #2bb8a8;
  font-weight: 800;
}
.chat-page .title-text, .chat-page .outline, .chat-page .article {
  flex: 1;
  min-width: 0;
  white-space: pre-wrap;
}
.chat-page .outline, .chat-page .article {
  display: block;
  margin-top: 6px;
  padding: 10px;
  border-radius: 10px;
  background: #fffdf8;
  color: #3d2f24;
  font-size: 13px;
  line-height: 1.7;
}
.chat-page .kicker.rest {
  margin-top: 14px;
}
.chat-page .empty-card {
  padding: 20px 6px;
}
.chat-page .manuscript-sheet {
  background: #fffdf8;
}
.chat-page .manuscript-sheet .title-option, .chat-page .manuscript-sheet .outline, .chat-page .manuscript-sheet .empty-card {
  background: #fffdf8;
  border-color: rgba(187, 164, 127, 0.72);
  color: #5c4630;
}
.chat-page .manuscript-sheet .title-option.is-active {
  border-style: solid;
  border-width: 2px;
  border-color: #3d2f24;
  background: #efe4d0;
  color: #2a1f16;
  box-shadow: 0 5px 10px rgba(61, 47, 36, 0.12);
}
.chat-page .manuscript-sheet .num {
  color: #8c7058;
}
.chat-page .manuscript-sheet .title-option.is-active .num {
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 50%;
  background: #3d2f24;
  color: #fff8ef;
  text-align: center;
}
.chat-page .manuscript-sheet .confirm-title {
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: #8c7058;
  color: #fffdf8;
  box-shadow: none;
}
.chat-page .ys-mark.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}
.chat-page .ys-mark.icon.compact {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.chat-page .ys-mark.is-plain {
  background: transparent;
  box-shadow: none;
}
.chat-page .ys-mark .mark {
  position: relative;
  width: 18px;
  height: 18px;
  transform: scale(0.72);
  transform-origin: center;
}
.chat-page .ys-mark .m {
  position: absolute;
  box-sizing: border-box;
}
.chat-page .ys-mark.is-plain .m {
  background: var(--ys-mark-ink, #5c5046);
  border-color: var(--ys-mark-ink, #5c5046);
}
.chat-page .ys-mark.is-plain .mark-thread .m1,
.chat-page .ys-mark.is-plain .mark-thread .m2,
.chat-page .ys-mark.is-plain .mark-frame .m1,
.chat-page .ys-mark.is-plain .mark-wash .m1,
.chat-page .ys-mark.is-plain .mark-wash .m2 {
  background: transparent;
}
.chat-page .ys-mark .mark-brush .m1 { left: 8px; top: 0; width: 3px; height: 10px; border-radius: 1.5px; transform: rotate(26deg); transform-origin: center bottom; }
.chat-page .ys-mark .mark-brush .m2 { left: 6.5px; top: 9px; width: 6px; height: 6px; border-radius: 1px 1px 6px 6px; transform: rotate(26deg); }
.chat-page .ys-mark .mark-brush .m3 { left: 2px; bottom: 0; width: 4px; height: 4px; border-radius: 50% 50% 50% 12%; transform: rotate(-18deg); }
.chat-page .ys-mark .mark-wash .m1,
.chat-page .ys-mark .mark-wash .m2 { left: 2px; width: 14px; height: 4px; border-radius: 999px; border-style: solid; border-width: 1.5px; border-top-color: transparent; transform: rotate(-18deg); }
.chat-page .ys-mark .mark-wash .m1 { top: 4px; }
.chat-page .ys-mark .mark-wash .m2 { top: 9px; opacity: 0.55; }
.chat-page .ys-mark .mark-wash .m3 { right: 1px; top: 2px; width: 4px; height: 4px; border-radius: 50%; }
.chat-page .ys-mark .mark-frame .m1 { left: 1px; top: 3px; width: 16px; height: 12px; border-radius: 2px; border-style: solid; border-width: 1.5px; }
.chat-page .ys-mark .mark-frame .m2 { left: 4px; top: 9px; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom-style: solid; border-bottom-width: 4px; }
.chat-page .ys-mark .mark-frame .m3 { right: 4px; top: 5px; width: 4px; height: 4px; border-radius: 50%; }
.chat-page .ys-mark .mark-pulse .m1 { left: 1px; bottom: 3px; width: 16px; height: 1.5px; border-radius: 1px; opacity: 0.35; }
.chat-page .ys-mark .mark-pulse .m2 { left: 3px; top: 8px; width: 5px; height: 1.5px; transform: rotate(-42deg); }
.chat-page .ys-mark .mark-pulse .m3 { left: 7px; top: 4px; width: 8px; height: 1.5px; transform: rotate(38deg); }
.chat-page .ys-mark .mark-ribbon .m1 { left: 5px; top: 1px; width: 8px; height: 11px; border-radius: 1px 1px 0 0; }
.chat-page .ys-mark .mark-ribbon .m2 { left: 5px; top: 11px; width: 0; height: 0; border-left: 4px solid var(--ys-mark-ink, #5c5046); border-right: 4px solid var(--ys-mark-ink, #5c5046); border-bottom: 4px solid transparent; }
.chat-page .ys-mark .mark-ribbon .m3 { left: 7px; top: 4px; width: 4px; height: 1.5px; border-radius: 1px; }
.chat-page .ys-mark .mark-thread .m1 { left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; border-style: solid; border-width: 1.5px; }
.chat-page .ys-mark .mark-thread .m2 { left: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; border-style: solid; border-width: 1.5px; }
.chat-page .ys-mark .mark-thread .m3 { left: 11px; top: 1px; width: 5px; height: 1.5px; border-radius: 1px; transform: rotate(28deg); }
.chat-page .ys-mark .mark-comb .m1,
.chat-page .ys-mark .mark-comb .m2,
.chat-page .ys-mark .mark-comb .m3 { left: 2px; height: 2px; border-radius: 999px; }
.chat-page .ys-mark .mark-comb .m1 { top: 4px; width: 14px; }
.chat-page .ys-mark .mark-comb .m2 { top: 8px; width: 11px; }
.chat-page .ys-mark .mark-comb .m3 { top: 12px; width: 8px; opacity: 0.55; }
.chat-page .confirm-title .ys-mark { --ys-mark-ink: #fffdf8; }
.chat-page .length-pick {
  margin-top: 12px;
}
.chat-page .length-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.chat-page .length-chip {
  min-height: 32px;
  padding: 0 11px;
  border: 0.5px solid rgba(187, 164, 127, 0.72);
  border-radius: 499.5px;
  background: #fffdf8;
  color: #5c4630;
  font-size: 12px;
  line-height: 32px;
}
.chat-page .length-chip.is-active {
  border-color: #8c7058;
  background: #8c7058;
  color: #fffdf8;
}
.chat-page .manuscript-sheet .kicker, .chat-page .manuscript-sheet .sheet-strong, .chat-page .manuscript-sheet .outline {
  color: #5c4630;
}
.chat-page .manuscript-sheet .sheet-strong {
  color: #3d2f24;
}
.chat-page .confirm-title.is-ghost {
  margin-top: 6px;
  border: 0.5px solid rgba(187, 164, 127, 0.72);
  background: #fffdf8;
  color: #8c7058;
}
.chat-page .title-tools {
  margin-top: 14px;
}
.chat-page .title-input, .chat-page .outline-editor, .chat-page .article-editor {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 9px 10px;
  box-sizing: border-box;
  border: 0.5px solid rgba(187, 164, 127, 0.72);
  border-radius: 10px;
  background: #fffdf8;
  color: #3d2f24;
  font-size: 13px;
  line-height: 1.7;
}
.chat-page .outline-editor, .chat-page .article-editor {
  min-height: 140px;
}
.chat-page .title-tool-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.chat-page .tool-btn {
  flex: 1;
  height: 32px;
  border-radius: 499.5px;
  border: 0.5px solid rgba(187, 164, 127, 0.72);
  background: #fffdf8;
  color: #8c7058;
  font-size: 12px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}
.chat-page .ms-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}
.chat-page .ms-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 6px 8px 6px 4px;
  border-radius: 8px;
  border: 0.5px solid rgba(187, 164, 127, 0.72);
  background: #fffdf8;
  color: #5c4630;
  text-align: left;
  font: inherit;
}
.chat-page .ms-chip .ys-mark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.chat-page .ms-chip-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.chat-page .ms-chip-title {
  color: #3d2c1a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.chat-page .ms-chip-sub {
  color: #8c7058;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
}
.chat-page .confirm-title {
  gap: 5px;
}
.chat-page .ms-chip.is-off {
  opacity: 0.4;
}
.chat-page .cover-hint {
  display: block;
  margin-top: 8px;
  color: #8c7058;
  font-size: 11px;
  line-height: 1.6;
}
.chat-page .queue-note {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0.5px solid rgba(187, 164, 127, 0.72);
  background: #fffdf8;
}
.chat-page .queue-kicker {
  display: block;
  color: #8c7058;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}
.chat-page .queue-title {
  display: block;
  margin-top: 4px;
  color: #29231e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}
.chat-page .queue-copy {
  display: block;
  margin-top: 4px;
  color: #6f6458;
  font-size: 12px;
  line-height: 1.6;
}
.chat-page .queue-acts {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.chat-page .queue-btn {
  flex: 1;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 499.5px;
  border: 0.5px solid #d8c6b1;
  background: #fffdf8;
  color: #5c4630;
  font-size: 12px;
  font-weight: 800;
}
.chat-page .queue-btn.is-strong {
  border-color: #8c7058;
  background: #8c7058;
  color: #fffdf8;
}
.chat-page .fold-card {
  margin-top: 8px;
  border: 0.5px solid rgba(187, 164, 127, 0.72);
  border-radius: 10px;
  background: #fffdf8;
  overflow: hidden;
}
.chat-page .fold-card.rest {
  margin-top: 14px;
}
.chat-page .fold-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.chat-page .fold-head .kicker {
  margin: 0;
  letter-spacing: 0;
  font-size: 12px;
  white-space: nowrap;
}
.chat-page .fold-head.is-open .kicker {
  color: #5c4630;
}
.chat-page .fold-mark {
  flex: 0 0 auto;
  color: #8c7058;
  font-size: 11px;
}
.chat-page .fold-card .outline-editor {
  margin-top: 0;
  border: none;
  border-top: 0.5px solid rgba(187, 164, 127, 0.45);
  border-radius: 0;
}
.chat-page .fold-card .plan-body {
  padding: 8px 10px 10px;
  border-top: 0.5px solid rgba(187, 164, 127, 0.45);
}
.chat-page .fold-card + .sheet-strong {
  margin-top: 8px;
}
.chat-page .plan-card {
  margin-bottom: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 0.5px solid rgba(187, 164, 127, 0.72);
  background: #fffdf8;
}
.chat-page .plan-card .kicker {
  margin-bottom: 4px;
}
.chat-page .plan-body {
  display: block;
  color: #3d2f24;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-page .length-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1400;
  background: rgba(28, 22, 16, 0.46);
}
.chat-page .length-sheet {
  position: fixed;
  left: 16px;
  right: 16px;
  top: 50%;
  z-index: 1401;
  transform: translateY(-50%);
}
.chat-page .length-sheet-inner {
  position: relative;
  padding: 18px 14px 12px;
  border-radius: 18px;
  background: #fffdf8;
  border: 0.5px solid rgba(196, 165, 116, 0.62);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.72) inset,
    0 18px 40px rgba(42, 28, 16, 0.28);
}
.chat-page .length-sheet-inner::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  bottom: 8px;
  border-radius: 13px;
  border: 0.5px solid rgba(196, 165, 116, 0.26);
  pointer-events: none;
}
.chat-page .length-kicker, .chat-page .length-title, .chat-page .length-opt-name, .chat-page .length-opt-sub {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.chat-page .length-kicker {
  color: #a07d58;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
}
.chat-page .length-title {
  display: block;
  margin-top: 4px;
  color: #29231e;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.chat-page .length-copy {
  display: flex;
  flex-direction: column;
  margin-top: 5px;
  margin-bottom: 11px;
  color: #5c5146;
  font-size: 12px;
}
.chat-page .length-copy-line {
  height: 19px;
  line-height: 19px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-page .length-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.chat-page .length-opt, .chat-page .length-custom {
  padding: 9px 10px;
  border-radius: 10px;
  border: 0.5px solid rgba(196, 165, 116, 0.5);
  background: rgba(255, 253, 248, 0.92);
}
.chat-page .length-opt.is-on, .chat-page .length-custom.is-on {
  border-color: #8c7058;
  background: #f4ead8;
}
.chat-page .length-opt-name {
  display: block;
  height: 20px;
  line-height: 20px;
  color: #29231e;
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-page .length-opt-sub {
  display: block;
  height: 16px;
  line-height: 16px;
  margin-top: 2px;
  color: #8c7058;
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-page .length-custom {
  margin-top: 5px;
}
.chat-page .length-custom-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-top: 6px;
}
.chat-page .length-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 36px;
}
.chat-page .length-input {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 0.5px solid rgba(196, 165, 116, 0.55);
  background: #fffef9;
  color: #29231e;
  font-size: 14px;
  font-weight: 700;
}
.chat-page .length-unit {
  flex: 0 0 24px;
  width: 24px;
  height: 36px;
  margin-left: 6px;
  color: #8c7058;
  font-size: 12px;
  font-weight: 800;
  line-height: 36px;
  text-align: center;
}
.chat-page .length-acts {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.chat-page .length-btn {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 499.5px;
  border: 0.5px solid rgba(196, 165, 116, 0.7);
  background: transparent;
  color: #5c4630;
  font-size: 13px;
  font-weight: 800;
}
.chat-page .length-btn.is-strong {
  border-color: #29231e;
  background: linear-gradient(180deg, #3a3129 0%, #29231e 100%);
  color: #fffdf8;
}
.chat-page.is-pc {
  padding-bottom: 0;
  height: 100vh;
}
.chat-page.is-pc .studio-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 260px;
  align-items: stretch;
  min-height: 0;
  height: auto;
}
@media (min-width: 1180px) {
  .chat-page.is-pc .studio-shell {
    grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.2fr);
  }
}
.chat-page.is-pc [data-threads],
.chat-page.is-pc [data-manuscript] {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
}
.chat-page.is-pc [data-threads] { order: 0; width: auto; min-width: 0; }
.chat-page.is-pc [data-manuscript] { order: 2; width: auto; min-width: 0; }
.chat-page.is-pc .studio-title {
  display: none;
}
.chat-page.is-pc .studio-main {
  order: 1;
  flex: none;
  width: auto;
  min-width: 0;
  background: #eee7dc;
}
.chat-page.is-pc .pc-threads {
  order: 0;
}
.chat-page.is-pc .pc-manuscript {
  order: 2;
}
.chat-page.is-pc .pc-rail {
  position: relative;
  z-index: 1;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: auto;
  min-height: 0;
  max-height: none;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  transform: none;
  animation: none;
}
.chat-page.is-pc .pc-threads,
.chat-page.is-pc [data-threads] .pc-rail {
  flex: 1 1 auto;
  width: 100%;
  padding: 12px 12px 16px;
  border-right: 1px solid rgba(187, 164, 127, 0.45);
  border-radius: 0;
  background: linear-gradient(180deg, #fffef9 0%, #f7f1e6 100%);
  box-shadow: none;
}
.chat-page.is-pc .pc-manuscript, .chat-page.is-pc .pc-manuscript.manuscript-sheet,
.chat-page.is-pc [data-manuscript] .pc-rail {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  padding: 12px 12px 16px;
  border-left: 1px solid rgba(187, 164, 127, 0.45);
  border-radius: 0;
  background: #fffdf8;
  height: auto;
}
.chat-page.is-pc .pc-rail .drawer-body {
  flex: 1;
  min-height: 0;
}
.chat-page.is-pc .pc-threads .drawer-title {
  font-size: 16px;
}
.chat-page.is-pc .thread-folio .new-chat, .chat-page.is-pc .new-chat {
  min-height: 36px;
  height: 36px;
  margin: 8px 0 12px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0;
  box-shadow: none;
}
.chat-page.is-pc .thread-card {
  grid-template-columns: 3px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 0;
  margin-bottom: 8px;
  padding: 8px 8px 8px 0;
  border-radius: 10px;
  overflow: hidden;
}
.chat-page.is-pc .thread-mark {
  width: 3px;
  align-self: stretch;
  border-radius: 0 4px 4px 0;
}
.chat-page.is-pc .thread-title {
  font-size: 13px;
}
.chat-page.is-pc .thread-preview {
  -webkit-line-clamp: 1;
  margin-top: 4px;
  font-size: 11px;
}
.chat-page.is-pc .thread-time, .chat-page.is-pc .thread-mode, .chat-page.is-pc .thread-empty-copy, .chat-page.is-pc .empty {
  font-size: 11px;
}
.chat-page.is-pc .thread-mode {
  margin-top: 6px;
  padding: 2px 8px;
}
.chat-page.is-pc .thread-del {
  min-width: 0;
  min-height: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 26px;
}
.chat-page.is-pc .pc-tab-hide {
  display: none;
}
.chat-page.is-pc .studio-chrome {
  padding: 8px 16px 6px;
  overflow: visible;
}
.chat-page.is-pc .studio-row {
  height: auto;
  min-height: 36px;
  gap: 10px;
  overflow: visible;
}
.chat-page.is-pc .chrome-back {
  flex: 0 0 auto;
  max-width: none;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 32px;
}
.chat-page.is-pc .studio-title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 32px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-page.is-pc .ai-mark {
  display: block;
  margin-top: 2px;
  padding: 0;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-page.is-pc .work-tabs {
  padding: 8px 12px;
}
.chat-page.is-pc .work-tab {
  height: 28px;
  margin-right: 8px;
  padding: 0 12px;
  font-size: 12px;
}
.chat-page.is-pc .messages {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 16px 8px;
  box-sizing: border-box;
}
.chat-page.is-pc .msg {
  gap: 10px;
  margin-bottom: 16px;
}
.chat-page.is-pc .avatar, .chat-page.is-pc .avatar-img {
  display: block;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  line-height: 36px;
  font-size: 12px;
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.chat-page.is-pc .bubble-wrap {
  max-width: 72%;
  min-width: 0;
  overflow: hidden;
}
.chat-page.is-pc .welcome-face {
  width: 28px;
  height: 28px;
}
.chat-page.is-pc .bubble-text, .chat-page.is-pc .welcome-title {
  font-size: 14px;
  line-height: 1.65;
}
.chat-page.is-pc .msg-foot {
  gap: 6px;
  margin-top: 4px;
  min-width: 0;
}
.chat-page.is-pc .meta {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-page.is-pc .msg.is-user .msg-foot {
  justify-content: flex-end;
}
.chat-page.is-pc .copy-mark {
  width: 18px;
  height: 18px;
  overflow: visible;
}
.chat-page.is-pc .copy-back, .chat-page.is-pc .copy-front {
  left: 1px;
  top: 4px;
  width: 11px;
  height: 12px;
  border-width: 1.5px;
  border-radius: 2px;
}
.chat-page.is-pc .copy-front {
  left: 5px;
  top: 1px;
}
.chat-page.is-pc .composer {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 8px 16px 12px;
  box-sizing: border-box;
}
.chat-page.is-pc .input {
  min-height: 40px;
  max-height: 120px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}
.chat-page.is-pc .input.is-source {
  min-height: 140px;
  max-height: 280px;
}
.chat-page.is-pc .composer-bar {
  gap: 8px;
  margin-top: 8px;
}
.chat-page.is-pc .tool, .chat-page.is-pc .tool.tool-mark {
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 30px;
}
.chat-page.is-pc .tool.model {
  display: inline-flex;
  max-width: 180px;
  gap: 6px;
  padding: 0 10px 0 8px;
}
.chat-page.is-pc .model-mark {
  width: 20px;
  height: 20px;
  border-radius: 7px;
}
.chat-page.is-pc .model-label {
  font-size: 12px;
  line-height: 32px;
}
.chat-page.is-pc .tpl-face {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.chat-page.is-pc .mark.mark-tpl {
  display: none;
}
.chat-page.is-pc .mark {
  width: 14px;
  height: 14px;
  overflow: hidden;
}
.chat-page.is-pc .mark-tpl-back, .chat-page.is-pc .mark-tpl-front, .chat-page.is-pc .mark-tpl-line {
  left: 1px;
  top: 2px;
  width: 10px;
  height: 11px;
  border-width: 1.5px;
  border-radius: 2px;
}
.chat-page.is-pc .send-cta {
  min-width: 96px;
  width: 96px;
  height: 40px;
  min-height: 40px;
  margin-left: auto;
  padding: 0 12px;
  gap: 6px;
  border-width: 1px;
  border-radius: 20px;
  box-shadow: none;
}
.chat-page.is-pc .send-label {
  font-size: 13px;
  letter-spacing: 0;
}
.chat-page.is-pc .send-glyph {
  border-left-width: 5px;
  border-right-width: 5px;
  border-bottom-width: 8px;
}
.chat-page.is-pc .pc-manuscript .drawer-title, .chat-page.is-pc .sheet-strong {
  font-size: 14px;
  line-height: 1.4;
}
.chat-page.is-pc .pc-manuscript .kicker, .chat-page.is-pc .pc-manuscript .drawer-sub {
  font-size: 11px;
  line-height: 1.4;
}
.chat-page.is-pc .ms-tools {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.chat-page.is-pc .ms-chip {
  min-height: 40px;
  height: 40px;
  padding: 0 8px 0 4px;
  gap: 6px;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.chat-page.is-pc .ms-chip-copy {
  min-width: 0;
  overflow: hidden;
}
.chat-page.is-pc .ms-chip-title {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-page.is-pc .ms-chip-sub {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-page.is-pc .kicker-row {
  gap: 8px;
}
.chat-page.is-pc .article, .chat-page.is-pc .outline, .chat-page.is-pc .plan-body, .chat-page.is-pc .title-input, .chat-page.is-pc .outline-editor, .chat-page.is-pc .article-editor {
  min-height: 0;
  margin-top: 8px;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.chat-page.is-pc .article-editor, .chat-page.is-pc .outline-editor {
  min-height: 140px;
  max-height: none;
}
.chat-page .article-editor {
  min-height: 44px;
  overflow: hidden;
  resize: none;
}
.chat-page .drawer.drawer-sheet.manuscript-sheet {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  top: 14vh;
  bottom: calc(58px + env(safe-area-inset-bottom));
  height: auto;
  max-height: none;
  overflow: hidden;
  padding: 10px 12px 10px;
}
.chat-page .ms-article-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  height: 100%;
  max-height: none;
  overflow: hidden;
}
.chat-page .ms-pin-top,
.chat-page .ms-pin-bottom {
  flex: none;
  flex-shrink: 0;
  min-height: auto;
}
.chat-page .ms-article-layout .article-editor,
.chat-page.is-pc .ms-article-layout .article-editor {
  flex: 1 1 0;
  min-height: 0;
  height: 0;
  max-height: none;
  margin-top: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  resize: none;
}
.chat-page.is-pc .pc-manuscript.pc-rail {
  height: 100%;
  min-height: 0;
}
.chat-page.is-pc .pc-manuscript .drawer-body.ms-article-layout {
  display: flex;
  flex-direction: column;
  height: auto;
}
.chat-page.is-pc .pc-manuscript .ms-article-layout .article-editor {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
.chat-page .ms-pin-bottom .confirm-title {
  margin-top: 8px;
  margin-bottom: 0;
}
.chat-page.is-pc .confirm-title {
  min-height: 36px;
  height: 36px;
  margin: 10px 0 0;
  border-radius: 18px;
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: none;
}
.chat-page.is-pc .jump-bottom {
  left: 50%;
  right: auto;
  top: -40px;
  width: 32px;
  height: 32px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  transform: translateX(-50%);
}
.chat-page.is-pc .jump-bottom:active {
  transform: translateX(-50%) scale(0.96);
}
.chat-page.is-pc .jump-arrow {
  width: 0;
  height: 0;
  margin-top: 3px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #3a2f26;
}
.chat-page.is-pc .drawer-sheet, .chat-page.is-pc .drawer:not(.drawer-left) {
  left: 196px;
  right: 24px;
  top: 64px;
  bottom: 24px;
  width: auto;
  max-width: 640px;
  height: auto;
  max-height: none;
  margin: 0 auto;
  padding: 16px 18px 18px;
  border-radius: 16px;
  transform: none;
  animation: none;
}
.chat-page.is-pc .tpl-sheet {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  max-height: min(680px, calc(100vh - 80px));
}
.chat-page.is-pc .format-sheet {
  top: 80px;
  bottom: auto;
  width: 420px;
  max-width: 420px;
  height: auto;
  max-height: none;
}
.chat-page.is-pc .pack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 12px;
}
.chat-page.is-pc .pack {
  min-width: 0;
  flex: none;
  width: auto;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 38px;
}
.chat-page.is-pc .format-note {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}
.chat-page.is-pc .paper-foot-btn, .chat-page.is-pc .manage-btn {
  min-height: 36px;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 34px;
}
.chat-page.is-pc .drawer-title {
  font-size: 16px;
  line-height: 1.3;
}
.chat-page.is-pc .drawer-kicker {
  font-size: 11px;
}
.chat-page.is-pc .drawer-sub {
  font-size: 12px;
}
.chat-page.is-pc .icon-close {
  min-width: 32px;
  height: 32px;
  font-size: 16px;
  line-height: 30px;
}
.chat-page.is-pc .length-sheet {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  width: 400px;
  max-width: calc(100vw - 48px);
  margin: 0;
  transform: translate(-50%, -50%);
}
.chat-page.is-pc .length-sheet-inner {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-height: 80vh;
  padding: 20px 18px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 16px;
}
.chat-page.is-pc .length-sheet-inner::before {
  display: none;
}
.chat-page.is-pc .length-kicker {
  height: 16px;
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 16px;
}
.chat-page.is-pc .length-title {
  height: 28px;
  margin-top: 6px;
  font-size: 22px;
  line-height: 28px;
  overflow: hidden;
  white-space: nowrap;
}
.chat-page.is-pc .length-copy {
  margin-top: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}
.chat-page.is-pc .length-copy-line {
  height: 20px;
  line-height: 20px;
  font-size: 13px;
}
.chat-page.is-pc .length-opt, .chat-page.is-pc .length-custom {
  padding: 10px 12px;
}
.chat-page.is-pc .length-opt-name {
  height: 20px;
  font-size: 14px;
  line-height: 20px;
}
.chat-page.is-pc .length-opt-sub {
  height: 18px;
  margin-top: 2px;
  font-size: 12px;
  line-height: 18px;
}
.chat-page.is-pc .length-custom-row {
  height: 36px;
  margin-top: 10px;
}
.chat-page.is-pc .length-input-wrap {
  height: 36px;
}
.chat-page.is-pc .length-input {
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  font-size: 14px;
}
.chat-page.is-pc .length-unit {
  flex-basis: 28px;
  width: 28px;
  height: 36px;
  margin-left: 8px;
  font-size: 14px;
  line-height: 36px;
}
.chat-page.is-pc .length-acts {
  margin-top: 16px;
}
.chat-page.is-pc .length-btn {
  height: 40px;
  font-size: 14px;
}
.chat-page.is-pc .msg.is-pending.is-scheme .bubble-wrap {
  overflow: visible;
  max-width: min(520px, calc(100% - 52px));
}
.chat-page.is-pc .scheme-kicker, .chat-page.is-pc .scheme-lead, .chat-page.is-pc .scheme-name, .chat-page.is-pc .scheme-mark, .chat-page.is-pc .scheme-hint {
  letter-spacing: 0;
  text-shadow: none;
  -webkit-text-stroke: 0;
}
.chat-page.is-pc .scheme-kicker {
  font-size: 12px;
  line-height: 1.3;
}
.chat-page.is-pc .scheme-lead {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  white-space: normal;
  word-break: break-word;
}
.chat-page.is-pc .scheme-steps {
  gap: 6px;
  margin-top: 12px;
}
.chat-page.is-pc .scheme-step {
  gap: 8px;
  min-height: 28px;
}
.chat-page.is-pc .scheme-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  font-size: 11px;
  line-height: 20px;
}
.chat-page.is-pc .scheme-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}
.chat-page.is-pc .scheme-mark {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.3;
}
.chat-page.is-pc .scheme-hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
}
.chat-page.is-pc .pc-manuscript .drawer-body {
  width: 100%;
  min-width: 0;
}
.chat-page.is-pc .pc-manuscript .title-option {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-self: stretch;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 10px 12px;
}
.chat-page.is-pc .pc-manuscript .title-option .num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  line-height: 22px;
}
.chat-page.is-pc .pc-manuscript .title-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  writing-mode: horizontal-tb;
}
.chat-page.is-pc .pc-manuscript .title-option {
  min-height: 0;
  margin-bottom: 6px;
  padding: 8px 8px;
}
.chat-page.is-pc .pc-manuscript .title-option .num {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 11px;
  line-height: 18px;
}
.chat-page.is-pc .pc-manuscript .confirm-title {
  min-height: 32px;
  height: 32px;
  margin: 8px 0 0;
  border-radius: 16px;
  font-size: 12px;
  line-height: 30px;
}
.chat-page.is-pc .pc-manuscript .title-tools, .chat-page.is-pc .pc-manuscript .fold-card, .chat-page.is-pc .pc-manuscript .title-tool-actions, .chat-page.is-pc .pc-manuscript .tool-btn, .chat-page.is-pc .pc-manuscript .fold-head {
  position: relative;
  z-index: 0;
  transform: none;
}
.chat-page.is-pc .pc-manuscript .title-tools {
  margin-top: 12px;
}
.chat-page.is-pc .pc-manuscript .title-input {
  min-height: 52px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
}
.chat-page.is-pc .pc-manuscript .title-tool-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.chat-page.is-pc .pc-manuscript .tool-btn {
  flex: none;
  width: 100%;
  height: 30px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
.chat-page.is-pc .pc-manuscript .fold-card, .chat-page.is-pc .pc-manuscript .fold-card.rest {
  margin-top: 8px;
  border-radius: 10px;
  overflow: hidden;
}
.chat-page.is-pc .pc-manuscript .fold-head {
  min-height: 32px;
  height: 32px;
  padding: 0 10px;
  gap: 8px;
}
.chat-page.is-pc .pc-manuscript .fold-head .kicker, .chat-page.is-pc .pc-manuscript .fold-mark {
  font-size: 11px;
  line-height: 32px;
  letter-spacing: 0;
  white-space: nowrap;
}
.chat-page.is-pc .pc-manuscript .sheet-strong {
  font-size: 13px;
}

.chat-page{height:100dvh;}
.chat-page button{margin:0;}
@media (min-width:768px){.chat-page{padding-left:196px;padding-bottom:0;height:100dvh;}}
.chat-page .drawer.drawer-sheet.manuscript-sheet {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
