/* 拾光 · 总览 + 设置（Lead 局部样式） */

/* ---------------------------------------------------------- 总览骨架 */
.ov-view {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ov-heading {
  margin-bottom: 2px;
}
.ov-heading h1 {
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.14;
}
.ov-heading .page-sub {
  max-width: 660px;
}
.ov-wave {
  display: inline-block;
  font-size: 0.68em;
  vertical-align: 0.16em;
  margin-left: 6px;
  background: linear-gradient(135deg, #ffb340, #ff5f8f 55%, #8b7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(255, 95, 143, 0.25));
}
.ov-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3, #8a8a90);
}
.ov-soft {
  color: var(--text-3, #8a8a90);
  font-size: 12px;
}
.ov-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--blue, #0a84ff);
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  padding: 5px 2px;
  cursor: pointer;
  border-radius: 8px;
  transition: opacity 180ms ease;
}
.ov-text-btn:hover {
  opacity: 0.7;
}

/* ---------------------------------------------------------- Hero */
.ov-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr);
  gap: 18px;
  align-items: stretch;
}
.ov-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 32px;
  overflow: hidden;
  min-height: 286px;
  border-radius: var(--radius-lg, 24px);
}
.ov-hero::before {
  content: '';
  position: absolute;
  width: 430px;
  height: 430px;
  right: -160px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.18), transparent 64%);
  pointer-events: none;
}
.ov-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  left: 34%;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 10, 0.14), transparent 66%);
  pointer-events: none;
}
.ov-hero-rings {
  position: relative;
  flex: 0 0 auto;
  width: 208px;
  height: 208px;
}
.ov-rings-chart {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 26px rgba(10, 132, 255, 0.13));
}
.ov-rings-chart .chart-svg {
  width: 100%;
  height: 100%;
}
.ov-rings-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  gap: 1px;
}
.ov-rings-center strong {
  font-size: 42px;
  line-height: 1;
  font-weight: 680;
  letter-spacing: -0.05em;
  color: var(--text, #1d1d1f);
  font-variant-numeric: tabular-nums;
}
.ov-rings-center strong span {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--text-3, #8a8a90);
  margin-left: 2px;
}
.ov-rings-center small {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3, #8a8a90);
}
.ov-hero-main {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.ov-hero-main h2 {
  margin: 0 0 7px;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: -0.025em;
  line-height: 1.28;
  font-weight: 640;
}
.ov-hero-sub {
  margin: 0 0 22px;
  color: var(--text-3, #8a8a90);
  font-size: 13px;
}
.ov-goal-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ov-goal {
  display: grid;
  grid-template-columns: 8px 38px minmax(0, 1fr) minmax(70px, 1.5fr) 42px;
  align-items: center;
  gap: 10px;
}
.ov-goal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 8%, transparent);
}
.ov-goal-name {
  font-size: 12.5px;
  color: var(--text-2, #55555a);
  font-weight: 550;
}
.ov-goal-num {
  font-size: 12.5px;
  color: var(--text, #1d1d1f);
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ov-goal-num small {
  font-weight: 450;
  color: var(--text-3, #8a8a90);
}
.ov-goal-bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(120, 120, 128, 0.12);
  overflow: hidden;
}
.ov-goal-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ov-goal-pct {
  font-size: 11px;
  text-align: right;
  color: var(--text-3, #8a8a90);
  font-variant-numeric: tabular-nums;
}
.ov-goal-pct.is-done {
  color: var(--green, #30d158);
  font-weight: 620;
}
.ov-hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
}
.ov-hero-foot strong {
  color: var(--text-2, #55555a);
  font-weight: 650;
}

/* ---------------------------------------------------------- 今日安排 */
.ov-agenda {
  padding: 23px 22px 16px;
  display: flex;
  flex-direction: column;
  min-height: 286px;
}
.ov-agenda .card-head {
  margin-bottom: 12px;
}
.ov-agenda-list {
  flex: 1;
  min-height: 0;
  max-height: 248px;
  overflow-y: auto;
  margin: 0 -6px;
  padding: 0 6px;
}
.ov-agenda-row {
  display: grid;
  grid-template-columns: 42px 3px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 7px;
  margin: 0 -7px;
  border-radius: 11px;
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease;
}
.ov-agenda-row:hover {
  background: rgba(120, 120, 128, 0.075);
}
.ov-agenda-row--task {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
}
.ov-agenda-time {
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: var(--text-3, #8a8a90);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ov-agenda-line {
  width: 3px;
  height: 28px;
  border-radius: 99px;
  opacity: 0.8;
}
.ov-agenda-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ov-agenda-title {
  font-size: 12.8px;
  font-weight: 540;
  color: var(--text, #1d1d1f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ov-agenda-sub {
  font-size: 10.5px;
  color: var(--text-3, #8a8a90);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ov-task {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  min-width: 0;
  user-select: none;
}
.ov-task input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ov-task-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong, rgba(60, 60, 67, 0.26));
  color: transparent;
  transition: all 160ms ease;
}
.ov-task input:checked + .ov-task-check {
  background: var(--green, #30d158);
  border-color: var(--green, #30d158);
  color: #fff;
}
.ov-task-title {
  font-size: 12.8px;
  color: var(--text, #1d1d1f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 160ms ease;
}
.ov-task input:checked ~ .ov-task-title {
  color: var(--text-3, #8a8a90);
  text-decoration: line-through;
  text-decoration-color: rgba(120, 120, 128, 0.4);
}
.ov-agenda-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  font-size: 11px;
  color: var(--text-3, #8a8a90);
}

/* ---------------------------------------------------------- 指标卡 */
.ov-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ov-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 17px;
  border-radius: 19px;
  background: var(--card, rgba(255, 255, 255, 0.72));
  border: 1px solid var(--border, rgba(0, 0, 0, 0.055));
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(0, 0, 0, 0.03));
  color: inherit;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.ov-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 10px 26px rgba(0, 0, 0, 0.07));
}
.ov-stat-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--stat-tint, rgba(10, 132, 255, 0.12));
  color: var(--stat-color, var(--blue));
}
.ov-stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ov-stat-label {
  font-size: 10.5px;
  color: var(--text-3, #8a8a90);
}
.ov-stat-value {
  font-size: 19px;
  font-weight: 640;
  letter-spacing: -0.025em;
  color: var(--text, #1d1d1f);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ov-stat-value small {
  font-size: 10.5px;
  margin-left: 3px;
  color: var(--text-3, #8a8a90);
  font-weight: 500;
}
.ov-stat-meta {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10px;
  color: var(--text-3, #8a8a90);
  background: rgba(120, 120, 128, 0.075);
  border-radius: 99px;
  padding: 4px 7px;
  white-space: nowrap;
}
.ov-stat-meta.is-up {
  color: var(--green, #30d158);
  background: rgba(48, 209, 88, 0.1);
}
.ov-stat-meta.is-down {
  color: var(--pink, #ff375f);
  background: rgba(255, 55, 95, 0.09);
}

/* ---------------------------------------------------------- 主卡片网格 */
.ov-main-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.ov-card {
  padding: 22px;
  min-width: 0;
}
.ov-card .card-head {
  margin-bottom: 16px;
}
.ov-book-card { grid-column: span 5; }
.ov-weight-card { grid-column: span 4; }
.ov-reno-card { grid-column: span 3; }
.ov-study-card { grid-column: span 5; }
.ov-habits-card { grid-column: span 4; }
.ov-assets-card { grid-column: span 3; }

/* ---------------------------------------------------------- 阅读卡 */
.ov-book-body {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.ov-book-cover {
  position: relative;
  flex: 0 0 108px;
  width: 108px;
  height: 150px;
  border-radius: 7px 11px 11px 7px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--cover, #ff9f0a) 72%, #fff) 0%, var(--cover, #ff9f0a) 58%, color-mix(in srgb, var(--cover, #ff9f0a) 76%, #000) 100%);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--cover, #ff9f0a) 24%, transparent), 0 2px 5px rgba(0, 0, 0, 0.12);
  padding: 18px 12px 12px 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ov-book-card:hover .ov-book-cover {
  transform: rotate(0deg) translateY(-2px);
}
.ov-book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(255, 255, 255, 0.1) 60%, transparent);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.ov-book-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.08));
  pointer-events: none;
}
.ov-book-cover-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ov-book-cover-author {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  letter-spacing: 0.02em;
}
.ov-book-info {
  flex: 1;
  min-width: 0;
}
.ov-book-info .ov-kicker {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: none;
}
.ov-book-title {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 640;
}
.ov-book-progress {
  height: 6px;
  border-radius: 99px;
  background: rgba(120, 120, 128, 0.12);
  overflow: hidden;
  margin-bottom: 7px;
}
.ov-book-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
}
.ov-book-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-3, #8a8a90);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.ov-book-meta strong {
  color: var(--text-2, #55555a);
  font-weight: 620;
}
.ov-book-goal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}
.ov-book-goal .ov-soft {
  font-size: 10.5px;
}
.ov-book-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  padding-top: 13px;
  margin-top: 15px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
}
.ov-book-foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--text-3, #8a8a90);
}

/* ---------------------------------------------------------- 体重卡 */
.ov-weight-figure {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.ov-weight-value {
  font-size: 44px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.ov-weight-unit {
  font-size: 13px;
  color: var(--text-3, #8a8a90);
  font-weight: 500;
}
.ov-weight-delta {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 99px;
  padding: 4px 8px;
  font-variant-numeric: tabular-nums;
}
.ov-weight-delta.is-down {
  color: var(--green, #30d158);
  background: rgba(48, 209, 88, 0.1);
}
.ov-weight-delta.is-up {
  color: var(--pink, #ff375f);
  background: rgba(255, 55, 95, 0.09);
}
.ov-weight-chart {
  height: 72px;
  margin: 10px -2px 12px;
}
.ov-weight-chart .chart-svg {
  height: 72px;
}
.ov-weight-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 11px 0;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.06));
}
.ov-weight-stats span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ov-weight-stats span + span {
  border-left: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  padding-left: 12px;
}
.ov-weight-stats small {
  font-size: 9.5px;
  color: var(--text-3, #8a8a90);
}
.ov-weight-stats strong {
  font-size: 13px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.ov-weight-goal {
  height: 4px;
  border-radius: 99px;
  background: rgba(191, 90, 242, 0.13);
  overflow: hidden;
  margin-top: 13px;
}
.ov-weight-goal span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bf5af2, #ff7ab8);
}
.ov-weight-hint {
  margin: 7px 0 0;
  font-size: 10.5px;
}

/* ---------------------------------------------------------- 装修卡 */
.ov-reno-ring-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 0 12px;
}
.ov-reno-ring {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: conic-gradient(var(--tone, #ff9f0a) calc(var(--p, 0) * 1%), rgba(120, 120, 128, 0.12) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(255, 159, 10, 0.13);
}
.ov-reno-ring::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--card-solid, #fff);
}
.ov-reno-ring-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.ov-reno-ring-inner strong {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ov-reno-ring-inner span {
  font-size: 9.5px;
  color: var(--text-3, #8a8a90);
}
.ov-reno-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 11px;
}
.ov-reno-money div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ov-reno-money strong {
  font-size: 14px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.ov-reno-budget {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 159, 10, 0.13);
  overflow: hidden;
  margin-bottom: 6px;
}
.ov-reno-budget span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb340, #ff9f0a);
}
.ov-reno-next {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  font-size: 10.5px;
  color: var(--text-3, #8a8a90);
}
.ov-reno-next strong {
  color: var(--text-2, #55555a);
  font-weight: 560;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ov-reno-next span {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------- 学习卡 */
.ov-study-chart {
  height: 142px;
  margin: 0 -4px;
}
.ov-study-chart .chart-svg {
  height: 142px;
}
.ov-study-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  font-size: 11px;
  color: var(--text-3, #8a8a90);
}

/* ---------------------------------------------------------- 习惯卡 */
.ov-habit-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ov-habit {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px 7px;
  margin: 0 -7px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: background 160ms ease;
}
.ov-habit:hover {
  background: rgba(120, 120, 128, 0.07);
}
.ov-habit-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--habit-color, #0a84ff) 12%, transparent);
  color: var(--habit-color, #0a84ff);
}
.ov-habit-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.ov-habit-name {
  font-size: 12.5px;
  font-weight: 540;
  color: var(--text, #1d1d1f);
}
.ov-habit-sub {
  font-size: 10px;
  color: var(--text-3, #8a8a90);
}
.ov-habit-check {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong, rgba(60, 60, 67, 0.26));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 180ms ease;
}
.ov-habit.is-done .ov-habit-check {
  background: var(--green, #30d158);
  border-color: var(--green, #30d158);
  color: #fff;
  transform: scale(1.02);
}
.ov-habit.is-done .ov-habit-name {
  color: var(--text-3, #8a8a90);
}

/* ---------------------------------------------------------- 资产卡 */
.ov-assets-figure {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 2px 0 8px;
}
.ov-assets-chart {
  height: 56px;
  margin: 0 -3px 10px;
}
.ov-assets-chart .chart-svg {
  height: 56px;
}
.ov-alloc-bar {
  display: flex;
  height: 7px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(120, 120, 128, 0.1);
  gap: 2px;
}
.ov-alloc-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
}
.ov-alloc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--text-3, #8a8a90);
}
.ov-alloc-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ov-alloc-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.ov-assets-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  flex-wrap: wrap;
}
.ov-assets-foot .ov-soft {
  font-size: 9.5px;
}

/* ---------------------------------------------------------- 页脚 */
.ov-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 4px 24px;
  color: var(--text-3, #8a8a90);
  font-size: 10.5px;
}
.ov-footer span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---------------------------------------------------------- 设置 */
.settings-section {
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.07));
  margin-bottom: 18px;
}
.settings-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.settings-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.settings-section-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 640;
  letter-spacing: -0.01em;
}
.settings-section-head p {
  margin: 0;
  font-size: 11px;
  color: var(--text-3, #8a8a90);
}
.settings-theme-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.settings-theme {
  flex: 1;
  min-width: 120px;
  cursor: pointer;
}
.settings-theme input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.settings-theme > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-2, #55555a);
  background: rgba(120, 120, 128, 0.04);
  transition: all 160ms ease;
}
.settings-theme input:checked + span {
  border-color: rgba(10, 132, 255, 0.42);
  background: rgba(10, 132, 255, 0.09);
  color: var(--blue, #0a84ff);
  font-weight: 560;
}
.settings-theme input:focus-visible + span {
  outline: 2px solid rgba(10, 132, 255, 0.5);
  outline-offset: 2px;
}
.settings-data-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.settings-data-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 12px;
  transition: background 160ms ease;
}
.settings-data-row:hover {
  background: rgba(120, 120, 128, 0.05);
}
.settings-data-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 120, 128, 0.08);
  color: var(--text-2, #55555a);
}
.settings-data-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.settings-data-main strong {
  font-size: 12px;
  font-weight: 580;
}
.settings-data-main small {
  font-size: 10px;
  color: var(--text-3, #8a8a90);
}
.settings-data-row--danger .settings-data-icon {
  background: rgba(255, 55, 95, 0.09);
  color: var(--pink, #ff375f);
}
.settings-about {
  margin: 14px 0 0;
  font-size: 9.5px;
  color: var(--text-3, #8a8a90);
  line-height: 1.5;
}
.settings-about code {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 9px;
  background: rgba(120, 120, 128, 0.1);
  padding: 1px 4px;
  border-radius: 4px;
}
.field--wide {
  grid-column: span 2;
}

/* ---------------------------------------------------------- 响应式 */
@media (max-width: 1260px) {
  .ov-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr);
  }
  .ov-hero {
    gap: 22px;
    padding: 26px;
  }
  .ov-hero-rings {
    width: 178px;
    height: 178px;
  }
  .ov-rings-center strong {
    font-size: 36px;
  }
  .ov-goal {
    grid-template-columns: 8px 34px minmax(0, 1fr) minmax(54px, 1.2fr) 38px;
    gap: 8px;
  }
  .ov-stat {
    flex-wrap: wrap;
  }
  .ov-stat-meta {
    margin-left: 50px;
    margin-top: -3px;
  }
  .ov-book-card { grid-column: span 6; }
  .ov-weight-card { grid-column: span 6; }
  .ov-reno-card { grid-column: span 6; }
  .ov-study-card { grid-column: span 6; }
  .ov-habits-card { grid-column: span 7; }
  .ov-assets-card { grid-column: span 5; }
}

@media (max-width: 1100px) {
  .ov-hero-grid {
    grid-template-columns: 1fr;
  }
  .ov-agenda-list {
    max-height: none;
  }
  .ov-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ov-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .ov-hero-rings {
    width: 168px;
    height: 168px;
    align-self: center;
    margin: -6px 0 0;
  }
  .ov-hero-main {
    width: 100%;
  }
  .ov-book-card,
  .ov-weight-card,
  .ov-reno-card,
  .ov-study-card,
  .ov-habits-card,
  .ov-assets-card {
    grid-column: span 12;
  }
  .ov-reno-ring-wrap {
    justify-content: flex-start;
  }
  .ov-reno-card .ov-reno-money {
    max-width: 320px;
  }
}

@media (max-width: 700px) {
  .ov-view {
    gap: 16px;
  }
  .ov-heading h1 {
    font-size: 27px;
  }
  .ov-hero {
    padding: 22px 18px;
    gap: 16px;
  }
  .ov-rings-chart {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
  .ov-rings-center strong {
    font-size: 32px;
  }
  .ov-goal {
    grid-template-columns: 8px 32px minmax(0, 1fr) 38px;
  }
  .ov-goal-bar {
    display: none;
  }
  .ov-hero-foot {
    gap: 6px 12px;
  }
  .ov-stat-grid {
    grid-template-columns: 1fr;
  }
  .ov-stat {
    padding: 13px 14px;
  }
  .ov-stat-meta {
    margin: 0 0 0 auto;
  }
  .ov-card {
    padding: 18px;
  }
  .ov-book-body {
    gap: 16px;
  }
  .ov-book-cover {
    flex-basis: 88px;
    width: 88px;
    height: 124px;
    padding: 14px 9px 10px 16px;
  }
  .ov-book-cover-title {
    font-size: 13px;
  }
  .ov-book-title {
    font-size: 17px;
  }
  .ov-weight-value {
    font-size: 38px;
  }
  .ov-assets-figure {
    font-size: 28px;
  }
  .settings-section-head {
    flex-direction: column;
    gap: 3px;
  }
  .settings-theme {
    min-width: calc(50% - 6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ov-stat,
  .ov-book-cover,
  .ov-habit,
  .ov-goal-bar > span {
    transition: none !important;
  }
}

/* ---------------------------------------------------------- 云盘同步 */
.sync-btn {
  position: relative;
}
.sync-btn[hidden] {
  display: none !important;
}
.sync-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sync-btn .sync-dot {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3, #8a8a90);
  box-shadow: 0 0 0 2px var(--bg-elevated, var(--card-solid, #fff));
  transition: background 200ms ease;
}
.sync-btn.is-on .sync-dot {
  background: var(--green, #30d158);
}
.sync-btn.is-needs .sync-dot {
  background: var(--orange, #ff9f0a);
}
.sync-btn.is-error .sync-dot {
  background: var(--pink, #ff375f);
}
.sync-btn.is-syncing .sync-icon {
  animation: spin 0.9s linear infinite;
}
.settings-sync {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.07));
  border-radius: 14px;
  background: rgba(120, 120, 128, 0.045);
}
.settings-sync-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.settings-sync-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--text-3, #8a8a90);
  box-shadow: 0 0 0 3px rgba(120, 120, 128, 0.08);
}
.settings-sync-dot.is-on {
  background: var(--green, #30d158);
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.12);
}
.settings-sync-dot.is-needs {
  background: var(--orange, #ff9f0a);
  box-shadow: 0 0 0 3px rgba(255, 159, 10, 0.12);
}
.settings-sync-dot.is-error {
  background: var(--pink, #ff375f);
  box-shadow: 0 0 0 3px rgba(255, 55, 95, 0.12);
}
.settings-sync-copy {
  min-width: 0;
}
.settings-sync-copy strong {
  font-size: 12px;
  font-weight: 620;
  color: var(--text, #1d1d1f);
}
.settings-sync-copy p {
  margin: 3px 0 0;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-3, #8a8a90);
}
.settings-sync-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.settings-sync-hint {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--text-3, #8a8a90);
}
@media (max-width: 700px) {
  .settings-sync {
    padding: 12px;
  }
  .settings-sync-actions .btn {
    flex: 1 1 auto;
  }
}
