/* 壳：顶栏 + 侧栏 + 主区 */

.lb-app {
  display: grid;
  grid-template-columns: var(--lb-side-w) 1fr;
  grid-template-rows: var(--lb-header-h) 1fr;
  grid-template-areas:
    "header header"
    "side main";
  height: 100vh;
  overflow: hidden;
}

.lb-header {
  grid-area: header;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--lb-white);
  border-bottom: 1px solid var(--lb-border-light);
  z-index: 20;
}

.lb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--lb-text);
  font-weight: 600;
  font-size: 15px;
  margin-right: 8px;
}

.lb-brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--lb-primary);
}

.lb-topnav {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  height: 100%;
}

.lb-topnav::-webkit-scrollbar {
  display: none;
}

.lb-topnav a,
.lb-topnav span {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  color: var(--lb-text-2);
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.lb-topnav a:hover {
  color: var(--lb-primary);
}

.lb-topnav a.is-current {
  color: var(--lb-primary);
  font-weight: 500;
  border-bottom-color: var(--lb-primary);
}

.lb-header__user {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--lb-text-2);
  font-size: 13px;
}

.lb-list-back {
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  background: var(--lb-white);
  color: var(--lb-text);
  font-size: 13px;
  line-height: 26px;
  text-decoration: none;
  white-space: nowrap;
}

.lb-list-back:hover {
  color: var(--lb-primary);
  border-color: var(--lb-primary);
}

.lb-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #69b1ff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.lb-avatar-wrap {
  position: relative;
  display: inline-grid;
  width: 24px;
  height: 24px;
}

.lb-shade {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #fff;
}

.lb-shade--black { background: #1f1f1f; }
.lb-shade--gray { background: #8c8c8c; }
.lb-shade--white { background: #fff; border-color: #bfbfbf; }
.lb-shade-until { display: block; margin-top: 2px; color: #8c8c8c; font-size: 11px; font-style: normal; }

/* 第7条：营地交通信息三块（机场 / 火车站 / 大巴），支持才展开字段 */
.lb-camp-travel { margin-bottom: 16px; padding: 12px 14px; background: #fafafa; border: 1px solid #eee; border-radius: 6px; }
.lb-camp-travel__head { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.lb-camp-travel__head b { min-width: 96px; color: rgba(0, 0, 0, 0.85); }
.lb-camp-travel__body { padding-top: 10px; }
.lb-camp-travel__body[hidden] { display: none; }
.lb-upload { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.lb-upload__thumb { display: inline-grid; place-items: center; width: 40px; height: 30px; border-radius: 4px; background: #e8eeea; color: #5b7a68; font-size: 12px; }
.lb-upload__name { color: rgba(0, 0, 0, 0.72); font-size: 13px; }
.lb-upload__hint { color: #8c8c8c; font-size: 12px; }

.lb-side {
  grid-area: side;
  background: var(--lb-white);
  border-right: 1px solid var(--lb-border-light);
  overflow-y: auto;
  padding: 8px 0 24px;
}

.lb-side a,
.lb-side .lb-nav-leaf,
.lb-side span.is-disabled,
.lb-side summary {
  display: block;
  padding: 9px 16px 9px 24px;
  color: var(--lb-text);
  font-size: 14px;
  line-height: 22px;
  cursor: pointer;
  border-right: 3px solid transparent;
}

.lb-side a:hover,
.lb-side .lb-nav-leaf:hover,
.lb-side summary:hover {
  color: var(--lb-primary);
}

.lb-side a.is-active {
  background: var(--lb-primary-bg);
  color: var(--lb-primary);
  font-weight: 500;
  border-right-color: var(--lb-primary);
}

.lb-side details {
  border: 0;
}

.lb-side summary {
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.lb-side summary::-webkit-details-marker {
  display: none;
}

.lb-side summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--lb-text-3);
  border-bottom: 1.5px solid var(--lb-text-3);
  transform: rotate(45deg);
}

.lb-side details[open] > summary::after {
  top: 18px;
  transform: rotate(-135deg);
}

.lb-side .lb-nav-sub > a,
.lb-side .lb-nav-sub > .lb-nav-leaf,
.lb-side .lb-nav-sub > span.is-disabled,
.lb-side .lb-nav-sub > details > summary {
  padding-left: 36px;
}

.lb-side .lb-nav-sub .lb-nav-sub > a,
.lb-side .lb-nav-sub .lb-nav-sub > .lb-nav-leaf,
.lb-side .lb-nav-sub .lb-nav-sub > span.is-disabled {
  padding-left: 48px;
}

.lb-side span.is-disabled {
  color: var(--lb-text-disabled);
  cursor: not-allowed;
}

.lb-main {
  grid-area: main;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--lb-bg);
}

.lb-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 0;
  color: var(--lb-text-2);
  font-size: 14px;
  background: var(--lb-bg);
}

.lb-crumb a {
  color: var(--lb-text-2);
}

.lb-crumb a:hover {
  color: var(--lb-primary);
}

.lb-content {
  flex: 1;
  min-height: 0;
  padding: 12px 16px 16px;
  overflow: auto;
}

.lb-page {
  background: var(--lb-white);
  border-radius: var(--lb-radius);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* 筛选 / 按钮 */

.lb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 16px 8px;
}

.lb-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lb-field label {
  color: var(--lb-text-2);
  white-space: nowrap;
}

.lb-input,
.lb-select {
  height: var(--lb-control-h);
  padding: 4px 11px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  background: var(--lb-white);
  color: var(--lb-text);
  min-width: 160px;
}

.lb-input:focus,
.lb-select:focus {
  outline: none;
  border-color: var(--lb-primary);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}

.lb-btn {
  height: var(--lb-control-h);
  padding: 4px 15px;
  border-radius: var(--lb-radius-sm);
  border: 1px solid var(--lb-border);
  background: var(--lb-white);
  color: var(--lb-text);
  cursor: pointer;
  font-size: 14px;
}

.lb-btn:hover {
  color: var(--lb-primary);
  border-color: var(--lb-primary);
}

.lb-btn--primary {
  background: var(--lb-primary);
  border-color: var(--lb-primary);
  color: #fff;
}

.lb-btn--primary:hover {
  background: var(--lb-primary-hover);
  border-color: var(--lb-primary-hover);
  color: #fff;
}

.lb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px 12px;
}

/* 表 */

.lb-table-wrap {
  overflow-x: auto;
  padding: 0 16px;
}

.lb-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lb-table th,
.lb-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--lb-border-light);
  text-align: left;
  white-space: nowrap;
  color: var(--lb-text);
}

.lb-table th {
  background: var(--lb-fill);
  font-weight: 500;
  color: var(--lb-text-2);
}

.lb-table tbody tr:hover td {
  background: #fafafa;
}

/* 学员信息批量核销的勾选列（清单第 52 条） */
.lb-table th.cc-check,
.lb-table td.cc-check {
  width: 40px;
  padding-left: 16px;
  padding-right: 4px;
  text-align: center;
}

.lb-table td.cc-check input,
.lb-table th.cc-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--lb-primary, #2f6bff);
  cursor: pointer;
}

.lb-table td.cc-check input:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.lb-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lb-name .lb-avatar {
  flex-shrink: 0;
}

.lb-link-btn {
  background: none;
  border: 0;
  color: var(--lb-primary);
  cursor: pointer;
  padding: 0 6px 0 0;
  font-size: 14px;
}

.lb-link-btn:hover {
  color: var(--lb-primary-hover);
}

.lb-link-btn--danger {
  color: var(--lb-error);
}

.lb-tag {
  display: inline-block;
  padding: 0 7px;
  line-height: 22px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid var(--lb-border-light);
  background: var(--lb-fill);
}

.lb-tag--ok {
  color: var(--lb-success);
  background: var(--lb-success-bg);
  border-color: #b7eb8f;
}

.lb-tag--wait {
  color: var(--lb-warning);
  background: #fffbe6;
  border-color: #ffe58f;
}

.lb-kin-warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff4d4f;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: default;
}

.lb-kin-tip {
  position: fixed;
  z-index: 80;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 6px;
  background: #262626;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  white-space: nowrap;
}

.lb-kin-tip[hidden] {
  display: none;
}

.lb-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.lb-lamp-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lb-lamp {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.lb-lamp--red { background: #ff4d4f; }
.lb-lamp--yellow { background: #faad14; }
.lb-lamp--white { background: #fff; border: 1px solid #d9d9d9; }

.lb-lamp-select,
.lb-lamp-batch {
  width: 72px;
  min-width: 72px;
}

.lb-study-card {
  width: min(1280px, 96vw);
}

.lb-study-table {
  min-width: 1400px;
}

.lb-study-table td {
  white-space: nowrap;
  vertical-align: top;
}

.lb-name-cell .lb-tag {
  padding: 0 4px;
  line-height: 18px;
  font-size: 12px;
}

.lb-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px 16px;
  color: var(--lb-text-2);
  font-size: 13px;
}

.lb-pager button {
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--lb-border);
  background: var(--lb-white);
  border-radius: var(--lb-radius-sm);
  cursor: pointer;
}

.lb-pager button.is-on,
.lb-pager button:hover {
  color: var(--lb-primary);
  border-color: var(--lb-primary);
}

/* 岗位树 */

.lb-split {
  display: flex;
  min-height: 0;
  flex: 1;
}

.lb-plan-side {
  position: relative;
  z-index: 6;
  width: 420px;
  overflow: visible;
}

.lb-plan-box {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 12px;
}

.lb-plan-trigger {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 4px 11px;
  border: 1px solid #40a9ff;
  border-radius: 4px;
  background: #fff;
  color: rgba(0, 0, 0, 0.85);
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}

.lb-plan-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.lb-plan-menu {
  position: absolute;
  z-index: 5;
  top: 40px;
  left: 0;
  right: 28px;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 4px 0;
}

.lb-plan-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 6px 12px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.85);
  border-radius: 0;
}

.lb-plan-menu button.is-on,
.lb-plan-menu button:hover {
  background: #e6f7ff;
}

.lb-week-all {
  display: inline-block;
  width: auto;
  margin: 0 0 8px;
  padding: 2px 10px;
  border: 1px solid #91d5ff;
  border-radius: 2px;
  background: #fff;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.lb-week-all.is-on {
  background: #e6f7ff;
  color: #1890ff;
}

.lb-week-row {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  line-height: 1.5;
}

.lb-week-row.is-on {
  color: #1890ff;
}

.lb-plan-side {
  position: relative;
  z-index: 6;
  width: 420px;
  overflow: visible;
}

.lb-plan-box {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 12px;
}

.lb-plan-trigger {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 4px 11px;
  border: 1px solid #40a9ff;
  border-radius: 4px;
  background: #fff;
  color: rgba(0, 0, 0, 0.85);
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}

.lb-plan-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.lb-plan-menu {
  position: absolute;
  z-index: 5;
  top: 40px;
  left: 0;
  right: 28px;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 4px 0;
}

.lb-plan-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 6px 12px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.85);
  border-radius: 0;
}

.lb-plan-menu button.is-on,
.lb-plan-menu button:hover {
  background: #e6f7ff;
}

.lb-week-all {
  display: inline-block;
  width: auto;
  margin: 0 0 8px;
  padding: 2px 10px;
  border: 1px solid #91d5ff;
  border-radius: 2px;
  background: #fff;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.lb-week-all.is-on {
  background: #e6f7ff;
  color: #1890ff;
}

.lb-week-row {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  line-height: 1.5;
}

.lb-week-row.is-on {
  color: #1890ff;
}

.lb-job-tree {
  width: 200px;
  flex-shrink: 0;
  border-right: 1px solid var(--lb-border-light);
  padding: 12px;
  overflow: auto;
}

.lb-job-tree input {
  width: 100%;
  min-width: 0;
  margin-bottom: 8px;
}

.lb-job-tree button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 6px 8px;
  border-radius: var(--lb-radius-sm);
  cursor: pointer;
  color: var(--lb-text);
}

.lb-job-tree button.is-on {
  background: var(--lb-primary-bg);
  color: var(--lb-primary);
}

.lb-job-tree.lb-plan-side {
  width: 420px;
  overflow: visible;
}

.lb-plan-side .lb-plan-trigger {
  display: flex;
  width: auto;
  border: 1px solid #40a9ff;
  background: #fff;
  border-radius: 4px;
  padding: 4px 11px;
}

.lb-plan-side .lb-week-all {
  display: inline-block;
  width: auto;
  border: 1px solid #91d5ff;
  background: #fff;
  padding: 2px 10px;
}

.lb-plan-side .lb-week-all.is-on {
  background: #e6f7ff;
  color: #1890ff;
}

.lb-plan-side .lb-week-row {
  border: 0;
  background: transparent;
  border-radius: 0;
}

.lb-plan-side .lb-week-row.is-on {
  background: transparent;
  color: #1890ff;
}

.lb-plan-side .lb-plan-trigger {
  width: 100%;
}

.lb-job-tree.lb-plan-side > .lb-plan-box > .lb-num-btn,
.lb-plan-side .lb-num-btn {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  width: 18px;
  height: 18px;
  padding: 0;
  background: transparent;
}

.lb-split__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* 抽屉 / toast / 占位 */

.lb-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
  display: none;
}

.lb-mask.is-open {
  display: block;
}

.lb-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 96vw);
  height: 100%;
  background: var(--lb-white);
  z-index: 41;
  box-shadow: var(--lb-shadow);
  transform: translateX(100%);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.lb-drawer.is-open {
  transform: none;
  will-change: auto;
}

.lb-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--lb-border-light);
  font-weight: 600;
}

.lb-drawer__body {
  padding: 16px 20px;
  overflow: auto;
  flex: 1;
}

.lb-drawer__body .lb-field {
  margin-bottom: 12px;
}

.lb-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lb-white);
  border-radius: var(--lb-radius);
  box-shadow: var(--lb-shadow);
  padding: 10px 16px;
  z-index: 50;
  display: none;
}

.lb-toast.is-on {
  display: block;
}

.lb-placeholder {
  padding: 48px 24px;
  text-align: center;
  color: var(--lb-text-2);
}

.lb-placeholder h1 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--lb-text);
}

.lb-placeholder p {
  margin: 0;
  font-size: 13px;
}

.lb-ok-tip {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #b7eb8f;
  background: #f6ffed;
  border-radius: 4px;
  color: #135200;
  font-size: 13px;
  line-height: 1.5;
}

.lb-jump-tip {
  margin: 0 16px 12px;
  padding: 10px 12px;
  border: 1px solid #ffe58f;
  background: #fffbe6;
  border-radius: 4px;
  color: #874d00;
  font-size: 13px;
  line-height: 1.5;
}

.lb-notes-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid var(--lb-border);
  background: var(--lb-white);
  box-shadow: var(--lb-shadow);
  cursor: pointer;
}

.lb-notes-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(720px, 96vw);
  height: 100%;
  background: var(--lb-white);
  z-index: 45;
  box-shadow: var(--lb-shadow);
  transform: translateX(100%);
  transition: transform 0.2s ease;
  overflow: auto;
  padding: 24px;
}

.lb-notes-panel.is-open {
  transform: translateX(0);
}

.lb-notes-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.lb-notes-panel th,
.lb-notes-panel td {
  border: 1px solid var(--lb-border-light);
  padding: 8px 10px;
  text-align: left;
}

.lb-notes-panel th {
  background: #f6ffed;
}

.lb-ver {
  display: inline-block;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 4px;
  background: #f5f5f5;
  color: var(--lb-text-2);
  margin-left: 8px;
}

.lb-bug {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 4px;
  background: #fff2f0;
  color: #cf1322;
  border: 1px solid #ffccc7;
  font-size: 12px;
  font-weight: 600;
}

.lb-act {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lb-num-btn {
  position: absolute;
  z-index: 3;
  top: -7px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

.lb-plan-box > .lb-num-btn,
.lb-act > .lb-num-btn,
.lb-field label > .lb-num-btn {
  position: absolute;
}

.lb-act,
.lb-field label {
  position: relative;
}

.lb-num-btn.is-on .lb-num {
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.35);
}

/* 行内序号：不贴边定位，用于标题、文字旁的说明点 */
.lb-num-btn--static {
  position: static;
  margin-left: 6px;
  vertical-align: middle;
}

.lb-tt-look {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: #835f4a;
  font-size: 13px;
}
.lb-tt-btn {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #ffe2da;
  border-radius: 4px;
  background: #fff;
  color: #835f4a;
  cursor: pointer;
}
.lb-tt-btn.is-on { background: #835f4a; color: #fff; border-color: #835f4a; }
.lb-tt-note { position: relative; display: inline-flex; width: 22px; height: 22px; }
.lb-tt-note .lb-num-btn { position: static; }
.lb-tt-look[data-font="sm"] + .lb-table-wrap .lb-table { font-size: 12px; }
.lb-tt-look[data-font="lg"] + .lb-table-wrap .lb-table { font-size: 16px; }
.lb-tt-look[data-cell="compact"] + .lb-table-wrap .lb-table td,
.lb-tt-look[data-cell="compact"] + .lb-table-wrap .lb-table th { padding-top: 4px; padding-bottom: 4px; }

.lb-tt-look {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: #835f4a;
  font-size: 13px;
}
.lb-tt-btn {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #ffe2da;
  border-radius: 4px;
  background: #fff;
  color: #835f4a;
  cursor: pointer;
}
.lb-tt-btn.is-on { background: #835f4a; color: #fff; border-color: #835f4a; }
.lb-tt-note { position: relative; display: inline-flex; width: 22px; height: 22px; }
.lb-tt-note .lb-num-btn { position: static; }
.lb-tt-look[data-font="sm"] + .lb-table-wrap .lb-table { font-size: 12px; }
.lb-tt-look[data-font="lg"] + .lb-table-wrap .lb-table { font-size: 16px; }
.lb-tt-look[data-cell="compact"] + .lb-table-wrap .lb-table td,
.lb-tt-look[data-cell="compact"] + .lb-table-wrap .lb-table th { padding-top: 4px; padding-bottom: 4px; }

.lb-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.lb-kind {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.lb-kind--new {
  color: #389e0d;
  background: #f6ffed;
  border: 1px solid #b7eb8f;
}

.lb-kind--iteration {
  color: #d46b08;
  background: #fff7e6;
  border: 1px solid #ffd591;
}

.lb-note-rule {
  margin: 0 0 10px;
  color: var(--lb-text-2);
  font-size: 12px;
  line-height: 1.6;
}

.lb-note-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.lb-note-index .lb-num-btn {
  padding: 4px 8px;
  border: 1px solid var(--lb-border-light);
  border-radius: 6px;
  background: #fff;
}

.lb-dot-btn {
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
  line-height: 0;
}

.lb-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4f;
  vertical-align: middle;
}

.lb-note-block.is-focus {
  outline: 2px solid #ff4d4f;
  background: #fff2f0;
  border-radius: 8px;
  padding: 8px 10px;
}

.lb-logic {
  margin: 8px 0 12px;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}

.lb-logic h4 {
  margin: 0 0 4px;
  font-size: 13px;
}

.lb-logic + .lb-logic {
  margin-top: 0;
}

.lb-side a.is-new::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: #ff4d4f;
  vertical-align: super;
}

.lb-drawer--wide {
  width: min(640px, 96vw);
}

.lb-drawer--paper {
  width: min(800px, 96vw);
}

.lb-drawer--staff {
  width: min(1100px, 96vw);
}

.lb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.lb-form-grid .is-full {
  grid-column: 1 / -1;
}

.lb-radio {
  margin-right: 16px;
  color: var(--lb-text);
  font-size: 14px;
}

.lb-block-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 8px;
  color: var(--lb-text-2);
}

.lb-member-pick {
  margin: 0 0 12px;
  border: 1px solid var(--lb-border-light);
  border-radius: 4px;
  max-height: 220px;
  overflow: auto;
}

.lb-member-pick button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 8px 12px;
  cursor: pointer;
}

.lb-member-pick button:hover {
  background: #e6f7ff;
}

.lb-help {
  display: block;
  color: var(--lb-text-3);
  font-size: 12px;
}

.lb-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: normal;
  min-width: 72px;
}

.lb-stack span {
  display: block;
  line-height: 22px;
}

.lb-table td.lb-cell-wrap {
  white-space: normal;
  max-width: 280px;
  line-height: 1.5;
}

.lb-grade-block {
  border: 1px solid var(--lb-border-light);
  border-radius: var(--lb-radius);
  padding: 12px;
  margin-bottom: 12px;
}

.lb-grade-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
}

.lb-grade-block__ops {
  display: flex;
  gap: 8px;
}

.lb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lb-form-grid .lb-field {
  flex-direction: column;
  align-items: stretch;
}

.lb-form-grid .lb-input,
.lb-form-grid .lb-select {
  min-width: 0;
  width: 100%;
}

.lb-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lb-inline__select {
  width: 148px;
  height: 32px;
  min-width: 148px;
}

.lb-picker {
  position: fixed;
  inset: 0;
  z-index: 52;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
}

.lb-picker.is-open {
  display: grid;
}

.lb-picker__card {
  width: min(1120px, 94vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  background: var(--lb-white);
  border-radius: 2px;
  box-shadow: var(--lb-shadow);
}

.lb-picker__head,
.lb-picker__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--lb-border-light);
}

.lb-picker__foot {
  border-bottom: 0;
  border-top: 1px solid var(--lb-border-light);
}

.lb-picker__x {
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--lb-text-3);
}

.lb-picker__body {
  padding: 16px 24px 8px;
  overflow: auto;
}

.lb-picker__filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  margin-bottom: 12px;
}

.lb-picker__filters .lb-field {
  min-width: 0;
}

.lb-picker__filters .lb-input,
.lb-picker__filters .lb-select {
  width: 100%;
  min-width: 0;
}

.lb-picker__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.lb-picker__grow {
  flex: 1;
}

.lb-picker__table {
  min-width: 960px;
}

.lb-picker__pager {
  padding: 12px 0 4px;
  text-align: right;
  color: var(--lb-text-2);
  font-size: 13px;
}

.lb-picker__actions {
  display: flex;
  gap: 8px;
}

.lb-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
}

.lb-modal.is-open {
  display: grid;
}

.lb-modal__card {
  width: min(440px, 92vw);
  background: var(--lb-white);
  border-radius: var(--lb-radius);
  padding: 24px;
  box-shadow: var(--lb-shadow);
}

.lb-modal__text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
}

.lb-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.lb-path {
  display: flex;
  min-height: 0;
  flex: 1;
}

.lb-path__teams {
  width: 200px;
  flex-shrink: 0;
  border-right: 1px solid var(--lb-border-light);
  padding: 12px;
  overflow: auto;
}

.lb-path__teams h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--lb-text-2);
  font-weight: 500;
}

.lb-path__teams button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: var(--lb-radius-sm);
  cursor: pointer;
  color: var(--lb-text);
}

.lb-path__teams button.is-on {
  background: var(--lb-primary-bg);
  color: var(--lb-primary);
}

.lb-path__main {
  flex: 1;
  min-width: 0;
  padding: 16px;
  overflow: auto;
}

.lb-path__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lb-route {
  border: 1px solid var(--lb-border-light);
  border-radius: var(--lb-radius);
  padding: 16px;
  margin-bottom: 16px;
  background: #fafafa;
}

.lb-route__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.lb-route__head .lb-input {
  flex: 1;
  min-width: 160px;
}

.lb-chain {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  min-height: 64px;
  padding: 8px 0;
}

.lb-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 14px;
  background: var(--lb-white);
  border: 1px solid var(--lb-primary);
  color: var(--lb-primary);
  border-radius: 20px;
  cursor: grab;
  user-select: none;
}

.lb-chip:active {
  cursor: grabbing;
}

.lb-chip button {
  border: 0;
  background: transparent;
  color: var(--lb-text-3);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.lb-chain-arrow {
  color: var(--lb-text-3);
  flex-shrink: 0;
}

.lb-wall {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--lb-border-light);
}

.lb-wall h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
}

.lb-wall__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.lb-wall__grid > p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(0, 0, 0, 0.45);
}

.lb-post-card {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  background: var(--lb-white);
  text-align: left;
  cursor: pointer;
  color: var(--lb-text);
}

.lb-post-card:hover:not(:disabled) {
  border-color: var(--lb-primary);
  color: var(--lb-primary);
}

.lb-post-card:disabled,
.lb-post-card.is-used {
  cursor: not-allowed;
  color: var(--lb-text-disabled);
  background: var(--lb-fill);
  border-color: var(--lb-border-light);
}

.lb-post-card small {
  display: block;
  margin-top: 4px;
  color: var(--lb-text-3);
  font-size: 12px;
}

.lb-btn--danger {
  color: #fff;
  background: var(--lb-error);
  border-color: var(--lb-error);
}

.lb-btn--danger:hover {
  color: #fff;
  background: #ff7875;
  border-color: #ff7875;
}

.lb-field--range .lb-input {
  min-width: 120px;
}

.lb-range-gap {
  color: var(--lb-text-3);
}

.lb-left-cap {
  font-size: 12px;
  color: var(--lb-text-3);
  margin: 0 0 8px;
}

.lb-job-tree button.is-sub {
  padding-left: 22px;
  font-size: 13px;
  color: var(--lb-text-2);
}

.lb-left-add {
  width: 100%;
  margin: 0 0 8px;
}

.lb-left-meta {
  display: block;
  font-size: 12px;
  color: var(--lb-text-3);
  font-weight: 400;
}

.lb-ops {
  white-space: nowrap;
}

.lb-empty {
  text-align: center;
  color: var(--lb-text-3);
  padding: 32px 12px;
}

.lb-drop {
  position: relative;
  display: inline-block;
}

.lb-drop__menu {
  display: none;
  position: absolute;
  top: 36px;
  left: 0;
  min-width: 160px;
  background: var(--lb-white);
  border: 1px solid var(--lb-border-light);
  border-radius: var(--lb-radius-sm);
  box-shadow: var(--lb-shadow);
  z-index: 12;
  padding: 4px 0;
}

.lb-drop.is-open .lb-drop__menu {
  display: block;
}

.lb-drop__menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 6px 12px;
  cursor: pointer;
}

.lb-drop__menu button:hover {
  background: var(--lb-primary-bg);
  color: var(--lb-primary);
}

.lb-sec {
  margin: 16px 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.lb-textarea {
  width: 100%;
  min-height: 72px;
  padding: 6px 11px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  font-family: inherit;
}

.lb-hint {
  font-size: 12px;
  color: var(--lb-text-3);
}

.lb-desc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  font-size: 13px;
}

.lb-desc b {
  display: block;
  color: var(--lb-text-3);
  font-weight: 400;
  margin-bottom: 2px;
}

.lb-desc--stack {
  grid-template-columns: 1fr;
  margin-bottom: 8px;
}

.lb-title-line {
  display: flex;
  align-items: center;
  margin: 18px 0 12px;
  color: var(--lb-text);
  font-size: 15px;
  font-weight: 500;
}

.lb-title-line::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 10px;
  background: #e9e9e9;
}

.lb-paper-split {
  border-top: 1px dashed #e8e8e8;
  margin: 4px 0 12px;
}

.lb-tag-calc {
  display: inline-block;
  margin-top: 4px;
  padding: 0 8px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  background: #fafafa;
  font-size: 12px;
  line-height: 22px;
}

.lb-score-red {
  color: #f5222d;
}

.lb-paper .lb-desc > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lb-paper .lb-desc b {
  display: block;
  flex: 0 0 108px;
  margin: 0;
  text-align: right;
  color: rgba(0, 0, 0, 0.65);
}

.lb-paper-img {
  display: inline-flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid #eee;
  background: #f5f5f5;
  color: #8c8c8c;
  font-size: 12px;
  text-align: center;
}

.lb-pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
}

.lb-drawer-extra {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.lb-drawer-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.lb-grade {
  border-bottom: 1px dashed var(--lb-border-light);
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.lb-grade__bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.lb-grade__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.lb-field--wide {
  grid-column: 1 / -1;
}

.lb-tax {
  padding: 24px 28px;
}

.lb-screen {
  min-height: 100%;
  background: #03515a;
  color: #e6fffb;
  padding: 16px;
}

.lb-screen__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.lb-screen__bar strong {
  margin-right: 8px;
}

.lb-screen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lb-screen__grid section {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
}

.lb-screen__grid section.is-wide {
  grid-column: 1 / -1;
  min-height: 140px;
}

.lb-screen h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.lb-screen p {
  margin: 0;
  opacity: 0.85;
  font-size: 13px;
}

.lb-export {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
}

.lb-export.is-open {
  display: grid;
}

.lb-export__card {
  width: min(980px, 92vw);
  max-height: min(78vh, 760px);
  display: flex;
  flex-direction: column;
  background: var(--lb-white);
  border-radius: var(--lb-radius);
  box-shadow: var(--lb-shadow);
  overflow: hidden;
}

.lb-export__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--lb-border-light);
  font-size: 16px;
}

.lb-export__x {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--lb-text-2);
}

.lb-export__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 20px 0;
  padding: 10px 12px;
  background: var(--lb-page, #f3f6fa);
  border-radius: var(--lb-radius-sm);
  font-size: 13px;
}

.lb-export__scope span {
  margin-right: 8px;
  color: var(--lb-text-2);
}

.lb-export__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding: 12px 20px;
}

.lb-export__filters .lb-input {
  width: 220px;
}

.lb-export .lb-table-wrap {
  margin: 0 20px;
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--lb-border-light);
}

.lb-export__chk {
  width: 42px;
}

.lb-export__empty {
  text-align: center;
  color: var(--lb-text-2);
  padding: 28px 0;
}

.lb-export__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--lb-border-light);
}

.lb-export__count {
  color: var(--lb-text-2);
  font-size: 13px;
}

.lb-export__btns {
  display: flex;
  gap: 8px;
}

.tp-page {
  background: var(--lb-white);
  min-height: 100%;
}

.tp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid #e8e8e8;
}

.tp-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.tp-status {
  display: inline-block;
  padding: 0 8px;
  border-radius: 4px;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
}

.tp-status.is-on {
  background: #87d068;
}

.tp-type {
  display: inline-block;
  margin-top: 10px;
  margin-left: 4px;
  padding: 0 8px;
  border-radius: 4px;
  background: #dee1e6;
  color: rgba(0, 0, 0, 0.65);
  font-size: 12px;
  line-height: 22px;
}

.tp-head-actions {
  display: flex;
  gap: 8px;
}

.tp-body {
  display: flex;
  align-items: stretch;
  min-height: 640px;
}

.tp-side {
  width: 168px;
  flex-shrink: 0;
  padding: 8px 0;
  border-right: 1px solid var(--lb-border-light);
}

.tp-menu {
  display: block;
  width: 100%;
  padding: 10px 24px;
  border: 0;
  background: transparent;
  color: var(--lb-text);
  text-align: left;
  cursor: pointer;
}

.tp-menu.is-on {
  background: #e6f7ff;
  color: var(--lb-primary);
}

.tp-main {
  flex: 1;
  min-width: 0;
  padding: 4px 8px 24px;
}

.tp-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
}

.tp-filter .lb-input {
  min-width: 140px;
}

.tp-block {
  padding: 0 8px;
}

.tp-block-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 8px;
}

.tp-block-h b {
  color: var(--lb-primary);
  font-weight: 500;
}

.tp-edit {
  border: 0;
  background: transparent;
  color: var(--lb-primary);
  cursor: pointer;
}

.tp-desc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 48px;
  padding-bottom: 8px;
}

.tp-desc div {
  display: flex;
  gap: 4px;
  font-size: 14px;
  line-height: 22px;
}

.tp-desc span {
  color: var(--lb-text);
  white-space: nowrap;
}

.tp-desc em {
  color: var(--lb-text-2);
  font-style: normal;
}

.tp-note {
  margin: 0 0 10px;
  color: var(--lb-text-2);
  font-size: 12px;
  line-height: 1.6;
}

.tp-empty {
  padding: 28px 0;
  color: var(--lb-text-3);
  text-align: center;
}

.lb-ledger .lb-ledger-money {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lb-ledger-total td {
  font-weight: 600;
  background: #fafafa;
}

.lb-ledger-skip td {
  color: var(--lb-text-3);
}

.lb-poster {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lb-poster__panel {
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.lb-poster__head,
.lb-poster__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lb-poster__foot {
  margin-top: 12px;
  color: var(--lb-text-3);
  font-size: 12px;
}

.lb-poster canvas {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 4px;
}
.lb-note-jump { color: #1677ff; text-decoration: none; border-bottom: 1px dashed #91caff; }
.lb-note-jump:hover { color: #0958d9; border-bottom-style: solid; }
.lb-menu-badge { margin-left: 6px; padding: 0 5px; border-radius: 3px; background: #ff4d4f; color: #fff; font-size: 10px; font-style: normal; font-weight: 600; line-height: 15px; vertical-align: 1px; letter-spacing: 0; }
.lb-side a.is-active .lb-menu-badge { background: #fff; color: #d4380d; }

/* 原型评审第二轮第2条：具体课表页（班级课表 / 周营课表）也要能调字号和格子。
   与列表共用同一套 lb-tt-look，选一次两边都生效。 */
.lb-tt-look--board {
  margin-top: 4px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 6px;
}
.lb-tt-look--board + .lb-table-wrap .lb-table td { height: 44px; vertical-align: middle; }
.lb-tt-look--board[data-font="sm"] + .lb-table-wrap .lb-table { font-size: 12px; }
.lb-tt-look--board[data-font="lg"] + .lb-table-wrap .lb-table { font-size: 16px; }
.lb-tt-look--board[data-font="lg"] + .lb-table-wrap .lb-table td { height: 52px; }
.lb-tt-look--board[data-cell="compact"] + .lb-table-wrap .lb-table td {
  height: 34px;
  padding-top: 2px;
  padding-bottom: 2px;
  line-height: 1.4;
}

/* 原型评审第二轮第6条：学员档案 —— 选会员建档、红黄白必填理由与历史 */
.lb-pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow: auto; }
.lb-pick-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
}
.lb-pick-row:hover { border-color: #b7d4c4; background: #f4faf6; }
.lb-pick-row.is-on { border-color: #09c382; background: #eefaf4; }
.lb-pick-row b { color: rgba(0, 0, 0, 0.85); font-size: 14px; }
.lb-pick-row span { color: rgba(0, 0, 0, 0.45); font-size: 12px; }

/* 建档抽屉里的「已选会员」行 */
.sa-picked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 6px 8px 6px 12px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  background: #fafafa;
}
.sa-picked.is-on { border-color: #91caff; background: var(--lb-primary-bg); }
.sa-picked__txt { font-size: 13px; color: var(--lb-text-3); }
.sa-picked.is-on .sa-picked__txt { color: var(--lb-text); }

/* 选择6q会员弹窗：查询区 + 编号 / 姓名 / 手机号三列表格 + 分页 */
.sa-modal {
  position: fixed;
  inset: 0;
  z-index: 62;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
}
.sa-modal.is-open { display: grid; }

.sa-modal__card {
  width: min(1040px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--lb-white);
  border-radius: 2px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
}

.sa-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-bottom: 1px solid var(--lb-border-light);
}
.sa-modal__head h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--lb-text); }
.sa-modal__x {
  border: 0;
  background: none;
  font-size: 18px;
  line-height: 1;
  color: var(--lb-text-3);
  cursor: pointer;
}
.sa-modal__x:hover { color: var(--lb-text); }

.sa-q {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--lb-border-light);
}
.sa-q__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--lb-text-2);
}
.sa-q__item .lb-input { width: 168px; height: var(--lb-control-h); }
.sa-q__btns { display: inline-flex; gap: 8px; margin-left: auto; }

.sa-modal__body { padding: 12px 20px 0; overflow: auto; flex: 1; }

.sa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}
.sa-table th,
.sa-table td {
  padding: 7px 10px;
  border: 1px solid var(--lb-border-light);
  text-align: center;
  color: var(--lb-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sa-table th {
  background: #f2f6fd;
  font-weight: 500;
  color: var(--lb-text);
}
.sa-table__empty { padding: 40px 0; color: var(--lb-text-3); }
.sa-row { cursor: pointer; }
.sa-row:hover td { background: #fafcff; }
.sa-row.is-on td { background: var(--lb-primary-bg); color: var(--lb-text); }

.sa-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--lb-text-2);
}
.sa-pager__pages { display: inline-flex; align-items: center; gap: 4px; }
.sa-page {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  background: var(--lb-white);
  color: var(--lb-text-2);
  font-size: 13px;
  cursor: pointer;
}
.sa-page:hover:not(:disabled) { border-color: var(--lb-primary); color: var(--lb-primary); }
.sa-page.is-on { border-color: var(--lb-primary); color: var(--lb-primary); }
.sa-page:disabled { color: var(--lb-text-disabled); cursor: not-allowed; }
.sa-page__dots { color: var(--lb-text-3); }
.sa-size {
  height: 28px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  background: var(--lb-white);
  color: var(--lb-text-2);
  font-size: 13px;
  padding: 0 4px;
}
.sa-jump { display: inline-flex; align-items: center; gap: 4px; }
.sa-jump__input {
  width: 44px;
  height: 28px;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  text-align: center;
  font-size: 13px;
}

.sa-modal__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--lb-border-light);
}
.sa-modal__foot .lb-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.lb-req { color: #ff4d4f; font-style: normal; margin-right: 2px; }
.lb-lamp-field { display: inline-flex; align-items: center; gap: 6px; }
.lb-lamp-log { font-size: 12px; color: #1677ff; }

/* 原型评审第二轮第8条：导出合并账单的计划 / 周营筛选 */
.lb-radio-row { display: flex; align-items: center; gap: 20px; padding-top: 6px; }
.lb-radio-label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; }

/* 原型评审第二轮第25条：晋升路线每一级是一个岗位集合 */
.lb-chain--stages { align-items: stretch; gap: 6px; flex-wrap: wrap; }
.lb-stage {
  min-width: 190px;
  padding: 10px 12px;
  border: 1px solid #e8eee9;
  border-radius: 8px;
  background: #fbfdfb;
}
.lb-stage__hd { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.lb-stage__no {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #09c382;
  color: #fff;
  font-size: 11px;
}
.lb-stage__hd b { color: rgba(0, 0, 0, 0.85); font-size: 13px; }
.lb-stage__cnt { margin-left: auto; color: #8a908a; font-size: 11px; font-style: normal; }
.lb-stage__body { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.lb-chip-or { color: #8a908a; font-size: 11px; }
.lb-chain-arrow { align-self: center; }

.lb-stage__tools { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; }
.lb-stage__add, .lb-stage__del {
  height: 22px;
  padding: 0 8px;
  border: 1px solid #d9e6dd;
  border-radius: 4px;
  background: #fff;
  color: #3a7a56;
  font-size: 11px;
  cursor: pointer;
}
.lb-stage__add.is-on { background: #09c382; border-color: #09c382; color: #fff; }
.lb-stage__del { color: #cf1322; border-color: #ffd6d6; }
.lb-stage.is-picking { border-color: #09c382; box-shadow: 0 0 0 2px rgba(9, 195, 130, 0.15); }
.lb-stage__picking { color: #09c382; font-size: 11px; font-style: normal; }

/* 原型评审第二轮第26条：字数换分表 */
.lb-wordscore { margin: 6px 0 10px; }
.lb-wordscore th, .lb-wordscore td { padding: 6px 10px; font-size: 12px; }

/* 原型评审第二轮第22、23条：光荣榜集合榜单 */
.gl-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.gl-left h3 { margin: 0 0 6px; font-size: 14px; color: rgba(0, 0, 0, 0.85); }
.gl-pick { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow: auto; }
.gl-pick__item {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
}
.gl-pick__item b { display: block; color: rgba(0, 0, 0, 0.85); font-size: 13px; }
.gl-pick__item em { color: #a8836a; font-style: normal; }
.gl-pick__item span { display: block; margin-top: 2px; color: rgba(0, 0, 0, 0.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-pick__item.is-on { border-color: #ff9a3c; background: #fff7e6; }
.gl-pick__item.is-full { opacity: 0.45; cursor: not-allowed; }
.gl-cols { display: flex; gap: 8px; margin: 6px 0; }
.gl-col {
  height: 30px;
  padding: 0 14px;
  border: 1px solid #e8e8e8;
  border-radius: 15px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}
.gl-col.is-on { border-color: #ff8a3d; background: #fff1e6; color: #e2661c; font-weight: 600; }
.gl-ops { display: flex; gap: 8px; margin-top: 12px; }
.gl-right { overflow: auto; }
.gl-right canvas { width: 100%; max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 6px 20px rgba(120, 70, 20, 0.16); }

/* 原型评审第二轮第24条：台账展开一办三团 */
.lb-ledger-caret {
  margin-right: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #835f4a;
  font-size: 12px;
  cursor: pointer;
}
.lb-ledger-base.is-open td { background: #faf7f4; }
.lb-ledger-base { cursor: pointer; }
.lb-ledger-expand > td { padding: 12px 16px 16px !important; background: #fdfbf9; }
.lb-teamgrid { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-teamcard {
  min-width: 168px;
  padding: 10px 12px;
  border: 1px solid #eee2d8;
  border-radius: 8px;
  background: #fff;
}
.lb-teamcard__hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.lb-teamcard__hd b { color: #835f4a; font-size: 13px; }
.lb-teamcard__hd em { color: #8a908a; font-size: 11px; font-style: normal; }
.lb-teamcard__kv { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 20px; color: rgba(0, 0, 0, 0.55); }
.lb-teamcard__kv b { color: rgba(0, 0, 0, 0.85); font-weight: 500; }
.lb-teamcard__link { display: inline-block; margin-top: 6px; font-size: 12px; }
.lb-teamsum { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #eee2d8; font-size: 12px; color: rgba(0, 0, 0, 0.55); }
.lb-teamsum b { display: block; margin-bottom: 6px; color: #835f4a; }
.lb-teamsum__item { display: inline-block; margin: 0 14px 6px 0; }
.lb-teamsum__item i { color: #8a908a; font-style: normal; margin-right: 4px; }
.lb-ledger-refresh { margin-left: auto; }
.lb-ledger-refresh em { color: #8a908a; font-size: 12px; font-style: normal; margin-right: 6px; }
