/* ════════════════════════════════════════════
   本周排班页 — 对齐"排班表与积分统计表-全新"蓝本（蓝白渐变 + cellbox/pill）
   导航/页脚沿用官网 style.css，仅排班主体区用蓝本视觉
   ════════════════════════════════════════════ */
.schedule-page{
  --blue:#1766a6;--blue2:#2384d5;--line:#dbeafe;--sch-text:#111827;--sch-muted:#6b7280;
  --green:#15803d;--red:#b91c1c;--orange:#b45309;--purple:#6d28d9;
  background:linear-gradient(160deg,#eef7ff,#fff);min-height:100vh;
  color:var(--sch-text);
}
.schedule-page .container{max-width:1180px;margin:0 auto;padding:0 22px;}

/* Hero */
.sch-hero{padding:118px 0 22px;text-align:center;}
.sch-title{font-size:38px;font-weight:900;letter-spacing:-.01em;margin:0 0 8px;color:#08213a;}
.sch-sub{font-size:15px;color:var(--sch-muted);margin:0;}

.sch-main{padding:14px 0 80px;}

/* 卡片包裹 */
.sch-card{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  box-shadow:0 6px 22px rgba(15,61,100,.06);padding:18px;margin-bottom:18px;
}

/* 厅入口 / 筛选按钮条 */
.sch-hallbar{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:18px;}
.sch-hall-loading{color:var(--sch-muted);font-size:14px;}
.sch-hallbtn{
  padding:9px 20px;border-radius:999px;border:1px solid var(--blue);
  background:#fff;color:var(--blue);font-size:14px;font-weight:900;
  cursor:pointer;transition:all .18s ease;white-space:nowrap;
}
.sch-hallbtn:hover{background:#eaf5ff;}
.sch-hallbtn.active{background:var(--blue);color:#fff;}

/* 周导航 */
.sch-weeknav{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:16px;}
.sch-wbtn{
  width:38px;height:38px;border-radius:999px;border:1px solid var(--line);
  background:#fff;color:var(--blue);font-size:20px;line-height:1;cursor:pointer;
  font-weight:900;transition:all .18s ease;
}
.sch-wbtn:hover{background:#eaf5ff;border-color:#93c5fd;}
.sch-weeklabel{font-size:16px;font-weight:900;min-width:230px;text-align:center;color:#08213a;}
.sch-today{
  margin-left:6px;padding:8px 16px;border-radius:999px;border:1px solid var(--blue);
  background:#fff;color:var(--blue);font-size:13px;font-weight:900;cursor:pointer;transition:all .18s ease;
}
.sch-today:hover{background:#eaf5ff;}

/* 图例 */
.sch-legend{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-bottom:8px;font-size:13px;color:var(--sch-muted);}
.leg-item{display:inline-flex;align-items:center;gap:6px;font-weight:700;}
.leg-dot{width:16px;height:16px;border-radius:5px;display:inline-block;}
.leg-dot.l-shift{background:#1d4ed822;border:1px solid #1d4ed866;}
.leg-dot.l-host{background:#fde68a;border:1px solid #f59e0b;}
.leg-dot.l-off{background:#fee2e2;border:1px dashed #fecaca;}

/* 表格 */
.sch-tablewrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff;}
.sch-table{width:100%;border-collapse:separate;border-spacing:0;min-width:900px;}
.sch-table th{
  background:#eaf5ff;color:#08213a;font-size:13px;font-weight:900;padding:10px;
  border-right:1px solid var(--line);border-bottom:1px solid var(--line);white-space:nowrap;text-align:center;
  position:sticky;top:0;z-index:2;
}
.sch-table td{
  font-size:13px;padding:8px;border-right:1px solid #edf5ff;border-bottom:1px solid #edf5ff;
  text-align:center;vertical-align:middle;
}
.sch-table th:last-child,.sch-table td:last-child{border-right:0;}
.sch-table tr:last-child td{border-bottom:0;}
.sch-table tr:hover td{background:#fbfdff;}
.sch-table th.sch-singercol,.sch-table td.sch-singercol{
  text-align:left;min-width:110px;font-weight:900;position:sticky;left:0;background:#fff;z-index:1;
}
.sch-table th.sch-singercol{background:#eaf5ff;z-index:3;}
.sch-table tr:hover td.sch-singercol{background:#fbfdff;}
.sch-table th .sch-wd{font-size:11px;color:var(--sch-muted);font-weight:700;display:block;margin-top:2px;}
.sch-num{font-weight:900;color:var(--blue);}

/* 单元格盒 + 档位徽标（照搬蓝本 cellbox/pill） */
.cellbox{
  min-height:54px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;
  padding:5px;display:flex;flex-wrap:wrap;gap:4px;align-items:center;justify-content:center;
}
.pill{
  display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
  border-radius:12px;padding:4px 9px;font-size:12px;font-weight:900;line-height:1.12;white-space:nowrap;
}
.pill small{font-size:10px;font-weight:800;opacity:.72;margin-top:2px;}
.pill.empty{background:#fee2e2;color:#b91c1c;border:1px dashed #fecaca;}
.pill.host{background:#fef3c7;color:#92400e;border:1px solid #f59e0b;}
.pill .pill-note{font-size:9.5px;font-weight:700;opacity:.7;margin-top:1px;}

/* 空状态 / 加载 */
.sch-empty{padding:56px 20px;text-align:center;color:var(--sch-muted);font-size:15px;}
.sch-loading{padding:48px 20px;text-align:center;color:var(--sch-muted);font-size:14px;}

@media (max-width:640px){
  .sch-title{font-size:28px;}
  .sch-weeklabel{min-width:150px;font-size:14px;}
  .sch-hero{padding:94px 0 16px;}
}
