﻿/* 随手拍 · 微信小程序风格原型 */
:root {
  --green: #07c160;
  --green-press: #06ad56;
  --blue: #576b95;
  --link: #576b95;
  --orange: #ff976a;
  --red: #fa5151;
  --text: #000000;
  --text-2: #888888;
  --text-3: #b2b2b2;
  --line: #ededed;
  --bg: #f7f7f7;
  --white: #ffffff;
  --nav-h: 44px;
  --status-h: 44px;
  --tab-h: 50px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #e5e5e5;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
}
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===== 入口页 ===== */
.portal {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #e8f8ef 0%, #f5f5f5 40%, #fff 100%);
}
.portal-logo {
  width: 72px; height: 72px; border-radius: 18px;
  background: linear-gradient(145deg, #07c160, #10b981);
  color: #fff; font-size: 32px; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(7,193,96,.28);
}
.portal h1 { font-size: 24px; margin: 16px 0 6px; font-weight: 600; }
.portal .sub { color: var(--text-2); font-size: 14px; margin-bottom: 28px; }
.portal-cards {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portal-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.portal-card h2 { font-size: 17px; margin-bottom: 4px; font-weight: 600; }
.portal-card p { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.portal-card .go { color: var(--green); font-size: 14px; font-weight: 500; }
.portal-card.admin .go { color: var(--blue); }
.portal-tip { margin-top: 20px; font-size: 12px; color: var(--text-3); text-align: center; }

/* ===== 小程序容器（全屏，无右侧栏） ===== */
.mp-root {
  min-height: 100%;
  display: flex;
  justify-content: center;
  background: #e5e5e5;
}
.mp-device {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
  overflow: hidden;
}
#app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* 状态栏 + 导航栏（小程序风格） */
.mp-status {
  height: var(--status-h);
  padding: 12px 12px 0 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
}
.mp-capsule {
  height: 32px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.6);
  overflow: hidden;
}
.mp-capsule span {
  width: 40px;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #000;
  opacity: .8;
}
.mp-capsule span + span { border-left: 1px solid rgba(0,0,0,.1); }

.mp-nav {
  height: var(--nav-h);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.mp-nav.border { border-bottom-color: var(--line); }
.mp-back {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  cursor: pointer;
}
.mp-back::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  margin-right: 2px;
}

/* 可滚动主区域 */
.mp-body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

/* 底部 tabBar */
.mp-tabbar {
  height: calc(var(--tab-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  display: flex;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}
.mp-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #7a7e83;
  font-size: 10px;
  cursor: pointer;
  user-select: none;
}
.mp-tab .ico {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}
.mp-tab.on { color: var(--green); }

/* ===== 组件 ===== */
.hero {
  margin: 12px;
  padding: 20px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #07c160 0%, #10a37f 55%, #0ea5e9 100%);
  color: #fff;
}
.hero .tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.22);
  margin-bottom: 10px;
}
.hero h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.hero p { font-size: 13px; opacity: .92; }

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 0;
  padding: 8px 8px 4px;
  background: var(--white);
  margin: 0 12px 12px;
  border-radius: 12px;
}
.quick-item {
  text-align: center;
  padding: 12px 4px 10px;
  font-size: 12px;
  color: #353535;
  cursor: pointer;
}
.quick-item .qico {
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.q1 { background: #e8f8ef; }
.q2 { background: #e8f3ff; }
.q3 { background: #fff4e8; }
.q4 { background: #f3e8ff; }

.sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 8px;
  font-size: 15px;
  font-weight: 600;
}
.sec-hd .more {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-2);
  cursor: pointer;
}

.cell-group {
  background: var(--white);
  margin: 0 12px 12px;
  border-radius: 12px;
  overflow: hidden;
}
.news-cell {
  display: flex;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.news-cell:last-child { border-bottom: none; }
.news-cell:active { background: #f5f5f5; }
.news-thumb {
  width: 96px;
  height: 72px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d1fae5, #bae6fd);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
}
.news-cell h4 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.news-meta { font-size: 12px; color: var(--text-2); }

.case-cell {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.case-cell:last-child { border-bottom: none; }
.case-cell:active { background: #f5f5f5; }
.case-ico {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.case-cell h4 {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-cell p { font-size: 12px; color: var(--text-2); margin: 4px 0 6px; }

.badge {
  display: inline-block;
  font-size: 11px;
  line-height: 16px;
  padding: 0 6px;
  border-radius: 3px;
}
.b-wait { color: #ed6a0c; background: #fff5ed; }
.b-ing { color: #1989fa; background: #ecf5ff; }
.b-ok { color: #07c160; background: #e8f8ef; }
.b-no { color: #fa5151; background: #ffeded; }

.filters {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: var(--white);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.ft {
  flex-shrink: 0;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 13px;
  color: #666;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.ft.on { color: var(--green); background: #e8f8ef; font-weight: 500; }

/* 表单 · 小程序 cell 风格 */
.form {
  margin-top: 10px;
  background: var(--white);
}
.form-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.form-item:last-child { border-bottom: none; }
.form-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.form-label .req { color: var(--red); }
.form-item textarea,
.form-item input {
  width: 100%;
  font-size: 15px;
  color: #333;
  background: transparent;
}
.form-item textarea {
  min-height: 88px;
  resize: none;
  line-height: 1.5;
}
.form-item textarea::placeholder,
.form-item input::placeholder { color: #b2b2b2; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: #f5f5f5;
  color: #666;
  font-size: 13px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid transparent;
}
.chip.on {
  color: var(--green);
  background: #e8f8ef;
  border-color: rgba(7,193,96,.35);
}

.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.photo,
.photo-add {
  width: 80px;
  height: 80px;
  border-radius: 6px;
}
.photo {
  background: linear-gradient(135deg, #fde68a, #fdba74);
  display: grid;
  place-items: center;
  font-size: 30px;
  position: relative;
}
.photo-add {
  background: #f5f5f5;
  border: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  gap: 2px;
}
.photo-add .plus { font-size: 28px; line-height: 1; color: #bbb; }

.loc-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 15px;
  color: #333;
}
.loc-row .loc-txt { flex: 1; }
.loc-row .relocate {
  color: var(--link);
  font-size: 13px;
  flex-shrink: 0;
  cursor: pointer;
  padding-top: 1px;
}
.form-tip {
  margin: 8px 16px 0;
  font-size: 12px;
  color: var(--text-2);
}

.btn-area {
  padding: 24px 16px 12px;
}
.btn-primary {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.btn-primary:active { background: var(--green-press); }
.btn-primary:disabled { opacity: .5; }

/* 详情 */
.block {
  background: var(--white);
  margin-bottom: 10px;
  padding: 16px;
}
.block h2 { font-size: 18px; font-weight: 600; margin: 8px 0; line-height: 1.4; }
.block .meta { font-size: 12px; color: var(--text-2); margin-bottom: 10px; }
.block .desc { font-size: 15px; color: #333; line-height: 1.6; margin-bottom: 12px; white-space: pre-wrap; }
.block .addr {
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: #666;
  background: #f7f7f7;
  padding: 10px 12px;
  border-radius: 8px;
}
.block-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline .ti {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}
.timeline .ti:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: #e5e5e5;
}
.timeline .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ddd;
  margin-top: 3px;
  flex-shrink: 0;
}
.timeline .ti.done .dot,
.timeline .ti.on .dot { background: var(--green); }
.timeline h4 { font-size: 14px; font-weight: 500; }
.timeline p { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* 我的 */
.mine-head {
  background: linear-gradient(135deg, #07c160, #12b981);
  color: #fff;
  padding: 20px 16px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 2px solid rgba(255,255,255,.45);
  display: grid;
  place-items: center;
  font-size: 26px;
}
.mine-head .name { font-size: 18px; font-weight: 600; }
.mine-head .sub { font-size: 12px; opacity: .9; margin-top: 4px; }
.mine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  margin: -14px 12px 12px;
  border-radius: 12px;
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.mine-stats div { text-align: center; }
.mine-stats b { display: block; font-size: 18px; color: var(--green); }
.mine-stats span { font-size: 11px; color: var(--text-2); }

.menu-group {
  background: var(--white);
  margin: 0 12px 12px;
  border-radius: 12px;
  overflow: hidden;
}
.menu-item {
  display: flex;
  align-items: center;
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  cursor: pointer;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: #f5f5f5; }
.menu-item .mi { width: 28px; font-size: 18px; }
.menu-item .arrow {
  margin-left: auto;
  color: #c0c0c0;
  font-size: 14px;
}
.menu-item .extra {
  margin-left: auto;
  margin-right: 6px;
  font-size: 13px;
  color: var(--text-2);
}

.points-card {
  margin: 12px;
  padding: 20px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #07c160, #059669);
  color: #fff;
  text-align: center;
}
.points-card .lab { font-size: 13px; opacity: .9; }
.points-card .num { font-size: 40px; font-weight: 700; margin: 4px 0; }
.points-card .tip { font-size: 12px; opacity: .85; }
.goods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 12px 20px;
}
.good {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.good .gimg {
  height: 90px;
  background: #fff7ed;
  display: grid;
  place-items: center;
  font-size: 36px;
}
.good .ginfo { padding: 10px; }
.good h4 { font-size: 13px; margin-bottom: 4px; font-weight: 500; }
.good .pts { color: #ed6a0c; font-size: 14px; font-weight: 600; }

.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-2);
  font-size: 14px;
}
.toast {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  max-width: 70%;
  background: rgba(0,0,0,.75);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 100;
  text-align: center;
  pointer-events: none;
}
.hide { display: none !important; }

/* ===== 管理后台（PC，非小程序） ===== */
.admin { min-height: 100vh; display: flex; flex-direction: column; background: #f0f2f5; }
.admin-top {
  height: 52px; background: #1f2d3d; color: #fff;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px; flex-shrink: 0;
}
.admin-top .brand { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.admin-top .brand i {
  width: 28px; height: 28px; border-radius: 6px; background: var(--green);
  display: grid; place-items: center; font-style: normal; font-size: 14px;
}
.admin-top .right { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.admin-top select, .admin-top a, .admin-top button {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px; padding: 4px 10px; font-size: 12px; cursor: pointer;
}
.admin-top a { text-decoration: none; display: inline-block; }
.admin-nav {
  background: #fff; border-bottom: 1px solid var(--line);
  display: flex; gap: 4px; padding: 0 12px; overflow-x: auto; flex-shrink: 0;
}
.admin-nav button {
  background: none; padding: 12px 14px; font-size: 14px; color: #666;
  border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.admin-nav button.on { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.admin-body { flex: 1; padding: 16px; overflow: auto; max-width: 1100px; width: 100%; margin: 0 auto; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { background: #fff; border-radius: 10px; padding: 14px; }
.kpi .l { font-size: 12px; color: #999; }
.kpi .v { font-size: 24px; font-weight: 700; margin-top: 4px; }
.kpi.g .v { color: var(--green); }
.kpi.o .v { color: var(--orange); }
.kpi.b .v { color: #1989fa; }
.panel { background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.panel h3 { font-size: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.panel h3 span { font-size: 12px; font-weight: 400; color: #999; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: #666; font-weight: 600; background: #fafafa; }
.ops button { background: none; color: #1989fa; font-size: 12px; cursor: pointer; margin-right: 8px; padding: 0; }
.tools { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.tools input, .tools select {
  height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; font-size: 13px; background: #fff;
}
.tools .btn-s { height: 32px; padding: 0 12px; border-radius: 6px; background: var(--green); color: #fff; font-size: 13px; cursor: pointer; }
.tools .btn-s.gray { background: #fff; color: #333; border: 1px solid var(--line); }
.mask { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; justify-content: flex-end; z-index: 100; }
.drawer { width: 400px; max-width: 100%; background: #fff; height: 100%; display: flex; flex-direction: column; }
.drawer-hd {
  height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; font-weight: 600;
}
.drawer-hd .x { cursor: pointer; font-size: 20px; color: #999; }
.drawer-bd { flex: 1; overflow: auto; padding: 16px; }
.drawer-ft { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
.drawer-ft button { height: 34px; padding: 0 14px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.drawer-ft .cancel { background: #fff; border: 1px solid var(--line); }
.drawer-ft .ok { background: var(--green); color: #fff; }
.form-line { margin-bottom: 12px; font-size: 13px; }
.form-line label { display: block; color: #666; margin-bottom: 4px; }
.form-line select, .form-line textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 8px; font-size: 13px; background: #fff;
}
.form-line textarea { min-height: 70px; resize: vertical; }
.login-wrap {
  min-height: 100vh; display: grid; place-items: center;
  background: linear-gradient(135deg, #1f2d3d, #2d4a3e);
}
.login { width: 360px; background: #fff; border-radius: 12px; padding: 28px 24px; }
.login h1 { text-align: center; font-size: 20px; margin-bottom: 4px; }
.login .s { text-align: center; color: #999; font-size: 13px; margin-bottom: 20px; }
.login label { display: block; font-size: 12px; color: #666; margin-bottom: 4px; }
.login select, .login input {
  width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 10px; margin-bottom: 12px; font-size: 14px; background: #fff;
}
.login .btn { width: 100%; margin: 8px 0 0; border-radius: 8px; height: 42px; background: var(--green); color: #fff; font-size: 15px; cursor: pointer; }
.login .links { margin-top: 14px; text-align: center; font-size: 12px; color: #999; }
.login .links a { color: var(--green); }
@media (max-width: 800px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

/* ===== 评审优化补充样式 ===== */
.b-ver { color: #7c3aed; background: #f3e8ff; }
.b-warn { color: #c2410c; background: #ffedd5; }
.row-warn { background: #fffbeb; }

.sim-tag {
  display: block;
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}
.sim-inline {
  margin-left: 6px;
  font-size: 11px;
  color: #b2b2b2;
  font-weight: 400;
}
.photo { position: relative; }
.photo .ph-rm {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.unread-dot {
  margin-left: auto;
  margin-right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #fa5151;
  color: #fff !important;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.notice-tools {
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px 0;
}
.notice-tools button {
  font-size: 13px;
  color: var(--green);
  cursor: pointer;
  padding: 4px 8px;
}
.notice-cell {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.notice-cell.unread { background: #f7fcf9; }
.notice-cell .n-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.notice-cell .n-title .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fa5151;
  display: inline-block;
}
.notice-cell .n-content { font-size: 13px; color: #666; margin-bottom: 4px; }
.notice-cell .n-time { font-size: 12px; color: #999; }

.empty-ico { font-size: 32px; margin-bottom: 8px; opacity: .6; }

.good { position: relative; }
.good .ginfo p { font-size: 13px; color: #ed6a0c; font-weight: 600; margin-top: 4px; }
.good .gbtn {
  display: block;
  width: calc(100% - 20px);
  margin: 0 10px 10px;
  height: 30px;
  border-radius: 15px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.good .gbtn.dis,
.good .gbtn:disabled {
  background: #e5e5e5;
  color: #999;
  cursor: not-allowed;
}

/* 小程序弹层 */
.mp-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mp-modal {
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.mp-modal-title {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  padding: 18px 16px 8px;
}
.mp-modal-body {
  text-align: center;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  padding: 8px 20px 16px;
}
.mp-modal-sub {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}
.mp-modal-ft {
  display: flex;
  border-top: 1px solid var(--line);
}
.mp-modal-btn {
  flex: 1;
  height: 46px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}
.mp-modal-btn + .mp-modal-btn { border-left: 1px solid var(--line); }
.mp-modal-btn.primary { color: var(--green); font-weight: 600; }

/* 管理端补充 */
.kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stats-grid .panel { margin-bottom: 0; }
.bar-wrap {
  display: inline-block;
  width: 70px;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  vertical-align: middle;
  overflow: hidden;
  margin-right: 4px;
}
.bar-wrap i {
  display: block;
  height: 100%;
  background: var(--green);
}
.hint-row {
  font-size: 13px;
  color: #666;
  background: #f7f8fa;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.5;
}
.chk { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 13px; }
.chk input { width: 14px; height: 14px; accent-color: var(--green); appearance: auto; -webkit-appearance: auto; }
.drawer .photos { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer .photo, .drawer .photo-add {
  width: 64px; height: 64px;
  border-radius: 6px;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  font-size: 22px;
  border: 1px dashed #ddd;
}
.drawer .photo { border-style: solid; border-color: #eee; }
.drawer .timeline { margin-top: 4px; }
.panel h3 .btn-s { font-weight: 400; }
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: 1fr; }
}
