/* ============================================================
   网龄账务台 · 界面样式（对齐中国电信 App）
   ============================================================ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0;
  background: #f5f6f9; color: #1d2129;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }

/* ================= 登录 ================= */
.login { position: relative; min-height: 100vh; overflow: hidden; padding: 0 22px 30px; display: flex; flex-direction: column; background: linear-gradient(180deg, #F5F8FD 0%, #FFFFFF 42%, #FFFFFF 100%); }
.login-glow { position: absolute; border-radius: 50%; }
.login-glow.g1 { width: 300px; height: 300px; right: -120px; top: -140px; background: rgba(29, 95, 216, .07); }
.login-glow.g2 { width: 220px; height: 220px; left: -110px; bottom: 80px; background: rgba(29, 95, 216, .05); }
.login-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding-top: 88px; }
.login-logo { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(145deg, #3D7BEA, #1D5FD8); border: 1px solid rgba(29, 95, 216, .2); box-shadow: 0 8px 18px rgba(29, 95, 216, .22); }
.login-brand h1 { color: #101828; font-size: 22px; font-weight: 600; letter-spacing: .8px; }
.login-brand p { margin-top: 3px; color: #97A3B8; font-size: 9px; letter-spacing: 2.4px; }
.login-tag { position: relative; z-index: 1; margin-top: 26px; color: #7A879C; font-size: 14px; letter-spacing: 1px; }
.login-card { position: relative; z-index: 1; width: 100%; margin-top: 30px; padding: 26px 22px 24px; border-radius: 22px; background: #fff; border: 1px solid #EDF1F7; box-shadow: 0 12px 34px rgba(16, 40, 80, .08); display: flex; flex-direction: column; }
.login-card h2 { font-size: 19px; font-weight: 600; margin-bottom: 18px; color: #101828; }
.lf { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }
.lf span { font-size: 12px; color: #78839a; }
.lf input { height: 50px; padding: 0 15px; border: 1px solid #dfe4ee; border-radius: 12px; font-size: 16px; background: #f8fafc; outline: none; }
.lf input:focus { border-color: #1D5FD8; background: #fff; box-shadow: 0 0 0 3px rgba(29, 95, 216, .1); }
.login-card > button { height: 48px; margin-top: 6px; border-radius: 24px; background: linear-gradient(135deg, #3D7BEA, #1D5FD8); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: 4px; box-shadow: 0 8px 20px rgba(29, 95, 216, .26); }
.login-msg { margin-top: 14px; text-align: center; color: #e5453a; font-size: 13px; }
.login-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 26px; text-align: center; color: #AEB9CA; font-size: 11px; }

/* ================= 网龄查询 ================= */
.nq-page { min-height: 100vh; background: #f5f6f9; }
.nq-nav { position: relative; display: flex; align-items: center; height: 52px; padding: 0 12px; background: #f5f6f9; }
.nq-nav h1 { position: absolute; left: 50%; transform: translateX(-50%); font-size: 18px; font-weight: 600; }
.nq-nav button:first-child { font-size: 26px; }
.nq-nav button:last-child { margin-left: auto; font-size: 18px; }
.nq-card { margin: 10px 12px; background: #fff; border-radius: 12px; overflow: hidden; }
.nq-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 12px; }
.nq-head h2 { display: flex; align-items: center; font-size: 16px; font-weight: 600; }
.nq-head h2 i { width: 3px; height: 14px; margin-right: 7px; border-radius: 2px; background: #4a6cf7; }
.nq-share { font-size: 12px; color: #6b7280; }
.nq-body { padding: 0 14px 26px; }
.nq-row { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; font-size: 13px; color: #7a8194; border-top: 1px solid #f2f4f8; }
.nq-link { font-size: 12px; color: #4a9be0; }
.nq-age { margin-top: 20px; text-align: center; font-size: 30px; font-weight: 500; color: #1d2129; letter-spacing: 1px; }
.nq-onnet { margin-top: 16px; text-align: center; font-size: 13px; color: #9aa1ae; }

.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #7a8194; }
.form input, .form select { height: 44px; padding: 0 12px; border: 1px solid #d9dee7; border-radius: 8px; font-size: 15px; background: #fff; outline: none; }

/* ================= 弹层 / 提示 ================= */
.mask { position: fixed; inset: 0; background: rgba(10, 18, 34, .45); z-index: 20; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-height: 86vh; display: flex; flex-direction: column; background: #fff; border-radius: 18px 18px 0 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; }
.sheet-head h3 { font-size: 16px; font-weight: 600; }
.sheet-head button { width: 30px; height: 30px; border-radius: 50%; background: #f1f4f9; color: #4e5969; }
.sheet-body { padding: 4px 16px 16px; overflow-y: auto; }
.sheet-foot { padding: 10px 16px 16px; border-top: 1px solid #eef1f5; }
.sheet-text { font-size: 13px; line-height: 1.7; color: #4e5969; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 8px); z-index: 30; max-width: 80vw; padding: 10px 18px; border-radius: 10px; background: rgba(23, 32, 51, .92); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 350px) {

}

/* ================= 线性图标尺寸 ================= */
.ic { width: 1em; height: 1em; display: block; flex: none; }

.nq-share .ic { width: 12px; height: 12px; display: inline; vertical-align: -1px; }
.nq-nav button .ic { width: 22px; height: 22px; }

/* ================= 欢迎页（新版 · 白色系） ================= */
.wc-page {
  position: relative; min-height: 100vh; overflow: hidden;
  padding: 0 20px calc(24px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #F5F8FD 0%, #FFFFFF 34%, #FFFFFF 100%);
  display: flex; flex-direction: column;
}
.wc-page::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(29, 95, 216, .07), transparent 66%);
}
.wc-page::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  left: -180px; bottom: 20px;
  background: radial-gradient(circle, rgba(29, 95, 216, .05), transparent 68%);
}
@supports (padding: env(safe-area-inset-top)) {
  .wc-page { padding-top: env(safe-area-inset-top); }
}

.wc-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding-top: 26px; }
.wc-brand { display: flex; align-items: center; gap: 11px; }
.wc-mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  font-size: 19px; color: #fff;
  background: linear-gradient(145deg, #3D7BEA, #1D5FD8);
  border: 1px solid rgba(29, 95, 216, .2);
  box-shadow: 0 6px 16px rgba(29, 95, 216, .22);
}
.wc-name { color: #101828; font-size: 16px; font-weight: 650; letter-spacing: .6px; }
.wc-en { margin-top: 2px; color: #97A3B8; font-size: 8px; letter-spacing: 2.2px; }
.wc-logout {
  height: 30px; padding: 0 15px; border-radius: 15px; font-size: 12px;
  color: #5A6B85; background: #FFFFFF;
  border: 1px solid #E3E9F2;
}
.wc-logout:active { background: #F2F5FA; }

.wc-greet { position: relative; z-index: 1; padding: 46px 2px 30px; }
.wc-hi { color: #808FA6; font-size: 14px; letter-spacing: 1px; }
.wc-user { margin-top: 10px; color: #0F1F3A; font-size: 36px; font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.wc-meta { margin-top: 12px; color: #A2AFC2; font-size: 11px; letter-spacing: .6px; }

.wc-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.wc-item {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 18px 16px; border-radius: 18px; text-align: left;
  background: #FFFFFF;
  border: 1px solid #EDF1F7;
  box-shadow: 0 2px 10px rgba(16, 40, 80, .05);
  opacity: 0; transform: translateY(10px);
  animation: wcIn .42s cubic-bezier(.22, .8, .3, 1) forwards;
  transition: background .18s, transform .12s;
}
.wc-item:active { transform: scale(.985); background: #F7F9FD; }
.wc-ic {
  flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: #1D5FD8; background: #EDF3FE; border: 1px solid #E0EAFB;
}
.wc-ic .ic { width: 21px; height: 21px; }
.wc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wc-txt b { color: #101828; font-size: 17px; font-weight: 600; letter-spacing: .3px; }
.wc-txt small { color: #7A879C; font-size: 12px; line-height: 1.4; }
.wc-arrow { flex: none; color: #B9C4D6; }
.wc-arrow .ic { width: 18px; height: 18px; transform: rotate(180deg); }
.wc-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 28px; text-align: center; color: #AEB9CA; font-size: 10px; letter-spacing: .8px; }

/* 主入口卡 */
.wc-hero {
  display: flex; flex-direction: column; width: 100%; text-align: left;
  padding: 18px 18px 16px; border-radius: 20px;
  background: linear-gradient(150deg, #2C6BE0 0%, #1D5FD8 58%, #1A54C2 100%);
  box-shadow: 0 10px 26px rgba(29, 95, 216, .24);
  opacity: 0; transform: translateY(10px);
  animation: wcIn .42s cubic-bezier(.22, .8, .3, 1) forwards;
  transition: transform .12s;
}
.wc-hero:active { transform: scale(.985); }
.wc-hero-top { display: flex; align-items: center; justify-content: space-between; }
.wc-hero-ic {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .22);
}
.wc-hero-ic .ic { width: 18px; height: 18px; }
.wc-hero-label { color: rgba(255, 255, 255, .7); font-size: 11px; letter-spacing: .12em; }
.wc-hero-title { margin-top: 16px; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.wc-hero-cap { margin-top: 16px; }
.wc-hero-amount { margin-top: 4px; color: #fff; font-size: 30px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.wc-hero-desc { margin-top: 6px; color: rgba(255, 255, 255, .68); font-size: 12.5px; line-height: 1.45; }
.wc-hero-go {
  margin-top: 16px; display: flex; align-items: center; align-self: flex-start;
  height: 30px; padding: 0 12px 0 14px; border-radius: 15px;
  color: #fff; font-size: 12.5px; font-weight: 500;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22);
}
.wc-hero-go .ic { width: 14px; height: 14px; margin-left: 4px; transform: rotate(180deg); }

.wc-sec {
  margin: 4px 2px 0; color: #8A96AA; font-size: 12px; font-weight: 500; letter-spacing: .06em;
}

@keyframes wcIn { to { opacity: 1; transform: translateY(0); } }

/* 欢迎页顶栏按钮 */
.wc-update {
  height: 30px; padding: 0 13px; margin-right: 8px; border-radius: 15px; font-size: 12px;
  color: #1D5FD8; background: #EDF3FE; border: 1px solid #DEE9FB;
}
.wc-update:active { background: #DFEAFC; }

/* 更新弹层 */
.up-box { padding: 4px 0 2px; }
.up-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: 13px; color: #78839a; border-bottom: 1px solid #f2f4f8; }
.up-row b { font-size: 15px; color: #1d2129; }
.up-notes { margin-top: 12px; font-size: 13px; line-height: 1.7; color: #4e5969; }
.up-new { margin-top: 12px; padding: 10px; border-radius: 10px; text-align: center; font-size: 13px; color: #0a8a52; background: #e6f8ee; }
.up-latest { margin-top: 12px; padding: 10px; border-radius: 10px; text-align: center; font-size: 13px; color: #78839a; background: #f2f4f8; }
.up-btn { width: 100%; height: 48px; border-radius: 13px; color: #fff; font-size: 16px; font-weight: 600; background: linear-gradient(135deg, #2f7bff, #1a4fbf); }

/* 表单内随机生成按钮 */
.form-rand { margin-top: -4px; }
.form-rand button {
  width: 100%; height: 38px; border-radius: 9px;
  background: #eef4ff; color: #1a52b8; font-size: 13px; font-weight: 500;
  border: 1px solid #d8e5ff;
}
.form-rand button:active { background: #e0ebff; }

/* 电子发票 */
.inv { border-radius: 12px; overflow: hidden; background: #f8fafd; }
.inv-head { padding: 18px 16px 14px; text-align: center; background: linear-gradient(135deg, #eef4ff, #e3edff); }
.inv-badge { display: inline-block; padding: 3px 10px; border-radius: 10px; background: #1a52b8; color: #fff; font-size: 11px; }
.inv-no { margin-top: 10px; font-size: 13px; color: #5b6b85; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.inv-body { padding: 6px 16px 12px; }
.inv-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: 13px; color: #78839a; border-bottom: 1px solid #eef1f7; }
.inv-row:last-child { border-bottom: 0; }
.inv-row b { color: #1d2129; font-weight: 600; }
.inv-row.total b { color: #d63a3f; font-size: 17px; }
.inv-tip { padding: 0 16px 14px; text-align: center; font-size: 11px; color: #b0b6c2; }
.inv-actions { display: flex; gap: 10px; }
.inv-btn { flex: 1; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #2f7bff, #1a4fbf); color: #fff; font-size: 15px; font-weight: 600; }
.inv-btn.ghost { background: #eef4ff; color: #1a52b8; border: 1px solid #d8e5ff; }

/* ================= 受理单卡片 ================= */
.rc { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e6ebf3; }
.rc-head { display: flex; align-items: center; gap: 10px; padding: 16px; background: linear-gradient(135deg, #eef4ff, #e2ecff); }
.rc-logo { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; color: #fff; background: linear-gradient(135deg, #3a86ff, #1a4fbf); }
.rc-title { flex: 1; min-width: 0; }
.rc-title b { display: block; font-size: 17px; font-weight: 700; }
.rc-title small { display: block; margin-top: 2px; font-size: 9px; color: #6b7d99; letter-spacing: 1.2px; }
.rc-qr { flex: none; }
.qr-grid { display: grid; grid-template-columns: repeat(11, 3px); grid-template-rows: repeat(11, 3px); gap: 1px; padding: 4px; background: #fff; border-radius: 4px; border: 1px solid #d8e2f0; }
.qr-grid i { display: block; background: #1a2b45; }
.rc-no { padding: 10px 16px; font-size: 12px; color: #6b7d99; letter-spacing: .5px; background: #fbfcfe; font-variant-numeric: tabular-nums; }
.rc-sec { padding: 12px 16px 4px; border-top: 1px dashed #e6ebf3; }
.rc-sec-title { margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #1a52b8; }
.rc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 13px; }
.rc-row span { flex: none; color: #8a94a8; }
.rc-row b { text-align: right; font-weight: 600; color: #1d2129; word-break: break-all; }
.rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 11px 16px; font-size: 11px; color: #8a94a8; background: #f8fafd; }
.rc-tip { padding: 10px 2px 0; text-align: center; font-size: 11px; color: #b0b6c2; }
.rc-actions { display: flex; gap: 10px; }
.rc-btn { flex: 1; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #2f7bff, #1a4fbf); color: #fff; font-size: 15px; font-weight: 600; }
.rc-btn.ghost { background: #eef4ff; color: #1a52b8; border: 1px solid #d8e5ff; }

/* ================= 受理单记录 ================= */
.oh-page { min-height: 100vh; background: #f5f6f9; padding-bottom: 20px; }
.oh-nav { position: relative; display: flex; align-items: center; height: 52px; padding: 0 12px; background: #fff; }
.oh-nav h1 { position: absolute; left: 50%; transform: translateX(-50%); font-size: 17px; font-weight: 600; }
.oh-nav button { font-size: 26px; }
.oh-summary { padding: 12px 16px; font-size: 12px; color: #7a8194; }
.oh-summary b { color: #1d2129; font-size: 15px; }
.oh-list { padding: 0 10px; }
.oh-item { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 8px; padding: 14px; background: #fff; border-radius: 12px; text-align: left; }
.oh-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.oh-main b { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.oh-tag { padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 400; color: #1a52b8; background: #eef4ff; }
.oh-main small { font-size: 11.5px; color: #8a94a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oh-side { flex: none; text-align: right; }
.oh-side b { display: block; font-size: 15px; font-weight: 700; }
.oh-side small { font-size: 10px; color: #9aa1ae; }
.oh-arrow { flex: none; color: #c9cdd4; }
.oh-arrow .ic { width: 16px; height: 16px; transform: rotate(180deg); }

/* ================= 设备列表 ================= */

