/* ===========================
   乐展智能 - 手机端设计系统
   基于Bootstrap 5.3.3补充样式
   版本: 2.0.0 | 2026-05-28
   =========================== */

/* ============================================================
   1. CSS变量 - 品牌色与设计令牌
   ============================================================ */
:root {
  --lz-primary:        #3b82f6;
  --lz-primary-dark:   #1e40af;
  --lz-primary-light:  #dbeafe;
  --lz-secondary:      #64748b;
  --lz-success:        #10b981;
  --lz-warning:        #f59e0b;
  --lz-danger:         #ef4444;
  --lz-info:           #06b6d4;

  --lz-body-bg:        #f1f5f9;
  --lz-card-bg:        #ffffff;
  --lz-text:           #1e293b;
  --lz-text-muted:     #64748b;
  --lz-border:         #e2e8f0;

  --lz-gradient:       linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --lz-gradient-hero:  linear-gradient(160deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);

  --lz-radius:         12px;
  --lz-radius-lg:      16px;
  --lz-radius-sm:      8px;
  --lz-radius-pill:    999px;

  --lz-shadow:         0 2px 8px rgba(0, 0, 0, 0.08);
  --lz-shadow-lg:      0 8px 24px rgba(0, 0, 0, 0.12);
  --lz-shadow-blue:    0 4px 16px rgba(59, 130, 246, 0.3);

  --lz-header-h:       60px;
  --lz-nav-h:          60px;
  --lz-transition:     0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   2. Bootstrap 5 色彩覆盖
   ============================================================ */
.btn-primary {
  background: var(--lz-gradient);
  border: none;
  box-shadow: var(--lz-shadow-blue);
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  border: none;
}
.btn-primary:active {
  transform: scale(0.97);
}
.btn-outline-primary {
  color: var(--lz-primary);
  border-color: var(--lz-primary);
}
.btn-outline-primary:hover {
  background: var(--lz-primary);
  border-color: var(--lz-primary);
}
.text-primary  { color: var(--lz-primary) !important; }
.bg-primary    { background: var(--lz-gradient) !important; }
.badge.bg-primary { background: var(--lz-primary) !important; }
.border-primary   { border-color: var(--lz-primary) !important; }
a { color: var(--lz-primary); }
a:hover { color: var(--lz-primary-dark); }

/* ============================================================
   3. 全局基础
   ============================================================ */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

body {
  background: var(--lz-body-bg);
  color: var(--lz-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

/* ============================================================
   4. 布局结构
   ============================================================ */

/* 顶部固定Header */
.lz-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--lz-header-h);
  background: var(--lz-gradient);
  color: white;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 990;
  box-shadow: 0 2px 12px rgba(30, 64, 175, 0.25);
}
.lz-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.lz-header-left  { display: flex; align-items: center; gap: 12px; }
.lz-header-right { display: flex; align-items: center; gap: 8px; }
.lz-header-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  text-align: center;
}
.lz-header-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--lz-transition);
}
.lz-header-btn:hover  { background: rgba(255,255,255,0.15); }
.lz-header-btn:active { transform: scale(0.92); }

/* 页面主内容区 */
.lz-content {
  margin-top: var(--lz-header-h);
  padding: 16px;
  min-height: calc(100vh - var(--lz-header-h) - var(--lz-nav-h));
  padding-bottom: calc(var(--lz-nav-h) + 16px);
}
/* 无底部导航时 */
.lz-content.no-nav {
  padding-bottom: 24px;
  min-height: calc(100vh - var(--lz-header-h));
}

/* ============================================================
   5. 底部导航
   ============================================================ */
.lz-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--lz-nav-h);
  background: var(--lz-gradient);
  display: flex;
  z-index: 990;
  box-shadow: 0 -4px 20px rgba(30, 64, 175, 0.2);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.lz-bottom-nav::-webkit-scrollbar { display: none; }

.lz-nav-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--lz-transition), background var(--lz-transition);
  font-size: 10px;
  position: relative;
  padding: 6px 4px;
  min-width: 0;
}
.lz-nav-item i       { font-size: 20px; }
.lz-nav-item span    { font-size: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lz-nav-item:hover   { color: white; background: rgba(255,255,255,0.1); }
.lz-nav-item.active  { color: white; }
.lz-nav-item.active::after {
  content: '';
  position: absolute;
  top: 4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: white;
}

/* ============================================================
   6. 抽屉侧边菜单
   ============================================================ */
.lz-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1098;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--lz-transition), visibility var(--lz-transition);
}
.lz-drawer-overlay.active { opacity: 1; visibility: visible; }

.lz-drawer {
  position: fixed;
  top: 0; left: -85%;
  width: 85%; max-width: 320px; height: 100%;
  background: #0f172a;
  color: white;
  z-index: 1099;
  transition: left var(--lz-transition);
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,0.35);
}
.lz-drawer.active { left: 0; }

.lz-drawer-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(30,64,175,0.6) 0%, transparent 100%);
}
.lz-drawer-user {
  display: flex; align-items: center; gap: 16px; padding: 8px 0;
}
.lz-drawer-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--lz-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: white; flex-shrink: 0;
}
.lz-drawer-user-info h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.lz-drawer-user-info p  { margin: 0; font-size: 13px; color: rgba(255,255,255,0.55); }

.lz-drawer-menu { padding: 12px 0; }
.lz-drawer-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: background var(--lz-transition), color var(--lz-transition);
}
.lz-drawer-item:hover { background: rgba(255,255,255,0.08); color: white; }
.lz-drawer-item i    { width: 22px; font-size: 17px; }
.lz-drawer-item span { flex: 1; font-size: 15px; }
.lz-drawer-divider   { height: 1px; background: rgba(255,255,255,0.08); margin: 6px 0; }

/* ============================================================
   7. Hero 区块
   ============================================================ */
.lz-hero {
  background: var(--lz-gradient-hero);
  color: white;
  border-radius: 0 0 var(--lz-radius-lg) var(--lz-radius-lg);
  padding: 2rem 1.5rem 2.5rem;
  margin: calc(-16px) calc(-16px) 16px;
}
.lz-hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.lz-hero-subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0;
}

/* ============================================================
   8. 增强卡片
   ============================================================ */
.lz-card {
  background: var(--lz-card-bg);
  border-radius: var(--lz-radius);
  box-shadow: var(--lz-shadow);
  border: 1px solid var(--lz-border);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: transform var(--lz-transition), box-shadow var(--lz-transition);
}
.lz-card:active { transform: scale(0.985); }
.lz-card-link   { text-decoration: none; color: inherit; display: block; }
.lz-card-link:hover .lz-card { box-shadow: var(--lz-shadow-lg); }

.lz-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--lz-border);
}
.lz-card-title {
  margin: 0; font-size: 1rem; font-weight: 600; color: var(--lz-text);
}

/* 统计数字卡片 */
.lz-stat-card {
  background: var(--lz-card-bg);
  border-radius: var(--lz-radius);
  box-shadow: var(--lz-shadow);
  border: 1px solid var(--lz-border);
  padding: 1.25rem;
  text-align: center;
}
.lz-stat-card .lz-stat-value { font-size: 1.75rem; font-weight: 700; color: var(--lz-primary); line-height: 1; }
.lz-stat-card .lz-stat-label { font-size: 0.8rem; color: var(--lz-text-muted); margin-top: 4px; }

/* ============================================================
   9. 服务网格入口
   ============================================================ */
.lz-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lz-service-item {
  background: var(--lz-card-bg);
  border-radius: var(--lz-radius);
  padding: 1rem 0.5rem;
  text-align: center;
  box-shadow: var(--lz-shadow);
  border: 1px solid var(--lz-border);
  text-decoration: none;
  color: var(--lz-text);
  display: block;
  transition: transform var(--lz-transition), box-shadow var(--lz-transition);
}
.lz-service-item:active { transform: scale(0.93); }
.lz-service-item:hover  { box-shadow: var(--lz-shadow-lg); color: var(--lz-text); text-decoration: none; }
.lz-service-item i      { font-size: 1.6rem; color: var(--lz-primary); display: block; margin-bottom: 6px; }
.lz-service-item span   { font-size: 0.78rem; color: var(--lz-text-muted); }

/* 4列网格 */
.lz-service-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 10px; }

/* ============================================================
   10. 列表组件
   ============================================================ */
.lz-list-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--lz-card-bg);
  border-radius: var(--lz-radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--lz-shadow);
  border: 1px solid var(--lz-border);
  transition: transform var(--lz-transition);
  text-decoration: none;
  color: var(--lz-text);
}
.lz-list-item:active { transform: scale(0.985); }
.lz-list-item:hover  { color: var(--lz-text); text-decoration: none; }

/* 在卡片内的列表（共享背景，分隔线替代卡片） */
.lz-list-item.in-card {
  box-shadow: none; border-radius: 0; border: none;
  border-bottom: 1px solid var(--lz-border);
  margin-bottom: 0; background: transparent;
  padding: 0.875rem 0;
}
.lz-list-item.in-card:last-child { border-bottom: none; }

.lz-list-icon {
  width: 44px; height: 44px; border-radius: var(--lz-radius-sm);
  background: var(--lz-primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--lz-primary);
  flex-shrink: 0; margin-right: 12px;
}
.lz-list-body { flex: 1; min-width: 0; }
.lz-list-title {
  margin: 0 0 3px; font-size: 0.9375rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lz-list-desc {
  margin: 0; font-size: 0.8125rem; color: var(--lz-text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lz-list-meta { font-size: 0.75rem; color: var(--lz-text-muted); flex-shrink: 0; margin-left: 8px; text-align: right; }

/* ============================================================
   11. 状态标签 / 徽章
   ============================================================ */
.lz-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--lz-radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.6;
}
.lz-badge-primary  { background: var(--lz-primary-light); color: var(--lz-primary-dark); }
.lz-badge-success  { background: #d1fae5; color: #065f46; }
.lz-badge-warning  { background: #fef3c7; color: #92400e; }
.lz-badge-danger   { background: #fee2e2; color: #991b1b; }
.lz-badge-info     { background: #cffafe; color: #0e7490; }
.lz-badge-gray     { background: #f1f5f9; color: var(--lz-secondary); }

/* ============================================================
   12. 区块标题
   ============================================================ */
.lz-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lz-text);
  margin: 0 0 0.875rem;
  padding-left: 0.625rem;
  border-left: 3px solid var(--lz-primary);
  line-height: 1.4;
}
.lz-section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.875rem;
}
.lz-section-more {
  font-size: 0.8125rem; color: var(--lz-primary); text-decoration: none;
}
.lz-section-more:hover { color: var(--lz-primary-dark); text-decoration: none; }

/* ============================================================
   13. 表单增强（补充Bootstrap不足）
   ============================================================ */
.lz-form-group { margin-bottom: 1.25rem; }
.lz-form-label {
  display: block; margin-bottom: 6px;
  font-size: 0.9375rem; font-weight: 600; color: var(--lz-text);
}
.lz-form-label .required { color: var(--lz-danger); margin-left: 2px; }

/* 覆盖Bootstrap表单控件焦点色 */
.form-control:focus,
.form-select:focus {
  border-color: var(--lz-primary);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
}
.form-check-input:checked {
  background-color: var(--lz-primary);
  border-color: var(--lz-primary);
}

/* 搜索框 */
.lz-search-bar {
  position: relative;
}
.lz-search-bar input {
  padding-left: 2.75rem;
  border-radius: var(--lz-radius-pill);
  background: var(--lz-card-bg);
  border-color: var(--lz-border);
  height: 44px;
}
.lz-search-bar .lz-search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--lz-text-muted);
  pointer-events: none;
}

/* ============================================================
   14. 空状态
   ============================================================ */
.lz-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--lz-text-muted);
}
.lz-empty i {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.4;
  color: var(--lz-secondary);
}
.lz-empty p { font-size: 0.9375rem; margin: 0; }
.lz-empty small { font-size: 0.8125rem; display: block; margin-top: 4px; opacity: 0.7; }

/* ============================================================
   15. 加载状态
   ============================================================ */
.lz-loading {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.5rem 1rem;
  color: var(--lz-text-muted);
}
.lz-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--lz-border);
  border-top-color: var(--lz-primary);
  border-radius: 50%;
  animation: lz-spin 0.75s linear infinite;
  margin-bottom: 12px;
}
@keyframes lz-spin { to { transform: rotate(360deg); } }

/* ============================================================
   16. Toast 通知
   ============================================================ */
.lz-toast {
  position: fixed;
  bottom: calc(var(--lz-nav-h) + 24px);
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(15, 23, 42, 0.88);
  color: white;
  padding: 10px 22px;
  border-radius: var(--lz-radius-pill);
  font-size: 0.875rem;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.lz-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.lz-toast.lz-toast-success { background: rgba(16, 185, 129, 0.92); }
.lz-toast.lz-toast-warning { background: rgba(245, 158, 11, 0.92); }
.lz-toast.lz-toast-danger  { background: rgba(239, 68, 68, 0.92); }

/* ============================================================
   17. 浮动操作按钮 (FAB)
   ============================================================ */
.lz-fab {
  position: fixed;
  bottom: calc(var(--lz-nav-h) + 16px);
  right: 16px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--lz-gradient);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--lz-shadow-lg), var(--lz-shadow-blue);
  z-index: 980;
  border: none;
  font-size: 1.375rem;
  transition: transform var(--lz-transition), box-shadow var(--lz-transition);
  cursor: pointer;
}
.lz-fab:hover  { transform: scale(1.08); }
.lz-fab:active { transform: scale(0.95); }

/* ============================================================
   18. 步骤/进度条
   ============================================================ */
.lz-steps {
  display: flex; align-items: center;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 4px;
}
.lz-steps::-webkit-scrollbar { display: none; }
.lz-step-item {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; min-width: 60px; position: relative;
}
.lz-step-item:not(:last-child)::after {
  content: ''; position: absolute;
  top: 14px; left: 50%; width: 100%; height: 2px;
  background: var(--lz-border);
}
.lz-step-item.done::after  { background: var(--lz-primary); }
.lz-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lz-border); color: var(--lz-text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
  position: relative; z-index: 1;
}
.lz-step-item.active .lz-step-dot { background: var(--lz-primary); color: white; }
.lz-step-item.done   .lz-step-dot { background: var(--lz-success); color: white; }
.lz-step-label { font-size: 0.7rem; color: var(--lz-text-muted); margin-top: 4px; text-align: center; }
.lz-step-item.active .lz-step-label { color: var(--lz-primary); font-weight: 600; }

/* ============================================================
   19. 信息详情行
   ============================================================ */
.lz-detail-row {
  display: flex; align-items: flex-start;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--lz-border);
  font-size: 0.9rem;
}
.lz-detail-row:last-child { border-bottom: none; }
.lz-detail-label { color: var(--lz-text-muted); flex-shrink: 0; width: 80px; }
.lz-detail-value { flex: 1; color: var(--lz-text); font-weight: 500; }

/* ============================================================
   20. 网格布局工具类
   ============================================================ */
.lz-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lz-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lz-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

/* ============================================================
   21. 动画
   ============================================================ */
@keyframes lz-fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lz-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lz-slideInLeft {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.lz-animate-in  { animation: lz-fadeInUp  0.3s ease both; }
.lz-fade-in     { animation: lz-fadeIn    0.25s ease both; }
.lz-slide-in    { animation: lz-slideInLeft 0.3s ease both; }

/* ============================================================
   22. 响应式调整
   ============================================================ */
@media (max-width: 375px) {
  .lz-hero          { padding: 1.5rem 1rem 2rem; }
  .lz-content       { padding: 12px; }
  .lz-card          { padding: 1rem; }
  .lz-header-title  { font-size: 16px; }
  .lz-service-grid  { gap: 8px; }
  .lz-service-item  { padding: 0.75rem 0.25rem; }
  .lz-service-item i { font-size: 1.4rem; }
}
@media (max-width: 320px) {
  .lz-service-grid       { grid-template-columns: repeat(2, 1fr); }
  .lz-service-grid-4     { grid-template-columns: repeat(2, 1fr); }
  .lz-grid-4             { grid-template-columns: repeat(2, 1fr); }
  .lz-grid-3             { grid-template-columns: repeat(2, 1fr); }
  .lz-stat-card .lz-stat-value { font-size: 1.4rem; }
}

/* ============================================================
   23. 旧类名兼容层（兼容存量页面，逐步迁移）
   ============================================================ */
/* 布局 */
.app-header     { position: fixed; top:0; left:0; right:0; height: var(--lz-header-h); background: var(--lz-gradient); color: white; display:flex; align-items:center; padding: 0 16px; z-index:990; box-shadow: 0 2px 12px rgba(30,64,175,.25); }
.header-content { display:flex; align-items:center; width:100%; justify-content:space-between; }
.header-left    { display:flex; align-items:center; gap:12px; }
.header-right   { display:flex; align-items:center; gap:8px; }
.header-title   { font-size:18px; font-weight:600; margin:0; flex:1; text-align:center; }
.header-btn     { width:40px; height:40px; border-radius:50%; background:transparent; border:none; color:white; font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.header-btn:hover { background:rgba(255,255,255,.15); }
.app-content    { margin-top: var(--lz-header-h); padding:16px; min-height:calc(100vh - var(--lz-header-h) - var(--lz-nav-h)); padding-bottom:calc(var(--lz-nav-h) + 16px); }

/* 底部导航 */
.bottom-nav     { position:fixed; bottom:0; left:0; right:0; height: var(--lz-nav-h); background: var(--lz-gradient); display:flex; z-index:990; box-shadow: 0 -4px 20px rgba(30,64,175,.2); overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch; }
.bottom-nav::-webkit-scrollbar { display:none; }
.nav-item       { flex:1 1 0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:rgba(255,255,255,.7); text-decoration:none; transition: color var(--lz-transition), background var(--lz-transition); font-size:10px; position:relative; padding:6px 4px; min-width:0; }
.nav-item i     { font-size:20px; }
.nav-item span  { font-size:10px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.nav-item:hover { color:white; background:rgba(255,255,255,.1); }
.nav-item.active { color:white; }
.nav-item.active::after { content:''; position:absolute; top:4px; width:4px; height:4px; border-radius:50%; background:white; }

/* 抽屉 */
.drawer-overlay { position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:1098; opacity:0; visibility:hidden; transition:opacity var(--lz-transition),visibility var(--lz-transition); }
.drawer-overlay.active { opacity:1; visibility:visible; }
.drawer         { position:fixed; top:0; left:-85%; width:85%; max-width:320px; height:100%; background:#0f172a; color:white; z-index:1099; transition:left var(--lz-transition); overflow-y:auto; box-shadow:4px 0 24px rgba(0,0,0,.35); }
.drawer.active  { left:0; }
.drawer-header  { padding:24px 20px 16px; border-bottom:1px solid rgba(255,255,255,.08); }
.drawer-user    { display:flex; align-items:center; gap:16px; padding:8px 0; }
.drawer-avatar  { width:56px; height:56px; border-radius:50%; background: var(--lz-gradient); display:flex; align-items:center; justify-content:center; font-size:24px; color:white; }
.drawer-user-info h3 { margin:0 0 4px; font-size:17px; font-weight:600; }
.drawer-user-info p  { margin:0; font-size:13px; color:rgba(255,255,255,.55); }
.drawer-menu    { padding:12px 0; }
.drawer-menu-item { display:flex; align-items:center; gap:14px; padding:14px 20px; color:rgba(255,255,255,.75); text-decoration:none; transition:background var(--lz-transition),color var(--lz-transition); }
.drawer-menu-item:hover { background:rgba(255,255,255,.08); color:white; }
.drawer-menu-item i    { width:22px; font-size:17px; }
.drawer-menu-item span { flex:1; font-size:15px; }
.drawer-divider { height:1px; background:rgba(255,255,255,.08); margin:6px 0; }

/* Toast / 加载 */
.toast          { position:fixed; bottom:calc(var(--lz-nav-h) + 24px); left:50%; transform:translateX(-50%) translateY(30px); background:rgba(15,23,42,.88); color:white; padding:10px 22px; border-radius: var(--lz-radius-pill); font-size:.875rem; z-index:9999; opacity:0; transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .3s; backdrop-filter:blur(8px); }
.toast.show     { transform:translateX(-50%) translateY(0); opacity:1; }
.toast.success  { background:rgba(16,185,129,.92); }
.toast.warning  { background:rgba(245,158,11,.92); }
.toast.error    { background:rgba(239,68,68,.92); }
.loading        { text-align:center; padding:2.5rem 1rem; color: var(--lz-text-muted); }
.spinner        { width:36px; height:36px; border:3px solid var(--lz-border); border-top-color: var(--lz-primary); border-radius:50%; animation:lz-spin .75s linear infinite; margin:0 auto 12px; }

/* 标签/状态 */
.tag            { display:inline-block; padding:4px 10px; border-radius: var(--lz-radius-pill); font-size:.75rem; font-weight:600; }
.tag-primary    { background: var(--lz-primary-light); color: var(--lz-primary-dark); }
.tag-success    { background:#d1fae5; color:#065f46; }
.tag-warning    { background:#fef3c7; color:#92400e; }
.tag-danger     { background:#fee2e2; color:#991b1b; }

/* 空状态 */
.empty-state    { text-align:center; padding:3rem 1.5rem; color: var(--lz-text-muted); }
.empty-state i  { font-size:3rem; display:block; margin-bottom:1rem; opacity:.4; }
.empty-state p  { margin:0; font-size:.9375rem; }

/* 网格 */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }

/* ============================================================
   24. 暗色模式准备
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --lz-body-bg:    #0f172a;
    --lz-card-bg:    #1e293b;
    --lz-text:       #f1f5f9;
    --lz-text-muted: #94a3b8;
    --lz-border:     #334155;
    --lz-primary-light: rgba(59,130,246,0.15);
  }
  body { color-scheme: dark; }
  .lz-drawer { background: #0d1526; }
  .lz-service-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
}

/* ============================================================
   25. 打印样式
   ============================================================ */
@media print {
  .lz-header,
  .lz-bottom-nav,
  .lz-drawer,
  .lz-drawer-overlay,
  .lz-fab,
  .app-header,
  .bottom-nav,
  .drawer,
  .drawer-overlay {
    display: none !important;
  }
  .lz-content,
  .app-content {
    margin-top: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    min-height: auto !important;
  }
  body { background: white; color: black; }
  .lz-card, .card { box-shadow: none; border: 1px solid #ccc; }
  a { color: black; text-decoration: none; }
}
