/* WeChat MP 服务号后台 — 对照 mp.weixin.qq.com 截图像素级近似 */
body.mode-oa .nav-mini,
body.mode-mini .nav-oa{display:none!important}

body.mode-oa .layout{background:#fff}
body.mode-oa .side{
  width:190px;background:#fff;border-right:1px solid #e7e7eb;
  font-family:"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif
}
body.mode-oa .side-brand{
  height:56px;padding:0 18px;gap:10px;font-size:16px;font-weight:400;
  color:#353535;border:0;background:transparent
}
body.mode-oa .side-brand-av{
  width:28px;height:28px;border-radius:50%;object-fit:cover;background:#07c160
}
body.mode-oa .side nav{padding:4px 0 12px;overflow:auto}
body.mode-oa .side nav a,
body.mode-oa .side nav .grp-hd{
  position:relative;display:flex;align-items:center;
  padding:0 18px;height:40px;font-size:14px;color:#353535;
  min-height:40px;line-height:40px;gap:0;font-weight:400
}
body.mode-oa .side nav a:hover,
body.mode-oa .side nav .grp-hd:hover{background:rgba(0,0,0,.03)}
body.mode-oa .side nav a.on{color:#07c160;background:transparent}
body.mode-oa .side nav a.on::before{
  content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;
  background:#07c160;border-radius:0 2px 2px 0
}
body.mode-oa .side nav .grp-hd{cursor:pointer;user-select:none}
body.mode-oa .side nav .grp-bd a{padding-left:34px;height:36px;line-height:36px;min-height:36px;font-size:14px}
body.mode-oa .side nav .grp-bd a.on{color:#07c160}
body.mode-oa .side nav .arr{
  margin-left:auto;font-size:10px;color:#b2b2b2;transform:scale(.85)
}
body.mode-oa .side nav .grp-hd:not(.open) .arr{transform:scale(.85) rotate(-90deg)}
body.mode-oa .side nav .dot{
  width:6px;height:6px;border-radius:50%;background:#fa5151;
  margin-left:6px;flex-shrink:0
}
body.mode-oa .side nav .badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:16px;height:16px;padding:0 4px;margin-left:6px;
  border-radius:8px;background:#fa5151;color:#fff;font-size:11px;line-height:16px
}
body.mode-oa .side nav .badge.sm{min-width:14px;height:14px;font-size:10px;line-height:14px;padding:0 3px}
body.mode-oa .side nav .grp-hd .badge{margin-left:8px;margin-right:0}
body.mode-oa .side nav .grp-hd .arr{margin-left:6px}
body.mode-oa .side-foot{
  border-top:1px solid #e7e7eb;background:#fff;padding:10px 12px 14px
}
body.mode-oa .side-foot .acc{padding:6px 6px;gap:8px}
body.mode-oa .side-foot .acc img{width:28px;height:28px;border-radius:2px}
body.mode-oa .side-foot .acc .nm{font-size:13px;font-weight:400;color:#353535}
body.mode-oa .side-foot .acc .ver{
  display:inline-flex;width:14px;height:14px;margin-left:4px;border-radius:50%;
  background:#10aeff;color:#fff;font-size:9px;align-items:center;justify-content:center;
  font-weight:700;flex-shrink:0
}

body.mode-oa .main{
  background:#fff;padding:0 0 40px;min-height:100vh;
  font-family:"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif
}
body.mode-oa #viewMenu{padding:0}

.mp-menu{color:#353535}
.mp-menu .hd{
  height:60px;padding:0 32px;background:#fff;border-bottom:1px solid #e7e7eb;
  display:flex;align-items:center;justify-content:space-between
}
.mp-menu .hd h1{margin:0;font-size:18px;font-weight:400;color:#353535}
.mp-menu .hd a.gear{
  font-size:14px;color:#576b95;cursor:pointer;
  padding-right:18px;position:relative
}
.mp-menu .hd a.gear::after{
  content:"";position:absolute;right:0;top:50%;width:14px;height:14px;margin-top:-7px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23576b95'%3E%3Cpath d='M19.1 13a7.5 7.5 0 0 0 .1-1 7.5 7.5 0 0 0-.1-1l2-1.6-2-3.4-2.4 1a7.4 7.4 0 0 0-1.7-1l-.4-2.6H9.4l-.4 2.6a7.4 7.4 0 0 0-1.7 1L5 6l-2 3.4 2 1.6a7.5 7.5 0 0 0 0 2l-2 1.6 2 3.4 2.4-1a7.4 7.4 0 0 0 1.7 1l.4 2.6h3.2l.4-2.6a7.4 7.4 0 0 0 1.7-1l2.4 1 2-3.4-2-1.6zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center/contain no-repeat
}
.mp-menu .bd{padding:24px 32px 0;background:#fff}
.mp-menu .alert{
  background:#e8f8f0;border:1px solid #b7ebc8;padding:12px 16px;margin-bottom:24px;
  font-size:13px;line-height:1.7;color:#353535;display:flex;gap:8px;align-items:flex-start
}
.mp-menu .alert i{
  width:18px;height:18px;border-radius:50%;background:#07c160;color:#fff;
  font-style:normal;font-size:12px;display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;margin-top:1px
}
.mp-menu .alert b{color:#07c160;font-weight:400}
.mp-menu .alert a{color:#576b95;cursor:pointer}
.mp-menu .alert .sub{color:#9a9a9a;font-size:12px;margin-top:2px}
.mp-menu .box{
  background:#fff;border:1px solid #e7e7eb;display:flex;min-height:580px;position:relative
}
.mp-menu .preview{
  width:340px;flex-shrink:0;padding:40px 24px 24px;display:flex;flex-direction:column;align-items:center;
  background:#fff;overflow:visible
}
.mp-menu .phone{
  width:300px;border:1px solid #e7e7eb;background:#fff;
  display:flex;flex-direction:column;height:560px;position:relative;box-sizing:border-box;
  overflow:visible
}
.mp-menu .phone-status{
  height:28px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;
  font-size:12px;color:#000;background:#fff;flex-shrink:0;box-sizing:border-box
}
.mp-menu .phone-status .t{font-weight:500;letter-spacing:.2px}
.mp-menu .phone-status .icons{
  width:56px;height:12px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='12' viewBox='0 0 56 12'%3E%3Crect x='0' y='3' width='3' height='6' rx='.5' fill='%23000'/%3E%3Crect x='5' y='2' width='3' height='7' rx='.5' fill='%23000'/%3E%3Crect x='10' y='1' width='3' height='8' rx='.5' fill='%23000'/%3E%3Crect x='15' y='0' width='3' height='9' rx='.5' fill='%23000'/%3E%3Cpath d='M24 2.5a4.5 4.5 0 1 1 0 7' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Ccircle cx='24' cy='6' r='1.2' fill='%23000'/%3E%3Crect x='36' y='2' width='16' height='8' rx='1.5' fill='none' stroke='%23000' stroke-width='1'/%3E%3Crect x='38' y='3.5' width='11' height='5' rx='.8' fill='%23000'/%3E%3Crect x='52.5' y='4' width='1.5' height='4' rx='.4' fill='%23000'/%3E%3C/svg%3E") right center/56px 12px no-repeat
}
.mp-menu .phone-hd{
  height:44px;line-height:44px;text-align:center;
  font-size:15px;color:#000;background:#fff;border-bottom:1px solid #e5e5e5;flex-shrink:0
}
.mp-menu .phone-bd{flex:1;background:#fff;position:relative}
.mp-menu .phone-ft{
  height:50px;background:#fafafa;border-top:1px solid #d8d8d8;
  display:flex;align-items:stretch;flex-shrink:0;position:relative;z-index:3;overflow:visible
}
.mp-menu .phone-ft .kb{
  width:46px;flex:0 0 46px;border-right:1px solid #e5e5e5;
  background:#fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='16' viewBox='0 0 20 16'%3E%3Crect x='0.5' y='0.5' width='19' height='15' rx='1.5' fill='none' stroke='%23888'/%3E%3Cpath d='M3 4h2.2M7 4h2.2M11 4h2.2M15 4h2M3 7.5h2.2M7 7.5h2.2M11 7.5h2.2M15 7.5h2M5.5 11h9' stroke='%23888' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat
}
.mp-menu .phone-ft .item,
.mp-menu .phone-ft .add-main{
  flex:1;position:relative;border-right:1px solid #e5e5e5;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;color:#353535;cursor:pointer;background:#fafafa;padding:0 2px;
  min-width:0;box-sizing:border-box;overflow:visible
}
.mp-menu .phone-ft .item:last-child,
.mp-menu .phone-ft .add-main:last-child{border-right:0}
.mp-menu .phone-ft .add-main{
  color:#c9c9c9;font-size:22px;line-height:1
}
.mp-menu .phone-ft .item.open{background:#fff}
.mp-menu .phone-ft .item.cur{
  background:#fff;box-shadow:inset 0 0 0 1px #07c160;z-index:4
}
.mp-menu .phone-ft .item.cur .txt{color:#07c160}
.mp-menu .phone-ft .item .pre{
  display:inline-block;width:11px;height:11px;margin-right:3px;flex-shrink:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 3.5h10M1 6h10M1 8.5h10' stroke='%23999' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") center/contain no-repeat
}
.mp-menu .phone-ft .item .txt{
  max-width:4.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
/* 子弹层钉在当前一级正上方，避免错位 */
.mp-menu .sub-wrap{
  position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);
  z-index:10;pointer-events:auto
}
.mp-menu .sub{
  width:100px;background:#fff;border:1px solid #d0d0d0;box-sizing:border-box;position:relative
}
.mp-menu .sub::after{
  content:"";position:absolute;left:50%;bottom:-5px;width:8px;height:8px;margin-left:-4px;
  background:#fff;border-right:1px solid #d0d0d0;border-bottom:1px solid #d0d0d0;
  transform:rotate(45deg)
}
.mp-menu .sub.bare{width:84px}
.mp-menu .sub.bare .plus{border-top:0}
.mp-menu .sub li{
  list-style:none;margin:0;height:42px;line-height:42px;text-align:center;
  font-size:14px;color:#353535;border-bottom:1px solid #e8e8e8;cursor:pointer;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 6px;box-sizing:border-box;background:#fff
}
.mp-menu .sub li:last-of-type{border-bottom:0}
.mp-menu .sub li.cur{
  box-shadow:inset 0 0 0 1px #07c160;border-bottom-color:transparent;z-index:1;color:#353535;position:relative
}
.mp-menu .sub .plus{
  color:#353535;height:42px;line-height:42px;text-align:center;font-size:14px;cursor:pointer;
  border-top:1px solid #e8e8e8;background:#fff
}
.mp-menu .sub .plus:hover{color:#07c160}
.mp-menu .ops{
  position:absolute;left:calc(100% + 6px);top:0;width:28px;display:flex;flex-direction:column;gap:6px
}
.mp-menu .ops b{
  display:block;width:24px;height:24px;border:1px solid #d9d9d9;background:#fff;
  text-align:center;line-height:22px;font-size:12px;color:#888;cursor:pointer;font-weight:400;border-radius:2px
}
.mp-menu .ops b:hover{border-color:#07c160;color:#07c160}
.mp-menu .phone-ops{
  display:flex;justify-content:center;gap:16px;margin-top:16px;min-height:28px
}
.mp-menu .phone-ops.hide{visibility:hidden}
.mp-menu .phone-ops b{
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border:1px solid #d9d9d9;background:#fff;
  font-size:14px;color:#666;cursor:pointer;font-weight:400;border-radius:2px
}
.mp-menu .phone-ops b:hover{border-color:#07c160;color:#07c160}

.mp-menu .form{
  flex:1;border-left:1px solid #e7e7eb;padding:28px 40px 100px;position:relative;min-width:0;background:#fff
}
.mp-menu .form h2{
  margin:0 0 28px;padding:0 0 16px;font-size:14px;font-weight:400;
  border-bottom:1px solid #e7e7eb;color:#353535
}
.mp-menu .form .row{display:flex;margin-bottom:24px;align-items:flex-start}
.mp-menu .form .row>span{
  width:84px;flex-shrink:0;padding-top:7px;font-size:14px;color:#353535
}
.mp-menu .form .row .ctrl{flex:1;max-width:460px}
.mp-menu .form .row input[type=text]{
  width:100%;height:36px;border:1px solid #e6e6e6;padding:0 12px;font-size:14px;
  border-radius:0;outline:0;box-sizing:border-box;background:#fff;color:#353535
}
.mp-menu .form .row input[type=text]:focus{border-color:#07c160}
.mp-menu .form .tip{margin-top:8px;font-size:12px;color:#9a9a9a;line-height:1.6}
.mp-menu .form .tip.links{display:flex;gap:16px;margin-top:10px}
.mp-menu .form .tip.links a{color:#576b95;cursor:pointer;font-size:13px}
.mp-menu .form .radios{padding-top:7px;display:flex;flex-wrap:wrap;gap:16px 28px}
.mp-menu .form .radios label{
  display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#353535;cursor:pointer;font-weight:400
}
.mp-menu .form .radios input{margin:0;accent-color:#07c160;width:14px;height:14px}
.mp-menu .form .empty{color:#9a9a9a;font-size:14px;line-height:1.8;padding-top:4px}
.mp-menu .form .del{
  position:absolute;left:40px;bottom:32px;color:#576b95;font-size:14px;cursor:pointer
}
.mp-menu .foot{
  position:absolute;left:0;right:0;bottom:0;height:72px;
  border-top:1px solid #e7e7eb;background:#fff;
  display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:0 32px
}
.mp-menu .foot .btn{
  height:36px;padding:0 22px;font-size:14px;border-radius:3px;cursor:pointer;
  border:1px solid #e5e5e5;background:#fff;color:#353535
}
.mp-menu .foot .btn.primary{background:#07c160;border-color:#07c160;color:#fff}
.mp-menu .foot .btn.primary:hover{background:#06ad56}
.mp-menu .foot .msg{margin-right:auto;font-size:13px;color:#fa5151}
.mp-menu .foot .msg.ok{color:#07c160}

body.mode-oa #viewDraft,
body.mode-oa #viewMaterial,
body.mode-oa #viewPublish,
body.mode-oa #viewHome,
body.mode-oa #viewDev,
body.mode-oa #viewMem,
body.mode-oa #viewSet,
body.mode-oa #viewBase,
body.mode-oa #viewPay{padding:24px 32px}
body.mode-oa #viewDraft h1,
body.mode-oa #viewMaterial h1,
body.mode-oa #viewPublish h1,
body.mode-oa #viewHome h1,
body.mode-oa #viewDev h1,
body.mode-oa #viewMem h1,
body.mode-oa #viewSet h1,
body.mode-oa #viewBase h1,
body.mode-oa #viewPay h1{margin:0 0 20px;font-size:18px;font-weight:400;color:#353535}
.oa-empty{
  background:#fff;border:1px solid #e7e7eb;padding:80px 24px;text-align:center;
  color:#9a9a9a;line-height:1.8;margin:0
}
.oa-empty b{display:block;font-size:15px;color:#353535;font-weight:400;margin-bottom:8px}
