body.crm-ui{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}.crm-ui .teacher-detail-drawer,.crm-ui .customer-record-drawer{color:var(--text)}
body.crm-ui:has(#teacherTable) header h1{font-size:24px;font-weight:700}body.crm-ui:has(#teacherTable) .summary strong{font-size:26px;color:#253a59}body.crm-ui:has(#teacherTable) .panel-head h2{font-size:18px;color:#27364b}body.crm-ui:has(#teacherTable) button{font-family:inherit;border-radius:5px}body.crm-ui:has(#teacherTable) .panel{box-shadow:none;border-color:#e1e7f0}body.crm-ui:has(#teacherTable) th{font-size:14px;font-weight:700;color:#27364b}body.crm-ui:has(#teacherTable) td{font-size:13px;color:#334966}
.crm-ui #pageRoot .service-compact-side .service-drilldown-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-ui #pageRoot .service-compact-side .service-drilldown-card:last-child{grid-column:1/-1}.crm-ui #pageRoot .service-compact-workbench .service-task-summary{margin-top:0}.crm-ui #pageRoot .service-compact-workbench .service-task-card strong{color:#253a59}.crm-ui #pageRoot .service-compact-workbench .service-task-card.danger small{color:var(--red)}
/* G1: shared reporting dates; preset keys and query semantics stay in app.js. */
.crm-ui #pageRoot .reporting-period-toolbar {
  position:relative;
  min-width:0;
  max-width:100%;
  gap:8px;
  flex-wrap:wrap;
}
.reporting-period-presets,.reporting-period-dates {
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.reporting-period-presets {flex:0 0 auto}
.reporting-period-dates {flex:0 1 390px}
.crm-ui #pageRoot .reporting-period-dates input[type="date"] {
  flex:1 1 130px;
  width:130px;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.reporting-period-dates>[data-reporting-query] {flex:0 0 auto}
/* J26：面板相对「更多」按钮定位，出现在按钮正下方、左边缘对齐（原来相对整条工具栏 right:0，飘到页面最右边） */
.reporting-period-more {flex:0 0 auto;position:relative}
.reporting-period-more>summary {list-style:none;cursor:pointer}
.reporting-period-more>summary::-webkit-details-marker {display:none}
.reporting-period-more>summary::after {content:"▾";margin-left:5px}
.reporting-period-more[open]>summary::after {content:"▴"}
.reporting-period-more>summary:focus-visible {outline:2px solid var(--blue);outline-offset:2px}
.reporting-period-menu {
  position:absolute;
  z-index:30;
  top:calc(100% + 4px);
  left:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  width:220px;
  max-width:calc(100vw - 24px);
  padding:8px;
  box-sizing:border-box;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  box-shadow:0 6px 18px rgba(28,47,75,.12);
}
.reporting-period-more:not([open])>.reporting-period-menu {display:none}
/* J26：客服页窄屏会把工具栏子项拉宽（customer-service.css .customer-service-toolbar>*），这时面板和「更多」按钮同宽，按钮在屏内面板就在屏内 */
@media(max-width:800px) {
  .customer-service-page>.customer-service-toolbar>.reporting-period-more>.reporting-period-menu {right:0;width:auto}
}
.reporting-period-toolbar>[data-reporting-pending]:empty {display:none}
@media(max-width:600px) {
  .reporting-period-dates {order:1;flex-basis:100%;width:100%;flex-wrap:wrap}
  .reporting-period-dates>[data-reporting-query] {margin-left:auto}
  .reporting-period-toolbar>[data-reporting-pending] {order:2;flex-basis:100%;overflow-wrap:anywhere}
}
