/* 联诚采信 · 统一底部菜单
   Figma 414:2759 Group 31 / 0.底部菜单 Variant4
   - 组件盒 402×70
   - 内容 Frame 674：x39 y10 · 326×41 · gap38 · items-center
   - 背景 Rectangle 182 高 80（下溢 10），布局仍按 70，不抬高图标 */
.app-tabbar{
  position:absolute;
  left:0;right:0;bottom:0;z-index:30;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:38px;
  height:70px;
  padding:10px 39px 19px;
  border:0;
  box-sizing:border-box;
  overflow:visible;
  pointer-events:auto;
  background:transparent;
}
/* 白底毛玻璃：铺满 70，并向下多绘 10 贴近 Figma Rectangle 182 */
.app-tabbar::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:80px;
  border-top:1px solid #fff;
  background:rgb(255 255 255 / 80%);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  pointer-events:none;
  z-index:0;
}
.app-tabbar > *{
  position:relative;
  z-index:1;
}
.app-tabbar-item{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:4px;
  width:27px;
  min-width:27px;
  height:41px;
  padding:0;
  border:0;
  color:#6c6c6c;
  background:transparent;
  font:400 10px/10px "Microsoft YaHei","PingFang SC","MiSans",sans-serif;
  text-decoration:none;
  cursor:pointer;
  pointer-events:auto;
}
.app-tabbar-item[data-tab="link"]:not(.is-active),
.app-tabbar-item[data-tab="messages"]:not(.is-active),
.app-tabbar-item[data-tab="mine"]:not(.is-active){
  color:#818080;
}
.app-tabbar-item.is-active{
  color:#000;
}
.app-tabbar-icon{
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 27px;
  width:27px;
  height:27px;
  overflow:visible;
}
.app-tabbar-icon img{
  display:block;
  width:27px;
  height:27px;
  max-width:none;
}
.app-tabbar-item[data-tab="messages"] .app-tabbar-icon img{
  width:26px;
  height:26px;
}
.app-tabbar-item[data-tab="messages"].is-active .app-tabbar-icon img{
  width:22px;
  height:22px;
}
.app-tabbar-item[data-tab="link"]:not(.is-active) .app-tabbar-icon img{
  width:22px;
  height:22px;
}
.app-tabbar-publish{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 66px;
  width:66px;
  height:35px;
  margin:0;
  padding:11px 10px 10px 11px;
  border:0;
  border-radius:90px;
  color:#fff;
  background:#2962d4;
  box-shadow:0 4px 4px #bed4ff;
  cursor:pointer;
  pointer-events:auto;
}
.app-tabbar-publish img{
  display:block;
  width:16px;
  height:16px;
}
.app-tabbar-badge{
  position:absolute;
  top:-4px;
  right:-6px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:14px;
  height:14px;
  padding:0 4px;
  border-radius:90px;
  color:#fff;
  background:#ef4444;
  box-shadow:0 0 0 1.5px #fff;
  font-size:10px;
  font-style:normal;
  font-weight:700;
  line-height:1;
  box-sizing:border-box;
  pointer-events:none;
}
/* 消息 / 我的 Tab 角标：当前页也显示合计（我的 = 企业管理 + 业务员工作台） */
.app-tabbar-item[data-tab="mine"] .app-tabbar-badge{
  left:16px;
  right:auto;
}

/* 宿主页内容区需为底栏留空：布局高 70，背景可视可到 80 */
.plaza:has(> .app-tabbar),
.link-phone:has(> .app-tabbar),
.lc-phone:has(.app-tabbar),
.bo-phone:has(> .app-tabbar),
main.bo-phone:has(> .app-tabbar){
  /* no-op host marker */
}
.plaza{padding-bottom:80px}
