﻿/* 移动端优先 · 兼容手机浏览器与微信内置浏览器 */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  background: #f4f6fa; color: #1f2329;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  overscroll-behavior-y: contain; /* 禁用浏览器原生下拉刷新，避免与自定义下拉刷新冲突 */
}
input, select, textarea, button { font-family: inherit; font-size: 16px; }

.page { max-width: 640px; margin: 0 auto; padding: 12px 14px 90px; }

/* 顶栏 */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 4px 14px;
}
.topbar-name { font-size: 20px; font-weight: 700; }
.topbar-role { font-size: 12px; color: #8a919c; margin-top: 2px; }
.topbar-acts { display: flex; gap: 8px; }

/* 按钮 */
.btn {
  border: none; border-radius: 10px; padding: 12px 18px;
  font-size: 16px; cursor: pointer;
}
.btn-block { display: block; width: 100%; margin-top: 12px; }
.btn-primary { background: #2f6bff; color: #fff; }
.btn-primary:disabled { background: #a9c1ff; }
.btn-ghost { background: #eceff4; color: #333; }
.mini-btn {
  border: 1px solid #d5dbe5; background: #fff; color: #4a5568;
  border-radius: 8px; padding: 5px 12px; font-size: 13px; cursor: pointer;
}
.mini-btn.primary { background: #2f6bff; border-color: #2f6bff; color: #fff; }
.mini-btn.danger { color: #e64545; border-color: #f3c1c1; }

/* 输入 */
.ipt {
  width: 100%; border: 1px solid #d5dbe5; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 10px; background: #fff; color: #1f2329;
  outline: none;
}
.ipt:focus { border-color: #2f6bff; }
textarea.ipt { resize: none; }
.field-err { color: #e64545; font-size: 12px; margin: -6px 0 8px 4px; min-height: 14px; }

/* 登录页：浅灰蓝背景 + 居中白色卡片；账号待开通页仍沿用 login-wrap */
.login-wrap { max-width: 420px; margin: 0 auto; padding: 60px 24px; }
.login-logo { font-size: 30px; font-weight: 800; text-align: center; }
.login-sub { text-align: center; color: #8a919c; font-size: 13px; margin: 8px 0 28px; }
.login-page {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(47,107,255,.07), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(47,107,255,.055), transparent 32%),
    linear-gradient(135deg, #f7f9fc 0%, #eef3f9 52%, #f9fbfd 100%);
}
.login-page::before, .login-page::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 430px; height: 344px; opacity: .17;
  background-repeat: no-repeat; background-size: contain;
}
.login-page::before {
  left: -130px; top: -85px; transform: rotate(-6deg);
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAABECAYAAADwf3lkAAAQAElEQVR4AexcCZhcVZU+51Z3J51AFjYBkXRXBVBEcUFZFEy6GiQIEccJ4BB2CAiEJciedL0qYgBRlggMiMOAElQQiIQRCF0dFBH5hmUUhkFJVwdZRDCSBDtNd6rumf9/Xa9TXb1VJ+mEb76p75x3t3OXd+6555x77+t28v+/Tc6BEWVqfUNwUH0yc1l9Y/q0ukOCj5aOfvK0haNK0/+X4iPG1LqpmX1V9TwVO1tNLoh5OSt+cDoZMa9mq7/b5GkLto/S5WG8MbVr/OArdktMSU0uL/ugp0eMqU7l03j5/YF5MdnGTA8XL5lEMnPMnlOCrV66N+ha/vBl76C8F+zeMP/D8cbgOjG3RAv+Nh9z8ycnM2ynF90HOTFiTBW1T6mAjSLjRWUsmLAz8AATW9RZpTfXJ1OfRLoP5DWfEdN/QcHOplKHNr5YMH+YDPDb+YhgzABFWyx75Jgq8hkTAQhfmlhTfEtnJseouB/FG9NB3+WtVBE7CCYDlbdC6FTDyUG0L7y5JFjbN3fL5owIUyc1XvExvNbuYCkZWYV4KXgkqoF7o/xUi7mr6qempiMtkxtSn0E4CUjwkNJRQBNVY8ZQOD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49XH3SFdi0e0vIU3JwegpZjQDGRApAOOqX2ERfzJ8ARvzv6ipo01KkMB0LqV97AksED0WxIPg0v2861pOaIGa/Lh+USFft8wVv1/xTjwwpCppbWiCwrXSFa8qrR72/Ncros4CT1LaX0bUgYdxnUR69A134bL/E2LTdp+ZfRDLcURu4S+89lg4vNdB4E4HmmK0UVW9JW/Oqx0joRXR+mRgV0azrfG/deV/v4dyImacxofHjqRAmFYdLfmEmGupan/Fj2qyjRpdIatbclQ5wR/NDUzlQVGtnKhqKK96uMtJxqQKaSkNJJXLl6LI2RQBpfhBE600SfgNSirv9NW0tqCWmls0BvQUgfpj8gj+jTIersQt6fYyJ0ubjKBhohbYR5LxuiMsI2XbwhfS3wYjjsxyUa0tP4xR2XfbTzIBV1K0MipHFFrGbCkar6bV8wnH8yV2R5y7zW7tgH65lrvmR1NCKMfRV3iRCIa5DX74cZYDp9cYWbOazjPrTXA/8LAAD//30T7VoAAAAGSURBVAMAdVdZHYsPiTEAAAAASUVORK5CYII=);
}
.login-page::after {
  right: -130px; bottom: -85px; transform: rotate(6deg);
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABECAYAAAAfvRJaAAAQAElEQVR4AexcC5BcZZU+5/ZMJpmRJETYXVBxpnsUN1vqUrqKlFhJdxNMSbaSqLDqQgkuhbpZCDEUhE267+2YAGaFQPbBPiRAgllgRRZxs4buSQrZZSl5rA8ij5meBCSgETEmTDKT7nv8vjt9Jz09Pe8eyEzRdc49/3/+1/2/e/73P+PIW7+aIvAWoDWFU+QtQN8CtMYI1Di7CbXQWNw9K5Z0N0HeHY17V0eT18+q8fsfd9nVFNC5n3WnhTUEgBebo3eY6TJTPV9UrhfrXvfe+NffEcZpXXhLQ+ieKrKmgO6+1+1pXuC+Lxp37wKAt4pJawVQSwtapMWe9YcLNjS1b7+8uyJ80ntrCmgs4c3XonOTqH4eyFTL+xTol8BitzUVu9Y0J90z4Z9SVK3So65g87z07Ggis8JEHlSxZCmDupK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eJ6Y0AlDtGVI2HCTYMWLjwOBAuo8eT4XBpCSgL46DD+SY3Ffg11Xz5ZkfOvZTnQ8NlUovw8pVVvi210cFcGPnyVl5PCVzOLKAaNfkwjpNhwsFfPVdJXVMVADWO1BxhmTE79OcxUV+PuSU2jal6c/hwk3+PaDBQPQMwuMJhCxrLy6COcsAX/9GxJB5tGscv2iqMsCkkxKaF/gB92JY3G0y8S3AjL59N3SYm3N36kYgcBI+W2PK6YeG7I1Y3VgsfVZnOnl3eHo6wOGe/xpnmfyHow8qyCPu2MtUb6sy3pTeL+itQaLDxAjka4rSrASuux9qDk4PRJB19XN4oZHPoSxluvfUp4Cjv2+B9U4grKo0YdqCCtf/zQ7wEjLEvlLOWwGOiuwNHjR7chAkudiTSc2OJ9Cej8czyaML95vQu565+gNaovJplU35awGvj+VzqHFFZhQJ4d6paE0Z3i9Bequ8V8n0r+PeW3KMSPEPDhndzLOHN5x2CaMK7AkvgTX7PazvEun/qi/O0ifNfEiyfFa3IFh/XgHKaU9nl5LPp7+Rz6aVAbpGY8pia1hf0lZVoIc4+LI++gW4t3BmrjNLn59k9/1oaq68LownXiya925qKXds04nwbkbaq2d2QG82UO2D890rcIoQKn1gCFv6Oa0D5guxyeGrAZkaLYT9FPZarO/NtqU874vOQ8BJU6XoRfdBEOJpjAg+36drONvdhpuMf5bbMz3wwmkgnW5LepdGEtwrWtiEW0LzJhgAAAClJREFU9/4lGs98J1Io3KNi2zEoY86tXMJyQ30BPsqHkCcvY0DIsL/fAwAA///qppeDAAAABklEQVQDAMtbb1GJztUyAAAAAElFTkSuQmCC);
}
.login-network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.login-card {
  position: relative; z-index: 1; width: 100%; max-width: 430px;
  padding: 34px 42px 26px; background: rgba(255,255,255,.97);
  border: 1px solid rgba(218,226,237,.8); border-radius: 12px;
  box-shadow: 0 18px 55px rgba(39,70,120,.10), 0 2px 8px rgba(39,70,120,.04);
}
.login-brand { text-align: center; margin-bottom: 26px; }
.login-brand-logo { display: block; width: 82px; height: 82px; object-fit: contain; margin: 0 auto 12px; }
.login-card .login-logo { font-size: 22px; line-height: 1.4; color: #20242c; }
.login-card .login-sub { margin: 7px 0 0; color: #929aa8; letter-spacing: 1px; }
.login-card .login-tabs { display: flex; gap: 4px; margin-bottom: 20px; padding: 4px; background: #f3f5f8; border-radius: 8px; }
.login-card .login-tab {
  flex: 1; border: none; background: transparent; color: #737d8d;
  border-radius: 6px; padding: 9px 4px; font-size: 14px; cursor: pointer;
}
.login-card .login-tab.active { background: #fff; color: #1677ff; box-shadow: 0 2px 7px rgba(35,65,110,.09); }
.login-card .ipt {
  height: 46px; padding: 11px 14px; margin-bottom: 12px;
  background: #f5f6f8; border-color: transparent; border-radius: 5px;
}
.login-card .ipt:focus { background: #fff; border-color: #1677ff; box-shadow: 0 0 0 3px rgba(22,119,255,.09); }
.login-card .field-err { margin: -7px 0 8px 2px; }
.login-card .btn-block { height: 46px; margin-top: 8px; padding: 10px 18px; border-radius: 5px; font-weight: 600; letter-spacing: 4px; }
.login-card #btn-otp-login { letter-spacing: 0; }
.login-card .otp-row { display: flex; gap: 8px; align-items: flex-start; }
.login-card .otp-row .ipt { flex: 1; min-width: 0; }
.login-card .otp-row .btn { flex-shrink: 0; height: 46px; padding: 0 13px; background: #edf4ff; color: #1677ff; font-size: 14px; }
.login-tip { text-align: center; color: #a0a6b0; font-size: 12px; margin-top: 22px; }
.login-card .login-tip { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eef1f5; }
@media (max-width: 520px) {
  .login-page { padding: 24px 16px; }
  .login-card { max-width: 400px; padding: 28px 24px 22px; }
  .login-brand-logo { width: 72px; height: 72px; }
}

/* 统计卡片 */
.stat-cards { display: flex; gap: 10px; margin-bottom: 16px; }
.stat-card {
  flex: 1; background: #fff; border-radius: 12px; padding: 14px 8px;
  text-align: center; box-shadow: 0 1px 4px rgba(30, 50, 90, .05);
}
.stat-num { font-size: 17px; font-weight: 700; color: #2f6bff; word-break: break-all; }
.stat-label { font-size: 12px; color: #8a919c; margin-top: 4px; }

.section-title { font-size: 15px; font-weight: 700; margin: 18px 2px 10px; }

/* 订单卡片 */
.order-list { display: flex; flex-direction: column; gap: 10px; }
.order-card {
  background: #fff; border-radius: 12px; padding: 14px;
  box-shadow: 0 1px 4px rgba(30, 50, 90, .05);
}
.order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.order-student { font-size: 16px; font-weight: 700; }
.order-row { font-size: 14px; color: #4a5568; margin-top: 4px; line-height: 1.5; }
.order-time { font-size: 12px; color: #a0a6b0; margin-top: 8px; }
.order-acts { display: flex; gap: 8px; margin-top: 10px; justify-content: flex-end; }

.badge { font-size: 12px; border-radius: 20px; padding: 3px 10px; }
.st-pending { background: #fff3e0; color: #e08a00; }
.st-allocated { background: #e8f0ff; color: #2f6bff; }
.st-received { background: #e6f7ec; color: #1a9e4b; }
.st-rejected { background: #fdecea; color: #d93026; }

/* 悬浮录单按钮 */
.fab {
  position: fixed; right: 20px; bottom: calc(28px + env(safe-area-inset-bottom));
  background: #2f6bff; color: #fff; border: none; border-radius: 30px;
  padding: 14px 24px; font-size: 16px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(47, 107, 255, .35); cursor: pointer; z-index: 50;
}

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(20, 26, 38, .45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 100;
}
.modal-box {
  background: #fff; border-radius: 14px; padding: 20px;
  width: 100%; max-width: 420px; max-height: 85vh; overflow-y: auto;
}
.modal-lg { max-width: 480px; }
.modal-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.modal-text { font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.modal-btns { display: flex; gap: 10px; margin-top: 16px; }
.modal-btns .btn { flex: 1; }
.kv {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; padding: 7px 0; border-bottom: 1px solid #f0f2f6;
}
.kv span { color: #8a919c; flex-shrink: 0; }
.kv b { font-weight: 600; text-align: right; word-break: break-all; }
.money { color: #e08a00; }

/* 分配页 */
.alloc-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.alloc-row .alloc-sales { flex: 1.2; margin-bottom: 0; }
.alloc-row .alloc-amt { flex: 1; margin-bottom: 0; }
.alloc-total { font-size: 14px; margin-top: 12px; text-align: center; }
.alloc-total .ok { color: #1a9e4b; }
.alloc-total .warn { color: #e64545; }

/* Tab 与筛选 */
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab {
  flex: 1; border: none; background: #eceff4; color: #666;
  border-radius: 10px; padding: 9px 0; font-size: 14px; cursor: pointer;
  position: relative;
}
.tab-badge {
  position: absolute; top: 2px; right: 4px; min-width: 17px; height: 17px;
  padding: 0 5px; border-radius: 9px; background: #e53935; color: #fff;
  font-size: 10px; line-height: 17px; text-align: center; font-weight: 700;
  pointer-events: none; box-shadow: 0 0 0 2px #fff; z-index: 2;
}
.tab.active { background: #2f6bff; color: #fff; }
.filter-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.chip {
  border: 1px solid #d5dbe5; background: #fff; color: #4a5568;
  border-radius: 20px; padding: 6px 14px; font-size: 13px; cursor: pointer;
}
.chip.active { background: #2f6bff; border-color: #2f6bff; color: #fff; }
.perf-view-tabs { display: inline-flex; gap: 8px; margin-left: auto; }
.perf-view-tab { border-radius: 8px; padding: 7px 18px; font-weight: 650; }
.perf-schema-warning { color: #9a4d00; background: #fff7e6; border: 1px solid #f0d49a; }
.refund-total-row { background: #f5f6f8; }
.refund-detail-table td { vertical-align: top; }
.refund-claw-list { min-width: 330px; max-width: 460px; white-space: normal; line-height: 1.55; }
.refund-claw-item + .refund-claw-item { border-top: 1px dashed #e3e8f0; margin-top: 7px; padding-top: 7px; }
.refund-note { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.refund-method-pending { color: #b45309; font-weight: 650; }

/* 表格 */
.panel { background: #fff; border-radius: 12px; padding: 14px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid #f0f2f6; text-align: left; }
.table th { background: #f7f9fc; color: #4a5568; font-weight: 600; }

.loading, .empty { text-align: center; color: #a0a6b0; font-size: 14px; padding: 30px 0; }

/* Toast */
#toast {
  position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(20px);
  background: rgba(20, 26, 38, .88); color: #fff; font-size: 14px;
  border-radius: 10px; padding: 10px 20px; opacity: 0; pointer-events: none;
  transition: all .25s; z-index: 300; max-width: 80vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.error { background: rgba(200, 50, 50, .92); }

/* 双列行 / 科目选择 / 课时单价 */
.row2 { display: flex; gap: 8px; }
.row2 .ipt { flex: 1; }
.subj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.subj-item { background: #f7f9fc; border-radius: 10px; padding: 8px 10px; }
.subj-label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.subj-label i { font-style: normal; color: #8a919c; font-size: 12px; margin-left: auto; }
.subj-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: #2f6bff; }
.subj-h { margin: 6px 0 0; padding: 8px 10px; font-size: 14px; }
.unit-price-box {
  background: #eef4ff; border-radius: 10px; padding: 10px 14px;
  font-size: 14px; margin-bottom: 12px; line-height: 1.6;
}
.unit-price-box b { color: #2f6bff; font-size: 17px; }
.hint { font-size: 12px; color: #a0a6b0; font-weight: 400; }

/* 录单课程行：科目 | 班型 | 单科总价 | 课时 | 删 */
.course-row {
  display: grid;
  grid-template-columns: 1.15fr 0.88fr 0.92fr 0.62fr auto;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}
.course-row .ipt { padding: 8px 6px; font-size: 13px; margin-bottom: 0; }
.course-row select.ipt { padding-left: 4px; }
.course-row .cr-price::placeholder { font-size: 12px; }
.course-row .mini-btn { padding: 8px 10px; }
.course-row .cr-class-year-wrap {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 8px;
  color: #6b7280; font-size: 11px; line-height: 1.4;
}
.course-row .cr-class-year-wrap .cr-class-year { width: 105px; flex: 0 0 105px; padding: 5px 7px; }

/* 可滚动列表 */
.scroll-box {
  max-height: 62vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

/* 业绩表折叠明细（真实表格行，与表头列对齐） */
.perf-table th, .perf-table td { font-size: 13px; padding: 8px 6px; }
tr.perf-detail td { background: #f8f9fc; }
tr.perf-detail.pd-first td { border-top: 1px dashed #e3e6ee; }
tr.perf-detail.pd-sub td { color: #5a6270; font-size: 12px; }
tr.perf-detail.pd-sub td:nth-child(5) { padding-left: 22px; }
tr.perf-detail.pd-gain td { color: #2f6bff; }
.pd-remain { color: #8a919c; font-size: 12px; text-align: right; }
.pd-gain-amt { font-weight: 600; text-align: right; }

/* 大屏（iPad 横屏 / 桌面）：仅 #f-body.wide（报名信息表/业绩表）放宽内容区、表格完整显示 */
@media (min-width: 900px) {
  #f-body.wide .table-wrap { overflow-x: visible; }
  #f-body.wide .table { white-space: normal; word-break: break-word; }
  #f-body.wide .table th, #f-body.wide .table td { padding: 9px 10px; vertical-align: top; }
  #f-body.wide .scroll-box { max-height: none; overflow-y: visible; }
}

/* 报名表列宽优化：学员/家长姓名留 4 字、年级 3 字不折行；科目/备注超长省略号截断 */
.table.report th, .table.report td { padding: 9px 8px; }
.table.report th:nth-child(1), .table.report td:nth-child(1),
.table.report th:nth-child(10), .table.report td:nth-child(10) { white-space: nowrap; min-width: 4.5em; }
.table.report th:nth-child(2), .table.report td:nth-child(2) { white-space: nowrap; min-width: 3.2em; }
.table.report th:nth-child(7), .table.report td:nth-child(7),
.table.report th:nth-child(14), .table.report td:nth-child(14) {
  font-size: 12px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 宽屏表格：表头与报名表数据不折行（修复表头一字一行、金额断行；科目/备注列保持省略号截断） */
#f-body.wide .table th { white-space: nowrap; }
#f-body.wide .table.report td { white-space: nowrap; }
#f-body.wide .table.report td:nth-child(14) { white-space: normal; overflow-wrap: anywhere; }

/* 后台固定表头：吸顶、大小恒定，切换 Tab 只滚动内容区 */
.f-page { max-width: none; padding: 0 0 90px; }
.f-head {
  position: sticky; top: 0; z-index: 60;
  background: #f4f6fa;
  border-bottom: 1px solid #e3e8f0;
  box-shadow: 0 2px 8px rgba(31, 41, 55, .07);
}
.f-head-inner { max-width: 1500px; margin: 0 auto; padding: 10px 14px 12px; }
#f-body { max-width: 640px; margin: 0 auto; padding: 12px 14px 0; }
#f-body.wide { max-width: 1500px; padding: 16px 28px 0; }
@media (min-width: 900px) {
  .f-head-inner { padding: 10px 28px 12px; }
}

/* 后台 Tab 栏：按内容定宽、不折行、超出可横滑；切换 Tab 时表头大小保持不变 */
.tabs.tabs-fx { flex-wrap: nowrap; overflow-x: auto; }
.tabs.tabs-fx .tab { flex: 0 0 auto; white-space: nowrap; padding: 9px 16px; }

/* 课销子选项卡 */
.sub-tabs { display: flex; gap: 8px; margin: 4px 0 12px; flex-wrap: wrap; }
.sub-tab {
  border: 1px solid #d5dbe5; background: #fff; color: #4a5568;
  border-radius: 20px; padding: 7px 16px; font-size: 13px; cursor: pointer;
}
.sub-tab.active { background: #2f6bff; border-color: #2f6bff; color: #fff; }

/* 可点击统计卡 */
.stat-card.clickable { cursor: pointer; transition: box-shadow .15s; }
.stat-card.clickable:hover { box-shadow: 0 2px 10px rgba(47, 107, 255, .18); }

/* 报名信息表：表格区域独立滚动，筛选栏与表头锁定，仅学员行上下滑动 */
#rp-table .table-wrap.rp-scroll { overflow: auto; }
#rp-table .table-wrap.rp-scroll thead th {
  position: sticky; top: 0; z-index: 5;
  background: #fff; box-shadow: 0 1px 0 #e3e8f0;
}

/* 通用：表格区域限高上下滑动 + 表头吸顶 */
.table-wrap.tb-scroll { max-height: 62vh; overflow: auto; }
.table-wrap.tb-scroll thead th {
  position: sticky; top: 0; z-index: 5;
  background: #f7f9fc; box-shadow: 0 1px 0 #e3e8f0;
}

/* 环境标识（顶栏姓名旁）：测试版红底 / 正式版绿底 */
.env-badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.env-test { background: #dc2626; color: #fff; }
.env-prod { background: #16a34a; color: #fff; }

/* 学员详情：历年报名课销查询 */
.student-detail-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.student-detail-heading .section-title { margin: 0; flex: 0 0 auto; }
.student-detail-heading .detail-actions { margin: 0 0 0 auto; }
.detail-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.detail-actions .mini-btn { padding: 8px 14px; }
.detail-actions .history-detail { color: #2f6bff; border-color: #a9c2f8; background: #f5f8ff; }
.history-archive-mask { z-index: 130; padding: 18px; }
.history-archive {
  width: min(1120px, 100%); max-height: calc(100vh - 36px); overflow: auto;
  -webkit-overflow-scrolling: touch; background: #f5f6fa; border-radius: 14px;
  box-shadow: 0 18px 60px rgba(20, 26, 38, .24);
}
.history-archive-head {
  position: sticky; top: 0; z-index: 8; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 16px 20px; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e7eaf0;
}
.history-archive-title { font-size: 18px; font-weight: 750; color: #242a35; }
.history-archive-sub { margin-top: 4px; color: #9299a6; font-size: 12px; }
.history-archive-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; flex: 0 0 auto; }
.history-archive-actions .mini-btn { padding: 8px 12px; white-space: nowrap; }
.history-archive-close { flex: 0 0 auto; min-width: 64px; padding: 8px 14px; }
.history-archive-body { padding: 14px 18px 24px; }
.history-section-caption { margin: 4px 2px 12px; color: #333a47; font-size: 17px; font-weight: 750; }
.history-section-caption.classes { margin-top: 24px; }
.history-section-caption span { margin-left: 10px; color: #9aa1ad; font-size: 12px; font-weight: 400; }
.history-year-card { margin-bottom: 14px; padding: 14px; background: #fff; border-radius: 10px; box-shadow: 0 1px 5px rgba(30, 50, 90, .04); }
.history-year-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.history-year-title { color: #303642; font-size: 17px; font-weight: 750; white-space: nowrap; }
.history-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 500; vertical-align: 2px; }
.history-tag.signup { color: #ad8a2e; background: #fff8dd; }
.history-tag.classes { color: #6883bb; background: #edf3ff; }
.history-year-stat { color: #9299a6; font-size: 12px; text-align: right; }
.history-archive-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; }
.history-archive-table { width: 100%; border-collapse: collapse; color: #4f5663; font-size: 12px; }
.history-archive-table th, .history-archive-table td { padding: 10px 9px; border-bottom: 1px solid #f0f1f4; text-align: left; vertical-align: top; }
.history-archive-table th { color: #777f8c; background: #fbfbfc; font-weight: 500; white-space: nowrap; }
.history-signup-table { min-width: 1060px; }
.history-signup-table th:nth-child(1) { min-width: 78px; }
.history-signup-table th:nth-child(2) { min-width: 80px; }
.history-signup-table th:nth-child(4) { min-width: 88px; }
.history-signup-table th:nth-child(9) { min-width: 86px; }
.history-signup-table .history-remark { min-width: 250px; max-width: 380px; white-space: normal; line-height: 1.65; word-break: break-word; }
.history-remark-text { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: help; }
.history-remark-system { color: #626b78; }
.history-remark-manual { margin-left: 5px; color: #d93026; font-weight: 750; }
.history-remark-manual.history-remark-modified { color: #7b3fd4; text-decoration: underline dotted; text-underline-offset: 3px; }
.history-enrollment-remark { display: inline; margin-left: 6px; color: #1769aa; font-weight: 700; line-height: 1.6; }
.history-duplicate-remark { margin-top: 5px; color: #7b3fd4; font-weight: 750; line-height: 1.55; white-space: normal; }
.history-money { color: #8b6b16; font-weight: 700; white-space: nowrap; }
.history-money.negative { color: #d93026; }
.history-payment-event { display: inline-block; margin-left: 6px; padding: 1px 5px; border-radius: 4px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.history-payment-event.refund { color: #a13b32; background: #fff0ed; border: 1px solid #efc1b9; }
.history-payment-event.renewal { color: #176b45; background: #eaf7ef; border: 1px solid #add8bd; }
.history-refund-status { margin-left: 5px; padding: 2px 6px; border: 1px solid; font-size: 11px; vertical-align: 1px; }
.history-refund-status.refunded { color: #8b3e34; background: #fff0ed; border-color: #dfada4; }
.history-refund-status.renewed { color: #176b45; background: #eaf7ef; border-color: #9fcfb2; }
.history-archive-title .history-refund-status { font-size: 12px; vertical-align: 2px; }
.history-na { color: #b1b6bf; }
.history-leave-cell { min-width: 116px; }
.history-leave-editor { display: flex; align-items: center; gap: 6px; cursor: default; }
.history-leave-input {
  width: 52px; height: 34px; padding: 5px 6px; border: 1px solid #d9dfe8; border-radius: 6px;
  background: #fff; color: #4f5663; font: inherit; text-align: center; outline: none;
}
.history-leave-input:focus { border-color: #2f6bff; box-shadow: 0 0 0 2px rgba(47, 107, 255, .12); }
.history-leave-input.dirty { border-color: #d6a72c; background: #fffbeb; }
.history-leave-input:disabled { background: #f3f4f6; color: #9aa1ad; }
.history-leave-save {
  min-width: 44px; height: 34px; padding: 0 7px; border: 1px solid #b7c9ef; border-radius: 6px;
  background: #f5f8ff; color: #2f6bff; font-size: 11px; cursor: pointer; white-space: nowrap;
}
.history-leave-save:hover { background: #eaf1ff; }
.history-leave-save:disabled { opacity: .6; cursor: wait; }
.history-leave-total { white-space: nowrap; }
.history-year-total td { color: #9a7b19; background: #fff9d9; border-bottom: 0; font-weight: 700; }
.history-class-table { min-width: 680px; }
.history-class-table th:nth-child(1) { width: 18%; }
.history-class-table th:nth-child(2) { width: 16%; }
.history-class-table th:nth-child(3) { width: 21%; }
.history-class-table th:nth-child(5) { width: 12%; }
.history-month-summary { cursor: pointer; }
.history-month-summary:hover td, .history-month-summary.expanded td { background: #f8faff; }
.history-month-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin: -7px 0; padding: 5px 8px 5px 0; border: 0; background: transparent; color: #596171; font-size: 12px; cursor: pointer; }
.history-month-toggle span { display: inline-block; color: #9aa3b2; transition: transform .15s; }
.history-month-summary.expanded .history-month-toggle span { transform: rotate(90deg); }
.history-hours { color: #4e5664; font-weight: 700; }
.history-deferred-note { display: block; margin-top: 3px; color: #b56a09; font-size: 10px; font-weight: 500; white-space: nowrap; }
.history-deferred-row { background: #fffaf0; }
.history-deferred-badge { display: inline-block; padding: 2px 6px; border-radius: 4px; color: #9a5707; background: #fff0d2; font-size: 11px; font-weight: 700; white-space: nowrap; }
.history-month-detail[hidden] { display: none; }
.history-month-detail > td { padding: 0; background: #f8faff; }
.history-month-detail-box { padding: 8px 14px 12px 34px; }
.history-month-detail-box table { width: 100%; border-collapse: collapse; font-size: 12px; }
.history-month-detail-box th, .history-month-detail-box td { padding: 8px; border-bottom: 1px solid #e8edf5; text-align: left; }
.history-month-detail-box small { display: block; margin-top: 2px; color: #9aa3b2; font-size: 10px; }
.history-archive-empty { padding: 30px; color: #9aa1ad; background: #fff; border-radius: 10px; text-align: center; }
/* v10398：季节课时校核、存底及桌面端完整表格 */
.history-change-remark { display: block; margin-top: 5px; color: #1d5bb5; font-weight: 650; line-height: 1.65; }
.history-change-note { display: inline; color: #d93026; font-weight: 700; }
.history-change-note-edit { margin-left: 5px; padding: 1px 5px; border: 1px solid #efb4ae; border-radius: 4px; background: #fff5f4; color: #b3261e; font-size: 10px; cursor: pointer; }
.history-change-item { white-space: normal; }
.history-change-undo, .history-change-note-delete { margin-left: 5px; padding: 1px 5px; border: 1px solid #b7c9ef; border-radius: 4px; background: #f5f8ff; color: #1d5bb5; font-size: 10px; cursor: pointer; white-space: nowrap; }
.history-change-note-delete { border-color: #efb4ae; background: #fff5f4; color: #b3261e; }
.history-enrollment-row > td { padding: 0 8px 10px; background: #fcfdff; }
.history-enrollment-editor { display: grid; grid-template-columns: 126px minmax(0, 1fr) minmax(280px, 360px); gap: 8px; align-items: end; margin-top: 0; padding: 8px 10px; border: 1px solid #cfe0f5; border-radius: 7px; background: #f7faff; }
.history-season-editor-title { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 3px; margin: 0; padding-right: 8px; border-right: 1px solid #dce7f5; color: #1769aa; font-size: 11px; }
.history-season-editor-title b { font-size: 11px; font-weight: 750; }
.history-season-editor-title span { color: #8a96a6; font-size: 10px; font-weight: 400; line-height: 1.35; }
.history-season-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; align-items: end; }
.history-season-grid label, .history-consumption-editor label { display: block; color: #68758a; font-size: 10px; }
.history-season-grid label > span { display: block; margin-bottom: 3px; white-space: nowrap; }
.history-season-grid input, .history-consumption-editor input[type="number"] { width: 100%; height: 32px; margin: 0; padding: 5px 7px; border: 1px solid #d7e0ec; border-radius: 5px; background: #fff; color: #333; font-size: 12px; box-sizing: border-box; }
.history-season-grid input:focus, .history-consumption-editor input:focus { border-color: #2f6bff; outline: 0; }
.history-season-note, .history-consumption-note { width: 100%; min-height: 46px; margin: 0; padding: 6px 8px; border: 1px solid #dde3eb; border-radius: 5px; font-size: 11px; line-height: 1.5; box-sizing: border-box; resize: vertical; }
.history-note-save-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: end; min-width: 0; }
.history-note-save { height: 32px; margin-bottom: 0; white-space: nowrap; color: #1d5bb5; border-color: #b7c9ef; background: #f5f8ff; }
.history-class-filter-row { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; color: #68758a; font-size: 11px; }
.history-class-filter-row .ipt { width: auto; min-width: 190px; margin: 0; padding: 5px 8px; }
.history-class-filter-result { color: #1d5bb5; font-weight: 650; }
.history-class-split { display: block; margin-top: 4px; color: #c53b32; font-size: 10px; font-weight: 650; line-height: 1.55; white-space: nowrap; }
.history-class-split span { display: block; }
.history-month-summary[hidden], .history-month-detail tr[hidden] { display: none; }
.history-consumption-formula small { display: block; margin-top: 2px; color: #1d5bb5; }
.history-enrollment-editor.dirty, .history-consumption-editor.dirty { border-color: #d6a72c; background: #fffbeb; }
.history-consumption-editor { display: grid; grid-template-columns: minmax(230px, 1fr) 130px 130px minmax(180px, 1fr); gap: 10px; align-items: end; margin: 0 0 10px; padding: 9px 11px; border: 1px solid #d8e2f2; border-radius: 8px; background: #f7f9fd; }
.history-consumption-formula { align-self: center; color: #667085; font-size: 11px; line-height: 1.6; }
.history-consumption-formula b { display: block; color: #37547d; font-size: 12px; }
.history-consumption-formula span { display: block; }
.history-consumption-formula strong { color: #1769aa; }
.history-consumption-formula strong.negative { color: #d93026; }
.history-save-status { margin-right: auto; color: #d97706; font-size: 11px; }
.history-season-summary { margin-bottom: 16px; padding: 14px; border: 1px solid #dce5f0; border-radius: 10px; background: #fff; }
.history-season-summary-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.history-season-summary-head b { color: #263b57; font-size: 15px; }
.history-season-summary-head span { display: block; margin-top: 4px; color: #8993a2; font-size: 11px; }
.history-season-summary-head small { color: #68758a; white-space: nowrap; }
.history-season-summary-table-wrap { overflow-x: auto; }
.history-season-summary table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; }
.history-season-summary th, .history-season-summary td { padding: 7px 5px; border: 1px solid #e1e7ef; text-align: center; vertical-align: middle; }
.history-season-summary thead tr:first-child th:first-child { background: #e8f1fd; color: #315c8d; }
.history-season-summary thead tr:first-child th:last-child { background: #e8f4ec; color: #356b4a; }
.history-season-summary thead tr:nth-child(2) th { background: #f7f9fb; color: #68758a; }
.history-season-summary td small { display: block; color: #8a96a6; font-size: 9px; }
.history-season-summary .history-season-total td { background: #fff6c2; color: #735810; font-weight: 700; }
.history-season-summary .history-season-remain td { background: #e8f1fd; color: #1d5bb5; font-weight: 700; }
.history-season-summary .history-season-remain-note { font-weight: 400; font-size: 10px; color: #68758a; text-align: left; line-height: 1.5; }
.history-season-summary .history-season-query-row { background: #f7faff; }
.history-season-query { padding: 10px 12px; text-align: left; }
.history-query-controls { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.history-query-title { margin-right: 2px; color: #37547d; font-size: 12px; font-weight: 750; line-height: 34px; }
.history-query-controls label { display: flex; align-items: center; gap: 5px; color: #68758a; font-size: 11px; font-weight: 400; white-space: nowrap; }
.history-query-controls input[type="month"] { width: 142px; height: 34px; padding: 5px 7px; border: 1px solid #cfdaea; border-radius: 6px; background: #fff; color: #344054; font: 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; box-sizing: border-box; }
.history-query-controls input[type="month"]:focus { border-color: #2f6bff; outline: 0; box-shadow: 0 0 0 2px rgba(47,107,255,.1); }
.history-query-separator { color: #98a2b0; font-size: 11px; line-height: 34px; }
.history-query-controls .mini-btn { height: 34px; padding: 6px 12px; white-space: nowrap; }
.history-query-current { color: #1d5bb5; font-size: 11px; font-weight: 500; line-height: 34px; }
.history-query-notes { margin-top: 8px; padding: 7px 9px; border-left: 3px solid #e0a52d; border-radius: 4px; background: #fff8e7; color: #925d07; font-size: 11px; font-weight: 400; line-height: 1.65; }
.history-query-notes > div + div { margin-top: 3px; }
.history-season-query.read-only { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; color: #68758a; font-size: 11px; }
.history-season-query.read-only .history-query-notes { flex-basis: 100%; }
.history-query-partial-note { color: #b16a09 !important; line-height: 1.55; }
.history-consumption-editor.query-partial { border-color: #e3bd68; background: #fffaf0; }
.history-snapshot-list { margin-bottom: 12px; color: #788495; font-size: 11px; }
.history-snapshot-list > summary { width: max-content; max-width: 100%; padding: 6px 9px; border: 1px solid #d9e2ef; border-radius: 6px; background: #fff; color: #48617f; cursor: pointer; }
.history-snapshot-items { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.history-snapshot-list button { padding: 5px 8px; border: 1px solid #d9e2ef; border-radius: 6px; background: #fff; color: #48617f; cursor: pointer; }
.history-snapshot-list button small { margin-left: 4px; color: #98a2b0; }
.refund-student-search { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto; gap: 10px; margin-bottom: 16px; padding: 14px; border: 1px solid #dce4f0; border-radius: 10px; background: #fff; }
.refund-student-search .ipt { margin: 0; }
@media (max-width: 600px) {
  .refund-student-search { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 9px; }
  .refund-student-search .btn { width: 100%; margin: 0; }
  /* 咨询端订单页统计卡增至 5 张：手机端改两列换行，金额完整显示不截断 */
  .stat-cards.s-stat-cards { flex-wrap: wrap; }
  .stat-cards.s-stat-cards .stat-card { flex: 1 1 calc(50% - 5px); }
  /* 退回业绩拆解行 5 列在手机放不下：改两列换行（姓名+金额 / 月份+比例 / 删除），覆盖行内联列宽 */
  .cl-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
}
.history-note-edit-mask { z-index: 180; }
.history-note-revisions-mask { z-index: 190; }
.confirm-dialog-mask { z-index: 220; }
.history-note-revisions { max-height: 55vh; overflow: auto; text-align: left; }
.history-note-revision { padding: 10px 0; border-bottom: 1px solid #e8ecf2; line-height: 1.7; }
.history-note-old { color: #7a828e; white-space: pre-wrap; overflow-wrap: anywhere; }
.history-note-new { color: #d93026; white-space: pre-wrap; overflow-wrap: anywhere; }
.history-change-note-history { margin-left: 6px; }
@media (min-width: 900px) {
  /* 电脑端报名信息完整平铺但内容省略显示；鼠标悬停单元格可查看完整内容。 */
  #rp-table .table-wrap.rp-scroll { overflow-x: hidden; }
  #rp-table .table.report { width: 100%; min-width: 0; table-layout: fixed; font-size: 11px; }
  #rp-table .table.report th:nth-child(1), #rp-table .table.report td:nth-child(1) { width: 7.4%; }
  #rp-table .table.report th:nth-child(2), #rp-table .table.report td:nth-child(2) { width: 3.2%; }
  #rp-table .table.report th:nth-child(3), #rp-table .table.report td:nth-child(3) { width: 3.2%; }
  #rp-table .table.report th:nth-child(4), #rp-table .table.report td:nth-child(4) { width: 4.5%; }
  #rp-table .table.report th:nth-child(5), #rp-table .table.report td:nth-child(5) { width: 4%; }
  #rp-table .table.report th:nth-child(6), #rp-table .table.report td:nth-child(6) { width: 4.5%; }
  #rp-table .table.report th:nth-child(7), #rp-table .table.report td:nth-child(7) { width: 8%; }
  #rp-table .table.report th:nth-child(8), #rp-table .table.report td:nth-child(8) { width: 4.8%; }
  #rp-table .table.report th:nth-child(9), #rp-table .table.report td:nth-child(9) { width: 4%; }
  #rp-table .table.report th:nth-child(10), #rp-table .table.report td:nth-child(10) { width: 4.8%; }
  #rp-table .table.report th:nth-child(11), #rp-table .table.report td:nth-child(11) { width: 4.5%; }
  #rp-table .table.report th:nth-child(12), #rp-table .table.report td:nth-child(12) { width: 4.2%; }
  #rp-table .table.report th:nth-child(13), #rp-table .table.report td:nth-child(13) { width: 5%; }
  #rp-table .table.report th:nth-child(14), #rp-table .table.report td:nth-child(14) { width: 7.5%; }
  #rp-table .table.report th:nth-child(15), #rp-table .table.report td:nth-child(15) { width: 5%; }
  #rp-table .table.report th:nth-child(16), #rp-table .table.report td:nth-child(16) { width: 4.2%; }
  #rp-table .table.report th:nth-child(17), #rp-table .table.report td:nth-child(17) { width: 5.8%; }
  #rp-table .table.report th:nth-child(18), #rp-table .table.report td:nth-child(18) { width: 5.2%; }
  #rp-table .table.report th:nth-child(19), #rp-table .table.report td:nth-child(19) { width: 5.2%; }
  #rp-table .table.report th:nth-child(20), #rp-table .table.report td:nth-child(20) { width: 2.5%; }
  #rp-table .table.report th:nth-child(21), #rp-table .table.report td:nth-child(21) { width: 2.5%; }
  #rp-table .table.report th, #rp-table .table.report td {
    min-width: 0 !important; max-width: none !important; padding: 5px 3px;
    white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis;
    overflow-wrap: normal; word-break: normal; vertical-align: top;
  }
  #rp-table .table.report .cell-ellipsis { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #rp-table .table.report .student-name-cell {
    white-space: normal !important; overflow: visible !important; text-overflow: clip;
    overflow-wrap: anywhere; word-break: keep-all; line-height: 1.45;
  }
  #rp-table .table.report .student-name-cell .badge { display: inline-block; max-width: none; white-space: nowrap; overflow: visible; }
  #rp-table .table.report td .mini-btn { padding: 2px 4px; margin: 1px 0; font-size: 11px; }
  .history-archive { width: min(1480px, calc(100vw - 36px)); }
  .history-archive-table-wrap { overflow-x: visible; }
  .history-signup-table { min-width: 0; table-layout: fixed; }
  .history-signup-table th:nth-child(n), .history-signup-table td:nth-child(n) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
  .history-signup-table th:last-child, .history-signup-table .history-remark { width: 285px; min-width: 0; max-width: 285px; }
  .history-archive-table th, .history-archive-table td { padding: 8px 6px; }
}
@media (max-width: 600px) {
  .student-detail-heading { flex-direction: column; gap: 10px; }
  .student-detail-heading .detail-actions { margin-left: 0; justify-content: flex-start; }
  .history-archive-mask { padding: 0; }
  .history-archive { max-height: 100vh; min-height: 100vh; border-radius: 0; }
  .history-archive-head { padding: 12px 14px; align-items: flex-start; }
  .history-archive-title { font-size: 16px; }
  .history-archive-actions { max-width: 132px; }
  .history-archive-actions .mini-btn { padding: 7px 9px; font-size: 12px; }
  .history-archive-body { padding: 12px 10px 22px; }
  .history-year-card { padding: 10px; }
  .history-year-head { align-items: flex-start; }
  .history-year-stat { max-width: 55%; line-height: 1.5; }
  .history-section-caption span { display: block; margin: 5px 0 0; line-height: 1.5; }
  .history-month-detail-box { padding-left: 10px; overflow-x: auto; }
  .history-month-detail-box table { min-width: 560px; }
  .history-enrollment-editor, .history-consumption-editor { grid-template-columns: minmax(0, 1fr); }
  .history-season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-season-editor-title { border-right: 0; border-bottom: 1px solid #dce7f5; padding: 0 0 6px; }
  .history-note-save-wrap { grid-column: 1 / -1; }
  .history-class-filter-row { align-items: flex-start; flex-wrap: wrap; }
  .history-season-query { padding: 10px 8px; }
  .history-season-summary table { min-width: 860px; }
  .history-query-title { flex-basis: 100%; line-height: 1.4; }
  .history-query-controls label { flex: 1 1 135px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .history-query-controls input[type="month"] { width: 100%; min-height: 38px; }
  .history-query-separator { display: none; }
  .history-query-controls .mini-btn { flex: 1 1 70px; min-height: 38px; }
  .history-query-current { flex-basis: 100%; line-height: 1.5; }
}
