/* ============ 全平台统一顶栏（唯一规范，所有子系统共用） ============
   结构顺序（左 → 右，任何子系统不得改动）：
   [图标] [子系统名/副标题] [← 平台首页] ------弹性空白------
   [页签组] [账号与权限(仅管理员)] [权限与规则] [改口令] [退出] [姓名 · 角色]
   ================================================================ */
.njtop{display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#0b5747,#0e6b52);
  color:#fff;padding:0 18px;height:58px;box-shadow:0 2px 10px rgba(0,0,0,.12);position:relative;z-index:60;
  flex-wrap:nowrap;box-sizing:border-box;width:100%}
.njtop-logo{width:34px;height:34px;border-radius:9px;background:#ffffff22;display:flex;align-items:center;
  justify-content:center;font-size:16px;font-weight:700;flex:0 0 auto}
.njtop-tt{font-size:16px;font-weight:700;line-height:1.15;white-space:nowrap}
.njtop-tt small{display:block;font-size:11px;font-weight:400;opacity:.72;margin-top:2px;letter-spacing:.3px}
.njtop-home{color:#fff;text-decoration:none;font-size:12.5px;opacity:.88;border:1px solid #ffffff2e;
  border-radius:8px;padding:5px 10px;margin-left:6px;white-space:nowrap;flex:0 0 auto}
.njtop-home:hover{opacity:1;background:#ffffff1a}
.njtop-grow{flex:1 1 auto;min-width:8px}
.njtop-tabs{display:flex;gap:6px;flex:0 0 auto;margin-right:2px}
.njtop-tabs .tab,.njtop-tabs button{background:#ffffff1a;border:1px solid #ffffff33;color:#fff;padding:6px 13px;
  border-radius:8px;font-size:13px;cursor:pointer;white-space:nowrap;font-family:inherit;line-height:1.2;flex:0 0 auto}
.njtop-tabs .tab.on,.njtop-tabs button.on{background:#fff;color:#0e5c47;font-weight:600;border-color:#fff}
.njtop-btn{background:#ffffff1a;border:1px solid #ffffff33;color:#fff;padding:6px 12px;border-radius:8px;
  font-size:12.5px;cursor:pointer;text-decoration:none;white-space:nowrap;font-family:inherit;line-height:1.2;flex:0 0 auto}
.njtop-btn:hover{background:#ffffff2e}
.njtop-btn.hi{background:#ffffff;color:#0e5c47;font-weight:600;border-color:#fff}
.njtop-who{font-size:12.5px;opacity:.94;white-space:nowrap;margin-left:4px;flex:0 0 auto}
@media(max-width:900px){
  .njtop{gap:6px;padding:0 10px;height:52px}
  .njtop-tt{font-size:14px}.njtop-tt small{display:none}
  .njtop-tabs .tab,.njtop-tabs button,.njtop-btn{padding:5px 8px;font-size:12px}
  .njtop-who{display:none}
}
/* 改口令弹窗（统一实现，任何子系统都用这一个） */
.njpwd-mask{position:fixed;inset:0;background:#0b2b2455;display:flex;align-items:center;justify-content:center;z-index:900}
.njpwd-card{background:#fff;border-radius:14px;width:min(92vw,360px);padding:20px;box-shadow:0 18px 50px #0b2b2440;
  font-family:inherit}
.njpwd-card h4{margin:0 0 4px;font-size:16px;color:#123c33}
.njpwd-card p{margin:0 0 14px;font-size:12px;color:#6b7f78}
.njpwd-card input{width:100%;box-sizing:border-box;padding:9px 11px;border:1px solid #cfd9d5;border-radius:9px;
  font-size:13px;margin-bottom:9px;font-family:inherit}
.njpwd-card .err{color:#b3261e;font-size:12px;min-height:16px}
.njpwd-card .row{display:flex;gap:8px;justify-content:flex-end;margin-top:6px}
.njpwd-card button{padding:8px 16px;border-radius:9px;border:1px solid #cfd9d5;background:#fff;cursor:pointer;font-size:13px;font-family:inherit}
.njpwd-card button.pri{background:#0d5c63;color:#fff;border-color:#0d5c63}
