/* ============================================================
   会员中心 mobile 壳（方案 B：贴近小程序四 tab 导航）
   全屏生效（电脑 / 手机一致的小程序感导航）；
   仅引入本文件的页面受影响：login / member / res / clients /
   agenda / notices / homework / campus-learn / assess
   ============================================================ */

/* 隐藏网站原顶部大导航，改由底部 tab 承担导航（全屏） */
.site-header { display: none !important; }

/* 底部固定四 tab 栏：小程序形态 */
.app-tabbar {
  display: flex;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: #fff;
  border-top: 1px solid var(--line-2, #ececec);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .06);
  z-index: 300;
  padding-bottom: env(safe-area-inset-bottom, 0);
  -webkit-tap-highlight-color: transparent;
}
.app-tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  line-height: 1.2;
  color: var(--ink-3, #8a8a8a);
  text-decoration: none;
}
.app-tabbar a .ico { font-size: 20px; line-height: 1; }
.app-tabbar a.active { color: var(--gold, #E8A33D); font-weight: 600; }
.app-tabbar a.active .ico { transform: translateY(-1px); }

/* 带底部栏的页，内容区底部留白，避免被固定栏遮住 */
body.has-tabbar { padding-bottom: 64px; }

/* 子页返回条（assess 等独立主题页使用）：粘顶，替代被隐藏的 site-header */
.app-subbar {
  display: flex;
  align-items: center;
  gap: 6px;
  position: sticky;
  top: 0;
  z-index: 300;
  height: 48px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--line-2, #ececec);
  font-size: 15px;
  color: var(--ink-2, #444);
  -webkit-tap-highlight-color: transparent;
}
.app-subbar a {
  color: var(--ink-2, #444);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
.app-subbar .chev { font-size: 20px; line-height: 1; margin-top: -2px; }
