/* ============================================================
   大树小树成长记录 · V1.13 主题样式
   10 种水果/蔬菜主题色（左上白→右下主题色渐变，边框保持深色）：
   1 🍇 葡萄 #8B7CE6 / 深 #6B5BC9   2 🥕 胡萝卜 #F28C38 / 深 #D9731F
   3 🍓 草莓 #E5534B / 深 #C7413A   4 🥑 牛油果 #6FB861 / 深 #55994A
   5 🫐 蓝莓 #5B93C4 / 深 #3E73A6   6 🍉 西瓜 #E07B86 / 深 #C95A66
   7 🥬 菠菜 #4E8A3A / 深 #3A6B2B   8 🍑 蜜桃 #F7A8B0 / 深 #E58A94
   9 🥦 西兰花 #6FA844 / 深 #568532  10 🍋 柠檬 #E8C24E / 深 #D0A83A
   当前宝宝：小树=葡萄紫 / 大树=胡萝卜橙
   ============================================================ */

/* ========== CSS 变量 ========== */
:root {
  --xs: #8B7CE6; --xs-soft: #EFECFC; --xs-deep: #6B5BC9;
  --ds: #F28C38; --ds-soft: #FDF0E3; --ds-deep: #D9731F;

  --accent: #6FB861; --accent-soft: #EAF5E4; --accent-deep: #55994A; --on-accent: #FFFFFF;

  --color-bg: #FAF7F2;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F5F1EA;
  --color-text: #2E2A26;
  --color-text-muted: #8A8178;
  --color-border: #EFE9E0;
  --color-border-strong: #DDD4C8;
  --color-success: #5BA876; --color-success-soft: #E8F4EC;
  --color-warning: #E8A33D; --color-warning-soft: #FCF2DF;
  --color-danger: #E05F54;  --color-danger-soft: #FCEBE9;
  --color-info: #5B93C4;    --color-info-soft: #E9F1F8;

  --radius-lg: 22px; --radius-md: 16px; --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(60,44,20,.06);
  --shadow-md: 0 8px 24px rgba(60,44,20,.10);
  --font-body: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;
}
html[data-theme="xiaoshu"] {
  --accent:#8B7CE6; --accent-soft:#EFECFC; --accent-deep:#6B5BC9;
}
html[data-theme="dashu"] {
  --accent:#F28C38; --accent-soft:#FDF0E3; --accent-deep:#D9731F;
}

/* ========== 基础 ========== */
* { box-sizing:border-box; margin:0; padding:0; }
html, body { margin:0; padding:0; }
body {
  font-family:var(--font-body); background:var(--color-bg); color:var(--color-text);
  line-height:1.55; -webkit-font-smoothing:antialiased; transition:background .3s;
}
a { color:inherit; text-decoration:none; }
button { font-family:inherit; cursor:pointer; }

.phone {
  max-width:430px; margin:0 auto; min-height:100vh; background:var(--color-bg);
  position:relative; padding-bottom:88px; box-shadow:0 0 40px rgba(0,0,0,.06);
}

/* ========== 状态栏 ========== */
.status-bar {
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 22px 6px; font-size:.82rem; font-weight:600;
}
.status-icons { display:flex; gap:6px; align-items:center; }

/* ========== 顶部导航栏 ========== */
.app-bar {
  display:flex; align-items:center; justify-content:space-between; padding:8px 16px 12px;
  gap:10px; position:relative;
}
.app-bar .back {
  width:38px; height:38px; border-radius:50%; background:var(--color-surface);
  box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; flex:0 0 38px; color:var(--color-text);
}
.app-bar h1 { font-size:1.1rem; margin:0; font-weight:700; flex:1; text-align:center; }
.app-bar h1.abs-center {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  flex:0 0 auto; width:auto; max-width:56%; white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis; pointer-events:none;
}
.app-bar .recorder {
  font-size:.75rem; color:var(--color-text-muted); background:var(--color-surface);
  border-radius:999px; padding:6px 12px; box-shadow:var(--shadow-sm); white-space:nowrap;
}
.app-bar .header-spacer { width:38px; flex:0 0 38px; }
.app-bar .header-actions { display:flex; align-items:center; gap:8px; }
.app-bar .header-actions .month-label { font-weight:700; font-size:.9rem; }
.app-bar .icon-btn {
  width:32px; height:32px; border-radius:50%; border:none; background:var(--color-surface);
  font-size:1rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-sm); color:var(--color-text);
}
.app-bar-center { justify-content:center; }
.app-bar-center .header-actions-center { margin:auto; }

/* ========== 主内容区 ========== */
.content { padding:8px 16px 24px; display:flex; flex-direction:column; gap:14px; }

.card {
  background:var(--color-surface); border-radius:var(--radius-lg); padding:18px;
  box-shadow:var(--shadow-sm);
}
.card-title {
  margin:0 0 12px; font-size:1rem; font-weight:700; display:flex;
  align-items:center; justify-content:space-between;
}
.card-title .more { font-size:.8rem; color:var(--accent-deep); font-weight:500; }

/* ========== 双宝切换卡片（首页） ========== */
.baby-switch { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:16px 16px 8px; }
.baby-card {
  border-radius:var(--radius-lg); padding:16px 14px; display:flex; align-items:center;
  gap:12px; border:2px solid transparent; background:var(--color-surface); box-shadow:var(--shadow-sm);
  transition:all .25s; cursor:pointer;
}
.baby-card .avatar {
  width:46px; height:46px; border-radius:50%; flex:0 0 46px; display:flex;
  align-items:center; justify-content:center; font-size:1.5rem; background:var(--color-surface-alt);
}
.baby-card .b-name { font-weight:700; font-size:1.02rem; }
.baby-card .b-sub { font-size:.75rem; color:var(--color-text-muted); }
.baby-card.theme-xiaoshu.active {
  background:linear-gradient(135deg,#FFFFFF,var(--xs)); border-color:var(--xs-deep); color:var(--xs-deep);
}
.baby-card.theme-dashu.active {
  background:linear-gradient(135deg,#FFFFFF,var(--ds)); border-color:var(--ds-deep); color:var(--ds-deep);
}
.baby-card.active .b-sub { color:rgba(0,0,0,.5); }
.baby-card.active .avatar { background:rgba(255,255,255,.8); }

/* ========== 宝贝切换药丸（表单页） ========== */
.baby-pills { display:flex; gap:10px; margin-bottom:4px; }
.baby-pill {
  flex:1; display:flex; align-items:center; justify-content:center; gap:6px;
  padding:10px 8px; border-radius:999px; font-weight:600; font-size:.92rem;
  background:var(--color-surface); border:2px solid var(--color-border);
  box-shadow:var(--shadow-sm); cursor:pointer; transition:all .25s;
}
.baby-pill.theme-xiaoshu.active { background:linear-gradient(135deg,#FFFFFF,var(--xs)); border-color:var(--xs-deep); color:var(--xs-deep); }
.baby-pill.theme-dashu.active { background:linear-gradient(135deg,#FFFFFF,var(--ds)); border-color:var(--ds-deep); color:var(--ds-deep); }

/* ========== 今日摘要（首页） ========== */
.today-summary {
  margin:0 16px; background:var(--color-surface); border-radius:var(--radius-lg);
  padding:16px; box-shadow:var(--shadow-sm);
}
.ts-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.ts-title { font-size:.92rem; font-weight:700; }
.ts-recorder { font-size:.78rem; color:var(--accent-deep); font-weight:600; }
.ts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.ts-item {
  background:var(--color-surface-alt); border-radius:var(--radius-md);
  padding:12px 8px; text-align:center;
}
.ts-val { font-size:1.5rem; font-weight:800; display:block; line-height:1.1; }
.ts-unit { font-size:.7rem; font-weight:500; color:var(--color-text-muted); margin-left:2px; }
.ts-label { font-size:.72rem; color:var(--color-text-muted); margin-top:4px; display:block; }



/* ========== 宝宝摘要卡片（V1.11） ========== */
.summary-wrap {
  margin:0 16px; display:flex; flex-direction:column; gap:12px;
  position:relative; overflow:hidden;
}
.baby-summary-card {
  background:var(--color-surface); border-radius:var(--radius-lg);
  padding:14px 16px; box-shadow:var(--shadow-sm);
  transition:all .35s cubic-bezier(.4,0,.2,1);
  transform-origin:center top;
}
.baby-summary-card.theme-xiaoshu { border-left:4px solid var(--xs); }
.baby-summary-card.theme-dashu { border-left:4px solid var(--ds); }
.bsc-header { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.bsc-avatar { font-size:1.3rem; }
.bsc-name { font-size:.9rem; font-weight:700; }
.bsc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.bsc-item {
  background:var(--color-surface-alt); border-radius:var(--radius-md);
  padding:10px 6px; text-align:center;
}
.bsc-val { font-size:1.3rem; font-weight:800; display:block; line-height:1.1; }
.bsc-unit { font-size:.65rem; font-weight:500; color:var(--color-text-muted); margin-left:2px; }
.bsc-label { font-size:.7rem; color:var(--color-text-muted); margin-top:3px; display:block; }
.bsc-yesterday {
  display:block; font-size:.62rem; color:var(--color-text-hint);
  margin-top:2px; opacity:.8;
}

/* 焦点态滑动动画 */
body[data-focus="xs"] #summary-dashu {
  opacity:0; transform:translateX(30px) scale(.95); pointer-events:none;
  max-height:0; margin:0; padding:0 16px; overflow:hidden;
}
body[data-focus="xs"] #summary-xiaoshu {
  opacity:1; transform:translateX(0) scale(1);
}
body[data-focus="ds"] #summary-xiaoshu {
  opacity:0; transform:translateX(-30px) scale(.95); pointer-events:none;
  max-height:0; margin:0; padding:0 16px; overflow:hidden;
}
body[data-focus="ds"] #summary-dashu {
  opacity:1; transform:translateX(0) scale(1);
}
body[data-focus="none"] .baby-summary-card {
  opacity:1; transform:translateX(0) scale(1);
}

/* 已记录徽章 */
.record-badge {
  display:inline-flex; align-items:center; gap:4px; background:var(--color-success);
  color:#fff; font-size:.75rem; font-weight:700; padding:4px 12px; border-radius:999px;
}

/* ========== 参考入口 ========== */
.ref-entry {
  margin:12px 16px 0; background:var(--color-surface); border-radius:var(--radius-lg);
  padding:16px; box-shadow:var(--shadow-sm); display:flex; align-items:center; gap:12px;
}
.re-icon { font-size:1.6rem; flex:0 0 32px; text-align:center; }
.ref-entry strong { font-size:.95rem; }
.ref-entry p { font-size:.78rem; color:var(--color-text-muted); margin:2px 0 0; }
.re-arrow { margin-left:auto; font-size:1.2rem; color:var(--color-text-muted); }

/* ========== 统计网格 ========== */
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.stat {
  background:var(--color-surface-alt); border-radius:var(--radius-md);
  padding:12px 6px; text-align:center;
}
.stat .s-icon { font-size:1.3rem; }
.stat .s-num { font-weight:700; font-size:1.05rem; margin-top:2px; }
.stat .s-label { font-size:.7rem; color:var(--color-text-muted); }

/* ========== 快捷按钮网格 ========== */
.quick-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.quick-btn {
  background:var(--color-surface-alt); border-radius:var(--radius-md); padding:16px 4px;
  text-align:center; font-size:.78rem; font-weight:600; border:none; cursor:pointer;
  color:var(--color-text); display:flex; flex-direction:column; align-items:center;
  gap:6px; transition:transform .15s, background .2s;
}
.quick-btn .q-icon { font-size:1.6rem; }
.quick-btn:active { transform:scale(.94); background:var(--accent-soft); }

/* ========== 双宝对照时间轴（可独立滑动） ========== */
.tl-header { display:flex; align-items:center; justify-content:space-between; }
.tl-header .card-title { margin:0; }
.tl-more { font-size:.82rem; color:var(--accent-deep); font-weight:600; }
.tl-date { font-size:.8rem; color:var(--color-text-muted); margin:4px 0 8px; }

.tl3-scroll {
  margin:0 -16px 4px; max-height:62vh; overflow-y:auto; overflow-x:hidden;
  -webkit-overflow-scrolling:touch; overscroll-behavior:contain;
  padding:2px 16px 10px; scrollbar-width:thin;
}
.tl3-scroll::-webkit-scrollbar { width:4px; }
.tl3-scroll::-webkit-scrollbar-thumb { background:var(--color-border); border-radius:2px; }
.tl3 { display:flex; align-items:stretch; position:relative; min-height:1080px; }
.tl3-col { position:relative; transition:flex .32s ease; min-width:0; }

/* ===== 默认（双宝对照）：三列居中，天气中轴 ===== */
body[data-focus="none"] .tl3-col { flex:1; }
body[data-focus="none"] .tl3-axis { flex:0 0 88px; width:88px; }

.tl3-axis { position:relative; }
.ax-bar {
  position:absolute; top:10px; bottom:10px; left:50%; transform:translateX(-50%);
  width:56px; border-radius:28px; background:var(--accent-soft);
  border:1.5px solid var(--color-border); transition:all .3s;
}
body[data-focus="ds"] .tl3-axis, body[data-focus="xs"] .tl3-axis { display:none; }

.ax-item {
  position:absolute; left:50%; transform:translateX(-50%); display:flex;
  flex-direction:column; align-items:center; gap:2px; white-space:nowrap; z-index:2;
}
.ax-time {
  font-size:.64rem; font-weight:800; color:var(--color-text);
  background:var(--color-surface); padding:1px 5px; border-radius:6px;
}
.ax-emoji { font-size:1rem; line-height:1; }
.ax-svg { width:20px; height:20px; }
.ax-txt {
  font-size:.58rem; color:var(--color-text-muted); background:var(--color-surface);
  padding:1px 5px; border-radius:6px; box-shadow:var(--shadow-sm);
}
.ax-item.hot .ax-txt { color:var(--ds-deep); font-weight:700; }
.ax-item.cold .ax-txt { color:var(--color-info); font-weight:700; }

/* 事件（对照态：绝对定位在时间刻度上） */
.tl3-ev { position:absolute; display:flex; align-items:center; gap:6px; width:100%; }
.tl3-xs .tl3-ev { right:0; flex-direction:row-reverse; }
.tl3-ds .tl3-ev { left:0; }
.ev-dot {
  width:32px; height:32px; flex:0 0 32px; border-radius:50%; background:var(--color-surface);
  box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center;
  font-size:.92rem; z-index:3;
}
.tl3-xs .ev-dot { border:2px solid var(--xs); }
.tl3-ds .ev-dot { border:2px solid var(--ds); }
.ev-card {
  display:none; background:var(--color-surface); border-radius:var(--radius-sm);
  box-shadow:var(--shadow-sm); padding:8px 11px; font-size:.76rem;
  max-width:210px; min-width:0; text-align:left;
  flex-wrap:wrap; align-items:center; gap:3px 7px;
}
.tl3-xs .ev-card { border-right:3px solid var(--xs); }
.tl3-ds .ev-card { border-left:3px solid var(--ds); }
.ev-card .ev-time { font-size:.66rem; color:var(--color-text-muted); font-weight:700; }
.ev-card .ev-title { font-weight:700; font-size:.8rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:1; }
.ev-card .recorder-tag { margin-left:auto; }
/* 焦点态缩略时间：对照态隐藏 */
.mini-time { display:none; }

/* 睡眠虚线（仅对照态） */
.tl3-sleep { position:absolute; width:0; border-left:2px dashed; z-index:1; }
.tl3-xs .tl3-sleep { right:21px; border-color:var(--xs); }
.tl3-ds .tl3-sleep { left:21px; border-color:var(--ds); }
.sleep-len {
  position:absolute; z-index:4; background:var(--color-surface);
  font-size:.6rem; font-weight:700; padding:1px 6px; border-radius:6px;
  box-shadow:var(--shadow-sm); white-space:nowrap; transform:translateX(-50%);
}
.tl3-xs .sleep-len { right:21px; color:var(--xs-deep); }
.tl3-ds .sleep-len { left:21px; color:var(--ds-deep); }

/* ===== 焦点态：流式布局，不堆叠 ===== */
/* 点大树：小树缩略(1)左，大树展开(3)右；粗实线贴大树列左缘 */
body[data-focus="ds"] .tl3-col.tl3-xs { flex:1; order:1; min-width:0; }
body[data-focus="ds"] .tl3-col.tl3-ds { flex:3; order:2; min-width:0; border-left:6px solid var(--accent); }
/* 点小树：小树展开(3)左，大树缩略(1)右；粗实线贴小树列右缘 */
body[data-focus="xs"] .tl3-col.tl3-xs { flex:3; order:1; min-width:0; border-right:6px solid var(--accent); }
body[data-focus="xs"] .tl3-col.tl3-ds { flex:1; order:2; min-width:0; }

body[data-focus="ds"] .tl3, body[data-focus="xs"] .tl3 { min-height:0; align-items:flex-start; }
body[data-focus="ds"] .tl3-col, body[data-focus="xs"] .tl3-col {
  display:flex; flex-direction:column; padding:10px 6px; gap:12px;
}
/* 焦点态事件改流式，忽略内联 top */
body[data-focus="ds"] .tl3-ev, body[data-focus="xs"] .tl3-ev {
  position:static; width:100%; gap:8px; align-items:center;
}
/* 焦点态睡眠虚线/时长隐藏（时长已写入起床卡片标题） */
body[data-focus="ds"] .tl3-sleep, body[data-focus="xs"] .tl3-sleep,
body[data-focus="ds"] .sleep-len, body[data-focus="xs"] .sleep-len { display:none; }

/* 展开列：卡片单行显示 */
body[data-focus="ds"] .tl3-ds .ev-card,
body[data-focus="xs"] .tl3-xs .ev-card { display:flex; flex:1; max-width:none; }
/* 缩略列：隐藏卡片，圆点可点切换 */
body[data-focus="ds"] .tl3-xs .ev-card,
body[data-focus="xs"] .tl3-ds .ev-card { display:none; }
body[data-focus="ds"] .tl3-xs .tl3-ev,
body[data-focus="xs"] .tl3-ds .tl3-ev { cursor:pointer; }
body[data-focus="ds"] .tl3-xs .tl3-ev:active .ev-dot,
body[data-focus="xs"] .tl3-ds .tl3-ev:active .ev-dot { transform:scale(1.12); }

/* 缩略列：圆点贴粗实线 + 时间小字 */
body[data-focus="ds"] .tl3-xs .tl3-ev { flex-direction:row-reverse; justify-content:flex-start; }
body[data-focus="xs"] .tl3-ds .tl3-ev { flex-direction:row; justify-content:flex-end; }
body[data-focus="ds"] .tl3-xs .mini-time,
body[data-focus="xs"] .tl3-ds .mini-time { display:block; font-size:.62rem; font-weight:700; color:var(--color-text-muted); }
body[data-focus="ds"] .tl3-xs .mini-time { text-align:right; margin-right:2px; }
body[data-focus="xs"] .tl3-ds .mini-time { text-align:left; margin-left:2px; }

.tl3-hint { text-align:center; font-size:.72rem; color:var(--color-text-muted); margin:-4px 0 2px; }


/* ========== SVG 内联图标 ========== */
.icon-svg { width:18px; height:18px; flex:0 0 18px; display:inline-block; vertical-align:middle; }
.icon-svg.sleep svg, .icon-svg.wake svg { width:100%; height:100%; }

/* ========== 内联 SVG 图标 ========== */
.icon-sleep, .icon-wake { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; flex:0 0 18px; vertical-align:middle; }
.icon-sleep svg, .icon-wake svg { width:18px; height:18px; }
.ev-dot .icon-sleep, .ev-dot .icon-wake, .tl2-dot .icon-sleep, .tl2-dot .icon-wake { width:28px; height:28px; }
.ev-dot .icon-sleep svg, .ev-dot .icon-wake svg, .tl2-dot .icon-sleep svg, .tl2-dot .icon-wake svg { width:28px; height:28px; }
.icon-img { width:100%; height:100%; object-fit:contain; border-radius:50%; }
.dt-bed { width:20px; height:20px; object-fit:contain; vertical-align:middle; }
/* ========== 月历 ========== */
/* 宝宝筛选键 */
.cal-filter { display:flex; gap:8px; margin-bottom:10px; }
.cf-pill {
  flex:1; padding:8px 0; border-radius:999px; border:1.5px solid var(--color-border);
  background:var(--color-surface); font-size:.8rem; font-weight:600; color:var(--color-text-muted);
  cursor:pointer; font-family:inherit; transition:all .15s ease;
}
.cf-pill.active[data-key="xs"] { background:linear-gradient(135deg,#FFFFFF,var(--xs)); border-color:var(--xs-deep); color:var(--xs-deep); }
.cf-pill.active[data-key="ds"] { background:linear-gradient(135deg,#FFFFFF,var(--ds)); border-color:var(--ds-deep); color:var(--ds-deep); }
/* 通用兜底：点选 pill 时整页 data-theme 已切换，按主题给选中态上色（月历/参考页等属性名不同的页面也生效） */
html[data-theme="xiaoshu"] .cf-pill.active { background:linear-gradient(135deg,#FFFFFF,var(--xs)); border-color:var(--xs-deep); color:var(--xs-deep); }
html[data-theme="dashu"] .cf-pill.active { background:linear-gradient(135deg,#FFFFFF,var(--ds)); border-color:var(--ds-deep); color:var(--ds-deep); }

.cal-weekdays {
  display:grid; grid-template-columns:repeat(7,1fr); gap:4px; text-align:center;
  font-size:.72rem; color:var(--color-text-muted); font-weight:600; padding-bottom:6px;
}
.cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:5px; }
/* cal-day: 日期数字始终居中，圆点绝对定位在底部 */
.cal-day {
  aspect-ratio:1; border-radius:12px; background:var(--color-surface-alt);
  display:flex; align-items:center; justify-content:center;
  font-size:.82rem; font-weight:600; border:1.5px solid transparent; position:relative; cursor:pointer;
  font-family:inherit; color:inherit; padding:0; line-height:1;
  transition:transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.cal-day .day-num { line-height:1.1; }
.cal-day .cal-dots { position:absolute; bottom:5px; left:0; right:0; display:flex; justify-content:center; gap:2px; }
.cal-day .cal-dot { width:4px; height:4px; border-radius:50%; display:inline-block; }
.cal-day .cal-dot.dot-xs { background:var(--xs); }
.cal-day .cal-dot.dot-ds { background:var(--ds); }
button.cal-day:hover { transform:scale(1.06); }
.cal-day.other { opacity:.35; cursor:default; }
/* 用药底色（日常喂养不染格） */
.cal-day.med-xs { background:linear-gradient(135deg, var(--xs-soft), #FFFFFF); }
.cal-day.med-ds { background:linear-gradient(135deg, var(--ds-soft), #FFFFFF); }
.cal-day.med-both { background:linear-gradient(135deg, var(--xs-soft), var(--ds-soft)); }
/* 下标关键圆点：小树(紫)在左、大树(橙)在右 */
.cal-dots { display:flex; gap:3px; }
.cal-dot { width:5px; height:5px; border-radius:50%; display:inline-block; }
.cal-dot.dot-xs { background:var(--xs); }
.cal-dot.dot-ds { background:var(--ds); }
/* 选中：数字+圆点都变白，底色加深为当前筛选色 */
.cal-day.selected { color:#fff; font-weight:800; border-color:transparent; }
.cal-day.selected[data-sel="xs"] { background:var(--xs); box-shadow:0 0 0 2px var(--xs-soft); }
.cal-day.selected[data-sel="ds"] { background:var(--ds); box-shadow:0 0 0 2px var(--ds-soft); }
.cal-day.selected[data-sel="both"] { background:linear-gradient(135deg,var(--xs),var(--ds)); box-shadow:0 0 0 2px var(--accent-soft); }
.cal-day.selected[data-sel="none"] { background:var(--color-surface-alt); color:var(--color-text); box-shadow:0 0 0 2px rgba(0,0,0,.06); }
.cal-day.selected .cal-dot { background:#fff; }
.cal-day.today { font-weight:800; outline:1.5px dashed var(--color-text-muted); outline-offset:-2px; }

.cal-legend {
  display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:12px;
  font-size:.72rem; color:var(--color-text-muted);
}
.cal-legend span { display:inline-flex; align-items:center; gap:3px; }
.cal-legend i { width:10px; height:10px; border-radius:50%; display:inline-block; }
.cal-legend i[style] { border-radius:3px; }
.cal-legend i[style*="gradient"], .cal-legend i[style*="FFF"] { border-radius:3px; }
.cal-legend i.dot-xs { background:var(--xs); }
.cal-legend i.dot-ds { background:var(--ds); }

/* 当日详情（时间从上到下：早→晚；小树在左、大树在右） */
.dual-timeline { display:flex; gap:6px; }
.dt-col { flex:1; min-width:0; }
.dt-col.dt-single { max-width:62%; margin:0 auto; }
.dt-header {
  padding:8px 10px; font-size:.82rem; font-weight:700; border-radius:var(--radius-sm);
  margin-bottom:8px; text-align:center;
}
.dt-h-xs { background:var(--xs-soft); color:var(--xs-deep); }
.dt-h-ds { background:var(--ds-soft); color:var(--ds-deep); }
/* V2.32 两行排版：行1时间 / 行2内容，整条可点开详情 */
.dt-event { display:block; padding:7px 4px 8px; font-size:.74rem; border-bottom:1px solid var(--color-border); line-height:1.3; cursor:pointer; }
.dt-event:active { opacity:.6; }
.dt-line1 { font-size:.66rem; font-weight:800; color:var(--color-text-muted); margin-bottom:3px; }
.dt-line2 { display:flex; align-items:center; gap:6px; min-width:0; }
.dt-sub { flex:0 1 auto; min-width:0; font-size:.7rem; color:var(--color-text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dt-icon { font-size:.95rem; flex:0 0 22px; text-align:center; }
.dt-txt { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dt-empty { padding:18px 6px; text-align:center; font-size:.72rem; color:var(--color-text-muted); }

/* ========== 旧版时间线列表 ========== */
.tl2 { position:relative; }
.tl2-row { display:flex; gap:10px; }
.tl2-axis { width:30px; flex:0 0 30px; display:flex; flex-direction:column; align-items:center; }
.tl2-dot {
  width:30px; height:30px; border-radius:50%; background:var(--accent-soft); display:flex;
  align-items:center; justify-content:center; font-size:.9rem; flex:0 0 30px; z-index:1;
}
.tl2-line { flex:1; width:2px; background:var(--color-border-strong); min-height:18px; }
.tl2-card {
  flex:1; background:var(--color-surface-alt); border-radius:var(--radius-sm);
  padding:9px 12px; margin-bottom:10px; font-size:.85rem;
}
.recorder-tag {
  display:inline-block; font-size:.66rem; color:var(--color-text-muted);
  background:var(--color-surface); border-radius:6px; padding:1px 6px; margin-top:4px; margin-left:6px;
}

/* ========== 表单 ========== */
.form-section {
  background:var(--color-surface); border-radius:var(--radius-lg); padding:18px;
  box-shadow:var(--shadow-sm); margin-bottom:14px;
}
.form-label { display:block; font-size:.85rem; font-weight:600; margin-bottom:8px; }
.form-label .req { color:var(--color-danger); }
.chip-group { display:flex; flex-wrap:wrap; gap:8px; }
.chip {
  border:1.5px solid var(--color-border-strong); background:var(--color-surface);
  border-radius:999px; padding:8px 16px; font-size:.88rem; font-weight:600;
  cursor:pointer; transition:all .15s; color:var(--color-text);
  display:inline-flex; align-items:center; justify-content:center; text-align:center;
}
.chip:active { transform:scale(.95); }
/* V2.26：选中 chip 白→主题色渐变（V1.13 规格）+ 深色描边与文字 */
.chip.selected {
  background:linear-gradient(135deg,#FFFFFF,var(--accent)); border-color:var(--accent-deep); color:var(--accent-deep);
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
/* V2.27：选项组统一均分网格（短词 4 列，长文案跨格 w2/w4） */
.chip-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.chip-grid.grid-2 { grid-template-columns:repeat(2,1fr); }
.chip-grid.grid-3 { grid-template-columns:repeat(3,1fr); }
.chip-grid .chip { width:100%; }
.chip-grid .chip.w2 { grid-column:span 2; }
.chip-grid .chip.w4 { grid-column:span 4; }
/* V2.28：等高 chip 组（两行文案不撑破网格，全组同高垂直居中） */
.chip-eq .chip { min-height:52px; }
/* V2.28：疫苗已接种针次 chip（浅灰仍可选取，点击弹确认改时间） */
.chip.vax-done { opacity:.55; background:var(--color-surface-alt); }
.chip.vax-done::after { content:"✓"; font-size:.72em; margin-left:4px; color:var(--color-success); }

/* ===== V2.28 疫苗页：进度环 + 疫苗维度进度列表 ===== */
.vax-ring-card { display:flex; align-items:center; gap:16px; }
.vax-ring-wrap { position:relative; width:132px; height:132px; flex:none; }
.vax-ring-wrap svg { width:100%; height:100%; display:block; }
.vax-ring-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; pointer-events:none; }
.vax-ring-center strong { font-size:1.45rem; color:var(--accent-deep); }
.vax-ring-center span { font-size:.7rem; color:var(--color-text-muted); margin-top:2px; }
.vax-sums { flex:1; display:flex; flex-direction:column; gap:10px; min-width:0; }
.vax-sum { background:var(--color-surface-alt); border-radius:12px; padding:10px 12px; }
.vax-sum b { font-size:.84rem; }
.vax-sum .vs-bar { height:6px; background:rgba(0,0,0,.06); border-radius:99px; overflow:hidden; margin-top:6px; }
.vax-sum .vs-bar i { display:block; height:100%; background:var(--accent); border-radius:99px; transition:width .5s; }
.vax-sum.vs-self .vs-bar i { background:var(--color-warning); }
.vax-sum .vs-hint { font-size:.68rem; color:var(--color-text-muted); margin-top:4px; }
.vax-row { border:1px solid var(--color-border); border-radius:14px; overflow:hidden; background:var(--color-surface); }
.vax-row + .vax-row { margin-top:8px; }
.vr-head { display:flex; align-items:center; gap:10px; padding:12px; cursor:pointer; }
.vr-badge { width:34px; height:34px; border-radius:50%; background:var(--accent-soft); color:var(--accent-deep); display:flex; align-items:center; justify-content:center; font-size:.72rem; font-weight:700; flex:none; }
.vr-info { flex:1; min-width:0; }
.vr-name { font-weight:700; font-size:.9rem; }
.vr-bar { height:6px; background:var(--color-surface-alt); border-radius:99px; overflow:hidden; margin-top:6px; }
.vr-bar i { display:block; height:100%; background:var(--accent); border-radius:99px; transition:width .4s; }
.vr-cnt { font-size:.74rem; color:var(--color-text-muted); flex:none; }
.vr-arrow { color:var(--color-text-muted); font-size:.8rem; transition:transform .2s; flex:none; }
.vax-row.open .vr-arrow { transform:rotate(180deg); }
.vr-doses { display:none; border-top:1px dashed var(--color-border); background:var(--color-surface-alt); padding:4px 12px; }
.vax-row.open .vr-doses { display:block; }
.vd-row { display:flex; align-items:center; gap:8px; padding:8px 0; font-size:.84rem; }
.vd-row + .vd-row { border-top:1px dashed var(--color-border); }
.vd-name { width:52px; flex:none; font-weight:600; }
.vd-badge { font-size:.72rem; padding:3px 8px; border-radius:99px; font-weight:600; white-space:nowrap; }
.vd-badge.st-done { background:var(--color-success-soft); color:var(--color-success); }
.vd-badge.st-due { background:var(--accent-soft); color:var(--accent-deep); }
.vd-badge.st-over { background:var(--color-warning-soft); color:var(--color-warning); }
.vd-edit { margin-left:auto; flex:none; border:1px solid var(--color-border-strong); background:var(--color-surface); color:var(--accent-deep); border-radius:99px; font-size:.72rem; padding:3px 10px; cursor:pointer; }
.vax-sec-self .vr-badge { background:var(--color-warning-soft); color:var(--color-warning); }
.vax-sec-self .vr-bar i { background:var(--color-warning); }
.vax-other-title { margin-top:16px; }
#vx-plan-date { position:absolute; left:-9999px; top:0; width:1px; height:1px; opacity:0; }
.vtoast { position:fixed; left:50%; bottom:88px; transform:translateX(-50%) translateY(16px); background:rgba(46,42,38,.92); color:#fff; font-size:.82rem; padding:9px 16px; border-radius:99px; opacity:0; transition:all .25s; z-index:1200; pointer-events:none; max-width:80%; text-align:center; }
.vtoast.show { opacity:1; transform:translateX(-50%) translateY(0); }
.chip-quantity { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.chip-quantity .chip { text-align:center; padding:12px 4px; }

textarea, input[type="text"], input[type="number"], input[type="date"], input[type="time"],
input[type="password"], select {
  width:100%; border:1.5px solid var(--color-border-strong); border-radius:var(--radius-sm);
  padding:12px; font-size:.92rem; font-family:var(--font-body);
  background:var(--color-surface); color:var(--color-text);
}
.time-row { display:flex; gap:10px; }
.time-row input { flex:1; }
textarea { min-height:80px; resize:vertical; }
textarea:focus, input:focus, select:focus { outline:none; border-color:var(--accent); }

.stepper { display:flex; align-items:center; justify-content:center; gap:22px; }
.stepper button {
  width:52px; height:52px; border-radius:50%; border:none; background:var(--accent-soft);
  color:var(--accent-deep); font-size:1.5rem; font-weight:700; cursor:pointer;
}
.stepper button:active { transform:scale(.92); }
.stepper .step-value { font-size:2.4rem; font-weight:800; min-width:130px; text-align:center; }
.stepper .step-unit { font-size:1rem; color:var(--color-text-muted); font-weight:500; }

/* ========== 按钮 ========== */
.btn {
  display:flex; align-items:center; justify-content:center; gap:8px; width:100%;
  border:none; border-radius:var(--radius-md); padding:15px; font-size:1rem;
  font-weight:700; cursor:pointer; font-family:var(--font-body);
  transition:transform .15s; margin-bottom:14px;
}
.btn:active { transform:scale(.98); }
.btn-primary { background:var(--accent); color:var(--on-accent); box-shadow:0 6px 16px rgba(0,0,0,.15); }
.btn-secondary { background:var(--color-surface-alt); color:var(--color-text); }
.btn-danger { background:var(--color-danger-soft); color:var(--color-danger); }

/* ========== 提示横幅 ========== */
.alert-banner {
  border-radius:var(--radius-md); padding:12px 14px; font-size:.85rem; font-weight:600;
  display:flex; gap:8px; align-items:center; margin-bottom:14px;
}
.alert-banner.normal { background:var(--color-success-soft); color:#2F6B47; }
.alert-banner.fever { background:var(--color-danger-soft); color:#9C3A32; }
.alert-banner.info { background:var(--color-info-soft); color:#33587A; }
.alert-banner.remind { background:var(--accent-soft); color:var(--accent-deep); }
.alert-banner.emergency { background:var(--color-danger); color:#fff; }

.notice {
  border-radius:var(--radius-md); padding:12px 14px; font-size:.82rem;
  display:flex; gap:10px; align-items:flex-start;
}
.notice .n-icon { font-size:1.05rem; flex:0 0 auto; }
.notice-warning { background:var(--color-warning-soft); color:#8A5A12; }
.notice-danger { background:var(--color-danger-soft); color:#9C3A32; font-weight:600; }
.notice-info { background:var(--color-info-soft); color:#33587A; }
.notice-success { background:var(--color-success-soft); color:#2F6B47; }

/* ========== 体温 ========== */
.temp-display { text-align:center; padding:10px 0 4px; }
.temp-display .temp-num { font-size:4.2rem; font-weight:800; line-height:1; }
.temp-display .temp-unit { font-size:1.4rem; color:var(--color-text-muted); }
.temp-display .temp-state { margin-top:8px; font-size:.95rem; font-weight:600; }
.temp-presets { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:14px; }
.temp-presets .chip { text-align:center; padding:10px 4px; }

/* ========== 疫苗 ========== */
.vaccine-list { display:flex; flex-direction:column; gap:8px; }
.vaccine-item {
  display:flex; align-items:center; background:var(--color-surface-alt);
  border-radius:var(--radius-md); padding:12px 14px;
}
.vaccine-item.pending { background:var(--color-warning-soft); }
.vaccine-item.done { opacity:.85; }
.vaccine-name { font-weight:700; font-size:.9rem; flex:1; }
.vaccine-meta { display:flex; gap:8px; font-size:.75rem; color:var(--color-text-muted); flex-wrap:wrap; }
.v-status {
  font-size:.7rem; font-weight:700; padding:3px 10px; border-radius:999px; margin-right:8px;
}
.v-status.done { background:var(--color-success); color:#fff; }
.v-status.todo { background:var(--color-warning); color:#fff; }

/* ========== 指南 ========== */
.milestone-list { display:flex; flex-direction:column; gap:6px; }
.milestone {
  font-size:.88rem; padding:10px 12px; border-radius:var(--radius-sm);
  background:var(--color-surface-alt);
}
.milestone.done { color:var(--color-success); font-weight:600; }
.milestone.active { background:var(--accent-soft); color:var(--accent-deep); font-weight:600; }

.guide-section { display:flex; flex-direction:column; gap:10px; }
.guide-item { display:flex; gap:10px; align-items:flex-start; }
.gi-icon { font-size:1.2rem; flex:0 0 28px; text-align:center; }
.guide-item strong { font-size:.88rem; display:block; }
.guide-item div { font-size:.82rem; color:var(--color-text-muted); }

.temp-guide { display:flex; flex-direction:column; gap:10px; }
.temp-level { background:var(--color-surface-alt); border-radius:var(--radius-md); overflow:hidden; }
.tl-head { padding:10px 14px; font-size:.85rem; font-weight:700; color:#fff; }
.tl-head.normal { background:var(--color-success); }
.tl-head.warm { background:var(--color-warning); }
.tl-head.hot { background:var(--color-danger); }
.tl-body { padding:10px 14px; font-size:.82rem; color:var(--color-text-muted); line-height:1.5; }

/* ========== 生长曲线 ========== */
.chart-wrap { background:var(--color-surface-alt); border-radius:var(--radius-md); padding:12px 8px; margin-top:8px; }
.chart-svg { width:100%; height:auto; display:block; }
.legend-row {
  display:flex; gap:14px; margin-top:8px; font-size:.72rem;
  color:var(--color-text-muted); flex-wrap:wrap;
}
.legend-row .lg { display:inline-flex; align-items:center; gap:4px; }
.legend-row .lg i { width:16px; height:0; border-top:2px solid; display:inline-block; }
.growth-table {
  width:100%; border-collapse:collapse; margin-top:12px; font-size:.8rem;
}
.growth-table th, .growth-table td {
  padding:8px 6px; border-bottom:1px solid var(--color-border); text-align:center;
}
.growth-table th { color:var(--color-text-muted); font-weight:600; font-size:.72rem; }

/* ========== 我的页面 ========== */
/* V2.26：头像底色白→主题色渐变（V1.13 规格，左上白右下主题色） */
.avatar {
  width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,#FFFFFF,var(--accent)); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:1.8rem; margin:0 auto;
}
.baby-info { display:flex; flex-direction:column; gap:10px; }
.baby-row {
  display:flex; align-items:center; gap:12px; padding:12px;
  background:var(--color-surface-alt); border-radius:var(--radius-sm);
}
.bi-icon { font-size:1.5rem; flex:0 0 36px; text-align:center; }
.bi-text { flex:1; }
.bi-text strong { font-size:.9rem; display:block; }
.bi-sub { font-size:.75rem; color:var(--color-text-muted); }
.bi-edit { font-size:.8rem; color:var(--accent-deep); font-weight:600; }

.member-list { display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.member-row {
  display:flex; align-items:center; justify-content:space-between; padding:12px 14px;
  background:var(--color-surface-alt); border-radius:var(--radius-sm);
}
.mr-name { font-size:.9rem; font-weight:600; }
.mr-role { font-size:.72rem; font-weight:700; padding:3px 10px; border-radius:999px; }
.mr-role.admin { background:var(--accent-soft); color:var(--accent-deep); }
.mr-role.recorder {
  background:var(--color-surface); color:var(--color-text-muted);
  border:1px solid var(--color-border);
}
/* V2.33 等级标签 + 管理员调级 */
.mr-role.senior { background:#E8F5E9; color:#2F7D32; }
.mr-role.viewer { background:#ECEFF1; color:#78909C; }
.member-row.mem-editable { cursor:pointer; }
.member-row.mem-editable:active { opacity:.7; }
.mem-caret { font-size:.9rem; color:var(--color-text-muted); }
.mem-lvls { display:flex; gap:8px; padding:8px 14px 2px; flex-wrap:wrap; }
.mem-lvl { font-size:.72rem; padding:5px 14px; }
.add-member {
  display:block; text-align:center; color:var(--accent-deep); font-size:.88rem;
  font-weight:600; padding:10px; border:1.5px dashed var(--color-border-strong);
  border-radius:var(--radius-sm);
}

.menu-list { display:flex; flex-direction:column; }
.menu-item {
  display:flex; align-items:center; gap:10px; padding:14px 4px; font-size:.92rem;
  border-bottom:1px solid var(--color-border);
}
.menu-item:last-child { border-bottom:none; }
.menu-item .m-arrow { margin-left:auto; color:var(--color-text-muted); }
/* V2.25：设置行图标定宽对齐（emoji 宽窄不一导致行头参差） */
.menu-item > span:first-child { flex:0 0 1.7em; text-align:center; }

.permission-note {
  background:var(--color-surface); border-radius:var(--radius-md); padding:14px; margin-top:4px;
}

/* ========== 应急卡片 ========== */
.lock-card { text-align:center; }
.lock-input {
  width:100%; max-width:260px; margin:0 auto; display:block;
  border:1.5px solid var(--color-border-strong); border-radius:var(--radius-md);
  padding:14px; font-size:1rem; text-align:center; background:var(--color-surface);
  letter-spacing:8px;
}
.emergency-info { display:flex; flex-direction:column; gap:0; }
.ei-row {
  display:flex; justify-content:space-between; padding:10px 0;
  border-bottom:1px dashed var(--color-border); font-size:.88rem;
}
.ei-row:last-child { border-bottom:none; }
.ei-label { color:var(--color-text-muted); flex:0 0 auto; }
.ei-value { font-weight:600; text-align:right; }
.ei-contact {
  margin-top:12px; padding:12px; background:var(--color-surface-alt);
  border-radius:var(--radius-sm); font-size:.85rem; line-height:1.8;
}
.hospital-list { display:flex; flex-direction:column; gap:8px; }
.h-row {
  display:flex; align-items:center; gap:8px; padding:12px;
  background:var(--color-surface-alt); border-radius:var(--radius-sm);
  font-size:.82rem; flex-wrap:wrap;
}
.h-row strong { flex:1; font-size:.88rem; }
.h-row span { color:var(--color-text-muted); font-size:.75rem; }

/* ========== 上传区 ========== */
.upload-area {
  border:2px dashed var(--color-border-strong); border-radius:var(--radius-md);
  padding:24px; text-align:center; color:var(--color-text-muted); font-size:.88rem;
  cursor:pointer;
}

/* ========== 免责声明 ========== */
.disclaimer {
  text-align:center; font-size:.7rem; color:var(--color-text-muted);
  padding:8px 20px 4px; line-height:1.5;
}

/* ========== Toast ========== */
.toast {
  position:fixed; bottom:110px; left:50%; transform:translateX(-50%);
  background:rgba(46,42,38,.92); color:#fff; padding:12px 22px; border-radius:999px;
  font-size:.9rem; z-index:100; box-shadow:var(--shadow-md);
  animation:toastIn .3s ease;
}
@keyframes toastIn {
  from { opacity:0; transform:translateX(-50%) translateY(10px); }
  to { opacity:1; transform:translateX(-50%) translateY(0); }
}

/* ========== 底部导航 ========== */
.tab-bar {
  position:fixed; bottom:0; left:50%; transform:translateX(-50%);
  width:100%; max-width:430px; background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px); border-top:1px solid var(--color-border);
  display:flex; justify-content:space-around; align-items:flex-end;
  padding:8px 8px 20px; z-index:40;
}
.tab {
  display:flex; flex-direction:column; align-items:center; gap:2px;
  font-size:.68rem; color:var(--color-text-muted); font-weight:600; padding:4px 10px;
}
.tab .t-icon { font-size:1.3rem; }
.tab.active { color:var(--accent-deep); }
.tab-record {
  background:var(--accent); color:var(--on-accent); width:56px; height:56px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.8rem; margin-top:-26px; box-shadow:0 8px 20px rgba(0,0,0,.2);
}

/* ========== 月统计 ========== */
.stat-grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.stat-item {
  background:var(--color-surface-alt); border-radius:var(--radius-md);
  padding:14px; text-align:center;
}
.stat-item .stat-num { font-size:1.4rem; font-weight:800; }
.stat-item .stat-label { font-size:.72rem; color:var(--color-text-muted); margin-top:2px; }

/* ===== V2.30 月历记录操作按钮 ===== */
/* V2.32 记录详情弹层 */
.sheet-mask { position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:999; display:flex; align-items:flex-end; justify-content:center; }
.sheet-card { width:100%; max-width:480px; max-height:78vh; overflow-y:auto; background:var(--color-card,#fff); border-radius:20px 20px 0 0; padding:18px 18px calc(18px + env(safe-area-inset-bottom,0px)); animation:sheetUp .22s ease-out; }
@keyframes sheetUp { from { transform:translateY(40px); opacity:.4; } to { transform:translateY(0); opacity:1; } }
.sr-head { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.sr-icon { font-size:1.5rem; flex:0 0 auto; }
.sr-meta { flex:1; min-width:0; }
.sr-title { font-size:.92rem; font-weight:800; color:var(--color-text,#333); }
.sr-when { font-size:.72rem; color:var(--color-text-muted,#9A958B); margin-top:2px; }
.sr-close { border:none; background:var(--color-bg,#FAF8F4); width:30px; height:30px; border-radius:50%; font-size:14px; color:var(--color-text-secondary,#6B675E); cursor:pointer; flex:0 0 auto; }
.sr-rows { border-top:1px solid var(--color-border,#EEE9E0); padding-top:6px; }
.sr-row { display:flex; gap:12px; padding:8px 0; border-bottom:1px dashed var(--color-border,#EEE9E0); font-size:.78rem; line-height:1.5; }
.sr-row:last-child { border-bottom:none; }
.sr-k { flex:0 0 64px; color:var(--color-text-muted,#9A958B); }
.sr-v { flex:1; min-width:0; color:var(--color-text,#333); word-break:break-all; }
.sr-empty { padding:14px 0; text-align:center; font-size:.74rem; color:var(--color-text-muted,#9A958B); }
.sr-btns { display:flex; gap:10px; margin-top:14px; }
.sr-btn { flex:1; border:none; border-radius:12px; padding:11px 0; font-size:.82rem; font-weight:700; cursor:pointer; background:var(--accent-soft,#F1EAF7); color:var(--accent-deep,#6B4FA1); }
.sr-btn.danger { background:#FDECEC; color:#C0392B; }
.sr-btn:active { opacity:.7; }
.sr-tip { margin-top:10px; text-align:center; font-size:.7rem; color:var(--color-text-muted,#9A958B); }
