/* 书栈 · 笔记抽屉（仅 read.html 使用，独立于共享 bookstation.css） */
.drawer-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.notes-list {
  overflow: auto;
  padding: 8px 12px;
  flex: 1 1 auto;
  min-height: 80px;
}
.notes-empty {
  padding: 22px 14px;
  text-align: center;
  line-height: 1.7;
}

.note-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: var(--card-2, rgba(255, 255, 255, 0.04));
}
.note-text {
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.note-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.note-del {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--danger, #d9534f);
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 12px;
  cursor: pointer;
}
.note-del:hover { background: var(--danger, #d9534f); color: #fff; border-color: var(--danger, #d9534f); }

.notes-compose {
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notes-compose textarea {
  width: 100%;
  resize: vertical;
  min-height: 64px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  font: inherit;
  font-size: 14px;
  background: var(--card-2, rgba(255, 255, 255, 0.04));
  color: var(--text);
}
.notes-compose textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft, rgba(154, 91, 44, 0.14));
}
.notes-compose .bs-btn { align-self: flex-end; }
