/* ============================================================
   对公渠道业务开户平台 · 银行商务风格样式
   配色：藏青主色 + 金色点缀；支持 PC / 平板 / 手机
   ============================================================ */

:root{
  --navy-900:#0a1e33;
  --navy-800:#0e2a45;
  --navy-700:#143c5f;
  --navy-600:#1b4d78;
  --gold:#c2a05e;
  --gold-soft:#dcc48f;
  --primary:#15507e;
  --primary-dark:#0f3d62;
  --text:#15212e;
  --text-2:#55677a;
  --text-3:#8b99a8;
  --line:#e2e8f0;
  --line-2:#eef2f7;
  --bg:#eef1f6;
  --card:#ffffff;
  --green:#0f7a4d;
  --orange:#b57215;
  --red:#b32d24;
  --gray:#8b99a8;
  --radius:8px;
  --shadow:0 1px 2px rgba(10,30,51,.05),0 6px 20px rgba(10,30,51,.06);
  --shadow-sm:0 1px 2px rgba(10,30,51,.06);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:14px;color:var(--text);background:var(--bg);line-height:1.65;
  -webkit-text-size-adjust:100%;
}
a{color:var(--primary);text-decoration:none}
a:hover{opacity:.85}
h1,h2,h3,h4{margin:0;font-weight:600}
p{margin:0 0 10px}
code{background:#f1f4f9;padding:2px 6px;border-radius:4px;color:#9c2f26;font-size:12.5px}

/* 门户主题（保留类名，统一为商务藏青） */
.theme-blue,.theme-indigo,.theme-teal,.theme-green,.theme-dark{
  --primary:#15507e;--primary-dark:#0f3d62;
}
.theme-green{--primary:#0f6b57;--primary-dark:#0b5245}
.theme-teal{--primary:#0f6b6b;--primary-dark:#0b5252}
.theme-indigo{--primary:#3c4a86;--primary-dark:#2e396a}
.theme-dark{--primary:#2b3a4d;--primary-dark:#1e2a38}

/* ============ 布局骨架 ============ */
.layout{display:flex;min-height:100vh}
.sidebar{
  width:224px;flex:0 0 224px;color:#c3d0de;
  background:linear-gradient(180deg,var(--navy-800) 0%,var(--navy-900) 100%);
  display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto;z-index:50;
}
.brand{display:flex;gap:11px;align-items:center;padding:18px 16px;border-bottom:1px solid rgba(255,255,255,.07)}
.brand-dot{width:10px;height:10px;border-radius:2px;background:var(--gold);box-shadow:0 0 0 4px rgba(194,160,94,.18);flex:0 0 auto;transform:rotate(45deg)}
.brand-logo{width:30px;height:30px;border-radius:6px;object-fit:contain;background:rgba(255,255,255,.08);flex:0 0 auto;padding:2px}
.brand-name{font-size:14px;color:#fff;font-weight:600;line-height:1.35;letter-spacing:.2px}
.brand-sub{font-size:12px;color:#7f92a8;letter-spacing:.3px}
.nav{padding:8px 0;flex:1}
.nav-group{padding:14px 18px 6px;font-size:11.5px;color:#647f99;letter-spacing:1px}
.nav-item{display:block;padding:9px 18px;color:#c3d0de;font-size:13.5px;border-left:3px solid transparent;transition:.15s}
.nav-item:hover{background:rgba(255,255,255,.06);color:#fff;opacity:1}
.nav-item.active{background:linear-gradient(90deg,rgba(194,160,94,.16),rgba(255,255,255,.03));color:#fff;border-left-color:var(--gold)}
.sidebar-foot{padding:14px 18px;border-top:1px solid rgba(255,255,255,.07);font-size:13px}
.sidebar-foot a{color:#8598ad}
.sidebar-foot a:hover{color:var(--gold-soft)}

.main{flex:1;min-width:0;display:flex;flex-direction:column}
.topbar{
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  padding:0 22px;height:58px;background:#fff;border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:40;box-shadow:0 1px 3px rgba(10,30,51,.04);
}
.topbar:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;
  background:linear-gradient(90deg,var(--gold) 0%,rgba(194,160,94,0) 62%)}
.topbar-left{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1}
.topbar h1{font-size:16.5px;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .sub{font-size:12.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-right{display:flex;align-items:center;gap:16px;font-size:13px;flex:0 0 auto}
.topbar-right .link{color:var(--text-2)}
.topbar-right .link:hover{color:var(--primary)}
.topbar-right .user{color:var(--text);font-weight:600;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.content{padding:20px 22px 44px;flex:1}

/* 移动端菜单按钮与遮罩（桌面隐藏） */
.nav-toggle{display:none;width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:6px;
  cursor:pointer;padding:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;flex:0 0 auto}
.nav-toggle span{display:block;width:16px;height:2px;background:var(--navy-700);border-radius:1px}
.sidebar-mask{display:none}

/* ============ 卡片 / 栅格 ============ */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden}
.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;
  border-bottom:1px solid var(--line-2);background:#fbfcfe;flex-wrap:wrap}
.card-head h3{font-size:14.5px;letter-spacing:.2px}
.card-head .desc{font-size:12.5px;color:var(--text-3);margin-top:2px}
.card-body{padding:18px}
.card-body.nopad{padding:0}

.grid{display:grid;gap:16px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}

.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;
  box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.stat:before{content:"";position:absolute;left:0;top:0;width:100%;height:3px;background:var(--navy-700)}
.stat.primary:before{background:var(--primary)}
.stat.green:before{background:var(--green)}
.stat.orange:before{background:var(--orange)}
.stat.red:before{background:var(--red)}
.stat .label{font-size:12.5px;color:var(--text-3);letter-spacing:.3px}
.stat .value{font-size:25px;font-weight:700;margin-top:6px;letter-spacing:-.4px;font-variant-numeric:tabular-nums;
  font-family:"DIN Alternate",ui-monospace,Menlo,Consolas,monospace}
.stat .extra{font-size:12.5px;color:var(--text-3);margin-top:4px}
.stat.primary .value{color:var(--primary)}
.stat.green .value{color:var(--green)}
.stat.orange .value{color:var(--orange)}
.stat.red .value{color:var(--red)}
a.stat{display:block;color:inherit;transition:.15s}
a.stat:hover{border-color:#cfdce9;box-shadow:var(--shadow);opacity:1}

/* ============ 表格 ============ */
.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table.tb{width:100%;border-collapse:collapse;font-size:13.5px;background:#fff}
table.tb th{
  text-align:left;padding:11px 14px;background:#f7f9fc;color:var(--text-2);
  font-weight:600;white-space:nowrap;border-bottom:1px solid var(--line);font-size:12.5px;letter-spacing:.3px
}
table.tb td{padding:11px 14px;border-bottom:1px solid var(--line-2);vertical-align:middle}
table.tb tr:last-child td{border-bottom:none}
table.tb tbody tr:hover td,table.tb tr:hover td{background:#fafbfd}
table.tb .empty{text-align:center;color:var(--text-3);padding:38px 0}
.nowrap{white-space:nowrap}
.muted{color:var(--text-3)}
.strong{font-weight:600}
.money{font-variant-numeric:tabular-nums;font-family:"DIN Alternate",ui-monospace,Menlo,Consolas,monospace;font-weight:600}
.tb-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
/* 账号行内改密表单 */
.account-pwd-form{display:inline-flex;gap:6px;align-items:center;flex-wrap:nowrap}
.account-pwd-form input[type=text]{width:110px;padding:5px 9px;font-size:12.5px}

/* ============ 按钮 ============ */
.btn{
  display:inline-block;padding:8px 16px;border-radius:6px;border:1px solid transparent;
  background:var(--primary);color:#fff;font-size:13.5px;cursor:pointer;text-align:center;
  font-family:inherit;line-height:1.45;transition:.15s;white-space:nowrap;
}
.btn:hover{background:var(--primary-dark);color:#fff;opacity:1}
.btn-sm{padding:5px 11px;font-size:12.5px;border-radius:5px}
.btn-lg{padding:12px 28px;font-size:15px}
.btn-block{display:block;width:100%}
.btn-ghost{background:#fff;border-color:var(--line);color:var(--text-2)}
.btn-ghost:hover{background:#f6f8fb;color:var(--text);border-color:#cfd9e4}
.btn-danger{background:var(--red)}
.btn-danger:hover{background:#92231c}
.btn-success{background:var(--green)}
.btn-success:hover{background:#0b5c3a}
.btn-warn{background:var(--orange)}
.btn-warn:hover{background:#935d11}
.btn[disabled],.btn.disabled{opacity:.5;pointer-events:none}

/* ============ 表单 ============ */
.form-row{display:flex;gap:16px;flex-wrap:wrap}
.field{margin-bottom:15px;flex:1;min-width:220px}
.field label{display:block;margin-bottom:6px;font-size:13px;color:var(--text-2)}
.field label .req{color:var(--red)}
.field .tip{font-size:12px;color:var(--text-3);margin-top:5px;line-height:1.6}
input[type=text],input[type=password],input[type=number],input[type=date],input[type=datetime-local],
input[type=email],input[type=tel],select,textarea{
  width:100%;padding:9px 12px;border:1px solid #d5dde7;border-radius:6px;font-size:14px;
  font-family:inherit;color:var(--text);background:#fff;outline:none;transition:.15s
}
input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(21,80,126,.1)}
input[readonly],input[disabled],select[disabled]{background:#f4f6f9;color:var(--text-3)}
textarea{min-height:80px;resize:vertical}
.form-actions{display:flex;gap:10px;padding-top:6px;flex-wrap:wrap;align-items:center}
.inline-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.inline-form .field{margin-bottom:0;min-width:150px}
label.checkbox{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--text-2);cursor:pointer}
input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--primary)}
.filter{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.filter .field{margin-bottom:0;min-width:150px;flex:0 0 auto}
.filter .field.wide{min-width:220px}

/* ============ 标签 / 提示 ============ */
.badge{display:inline-block;padding:2px 9px;border-radius:4px;font-size:12px;line-height:1.7;white-space:nowrap}
.badge-green{background:#e8f5ef;color:#0b5c3a}
.flash-warn{background:#fff8e6;border-color:#f2d9a0;color:#8a5b12}
.badge-blue{background:#e8f0f8;color:#0f3d62}
.badge-orange{background:#fbf1e0;color:#935d11}
.badge-red{background:#fbeceb;color:#92231c}
.badge-gray{background:#eef1f5;color:#5c6b7f}

.flash{padding:11px 16px;border-radius:6px;margin-bottom:16px;font-size:13.5px;border:1px solid transparent}
.flash-success{background:#eaf7f1;border-color:#bde3d1;color:#0b5c3a}
.flash-error{background:#fbeceb;border-color:#f2c6c2;color:#92231c}
.flash-warning{background:#fdf6e9;border-color:#f0dcb4;color:#935d11}
.notice{padding:12px 16px;border-radius:6px;background:#f4f8fc;color:#3a4d61;font-size:13px;border:1px solid #dbe6f1}
.notice.warn{background:#fdf6e9;border-color:#f0dcb4;color:#8a5a10}
.notice.danger{background:#fbeceb;border-color:#f2c6c2;color:#92231c}

/* ============ 分页 ============ */
.pager{display:flex;gap:6px;align-items:center;padding:14px 18px;flex-wrap:wrap}
.pager a,.pager span{display:inline-block;padding:5px 11px;border:1px solid var(--line);border-radius:5px;
  font-size:13px;background:#fff;color:var(--text-2)}
.pager a:hover{border-color:var(--primary);color:var(--primary);opacity:1}
.pager a.active{background:var(--primary);border-color:var(--primary);color:#fff}
.pager .pager-info{margin-right:auto;border:none;background:none;padding-left:0;color:var(--text-3)}

/* ============ 步骤条 ============ */
.steps{display:flex;align-items:flex-start;padding:6px 0;flex-wrap:wrap;gap:0}
.steps .step{flex:1;min-width:104px;text-align:center;position:relative;padding-top:4px}
.steps .step .dot{display:block;width:13px;height:13px;border-radius:50%;background:#dbe3ec;margin:0 auto 8px;position:relative;z-index:2}
.steps .step:not(:last-child):after{content:"";position:absolute;top:9px;left:50%;width:100%;height:2px;background:#dbe3ec;z-index:1}
.steps .step .txt{font-size:12.5px;color:var(--text-3)}
.steps .step.done .dot{background:var(--green)}
.steps .step.done:after{background:var(--green)}
.steps .step.done .txt{color:var(--green)}
.steps .step.now .dot{background:var(--primary);box-shadow:0 0 0 5px rgba(21,80,126,.14)}
.steps .step.now .txt{color:var(--primary);font-weight:600}
.steps .step.fail .dot{background:var(--red)}
.steps .step.fail:after{background:var(--red)}
.steps .step.fail .txt{color:var(--red)}
.steps .step.muted .dot{background:var(--gray)}
.steps .step.muted:after{background:var(--gray)}

/* ============ 时间轴 ============ */
.timeline{position:relative;padding-left:22px}
.timeline:before{content:"";position:absolute;left:4px;top:6px;bottom:6px;width:2px;background:var(--line)}
.timeline .tl-item{position:relative;padding-bottom:16px}
.timeline .tl-item:last-child{padding-bottom:0}
.timeline .tl-item:before{content:"";position:absolute;left:-22px;top:5px;width:10px;height:10px;border-radius:50%;
  background:#fff;border:2px solid var(--primary)}
.timeline .tl-item.plain:before{border-color:#ccd6e0}
.timeline .tl-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.timeline .tl-node{font-weight:600;font-size:13.5px}
.timeline .tl-time{font-size:12.5px;color:var(--text-3)}
.timeline .tl-body{font-size:13px;color:var(--text-2);margin-top:3px}

/* ============ 附件上传与预览 ============ */
.radio-row{display:flex;gap:22px;flex-wrap:wrap;padding:2px 0}
input[type=file]{
  width:100%;padding:8px 10px;border:1px dashed #c9d5e2;border-radius:6px;font-size:13px;
  font-family:inherit;background:#fbfcfe;color:var(--text-2);cursor:pointer
}
input[type=file]:hover{border-color:var(--primary);background:#f6f9fd}

.attach-box{margin-top:6px}
.attach-title{font-size:13px;color:var(--text-2);margin-bottom:10px;padding-left:9px;border-left:3px solid var(--gold)}
.attach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.attach-item{border:1px solid var(--line);border-radius:8px;padding:10px;background:#fbfcfe}
.attach-label{font-size:12.5px;color:var(--text-2);margin-bottom:7px;font-weight:600}
.attach-thumb{display:block;width:100%;height:130px;overflow:hidden;border-radius:6px;background:#eef2f7;border:1px solid var(--line)}
.attach-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:.2s}
.attach-thumb:hover img{transform:scale(1.04)}
.attach-file{display:flex;align-items:center;justify-content:center;height:130px;border-radius:6px;
  background:#eef2f7;border:1px solid var(--line);color:var(--primary);font-size:13px;padding:0 10px;text-align:center}
.attach-meta{font-size:11.5px;color:var(--text-3);margin-top:7px}

/* 多选勾选框网格（通知事件订阅等） */
.check-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px 16px}

/* ============ 详情列表 ============ */
.detail{display:grid;grid-template-columns:repeat(2,1fr);gap:0 24px}
.detail.full{grid-template-columns:1fr}
.detail .dt-item{display:flex;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:13.5px}
.detail .dt-item .dt-label{color:var(--text-3);flex:0 0 96px}
.detail .dt-item .dt-value{flex:1;min-width:0;word-break:break-word}

/* ============ 登录页 ============ */
.auth-body{min-height:100vh;display:flex;justify-content:center;padding:30px 16px;
  background:linear-gradient(150deg,#0e2a45 0%,#143c5f 48%,#0a1e33 100%)}
.auth-wrap{width:100%;max-width:404px;margin:auto}
.auth-brand{text-align:center;margin-bottom:20px}
.auth-brand-name{font-size:20px;font-weight:700;color:#fff;letter-spacing:.5px}
.auth-brand-sub{font-size:13px;color:#9db1c7;margin-top:5px}
.auth-card{background:#fff;border-radius:12px;box-shadow:0 18px 48px rgba(4,14,26,.34);padding:28px 26px;position:relative;overflow:hidden}
.auth-card:before{content:"";position:absolute;left:0;top:0;width:100%;height:3px;
  background:linear-gradient(90deg,var(--gold) 0%,#e6d5ab 50%,var(--gold) 100%)}
.auth-card h2{font-size:17px;margin-bottom:18px;text-align:center;letter-spacing:.4px}
.auth-card .btn{margin-top:6px}
.auth-card.wide{max-width:520px}
.auth-foot{text-align:center;margin-top:16px;font-size:12.5px;color:#8ba0b8}
.auth-foot a{margin-left:12px;color:var(--gold-soft)}
.auth-link{font-size:13px;text-align:right;margin-top:12px}
.auth-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;margin-top:14px}
.auth-links a{color:var(--primary)}

/* ============ 系统首页 ============ */
.entry-body{background:linear-gradient(160deg,var(--navy-900) 0%,var(--navy-700) 52%,var(--navy-900) 100%);min-height:100vh;color:#e7edf6;padding:56px 20px}
.entry-wrap{max-width:1080px;margin:0 auto}
.entry-head{text-align:center;margin-bottom:38px}
.entry-head h1{font-size:28px;color:#fff;margin-bottom:10px;letter-spacing:1px}
.entry-head p{color:#9db1c7;font-size:14.5px}
.entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.entry-grid.auto{grid-template-columns:repeat(auto-fit,minmax(232px,1fr))}
.entry-contact{margin-top:10px;font-size:12.5px;color:#7d92ab;line-height:2}
.entry-card{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.11);border-radius:10px;
  padding:22px;transition:.2s;display:block;color:#e7edf6;position:relative;overflow:hidden}
.entry-card:before{content:"";position:absolute;left:0;top:0;width:3px;height:100%;background:transparent;transition:.2s}
.entry-card:hover{background:rgba(255,255,255,.1);transform:translateY(-2px);opacity:1;border-color:rgba(194,160,94,.42)}
.entry-card:hover:before{background:var(--gold)}
.entry-card h3{font-size:16px;margin-bottom:8px;color:#fff}
.entry-card p{font-size:13px;color:#9db1c7;min-height:42px}
.entry-card .go{font-size:13px;color:var(--gold-soft)}
.entry-links{text-align:center;margin-top:34px;font-size:13.5px;color:#9db1c7}
.entry-links a{color:var(--gold-soft);margin:0 10px}
.entry-foot{text-align:center;margin-top:28px;font-size:12.5px;color:#7d92ab}

/* ============ 公开查询页 ============ */
.pub-body{background:var(--bg);min-height:100vh;padding:32px 16px}
.pub-wrap{max-width:840px;margin:0 auto}
.pub-head{text-align:center;margin-bottom:22px}
.pub-head h1{font-size:21px;margin-bottom:6px;letter-spacing:.4px}
.pub-head p{color:var(--text-2);font-size:13.5px}
.pub-search{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--line);padding:20px;margin-bottom:18px}
.pub-search form{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.pub-search .field{margin-bottom:0}
.pub-nav{text-align:center;margin-top:24px;font-size:13px}
.pub-nav a{margin:0 12px}

/* ============================================================
   响应式：平板 / 手机
   ============================================================ */
@media(max-width:1200px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:900px){
  /* 侧边栏改为抽屉 */
  .sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;flex-basis:250px;
    transform:translateX(-100%);transition:transform .26s ease;box-shadow:0 0 40px rgba(4,14,26,.35)}
  body.nav-open .sidebar{transform:translateX(0)}
  .sidebar-mask{display:block;position:fixed;inset:0;background:rgba(6,18,32,.5);z-index:45;
    opacity:0;pointer-events:none;transition:opacity .26s}
  body.nav-open .sidebar-mask{opacity:1;pointer-events:auto}
  body.nav-open{overflow:hidden}
  .nav-toggle{display:flex}

  .topbar{height:54px;padding:0 14px;gap:10px}
  .topbar h1{font-size:15px}
  .topbar .sub{display:none}
  .topbar-right{gap:12px}
  .topbar-right .link{display:none}
  .topbar-right .user{max-width:104px;font-size:12.5px}
  .content{padding:14px 14px 40px}

  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
  .grid{gap:12px}
  .card{margin-bottom:14px}
  .card-head{padding:12px 14px}
  .card-body{padding:14px}
  .pub-body{padding:20px 12px}
  .entry-body{padding:36px 16px}
  .entry-grid{grid-template-columns:1fr}
  .entry-head h1{font-size:23px}
  .detail{gap:0 18px}
  .detail .dt-item .dt-label{flex:0 0 84px}
  .stat .value{font-size:22px}
  .attach-grid{grid-template-columns:repeat(2,1fr)}
  .radio-row{gap:14px}
  .check-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:680px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .form-row{flex-direction:column;gap:0}
  .field{min-width:0;width:100%}
  .inline-form{width:100%}
  .inline-form .field{min-width:0;width:100%;flex:1 1 100%}
  .filter{width:100%}
  .filter .field,.filter .field.wide{min-width:0;width:100%;flex:1 1 100%}
  .form-actions .btn,.form-actions a.btn{width:100%}
  .detail{grid-template-columns:1fr}
  .detail .dt-item{flex-direction:column;gap:2px;padding:8px 0}
  .detail .dt-item .dt-label{flex:none;font-size:12.5px}
  table.tb{min-width:620px;font-size:13px}
  table.tb th,table.tb td{padding:10px 12px}
  .pager{padding:12px 14px}
  .pager .pager-info{width:100%;margin-bottom:6px}
  .steps .step{min-width:84px}
  .steps .step .txt{font-size:11.5px}
  .account-pwd-form{flex-wrap:wrap}
  .account-pwd-form input[type=text]{width:100%}
  .topbar h1{font-size:14.5px}
  .auth-card{padding:22px 18px}
  .auth-brand-name{font-size:18px}
  .tb-actions .btn{flex:1 1 auto}
  .stat{padding:14px}
  .entry-head h1{font-size:20px}
  .entry-links a{margin:0 6px;display:inline-block;line-height:2}
  .attach-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .attach-thumb,.attach-file{height:104px}
  .attach-item{padding:8px}
  .check-grid{grid-template-columns:1fr}
}

@media print{
  .sidebar,.topbar,.form-actions,.btn,.nav-toggle,.sidebar-mask{display:none!important}
  .content{padding:0}
}

/* ===== 开户操作流程图 ===== */
.flow-box{margin:0}
.flow-title{font-size:13px;font-weight:600;color:var(--text-2);margin-bottom:16px}
.flow-steps{display:flex;align-items:flex-start;overflow-x:auto;padding:2px 0 8px}
.flow-step{flex:0 0 auto;width:92px;text-align:center}
.flow-dot{width:30px;height:30px;line-height:26px;border-radius:50%;margin:0 auto 8px;
  font-size:13px;font-weight:600;box-sizing:border-box;
  background:#eef2f7;color:var(--text-3);border:2px solid var(--line)}
.flow-label{font-size:12.5px;color:var(--text-2);line-height:1.4}
.flow-state{font-size:11.5px;color:var(--text-3);margin-top:3px}
.flow-line{flex:1 1 auto;min-width:20px;height:2px;background:var(--line);margin-top:14px}
.flow-step.is-done .flow-dot{background:var(--primary);border-color:var(--primary);color:#fff}
.flow-step.is-done .flow-label{color:var(--text)}
.flow-line.is-done{background:var(--primary)}
.flow-step.is-doing .flow-dot{background:#fff;border-color:var(--primary);color:var(--primary);
  box-shadow:0 0 0 4px rgba(21,80,126,.13)}
.flow-step.is-doing .flow-label{color:var(--primary);font-weight:600}
.flow-step.is-doing .flow-state{color:var(--primary)}
.flow-step.is-fail .flow-dot{background:var(--red);border-color:var(--red);color:#fff}
.flow-step.is-fail .flow-label{color:var(--red);font-weight:600}
.flow-step.is-fail .flow-state{color:var(--red)}
.flow-line.is-fail{background:#e8a9a3}
.flow-fail{margin-top:14px;padding:10px 12px;border-radius:8px;font-size:13px;
  background:#fdf3f2;border:1px solid #f0c9c5;color:var(--red)}

/* ===== 报白二维码 ===== */
.qr-box{margin-top:16px;padding:16px;border-radius:10px;text-align:center;
  border:1px dashed var(--line);background:#fafbfd}
.qr-title{font-size:13px;font-weight:600;margin-bottom:12px}
.qr-thumb img{width:180px;height:180px;object-fit:contain;border-radius:8px;
  background:#fff;border:1px solid var(--line)}
.qr-tip{font-size:12px;color:var(--text-2);margin-top:10px}

/* ===== 报白成功后的「开户流程」入口 ===== */
.bank-flow-box{padding:18px 16px;border-radius:10px;text-align:center;background:#f7fafd;border:1px solid var(--line)}
.bank-flow-title{font-size:14px;font-weight:600;margin-bottom:8px}
.bank-flow-tip{font-size:12.5px;color:var(--text-2);margin-bottom:14px}
.bank-flow-thumb{margin-top:14px}
.bank-flow-thumb img{max-width:280px;max-height:360px;border-radius:8px;border:1px solid var(--line);background:#fff;padding:6px}

/* ===== OCR 识别提示 ===== */
.ocr-tip{font-size:12px;margin-top:6px;color:var(--green);line-height:1.7}
.ocr-tip.is-err{color:var(--red)}
.ocr-tip a{color:inherit;text-decoration:underline;word-break:break-all}

/* ===== OEM 贴牌 ===== */
.oem-footer{text-align:center;font-size:12.5px;color:var(--text-2);padding:18px 16px 24px;line-height:1.8}
.auth-wrap .oem-footer{color:#8f9fb4;padding:16px 0 0}

@media (max-width:640px){
  .flow-step{width:78px}
  .flow-label{font-size:11.5px}
  .qr-thumb img{width:150px;height:150px}
}
