/* ============================================
   餐谋 Canmore v1.3 - APP端样式
   左侧侧边栏抽屉 + 对话主界面
   现代卡片式UI，温暖餐饮行业风格
   ============================================ */

/* ================================================
   Auth Screens (Login / Register)
   ================================================ */
.auth-screen{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  flex:1;padding:32px 24px 20px;animation:fadeIn 0.35s ease;
}
.auth-brand{text-align:center;margin-bottom:28px}
.auth-logo{
  width:72px;height:72px;border-radius:50%;
  background:linear-gradient(145deg,#FFFBEB,#FEF3C7);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;font-size:36px;
  box-shadow:0 4px 16px rgba(217,119,6,0.12);
  border:2px solid rgba(217,119,6,0.1);
}
.auth-title{font-size:24px;font-weight:700;color:#1E293B;letter-spacing:-0.02em}
.auth-tag{
  display:inline-block;font-size:11px;color:#D97706;background:#FEF3C7;
  padding:2px 8px;border-radius:9999px;font-weight:600;margin-left:4px;
  vertical-align:middle;
}
.auth-page-title{font-size:22px;font-weight:700;color:#1E293B}
.auth-subtitle{font-size:13px;color:#94A3B8;margin-top:6px}

.auth-form{width:100%;max-width:320px}
.auth-input-group{
  display:flex;align-items:center;gap:0;
  background:#F5F5F4;border-radius:14px;border:1.5px solid transparent;
  padding:0 14px;margin-bottom:12px;transition:all 0.2s ease;
}
.auth-input-group:focus-within{background:#fff;border-color:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,0.08)}
.auth-input-prefix{
  font-size:15px;font-weight:600;color:#64748B;
  padding-right:10px;border-right:1px solid #E7E5E4;margin-right:10px;
  flex-shrink:0;
}
.auth-input{
  flex:1;padding:14px 0;font-size:15px;color:#1E293B;
  background:transparent;border:none;outline:none;
  min-width:0;
}
.auth-input::placeholder{color:#A8A29E}
.auth-eye-btn{
  flex-shrink:0;color:#94A3B8;padding:4px;cursor:pointer;
  background:none;border:none;display:flex;align-items:center;
}
.auth-eye-btn:active{color:#D97706}

.auth-code-group .auth-input{flex:1}
.auth-code-btn{
  flex-shrink:0;font-size:13px;font-weight:600;color:#D97706;
  padding:8px 12px;border-radius:10px;background:#FEF3C7;
  cursor:pointer;white-space:nowrap;transition:all 0.15s ease;
}
.auth-code-btn:active{background:#FDE68A}
.auth-code-btn:disabled{color:#A8A29E;background:#F5F5F4;cursor:default}

.auth-forgot{text-align:right;margin:-4px 0 14px;font-size:12px}
.auth-forgot a{color:#D97706;font-weight:500}

.auth-btn{
  width:100%;padding:14px;border-radius:14px;font-size:16px;font-weight:600;
  cursor:pointer;transition:all 0.2s ease;display:flex;align-items:center;
  justify-content:center;gap:8px;border:none;
}
.auth-btn-primary{
  background:linear-gradient(135deg,#D97706,#F59E0B);color:#fff;
  box-shadow:0 4px 14px rgba(217,119,6,0.3);
}
.auth-btn-primary:active{transform:scale(0.98);box-shadow:0 2px 8px rgba(217,119,6,0.2)}
.auth-btn-wechat{
  background:#fff;color:#1E293B;border:1.5px solid #E7E5E4;
  margin-top:12px;
}
.auth-btn-wechat:active{background:#F5F5F4}

.auth-divider{
  display:flex;align-items:center;gap:12px;margin:16px 0 4px;
  color:#A8A29E;font-size:12px;
}
.auth-divider::before,.auth-divider::after{
  content:'';flex:1;height:1px;background:#E7E5E4;
}

.auth-footer{text-align:center;margin-top:24px;font-size:13px;color:#64748B}
.auth-footer a{color:#D97706;font-weight:600}
.auth-agreement{font-size:11px;color:#A8A29E;margin-top:12px}
.auth-agreement a{color:#94A3B8;font-weight:400}

/* ── Phone Frame ── */
.phone-wrapper{
  display:flex;align-items:center;justify-content:center;
  min-height:100vh;padding:20px;
}
.phone-frame{
  width:390px;height:844px;
  background:#FDFBF7;
  border-radius:40px;
  box-shadow:0 20px 60px rgba(0,0,0,0.18),0 0 0 2px #1a1a1a;
  overflow:hidden;display:flex;flex-direction:column;position:relative;
}

/* ── Status Bar ── */
.phone-status-bar{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 28px 4px;
  font-size:12px;font-weight:600;color:var(--text-primary);background:#FDFBF7;
}
.phone-status-bar .time{font-family:var(--font-number)}
.phone-status-bar .icons{display:flex;align-items:center;gap:6px}

/* ================================================
   Sidebar Overlay & Drawer
   ================================================ */
.sidebar-overlay{
  position:absolute;inset:0;background:rgba(30,41,59,0.4);z-index:90;
  opacity:0;pointer-events:none;transition:opacity 0.3s ease;
}
.sidebar-overlay.open{opacity:1;pointer-events:auto}

.app-sidebar{
  position:absolute;top:0;left:0;width:300px;height:100%;
  background:#FDFBF7;z-index:100;
  transform:translateX(-100%);transition:transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display:flex;flex-direction:column;box-shadow:8px 0 30px rgba(0,0,0,0.12);
  border-radius:0;
}
.app-sidebar.open{transform:translateX(0)}

/* Sidebar Head */
.sidebar-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:28px 16px 16px;border-bottom:1px solid #E7E5E4;
  flex-shrink:0;
}
.sidebar-head-title{font-size:17px;font-weight:700;color:#1E293B}
.sidebar-close-btn{
  width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;color:#64748B;cursor:pointer;flex-shrink:0;
}
.sidebar-close-btn:active{background:#F0EFEE}

/* Sidebar Body */
.sidebar-body{flex:1;overflow-y:auto;padding:8px 0}

/* Sidebar Footer */
.sidebar-footer{
  padding:12px 14px;border-top:1px solid #E7E5E4;
  flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.sidebar-user{display:flex;align-items:center;gap:10px;cursor:pointer;flex:1;min-width:0}
.sidebar-user:active{opacity:0.7}
.sidebar-user-info{min-width:0}
.sidebar-avatar{
  width:40px;height:40px;border-radius:50%;
  background:linear-gradient(135deg,#D97706,#F59E0B);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:700;flex-shrink:0;
  box-shadow:0 2px 8px rgba(217,119,6,0.25);
}
.sidebar-user-name{font-size:14px;font-weight:600;color:#1E293B}
.sidebar-user-bio{font-size:11px;color:#94A3B8;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Footer Action Buttons */
.sidebar-footer-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.footer-action-btn{
  position:relative;width:36px;height:36px;border-radius:50%;
  background:#F5F5F4;display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all 0.15s ease;
}
.footer-action-btn:active{background:#E7E5E4}
.footer-action-icon{font-size:16px;line-height:1}
.footer-badge{
  position:absolute;top:-2px;right:-2px;
  min-width:16px;height:16px;border-radius:9999px;
  background:#EF4444;color:#fff;font-size:10px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  padding:0 4px;line-height:1;
}

/* Sidebar Sections */
.sidebar-section{padding:4px 0;border-bottom:1px solid #F5F5F4}
.sidebar-section:last-of-type{border-bottom:none}
.sidebar-section-title{
  font-size:10px;font-weight:600;color:#94A3B8;text-transform:uppercase;
  letter-spacing:0.06em;padding:12px 16px 6px;
}

/* Sidebar Search */
.sidebar-search{
  display:flex;align-items:center;gap:8px;padding:7px 12px;margin:2px 14px 6px;
  background:#F5F5F4;border-radius:10px;
}
.sidebar-search input{flex:1;font-size:13px;background:transparent}
.sidebar-search input::placeholder{color:#A8A29E}
.sidebar-search svg{color:#A8A29E;flex-shrink:0}

/* Sidebar Session Items */
.sidebar-sessions{padding:0 6px}
.session-row{
  padding:10px 14px;border-radius:10px;cursor:pointer;transition:background 0.15s ease;
  margin:0 6px 2px;
}
.session-row:active{background:#F0EFEE}
.session-row .sess-title{font-size:13px;font-weight:600;color:#1E293B;margin-bottom:2px}
.session-row .sess-meta{font-size:10px;color:#94A3B8;display:flex;gap:8px;align-items:center}

/* Sidebar App Items */
.sidebar-app-item{
  display:flex;align-items:center;gap:10px;padding:11px 16px;cursor:pointer;
  transition:background 0.15s ease;
}
.sidebar-app-item:active{background:#F0EFEE}
.sidebar-app-item.disabled{opacity:0.45;pointer-events:none}
.sidebar-app-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.sidebar-app-item > div{flex:1;min-width:0}
.sidebar-app-name{font-size:14px;font-weight:600;color:#1E293B}
.sidebar-app-desc{font-size:11px;color:#94A3B8;margin-top:1px}
.sidebar-app-arrow{color:#D6D3D1;font-size:18px;margin-left:auto}

/* Sidebar Menu Items */
.sidebar-menu-item{
  display:flex;align-items:center;gap:10px;padding:13px 16px;cursor:pointer;
  transition:background 0.15s ease;
}
.sidebar-menu-item:active{background:#F0EFEE}
.sidebar-menu-icon{font-size:18px;width:24px;text-align:center;flex-shrink:0}
.sidebar-menu-label{font-size:14px;color:#1E293B;flex:1}
.sidebar-menu-value{font-size:11px;color:#94A3B8;margin-right:2px}
.sidebar-menu-arrow{color:#D6D3D1;font-size:18px}

/* ================================================
   Shell containers
   ================================================ */
#appShell{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}

/* ── App Header ── */
.app-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:4px 14px 6px;background:#FDFBF7;flex-shrink:0;
}
.menu-btn{
  width:38px;height:38px;border-radius:50%;background:transparent;
  display:flex;align-items:center;justify-content:center;
  color:#1E293B;transition:all 0.2s ease;
}
.menu-btn:active{background:#F5F5F4;transform:scale(0.96)}
.app-header .brand{display:flex;align-items:center;gap:6px}
.app-header .brand-name{font-size:17px;font-weight:700;color:#1E293B;letter-spacing:-0.01em}
.app-header .brand-tag{
  font-size:10px;color:#D97706;background:#FEF3C7;
  padding:2px 7px;border-radius:9999px;font-weight:600;
}
.header-actions{display:flex;gap:2px}
.header-actions .btn-icon{
  width:38px;height:38px;border-radius:50%;background:transparent;
  display:flex;align-items:center;justify-content:center;
  color:#94A3B8;
}

/* ── Sub-page header ── */
.sub-header{
  display:flex;align-items:center;gap:10px;
  padding:6px 4px 6px 8px;background:#FDFBF7;flex-shrink:0;
}
.sub-header .back-btn{
  width:36px;height:36px;border-radius:50%;background:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;color:#1E293B;cursor:pointer;
  box-shadow:0 1px 3px rgba(0,0,0,0.06);
}
.sub-header .back-btn:active{background:#F5F5F4}
.sub-header .sub-title{font-size:17px;font-weight:700;flex:1;color:#1E293B}

/* ── App Body ── */
.app-body{flex:1;overflow:hidden;display:flex;flex-direction:column}

/* ── Screens ── */
.app-screen{display:none;flex-direction:column;flex:1;overflow:hidden}
.app-screen.active{display:flex;animation:fadeIn 0.25s ease}

/* ================================================
   Chat
   ================================================ */
.chat-view{
  flex:1;overflow-y:auto;padding:0 18px 4px;
  display:flex;flex-direction:column;gap:12px;background:#FDFBF7;
}

/* Welcome */
.welcome-card{
  text-align:center;padding:48px 8px 8px;
}
.welcome-card .welcome-icon{
  width:72px;height:72px;border-radius:50%;
  background:linear-gradient(145deg,#FFFBEB,#FEF3C7);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 18px;font-size:36px;
  box-shadow:0 4px 16px rgba(217,119,6,0.12);
  border:2px solid rgba(217,119,6,0.1);
}
.welcome-card h2{
  font-size:22px;font-weight:700;color:#1E293B;letter-spacing:-0.02em;
}
.welcome-card .welcome-subtitle{
  font-size:14px;color:#94A3B8;margin-top:8px;line-height:1.5;padding:0 24px;
}

/* Quick commands — 2×2 card grid */
.quick-commands-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:10px;padding:20px 4px 8px;flex-shrink:0;
}
.quick-cmd-card{
  display:flex;align-items:flex-start;gap:10px;
  padding:14px;border-radius:14px;
  background:#fff;border:1px solid #F0EFEE;
  text-align:left;cursor:pointer;
  transition:all 0.2s ease;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
}
.quick-cmd-card:active{
  border-color:#F59E0B;background:#FFFBEB;
  box-shadow:0 2px 8px rgba(217,119,6,0.12);
}
.qc-icon{
  font-size:22px;flex-shrink:0;width:28px;height:28px;
  display:flex;align-items:center;justify-content:center;
  margin-top:1px;
}
.qc-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.qc-title{font-size:13px;font-weight:600;color:#1E293B;line-height:1.3}
.qc-desc{font-size:11px;color:#94A3B8;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Chat Bubbles */
.chat-bubble{display:flex;gap:8px;max-width:88%;animation:fadeIn 0.3s ease}
.bubble-user{flex-direction:row-reverse;align-self:flex-end}
.bubble-ai{align-self:flex-start}
.bubble-avatar{
  width:36px;height:36px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;
}
.bubble-ai .bubble-avatar{
  background:linear-gradient(135deg,#D97706,#F59E0B);color:#fff;
  box-shadow:0 2px 6px rgba(217,119,6,0.2);
}
.bubble-user .bubble-avatar{
  background:#E7E5E4;color:#64748B;font-size:15px;
}
.bubble-body{display:flex;flex-direction:column;gap:4px}
.bubble-content{
  padding:12px 16px;border-radius:18px;
  font-size:15px;line-height:1.65;word-break:break-word;
}
.bubble-ai .bubble-content{
  background:#fff;border-top-left-radius:6px;color:#1E293B;
  box-shadow:0 1px 3px rgba(0,0,0,0.06);
}
.bubble-user .bubble-content{
  background:linear-gradient(135deg,#D97706,#E5970B);color:#fff;
  border-top-right-radius:6px;
}
.bubble-actions{display:flex;gap:2px;padding-left:4px}
.bubble-actions .btn{font-size:11px;padding:4px 8px;color:#94A3B8}

/* Typing */
.typing-dots{display:flex;gap:5px;padding:6px 0}
.typing-dots span{
  width:7px;height:7px;border-radius:50%;
  background:#D6D3D1;animation:pulse 1.2s ease infinite;
}
.typing-dots span:nth-child(2){animation-delay:0.2s}
.typing-dots span:nth-child(3){animation-delay:0.4s}

/* Upload preview */
.upload-preview{
  margin:8px 0;padding:10px 14px;border-radius:12px;
  background:#FEF3C7;display:flex;align-items:center;gap:10px;
  font-size:13px;color:#1E293B;border:1px dashed #FCD34D;
}

/* Bottom Input Bar */
.app-bottom-bar{
  padding:10px 14px 24px;background:#FDFBF7;
  display:flex;align-items:center;gap:8px;flex-shrink:0;
}
.btn-voice{
  width:42px;height:42px;border-radius:50%;
  background:#fff;display:flex;align-items:center;justify-content:center;
  flex-shrink:0;font-size:20px;color:#94A3B8;
  box-shadow:0 1px 2px rgba(0,0,0,0.04);transition:all 0.2s ease;
  border:1px solid #F0EFEE;
}
.btn-voice:active,.btn-voice.recording{background:#D97706;color:#fff;border-color:#D97706}
.btn-voice.recording{animation:pulse 1.2s ease infinite}
.chat-input-wrap{
  flex:1;display:flex;align-items:center;
  background:#F5F5F4;border-radius:22px;border:1.5px solid transparent;
  padding:4px 16px;transition:all 0.2s ease;
}
.chat-input-wrap:focus-within{background:#fff;border-color:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,0.08)}
.chat-input-wrap textarea{
  flex:1;resize:none;font-size:15px;line-height:1.4;
  max-height:100px;padding:9px 0;background:transparent;
}
.chat-input-wrap textarea::placeholder{color:#A8A29E}

/* Attach & Send Buttons (outside input wrap) */
.btn-attach{
  width:42px;height:42px;border-radius:50%;
  background:#fff;display:flex;align-items:center;justify-content:center;
  flex-shrink:0;color:#94A3B8;
  transition:all 0.2s ease;border:1px solid #F0EFEE;
}
.btn-attach:active{background:#FEF3C7;border-color:#F59E0B;color:#D97706}
.btn-send{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(135deg,#D97706,#F59E0B);color:#fff;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;box-shadow:0 2px 8px rgba(217,119,6,0.25);transition:all 0.2s ease;
}
.btn-send:active{transform:scale(0.94)}
.btn-send:disabled{background:#D6D3D1;box-shadow:none;cursor:default}

/* Attach Action Sheet */
.attach-overlay{
  position:absolute;inset:0;background:rgba(30,41,59,0.4);z-index:110;
  opacity:0;pointer-events:none;transition:opacity 0.3s ease;
}
.attach-overlay.open{opacity:1;pointer-events:auto}
.attach-sheet{
  position:absolute;bottom:0;left:0;right:0;
  background:#fff;z-index:111;border-radius:20px 20px 0 0;
  transform:translateY(100%);transition:transform 0.3s cubic-bezier(0.4,0,0.2,1);
  padding:0 16px 32px;box-shadow:0 -4px 20px rgba(0,0,0,0.1);
}
.attach-sheet.open{transform:translateY(0)}
.attach-sheet-handle{
  width:36px;height:4px;border-radius:2px;background:#D6D3D1;
  margin:12px auto 16px;
}
.attach-sheet-title{font-size:15px;font-weight:600;color:#1E293B;text-align:center;margin-bottom:16px}
.attach-option{
  display:flex;align-items:center;gap:14px;
  width:100%;padding:15px 16px;border-radius:14px;
  background:#FDFBF7;margin-bottom:8px;cursor:pointer;transition:all 0.15s ease;
  font-size:15px;color:#1E293B;font-weight:500;
}
.attach-option:active{background:#F5F5F4}
.attach-option-icon{font-size:24px;width:32px;text-align:center;flex-shrink:0}
.attach-option-label{flex:1;text-align:left}
.attach-cancel{
  width:100%;padding:14px;border-radius:14px;
  background:#F5F5F4;color:#64748B;font-size:15px;font-weight:600;
  cursor:pointer;margin-top:8px;transition:all 0.15s ease;
}
.attach-cancel:active{background:#E7E5E4}
.privacy-note{
  text-align:center;font-size:10px;color:#C4C1BD;padding:2px 12px 0;flex-shrink:0;
  letter-spacing:0.01em;background:#FDFBF7;
}

/* ================================================
   Health Check (Sub-page)
   ================================================ */
.health-screen{overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}
.health-form{
  background:#fff;border-radius:18px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,0.04);
}
.health-form .form-group{margin-bottom:16px}
.health-form .form-group:last-child{margin-bottom:0}
.health-form label{display:block;font-size:13px;font-weight:600;color:#1E293B;margin-bottom:8px}
.health-form .input,.health-form select{
  width:100%;padding:12px 14px;border-radius:12px;
  background:#F5F5F4;border:1px solid transparent;
  font-size:15px;color:#1E293B;transition:all 0.2s ease;
}
.health-form .input:focus,.health-form select:focus{
  background:#fff;border-color:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,0.08);
}
.health-form .cost-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}

/* Health Report Card */
.health-report-card{
  background:#fff;border-radius:20px;box-shadow:0 4px 20px rgba(0,0,0,0.06);overflow:hidden;
}
.report-header{
  text-align:center;padding:32px 20px 20px;
  background:linear-gradient(180deg,#FFFBEB 0%,#fff 100%);
}
.report-header h3{font-size:17px;font-weight:700;margin-bottom:16px}
.gauge-wrap{position:relative;width:150px;height:150px;margin:0 auto 14px}
.gauge-ring{transform:rotate(-90deg)}
.gauge-ring .bg{fill:none;stroke:#E7E5E4;stroke-width:8}
.gauge-ring .val{fill:none;stroke-width:8;stroke-linecap:round;transition:stroke-dashoffset 1s ease}
.gauge-score{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}
.gauge-score .score-num{font-family:var(--font-number);font-size:44px;font-weight:700;line-height:1}
.gauge-score .score-label{font-size:12px;color:#64748B;margin-top:4px}

.report-indicators{padding:16px 20px}
.report-indicators .indicator-section-title{
  font-size:12px;font-weight:600;color:#64748B;margin-bottom:10px;
}
.indicator-row{
  display:flex;align-items:center;padding:13px 16px;
  border-radius:14px;background:#FDFBF7;margin-bottom:8px;gap:12px;
}
.indicator-row .ind-icon{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.indicator-row .ind-name{flex:1;font-size:14px;font-weight:500}
.indicator-row .ind-data{text-align:right}
.indicator-row .ind-actual{font-family:var(--font-number);font-size:17px;font-weight:700}
.indicator-row .ind-bench{font-size:11px;color:#94A3B8;margin-top:1px}

.report-prescription{padding:20px;background:#FFFBEB}
.report-prescription .rx-title{
  display:flex;align-items:center;gap:10px;
  font-size:15px;font-weight:700;color:#92400E;margin-bottom:14px;
}
.rx-badge{
  width:28px;height:28px;border-radius:8px;
  background:linear-gradient(135deg,#D97706,#F59E0B);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;
}
.rx-item{
  font-size:14px;color:#1E293B;
  padding:10px 0 10px 12px;border-left:3px solid #F59E0B;
  margin-bottom:10px;line-height:1.6;background:rgba(255,255,255,0.6);
  border-radius:0 10px 10px 0;
}
.rx-item:last-child{margin-bottom:0}

/* ================================================
   Sub-page: 消息通知
   ================================================ */
.notifications-screen{overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}
.notif-card{
  background:#fff;border-radius:16px;padding:16px;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);cursor:pointer;
  transition:all 0.15s ease;
}
.notif-card:active{background:#FDFBF7}
.notif-card.unread{border-left:3px solid #D97706}
.notif-header{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.notif-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.notif-title{font-size:15px;font-weight:600;color:#1E293B;flex:1}
.notif-time{font-size:11px;color:#94A3B8;flex-shrink:0}
.notif-desc{font-size:13px;color:#64748B;line-height:1.5;padding-left:18px}

/* ================================================
   Sub-page: 记忆空间
   ================================================ */
.memory-screen{overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}
.memory-card{
  background:#fff;border-radius:16px;padding:14px 16px;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
}
.memory-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.memory-date{font-size:11px;color:#94A3B8;flex:1}
.memory-delete{font-size:16px;cursor:pointer;opacity:0.5;transition:opacity 0.15s ease}
.memory-delete:active{opacity:1}
.memory-content{font-size:14px;color:#1E293B;line-height:1.6}

/* ================================================
   Sub-page: 设置
   ================================================ */
.settings-screen{overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:2px;flex:1;min-height:0}
.settings-card{
  background:#fff;border-radius:18px;overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);margin-bottom:14px;
}
.settings-card .card-section-label{
  font-size:11px;font-weight:600;color:#94A3B8;text-transform:uppercase;
  letter-spacing:0.06em;padding:14px 16px 6px;
}
.setting-item{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;cursor:pointer;transition:background 0.15s ease;
  border-bottom:1px solid #F5F5F4;
}
.setting-item:last-child{border-bottom:none}
.setting-item:active{background:#FDFBF7}
.setting-item .si-label{font-size:15px;color:#1E293B}
.setting-item .si-value{font-size:13px;color:#94A3B8}
.setting-item .si-arrow{color:#D6D3D1;margin-left:8px;font-size:16px}

