/* ============ 客户端 ============ */
.home-page { padding-top: 14px; }

/* 轮播 */
.banner-zone { margin-top: -42px; padding: 0 16px; position: relative; z-index: 3; }
.banners {
  display: flex; gap: 11px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px;
}
.banners::-webkit-scrollbar { display: none; }
.banner {
  flex: 0 0 100%; scroll-snap-align: center; height: 122px; border-radius: 17px;
  position: relative; overflow: hidden; color: #fff; padding: 17px 18px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 12px 26px rgba(9, 30, 60, 0.18);
}
.banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 130% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 55%);
}
.banner .bn-kicker { font-size: 10.5px; letter-spacing: 0.18em; opacity: 0.68; }
.banner b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-top: 3px; display: block; }
.banner em { font-style: normal; font-size: 11.5px; opacity: 0.72; margin-top: 5px; display: block; }
.banner .bn-art { position: absolute; right: -6px; bottom: -18px; opacity: 0.16; transform: rotate(-6deg); }
.banner .bn-art .ico { width: 112px; height: 112px; }
.bn1 { background: linear-gradient(135deg, #123a6b 0%, #0b2342 60%, #07182e 100%); }
.bn2 { background: linear-gradient(135deg, #0f8f84 0%, #0b6f76 55%, #084a5c 100%); }
.bn3 { background: linear-gradient(135deg, #5a49d6 0%, #3f3fb8 55%, #24225f 100%); }
.banner-dots { display: flex; justify-content: center; gap: 5px; margin-top: 9px; }
.banner-dots i {
  width: 5px; height: 5px; border-radius: 99px; background: #c8d3e3; transition: all 0.25s;
  cursor: pointer;
}
.banner-dots i.on { width: 14px; background: var(--brand); }

/* 快捷入口 */
.quick-main {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: #fff; border: 1px solid rgba(15, 29, 51, 0.045); border-radius: 16px;
  padding: 13px 14px; box-shadow: var(--shadow-sm); transition: transform 0.18s var(--ease);
}
.quick-main:active { transform: scale(0.985); }
.qm-icon {
  width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, #2f74ff, #1b5bf7 60%, #1240c9); color: #fff;
  box-shadow: 0 8px 18px rgba(27, 91, 247, 0.3);
}
.qm-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qm-text b { font-size: 15px; font-weight: 700; }
.qm-text span { font-size: 11.5px; color: var(--muted); }
.quick-main > .ico { color: #c3cfe0; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 9px; }
.quick-grid button {
  background: #fff; border: 1px solid rgba(15, 29, 51, 0.045); border-radius: 14px;
  padding: 12px 8px 11px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: var(--shadow-sm); transition: transform 0.18s var(--ease);
}
.quick-grid button:active { transform: scale(0.96); }
.qg-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 2px; }
.qg-ic.blue { background: var(--brand-50); color: var(--brand); }
.qg-ic.teal { background: var(--teal-50); color: #0a8f83; }
.qg-ic.purple { background: var(--purple-50); color: var(--purple); }
.quick-grid b { font-size: 12.5px; font-weight: 600; }
.quick-grid em { font-style: normal; font-size: 10.5px; color: var(--soft); }

/* 工单卡片 */
.order-card {
  position: relative; background: #fff; border-radius: 15px; padding: 14px 15px 12px 17px;
  border: 1px solid rgba(15, 29, 51, 0.045); box-shadow: var(--shadow-sm);
  overflow: hidden; cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.2s;
}
.order-card + .order-card { margin-top: 9px; }
.order-card:active { transform: scale(0.988); }
.order-card:hover { box-shadow: 0 8px 22px rgba(11, 27, 51, 0.08); }
.order-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #dde5f0; }
.order-card.urgent::before { background: var(--amber); }
.order-card.critical::before { background: var(--red); }
.order-card.signing::before { background: var(--purple); }
.oc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.oc-code { font-size: 11px; color: var(--soft); letter-spacing: 0.04em; }
.oc-title { font-size: 14.5px; font-weight: 700; margin-top: 7px; line-height: 1.45; }
.oc-sub { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.oc-sub .ico { width: 12px; height: 12px; color: #a8b5c7; }
.oc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--line-2);
}
.oc-person { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-2); }
.oc-person .avatar { width: 22px; height: 22px; font-size: 9px; }
.oc-time { font-size: 11px; color: var(--soft); }
.oc-cta { display: flex; align-items: center; gap: 4px; color: var(--brand); font-size: 12px; font-weight: 600; }

/* 服务范围 */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.service-item {
  background: #fff; border: 1px solid rgba(15, 29, 51, 0.045); border-radius: 13px;
  padding: 13px 10px; display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.service-item .si {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #f3f7fd; color: #5b7091;
}
.service-item span { font-size: 12px; font-weight: 600; color: var(--ink-2); }

/* 公司信息卡 */
.company-card {
  margin-top: 20px; border-radius: 16px; padding: 16px;
  background: linear-gradient(135deg, #0d2748, #07182e); color: #fff; position: relative; overflow: hidden;
}
.company-card::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(47, 116, 255, 0.45), transparent 68%);
}
.company-card .cc-name { font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.company-card .cc-slogan { font-size: 10.5px; color: rgba(255, 255, 255, 0.45); margin-top: 3px; letter-spacing: 0.04em; }
.company-card .cc-line { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, 0.66); margin-top: 9px; }
.company-card .cc-line .ico { width: 13px; height: 13px; }

/* 页头 */
.page-title-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 12px; }
.page-title-row h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.page-title-row p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* 详情 */
.detail-hero {
  position: relative; overflow: hidden; border-radius: 18px; padding: 18px;
  background: radial-gradient(120% 120% at 100% 0%, #1b5bf7 0%, #123a6b 52%, #07182e 100%);
  color: #fff;
}
.detail-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(120% 100% at 100% 0%, #000, transparent 70%);
}
.detail-hero > * { position: relative; }
.dh-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dh-code { font-size: 11px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.05em; }
.dh-title { font-size: 18px; font-weight: 700; line-height: 1.45; margin-top: 10px; letter-spacing: -0.01em; }
.dh-sub { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255, 255, 255, 0.63); margin-top: 6px; }
.dh-meta { display: flex; gap: 16px; margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.dh-meta div { font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.dh-meta b { display: block; font-size: 13px; color: #fff; font-weight: 600; margin-top: 2px; }
.chip.glass { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); }

.detail-card { margin-top: 12px; }
.detail-card .card-title { font-size: 14.5px; }
.fault-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; white-space: pre-wrap; }
.staff-row { display: flex; align-items: center; gap: 11px; }
.staff-row .avatar { width: 42px; height: 42px; }
.staff-row .name { font-size: 14px; font-weight: 700; }
.staff-row .role { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.call-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-50); color: var(--green); border: 1px solid #d5f4e4;
}

/* 项目卡 */
.proj-card {
  background: #fff; border-radius: 16px; padding: 16px; border: 1px solid rgba(15, 29, 51, 0.045);
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.18s var(--ease);
}
.proj-card + .proj-card { margin-top: 10px; }
.proj-card:active { transform: scale(0.988); }
.proj-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.proj-name { font-size: 14.5px; font-weight: 700; line-height: 1.5; flex: 1; }
.proj-addr { font-size: 11.5px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.proj-addr .ico { width: 12px; height: 12px; color: #a8b5c7; }
.proj-prog { margin-top: 13px; }
.proj-prog .pp-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.proj-prog .pp-head b { color: var(--ink-2); }
.proj-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }

/* 项目详情 */
.proj-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.proj-summary > div {
  background: #fff; border: 1px solid rgba(15, 29, 51, 0.045); border-radius: 13px;
  padding: 11px 12px; text-align: center;
}
.proj-summary b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.proj-summary span { font-size: 10.5px; color: var(--muted); }
.daily {
  background: #fff; border-radius: 15px; border: 1px solid rgba(15, 29, 51, 0.045);
  padding: 14px 15px; box-shadow: var(--shadow-sm);
}
.daily + .daily { margin-top: 10px; }
.daily-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.daily-date { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.daily-date .ico { width: 14px; height: 14px; color: var(--brand); }
.daily-body { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; margin-top: 9px; }
.daily-meta { display: flex; gap: 12px; font-size: 11px; color: var(--soft); margin-top: 8px; }
.daily-review {
  margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: #f7faf8;
  border: 1px solid #e6f4ec; font-size: 11.5px; color: #1d6b47;
}
.daily-sign { margin-top: 10px; }
.daily-review.bad { background: #fff8f1; border-color: #f9e6cf; color: #96631a; }

/* 我的 */
.me-hero { padding: 22px 18px 58px; }
.me-row { display: flex; align-items: center; gap: 13px; margin-top: 18px; }
.me-row .avatar { width: 60px; height: 60px; font-size: 20px; border: 2px solid rgba(255, 255, 255, 0.4); }
.me-name { font-size: 19px; font-weight: 700; }
.me-unit { font-size: 12px; color: rgba(255, 255, 255, 0.62); margin-top: 2px; }
.me-stats {
  margin: -42px 16px 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: 16px; padding: 14px 6px; box-shadow: var(--shadow);
}
.me-stats > div { text-align: center; position: relative; }
.me-stats > div + div::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--line); }
.me-stats b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.me-stats span { font-size: 10.5px; color: var(--muted); }
.menu-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(15, 29, 51, 0.045); }
.menu-item {
  display: flex; align-items: center; gap: 11px; padding: 14px 15px; border-bottom: 1px solid var(--line-2);
  cursor: pointer; background: #fff; width: 100%; border-left: 0; border-right: 0; border-top: 0; text-align: left;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item .mi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #f4f7fc; color: #5b7091; }
.menu-item b { flex: 1; font-size: 13.5px; font-weight: 600; }
.menu-item .ico.chev { width: 15px; height: 15px; color: #c3cfe0; }
.menu-item:active { background: #fafcff; }

/* 登录 */
.login {
  min-height: 100dvh; position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 90% 0%, #2f74ff 0%, #123a6b 42%, #07182e 78%);
  display: flex; flex-direction: column; padding: 0 24px calc(24px + env(safe-area-inset-bottom));
}
.login::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 60% at 80% 0%, #000, transparent 70%);
}
.login-brand { position: relative; padding-top: calc(66px + env(safe-area-inset-top)); text-align: center; }
.login-brand .logo-tile { margin: 0 auto 16px; width: 58px; height: 58px; border-radius: 17px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }
.login-brand h1 { font-size: 25px; font-weight: 700; letter-spacing: 0.04em; }
.login-brand p { font-size: 11.5px; color: rgba(255, 255, 255, 0.54); margin-top: 6px; letter-spacing: 0.1em; }
.login-card {
  position: relative; margin-top: 34px; background: #fff; border-radius: 22px; padding: 22px 20px;
  color: var(--ink); box-shadow: 0 30px 70px rgba(3, 15, 33, 0.4);
}
.login-card h2 { font-size: 18px; font-weight: 700; }
.login-card .lead { font-size: 12px; color: var(--muted); margin-top: 4px; margin-bottom: 18px; }
.login-card .field + .field { margin-top: 13px; }
.login-card .btn-block { margin-top: 18px; }
.login-tip { text-align: center; font-size: 10.5px; color: var(--soft); margin-top: 14px; line-height: 1.7; }
.login-foot { position: relative; margin-top: auto; padding-top: 26px; text-align: center; font-size: 10px; color: rgba(255, 255, 255, 0.34); letter-spacing: 0.06em; }

/* 签收 */
.review-hero {
  padding: 26px 20px 40px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #12b76a 0%, #0a8f63 45%, #064d3f 100%);
}
.review-hero.blue { background: radial-gradient(120% 120% at 50% 0%, #2f74ff 0%, #1547c8 46%, #0b2a63 100%); }
.review-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(90% 80% at 50% 0%, #000, transparent 75%);
}
.rh-check {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 13px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative; backdrop-filter: blur(6px);
}
.rh-check .ico { width: 28px; height: 28px; }
.review-hero h1 { font-size: 21px; font-weight: 700; letter-spacing: 0.01em; position: relative; }
.review-hero p { font-size: 11.5px; color: rgba(255, 255, 255, 0.68); margin-top: 7px; position: relative; }
.review-body { margin-top: -22px; position: relative; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.review-summary .rs-code { font-size: 11px; color: var(--soft); letter-spacing: 0.04em; }
.review-summary .rs-title { font-size: 15.5px; font-weight: 700; margin-top: 6px; line-height: 1.5; }
.review-summary .rs-sub { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.review-summary .rs-summary {
  margin-top: 12px; padding: 12px; border-radius: 11px; background: #f8fafd; font-size: 12.5px;
  color: var(--ink-2); line-height: 1.7;
}
.review-meta { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line); }
.review-meta .avatar { width: 30px; height: 30px; font-size: 11px; }
.review-meta b { font-size: 12.5px; }
.review-meta span { font-size: 10.5px; color: var(--soft); display: block; }
.review-label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 9px; display: flex; align-items: center; gap: 5px; }
.review-label .opt { font-weight: 400; color: var(--soft); font-size: 11px; }

.success-wrap { min-height: 70dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 26px; text-align: center; }
.success-ring {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #24d17e, #0a9c5d); color: #fff;
  box-shadow: 0 18px 40px rgba(18, 183, 106, 0.35); animation: popIn 0.5s var(--ease);
}
.success-ring .ico { width: 44px; height: 44px; }
.success-wrap h1 { font-size: 22px; font-weight: 700; margin-top: 22px; }
.success-wrap p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.success-score { margin-top: 18px; }
.success-actions { display: flex; flex-direction: column; gap: 9px; width: 100%; max-width: 300px; margin-top: 28px; }
