* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  background: #f2f3f7;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

#app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: #f2f3f7;
  position: relative;
}

.page {
  display: none;
  padding: 20px 16px 100px;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* 卡片样式 */
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.card.clickable {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card.clickable:active {
  transform: scale(0.98);
}

.card-header {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  gap: 10px;
}

.card-header h3 {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
}

.indicator {
  width: 4px;
  height: 20px;
  border-radius: 2px;
}

.indicator.purple { background: #8b5cf6; }
.indicator.yellow { background: #f59e0b; }
.indicator.blue { background: #3b82f6; }
.indicator.orange { background: #f97316; }

.arrow {
  color: #c4c4c4;
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s;
}

.arrow.down {
  transform: rotate(90deg);
}

/* 笔记列表 */
.card-content {
  padding: 0 20px 8px;
}

.note-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  gap: 14px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
}

.note-item:last-child {
  border-bottom: none;
}

.folder-icon {
  width: 44px;
  height: 44px;
}

.note-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note-title {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
}

.note-time {
  font-size: 13px;
  color: #999;
}

/* 悬浮按钮 */
.fab {
  position: fixed;
  bottom: 100px;
  right: calc(50% - 195px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #2196f3;
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
  transition: all 0.3s ease;
  z-index: 100;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(33, 150, 243, 0.5);
}

.fab:active {
  transform: scale(0.95);
}

/* 页面头部 */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 20px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
}

.back-btn svg {
  width: 22px;
  height: 22px;
}

.header-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #1a1a1a;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
}

/* 菜单卡片 */
.menu-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.menu-item {
  padding: 18px 20px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 16px;
  color: #1a1a1a;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:active {
  background: #f8f8f8;
}

.menu-item.highlight {
  background: linear-gradient(90deg, #e0f7f4 0%, #f0fcfb 100%);
  color: #0d9488;
  font-weight: 500;
}

.menu-item.accent {
  color: #f97316;
  font-weight: 500;
}

/* 分类标签 */
.category-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab-btn.active {
  background: #1a1a1a;
  color: #fff;
}

/* 模板卡片 */
.template-card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.template-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 10px;
  border-bottom: 1px solid #f5f5f5;
}

.template-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.template-list {
  padding: 4px 0;
}

.template-item {
  padding: 14px 20px 14px 34px;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.template-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
}

.template-item:active {
  background: #f8f8f8;
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: flex;
  background: #fff;
  padding: 8px 0 24px;
  border-top: 1px solid #f0f0f0;
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border: none;
  background: none;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
}

.nav-btn span {
  font-size: 11px;
}

.nav-btn.active {
  color: #2196f3;
}

/* 响应式 */
@media (max-width: 430px) {
  .fab {
    right: 20px;
  }
}

/* ========== 记录页新样式 ========== */

/* 居中标题头部 */
.page-header-center {
  display: flex;
  align-items: center;
  padding: 10px 0 24px;
  position: relative;
}

.back-btn-left {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1a1a1a;
}

.back-btn-left svg {
  width: 24px;
  height: 24px;
}

.page-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.header-add-right {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: #1a1a1a;
  cursor: pointer;
  padding: 8px;
}

/* 记录页内容 */
.record-content {
  padding: 0 4px;
}

/* 橙色主按钮 */
.btn-primary-orange {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-orange svg {
  width: 22px;
  height: 22px;
}

.btn-primary-orange:active {
  transform: scale(0.98);
}

/* 蓝色边框按钮 */
.btn-outline-blue {
  width: 100%;
  padding: 18px;
  background: #fff;
  border: 2px solid #3b82f6;
  border-radius: 16px;
  color: #3b82f6;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.btn-outline-blue svg {
  width: 20px;
  height: 20px;
}

.btn-outline-blue:active {
  background: #eff6ff;
}

/* 两个小按钮并排 */
.btn-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-small {
  flex: 1;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  font-size: 15px;
  color: #10b981;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-small svg {
  width: 18px;
  height: 18px;
}

.btn-small.accent {
  color: #f472b6;
}

.btn-small:active {
  background: #f9fafb;
  transform: scale(0.98);
}

/* 分区标签 */
.section-label {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 12px;
  padding-left: 4px;
}

/* 卡片项 */
.card-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.2s;
}

.card-item:active {
  transform: scale(0.98);
}

.card-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-item-icon.purple {
  background: #f3e8ff;
  color: #a855f7;
}

.card-item-icon svg {
  width: 22px;
  height: 22px;
}

.card-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-item-title {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}

.card-item-desc {
  font-size: 13px;
  color: #9ca3af;
}


/* ========== 模板中心新样式 (Screen 4) ========== */
.search-box {
  background: #fff;
  border-radius: 20px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.search-box svg {
  width: 20px;
  height: 20px;
  color: #999;
}

.search-box input {
  border: none;
  outline: none;
  font-size: 15px;
  width: 100%;
  color: #1a1a1a;
}

.search-box input::placeholder {
  color: #c4c4c4;
}

.template-list-rich {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.template-item-rich {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: transform 0.2s;
  border: 1px solid transparent;
}

.template-item-rich:hover {
  border-color: #2196f3;
}

.template-item-rich:active {
  transform: scale(0.98);
}

.template-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.template-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.stars svg {
  width: 14px;
  height: 14px;
}

.template-item-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  gap: 8px;
}

.tag {
  background: #f3f4f6;
  color: #4b5563;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* ========== 模板详情预览 (Screen 5) ========== */
.template-preview-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  min-height: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
}

.preview-header {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.preview-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-line {
  font-size: 14px;
  color: #1a1a1a;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  padding: 16px 20px 30px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 16px;
  z-index: 100;
}

.btn-secondary {
  flex: 1;
  padding: 14px;
  background: #f3f4f6;
  border: none;
  border-radius: 12px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.btn-primary {
  flex: 2;
  padding: 14px;
  background: #1a1a1a;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

/* ========== 新建会议纪要 (Screen 6) ========== */
.meeting-form {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 80px; /* Space for AI bar */
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  color: #374151;
  outline: none;
  background: transparent;
}

.form-input:focus {
  border-bottom-color: #2196f3;
}

.add-attendee {
  color: #9ca3af;
  font-size: 14px;
  padding: 8px 0;
  cursor: pointer;
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-item {
  color: #d1d5db;
  font-size: 14px;
}

.btn-start-view {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #f97316;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.ai-assistant-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  padding: 16px 20px 30px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  z-index: 100;
}


/* ========== 录音进行中 (Screen 7-10) ========== */
.recording-header {
  display: flex;
  justify-content: center;
  padding: 10px 0 20px;
}

.recording-header .back-btn {
  font-size: 16px;
  font-weight: 500;
  color: #ef4444; /* Red for recording state */
}

.recording-info {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-line {
  font-size: 14px;
  color: #4b5563;
}

.info-line strong {
  color: #1a1a1a;
  font-weight: 600;
}

.transcript-container {
  padding-bottom: 100px;
}

.transcript-section-title {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.transcript-block {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.transcript-text {
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 8px;
}

.transcript-text:last-child {
  margin-bottom: 0;
}

/* 争议点模块 */
.dispute-block {
  border: 1px solid #fcd34d;
  background: #fffbeb;
}

.dispute-title {
  color: #d97706;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.dispute-content {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.dispute-action {
  font-size: 12px;
  color: #d97706;
  background: rgba(251, 191, 36, 0.2);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
}

.recording-controls {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  padding: 20px;
  background: linear-gradient(to top, #f2f3f7 80%, rgba(242, 243, 247, 0));
  display: flex;
  justify-content: center;
  z-index: 90;
}

.btn-stop-record {
  background: #ef4444;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.stop-icon {
  font-size: 12px;
}

/* AI 侧栏提示 */
.ai-sidebar-suggestion {
  position: fixed;
  right: 20px;
  top: 300px; /* Adjust as needed */
  width: 200px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-left: 4px solid #f59e0b;
  z-index: 100;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.suggestion-header {
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.suggestion-content {
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 8px;
  line-height: 1.4;
}

.suggestion-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.btn-text-only {
  background: none;
  border: none;
  font-size: 12px;
  color: #9ca3af;
  cursor: pointer;
}

.btn-text-accent {
  background: none;
  border: none;
  font-size: 12px;
  color: #f59e0b;
  font-weight: 600;
  cursor: pointer;
}

/* ========== 总结生成 (Screen 11-13) ========== */
.summary-prompt-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.prompt-header {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.prompt-content {
  flex: 1;
}

.prompt-item {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 2px solid #e5e7eb;
}

.summary-review-section {
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  margin-top: 16px;
}

.review-title {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.btn-generate-summary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ai-tip-box {
  margin-top: 16px;
  background: #eff6ff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #bfdbfe;
}

.ai-tip-title {
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 4px;
}

.ai-tip-text {
  font-size: 13px;
  color: #1e40af;
  margin-bottom: 8px;
}

.ai-tip-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ai-tip-actions .btn-text-accent {
  color: #2563eb;
}

/* 版本切换 Tabs */
.version-tabs {
  display: flex;
  background: #fff;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.v-tab {
  flex: 1;
  padding: 8px 0;
  border: none;
  background: none;
  font-size: 13px;
  color: #6b7280;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.v-tab.active {
  background: #1a1a1a;
  color: #fff;
}

.summary-preview-content {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 80px;
}

.preview-section {
  margin-bottom: 16px;
}

.preview-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.preview-section p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

.preview-section-highlight {
  background: #fdf2f8;
  padding: 12px;
  border-radius: 8px;
  border: 1px dashed #f472b6;
}

.preview-section-highlight h3 {
  color: #be185d;
}

.preview-section-highlight ul {
  list-style: none;
  padding: 0;
}

.preview-section-highlight li {
  font-size: 14px;
  color: #9d174d;
  margin-bottom: 4px;
}

/* 编辑器 */
.header-action-text {
  background: none;
  border: none;
  font-size: 15px;
  color: #2196f3;
  font-weight: 600;
  cursor: pointer;
}

.editor-container {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  min-height: 500px;
}

.editor-section h4 {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.editor-textarea {
  width: 100%;
  min-height: 300px;
  border: none;
  resize: none;
  font-size: 15px;
  line-height: 1.6;
  color: #1a1a1a;
  outline: none;
  font-family: inherit;
}

/* ========== 待办确认与同步 (Screen 14-16) ========== */
.ai-notice-blue {
  background: #eff6ff;
  color: #2563eb;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}

.action-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 100px;
}

.action-item-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.action-item-card.selected {
  border-color: #2196f3;
  background: #f0f9ff;
}

.checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.action-item-card.selected .checkbox {
  background: #2196f3;
  border-color: #2196f3;
}

.action-content {
  flex: 1;
}

.action-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.action-meta {
  font-size: 13px;
  color: #6b7280;
}

/* 同步设置 */
.settings-group {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.settings-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.calendar-option, .reminder-option {
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 15px;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.calendar-option:last-child, .reminder-option:last-child {
  border-bottom: none;
}

.calendar-option.active, .reminder-option.active {
  color: #2196f3;
  font-weight: 500;
}

.cal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cal-dot.blue { background: #3b82f6; }
.cal-dot.red { background: #ef4444; }

/* 成功页 */
.success-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

.success-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.success-card p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.5;
}

.success-divider {
  width: 40px;
  height: 4px;
  background: #f3f4f6;
  border-radius: 2px;
  margin: 24px 0;
}

.small-text {
  font-size: 13px;
  color: #9ca3af;
}

.btn-view-note {
  margin-top: 30px;
  background: none;
  border: none;
  font-size: 15px;
  color: #2196f3;
  cursor: pointer;
}

/* ========== 笔记详情与分享 (Screen 17-18) ========== */
.note-detail-content {
  padding: 0 4px 100px;
}

.note-status-badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.note-meta-block {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.note-section {
  background: #fff;
  padding: 20px 16px;
  border-radius: 16px;
  margin-bottom: 12px;
}

.note-section h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-section h4 .icon {
  font-size: 16px;
}

.note-section p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.linked-item {
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
}

.btn-share, .btn-fav {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-share {
  background: #eff6ff;
  color: #2563eb;
  border: none;
}

.btn-share svg {
  width: 18px;
  height: 18px;
}

.btn-fav {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
}

.btn-fav svg {
  width: 18px;
  height: 18px;
}

/* Share Sheet */
.share-sheet-container {
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px 40px;
  min-height: 60vh;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  margin-top: 100px; /* Simulate modal */
}

.share-header {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

.share-title {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.share-options {
  margin-bottom: 30px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: #1a1a1a;
  cursor: pointer;
}

.radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  position: relative;
}

.radio-option.selected .radio-circle {
  border-color: #2196f3;
}

.radio-circle.inner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #2196f3;
  border-radius: 50%;
}

.app-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.app-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.app-icon.green { background: #22c55e; }
.app-icon.blue { background: #3b82f6; }
.app-icon.yellow { background: #f59e0b; }
.app-icon.black { background: #1a1a1a; }

.share-actions {
  display: flex;
  gap: 16px;
}
