.jbh-home{padding:0 0 26px;max-width:100%;margin:0 auto}
.jbh-calendar-card{padding:8px;border-radius:12px}
.jbh-toolbar{display:flex;align-items:center;gap:6px;margin-top:10px}
.jbh-toolbar .jbt-search-wrap{flex:1 1 auto;position:relative;min-width:0;margin:0}
.jbh-toolbar .jbh-search-input{height:34px;padding:0 10px;border-radius:10px}
.jbt-act{flex:0 0 auto;height:34px;padding:0 10px;border:1px solid #d8e8e0;background:#fff;color:#2f7a5c;border-radius:10px;font-size:12.5px;font-weight:600;white-space:nowrap;cursor:pointer}
.jbt-act:active{background:#edf8f2}
.jbt-act.primary{background:#1f6f4a;color:#fff;border-color:#1f6f4a}
.jbh-rec-sec{margin-bottom:14px}
.jbh-rec-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf1ef;font-size:13px;color:#47605a}
.jbh-rec-row span{color:#7d8b88;font-size:12px}
/* 日历：置顶并整体缩放到自盘房源页日历高度约 4/5（参考 305.5px → 目标 ≈244px），宽度同步适配 */
.jbh-calendar-card .cal,.jbh-calendar-card .cal-wrap{margin:0;padding:0;background:transparent;box-shadow:none}
.jbh-calendar-card .cal-head{padding:0 2px 4px}
.jbh-calendar-card .cal-title{font-size:15px;letter-spacing:0}
.jbh-calendar-card .cal-nav{width:26px;height:26px;font-size:16px;border-radius:8px}
.jbh-calendar-card .cal-week{margin-bottom:2px}
.jbh-calendar-card .cal-week span{font-size:10px;padding:1px 0}
.jbh-calendar-card .cal-grid{gap:2px}
.jbh-calendar-card .cal-cell{min-height:31px;padding:3px 2px 2px;border-radius:8px}
.jbh-calendar-card .cal-cell .cal-num{font-size:12.5px}
.jbh-calendar-card .cal-cell .cal-sub{font-size:7.5px;margin-top:1px}
.jbh-calendar-card .cal-cell.today .cal-num::after{bottom:2px;width:3px;height:3px}
.jbh-calendar-card .cal-badge{min-width:12px;height:12px;line-height:12px;font-size:8px;padding:0 3px;top:0;right:2px}
.jbh-calendar-card .cal-off,.jbh-calendar-card .cal-work{width:12px;height:12px;line-height:12px;font-size:7.5px;top:0;left:2px}
.jbh-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 2px 12px}.jbh-brand{display:flex;flex-direction:column}.jbh-brand b{font-size:24px;color:#183c33}.jbh-brand span{font-size:12px;color:#7d8b88;margin-top:3px}.jbh-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.jbh-entry{border:1px solid #e4ebe8;background:#fff;border-radius:15px;padding:15px 4px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#26473d;box-shadow:0 2px 8px #183c3306;min-height:86px}.jbh-entry:active{background:#edf8f2;transform:scale(.98)}.jbh-entry span{font-size:24px;line-height:26px}.jbh-entry b{font-size:13px;font-weight:650;text-align:center}.jbh-list-block{margin-top:12px}.jbh-day{border-top:1px solid #edf1ef;padding-top:6px}.jbh-more{margin:6px 0 10px;background:#f1f7f4;border:1px solid #d8e8e0;color:#2f7a5c;border-radius:10px;padding:7px 12px;font-size:12px}.jbh-group{margin-bottom:16px}.jbh-subjects-page{padding:12px}.jbh-subjects-page .jbh-subject-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.jbh-title{display:flex;align-items:center;justify-content:space-between;margin:4px 2px 16px}.jbh-title h2,.jbh-minor-head h2{margin:0;font-size:24px;color:#183c33}.jbh-title p,.jbh-minor-head p{margin:5px 0 0;color:#71827d;font-size:13px}.jbh-stats{margin-bottom:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.jbh-stats .jb-stat{background:#fff;border:1px solid #e4ebe8;border-radius:13px;padding:12px 3px;text-align:center;display:flex;flex-direction:column;gap:5px}.jbh-stats .jb-stat b{font-size:21px;color:#226c53}.jbh-stats .jb-stat span{font-size:11px;color:#7e8d88;white-space:nowrap}.jbh-calendar-card{overflow:visible}.jbh-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.jbh-section-title>b{font-size:16px;color:#203c35}.jbh-section-title>span{font-size:12px;color:#8a9793}.jbh-subjects{margin:20px 0}.jbh-subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.jbh-subject{border:1px solid #e4ebe8;background:#fff;border-radius:16px;padding:13px 3px 11px;display:flex;align-items:center;flex-direction:column;gap:5px;color:#26473d;min-height:99px;box-shadow:0 2px 8px #183c3306}.jbh-subject:active{background:#edf8f2;transform:scale(.97)}.jbh-subject-icon{font-size:27px;line-height:32px}.jbh-subject>span:nth-child(2){font-size:13px;font-weight:650;white-space:nowrap}.jbh-subject small{font-size:9px;color:#95a29e}.jbh-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.jbh-tools .btn{margin:0;min-height:44px}.jbh-day-title{display:flex;justify-content:space-between;align-items:center;padding:16px 0 8px;border-top:1px solid #edf1ef;margin-top:12px}.jbh-day-title span{font-size:12px;color:#82918c}.jbh-minor{padding:16px 12px 32px;max-width:720px;margin:auto}.jbh-minor-head{display:flex;align-items:center;justify-content:space-between;margin:3px 2px 18px}.jbh-minor .card{margin-bottom:14px}.jbh-minor-task{display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf1ef;padding:9px 0}.jbh-minor-task:last-child{border-bottom:0}.jbh-task-name{border:0;background:transparent;text-align:left;flex:1;padding:8px 0;color:#263e37;font-size:14px;min-width:0;overflow-wrap:anywhere}.jbh-record{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf1ef;font-size:13px}.jbh-record b{color:#34775f;min-width:90px}.jbh-record span{flex:1;min-width:140px}.jbh-record img{width:48px;height:48px;object-fit:cover;border-radius:8px}.jbh-artifacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.jbh-artifacts figure{margin:0;background:#f5f8f7;border-radius:12px;overflow:hidden}.jbh-artifacts figure>img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.jbh-artifacts figcaption{padding:9px;display:flex;flex-direction:column;gap:4px}.jbh-artifacts figcaption b{font-size:13px}.jbh-artifacts figcaption span{font-size:11px;color:#7c8b86;overflow-wrap:anywhere}.jbh-artifacts .empty{grid-column:1/-1}.jbh-guide{margin:0;color:#526860;line-height:1.8;font-size:14px}.jbh-major-tasks{margin:16px 12px}.btn.green{background:#e8f6ef;color:#27734f;border:1px solid #cde9da}@media(min-width:600px){.jbh-subject-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.jbh-subject{min-height:108px}}@media(max-width:350px){.jbh-subject-grid{gap:7px}.jbh-subject>span:nth-child(2){font-size:12px}}
/* v97.31 需求1：三行在 v97.30（23 / 24 / 24px）基础上折中压到 ~20px，行内布局与交互逻辑不变 */
.jbh-home .jbh-toolbar{margin-top:5px;gap:4px}
.jbh-home .jbh-toolbar .jbh-search-input{height:20px;padding:0 8px;font-size:12.5px;border-radius:8px}
.jbh-home .jbt-act{height:20px;padding:0 8px;font-size:11px;border-radius:8px}
.jbh-home .jbh-filters{margin:6px 0 2px;gap:4px}
.jbh-home .jbh-frow{gap:3px}
.jbh-home .jbh-fchip{padding:2px 9px;height:20px;font-size:11px;line-height:1;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
/* v97.30：② 首页任务列表项统一采用「工作台」今日待办 / 15日待办 的 dt15 整体格式（徽标配色） */
.dt-badge.k-jb-task{background:#E5484D;color:#fff}
.dt-badge.k-jb-checkin{background:#F59E0B;color:#fff}
.dt-badge.k-jb-routine{background:#8B5CF6;color:#fff}
.dt-badge.k-jb-agenda{background:#10B981;color:#fff}
.dt-badge.k-jb-plan{background:#0EA5E9;color:#fff}
/* 列表项圆角卡片感：与「工作台」dt15 一致，点击态轻微高亮 */
.jbh-todo{transition:background .12s}
.jbh-todo:active{background:#f4f8f6}
/* 已完成项在首页列表轻度置灰，区分进行中 */
.jbh-todo.is-done .dt15-txt{color:#9aa8a3}

/* ============ v97.31 需求3：已过期标签红底白字 + 数字角标 ============ */
/* v97.40 需求一：选中逾期标签 → 蓝底白字（数字保持红色、小圆圈白色底由 .jbh-fchip-badge 继承） */
.jbh-home .jbh-fchip.expired-alert{background:#E5484D;border-color:#E5484D;color:#fff;font-weight:700;box-shadow:0 2px 6px rgba(229,72,77,.3)}
.jbh-home .jbh-fchip.expired-alert.on{background:#2E5BFF;border-color:#2E5BFF;color:#fff;box-shadow:0 2px 8px rgba(46,91,255,.45)}
.jbh-fchip-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:14px;height:14px;padding:0 4px;margin-left:4px;border-radius:7px;background:#fff;color:#E5484D;font-size:10px;font-weight:800;line-height:1}
/* ============ v97.31 需求5：第 6 类事项「学科总结」dt15 徽标配色 ============ */
.dt-badge.k-jb-summary{background:#EC4899;color:#fff}

/* ============ v97.32 需求三+五：列表块脱出白底大卡，单条独立白底条目 ============ */
/* 页面背景沿用当前浅底色；日历 / 工具栏 / 筛选仍留在 .card.jbh-calendar-card 白底浅卡内 */
.jbh-home{background:transparent}
.jbh-home .jbh-calendar-card{padding:8px;border-radius:12px}
.jbh-lists{margin-top:14px}
.jbh-home .jbh-list-block{margin-top:0;margin-bottom:14px}
.jbh-home .jbh-list-block .jbh-day-title{margin:0 2px 10px}
/* 单条独立白底圆角条目，纵向排列、条目间均匀间距（对齐工作台 dt15 的字号层级与对齐方式） */
.jbh-home .jbh-todo{
  background:#fff;border:1px solid var(--line-soft,#e4ebe8);border-radius:12px;
  padding:11px 12px;margin-bottom:9px;gap:10px;
  box-shadow:0 2px 8px rgba(24,60,51,.05);
}
.jbh-home .jbh-todo:last-child{margin-bottom:0}
.jbh-home .jbh-todo:active{background:#f4f8f6}
/* v97.33 需求1：四类事项四字徽标（学科两字 / 类型两字 两行），颜色随 k-jb-{kind} 各自区分：
   作业红 #E5484D / 周期打卡橙 #F59E0B / 学科计划蓝 #0EA5E9 / 学科总结粉 #EC4899；
   无学科或未归入四类的（日程 / 作息）回退两字类型徽标。圆角+投影让各类标签视觉上可辨。 */
.jbh-home .jbh-badge4{width:40px;height:34px;line-height:1.15;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.jbh-home .jbh-badge4 > span{letter-spacing:0;margin-right:0;font-size:10px;font-weight:700}
/* 需求三.3/3.4：第二行右侧 = 截止日期时间 + 红色「已过期」，右对齐 */
.jbh-home .jbh-right{display:inline-flex;align-items:baseline;gap:7px;flex:0 0 auto;margin-left:auto}
.jbh-home .jbh-end{font-size:11px;color:var(--muted-d);font-family:var(--font-num);font-weight:600;white-space:nowrap}
.jbh-home .jbh-todo .dt15-over{font-size:11.5px;color:var(--red,#E5484D);font-weight:700}
