body {
  background: #f5f5f7;
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
}
#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}
.toolbar {
  margin-bottom: 16px;
}
.toolbar select, .toolbar button {
  margin-right: 8px;
  padding: 4px 8px;
}
.note-preview {
  width: 360px;
  height: 480px;
  background: #fffbe7;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px 24px 24px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  font-size: 20px;
  display: flex;
  flex-direction: column;
}
.note-title {
  font-weight: bold;
  font-size: 28px;
  margin-bottom: 18px;
  color: #222;
  outline: none;
}
.note-content {
  flex: 1;
  outline: none;
  color: #222;
  line-height: 1.8;
  word-break: break-all;
}
.bold { font-weight: bold; }
.italic { font-style: italic; }
.highlight { background: #fff176; }
.font-hei { font-family: '黑体', 'Arial', sans-serif; }
.font-kai { font-family: '楷体', 'KaiTi', serif; }
.font-song { font-family: '宋体', 'SimSun', serif; }
.export-btn {
  margin-top: 20px;
  padding: 10px 32px;
  background: #ffd600;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media (min-width: 1080px) {
  .note-preview {
    width: 540px;
    height: 720px;
    font-size: 28px;
  }
  .note-title {
    font-size: 36px;
  }
}