* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: #F5EDD9; }
button, input, textarea { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}
button:disabled { opacity: 1; }
.stage {
  height: 100%;
  min-height: 100%;
}
.phone {
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: #F5EDD9;
  overflow: hidden;
  position: relative;
}
.screen { height: 100%; }
.login-screen {
  padding: 72px 24px 24px;
  text-align: center;
  color: #3d2914;
}
.login-screen h1 { margin: 0 0 8px; font-size: 22px; }
.lead, .status, .note { color: #6b5344; font-size: 13px; line-height: 1.6; }
.qr-box {
  width: 220px;
  height: 220px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-box img { width: 200px; height: 200px; }
.text-btn {
  margin-top: 12px;
  border: 0;
  background: #7C4822;
  color: #fff;
  border-radius: 22px;
  padding: 10px 22px;
}
#app-view { height: 100%; }
.form-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #F5EDD9;
  padding-bottom: calc(54px + env(safe-area-inset-bottom));
}
.tab-page {
  height: 100%;
  overflow: auto;
  background: #F5EDD9;
  padding-bottom: calc(62px + env(safe-area-inset-bottom));
}
.sub-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #F5EDD9;
}
.sub-scroll { flex: 1; overflow: auto; padding-bottom: 24px; }
.nav-bar {
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 17px;
  font-weight: 600;
  color: #2C1A0E;
  background: #F5EDD9;
}
.nav-back {
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: #2C1A0E;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 6px 16px;
  min-height: 125px;
  flex-shrink: 0;
}
.hero-left { flex: 1; min-width: 0; z-index: 1; }
.hero-title {
  font-size: 24px;
  font-weight: 800;
  color: #2C1A0E;
  line-height: 1.28;
}
.hero-highlight { color: #C08A45; }
.hero-sub { margin-top: 7px; font-size: 12px; color: #9A7B55; }
.hero-img {
  width: 165px;
  max-width: 42%;
  height: auto;
  aspect-ratio: 165 / 143;
  margin-left: -12px;
  object-fit: contain;
  flex-shrink: 0;
}
.content-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -3px 12px rgba(100, 60, 20, 0.06);
  overflow: hidden;
}
.steps-bar {
  display: flex;
  position: relative;
  padding: 14px 18px 9px;
  flex-shrink: 0;
}
.steps-track-line {
  position: absolute;
  top: 24px;
  left: 36px;
  right: 36px;
  height: 2px;
  background: #E8DCC8;
}
.step-item { width: 25%; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.step-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dot-active, .dot-done { background: #7C4822; }
.dot-active { box-shadow: 0 2px 7px rgba(124, 72, 34, 0.4); }
.dot-idle { background: #fff; border: 1.5px solid #DDD0BC; }
.dot-num { font-size: 11px; font-weight: 700; color: #fff; }
.dot-num-idle { color: #BBA890; }
.step-label { margin-top: 5px; font-size: 10px; color: #A08060; white-space: nowrap; }
.label-active { color: #7C4822; font-weight: 700; }
.q-scroll { flex: 1; overflow: auto; }
.q-body { padding: 0 12px 8px; }
.section-head { display: flex; align-items: center; padding: 8px 2px 7px; }
.section-icon { font-size: 17px; margin-right: 5px; }
.section-name { font-size: 15px; font-weight: 700; color: #5C3118; }
.q-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px 12px 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(100, 60, 20, 0.07);
}
.q-title { display: flex; align-items: flex-start; flex-wrap: wrap; margin-bottom: 9px; }
.q-num { font-size: 14px; font-weight: 700; color: #7C4822; margin-right: 2px; }
.q-required { color: #D9534F; font-size: 14px; margin-right: 3px; }
.q-text { font-size: 14px; color: #3A2010; font-weight: 600; line-height: 1.5; flex: 1; }
.q-tip {
  font-size: 11px;
  color: #B07030;
  background: rgba(176, 112, 48, 0.1);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
}
.q-input, .q-textarea {
  width: 100%;
  background: #FAF6F0;
  border: 1px solid #EAD8C0;
  border-radius: 6px;
  color: #3A2010;
  font-size: 14px;
}
.q-input { height: 40px; padding: 0 10px; }
.q-textarea { min-height: 70px; padding: 8px 10px; resize: none; }
.q-input-follow { margin-top: 8px; }
.q-count { text-align: right; font-size: 11px; color: #C0A880; margin-top: 4px; }
.opt-grid { display: flex; flex-wrap: wrap; justify-content: space-between; }
.opt-item {
  width: 48%;
  display: flex;
  align-items: center;
  background: #FDFAF6;
  border: 1px solid #EAD8C0;
  border-radius: 7px;
  padding: 9px 7px;
  margin-bottom: 7px;
  cursor: pointer;
}
.opt-item.opt-selected { background: rgba(124, 72, 34, 0.06); border-color: #7C4822; }
.opt-radio, .opt-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid #D0B898;
  margin-right: 9px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.opt-radio { border-radius: 50%; }
.opt-checkbox { border-radius: 4px; }
.opt-item.opt-selected .opt-radio { border-color: #7C4822; }
.opt-radio-fill { width: 10px; height: 10px; border-radius: 50%; background: #7C4822; }
.opt-item.opt-selected .opt-checkbox { background: #7C4822; border-color: #7C4822; color: #fff; font-size: 12px; }
.opt-text { font-size: 14px; color: #3A2010; line-height: 1.4; }
.opt-item.opt-selected .opt-text { color: #5C3118; font-weight: 600; }
.opt-list-full { display: flex; flex-direction: column; gap: 7px; }
.opt-pref-item {
  display: flex;
  align-items: center;
  background: #FDFAF6;
  border: 1px solid #EAD8C0;
  border-radius: 7px;
  padding: 10px;
  cursor: pointer;
}
.opt-pref-item.opt-selected { background: rgba(124, 72, 34, 0.06); border-color: #7C4822; }
.opt-pref-desc { display: block; font-size: 11px; color: #A08060; margin-top: 2px; }
.footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 14px;
  background: #fff;
  flex-shrink: 0;
}
.footer-prev, .footer-next {
  height: 44px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-prev {
  flex: 1;
  border: 1px solid #C09868;
  background: #fff;
  color: #7C4822;
  font-size: 13px;
  font-weight: 600;
}
.footer-prev-hidden { opacity: 0; pointer-events: none; }
.footer-next {
  flex: 2;
  border: 0;
  background: #7C4822;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(124, 72, 34, 0.32);
}
.footer-progress { flex: 1; font-size: 11px; color: #A08060; text-align: center; }
.report-panel { overflow: auto; padding: 12px; }
.report { line-height: 1.7; font-size: 14px; color: #3A2010; }
.report h2 { font-size: 18px; margin: 18px 0 6px; }
.report h3 { font-size: 16px; margin: 14px 0 6px; }
.card {
  border: 1px solid #eadfce;
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}
.list button, .item-btn {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}
.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(54px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  display: flex;
  border-top: 1px solid #f0e6d8;
  box-sizing: border-box;
}
.tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: #A08060;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.tab img { width: 22px; height: 22px; }
.tab.on { color: #7C4822; }
.stream { white-space: pre-wrap; }
.warn { color: #9a3412; font-size: 12px; padding: 0 12px 8px; }

.user-row { display: flex; align-items: center; gap: 9px; }
.avatar, .menu-avatar, .form-avatar {
  border-radius: 50%;
  background: #E8D9C4;
  object-fit: cover;
  flex-shrink: 0;
}
.avatar { width: 48px; height: 48px; border: 1.5px solid rgba(124, 72, 34, 0.15); }
.hero-id { margin-top: 5px; font-size: 12px; color: #9A7B55; }
.feature-bar {
  margin: 2px 14px 12px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  display: flex;
  align-items: center;
}
.feature-item { flex: 1; display: flex; align-items: center; min-width: 0; }
.feature-gap { width: 1px; height: 26px; background: rgba(124, 72, 34, 0.12); margin: 0 5px; }
.feature-icon {
  width: 26px; height: 26px; border-radius: 50%; background: #F0E4D4;
  color: #7C4822; font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; margin-right: 5px; flex-shrink: 0;
}
.feature-texts { display: flex; flex-direction: column; min-width: 0; }
.feature-title { font-size: 12px; font-weight: 700; color: #5C3118; }
.feature-desc { font-size: 9px; color: #A08060; margin-top: 3px; }
.menu-card {
  margin: 6px 14px 0; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 9px rgba(100, 60, 20, 0.06);
}
.menu-item {
  width: 100%; border: 0; border-bottom: 1px solid #F0E6D8; background: #fff;
  display: flex; align-items: center; padding: 15px 14px; text-align: left; font: inherit;
}
.menu-item-last { border-bottom: 0; }
.menu-icon-wrap {
  width: 36px; height: 36px; border-radius: 50%; background: #F5EBDC;
  margin-right: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mi-doc, .mi-file { width: 14px; height: 17px; border: 1.5px solid #7C4822; border-radius: 2px; position: relative; }
.mi-doc::before, .mi-file::after {
  content: ''; position: absolute; left: 2px; right: 2px; height: 1.5px; background: #7C4822;
}
.mi-doc::before { top: 4px; box-shadow: 0 3.5px 0 #7C4822, 0 7px 0 #7C4822; }
.mi-file::after { top: 7px; box-shadow: 0 3.5px 0 #7C4822; }
.mi-user { width: 14px; height: 14px; border: 1.5px solid #7C4822; border-radius: 50%; position: relative; margin-top: -5px; }
.mi-user::after {
  content: ''; position: absolute; left: -3px; right: -3px; bottom: -8px; height: 7px;
  border: 1.5px solid #7C4822; border-bottom: 0; border-radius: 8px 8px 0 0;
}
.mi-info { width: 16px; height: 16px; border: 1.5px solid #7C4822; border-radius: 50%; position: relative; }
.mi-info::before, .mi-info::after {
  content: ''; position: absolute; left: 6px; width: 1.5px; background: #7C4822; border-radius: 1px;
}
.mi-info::before { top: 3px; height: 1.5px; }
.mi-info::after { top: 6px; height: 5px; }
.menu-texts { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.menu-title { font-size: 14px; font-weight: 700; color: #3A2010; }
.menu-desc { font-size: 11px; color: #A08060; margin-top: 3px; }
.menu-arrow { font-size: 18px; color: #C09868; margin-left: 6px; }
.menu-avatar { width: 36px; height: 36px; margin-right: 10px; }
.menu-pill {
  padding: 5px 11px; background: #F3E8D8; color: #5C3118; border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-right: 4px;
}
.action-section { margin: 14px 14px 0; }
.btn-logout, .btn-danger {
  width: 100%; border-radius: 24px; padding: 13px; text-align: center; font-size: 14px; font-weight: 700;
}
.btn-logout { background: #7C4822; color: #fff; border: 0; margin-bottom: 9px; }
.btn-danger { background: #fff; color: #E85A55; border: 1px solid rgba(232, 90, 85, 0.5); }
.version-info { text-align: center; padding: 24px 0 10px; }
.version-text { font-size: 12px; color: #A08060; }
.copyright { margin-top: 4px; font-size: 11px; color: #C09868; }

.stats-card {
  margin: 4px 14px 0; background: #fff; border-radius: 12px; padding: 4px 4px 0;
  display: flex; box-shadow: 0 2px 10px rgba(100, 60, 20, 0.06);
}
.stat-item {
  flex: 1; display: flex; align-items: center; padding: 12px 8px 14px; position: relative;
  border: 0; background: transparent; text-align: left; font: inherit;
}
.stat-item::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
}
.stat-active::after { background: #7C4822; }
.stat-icon {
  width: 32px; height: 32px; border-radius: 50%; background: #F3E8D8;
  display: flex; align-items: center; justify-content: center; margin-right: 7px;
}
.doc-sheet { width: 13px; height: 16px; border: 1.5px solid #7C4822; border-radius: 2px; position: relative; display: block; }
.doc-sheet::after {
  content: ''; position: absolute; left: 2px; right: 2px; top: 4px; height: 1.5px; background: #7C4822;
  box-shadow: 0 3.5px 0 #7C4822;
}
.star-char { font-size: 16px; color: #7C4822; }
.stat-texts { display: flex; flex-direction: column; }
.stat-label { font-size: 11px; color: #A08060; }
.stat-active .stat-label { color: #7C4822; font-weight: 600; }
.stat-num { font-size: 17px; font-weight: 800; color: #3A2010; }
.stat-unit { margin-left: 2px; font-size: 11px; font-weight: 600; color: #3A2010; }
.stat-divider { width: 1px; margin: 12px 0 16px; background: #EAD8C0; }
.lib-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 9px; }
.section-title { font-size: 15px; font-weight: 700; color: #3A2010; }
.sort-btn { border: 0; background: transparent; color: #A08060; font-size: 12px; display: flex; align-items: center; gap: 2px; }
.list { padding: 0 14px 8px; }
.item-card {
  background: #fff; border-radius: 14px; margin-bottom: 12px; overflow: hidden;
  box-shadow: 0 3px 12px rgba(100, 60, 20, 0.07);
}
.card-body { display: flex; align-items: flex-start; padding: 14px 12px 11px; }
.thumb {
  width: 56px; height: 56px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-right: 10px; flex-shrink: 0; font-size: 24px;
}
.thumb-a { background: linear-gradient(145deg, #FFF3E0, #F5E0C8); }
.thumb-b { background: linear-gradient(145deg, #EAF4FF, #D8E8F8); }
.thumb-c { background: linear-gradient(145deg, #EEF8EA, #D8EFD0); }
.card-main { flex: 1; min-width: 0; }
.title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.item-title {
  flex: 1; font-size: 14px; font-weight: 700; color: #1F140C; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.badge { display: flex; align-items: center; background: #E8F6EC; padding: 3px 7px; border-radius: 12px; flex-shrink: 0; }
.badge-check, .badge-text { font-size: 10px; color: #3D8B3D; font-weight: 700; }
.badge-warn { background: #FFF3E0; }
.badge-warn .badge-text { color: #B07030; }
.badge-mute { background: #F0E4D0; }
.badge-mute .badge-text { color: #A08060; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.tag { font-size: 10px; color: #8A8A8A; background: #F3F3F3; padding: 3px 7px; border-radius: 4px; }
.meta-line { display: block; margin-top: 7px; font-size: 11px; color: #A0A0A0; }
.card-foot { border-top: 1px solid #F0F0F0; padding: 14px 14px 15px; }
.card-foot-disabled { opacity: 0.7; }
.detail-btn {
  width: 100%;
  height: 44px;
  padding: 0 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FBF6EF 0%, #F3E6D6 100%);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(180, 140, 100, 0.12);
  cursor: pointer;
}
.detail-btn-muted { cursor: default; }
.detail-main { display: flex; align-items: center; justify-content: center; gap: 6px; }
.detail-orb {
  width: 22px; height: 22px; border-radius: 50%; background: #E6D4BE;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.detail-orb-right {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px;
}
.detail-doc {
  width: 9px; height: 11px; border: 1px solid #5C3A1E; border-radius: 1px;
  display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0 1px;
}
.detail-doc i { display: block; width: 100%; height: 1px; background: #5C3A1E; }
.detail-doc i.short { width: 65%; }
.detail-text { font-size: 14px; font-weight: 600; color: #3A2412; line-height: 1.2; }
.detail-arrow { font-size: 13px; color: #5C3A1E; font-weight: 700; line-height: 1; }
.card-actions { display: flex; gap: 10px; padding: 10px 12px 12px; border-top: 1px dashed #E8DCC8; }
.btn-cancel, .btn-pay {
  flex: 1; height: 36px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.btn-cancel { background: #fff; border: 1px solid #B8956E; color: #7C4822; }
.btn-pay { background: #7C4822; border: 1px solid #7C4822; color: #fff; }
.list-end { display: block; text-align: center; font-size: 11px; color: #C09868; padding: 6px 0; }
.empty-box { display: flex; flex-direction: column; align-items: center; padding: 40px 24px; text-align: center; }
.empty-title { font-size: 15px; font-weight: 700; color: #3A2010; }
.empty-desc { font-size: 12px; color: #A08060; margin: 6px 0 20px; }
.btn-go {
  width: 160px; height: 40px; border: 0; border-radius: 20px; background: #7C4822; color: #fff; font-weight: 700;
}

.page-header { padding: 16px 16px 12px; }
.page-title { font-size: 22px; font-weight: 700; color: #3A2010; }
.page-sub { margin-top: 5px; font-size: 13px; color: #8B6A42; }
.gen-steps { display: flex; position: relative; padding: 4px 20px 12px; }
.gen-steps-track { position: absolute; top: 14px; left: 40px; right: 40px; height: 2px; background: #DDD0BC; }
.gen-steps-track-done { height: 100%; background: #7C4822; }
.gen-step-item { width: 25%; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.gen-step-dot { width: 21px; height: 21px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.gsd-active, .gsd-done { background: #7C4822; }
.gsd-idle { background: #fff; border: 1.5px solid #DDD0BC; color: #BBA890; }
.gen-step-label { margin-top: 5px; font-size: 10px; color: #A08060; }
.gsl-active, .gsl-done { color: #7C4822; font-weight: 700; }
.gen-card, .report-card, .consult-card, .plan-card {
  margin: 0 12px 10px; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(100, 60, 20, 0.1);
}
.gen-card { padding: 14px 12px; }
.gen-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.gen-card-title { font-size: 15px; font-weight: 700; color: #3A2010; }
.gen-live-badge { display: flex; align-items: center; gap: 4px; color: #E85D5D; font-size: 11px; }
.gen-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #E85D5D; display: inline-block; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.gen-check-item { display: flex; align-items: center; padding: 5px 0; border-bottom: 1px solid #F5EDD9; font-size: 13px; color: #8B6A42; }
.gen-check-icon {
  width: 18px; height: 18px; border-radius: 50%; background: #EAD8C0; margin-right: 8px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px;
}
.gen-check-icon.check-done { background: #7C4822; color: #fff; }
.check-text-done { color: #3A2010; }
.gen-stream-preview { background: #FAF6F0; border-radius: 7px; padding: 8px 9px; margin: 8px 0; }
.gen-stream-label { font-size: 11px; color: #B07030; font-weight: 600; margin-bottom: 4px; }
.gen-stream-content { font-size: 13px; color: #3A2010; line-height: 1.7; }
.gen-stream-content h2, .gen-stream-content h3 { margin: 10px 0 4px; font-size: 15px; font-weight: 700; color: #3A2010; }
.gen-stream-content p { margin: 0 0 6px; }
.gen-stream-content table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 8px 0; }
.gen-stream-content th, .gen-stream-content td { border: 1px solid #E8D5B8; padding: 6px; vertical-align: top; }
.gen-stream-content th { background: #F3E6D0; }
.gen-progress-track { height: 3px; background: rgba(124, 72, 34, 0.12); border-radius: 3px; overflow: hidden; position: relative; }
.gen-progress-fill {
  position: absolute; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, #B07030, transparent);
  animation: progress-slide 2s infinite;
}
@keyframes progress-slide { from { left: -30%; } to { left: 100%; } }
.gen-wait-tip { text-align: center; font-size: 11px; color: #A08060; margin-top: 8px; }
.report-card { overflow: hidden; }
.report-card-header { background: #7C4822; padding: 10px 12px; }
.report-card-title { color: #fff; font-size: 14px; font-weight: 700; }
.report-body { padding: 12px; font-size: 14px; color: #3A2010; line-height: 1.7; }
.report-body h2, .report-body h3 { margin: 12px 0 6px; font-size: 16px; }
.report-body p { margin: 0 0 8px; }
.report-body table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 8px 0; }
.report-body th, .report-body td { border: 1px solid #E8D5B8; padding: 6px; vertical-align: top; }
.report-body th { background: #F3E6D0; }
.consult-card { display: block; width: calc(100% - 24px); padding: 8px 12px; border: 0; text-align: left; font-weight: 700; line-height: 1.7; }
.consult-text { font-size: 13px; color: #3A2010; }
.consult-link { font-size: 13px; color: #B07030; text-decoration: underline; }
.plans-section { margin: 0 12px 16px; }
.plans-title { font-size: 15px; font-weight: 700; color: #3A2010; }
.plans-sub { font-size: 11px; color: #A08060; margin: 3px 0 8px; }
.plan-card { margin: 0 0 8px; padding: 12px; }
.plan-top, .plan-footer { display: flex; justify-content: space-between; align-items: flex-start; }
.plan-name { font-size: 15px; font-weight: 700; color: #3A2010; flex: 1; padding-right: 8px; }
.plan-match-badge { background: rgba(124, 72, 34, 0.08); border-radius: 6px; padding: 4px 8px; text-align: center; }
.match-val { display: block; font-size: 14px; font-weight: 700; color: #7C4822; }
.match-lbl { font-size: 10px; color: #A08060; }
.plan-scores { display: flex; gap: 8px; margin: 8px 0; }
.score-pill { background: #FAF6F0; border-radius: 15px; padding: 4px 9px; font-size: 12px; color: #A08060; }
.score-val { font-weight: 700; color: #3A2010; margin-left: 4px; }
.score-green { color: #3D8B3D; }
.plan-meta { border-top: 1px solid #F0E4D0; padding-top: 7px; margin-bottom: 7px; }
.meta-row { display: flex; font-size: 12px; line-height: 1.6; margin-bottom: 4px; }
.meta-key { color: #A08060; width: 36px; flex-shrink: 0; }
.plan-footer { border-top: 1px solid #F0E4D0; padding-top: 8px; align-items: center; }
.plan-price { font-size: 16px; font-weight: 700; color: #D9534F; }
.plan-bought-tip { display: block; font-size: 11px; color: #3D8B3D; }
.btn-buy, .btn-down {
  border: 0; border-radius: 18px; background: #7C4822; color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px;
}

.about-page { padding: 14px; }
.about-card {
  display: block; width: 100%; text-align: left; background: #fff; border: 0; border-radius: 10px;
  padding: 16px 18px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(124, 72, 34, 0.04); font: inherit;
}
.about-hero { text-align: center; padding: 24px 20px 20px; }
.app-name { font-size: 20px; font-weight: 800; color: #7C4822; }
.app-ver { margin-top: 8px; font-size: 12px; color: #A08060; }
.app-desc, .about-body { margin-top: 14px; font-size: 13px; color: #5C4030; line-height: 1.7; text-align: left; font-weight: 400; }
.about-label { font-size: 12px; color: #A08060; margin-bottom: 6px; }
.about-value { font-size: 15px; color: #2C1A0E; font-weight: 600; }
.about-link { color: #7C4822; }
.about-hint { margin-top: 6px; font-size: 11px; color: #B09070; }

.sheet-mask {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 30;
  display: flex; align-items: flex-end;
}
.sheet-center { align-items: center; justify-content: center; padding: 24px; }
.editor-sheet {
  width: 100%; background: #FFFBF5; border-radius: 14px 14px 0 0; padding: 18px 16px 16px;
}
.editor-title { text-align: center; font-size: 17px; font-weight: 800; color: #2C1A0E; }
.editor-sub { text-align: center; margin-top: 5px; font-size: 12px; color: #9A7B55; }
.profile-form { margin-top: 14px; background: #fff; border-radius: 10px; border: 1px solid #EADCC8; }
.form-row { display: flex; align-items: center; padding: 12px 14px; border-bottom: 1px solid #F0E6D8; min-height: 50px; }
.form-row-last { border-bottom: 0; }
.form-label { width: 50px; font-size: 14px; color: #5C3118; font-weight: 600; }
.form-avatar-btn { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; cursor: pointer; }
.form-avatar { width: 44px; height: 44px; }
.form-link { font-size: 13px; color: #9A7B55; }
.form-nick { flex: 1; border: 0; text-align: right; font-size: 14px; color: #2C1A0E; background: transparent; }
.editor-use {
  margin-top: 18px; width: 100%; height: 44px; border: 0; border-radius: 999px;
  background: #7C4822; color: #fff; font-size: 15px; font-weight: 700;
}
.editor-skip { display: block; width: 100%; margin-top: 10px; border: 0; background: transparent; color: #A08060; font-size: 13px; }
.agree-scroll { margin-top: 10px; max-height: 280px; overflow: auto; }
.agree-sec-h { font-size: 14px; font-weight: 700; color: #3A2010; margin: 10px 0 4px; }
.agree-sec-b { font-size: 12px; color: #5C4030; line-height: 1.7; white-space: pre-wrap; }
.agree-switch { display: flex; gap: 8px; margin-top: 10px; }
.agree-switch button { flex: 1; border: 1px solid #EAD8C0; background: #fff; border-radius: 16px; padding: 6px; color: #7C4822; font-size: 12px; }
.pn-card { width: 100%; background: #fff; border-radius: 12px; overflow: hidden; }
.pn-title { text-align: center; padding: 18px 16px 10px; font-size: 17px; font-weight: 700; }
.pn-body { padding: 4px 18px 14px; }
.pn-body p { margin: 0; font-size: 14px; color: #4a4a4a; line-height: 1.7; }
.pn-actions { display: flex; border-top: 1px solid #ebebeb; }
.pn-btn { flex: 1; height: 48px; border: 0; background: #fff; font-size: 15px; font-weight: 600; color: #666; }
.pn-ok { color: #7C4822; border-left: 1px solid #ebebeb; }
.tabbar.tab-hidden { display: none; }
