body { margin: 0; padding: 22px; font-family: "Microsoft YaHei", sans-serif; background: #d9d9f3; color: #292946; }
a { color: #303088; }
.docs-header { max-width: 1220px; margin: 0 auto 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.docs-header h1 { font-size: 21px; font-weight: 400; margin: 0; }
.docs-header .member-bar { margin-left: auto; }
#docs-app { display: grid; grid-template-columns: 220px minmax(0, 1fr); max-width: 1220px; margin: auto; min-height: 70vh; border: 1px solid #b9b9d5; border-radius: 10px; overflow: hidden; background: #f7f7fd; }
.docs-sidebar { padding: 16px 12px; background: #e9e9f8; border-right: 1px solid #c9c9de; min-width: 0; }
.docs-list-tools { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
#docs-list { list-style: none; padding: 0; margin: 0; max-height: 66vh; overflow-y: auto; }
#docs-list button { width: 100%; text-align: left; padding: 12px 10px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; color: inherit; overflow-wrap: anywhere; }
#docs-list button:hover { background: #dedeee; }
#docs-list button[aria-current="true"] { background: #d2d2ed; }
#docs-editor { min-width: 0; display: flex; flex-direction: column; padding: 18px 22px 12px; }
.docs-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-bottom: 1px solid #dddded; padding-bottom: 13px; }
#docs-title { min-width: 0; flex: 1 1 180px; border: 0; background: transparent; font: inherit; font-size: 21px; color: inherit; padding: 6px 0; }
.docs-actions { display: flex; gap: 8px; align-items: center; }
#docs-content { width: 100%; min-height: 56vh; flex: 1; resize: vertical; border: 0; background: transparent; color: #292946; font-family: inherit; font-size: 16px; line-height: 1.85; padding: 20px 0; outline-offset: 3px; }
.docs-footer { min-height: 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: #68687b; }
#docs-status.is-error, #docs-notice { color: #9f2536; }
#docs-notice { max-width: 1220px; margin: 0 auto 12px; font-size: 14px; }
#docs-notice:empty { display: none; }
#docs-guest { text-align: center; padding: 90px 0; }
@media (max-width: 680px) {
  body { padding: 14px; }
  .docs-header { gap: 14px; margin-bottom: 16px; }
  .docs-header .member-bar { width: 100%; margin-left: 0; justify-content: flex-start; }
  #docs-app { grid-template-columns: minmax(0, 1fr); }
  .docs-sidebar { border-right: 0; border-bottom: 1px solid #c9c9de; padding: 10px; }
  #docs-list { max-height: 150px; }
  #docs-editor { padding: 14px; }
  #docs-content { min-height: 50vh; }
}
