html.ctl-prelogin body{visibility:hidden;}
html.ctl-prelogin.ctl-ready body{visibility:visible;}
/* ===== 聚财钱算力云 v9 分栏登录 ===== */
body.ctl-login{background:#fff!important;min-height:100vh;}
body.ctl-login .ctl-ghost{
  position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-height:none!important;min-height:100vh!important;
  display:flex!important;flex-direction:row!important;align-items:stretch!important;
  padding:0!important;margin:0!important;background:#fff!important;transform:none!important;
  overflow:hidden!important;
}
body.ctl-login .ctl-ghost > div.ctl-right{
  flex:1 1 48%;background:#fff;display:flex;align-items:center;justify-content:center;overflow-y:auto;overflow-x:hidden;
}
/* 左侧品牌区 */
#ctl-left{flex:1 1 52%;min-width:0;display:flex;flex-direction:column;padding:44px 40px;position:relative;overflow-y:auto;
  background:linear-gradient(148deg,#3fb0f2 0%,#1f8fe0 55%,#0d5aa8 100%);color:#fff;overflow:hidden;}
#ctl-left::before{content:"";position:absolute;inset:0;
  background:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:48px 48px;pointer-events:none;}
#ctl-left .ctl-logo-row{display:flex;align-items:center;gap:12px;position:relative;z-index:1;}
#ctl-left .ctl-logo-row img{width:44px;height:44px;border-radius:12px;box-shadow:0 4px 14px rgba(6,39,73,.35);}
#ctl-left .ctl-logo-name{font-size:16px;font-weight:600;letter-spacing:.02em;white-space:nowrap;}
#ctl-left .ctl-hero{margin-top:15vh;position:relative;z-index:1;}
#ctl-left .ctl-hero h1{font-size:clamp(26px,2.6vw,40px);line-height:1.4;font-weight:700;margin:0;color:#fff;letter-spacing:.01em;}
#ctl-left .ctl-hero p{margin-top:18px;font-size:15px;line-height:1.9;color:rgba(255,255,255,.88);max-width:540px;}
#ctl-left .ctl-feats{margin-top:4vh;display:flex;flex-direction:column;gap:26px;position:relative;z-index:1;}
#ctl-left .ctl-feat{display:flex;gap:16px;align-items:flex-start;}
#ctl-left .ctl-feat .ico{width:42px;height:42px;border-radius:11px;background:rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;flex:none;}
#ctl-left .ctl-feat .ico svg{width:21px;height:21px;stroke:#fff;}
#ctl-left .ctl-feat b{display:block;font-size:16px;font-weight:600;}
#ctl-left .ctl-feat span{display:block;font-size:13px;color:rgba(255,255,255,.72);margin-top:4px;}
#ctl-left .ctl-corp{position:static;margin-top:auto;padding-top:44px;font-size:13px;color:rgba(255,255,255,.55);z-index:1;}
/* 右侧表单 */
body.ctl-login .ant-form{
  width:460px;max-width:92%;background:#fff;border:1px solid #eceff3;border-radius:16px;
  padding:44px 44px 36px;box-shadow:0 10px 40px rgba(15,42,80,.08);margin:24px;
}
#ctl-login-head h1{font-size:30px;font-weight:700;color:#0f172a;margin:0 0 10px;letter-spacing:.02em;}
#ctl-login-head .ctl-tip{font-size:14px;color:#64748b;margin:0;}
#ctl-login-head .ctl-tip2{font-size:13px;color:#94a3b8;margin:12px 0 4px;}
body.ctl-login .ant-form-item{margin-bottom:22px!important;}
body.ctl-login label{color:#334155!important;font-weight:500!important;font-size:14px!important;}
body.ctl-login .ant-input-affix-wrapper{border-radius:10px!important;padding:10px 14px!important;}
body.ctl-login .ant-input{border-radius:10px!important;}
body.ctl-login .ant-input-affix-wrapper-focused,
body.ctl-login .ant-input-affix-wrapper:focus{border-color:#2e9fe6!important;box-shadow:0 0 0 3px rgba(46,159,230,.14)!important;}
body.ctl-login .ant-btn-primary{
  background:linear-gradient(135deg,#3aa6ef,#1f8fe0)!important;border:none!important;
  border-radius:10px!important;height:44px!important;font-size:15px!important;
  font-weight:600!important;letter-spacing:.2em;width:100%;margin-top:8px;
  box-shadow:0 8px 18px rgba(31,143,224,.3)!important;
}
body.ctl-login .ant-btn-primary:hover{filter:brightness(1.05)!important;}
body.ctl-login a{color:#0284c7!important;}
/* 应用内页脚主体 */
#ctl-app-footer{position:fixed;left:0;right:0;bottom:0;text-align:center;pointer-events:none;
  color:#94a3b8;font-size:12px;padding:4px 0;}
/* 响应式 */
@media (max-width:640px){
  #ctl-left{display:none!important;}
  body.ctl-login .ctl-ghost > div.ctl-right{width:100%;}
}

body.ctl-login .flex-center{display:none!important;}

/* ===== 菜单管理 v18 ===== */
#ctl-menu-mgr-btn{position:sticky;bottom:0;margin:12px 8px 8px;padding:8px 10px;z-index:50;box-shadow:0 -4px 10px rgba(15,23,42,.06);border:1px solid #e2e8f0;border-radius:8px;color:#64748b;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;transition:all .15s;background:#fff;}
#ctl-menu-mgr-btn:hover{color:#2563eb;border-color:#2563eb;background:#eff6ff;}
#ctl-menu-mgr-btn .ctl-gear{font-size:14px;line-height:1;}
#ctl-menu-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:99999;display:flex;align-items:center;justify-content:center;}
.ctl-mm-box{width:430px;max-width:92vw;max-height:80vh;background:#fff;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden;}
.ctl-mm-head{padding:16px 20px;font-size:16px;font-weight:600;color:#0f172a;border-bottom:1px solid #eef2f7;display:flex;justify-content:space-between;align-items:center;}
.ctl-mm-close{cursor:pointer;color:#94a3b8;font-size:22px;line-height:1;padding:0 4px;}
.ctl-mm-close:hover{color:#0f172a;}
.ctl-mm-tip{padding:10px 20px;font-size:12px;color:#64748b;background:#f8fafc;border-bottom:1px solid #eef2f7;}
.ctl-mm-list{overflow-y:auto;padding:8px 12px;flex:1;}
.ctl-mm-row{display:flex;align-items:center;justify-content:space-between;padding:6px 8px;border-radius:8px;}
.ctl-mm-row:hover{background:#f1f5f9;}
.ctl-mm-row.off .ctl-mm-label{text-decoration:line-through;opacity:.45;}
.ctl-mm-row.off .ctl-mm-group{opacity:.4;}
.ctl-mm-name{display:flex;align-items:center;gap:8px;flex:1;min-width:0;cursor:pointer;font-weight:400;}
.ctl-mm-label{font-size:14px;color:#0f172a;}
.ctl-mm-group{font-size:11px;color:#fff;background:#3b82f6;border-radius:4px;padding:1px 6px;white-space:nowrap;}
.ctl-mm-btns{display:flex;gap:4px;}
.ctl-mm-btns button{width:26px;height:26px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;color:#334155;font-size:13px;line-height:1;}
.ctl-mm-btns button:hover:not(:disabled){background:#2563eb;color:#fff;border-color:#2563eb;}
.ctl-mm-btns button:disabled{opacity:.3;cursor:default;}
.ctl-mm-foot{padding:12px 20px;border-top:1px solid #eef2f7;display:flex;justify-content:flex-end;gap:10px;}
.ctl-mm-reset{padding:8px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;cursor:pointer;font-size:13px;}
.ctl-mm-reset:hover{border-color:#94a3b8;}
.ctl-mm-save{padding:8px 20px;border:none;border-radius:8px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;cursor:pointer;font-size:13px;}
.ctl-mm-save:hover{filter:brightness(1.08);}

/* ===== 菜单管理 v20 分组样式 ===== */
.ctl-mm-sec{margin-bottom:8px;}
.ctl-mm-shead{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;background:#f1f5f9;margin-bottom:2px;}
.ctl-mm-sname{font-size:13px;font-weight:600;color:#334155;flex:1;}
.ctl-mm-sec.off .ctl-mm-sname{opacity:.45;text-decoration:line-through;}
.ctl-mm-sec .ctl-mm-row{padding:6px 8px 6px 34px;}

/* 菜单管理拖拽 (v20) */
.ctl-mm-row,.ctl-mm-shead{cursor:grab;}
.ctl-mm-row:active,.ctl-mm-shead:active{cursor:grabbing;}
.ctl-mm-dragging{opacity:.35;}
.ctl-mm-row.ctl-mm-drop-top,.ctl-mm-shead.ctl-mm-drop-top{box-shadow:inset 0 2px 0 #2563eb;}
.ctl-mm-row.ctl-mm-drop-bottom,.ctl-mm-shead.ctl-mm-drop-bottom{box-shadow:inset 0 -2px 0 #2563eb;}
.ctl-mm-sec{transition:opacity .15s;}
