/* BKOPEN - 金融三色体系：海军蓝主色（#0F3D6E 稳健信任）+ 鎏金点缀（#2C5F8F 财富）+ 玄墨文字（#262B33 权威），功能红仅用于报错/危险操作 */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

/* iPad/触屏设备：禁用所有动画过渡，内容直接渲染，避免“滑动才出数据”的错觉 */
@media (hover: none) and (pointer: coarse) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  color: #262B33;
  background: #F0F4F8;
}
a { color: #0F3D6E; text-decoration: none; }
a:hover { color: #0B2B53; }
h1 { font-size: 18px; margin: 0 0 12px; }
h2 { font-size: 15px; margin: 0 0 12px; }
h3 { font-size: 13px; margin: 12px 0 8px; }
h1, h2, h3 { color: #14213D; }
.muted { color: #646a73; }
.small { font-size: 12px; }
.error { background: #ffece8; color: #d83931; border-radius: 6px; padding: 8px 10px; margin-bottom: 12px; }

/* ---- 顶栏 ---- */
.topbar {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #0A1F33 0%, #0F3D6E 100%);
  border-bottom: none;
  padding: 0 20px; height: 56px;
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 2px 12px rgba(10,31,51,.3);
}
.brand { white-space: nowrap; display: flex; align-items: center; flex: none; max-width: 100%; }
.brand .brand-mark { display: inline-flex; align-items: center; max-width: 100%; padding: 3px 6px; background: #FFFFFF; border-radius: 6px; }
.brand .brand-logo-img { display: block; width: 144px; max-width: 100%; height: auto; }
.topbar nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { padding: 8px 14px; border-radius: 8px; color: rgba(255,255,255,.85); white-space: nowrap; font-size: 13px; transition: all .2s; }
.topbar nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.topbar nav a.active { background: rgba(44,95,143,.2); color: #8FB4D9; font-weight: 500; }
.topbar .user { white-space: nowrap; color: rgba(255,255,255,.7); font-size: 13px; }
.topbar .user a { margin-left: 10px; color: rgba(255,255,255,.85); }
.topbar .user a:hover { color: #8FB4D9; }

main { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* ---- 卡片与表格 ---- */
.card { background: #fff; border: 1px solid #E5E8EE; border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(16,24,40,.05); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.card-head h2 { margin: 0; font-size: 16px; color: #14213D; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.toolbar select { padding: 6px 8px; border: 1px solid #d9dce1; border-radius: 8px; font-size: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid #eff0f1; white-space: nowrap; }
th { color: #55606D; font-weight: 500; background: #F8FAFC; font-size: 12px; }
tbody tr:hover td { background: #F5F8FC; }
.empty { color: #8f959e; text-align: center; padding: 24px 0; }

/* ---- 按钮 ---- */
.btn {
  display: inline-block; background: linear-gradient(180deg, #0F3D6E, #0B2B53); color: #fff;
  border: none; border-radius: 8px; padding: 8px 16px;
  font-size: 13px; cursor: pointer; line-height: 1.4;
  text-align: center;
  box-shadow: 0 2px 6px rgba(15,61,110,.3);
  transition: all .2s;
}
.btn:hover { background: linear-gradient(180deg, #164A7A, #0F3D6E); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,61,110,.4); color: #fff; }
.btn-secondary { background: #fff; color: #1f2329; border: 1px solid #dee0e3; box-shadow: none; }
.btn-secondary:hover { background: #f5f6f7; color: #1f2329; transform: none; box-shadow: none; }
.btn-disabled { background: #C4C9D1; color: #fff; cursor: not-allowed; pointer-events: none; }
.btn-xs { padding: 3px 9px; font-size: 12px; }
.btn-success { background: #2C5F8F; color: #fff; }
.btn-success:hover { background: #1F4E79; color: #fff; }
.btn-danger { background: #fff; color: #f54a45; border: 1px solid #fbd9d7; padding: 2px 8px; font-size: 12px; }
.btn-danger:hover { background: #ffece8; color: #f54a45; }
.btn-block { width: 100%; margin-top: 16px; padding: 8px; }

/* 表单底部主/次操作：垂直分开，手机端易点 */
.form-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.btn-primary-lg { display: block; width: 100%; padding: 13px 0; font-size: 16px; font-weight: 600; border-radius: 10px; letter-spacing: 2px; }
.btn-ghost-lg { display: block; width: 100%; padding: 11px 0; font-size: 14px; border-radius: 10px; box-sizing: border-box; box-shadow: none; }

/* 详情页受理/取消操作：垂直大按钮，手机端好按 */
.op-form { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.op-cancel input { width: 100%; box-sizing: border-box; padding: 11px 12px; font-size: 14px; }
.btn-cancel-lg { display: block; width: 100%; padding: 12px 0; font-size: 15px; border-radius: 10px; box-sizing: border-box; box-shadow: none; background: #fff; color: #f54a45; border: 1px solid #f5b5b3; }
.btn-cancel-lg:hover { background: #ffece8; color: #f54a45; }

/* ---- 表单 ---- */
label { display: block; color: #646a73; margin-bottom: 4px; font-size: 12px; }
input, select, textarea {
  width: 100%; padding: 6px 8px; border: 1px solid #dee0e3; border-radius: 6px;
  font-size: 13px; font-family: inherit; background: #fff; color: #1f2329;
}
/* 强制浅色模式：防手机深色模式把原生 select 弹窗反成白字白底 */
:root { color-scheme: light only; }
select, option { color: #1f2329; background-color: #fff; }

/* ---- 自定义下拉选择器（替代原生 select，防手机深色模式白字） ---- */
.picker-native { position: absolute !important; opacity: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.picker-btn { width: 100%; padding: 8px 26px 8px 10px; border: 1px solid #dee0e3; border-radius: 6px; font-size: 13px; font-family: inherit; background: #fff; color: #1f2329; text-align: left; position: relative; cursor: pointer; min-height: 32px; }
.picker-btn::after { content: ''; position: absolute; right: 10px; top: 50%; margin-top: -2px; border: 5px solid transparent; border-top-color: #8a8f99; }
.picker-btn.picker-placeholder { color: #8a8f99; }
.picker-overlay { position: fixed; inset: 0; background: rgba(10,31,51,.55); z-index: 9999; display: flex; align-items: flex-end; justify-content: center; }
.picker-panel { background: #fff; width: 100%; max-width: 560px; max-height: 62vh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 0 0 calc(14px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; box-shadow: 0 -8px 40px rgba(10,31,51,.28); }
.picker-title { background: linear-gradient(160deg,#0A1F33 0%,#16344F 52%,#0B2440 100%); color: #fff; padding: 14px 18px 15px; font-size: 15px; font-weight: 600; letter-spacing: 2px; text-align: center; position: relative; border-radius: 16px 16px 0 0; margin-bottom: 4px; }
.picker-title::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, #2C5F8F 30%, #8FB4D9 50%, #2C5F8F 70%, transparent); }
.picker-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 14px 18px; background: #fff; border: 0; border-bottom: 1px solid #f0f1f3; font-size: 15px; color: #1f2329; text-align: left; font-family: inherit; cursor: pointer; }
.picker-item:active { background: #f5f7fa; }
.picker-item i { width: 18px; height: 18px; border: 2px solid #c9cdd4; border-radius: 50%; flex: none; box-sizing: border-box; }
.picker-item.sel { background: #E9F0F8; color: #0F3D6E; font-weight: 600; }
.picker-item.sel i { border-color: #2C5F8F; background: #2C5F8F; box-shadow: inset 0 0 0 3px #fff; }
.picker-empty { padding: 18px; color: #8a8f99; font-size: 14px; text-align: center; }
@media (min-width: 700px) {
  .picker-overlay { align-items: center; }
  .picker-panel { border-radius: 12px; max-height: 60vh; }
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #0F3D6E; box-shadow: 0 0 0 2px rgba(15,61,110,.14); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 14px; margin-bottom: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar input[type="text"] { width: 200px; }

/* ---- 徽标（蓝白分层：新预约=浅蓝 / 已受理=实心蓝 / 已完成=深蓝 / 已取消=灰） ---- */
.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: #eff0f1; color: #646a73; white-space: nowrap; }
.badge-blue { background: #E8F0F9; color: #0F3D6E; }
.badge-gold { background: #E9F0F8; color: #2C5F8F; }
.badge-solid { background: #0F3D6E; color: #fff; }
.badge-deep { background: #10233F; color: #fff; }
.badge-gray { background: #f2f3f5; color: #8f959e; }
.badge-red { background: #ffece8; color: #d83931; }
.badge-green { background: #e8f8ee; color: #2ba471; }

/* ---- 工作台 ---- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid #E5E8EE; border-radius: 12px; padding: 16px 18px; display: block; color: #262B33; box-shadow: 0 1px 4px rgba(16,24,40,.05); transition: all .2s ease; }
.stat:hover { border-color: #2C5F8F; box-shadow: 0 4px 16px rgba(44,95,143,.15); }
.stat .label { color: #646a73; font-size: 13px; font-weight: 500; }
.stat .num { font-size: 26px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; color: #0F3D6E; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chips a { padding: 4px 12px; border-radius: 14px; background: #fff; border: 1px solid #E5E8EE; color: #262B33; font-size: 12px; }
.chips a.on { background: #0F3D6E; border-color: #0F3D6E; color: #fff; }

/* ---- 登录/落地页 ---- */
.login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: linear-gradient(135deg, #0A1F33 0%, #0F3D6E 50%, #164A7A 100%); }
.login-card { background: #FFFFFF; border: none; border-radius: 16px; padding: 48px 44px 32px; width: 100%; max-width: 400px; box-shadow: 0 25px 80px rgba(3,10,24,.6); position: relative; overflow: hidden; }
.login-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #0A1F33, #2C5F8F 30%, #8FB4D9 50%, #2C5F8F 70%, #0A1F33); }
.login-card h1.brand-logo { max-width: 100%; margin: 0 auto 12px; text-align: center; }
.login-card h1.brand-logo .brand-logo-img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.login-card .brand-sub { display: flex; align-items: center; justify-content: center; margin: 0 0 4px; font-size: 13px; color: #8A97A5; }
.login-card .brand-sub span { letter-spacing: 4px; text-indent: 4px; white-space: nowrap; }
.login-card .brand-sub i { display: inline-block; width: 1px; height: 12px; background: #C9D8EA; margin: 0 16px; flex: none; }
.login-card .brand-rule { width: 50px; height: 2px; margin: 20px auto 28px; background: linear-gradient(90deg, transparent, #2C5F8F 30%, #8FB4D9 50%, #2C5F8F 70%, transparent); }
.badge-btn { display: inline-block; padding: 3px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; }
.badge-btn-blue { background: #0F3D6E; }
.badge-btn-orange { background: #2C5F8F; }
.badge-btn-green { background: #1a7a4a; }
.badge-btn-red { background: #8B1A1A; }
.badge-btn-gray { background: #6b7280; }
.portal-badge { display: block; text-align: center; margin: 10px auto 0; padding: 4px 18px; border-radius: 999px; background: linear-gradient(90deg, #0F3D6E, #164A7A); color: #fff; font-size: 13px; font-weight: 600; width: fit-content; }
.login-card .muted { text-align: center; margin: 0 0 22px; color: #8A97A5; letter-spacing: 1px; }
.login-card label { margin-top: 18px; font-weight: 600; color: #4A586C; font-size: 13px; letter-spacing: 1px; }
.login-card input { border-radius: 10px; border: 1px solid #DCE4EE; background: #FBFCFE; transition: all .2s; padding: 12px 14px; font-size: 14px; }
.login-card input:focus { border-color: #2C5F8F; box-shadow: 0 0 0 4px rgba(44,95,143,.1); outline: none; background: #FFFFFF; }
.login-card .btn-block { margin-top: 28px; padding: 14px; font-size: 15px; letter-spacing: 10px; text-indent: 10px; border-radius: 10px; border: none; cursor: pointer;
  background: linear-gradient(180deg, #0F3D6E, #0B2B53); color: #fff; font-weight: 600; transition: all .2s; }
.login-card .btn-block:hover { background: linear-gradient(180deg, #164A7A, #0F3D6E); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,61,110,.4); }
.login-card .muted.small { font-size: 12px; color: #A6B2C0; letter-spacing: .5px; text-align: center; }
.login-card .internal-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 0; font-size: 13px; color: #2C5F8F; letter-spacing: 2px; font-weight: 600; }
.login-card .internal-note .in-dot { width: 4px; height: 4px; border-radius: 50%; background: #2C5F8F; }
.corner-ribbon { position: absolute; top: 18px; right: -34px; transform: rotate(45deg); width: 120px; text-align: center; padding: 4px 0; font-size: 11px; font-weight: 600; letter-spacing: 2px; color: #FFFFFF; background: linear-gradient(90deg, #2C5F8F, #3A6FA0); box-shadow: 0 2px 6px rgba(3,10,24,.25); }
.login-card .agree-row { display: flex; align-items: flex-start; gap: 6px; margin-top: 16px; font-size: 12px; color: #6B7889; font-weight: 400; letter-spacing: 0; cursor: pointer; line-height: 1.6; }
.login-card .agree-row input[type="checkbox"] { width: 15px; height: 15px; margin: 2px 0 0; accent-color: #2C5F8F; cursor: pointer; flex: none; }
.login-card .agree-row a { color: #0F3D6E; text-decoration: none; }
.login-card .agree-row a:hover { color: #2C5F8F; text-decoration: underline; }

/* ============ 落地页（金融风：藏青横幅 + 金/蓝/墨三色卡片）============ */
.landing-body { background: #f4f6fa; min-height: 100vh; }
.hero { background: linear-gradient(160deg, #0A1F33 0%, #16344F 48%, #0B2440 100%); color: #fff; padding: 52px 16px 74px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(560px 280px at 18% -10%, rgba(143,180,217,.28), transparent 62%), radial-gradient(480px 240px at 86% 8%, rgba(255,255,255,.10), transparent 60%), radial-gradient(700px 340px at 50% 120%, rgba(44,95,143,.16), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, #2C5F8F 30%, #8FB4D9 50%, #2C5F8F 70%, transparent); }
.hero-inner { max-width: 860px; margin: 0 auto; }
.hero-logo { width: 60px; height: 60px; margin: 0 auto; border-radius: 16px; background: rgba(255,255,255,.10); border: 1px solid rgba(143,180,217,.45); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.hero h1 { font-size: 26px; margin: 16px 0 8px; letter-spacing: 3px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.hero-sub { color: #c7d2de; margin: 0; font-size: 14px; letter-spacing: 1px; }
.hero-tags { margin-top: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-tags span { font-size: 12px; color: #C9D8EA; background: rgba(143,180,217,.12); border: 1px solid rgba(143,180,217,.35); padding: 4px 12px; border-radius: 999px; }
.hero-user { margin-top: 18px; display: inline-block; font-size: 13px; color: #ffe9b8; background: rgba(44,95,143,.16); border: 1px solid rgba(44,95,143,.5); padding: 6px 16px; border-radius: 999px; }
.landing-wrap { max-width: 860px; margin: -40px auto 0; padding: 0 16px 40px; position: relative; z-index: 1; }
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.entry { background: #fff; border: 1px solid #e8ebf0; border-radius: 14px; padding: 26px 18px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; color: #1f2329; position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.22,.9,.3,1.2), box-shadow .3s ease, border-color .3s ease; }
.entry::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.entry::after { content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-20deg); transition: left .65s ease; pointer-events: none; }
.entry:hover { transform: translateY(-5px); color: #1f2329; }
.entry:hover::after { left: 135%; }
.entry:active { transform: translateY(-1px) scale(.96); transition-duration: .07s; }
.entry .ico { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.entry:hover .ico { transform: scale(1.14) rotate(-6deg); }
.entry .t { font-size: 17px; font-weight: 600; margin-top: 13px; letter-spacing: 1px; }
.entry .d { color: #646a73; font-size: 12px; margin-top: 7px; line-height: 1.6; min-height: 38px; }
.entry .go { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 500; letter-spacing: 1px; width: 100%; transition: letter-spacing .25s ease; }
.entry:hover .go { letter-spacing: 3px; }
/* 金融三色：预约开卡=鎏金（财富）/ 开卡服务=海军蓝（稳健信任）/ 系统管理=宝蓝（科技） */
.entry-c::before { background: #2C5F8F; }
.entry-c .ico { background: #E9F0F8; }
.entry-c .go { color: #2C5F8F; }
.entry-c:hover { box-shadow: 0 8px 22px rgba(44,95,143,.22); border-color: #2C5F8F; }
.entry-b::before { background: #0F3D6E; }
.entry-b .ico { background: #E8F0F9; }
.entry-b .go { color: #2C5F8F; }
.entry-b:hover { box-shadow: 0 8px 22px rgba(15,61,110,.22); border-color: #0F3D6E; }
.entry-a::before { background: #0F3D6E; }
.entry-a .ico { background: #E9F1FB; }
.entry-a .go { color: #2C5F8F; }
.entry-a:hover { box-shadow: 0 8px 22px rgba(15,61,110,.22); border-color: #0F3D6E; }
.landing-warn { display: block; width: fit-content; margin: 26px auto 0; padding: 6px 18px; border-radius: 999px; background: #E9F0F8; border: 1px solid #C9D8EA; color: #0F3D6E; font-size: 12px; letter-spacing: 1px; }
.landing-foot { text-align: center; color: #8f959e; font-size: 12px; margin-top: 22px; }

/* ---- 预约成功页（金融藏青×金） ---- */
.succ-card { max-width: 620px; margin: 24px auto; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 28px rgba(10,31,51,.10); }
.succ-hero { background: linear-gradient(160deg, #0A1F33 0%, #16344F 52%, #0B2440 100%); color: #fff; text-align: center; padding: 34px 20px 26px; position: relative; }
.succ-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, #2C5F8F 30%, #8FB4D9 50%, #2C5F8F 70%, transparent); }
.succ-ico { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; background: rgba(143,180,217,.16); border: 1.5px solid #8FB4D9; color: #8FB4D9; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.succ-title { font-size: 19px; font-weight: 600; letter-spacing: 2px; margin-top: 12px; }
.succ-no { font-size: 26px; font-weight: 700; letter-spacing: 1.5px; color: #8FB4D9; margin-top: 8px; font-family: 'SF Mono', Consolas, monospace; }
.succ-sub { font-size: 12.5px; color: #b8c6d4; margin-top: 10px; letter-spacing: .5px; }
.succ-body { padding: 22px 26px 26px; }
.succ-group { margin-bottom: 18px; }
.succ-group:last-of-type { margin-bottom: 6px; }
.succ-gt { font-size: 13px; font-weight: 600; color: #0B2440; letter-spacing: 1px; padding-left: 9px; border-left: 3px solid #2C5F8F; margin-bottom: 12px; }
.succ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.succ-grid .wide { grid-column: 1 / -1; }
.succ-grid .k { color: #8f959e; font-size: 12px; }
.succ-grid .v { margin-top: 3px; color: #1f2329; font-size: 14.5px; word-break: break-all; }
.succ-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid #f0f2f5; }
.succ-actions .btn { min-width: 130px; }
@media (max-width: 560px) { .succ-grid { grid-template-columns: 1fr; } .succ-actions { flex-direction: column; } .succ-actions .btn { width: 100%; } }

/* 详情页头部进度条（深色背景适配） */
.detail-flow { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 16px; }
.detail-flow .step { padding: 4px 12px; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,.12); color: #9fb0c1; }
.detail-flow .step.done { background: rgba(143,180,217,.18); color: #8FB4D9; }
.detail-flow .step.cur { background: #2C5F8F; color: #fff; font-weight: 600; }
.detail-flow .step.cancel { background: rgba(255,255,255,.10); color: #8f959e; }
.detail-flow .arrow { color: #5f7285; font-size: 12px; }
.detail-note { text-align: center; color: #0F3D6E; background: #E9F0F8; border: 1px solid #C9D8EA; border-radius: 8px; font-size: 12.5px; padding: 9px 14px; margin-top: 6px; }

/* 工作台金融风头卡 */
.dash-hero { display: flex; align-items: center; gap: 20px;
  background: linear-gradient(135deg, #0A1F33 0%, #0F3D6E 50%, #164A7A 100%);
  border-radius: 16px; padding: 24px 28px; margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(10,31,51,.3); }
.dash-logo { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,.4); border: 2px solid rgba(143,180,217,.3); }
.dash-hero-txt { min-width: 0; }
.dash-title { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,.35); }
.dash-sub { color: #8FB4D9; font-size: 13px; margin-top: 6px; letter-spacing: 1.5px; }

/* 预约表单：时间确认回显 + 经理带出信息条 */
.appt-echo { margin-top: 6px; padding: 6px 10px; border-radius: 8px;
  background: #E9F7EF; border: 1px solid #A9DFBF; color: #1E8449;
  font-size: 12px; font-weight: 600; }
.appt-echo.appt-warn { background: #FEF5E7; border-color: #F5CBA7; color: #B9770E; }
.mgr-echo { margin-top: 6px; padding: 6px 10px; border-radius: 8px;
  background: #F0F4FA; border: 1px solid #C7D5E8; color: #0F3D6E;
  font-size: 12px; font-weight: 600; }

/* 客户经理录入表单：双列网格 */
.mgr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 14px; margin: 4px 0 12px; }
.mgr-grid label { display: block; font-size: 12px; font-weight: 600; color: #607080; margin-bottom: 4px; }
.mgr-grid input { width: 100%; box-sizing: border-box; }
.mgr-submit { text-align: right; }
.mgr-submit .btn { min-width: 120px; }
@media (max-width: 700px) { .mgr-grid { grid-template-columns: 1fr 1fr; } }

/* 分页条 */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px; margin: 12px 0 4px; }
.pg { border: 1px solid #D5DEEA; background: #FFFFFF; color: #0F3D6E; border-radius: 8px;
  padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; min-width: 34px; }
.pg:hover { border-color: #0F3D6E; }
.pg.on { background: #0F3D6E; color: #FFFFFF; border-color: #0F3D6E; }
.pg-nav { color: #607080; }
.pg-info { margin-left: 10px; font-size: 12px; color: #8A97A5; }

/* 订单类型徽章 */
.badge-spec { background: #1a3a5c; color: #8FB4D9; border: 1px solid #3A6FA0; }
.badge-unspec { background: #f5f5f0; color: #8c8c8c; border: 1px solid #d9d7ce; }

/* 列表页：可点统计卡 + 状态横向 tab 组 */
.stat-link { text-decoration: none; color: inherit; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.stat-link:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(10,31,51,.10); }
.stat-link.on { outline: 2px solid #2C5F8F; outline-offset: -2px; }
.gtabs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 6px; border-bottom: 1px solid #f0f2f5; }
.gtab { display: inline-flex; align-items: center; gap: 10px; background: #f7f8fa; border: 1px solid #e8ebf0; border-radius: 10px; padding: 8px 14px; cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.gtab:hover { background: #E9F0F8; border-color: #C9D8EA; }
.gtab.on { background: #fff; border-color: #2C5F8F; box-shadow: 0 2px 8px rgba(44,95,143,.15); }
.gtab-n { color: #1f2329; font-weight: 700; font-size: 15px; }
.gtab-n::after { content: ' 笔'; color: #8f959e; font-weight: 400; font-size: 12px; }
.gpanel { display: none; }
.gpanel.on { display: block; }

/* ---- 详情 ---- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 16px; }
.info-grid .k { color: #8f959e; font-size: 12px; }
.info-grid .v { margin-top: 2px; word-break: break-all; }
.flow { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin: 8px 0 14px; }
.flow .step { padding: 3px 10px; border-radius: 12px; font-size: 12px; background: #eff0f1; color: #8f959e; }
.flow .step.done { background: #E8F0F9; color: #0F3D6E; }
.flow .step.cur { background: #0F3D6E; color: #fff; }
.flow .step.cancel { background: #f2f3f5; color: #8f959e; }
.flow .arrow { color: #bbbfc4; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 8px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; border: 1px solid #dee0e3; border-radius: 8px; display: block; }
.photo-grid figcaption { color: #8f959e; font-size: 12px; margin-top: 4px; text-align: center; }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.action-box { border-top: 1px dashed #dee0e3; margin-top: 14px; padding-top: 12px; }
.action-box h3 { margin-top: 0; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-form input[type="text"] { width: 220px; }

/* ---- 提示条 ---- */
/* ---- 凭证图片网格 + 小按钮 ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 10px; }
.btn-sm { padding: 3px 10px; font-size: 12px; }

.photo-item img { width: 100%; border-radius: 8px; border: 1px solid #e5e6eb; display: block; }

.flash-ok { background: #E8F0F9; color: #0F3D6E; border-radius: 6px; padding: 8px 10px; margin-bottom: 12px; }
.success-icon { text-align: center; font-size: 40px; }
.res-no { text-align: center; font-size: 20px; font-weight: 600; letter-spacing: .5px; margin: 6px 0 14px; }
.notice { background: #E9F0F8; color: #8A6414; border-radius: 6px; padding: 10px 12px; margin-top: 14px; text-align: center; }

.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-row .captcha-img { height: 40px; border-radius: 8px; border: 1px solid #d9dce1; cursor: pointer; flex-shrink: 0; }
.captcha-row input { flex: 1; min-width: 0; }

@media (max-width: 640px) {
  main { padding: 10px; }
  .card { padding: 12px; }
  .toolbar input[type="text"] { width: 140px; }
  table { min-width: 480px; }
  .inline-form input[type="text"] { width: 150px; }
  /* 落地页移动端 */
  .hero { padding: 34px 12px 56px; }
  .hero h1 { font-size: 21px; letter-spacing: 2px; }
  .hero-sub { font-size: 12px; }
  .hero-tags span { font-size: 11px; padding: 3px 10px; }
  .landing-wrap { margin-top: -30px; padding: 0 12px 30px; }
  .entry-grid { grid-template-columns: 1fr; gap: 12px; }
  .entry { display: flex; flex-direction: row; align-items: center; text-align: left; padding: 16px 14px; gap: 12px; }
  .entry::before { left: 0; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .entry .ico { width: 44px; height: 44px; font-size: 22px; margin: 0; flex-shrink: 0; }
  .entry .t { margin-top: 0; font-size: 16px; }
  .entry .d { margin-top: 3px; min-height: 0; }
  .entry .go { margin-top: 5px; }
  .entry .tx { flex: 1; }
}

/* ============ 手机浏览器适配（768px 断点）============ */
@media (max-width: 768px) {
  body { font-size: 14px; }
  /* 顶栏：品牌/用户一行，导航独立一行；高度随内容，避免覆盖正文 */
  .topbar { flex-wrap: wrap; height: auto; min-height: 56px; padding: 8px 12px; gap: 6px; }
  .topbar .brand { font-size: 15px; width: auto; }
  .topbar nav { order: 3; flex: 1 1 100%; width: 100%; min-width: 0; gap: 3px; -webkit-overflow-scrolling: touch; }
  .topbar nav a { padding: 8px; font-size: 13px; }
  .topbar .user { margin-left: auto; font-size: 12px; }
  main { padding: 10px 10px 30px; }
  /* 头卡紧凑化 */
  .dash-hero { flex-direction: row; gap: 12px; padding: 16px 14px; border-radius: 12px; }
  .dash-hero .badge { width: 64px !important; height: 64px !important; }
  .dash-hero h1 { font-size: 19px; }
  .dash-hero .dash-sub { font-size: 12px; margin-top: 4px; }
  /* 统计卡：2列大数字 */
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 12px 12px; }
  .stat .label { font-size: 12px; }
  .stat .num { font-size: 20px; }
  /* 工具栏：筛选纵向排列、控件全宽 */
  .toolbar { gap: 6px; }
  .toolbar form { width: 100%; }
  .toolbar input[type="text"],
  .toolbar select,
  .toolbar input[type="date"] { width: 100% !important; flex: 1 1 100%; padding: 9px 10px; font-size: 14px; }
  .toolbar .btn { width: 100%; padding: 10px; font-size: 14px; }
  /* 卡片与分组 */
  .card { padding: 14px 12px; border-radius: 10px; }
  .succ-group { padding: 14px 12px; }
  .grp-grid, .form-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .form-grid-2, .form-grid-4 { grid-template-columns: 1fr 1fr !important; }
  label { font-size: 13px; }
  input, select, textarea { font-size: 16px !important; } /* ≥16px 防 iOS 自动放大 */
  input, select { padding: 10px; }
  /* 表格：横滑 + 紧凑 */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -12px; padding: 0 12px; }
  table { min-width: 560px; font-size: 13px; }
  th, td { padding: 8px 8px; }
  /* 编辑行/操作按钮纵向堆叠更易点 */
  .inline-form { flex-direction: column; align-items: stretch; gap: 6px; }
  .inline-form input { width: 100% !important; }
  .btn, .btn-secondary { padding: 9px 14px; font-size: 14px; min-height: 40px; }
  .btn-xs { min-height: 34px; padding: 6px 10px; }
  /* 大按钮全宽 */
  .succ-actions .btn, form .btn-block { width: 100%; }
  /* 上传区 */
  .upload-grid { grid-template-columns: 1fr !important; }
  .file-row { flex-direction: column; align-items: stretch; }
  /* 详情键值对 */
  .kv { grid-template-columns: 88px 1fr; row-gap: 10px; }
  /* chips 可横滑 */
  .chips { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; }
  .chips a { white-space: nowrap; }
  /* 成功页 */
  .success-icon { font-size: 34px; }
  .res-no { font-size: 17px; }
}
/* 小屏手机（≤380px）再收紧 */
@media (max-width: 380px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-grid-2, .form-grid-4 { grid-template-columns: 1fr !important; }
  .dash-hero h1 { font-size: 17px; }
}

/* ===== 20261018r 详情页分组卡片化 + 录入控件优化 ===== */
.succ-group.grp-card { background: #F8FAFC; border: 1px solid #EDF0F5; border-radius: 12px; padding: 14px 16px 16px; }
.succ-group.grp-card .succ-gt { margin-bottom: 10px; }
.succ-grid .v-strong { font-weight: 600; color: #0F3D6E; }
.photo-item { background: #fff; border: 1px solid #E5E8EE; border-radius: 10px; padding: 10px; }
.photo-item img { width: 100%; border-radius: 8px; display: block; border: 1px solid #dee0e3; }
.photo-item input[type="file"] { font-size: 12px; max-width: 100%; }
.action-box.grp-card { background: #F8FAFC; border: 1px solid #EDF0F5; border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
.action-box.grp-card h3 { font-size: 13px; font-weight: 600; color: #0B2440; letter-spacing: 1px; padding-left: 9px; border-left: 3px solid #2C5F8F; margin: 0 0 10px; }

/* ===== 20261019a 自绘日期时间选择器（金融风） ===== */
.dt-overlay { position: fixed; inset: 0; background: rgba(10,31,51,.55); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.dt-panel { background: #fff; width: 340px; max-width: 92vw; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(10,31,51,.35); }
.dt-title { background: linear-gradient(160deg,#0A1F33 0%,#16344F 52%,#0B2440 100%); color: #fff; padding: 14px 18px 15px; font-size: 15px; font-weight: 600; letter-spacing: 2px; text-align: center; position: relative; }
.dt-title::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, #2C5F8F 30%, #8FB4D9 50%, #2C5F8F 70%, transparent); }
.dt-body { padding: 14px 16px 16px; }
.dt-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dt-nav .dt-m { font-size: 15px; font-weight: 600; color: #0B2440; letter-spacing: 1px; }
.dt-nav button { border: 1px solid #E5E8EE; background: #fff; color: #0F3D6E; width: 30px; height: 30px; border-radius: 8px; font-size: 15px; cursor: pointer; line-height: 1; }
.dt-nav button:hover { border-color: #2C5F8F; color: #2C5F8F; }
.dt-week, .dt-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dt-week span { text-align: center; font-size: 12px; color: #8f959e; padding: 4px 0; }
.dt-day { border: 0; background: #fff; border-radius: 8px; padding: 8px 0; font-size: 14px; color: #1f2329; cursor: pointer; font-family: inherit; }
.dt-day:hover { background: #E9F0F8; }
.dt-day.dis { color: #c9cdd4; cursor: not-allowed; background: #fff; }
.dt-day.dis:hover { background: #fff; }
.dt-day.today { color: #2C5F8F; font-weight: 700; }
.dt-day.sel { background: #0F3D6E; color: #fff; font-weight: 600; }
.dt-day.sel:hover { background: #0F3D6E; }
.dt-time { display: flex; gap: 10px; margin-top: 14px; align-items: center; justify-content: center; }
.dt-time select { border: 1px solid #E5E8EE; border-radius: 8px; padding: 8px 12px; font-size: 15px; color: #1f2329; font-family: inherit; background: #fff; }
.dt-time .sep { font-size: 18px; font-weight: 700; color: #0B2440; }
.dt-actions { display: flex; gap: 10px; margin-top: 16px; }
.dt-actions .btn { flex: 1; }

/* ===== 20261019c 新建预约表单质感升级 ===== */
/* autofill 泛蓝修复：强制白底黑字 */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #fff inset !important;
  -webkit-text-fill-color: #1f2329 !important;
  caret-color: #1f2329;
  transition: background-color 99999s ease-in-out 0s;
}
/* 表单分组卡片（金色竖条组标题，对齐详情页） */
.form-group { background: #F8FAFC; border: 1px solid #EDF0F5; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.form-group .fg-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #0F3D6E; letter-spacing: 1px; margin-bottom: 12px; }
.form-group .fg-title::before { content: ''; width: 4px; height: 14px; background: linear-gradient(180deg, #8FB4D9, #2C5F8F); border-radius: 2px; }
.form-group .fg-title .fg-sub { font-size: 12px; font-weight: 400; color: #8f959e; letter-spacing: 0; }
/* 输入控件聚焦金色 */
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus, .picker-btn:focus {
  outline: none; border-color: #2C5F8F !important; box-shadow: 0 0 0 3px rgba(44,95,143,.12);
}
.form-grid input, .form-grid textarea, .form-grid select { transition: border-color .15s, box-shadow .15s; }
/* 提示条统一米金色调 */
.notice { background: #E9F0F8 !important; border: 1px solid #C9D8EA !important; color: #0F3D6E !important; border-radius: 10px !important; }
/* 客户经理回显条统一色调 */
.mgr-echo { background: #E9F0F8 !important; border: 1px solid #C9D8EA !important; color: #0F3D6E !important; }
@media (max-width: 720px) {
  .form-group .form-grid { grid-template-columns: 1fr !important; }
}

/* ===== 20261025 详情页 hero BKOPEN 徽章组合 LOGO ===== */
.hero-brand { width: fit-content; max-width: 100%; margin: 0 auto 6px; padding: 4px 8px; background: #FFFFFF; border-radius: 6px; }
.hero-brand .hero-brand-logo { display: block; width: 168px; max-width: 100%; height: auto; margin: 0 auto; }
.hero-brand-rule { width: 36px; height: 2px; margin: 0 auto 10px; background: linear-gradient(90deg, transparent, #2C5F8F 30%, #8FB4D9 50%, #2C5F8F 70%, transparent); }

/* ===== 20261019e 详情页字号统一 ===== */
.detail-no { font-size: 22px; }  /* 详情页预约号统一走类，禁内联 */
.succ-hero .badge { font-size: 13px; }
.detail-flow .step { font-size: 12.5px; }
.detail-flow .arrow { font-size: 12px; }
.succ-group .succ-gt { font-size: 14px; }
.card-grid .muted.small { font-size: 12.5px; }

/* ===== 20261019f 订单展示字体/颜色/字样全系统统一 ===== */
/* 列表单元格：统一字号字色 */
.table-wrap td { font-size: 13.5px; color: #1f2329; }
/* 预约号全场景等宽字样（列表链接、详情 hero、成功页 hero 同一副面孔） */
.table-wrap td a[href^="/my/"], .table-wrap td a[href^="/booking/"] {
  font-family: 'SF Mono', Consolas, monospace; font-weight: 600; letter-spacing: .5px;
}
/* 时间列统一浅灰 */
.table-wrap td.muted { color: #8f959e; font-size: 13px; }
/* 详情/成功页 k 标签统一字距（与组标题呼应） */
.succ-grid .k { letter-spacing: .5px; }
/* 客户经理邮箱等长文本字号收一档防撑格 */
.succ-grid .v { line-height: 1.45; }
/* 非链接预约号也等宽（dashboard 进行中行） */
.table-wrap td.rno { font-family: 'SF Mono', Consolas, monospace; font-weight: 600; letter-spacing: .5px; color: #0F3D6E; }
.table-wrap td.rno a { color: inherit; }

/* ===== 20261019g 预约号数字字体全平台美化 ===== */
/* 字体栈：优先现代等宽（表格数字对齐+字形精致） */
.rno-pre, .rno-num { font-family: 'JetBrains Mono', 'SF Mono', 'Roboto Mono', Consolas, 'Courier New', monospace; }
/* BK 前缀：灰蓝弱化，小半号 */
.rno-pre { color: #8a97a5; font-weight: 600; font-size: .88em; letter-spacing: .8px; margin-right: 1px; }
/* 数字主体：深藏青加粗，数字等宽对齐 */
.rno-num { color: #0F3D6E; font-weight: 700; letter-spacing: .6px; font-variant-numeric: tabular-nums; }
/* hero 场景（详情/成功页，金底藏青横幅）：前缀亮金、数字亮金纯白分阶 */
.succ-hero .rno-pre { color: rgba(143,180,217,.55); }
.succ-hero .rno-num { color: #8FB4D9; }
/* 列表链接内继承 rno 自带色 */
.table-wrap td a .rno-pre { color: #9fb0c3; }
.table-wrap td a .rno-num { color: #0F3D6E; }

/* ===== 20261019h 客户经理管理页质感升级 ===== */
/* 统计条：白卡+金线描边 */
.mgr-statbar { background: #fff; border: 1px solid #C9D8EA; border-radius: 14px; padding: 14px 20px; margin-bottom: 14px; display: flex; gap: 20px; align-items: center; box-shadow: 0 2px 8px rgba(15,61,110,.05); }
.mgr-stat-all { text-decoration: none; text-align: center; min-width: 64px; padding: 6px 10px; border-radius: 10px; background: linear-gradient(160deg,#E9F0F8,#E9F0F8); border: 1px solid #C9D8EA; }
.mgr-stat-all .ms-num { font-size: 26px; font-weight: 800; color: #0F3D6E; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mgr-stat-all .ms-label { font-size: 12px; color: #0F3D6E; margin-top: 2px; letter-spacing: 1px; }
.mgr-stat-branch { border-left: 1px solid #C9D8EA; padding-left: 20px; }
.mgr-stat-branch .ms-branch-name { font-size: 14px; font-weight: 700; color: #0F3D6E; }
.mgr-stat-branch .ms-badges { display: flex; gap: 8px; margin-top: 6px; }
.ms-badge { font-size: 12px; padding: 2px 10px; border-radius: 20px; letter-spacing: .5px; }
.ms-badge.ms-on { color: #065F46; background: #E9F8F1; border: 1px solid #BFE8D6; }
.ms-badge.ms-off { color: #7F1D1D; background: #FBECEC; border: 1px solid #F2C8C8; }
/* 录入按钮金色加大 */
.mgr-submit { display: flex; justify-content: flex-end; margin-top: 4px; }
.mgr-submit .btn-primary-lg { display: inline-block; width: auto; padding: 11px 44px; font-size: 15px !important; }

/* ===== 20261019i 分页组件全平台统一 ===== */
.pager-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 6px 4px; flex-wrap: wrap; gap: 8px; }
.pager-bar .pg-info { font-size: 12.5px; color: #8f959e; letter-spacing: .5px; }
.pager-bar .pg-info b { color: #0F3D6E; font-weight: 700; }
.pager-bar .pg-btns { display: flex; gap: 5px; align-items: center; }
.pager-bar .pg-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 10px; border-radius: 8px; font-size: 13px; text-decoration: none; color: #262B33; background: #fff; border: 1px solid #E5E8EE; transition: all .15s; box-sizing: border-box; }
.pager-bar .pg-btn:hover { border-color: #2C5F8F; color: #2C5F8F; }
.pager-bar .pg-btn.pg-cur { background: linear-gradient(135deg,#2C5F8F,#1F4E79); border-color: #2C5F8F; color: #fff; font-weight: 700; pointer-events: none; box-shadow: 0 2px 6px rgba(44,95,143,.3); }
.pager-bar .pg-btn.pg-dis { opacity: .35; pointer-events: none; }

/* ===== 20261019j 按钮扁平化+文字全系统统一 ===== */
/* 主按钮：纯色深藏青，无渐变无投影无上浮（仅未带其他角色类的纯 .btn） */
.btn { background: #0F3D6E; box-shadow: none; font-size: 13px; font-weight: 500; letter-spacing: .5px; }
.btn-primary-lg { background: #0F3D6E !important; box-shadow: none !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: 2px !important; }
.btn:hover { background: #164A7A; transform: none; box-shadow: none; }
.btn-primary-lg:hover { background: #164A7A !important; transform: none !important; }
/* 次按钮：白底灰边，hover 淡金边 */
.btn-secondary, .btn-secondary:hover { background: #fff; }
.btn-secondary { border: 1px solid #D9DCE1 !important; color: #262B33 !important; font-size: 13px !important; font-weight: 500 !important; }
.btn-secondary:hover { background: #F0F4F9 !important; border-color: #2C5F8F !important; color: #0F3D6E !important; }
/* 成功/金色按钮：纯鎏金 */
.btn-success { background: #2C5F8F !important; box-shadow: none !important; }
.btn-success:hover { background: #1F4E79 !important; transform: none !important; }
/* 危险按钮：白底红字细边 */
.btn-danger { font-size: 12px !important; font-weight: 500 !important; }
.btn-danger:hover { transform: none !important; }
/* 分页按钮去阴影（金色当前页扁平） */
.pager-bar .pg-btn.pg-cur { box-shadow: none !important; font-weight: 600 !important; }
/* 小按钮字号对齐 */
.btn-xs, .btn-sm { font-size: 12px !important; font-weight: 500 !important; }

/* 统计条嵌入卡片内时：去白底卡片感，改浅色分隔带 */
#managers .mgr-statbar { background: #FAFBFD; border: 1px solid #EEF1F5; box-shadow: none; border-radius: 12px; }

/* ===== 20261019k 字体直观可见+按钮点击动画 ===== */
/* placeholder 提示文字：统一中灰可见（不再浅到隐形），输入时淡出 */
input::placeholder, textarea::placeholder { color: #9AA3AF !important; opacity: 1; font-size: 13px; }
input:focus::placeholder, textarea:focus::placeholder { color: #C3CAD2 !important; }
/* 表单 label 统一加深加粗一档，直观可见 */
label { color: #4A5568 !important; font-weight: 500 !important; font-size: 12.5px !important; letter-spacing: .3px; }
/* select 未选择项文字可见性 */
select { color: #1f2329; }
/* 全站可点击元素：点击按压动画（缩放+微暗），键盘焦点可见 */
.btn, .pg-btn, .chips a, .topbar nav a, .ms-badge, a.btn-secondary, button {
  transition: transform .08s ease, filter .08s ease, background .15s, border-color .15s, color .15s;
}
.btn:active, .pg-btn:active, button:active, a.btn-secondary:active {
  transform: scale(.96); filter: brightness(.92);
}
.chips a:active, .topbar nav a:active { transform: scale(.97); filter: brightness(.95); }
/* 链接按压 */
.table-wrap td a:active { filter: brightness(.8); }

/* ===== 20261019m 按钮色调升级：文字清晰直读 ===== */
/* 主按钮：深藏青底+纯白字+微亮描边，文字最优先可读 */
.btn { background: #103F73; border: 1px solid #0B2B53; color: #FFFFFF; font-weight: 600; text-shadow: none; }
.btn:hover { background: #1C5A8C; border-color: #0B2B53; color: #FFFFFF; }
/* 大按钮同体系 */
.btn-primary-lg { background: #103F73 !important; border: 1px solid #0B2B53 !important; color: #FFFFFF !important; }
.btn-primary-lg:hover { background: #1C5A8C !important; }
/* 金色按钮：鎏金底+纯白字加粗 */
.btn-success { background: #2C5F8F !important; border: 1px solid #1F4E79; color: #FFFFFF !important; font-weight: 600; }
.btn-success:hover { background: #1F4E79 !important; }
/* 次按钮：白底+深藏青字（原近黑改主题色，更像"按钮"） */
.btn-secondary { color: #0F3D6E !important; font-weight: 600 !important; }
.btn-secondary:hover { color: #0F3D6E !important; }
/* 禁用按钮：浅灰底+中灰字（原白字看不清） */
.btn-disabled { background: #E8EAEE !important; color: #9AA3AF !important; border: 1px solid #DFE2E8; }
/* 危险按钮：白底红字描边加粗一档 */
.btn-danger { color: #E5484D !important; border: 1px solid #F5C2C4 !important; font-weight: 600 !important; background: #FFF7F7 !important; }
.btn-danger:hover { background: #FFECE8 !important; }
/* 取消大按钮 */
.btn-cancel-lg { background: #FFF7F7 !important; color: #E5484D !important; border: 1px solid #F5C2C4 !important; font-weight: 600; }
/* 分页当前页：金底白字 */
.pager-bar .pg-btn.pg-cur { color: #FFFFFF !important; font-weight: 700 !important; }

/* ===== 20261019n 编辑类按钮色调升级：文字绝不压盖 ===== */
/* 表格操作列编辑按钮：淡金底+深金加粗字，与主按钮/次按钮拉开层级 */
.btn-secondary.btn-xs { background: #E9F0F8 !important; border: 1px solid #C9D8EA !important; color: #0F3D6E !important; font-weight: 600 !important; }
.btn-secondary.btn-xs:hover { background: #DCE6F2 !important; border-color: #2C5F8F !important; color: #0F3D6E !important; }
/* 保存按钮（金）与编辑按钮配套 */
.btn-success.btn-xs { background: #2C5F8F !important; border: 1px solid #1F4E79 !important; color: #FFFFFF !important; font-weight: 600 !important; }
/* 危险小按钮保持淡红 */
.btn-danger { background: #FFF7F7 !important; }

/* ================================================================
   20261019o 金融行业按钮体系（总规范·覆盖此前所有散补丁）
   色板：藏青 #103F73（主）/ 鎏金 #2C5F8F（成）/ 朱红 #E5484D（危）
        米金 #E9F0F8（辅操作）/ 素白 #FFFFFF（次）
   尺寸：大 44px / 标准 32px / 小 26px；字重全 600；圆角统一 8px
   ================================================================ */
/* ---- 主按钮（提交/登录/创建/录入）藏青 ---- */
.btn, .btn-primary-lg {
  background: #103F73; border: 1px solid #0D3460; color: #FFFFFF;
  font-weight: 600; letter-spacing: .5px; border-radius: 8px;
  box-shadow: none; text-shadow: none;
}
.btn:hover, .btn-primary-lg:hover { background: #1C5A8C; border-color: #0D3460; color: #FFFFFF; transform: none; box-shadow: none; }
/* ---- 成功/完成按钮（保存/受理/完成开卡）鎏金 ---- */
.btn-success {
  background: #2C5F8F; border: 1px solid #1F4E79; color: #FFFFFF; font-weight: 600;
}
.btn-success:hover { background: #3A6FA0; border-color: #1F4E79; color: #FFFFFF; }
/* ---- 次要操作（导出/重置密码/筛选项）素白描边藏青字 ---- */
.btn-secondary {
  background: #FFFFFF; border: 1px solid #C9D2DE; color: #103F73; font-weight: 600;
}
.btn-secondary:hover { background: #F0F4F9; border-color: #103F73; color: #103F73; }
/* ---- 编辑类小按钮（表格操作列）米金 ---- */
.btn-secondary.btn-xs {
  background: #E9F0F8; border: 1px solid #C9D8EA; color: #0F3D6E; font-weight: 600;
}
.btn-secondary.btn-xs:hover { background: #DCE6F2; border-color: #2C5F8F; color: #0F3D6E; }
/* ---- 危险（停用/删除/取消预约）朱红 ---- */
.btn-danger, .btn-cancel-lg {
  background: #FFFFFF; border: 1px solid #EFB4B6; color: #D93B40; font-weight: 600;
}
.btn-danger:hover, .btn-cancel-lg:hover { background: #D93B40; border-color: #D93B40; color: #FFFFFF; }
/* ---- 禁用 ---- */
.btn-disabled { background: #EDEFF3; border: 1px solid #DFE2E8; color: #9AA3AF; }
/* ---- 尺寸分级 ---- */
.btn-xs { padding: 3px 10px; font-size: 12px; border-radius: 6px; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; border-radius: 7px; }
.btn-primary-lg { padding: 13px 0; font-size: 15px; letter-spacing: 2px; }
/* ---- 分页按钮归入体系 ---- */
.pager-bar .pg-btn { border-radius: 7px; font-weight: 500; }
.pager-bar .pg-btn:hover { border-color: #2C5F8F; color: #0F3D6E; }
.pager-bar .pg-btn.pg-cur { background: #2C5F8F; border-color: #1F4E79; color: #FFFFFF; font-weight: 700; }
/* ---- 按压反馈统一 ---- */
.btn:active, .btn-primary-lg:active, .btn-success:active, .btn-secondary:active, .btn-danger:active {
  transform: scale(.97); filter: brightness(.95);
}

/* ================================================================
   20261019p 文字可读性终版 + 全站字体优化
   金底白字对比不足 → 金底深咖字（金融惯例 金×深咖）
   全站字体栈统一，数字 tabular-nums
   ================================================================ */
/* 全站字体栈：系统无衬线优先，数字等宽对齐 */
body, .btn, input, select, textarea, button {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* 金色按钮/徽章：深咖字取代白字，对比度 7:1+ */
.btn-success, .btn-success:hover, .btn-success.btn-xs {
  color: #FFFFFF !important; font-weight: 700 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.pager-bar .pg-btn.pg-cur { color: #FFFFFF !important; font-weight: 700 !important; }
/* 徽章文字全加粗一档保证可读 */
.badge { font-weight: 600 !important; letter-spacing: .3px; }
/* 表头文字：加字距提升辨识 */
.table-wrap th { letter-spacing: 1px; font-weight: 600; }
/* 导航链接 hover 状态明确 */
.topbar nav a { font-weight: 500; }
.topbar nav a.active { font-weight: 700; }

/* 金底元素文字统一深咖（角标/流程当前步/金色徽章按钮） */
.badge-btn-orange { color: #FFFFFF !important; font-weight: 700 !important; text-shadow: 0 1px 0 rgba(255,255,255,.25); }
.corner-ribbon { color: #FFFFFF !important; text-shadow: none; font-weight: 700 !important; }
.detail-flow .step.cur { color: #FFFFFF !important; font-weight: 700 !important; text-shadow: 0 1px 0 rgba(255,255,255,.3); }

/* ================================================================
   20261025 mobile-adaptation
   参考 GOV.UK Design System 的窄屏表单原则与 Apple HIG 44pt 触控目标。
   仅做布局/语义增强：不隐藏业务字段；宽表格只在自身容器内横滑。
   ================================================================ */
main, .card, .succ-card, .dash-hero, .dash-hero-txt,
.form-grid, .mgr-grid, .info-grid, .succ-grid, .card-grid, .photo-grid,
.form-group, .succ-group, .action-box, .photo-item, .table-wrap {
  min-width: 0;
}
img { max-width: 100%; }
.dash-title, .dash-sub, .succ-grid .v, .info-grid .v,
.mgr-stat-branch, .mgr-statbar, .notice, .error, .flash-ok {
  overflow-wrap: anywhere;
}
.table-wrap { max-width: 100%; overscroll-behavior-inline: contain; }
.mgr-statbar { flex-wrap: wrap; }

@media (max-width: 768px) {
  main { width: 100%; padding: 12px 10px 32px; }
  .card, .succ-card { max-width: 100%; }

  /* 顶栏保留 144px 组合 LOGO；用户区允许换行，导航独立局部横滑。 */
  .topbar { min-width: 0; padding: 8px 12px; gap: 6px; }
  .topbar .brand { flex: 0 0 auto; }
  .topbar .user {
    flex: 1 1 96px; min-width: 0; max-width: 100%; margin-left: auto;
    white-space: normal; overflow-wrap: anywhere; line-height: 1.45;
  }
  .topbar .user a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; margin-left: 2px; padding: 0 4px;
  }
  .topbar nav { min-width: 0; max-width: 100%; overflow-x: auto; overflow-y: hidden; }
  .topbar nav a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 8px 12px;
  }

  /* 全站触控目标：保留桌面密度，手机主操作与表格操作均不小于 44px。 */
  .btn, .btn-xs, .btn-sm, .btn-primary-lg, .btn-ghost-lg, .btn-cancel-lg {
    min-width: 44px; min-height: 44px; padding: 10px 14px;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 4px; line-height: 1.35; font-size: 13px !important;
  }
  .btn-block, .btn-primary-lg, .btn-ghost-lg, .btn-cancel-lg { width: 100%; }
  .pager-bar .pg-btn, .pg {
    min-width: 44px; width: auto; height: 44px; padding: 0 10px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .pager-bar, .pager-bar .pg-btns, .pager { flex-wrap: wrap; }
  .pager-bar .pg-info { margin-left: 0; }
  .chips a, .gtab { min-height: 44px; display: inline-flex; align-items: center; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-width: 0; }
  .stat .label { overflow-wrap: anywhere; }

  input:not([type="hidden"]):not([type="checkbox"]), select, textarea, .picker-btn {
    min-height: 44px;
  }
  textarea { min-height: 88px; }
  .picker-native { width: 1px !important; height: 1px !important; min-height: 0 !important; }
  .picker-btn {
    padding: 10px 36px 10px 12px; font-size: 16px;
    display: flex; align-items: center; overflow-wrap: anywhere;
  }
  .picker-item { min-height: 48px; }
  input[type="file"] {
    width: 100% !important; max-width: 100%; min-width: 0;
    padding: 5px !important; font-size: 14px !important; line-height: 1.3;
    overflow: hidden;
  }
  input[type="file"]::file-selector-button { min-height: 36px; margin-right: 8px; }
  .form-grid > *, .mgr-grid > *, .info-grid > *, .succ-grid > *,
  .card-grid > *, .photo-grid > *, .toolbar > *, .toolbar form > * { min-width: 0; }
  .form-grid, .info-grid, .succ-grid, .card-grid, .photo-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .mgr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .form-group { padding: 14px 12px; }
  .form-group .fg-title { flex-wrap: wrap; }
  .form-group .fg-sub { overflow-wrap: anywhere; }
  .form-actions, .op-form { width: 100%; }

  /* 自绘日期时间：320px 仍保留七列，日期与翻页按钮均可触控。 */
  .dt-panel { width: min(360px, 100vw); max-width: 100vw; max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
  .dt-body { padding: 12px 6px 10px; }
  .dt-week, .dt-grid { gap: 0; }
  .dt-day { min-width: 0; min-height: 44px; padding: 8px 0; }
  .dt-nav button { width: 44px; height: 44px; }
  .dt-time select { min-width: 0; min-height: 44px; }
  .appt-control { min-width: 0; flex-wrap: wrap; }
  .appt-input-wrap { flex: 1 1 150px !important; min-width: 0; }
  #apptDisplay {
    min-width: 0; min-height: 44px; padding: 10px !important;
    font-size: 16px !important; line-height: 24px !important; overflow-wrap: anywhere;
  }
  #apptOk { flex: 0 0 auto; min-width: 64px; }

  /* 工具栏/筛选区：字段完整保留，窄屏改为清晰的网格排列。 */
  .toolbar, .toolbar form { width: 100%; min-width: 0; }
  .toolbar a:not(.btn) {
    min-height: 44px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .dashboard-head { align-items: stretch !important; }
  .dashboard-actions {
    width: 100%; min-width: 0; flex-wrap: wrap; align-items: stretch !important;
  }
  .dashboard-filters {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%; min-width: 0; gap: 8px !important;
  }
  .dashboard-filters select, .dashboard-filters input[type="text"] {
    width: 100% !important; min-width: 0; padding: 10px !important; font-size: 16px !important;
  }
  .dashboard-filters input[name="q"], .dashboard-filters .btn { grid-column: 1 / -1; }
  .dashboard-filters .btn { width: 100%; font-size: 14px !important; }
  .dashboard-filters a:not(.btn) {
    min-height: 44px; display: flex; align-items: center; justify-content: center;
  }
  .dashboard-export { width: 100%; }

  /* 表格不删列，容器独立横滑；负 margins 只扩展容器，不扩展 document。 */
  .table-wrap {
    max-width: calc(100% + 24px); margin-left: -12px; margin-right: -12px;
    padding-left: 12px; padding-right: 12px; overflow-x: auto; overflow-y: hidden;
  }
  .table-wrap > table { max-width: none; }

  .dash-hero .rno-pre { color: rgba(143,180,217,.65); }
  .dash-hero .rno-num { color: #8FB4D9; }

  /* 详情/凭证/操作区。 */
  .succ-body { padding: 18px 12px; }
  .succ-group.grp-card, .action-box.grp-card { padding: 14px 12px; }
  .succ-actions { flex-direction: column; }
  .succ-actions .btn { width: 100%; min-width: 0; }
  .photo-item img, .card-grid img { max-width: 100%; height: auto; }
  .photo-item .inline-form, .card-grid .inline-form { display: flex; width: 100%; }
  .photo-item .inline-form .btn, .card-grid .inline-form .btn { width: 100%; }
  .complete-form { min-width: 0; }
  .complete-actions { flex-wrap: wrap; }
  .complete-actions .btn { flex: 1 1 140px; min-height: 48px; }

  /* 银行/支行管理：两个 Tab 组各占一行，信息栏和操作按钮自动换行。 */
  .bank-add-form, .branch-add-form, .bank-import-form { align-items: stretch !important; }
  .bank-add-form > div, .branch-add-form > div { flex: 1 1 100% !important; min-width: 0 !important; }
  .bank-add-form > .btn, .branch-add-form > .btn, .bank-import-form > .btn { width: 100%; }
  .bank-import-form input[type="file"] { flex: 1 1 100% !important; }
  .bank-tab-group { flex: 1 1 100% !important; min-width: 0 !important; }
  .bank-tabs { max-width: 100%; overflow-x: auto !important; }
  .bank-tab { min-height: 44px; display: inline-flex; align-items: center; }
  .bank-info-bar { flex-wrap: wrap !important; gap: 10px; align-items: flex-start !important; }
  .bank-info { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
  .bank-actions { min-width: 0; flex-wrap: wrap !important; }
  .bank-actions form { margin: 0 !important; }
  .bank-actions .btn { font-size: 13px !important; }
  .bank-panel { min-width: 0; }

  /* 客户经理统计与账号统计，长银行名允许换行而非撑破卡片。 */
  .mgr-statbar { min-width: 0; gap: 10px; padding: 12px; }
  .mgr-statbar > a { min-width: 0 !important; max-width: 100%; overflow-wrap: anywhere; }
  .mgr-statbar > a:not(.mgr-stat-all) { flex: 1 1 76px; }
  .mgr-stat-all { flex: 0 0 64px; }
  .mgr-stat-branch { min-width: 0; }
  .ms-badges { flex-wrap: wrap; }
  .ms-badge { min-height: 32px; display: inline-flex; align-items: center; }
  .mgr-submit { width: 100%; }
  .mgr-submit .btn-primary-lg { width: 100%; }
  .account-stats { padding: 12px !important; gap: 12px !important; }
  .account-stats-group {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%; gap: 0 !important;
  }
  .account-stats-group > a {
    min-width: 0 !important; padding: 12px 8px !important;
    display: flex; flex-direction: column; justify-content: center; overflow-wrap: anywhere;
  }
  .account-stats > .btn { width: 100%; margin-left: 0 !important; }

  /* 登录与协议页：解决 320px 副标题/长文本挤压，保留角标和 LOGO。 */
  .login-body { padding: 12px; }
  .login-card { padding: 36px 22px 24px; }
  .login-card .brand-sub i { margin: 0 8px; }
  .login-card .brand-sub span { letter-spacing: 2px; text-indent: 2px; }
  .login-card .brand-rule { margin: 16px auto 20px; }
  .login-card input:not([type="checkbox"]) { min-height: 46px; }
  .login-card .agree-row { min-height: 44px; }
  .login-card .agree-row input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; }
  .login-card .internal-note { flex-wrap: wrap; letter-spacing: 1px; }
  .captcha-row { min-width: 0; }
  .captcha-row .captcha-img { max-width: 42%; object-fit: contain; }
  .doc-body { padding: 12px 8px 28px !important; }
  .doc-card { padding: 22px 16px !important; overflow-wrap: anywhere; }
  .doc-card .back { min-height: 44px; display: flex; align-items: center; justify-content: center; }

  /* 门户落地页（若由路由内联渲染，同样生效）。 */
  .landing-wrap { width: 100%; }
  .entry-grid { grid-template-columns: minmax(0, 1fr); }
  .entry .tx { min-width: 0; }
  .entry .t, .entry .d, .hero-user { overflow-wrap: anywhere; }
  .hero-user { max-width: 100%; }
}

@media (max-width: 560px) {
  .mgr-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 380px) {
  #apptOk { width: 100%; }
  .login-card { padding-left: 18px; padding-right: 18px; }
  .login-card .brand-sub i { margin: 0 6px; }
  .complete-actions { flex-direction: column; }
  .complete-actions .btn { width: 100%; flex-basis: auto; }
}

