/* ============================================
   客户方案展示平台 - 全局样式
   基调：白底 + 清新明亮配色
   ============================================ */

:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #0ea5e9;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== 首页布局 ========== */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航栏 */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* 英雄区 */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.stat-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 登录卡片 */
.login-card {
  width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.login-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.login-card .subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
  background: #fff;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.25);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #34d399);
  color: #fff;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning), #fbbf24);
  color: #fff;
}

.btn-warning:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245,158,11,0.25);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* 公司信息区块 */
.company-section {
  background: var(--bg-light);
  padding: 80px 48px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 17px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 页脚 */
.footer {
  background: var(--text);
  color: #94a3b8;
  padding: 40px 48px;
  text-align: center;
  font-size: 14px;
}

.footer a { color: #cbd5e1; }

/* ========== 管理后台 ========== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
}

.sidebar .logo {
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.sidebar-menu {
  flex: 1;
  padding: 0 12px;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  margin-bottom: 4px;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  background: #eff6ff;
  color: var(--primary);
}

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.user-meta strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.user-meta span {
  font-size: 12px;
  color: var(--text-secondary);
}

.main-content {
  flex: 1;
  background: var(--bg-light);
  overflow: auto;
}

.topbar {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.page-title {
  font-size: 20px;
  font-weight: 700;
}

.content-body {
  padding: 32px;
}

/* 数据卡片 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-card .label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.stat-card .value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

/* 表格 */
.data-table {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
}

.data-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  border-top: 1px solid var(--border);
  color: var(--text);
}

.data-table tr:hover td {
  background: #f8fafc;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.badge-green {
  background: #d1fae5;
  color: #065f46;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
}

.badge-gray {
  background: #f1f5f9;
  color: #475569;
}

/* ========== 模态框 ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: var(--radius);
  width: 480px;
  max-width: 90vw;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-light);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.modal-body {
  padding: 20px 24px;
}

.modal-footer {
  padding: 0 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ========== Radio 选择器 ========== */
.radio-group {
  display: flex;
  gap: 12px;
}

.radio-label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
}

.radio-label:hover {
  border-color: var(--primary-light);
  background: #f8fafc;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.radio-label.active {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
}

input[type="file"] {
  width: 100%;
  font-size: 14px;
  color: var(--text);
}

/* ========== 汇报材料展示页 ========== */
.presentation-page {
  height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pres-header {
  height: 56px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
  z-index: 50;
  flex-shrink: 0;
}

.pres-header .left {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.pres-header .doc-title {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.pres-header .right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 顶部栏收起按钮 */
.pres-header-toggle {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 32px;
  height: 18px;
  border: none;
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  cursor: pointer;
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: var(--transition);
  z-index: 51;
}

.pres-header-toggle:hover {
  color: var(--primary);
  background: #f8fafc;
}

/* 收起后的提示条 */
.pres-header-collapsed {
  height: 28px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 50;
  flex-shrink: 0;
}

.pres-header-collapsed-text {
  font-size: 11px;
  color: var(--danger);
  font-weight: 600;
}

.pres-header-collapsed-btn {
  width: 24px;
  height: 18px;
  border: none;
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  cursor: pointer;
  font-size: 9px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.pres-header-collapsed-btn:hover {
  color: var(--primary);
}

/* 全屏模式 */
.presentation-page.is-fullscreen .pres-header {
  display: none !important;
}

.presentation-page.is-fullscreen .pres-header-collapsed {
  display: none !important;
}

.presentation-page.is-fullscreen .pres-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  height: 100vh;
}

.presentation-page.is-fullscreen .pres-frame {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
}

.presentation-page.is-fullscreen #presFrame {
  height: 100%;
}

.pres-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.pres-frame {
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#presFrame {
  flex: 1;
  min-height: 0;
}

/* 手机端保留适当边距和圆角 */
@media (max-width: 768px) {
  .pres-container {
    padding: 12px;
  }
  .pres-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
}

.pres-content {
  padding: 48px;
  min-height: 600px;
}

/* 水印 */
.watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ctext x='50%25' y='50%25' font-size='16' fill='%23000' transform='rotate(-45 150 150)' text-anchor='middle'%3E%E5%86%85%E9%83%A8%E8%B5%84%E6%96%99+%E7%A6%81%E6%AD%A2%E5%A4%96%E4%BC%A0%3C/text%3E%3C/svg%3E");
}

/* ========== 修改密码页 ========== */
.cp-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #eff6ff 100%);
}

.cp-card {
  width: 440px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cp-card .icon-lock {
  width: 64px;
  height: 64px;
  background: #fef3c7;
  color: var(--warning);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.cp-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cp-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 28px;
}

/* ========== Toast 提示 ========== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  min-width: 280px;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--primary); }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ========== 空状态 ========== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-secondary);
}

.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .login-card { width: 100%; max-width: 420px; }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .hero { padding: 40px 20px; }
  .company-section { padding: 60px 20px; }
  .stats-row { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; }
}

/* ========== 权限标签 ========== */
.badge-yellow {
  background: #fef3c7;
  color: #92400e;
}

.badge-purple {
  background: #f3e8ff;
  color: #6b21a8;
}

.badge-red {
  background: #fee2e2;
  color: #991b1b;
}

/* ========== 个人档案 ========== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.profile-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.profile-info-list {
  text-align: left;
}

.profile-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.profile-info-item:last-child {
  border-bottom: none;
}

.profile-info-item .label {
  color: var(--text-secondary);
  min-width: 72px;
}

.profile-info-item .value {
  font-weight: 600;
}

.qr-preview {
  width: 100px;
  height: 100px;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: contain;
  margin-top: 8px;
}

/* ========== 分享/移交接收提示 ========== */
.notification-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--transition);
}

.notification-item:hover {
  box-shadow: var(--shadow);
}

.notification-item .info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-item .title {
  font-weight: 600;
}

.notification-item .meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.notification-item .actions {
  display: flex;
  gap: 8px;
}

/* ========== Tab 面板切换 ========== */
.tab-panel {
  display: block;
}

.tab-panel[style*="display: none"] {
  display: none;
}

/* ========== 方案导航栏 ========== */
.pres-nav {
  height: 48px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  flex-shrink: 0;
  overflow-x: auto;
}

.pres-nav-item {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  transition: var(--transition);
}

.pres-nav-item:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.pres-nav-item.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}


/* ========== 方案列表视图 ========== */
.pres-list-view {
  padding: 32px;
  max-width: 960px;
  margin: 64px auto 0;
}
.pres-list-header {
  margin-bottom: 24px;
}
.pres-list-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pres-list-header p {
  color: #64748b;
  font-size: 14px;
}
.pres-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.pres-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pres-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}
.pres-card-icon {
  font-size: 32px;
  flex-shrink: 0;
}
.pres-card-body {
  flex: 1;
  min-width: 0;
}
.pres-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pres-card-project {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 2px;
}
.pres-card-date {
  font-size: 12px;
  color: #94a3b8;
}
.pres-card-arrow {
  font-size: 24px;
  color: #94a3b8;
  flex-shrink: 0;
}
.pres-list-empty {
  text-align: center;
  padding: 80px 20px;
  color: #94a3b8;
}

/* ========== 方案详情视图 ========== */
.pres-detail-view {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.pres-back-btn {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pres-back-btn:hover {
  background: #f1f5f9;
}
.pres-detail-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pres-detail-view .pres-container {
  margin-top: 0;
  flex: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .pres-list-view {
    padding: 16px;
    margin-top: 56px;
  }
  .pres-list-grid {
    grid-template-columns: 1fr;
  }
  .pres-detail-view .pres-container {
    margin-top: 0;
  }
}


/* ========== 首页 Logo（纯图片，无底色） ========== */
.landing-page .logo {
  font-size: 0; /* 隐藏文字 */
}
.landing-page .logo-icon {
  width: auto;
  height: 40px;
  background: none;      /* 无底色 */
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}
.landing-page .logo-icon img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.pres-card-id {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
  margin-right: 8px;
  font-family: monospace;
}

/* 侧边栏 Logo（纯图片，无底色，高度固定，宽度自适应） */
.sidebar .logo {
  font-size: 0;
}
.sidebar .logo-icon {
  width: auto;
  height: 40px;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}
.sidebar .logo-icon img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
