/* ============================================================
   益善网络 V2.0 - 居民移动端样式
   移动优先设计，320/375/430px 适配，无横向滚动
   复用 v2-core.css 的颜色和字体变量
   ============================================================ */

/* ===== 页面容器 ===== */
.v2-resident-page {
  min-height: 100vh;
  padding-bottom: 70px; /* 底部导航预留 */
  background: #f5f5f5;
  box-sizing: border-box;
}

.v2-resident-page.has-bottom-nav {
  padding-bottom: 70px;
}

/* ===== 底部导航栏 ===== */
.v2-resident-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  border-top: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.06);
}

.v2-resident-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  text-decoration: none;
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-nav-item.active {
  color: var(--brand);
}

.v2-resident-nav-item .nav-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 2px;
}

/* ===== 首页（Home）===== */
.v2-resident-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px);
  padding: 40px 24px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-darkest) 0%, var(--brand-dark) 50%, var(--brand) 100%);
}

/* 古桥纹理背景，与 V1 主站首页 Hero 一致 */
.v2-resident-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/bridge.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.v2-resident-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(200, 164, 92, 0.12) 0%, transparent 60%);
  z-index: 0;
}

.v2-resident-home > * {
  position: relative;
  z-index: 1;
}

.v2-resident-home-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.v2-resident-home-hero {
  text-align: center;
  margin-bottom: 40px;
}

.v2-resident-home-hero h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.v2-resident-home-hero p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.v2-resident-home-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

.v2-resident-home-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-home-btn:active {
  transform: scale(0.97);
}

.v2-resident-home-btn.tasks {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 4px 14px rgba(74, 24, 24, 0.3);
}

.v2-resident-home-btn.report {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 4px 14px rgba(200, 164, 92, 0.3);
  color: var(--brand-darkest);
}

.v2-resident-home-btn .btn-icon {
  font-size: 24px;
  line-height: 1;
}

/* ===== 任务大厅 ===== */
.v2-resident-task-hall {
  padding: 16px;
  box-sizing: border-box;
}

.v2-resident-task-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.v2-resident-task-header h3 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
}

.v2-resident-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--brand);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-back-btn:active {
  background: var(--gray-100);
}

/* 排序按钮栏 */
.v2-resident-sort-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.v2-resident-sort-btn {
  flex: none;
  min-width: 88px;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-600);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-sort-btn.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

/* ===== 任务卡片 ===== */
.v2-resident-task-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-task-card:active {
  transform: scale(0.98);
}

.v2-resident-task-card .task-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.v2-resident-task-card .task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.v2-resident-task-card .task-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.v2-resident-task-card .task-points {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #e65100;
  background: #fff3e0;
  border-radius: 10px;
  white-space: nowrap;
}

.v2-resident-task-card .task-deadline {
  color: #c5221f;
  font-weight: 500;
}

/* ===== 任务详情页 ===== */
.v2-resident-detail {
  padding: 16px;
  box-sizing: border-box;
}

/* 任务详情顶部封面 banner：尺寸/圆角对齐商品详情页头图 */
.v2-resident-detail .task-detail-cover {
  width: 100%;
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #8B3A3A 0%, #b5485a 100%);
}
.v2-resident-detail .task-detail-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v2-resident-detail .detail-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.v2-resident-detail .detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.v2-resident-detail .detail-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.v2-resident-detail .detail-row:last-child {
  border-bottom: none;
}

.v2-resident-detail .detail-label {
  flex: 0 0 72px;
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.v2-resident-detail .detail-value {
  flex: 1;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}

.v2-resident-detail .detail-actions {
  padding: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-resident-detail .detail-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-detail .detail-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.v2-resident-detail .detail-action-btn.primary {
  background: var(--brand);
  color: #fff;
}

.v2-resident-detail .detail-action-btn.primary:active:not(:disabled) {
  background: var(--brand-dark);
}

.v2-resident-detail .detail-action-btn.done {
  background: #e6f4ea;
  color: #137333;
  cursor: default;
}

/* ===== 状态标签（任务/问题）===== */
.v2-resident-status-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  white-space: nowrap;
}

.v2-resident-status-tag.recruiting {
  background: var(--brand-bg);
  color: var(--brand);
}

.v2-resident-status-tag.claimed {
  background: #fef7e0;
  color: #b06000;
}

.v2-resident-status-tag.submitted {
  background: var(--brand-bg);
  color: var(--brand);
}

.v2-resident-status-tag.approved,
.v2-resident-status-tag.accepted {
  background: #e6f4ea;
  color: #137333;
}

.v2-resident-status-tag.rejected {
  background: #fce8e6;
  color: #c5221f;
}

.v2-resident-status-tag.new {
  background: var(--brand-bg);
  color: var(--brand);
}

.v2-resident-status-tag.processing,
.v2-resident-status-tag.converted_to_task {
  background: #fef7e0;
  color: #b06000;
}

.v2-resident-status-tag.closed,
.v2-resident-status-tag.completed {
  background: #e6f4ea;
  color: #137333;
}

/* ===== 问题上报表单 ===== */
.v2-resident-report-form {
  padding: 16px;
  box-sizing: border-box;
  max-width: 480px;
  margin: 0 auto;
}

.v2-resident-report-form h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 20px 0;
}

.v2-resident-report-form .form-group {
  margin-bottom: 20px;
}

.v2-resident-report-form .form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.v2-resident-report-form .form-label .required {
  color: #c5221f;
}

.v2-resident-report-form .form-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  color: var(--gray-700);
  transition: border-color 0.2s;
}

.v2-resident-report-form .form-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.12);
}

.v2-resident-report-form .form-input::placeholder {
  color: var(--gray-400);
}

.v2-resident-report-form .form-textarea {
  min-height: 120px;
  resize: vertical;
}

.v2-resident-report-form .submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-report-form .submit-btn:active {
  background: var(--brand-dark);
}

.v2-resident-report-form .submit-btn:disabled {
  background: var(--brand-lighter);
  cursor: not-allowed;
}

/* ===== 提交成果弹窗 ===== */
.v2-resident-submit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
  animation: v2-resident-fade-in 0.2s ease;
}

@keyframes v2-resident-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.v2-resident-submit-panel {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px 20px 32px;
  box-sizing: border-box;
  animation: v2-resident-slide-up 0.3s ease;
}

@keyframes v2-resident-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.v2-resident-submit-panel h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 16px 0;
  text-align: center;
}

.v2-resident-submit-panel .form-group {
  margin-bottom: 16px;
}

.v2-resident-submit-panel textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
}

.v2-resident-submit-panel textarea:focus {
  border-color: var(--brand);
}

.v2-resident-submit-panel .submit-actions {
  display: flex;
  gap: 10px;
}

.v2-resident-submit-panel .submit-actions button {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-submit-panel .btn-cancel {
  background: var(--gray-100);
  color: var(--gray-600);
}

.v2-resident-submit-panel .btn-confirm {
  background: var(--brand);
  color: #fff;
}

.v2-resident-submit-panel .btn-confirm:disabled {
  background: var(--brand-lighter);
  cursor: not-allowed;
}

/* ===== 照片网格 ===== */
.v2-resident-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.v2-resident-photo-grid .photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-resident-photo-grid .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-resident-photo-grid .photo-item .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 0;
}

.v2-resident-photo-grid .add-photo-btn {
  aspect-ratio: 1;
  border: 2px dashed var(--gray-200);
  border-radius: 10px;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--gray-500);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}

.v2-resident-photo-grid .add-photo-btn .plus {
  font-size: 28px;
  line-height: 1;
  color: var(--gray-400);
}

.v2-resident-photo-grid .photo-hint {
  font-size: 10px;
  color: var(--gray-400);
  text-align: center;
  grid-column: 1 / -1;
}

/* ===== 我的页面 ===== */
.v2-resident-me {
  padding: 16px;
  box-sizing: border-box;
}

.v2-resident-me .profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.v2-resident-me .avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.v2-resident-me .profile-info {
  flex: 1;
}

.v2-resident-me .profile-info .phone {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-800);
}

.v2-resident-me .profile-info .role-tag {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

.v2-resident-me .points-card {
  text-align: center;
  padding: 28px 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 14px;
  margin-bottom: 16px;
  color: #fff;
}

.v2-resident-me .points-card .points-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.v2-resident-me .points-card .points-label {
  font-size: 14px;
  opacity: 0.85;
}

.v2-resident-me .stats-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.v2-resident-me .stats-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-me .stats-card .stat-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.v2-resident-me .stats-card .stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-800);
}

.v2-resident-me .stats-card .stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}

.v2-resident-me .logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: #c5221f;
  background: #fff;
  border: 1px solid #fce8e6;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-me .logout-btn:active {
  background: #fce8e6;
}

/* ===== 我的页增强（3.0） ===== */
.v2-resident-me .profile-edit-btn {
  margin-left: auto;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--brand);
  background: var(--brand-bg);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-me .points-card.clickable {
  width: 100%;
  border: none;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-me .points-card.clickable:active {
  opacity: 0.92;
}

.v2-resident-me .contribution-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.v2-resident-me .contrib-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.v2-resident-me .contrib-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-800);
}

.v2-resident-me .contrib-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ---- 积分分类小计卡片 ---- */
.v2-resident-me .me-pts-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
  cursor: pointer;
}
.v2-resident-me .me-pts-cat {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.v2-resident-me .me-pts-cat-name {
  font-size: 12px;
  color: var(--gray-500);
}
.v2-resident-me .me-pts-cat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

/* ---- 首页三板块统一卡片（并排） ---- */
.me-banner-row {
  display: flex;
  gap: 10px;
  margin: 12px 0 16px;
}
.me-banner-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 16px 8px 14px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border-top: 3px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: background .15s;
}
.me-banner-card:active { background: var(--gray-50); }
.me-banner-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-800);
}
.me-banner-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* 三板块主题色（顶部色条 + 数字着色，统一款型） */
.me-theme-points    { border-top-color: var(--brand); }
.me-theme-points .me-banner-num    { color: var(--brand); }
.me-theme-tasks     { border-top-color: #1565c0; }
.me-theme-tasks .me-banner-num      { color: #1565c0; }
.me-theme-problems  { border-top-color: #e65100; }
.me-theme-problems .me-banner-num   { color: #e65100; }

/* ---- 分类卡片网格（二级页面） ---- */
.cat-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-left: 4px solid #ccc;
}
.cat-card:active { background: var(--gray-50); }
.cat-card-num { font-size: 32px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.cat-card-unit { font-size: 15px; font-weight: 600; margin-left: 2px; }
.cat-card-label { font-size: 13px; color: var(--gray-500); }
.cat-card-sub { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
/* 任务分类色 */
.cat-card-task.sec-cat-党建任务 { border-left-color: #c62828; }
.cat-card-task.sec-cat-党建任务 .cat-card-num { color: #c62828; }
.cat-card-task.sec-cat-治理任务 { border-left-color: #1565c0; }
.cat-card-task.sec-cat-治理任务 .cat-card-num { color: #1565c0; }
.cat-card-task.sec-cat-善学任务 { border-left-color: #2e7d32; }
.cat-card-task.sec-cat-善学任务 .cat-card-num { color: #2e7d32; }
.cat-card-task.sec-cat-志愿任务 { border-left-color: #e65100; }
.cat-card-task.sec-cat-志愿任务 .cat-card-num { color: #e65100; }
.cat-card-task.sec-cat-其他 { border-left-color: #757575; }
/* 问题分类色 */
.cat-card-prob.sec-cat-安全隐患 { border-left-color: #c62828; }
.cat-card-prob.sec-cat-安全隐患 .cat-card-num { color: #c62828; }
.cat-card-prob.sec-cat-环境卫生 { border-left-color: #2e7d32; }
.cat-card-prob.sec-cat-环境卫生 .cat-card-num { color: #2e7d32; }
.cat-card-prob.sec-cat-矛盾纠纷 { border-left-color: #6a1b9a; }
.cat-card-prob.sec-cat-矛盾纠纷 .cat-card-num { color: #6a1b9a; }
.cat-card-prob.sec-cat-设备故障 { border-left-color: #1565c0; }
.cat-card-prob.sec-cat-设备故障 .cat-card-num { color: #1565c0; }
.cat-card-prob.sec-cat-困难救助 { border-left-color: #e65100; }
.cat-card-prob.sec-cat-困难救助 .cat-card-num { color: #e65100; }
.cat-card-prob.sec-cat-其他 { border-left-color: #757575; }

.v2-resident-me .me-section-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.v2-resident-me .me-section-card.clickable:active {
  background: var(--gray-50);
}
.v2-resident-me .me-section-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.v2-resident-me .me-section-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1;
}
.v2-resident-me .me-section-label {
  font-size: 12px;
  color: var(--gray-400);
}
.v2-resident-me .me-section-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v2-resident-me .me-section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px;
}
.v2-resident-me .me-section-row-label {
  font-size: 13px;
  color: var(--gray-600);
}
.v2-resident-me .me-section-row-num {
  font-size: 13px;
  color: var(--gray-400);
}

/* ---- 记录页分类标题色块 ---- */
.record-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.record-section-title::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
/* 任务分类色 */
.sec-cat-党建任务::before { background: #c62828; }
.sec-cat-治理任务::before { background: #1565c0; }
.sec-cat-善学任务::before { background: #2e7d32; }
.sec-cat-志愿任务::before { background: #e65100; }
/* 问题分类色 */
.sec-cat-安全隐患::before { background: #c62828; }
.sec-cat-环境卫生::before { background: #2e7d32; }
.sec-cat-矛盾纠纷::before { background: #6a1b9a; }
.sec-cat-设备故障::before { background: #1565c0; }
.sec-cat-困难救助::before { background: #e65100; }
.sec-cat-其他::before     { background: #757575; }
/* 标题底色微调 */
.record-section-title {
  padding: 6px 10px;
  background: #fafafa;
  border-radius: 8px;
  border-left: 3px solid var(--gray-300);
}

/* ---- 任务分类列表（已废弃，保留兼容） ---- */
.v2-resident-me .contrib-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}
.v2-resident-me .contrib-header-count {
  font-weight: 400;
  font-size: 12px;
  color: var(--gray-400);
  margin-left: 4px;
}
.v2-resident-me .contrib-cat-row {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.v2-resident-me .contrib-cat-row.clickable:active {
  background: var(--gray-50);
}
.v2-resident-me .contrib-cat-label {
  flex: 1;
  font-size: 13px;
  color: var(--gray-700);
}
.v2-resident-me .contrib-cat-num {
  font-size: 13px;
  color: var(--gray-500);
  margin-right: 4px;
}
.v2-resident-me .contrib-cat-arrow {
  font-size: 18px;
  color: var(--gray-300);
}

/* 任务类别标签（任务大厅/详情/记录通用） */
.task-category-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #7a3e9d;
  background: #f3e8fd;
  border-radius: 10px;
  margin-bottom: 6px;
}

/* 任务大厅三态标签补色（display_state: open/in_progress/done） */
.v2-resident-status-tag.open {
  background: #e6f4ea;
  color: #137333;
}
.v2-resident-status-tag.in_progress {
  background: #fef7e0;
  color: #b06000;
}
.v2-resident-status-tag.done {
  background: var(--gray-300);
  color: var(--gray-600);
}

/* ===== 记录页增强（3.0） ===== */
.v2-resident-records .record-cat {
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #7a3e9d;
  background: #f3e8fd;
  border-radius: 8px;
}

.v2-resident-records .record-points {
  font-size: 12px;
  font-weight: 600;
  color: #e65100;
}

.v2-resident-records .record-dest {
  font-size: 12px;
  color: var(--brand);
}

.v2-resident-records .record-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ===== 积分明细（3.0） ===== */
.v2-resident-points-detail {
  padding: 16px;
  box-sizing: border-box;
}

.v2-resident-points-detail h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 16px 0;
}

.v2-resident-points-detail .points-balance-line {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.v2-resident-points-detail .points-balance-line strong {
  font-size: 20px;
  color: var(--gray-800);
}

.v2-resident-points-detail .points-ledger-list {
  background: #fff;
  border-radius: 12px;
  padding: 4px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.v2-resident-points-detail .ledger-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.v2-resident-points-detail .ledger-item:last-child {
  border-bottom: none;
}

.v2-resident-points-detail .ledger-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v2-resident-points-detail .ledger-src {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
}

.v2-resident-points-detail .ledger-reason {
  font-size: 12px;
  color: var(--gray-500);
}

.v2-resident-points-detail .ledger-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.v2-resident-points-detail .ledger-delta {
  font-size: 16px;
  font-weight: 700;
}

.v2-resident-points-detail .ledger-delta.plus { color: #137333; }
.v2-resident-points-detail .ledger-delta.minus { color: #c5221f; }

.v2-resident-points-detail .ledger-date {
  font-size: 11px;
  color: var(--gray-400);
}

.v2-resident-points-detail .ledger-balance {
  font-size: 11px;
  color: var(--gray-500);
}

/* 我的页贡献栏可点击 */
.v2-resident-me .contrib-item.clickable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.v2-resident-me .contrib-item.clickable:active {
  background: var(--gray-100);
  transform: scale(0.97);
}

/* 积分明细分区标题 */
.v2-resident-points-detail .points-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin: 18px 4px 8px;
}

/* 任务积分清单 */
.v2-resident-points-detail .task-earn-list {
  background: #fff;
  border-radius: 12px;
  padding: 0 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.v2-resident-points-detail .task-earn-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-points-detail .task-earn-item:last-child {
  border-bottom: none;
}

.v2-resident-points-detail .task-earn-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.v2-resident-points-detail .task-earn-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-resident-points-detail .task-earn-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

/* 积分分类汇总卡片 */
.pts-cat-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 16px;
}
.pts-cat-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.pts-cat-card .pts-cat-name {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.pts-cat-card .pts-cat-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.pts-cat-card .pts-cat-count {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* 积分明细分类分组标题 */
.pts-cat-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 4px 16px;
  margin: 8px 0 0;
}.v2-resident-points-detail .task-earn-meta .record-cat {
  margin-bottom: 0;
}

.v2-resident-points-detail .task-earn-points {
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 700;
  color: #137333;
}

/* 汇总统计 */
.v2-resident-points-detail .points-summary {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 12px;
  background: var(--brand-bg);
  border-radius: 14px;
}

.v2-resident-points-detail .summary-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.v2-resident-points-detail .summary-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
}

.v2-resident-points-detail .summary-label {
  font-size: 12px;
  color: var(--gray-600);
}

/* 我的记录副标题 */
.v2-resident-records .records-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0 2px 12px;
}

/* ===== 修改个人资料（3.0） ===== */
.v2-resident-profile-edit {
  padding: 16px;
  box-sizing: border-box;
  max-width: 480px;
  margin: 0 auto;
}

.v2-resident-profile-edit h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 16px 0;
}

.v2-resident-profile-edit .form-hint {
  font-size: 12px;
  color: var(--gray-500);
  margin: 4px 0 12px 0;
}

/* ===== 任务详情-我的提交照片（3.0） ===== */
.v2-resident-detail .submission-card {
  border: 1px solid var(--brand-bg);
}

.v2-resident-detail .submission-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.v2-resident-detail .submission-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--gray-100);
}

/* ===== 记录页 ===== */
.v2-resident-records {
  padding: 16px;
  box-sizing: border-box;
}

.v2-resident-records h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 16px 0;
}

.v2-resident-records .tab-bar {
  display: flex;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 16px;
}

.v2-resident-records .tab-btn {
  flex: 1;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-600);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-records .tab-btn.active {
  background: #fff;
  color: var(--gray-800);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.v2-resident-records .record-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 分类分段标题 */
.v2-resident-records .record-section {
  margin-bottom: 16px;
  margin-top: 22px;
}
.v2-resident-records .record-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 6px 0 8px 0;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 8px;
}
/* 进行中 / 已办结 整块色条 */
.v2-resident-records .record-section-title.bar-progress,
.v2-resident-records .record-section-title.bar-done {
  border-bottom: none;
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 10px;
  color: #fff;
  display: flex;
  align-items: center;
}
.v2-resident-records .record-section-title.bar-progress {
  background: #1565c0;
}
.v2-resident-records .record-section-title.bar-done {
  background: #2e7d32;
}
.v2-resident-records .record-section-title.bar-progress .record-section-count,
.v2-resident-records .record-section-title.bar-done .record-section-count {
  color: rgba(255, 255, 255, 0.85);
  margin-left: auto;
}
.v2-resident-records .record-section-count {
  font-weight: 400;
  font-size: 12px;
  color: var(--gray-400);
  margin-left: 6px;
}

.v2-resident-records .records-empty-hint {
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
  padding: 14px 0 4px;
}

.v2-resident-records .record-item:active {
  background: var(--gray-50);
}

.v2-resident-records .record-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 6px 0;
}

/* 记录副文本：主题下方的内容摘要（我的建议等） */
.v2-resident-records .record-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-500);
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v2-resident-records .record-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-500);
}

/* ===== 登录页 ===== */
.v2-resident-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 24px;
  box-sizing: border-box;
  background: #f5f5f5;
}

.v2-resident-login .login-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.v2-resident-login .login-card .login-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 16px auto;
}

.v2-resident-login .login-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-darkest);
  margin: 0 0 6px 0;
  text-align: center;
}

.v2-resident-login .login-card .subtitle {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
  margin: 0 0 24px 0;
}

.v2-resident-login .form-group {
  margin-bottom: 16px;
}

.v2-resident-login .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.v2-resident-login .phone-input-row {
  display: flex;
  gap: 10px;
}

.v2-resident-login .phone-input-row input {
  flex: 1;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
}

.v2-resident-login .phone-input-row input:focus {
  border-color: var(--brand);
}

.v2-resident-login .phone-input-row .sms-btn {
  flex: none;
  min-height: 48px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--brand);
  background: var(--brand-bg);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-login .phone-input-row .sms-btn:disabled {
  color: var(--gray-400);
  background: var(--gray-100);
  cursor: not-allowed;
}

.v2-resident-login .login-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.v2-resident-login .login-submit:disabled {
  background: var(--brand-lighter);
  cursor: not-allowed;
}

.v2-resident-login .login-error {
  font-size: 12px;
  color: #c5221f;
  min-height: 18px;
  margin-bottom: 8px;
  text-align: center;
}

/* ===== Toast ===== */
.v2-resident-toast {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 999;
  pointer-events: none;
  animation: v2-resident-toast-in 0.25s ease, v2-resident-toast-out 0.25s ease 1.5s forwards;
}

@keyframes v2-resident-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes v2-resident-toast-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ===== 加载中 ===== */
.v2-resident-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--gray-500);
  font-size: 14px;
  gap: 8px;
}

.v2-resident-loading .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: v2-spin 0.7s linear infinite;
}

/* ===== 响应式 ===== */
/* 320px 宽度适配 */
@media (max-width: 359px) {
  .v2-resident-home-hero h2 {
    font-size: 19px;
  }

  .v2-resident-home-btn {
    font-size: 15px;
    min-height: 50px;
    padding: 14px 20px;
  }

  .v2-resident-me .points-card .points-number {
    font-size: 40px;
  }

  .v2-resident-me .stats-card .stat-number {
    font-size: 24px;
  }

  .v2-resident-detail .detail-title {
    font-size: 19px;
  }

  .v2-resident-photo-grid {
    gap: 6px;
  }
}

/* 375px - 430px 适配 */
@media (min-width: 430px) {
  .v2-resident-page {
    max-width: 430px;
    margin: 0 auto;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
  }

  .v2-resident-bottom-nav {
    max-width: 430px;
    left: 50%;
    transform: translateX(-50%);
  }

  .v2-resident-login .login-card {
    max-width: 400px;
  }
}

/* ===== 我的页：头像 / 社区 / 手机号 ===== */
.v2-resident-me .profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.v2-resident-me .profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v2-resident-me .profile-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-800);
}
.v2-resident-me .profile-community {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 2px;
}
.v2-resident-me .profile-meta-row {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.v2-resident-me .meta-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.v2-resident-me .meta-label {
  font-size: 14px;
  color: var(--gray-500);
}
.v2-resident-me .meta-value {
  font-size: 14px;
  color: var(--gray-800);
  font-weight: 500;
}

/* ===== 下拉选择 ===== */
.v2-resident-report-form .form-select,
.v2-resident-profile-edit .form-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  color: var(--gray-800);
}
.v2-resident-report-form .form-select:focus,
.v2-resident-profile-edit .form-input:focus {
  border-color: var(--brand);
}

/* ===== 头像编辑 ===== */
.avatar-edit-group .avatar-edit-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar-edit-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.avatar-edit-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-edit-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-secondary {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--brand);
  background: var(--brand-bg);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn-secondary:active {
  background: #d2e3fc;
}
.btn-text-danger {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #c5221f;
  background: #fce8e6;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn-text-danger:active {
  background: #fad2cf;
}
.v2-resident-profile-edit .form-input:disabled {
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: not-allowed;
}

/* ===== 我的上报：问题类型标签 ===== */
.v2-resident-records .record-type-tag {
  display: inline-block;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 500;
  color: #e65100;
  background: #fff3e0;
  border-radius: 10px;
}
.v2-resident-records .record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.v2-resident-records .record-dest {
  font-size: 12px;
  color: var(--gray-600);
}

/* ===== V5.0 上报-接收社区提示 ===== */
.v2-resident-report-form .form-hint {
  font-size: 12px;
  color: var(--gray-500);
  margin: 4px 0 12px 0;
  line-height: 1.5;
}

/* ===== V5.0 任务大厅：社区来源 / 分页提示 ===== */
.v2-resident-task-card .task-community {
  margin-top: 6px;
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}
.v2-resident-task-hall .hall-footer {
  text-align: center;
  font-size: 12px;
  color: var(--gray-500);
  padding: 12px 0 24px;
}
