/* ===== 基础变量 & 重置 ===== */
:root {
  --green: #07c160;
  --green-dark: #05903e;
  --green-light: #e8f5e9;
  --green-bg: #f0f9f0;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-light: #999;
  --border: #eee;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --radius: 12px;
  --radius-sm: 8px;
  --tab-height: 56px;
  --nav-height: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 14px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--green-bg);
  color: var(--text-primary);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== 顶部导航 ===== */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--green);
  height: var(--nav-height);
}
.top-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 36px; height: 36px; background: rgba(255,255,255,.2);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px;
}
.logo-text { color: white; }
.logo-title { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.logo-sub { display: block; font-size: 10px; opacity: .8; }
.nav-right { display: flex; gap: 8px; }
.nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none;
  color: white; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.nav-btn:hover { background: rgba(255,255,255,.3); }

/* ===== 搜索 ===== */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6);
  display: none; flex-direction: column; padding-top: 60px;
}
.search-overlay.active { display: flex; }
.search-box {
  background: white; margin: 0 16px; border-radius: var(--radius);
  display: flex; align-items: center; padding: 12px 16px; gap: 10px;
}
.search-icon { color: var(--text-light); font-size: 18px; flex-shrink: 0; }
.search-box input {
  flex: 1; border: none; outline: none; font-size: 15px;
  background: transparent;
}
.search-box button {
  background: none; border: none; color: var(--text-light); font-size: 18px; cursor: pointer;
}
.search-results { background: white; margin: 8px 16px; border-radius: var(--radius); max-height: 400px; overflow-y: auto; }

/* ===== 页面系统 ===== */
.page { display: none; padding-bottom: calc(var(--tab-height) + 20px); }
.page.active { display: block; }
.page-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--green); color: white;
  position: sticky; top: 0; z-index: 90;
}
.page-header h2 { flex: 1; font-size: 17px; font-weight: 600; }
.back-btn {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.2); color: white; font-size: 20px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.add-btn {
  padding: 4px 12px; border-radius: 16px; border: none;
  background: rgba(255,255,255,.2); color: white; font-size: 13px;
  cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.admin-only {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.2); color: white; font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ===== Banner ===== */
.banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 30px 20px 24px;
  color: white;
}
.banner-inner { display: flex; justify-content: space-between; align-items: flex-start; }
.banner h1 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.banner p { font-size: 13px; opacity: .85; }
.banner-date { font-size: 12px; opacity: .8; text-align: right; }

/* ===== 跑马灯 ===== */
.notice-marquee {
  background: #fffde7; border-left: 4px solid #fdd835;
  display: flex; align-items: center; padding: 10px 12px; gap: 8px;
}
.marquee-icon { color: #f57f17; font-size: 16px; flex-shrink: 0; }
.marquee-wrap { flex: 1; overflow: hidden; }
.marquee-content {
  display: inline-block; white-space: nowrap;
  font-size: 13px; color: #5d4037; animation: marquee 20s linear infinite;
}
@keyframes marquee { 0%{transform:translateX(100%)} 100%{transform:translateX(-100%)} }

/* ===== 快捷入口 ===== */
.quick-entry { background: white; padding: 16px; margin: 12px 0; }
.entry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.entry-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; transition: transform .15s;
}
.entry-card:active { transform: scale(.95); }
.entry-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.entry-card span { font-size: 12px; color: var(--text-secondary); }

/* ===== 通用区块 ===== */
.section { background: white; margin: 12px 0; padding: 16px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.section-header h2 { font-size: 16px; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 6px; }
.section-header h2 i { color: var(--green); }
.more-btn { background: none; border: none; color: var(--text-light); font-size: 13px; cursor: pointer; }

/* ===== 工具卡片 ===== */
.tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.tool-card {
  background: var(--green-bg); border-radius: var(--radius);
  padding: 14px 8px; text-align: center; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.tool-card:active { transform: scale(.95); }
.tool-card i { font-size: 24px; color: var(--green); display: block; margin-bottom: 6px; }
.tool-card span { font-size: 12px; color: var(--text-secondary); }

/* ===== 动态列表 ===== */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: flex; gap: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-thumb {
  width: 70px; height: 52px; background: var(--green-light);
  border-radius: var(--radius-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--green);
}
.news-content { flex: 1; overflow: hidden; }
.news-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-meta { font-size: 12px; color: var(--text-light); }
.news-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 10px; margin-right: 6px; }

/* ===== Tab切换 ===== */
.tab-bar { display: flex; background: white; padding: 0 8px; border-bottom: 1px solid var(--border); }
.tab-btn {
  flex: 1; padding: 12px 4px; border: none; background: none;
  font-size: 14px; color: var(--text-secondary); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all .2s;
}
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }

/* ===== 公告列表 ===== */
.announce-list { padding: 0 16px; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.announce-card {
  background: white; border-radius: var(--radius); padding: 14px;
  cursor: pointer; transition: box-shadow .2s;
  border-left: 4px solid var(--green);
}
.announce-card:hover { box-shadow: var(--shadow); }
.announce-card.important { border-left-color: #f44336; }
.announce-card-title {
  font-size: 15px; font-weight: 600; margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 8px;
}
.tag { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: normal; flex-shrink: 0; }
.tag-red { background: #ffebee; color: #c62828; }
.tag-green { background: var(--green-light); color: var(--green-dark); }
.tag-orange { background: #fff3e0; color: #e65100; }
.tag-blue { background: #e3f2fd; color: #1565c0; }
.announce-preview { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.announce-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-light); }

/* ===== 表单 ===== */
.form-card { padding: 16px; background: white; margin: 12px 16px; border-radius: var(--radius); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.required { color: #e53935; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px;
  font-family: inherit; background: #fafafa;
  transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); background: white;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-primary {
  width: 100%; padding: 12px; border-radius: var(--radius);
  background: var(--green); color: white; border: none;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:active { transform: scale(.98); }
.btn-secondary {
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: var(--green-light); color: var(--green); border: none;
  font-size: 14px; cursor: pointer;
}

/* ===== 物业费 ===== */
.prop-banner {
  margin: 12px 16px; background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--radius); padding: 16px; color: white;
  display: flex; align-items: flex-start; gap: 12px;
}
.prop-banner i { font-size: 28px; opacity: .8; flex-shrink: 0; margin-top: 2px; }
.prop-label { font-size: 13px; opacity: .8; margin-bottom: 4px; }
.prop-desc { font-size: 14px; line-height: 1.5; }
.fee-cards { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.fee-card {
  background: white; border-radius: var(--radius); padding: 14px;
  display: flex; align-items: flex-start; gap: 12px;
  box-shadow: var(--shadow);
}
.fee-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--green-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--green);
}
.fee-info h3 { font-size: 15px; margin-bottom: 4px; }
.fee-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.fee-note { font-size: 12px; color: var(--text-light); margin-top: 4px; display: block; }
.prop-contact, .prop-guide {
  background: white; margin: 12px 16px; border-radius: var(--radius); padding: 16px;
}
.prop-contact h3, .prop-guide h3 {
  font-size: 15px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px; color: var(--text-primary);
}
.prop-contact h3 i, .prop-guide h3 i { color: var(--green); }
.contact-item {
  padding: 8px 0; font-size: 14px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px;
}
.contact-item:last-child { border-bottom: none; }
.contact-item i { color: var(--green); font-size: 16px; }
.contact-item strong { color: var(--text-primary); }
.guide-steps { display: flex; align-items: center; overflow-x: auto; gap: 4px; padding: 4px 0; }
.guide-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0;
}
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--green);
  color: white; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.guide-step span:last-child { font-size: 11px; color: var(--text-secondary); white-space: nowrap; }
.guide-arrow { color: var(--text-light); font-size: 18px; flex-shrink: 0; }

/* ===== 论坛 ===== */
.forum-filters, .market-filters {
  display: flex; gap: 6px; padding: 10px 16px; background: white;
  overflow-x: auto; border-bottom: 1px solid var(--border);
}
.filter-btn {
  padding: 5px 14px; border-radius: 16px; border: 1px solid var(--border);
  background: white; font-size: 13px; color: var(--text-secondary);
  cursor: pointer; white-space: nowrap; transition: all .2s; flex-shrink: 0;
}
.filter-btn.active { background: var(--green); color: white; border-color: var(--green); }
.forum-list { padding: 0 16px; margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.post-card {
  background: white; border-radius: var(--radius); padding: 14px;
  cursor: pointer; transition: box-shadow .2s;
}
.post-card:hover { box-shadow: var(--shadow); }
.post-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.post-user { font-size: 14px; font-weight: 600; }
.post-time { font-size: 12px; color: var(--text-light); }
.post-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.post-body { font-size: 13px; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-footer { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--text-light); }
.post-footer span { display: flex; align-items: center; gap: 4px; }
.post-footer i { font-size: 14px; }

/* ===== 二手市场 ===== */
.market-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 10px; padding: 12px 16px;
}
.market-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: box-shadow .2s, transform .15s;
}
.market-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.market-img {
  width: 100%; aspect-ratio: 1; background: #f5f5f5;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #ccc;
}
.market-info { padding: 10px; }
.market-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.market-price { font-size: 16px; color: #e53935; font-weight: 700; }
.market-tag { font-size: 11px; color: white; background: var(--green); padding: 1px 6px; border-radius: 3px; margin-left: 6px; font-weight: normal; }
.market-meta { font-size: 11px; color: var(--text-light); margin-top: 4px; }

/* ===== 活动 ===== */
.activity-list { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.activity-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.activity-cover {
  height: 140px; background: linear-gradient(135deg, var(--green), #4caf50);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 48px; opacity: .6; position: relative;
}
.activity-status {
  position: absolute; top: 10px; right: 10px;
  padding: 3px 10px; border-radius: 12px; font-size: 12px;
  background: rgba(255,255,255,.9); color: var(--green);
}
.activity-info { padding: 14px; }
.activity-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.activity-meta { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; display: flex; flex-direction: column; gap: 4px; }
.activity-meta span { display: flex; align-items: center; gap: 6px; }
.activity-meta i { color: var(--green); }
.activity-bar { background: #f5f5f5; border-radius: 8px; height: 8px; overflow: hidden; margin-bottom: 6px; }
.activity-progress { background: var(--green); height: 100%; border-radius: 8px; }
.activity-signup { font-size: 12px; color: var(--text-secondary); }
.activity-signup strong { color: var(--green); }
.activity-action { display: flex; gap: 8px; margin-top: 10px; }
.activity-action .btn-primary { flex: 1; font-size: 14px; padding: 9px; }

/* ===== 业委会 ===== */
.committee-banner {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  padding: 30px 20px; text-align: center; color: white;
}
.committee-banner i { font-size: 48px; opacity: .6; margin-bottom: 12px; display: block; }
.committee-banner h3 { font-size: 18px; margin-bottom: 8px; }
.committee-banner p { font-size: 13px; opacity: .85; }
.committee-section { background: white; margin: 12px 0; padding: 16px; }
.committee-section h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.committee-section h3 i { color: var(--green); }
.member-list { display: flex; flex-direction: column; gap: 12px; }
.member-card { display: flex; align-items: center; gap: 12px; }
.member-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.member-info h4 { font-size: 12px; color: var(--text-light); font-weight: normal; margin-bottom: 2px; }
.member-info p { font-size: 15px; font-weight: 600; }
.member-info span { font-size: 12px; color: var(--text-light); }
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: #fafafa; border-radius: var(--radius-sm); cursor: pointer;
  transition: background .2s;
}
.doc-item:hover { background: var(--green-bg); }
.doc-item .pdf { font-size: 28px; color: #e53935; }
.doc-info { flex: 1; }
.doc-name { display: block; font-size: 14px; font-weight: 600; }
.doc-date { font-size: 12px; color: var(--text-light); }
.doc-dl { color: var(--text-light); font-size: 18px; }
.info-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.info-card {
  background: var(--green-bg); border-radius: var(--radius); padding: 16px;
  text-align: center; cursor: pointer; transition: transform .15s;
}
.info-card:active { transform: scale(.95); }
.info-card i { font-size: 28px; color: var(--green); display: block; margin-bottom: 8px; }
.info-card span { font-size: 13px; color: var(--text-secondary); }

/* ===== 停车 ===== */
.parking-hero {
  background: linear-gradient(135deg, #455a64, #37474f);
  padding: 30px 20px; text-align: center; color: white;
}
.parking-hero i { font-size: 48px; opacity: .6; margin-bottom: 10px; display: block; }
.parking-hero h3 { font-size: 18px; margin-bottom: 6px; }
.parking-hero p { font-size: 13px; opacity: .8; }
.parking-rules, .parking-flow {
  background: white; margin: 12px 0; padding: 16px;
}
.parking-rules h3, .parking-flow h3 {
  font-size: 15px; font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px;
}
.parking-rules h3 i, .parking-flow h3 i { color: var(--green); }
.parking-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.parking-table th { background: var(--green-bg); color: var(--green-dark); padding: 8px 6px; font-weight: 600; text-align: left; }
.parking-table td { padding: 8px 6px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.access-system { background: white; margin: 12px 0; padding: 16px; }
.access-system h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.access-system h3 i { color: var(--green); }
.access-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.access-card {
  background: var(--green-bg); border-radius: var(--radius); padding: 16px;
  text-align: center;
}
.access-card i { font-size: 28px; color: var(--green); display: block; margin-bottom: 8px; }
.access-card h4 { font-size: 14px; margin-bottom: 4px; }
.access-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* ===== 我的页面 ===== */
.mine-profile {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  padding: 30px 20px; color: white; display: flex; align-items: center; gap: 16px;
}
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 32px;
}
.profile-info h3 { font-size: 20px; margin-bottom: 4px; }
.profile-info p { font-size: 13px; opacity: .8; }
.mine-menu { background: white; margin-top: 12px; }
.mine-menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  font-size: 15px; cursor: pointer; transition: background .15s;
}
.mine-menu-item:last-child { border-bottom: none; }
.mine-menu-item:hover { background: #fafafa; }
.mine-menu-item i:first-child { font-size: 20px; color: var(--green); }
.mine-menu-item span { flex: 1; }
.mine-menu-item i:last-child { color: var(--text-light); }
.mine-admin { margin-top: 12px; }

/* ===== 底部标签栏 ===== */
#bottomTab {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: white; border-top: 1px solid var(--border);
  display: flex; z-index: 100;
  padding: 0; box-shadow: 0 -2px 10px rgba(0,0,0,.05);
}
.tab-item {
  flex: 1; text-align: center; padding: 8px 4px;
  font-size: 10px; color: var(--text-light); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: color .2s;
}
.tab-item i { font-size: 22px; }
.tab-item.active { color: var(--green); }
.tab-item.active i { font-size: 24px; }

/* ===== 弹窗 ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.5); display: none;
  align-items: flex-end; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: white; width: 100%; max-width: 480px;
  border-radius: var(--radius) var(--radius) 0 0;
  max-height: 85vh; display: flex; flex-direction: column;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
.modal-header {
  display: flex; align-items: center; padding: 16px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { flex: 1; font-size: 16px; font-weight: 600; }
.modal-close { background: none; border: none; font-size: 22px; color: var(--text-light); cursor: pointer; }
.modal-body { padding: 16px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 12px 16px; border-top: 1px solid var(--border); }

/* ===== Toast ===== */
.toast {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: rgba(0,0,0,.8); color: white;
  padding: 10px 20px; border-radius: 24px; font-size: 14px;
  opacity: 0; transition: opacity .3s, transform .3s;
  z-index: 400; pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 空状态 ===== */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-light);
}
.empty-state i { font-size: 56px; display: block; margin-bottom: 16px; opacity: .3; }
.empty-state p { font-size: 14px; }

/* ===== 详情页 ===== */
.detail-header { background: linear-gradient(135deg, var(--green), var(--green-dark)); padding: 20px 16px; color: white; }
.detail-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.detail-meta { font-size: 13px; opacity: .8; }
.detail-body { padding: 16px; background: white; min-height: 200px; }
.detail-body p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 12px; }

/* ===== 回复 ===== */
.reply-list { margin-top: 16px; }
.reply-item {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.reply-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--green-light);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.reply-content { flex: 1; }
.reply-user { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.reply-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.reply-time { font-size: 11px; color: var(--text-light); margin-top: 3px; }

/* ===== 动画 ===== */
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.fade-in { animation: fadeIn .3s ease; }

/* ===== 工具 ===== */
.repair-history { background: white; margin: 0 16px; border-radius: var(--radius); }
.repair-history-item {
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .15s;
}
.repair-history-item:last-child { border-bottom: none; }
.repair-history-item:hover { background: #fafafa; }
.repair-status {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; margin-left: 6px;
}
.repair-status.pending { background: #fff3e0; color: #e65100; }
.repair-status.processing { background: #e3f2fd; color: #1565c0; }
.repair-status.done { background: var(--green-light); color: var(--green-dark); }
