html,
body {
  margin: 0;
  min-height: 100%;
  background: #f5f7fa;
  /* 由页面整体滚动；左侧菜单 fixed 始终满高，避免 flex+el-main 滚动链失效 */
  overflow-x: hidden;
}

#app {
  min-height: 100%;
}

/* 左侧固定，右侧留白给主内容（宽度与 el-aside width 一致） */
.app-root {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 100vh;
}

.app-root > .el-aside {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  z-index: 2000;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}

.app-root > .el-container.app-root__main-wrap {
  /* fixed 侧栏不占文档流，必须显式留出 220px，否则主栏会铺满视口压在菜单下 */
  margin-left: 220px;
  width: calc(100% - 220px);
  max-width: calc(100% - 220px);
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-root .app-root__main-wrap > .el-header {
  flex-shrink: 0;
}

.app-root .app-root__main-wrap > .el-main {
  flex: 1 1 auto;
}

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  box-sizing: border-box;
  padding: 24px 16px 0;
}

.login-page__card {
  width: 420px;
  max-width: 100%;
}

.site-icp-footer {
  flex-shrink: 0;
  width: 100%;
  padding: 16px 12px 20px;
  text-align: center;
  font-size: 12px;
  color: #909399;
  box-sizing: border-box;
}

.site-icp-footer--app {
  background: #fff;
  border-top: 1px solid #ebeef5;
  padding: 10px 12px;
}

.site-icp-footer a {
  color: #909399;
  text-decoration: none;
}

.site-icp-footer a:hover {
  color: #606266;
  text-decoration: underline;
}

.app-title {
  font-weight: 600;
  font-size: 16px;
}

.page {
  padding: 16px;
}

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

.muted {
  color: #909399;
  font-size: 12px;
}

/* 电量预测流程：时间线内步骤标题（避免沿用 timeline 默认弱色 timestamp） */
.forecast-pipeline-step-title {
  font-size: 16px;
  font-weight: 600;
  color: #303133;
  line-height: 1.4;
  margin: 0 0 8px;
}

.kpi-card {
  border-radius: 10px;
}

.kpi-card .el-card__body {
  padding: 14px 16px;
  min-height: 92px; /* 统一高度，避免不同内容导致卡片高低不一 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kpi-title {
  color: #606266;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-value {
  margin-top: 8px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #409eff; /* KPI 数字强调色 */
}

.kpi-sub {
  margin-top: 6px;
  color: #909399;
  font-size: 12px;
  min-height: 14px; /* 保证有无副标题都等高 */
}

.kpi-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.kpi-row .kpi-card {
  flex: 1 1 0;
  min-width: 180px;
}

.kpi-row-wrap {
  flex-wrap: wrap;
}

.chart {
  width: 100%;
  height: 320px;
}

.chart-large {
  height: 520px;
}

.row-weekend td {
  /* 周末行高亮：不使用灰色 */
  background: #ecf5ff !important;
}

.row-holiday td {
  background: #fef0f0 !important;
}

.holiday-tag {
  margin-left: 6px;
}

/* 日历样式 */
.calendar-container {
  background: #fff;
  border-radius: 4px;
  padding: 16px;
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-weekday {
  text-align: center;
  font-weight: 600;
  color: #606266;
  padding: 8px;
  background: #f5f7fa;
  border-radius: 4px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  min-height: 140px;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  padding: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.calendar-day-empty {
  border: none;
  background: transparent;
}

.calendar-day-future {
  background: #f5f7fa;
  opacity: 0.6;
}

.calendar-day-number {
  font-weight: 600;
  font-size: 16px;
  color: #303133;
  margin-bottom: 8px;
}

.calendar-day-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.calendar-day-info {
  font-size: 12px;
  color: #606266;
  line-height: 1.6;
  text-align: center;
  width: 100%;
}

.calendar-day-empty-info {
  font-size: 12px;
  color: #909399;
  text-align: center;
  padding: 8px 0;
}

.calendar-day-future-info {
  font-size: 12px;
  color: #c0c4cc;
  text-align: center;
  padding: 8px 0;
}

.calendar-day-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* 现货交易管理页面区分样式 */
.spot-market-page {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.spot-market-realtime {
  background: linear-gradient(to bottom, #f0f9ff 0%, #ffffff 100%);
  border-left: 4px solid #409eff;
}

.spot-market-dayahead {
  background: linear-gradient(to bottom, #fef9e7 0%, #ffffff 100%);
  border-left: 4px solid #e6a23c;
}

.spot-market-header {
  margin-bottom: 12px;
}

.spot-market-header .el-alert {
  border-radius: 6px;
}

/* 分时电量日期选择器：标记有数据/无数据的日期 */
.tou-date-has-data {
  position: relative;
}

.tou-date-has-data::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 6px;
  height: 6px;
  background: #67c23a;
  border-radius: 50%;
  z-index: 1;
}

.tou-date-no-data {
  position: relative;
}

.tou-date-no-data::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 6px;
  height: 6px;
  background: #c0c4cc;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.5;
}

/* 分时电量月份日历视图和图表并排布局 */
.tou-calendar-chart-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: flex-start;
}

.tou-month-calendar-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 240px;
}

.tou-month-calendar-stack .tou-month-calendar {
  width: 100%;
}

.tou-month-calendar-legend {
  font-size: 10px;
  color: #909399;
  text-align: center;
}

.tou-month-calendar {
  background: #fff;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  padding: 8px;
  flex-shrink: 0;
  width: 240px;
}

.tou-month-calendar-title {
  font-size: 12px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 6px;
  text-align: center;
}

.tou-month-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.tou-month-calendar-weekday {
  text-align: center;
  font-size: 10px;
  color: #909399;
  padding: 3px 1px;
  font-weight: 600;
}

.tou-month-calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e7ed;
  border-radius: 2px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  min-height: 22px;
  max-height: 22px;
}

.tou-month-calendar-day:hover {
  border-color: #409eff;
  background: #ecf5ff;
}

.tou-month-calendar-day.has-data {
  background: #f0f9ff;
  border-color: #67c23a;
  color: #67c23a;
  font-weight: 600;
}

.tou-month-calendar-day.has-data::after {
  content: "✓";
  position: absolute;
  top: 0px;
  right: 1px;
  font-size: 8px;
  color: #67c23a;
  line-height: 1;
}

.tou-month-calendar-day.no-data {
  background: #fafafa;
  border-color: #e4e7ed;
  color: #909399;
}

.tou-month-calendar-day.selected {
  background: #409eff;
  border-color: #409eff;
  color: #fff;
  font-weight: 600;
}

.tou-month-calendar-day.selected.has-data::after {
  color: #fff;
}

.tou-month-calendar-day.empty {
  border: none;
  background: transparent;
  cursor: default;
}

.tou-month-calendar-day.empty:hover {
  border: none;
  background: transparent;
}

.tou-chart-inline {
  flex: 1;
  min-width: 0;
}

/* 确保日期选择器弹出层正确显示 */
.tou-date-picker-popper {
  z-index: 3000 !important;
}

/* 确保 el-tabs 不会裁剪弹出层 */
.el-tabs__content {
  overflow: visible !important;
}

.el-tab-pane {
  overflow: visible !important;
}

.el-tabs--border-card .el-tabs__content {
  overflow: visible !important;
}

/* 确保 el-tabs 不会裁剪弹出层 */
.el-tabs__content {
  overflow: visible !important;
}

.el-tab-pane {
  overflow: visible !important;
}

/* 确保日期选择器在 tabs 内也能正常显示 */
.el-tabs--border-card .el-tabs__content {
  overflow: visible !important;
}

.el-tabs--border-card {
  overflow: visible !important;
}

/* 确保 el-main 和其他容器不限制弹出层 */
.el-main {
  overflow: visible !important;
}

/* 确保 el-container 不限制弹出层 */
.el-container {
  overflow: visible !important;
}

/* 确保日期选择器弹出层不被任何容器裁剪 */
body > .el-picker__popper,
body > .tou-date-picker-popper {
  position: fixed !important;
  z-index: 3000 !important;
}


/* 日滚搓决策 - 预测来源选择卡片 */
.midlong-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.midlong-source-card {
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  padding: 12px 14px;
  width: 260px;
  cursor: pointer;
  background: #fafbfd;
  transition: all 0.15s ease;
  user-select: none;
}
.midlong-source-card:hover {
  border-color: #79bbff;
  background: #f3f8ff;
}
.midlong-source-card.active {
  border-color: #409eff;
  background: #ecf5ff;
  box-shadow: 0 0 0 1px rgba(64, 158, 255, 0.35) inset;
}
.midlong-source-card .source-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.midlong-source-card .source-card-title {
  font-weight: 600;
  font-size: 14px;
  color: #303133;
}
.midlong-source-card .source-card-meta {
  font-size: 12px;
  color: #606266;
  line-height: 1.6;
}

/* 日滚搓决策 - 24 小时电量编辑网格 */
.midlong-hour-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 8px 12px;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
}
.midlong-hour-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #fafbfd;
}
.midlong-hour-cell .hour-label {
  font-size: 12px;
  color: #606266;
  min-width: 38px;
}
@media (max-width: 1400px) {
  .midlong-hour-grid { grid-template-columns: repeat(4, minmax(160px, 1fr)); }
}
@media (max-width: 1000px) {
  .midlong-hour-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}

/* 日滚搓决策 - 24 时段方格 × 3 同心环饼图 */
.midlong-prob-collapse.el-collapse {
  border-top: 1px solid #ebeef5;
}

.midlong-prob-collapse .el-collapse-item__header {
  font-size: 13px;
}

.midlong-prob-collapse .midlong-prob-legend {
  margin-top: 0;
}

.midlong-prob-legend {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: #606266;
  background: #fafbfd;
  border: 1px dashed #e4e7ed;
  border-radius: 6px;
  padding: 8px 12px;
}
.midlong-prob-legend .legend-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.midlong-prob-legend .legend-title {
  color: #303133;
  font-weight: 600;
}
.midlong-prob-legend .legend-text {
  margin-right: 6px;
}
.midlong-prob-legend .legend-ring {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #f56c6c;
  box-sizing: border-box;
}
.midlong-prob-legend .legend-ring.inner {
  border-color: #fab6b6;
}
.midlong-prob-legend .legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 2px;
}

.midlong-plan-toolbar {
  background: #fafbfc;
  border: 1px solid #ebeef5;
  border-left-width: 4px;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.midlong-plan-toolbar .plan-toolbar-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.midlong-plan-toolbar .plan-toolbar-sep {
  color: #c0c4cc;
  font-weight: 300;
  padding: 0 2px;
}
.midlong-plan-toolbar .plan-toolbar-hint {
  font-size: 12px;
  line-height: 1.5;
}
.midlong-plan-toolbar .plan-toolbar-label {
  margin-right: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* —— 电量调整：暖色调（黄/橙） —— */
.midlong-plan-toolbar.plan-toolbar-quantity {
  background: #fdf6ec;
  border-color: #faecd8;
  border-left-color: #e6a23c;
}

/* —— 电价调整：冷色调（蓝） —— */
.midlong-plan-toolbar.plan-toolbar-price {
  background: #ecf5ff;
  border-color: #d9ecff;
  border-left-color: #409eff;
}

/* 顶部全局提示，区别于工具栏内 hint */
.plan-toolbar-hint.muted {
  font-size: 12px;
  line-height: 1.5;
}

.midlong-plan-summary {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f5f7fa;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  color: #303133;
}
.midlong-plan-summary .plan-summary-sep {
  color: #c0c4cc;
}

.midlong-plan-export {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fafbfc;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

/* 月度交易决策 · 申报表格（电价/电量列分组着色） */
.midlong-monthly-bid-table {
  font-size: 13px;
}
.midlong-monthly-bid-table .el-table__cell {
  padding: 6px 0;
}
.midlong-monthly-bid-table .el-input-number--small {
  width: 108px;
}
.midlong-monthly-bid-table .el-input-number--small .el-input__wrapper {
  padding-left: 6px;
  padding-right: 30px;
}
.midlong-monthly-bid-table .mm-th {
  display: inline-block;
  line-height: 1.3;
  font-size: 13px;
}
.midlong-monthly-bid-table .mm-th-unit {
  font-size: 11px;
  font-weight: 400;
}
.midlong-monthly-bid-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 8px 0 6px;
  font-size: 12px;
  color: #606266;
}
.midlong-monthly-bid-legend .legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.midlong-monthly-bid-legend .legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.midlong-monthly-bid-legend .legend-swatch.price {
  background: #ecf5ff;
  border-color: #b3d8ff;
}
.midlong-monthly-bid-legend .legend-swatch.mwh {
  background: #fdf6ec;
  border-color: #f5dab1;
}
.midlong-monthly-bid-table th.mm-col-price {
  background: #d9ecff !important;
  color: #1d39c4;
}
.midlong-monthly-bid-table td.mm-col-price {
  background: #f5faff !important;
}
.midlong-monthly-bid-table th.mm-col-mwh {
  background: #faecd8 !important;
  color: #ad6800;
}
.midlong-monthly-bid-table td.mm-col-mwh {
  background: #fdf6ec !important;
}

/* 日滚搓决策 · 第4节计划表 */
.midlong-daily-plan-table {
  font-size: 13px;
  border-radius: 8px;
  overflow: hidden;
}
.midlong-daily-plan-table .el-table__cell {
  padding: 7px 0;
}
.midlong-daily-plan-table .el-input-number--small {
  width: 100px;
}
.midlong-daily-plan-table .el-input-number--small .el-input__wrapper {
  padding-left: 6px;
  padding-right: 28px;
}
.midlong-daily-plan-table .dp-th {
  display: inline-block;
  line-height: 1.3;
  font-size: 13px;
}
.midlong-daily-plan-table .dp-th-unit {
  font-size: 11px;
  font-weight: 400;
  color: inherit;
  opacity: 0.85;
}
.midlong-daily-plan-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 10px 0 8px;
  font-size: 12px;
  color: #606266;
}
.midlong-daily-plan-legend .legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.midlong-daily-plan-legend .legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.midlong-daily-plan-legend .legend-swatch.mwh {
  background: #fdf6ec;
  border-color: #f5dab1;
}
.midlong-daily-plan-legend .legend-swatch.price {
  background: #ecf5ff;
  border-color: #b3d8ff;
}
.midlong-daily-plan-legend .legend-swatch.remark {
  background: #f0f9eb;
  border-color: #c2e7b0;
}
.midlong-daily-plan-legend .legend-swatch.advice {
  background: #f4f4f5;
  border-color: #dcdfe6;
}
.midlong-daily-plan-legend .legend-swatch.settlement {
  background: #f3e8ff;
  border-color: #d3adf7;
}
.midlong-daily-plan-table th.dp-col-settlement {
  background: #f3e8ff !important;
  color: #531dab;
}
.midlong-daily-plan-table td.dp-col-settlement {
  background: #faf5ff !important;
}
.midlong-daily-plan-table th.dp-col-mwh {
  background: #faecd8 !important;
  color: #ad6800;
}
.midlong-daily-plan-table td.dp-col-mwh {
  background: #fdf6ec !important;
}
.midlong-daily-plan-table th.dp-col-price {
  background: #d9ecff !important;
  color: #1d39c4;
}
.midlong-daily-plan-table td.dp-col-price {
  background: #f5faff !important;
}
.midlong-daily-plan-table th.dp-col-advice {
  background: #eef1f6 !important;
  color: #606266;
}
.midlong-daily-plan-table td.dp-col-advice {
  background: #fafbfc !important;
}
.midlong-daily-plan-table th.dp-col-action {
  background: #e8f4ff !important;
  color: #0958d9;
}
.midlong-daily-plan-table td.dp-col-action {
  background: #f0f7ff !important;
}
.midlong-daily-plan-table th.dp-col-remark {
  background: #e1f3d8 !important;
  color: #389e0d;
}
.midlong-daily-plan-table td.dp-col-remark {
  background: #f6ffed !important;
}
.midlong-daily-plan-table .dp-remark-input .el-textarea__inner {
  min-height: 32px !important;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.72);
}
.midlong-daily-plan-table tr.dp-row-strong-buy td.dp-col-advice {
  box-shadow: inset 3px 0 0 #67c23a;
}
.midlong-daily-plan-table tr.dp-row-strong-less td.dp-col-advice {
  box-shadow: inset 3px 0 0 #f56c6c;
}
.midlong-daily-plan-day-remark {
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #f6ffed;
  border: 1px solid #d9f7be;
  border-left: 4px solid #52c41a;
  border-radius: 6px;
}
.midlong-daily-plan-day-remark .day-remark-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: #389e0d;
  font-size: 13px;
}
.midlong-daily-plan-day-remark .el-textarea__inner {
  background: rgba(255, 255, 255, 0.85);
}

.midlong-market-avg-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1400px) {
  .midlong-market-avg-fit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .midlong-market-avg-fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.midlong-market-avg-fit-cell {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}
.midlong-market-avg-fit-chart {
  width: 100%;
  height: 220px;
}
.midlong-market-avg-fit-io {
  padding: 6px 8px 8px;
  border-top: 1px solid #f0f2f5;
}
.midlong-market-avg-fit-io-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.midlong-market-avg-fit-io-row:first-child {
  margin-top: 0;
}
.midlong-market-avg-fit-io-label {
  flex: 0 0 58px;
  font-size: 12px;
  color: #606266;
}
.midlong-market-avg-fit-io-out {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #303133;
  min-height: 24px;
  line-height: 24px;
}
.midlong-market-avg-fit-io-out.is-warn {
  color: #e6a23c;
  font-weight: 500;
}

.midlong-daily-review-legend {
  margin-top: 0;
}
.review-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  font-size: 14px;
  line-height: 1.8;
}
.review-summary-grid b {
  margin-left: 6px;
  font-size: 15px;
}
.review-day-remark-body {
  white-space: pre-wrap;
  line-height: 1.65;
  font-size: 13px;
  color: #303133;
}
.midlong-daily-review-table {
  width: 100%;
}
.midlong-daily-review-table .el-table__header th {
  font-size: 12px;
}
.midlong-daily-review-table .el-table__cell {
  padding: 6px 8px;
  vertical-align: middle;
}
.midlong-daily-review-table .review-cell-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.25;
}
.midlong-daily-review-table .review-cell-sub {
  font-size: 11px;
  line-height: 1.2;
}
.midlong-daily-review-table .review-eval-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
}
.midlong-daily-review-table .review-cause-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.midlong-daily-review-table .review-cause-tag {
  margin: 0;
}
.review-cause-chip {
  display: inline-flex;
}
.midlong-daily-review-table .review-dev-pos {
  color: #f56c6c;
  font-weight: 600;
}
.midlong-daily-review-table .review-dev-neg {
  color: #67c23a;
  font-weight: 600;
}
.midlong-daily-review-table tr.review-row-under td.dp-col-advice {
  box-shadow: inset 3px 0 0 #e6a23c;
}
.midlong-daily-review-table tr.review-row-over td.dp-col-advice {
  box-shadow: inset 3px 0 0 #f56c6c;
}
.review-eval-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-eval-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  line-height: 1.65;
}
.review-eval-title {
  font-weight: 600;
  min-width: 108px;
  color: #303133;
}
.review-eval-text {
  flex: 1 1 240px;
  font-size: 13px;
}
.review-eval-counts {
  flex: 1 1 100%;
  font-size: 12px;
  padding-left: 120px;
}

.review-ai-body {
  line-height: 1.75;
  font-size: 14px;
  color: #303133;
}
.review-ai-section {
  margin-bottom: 10px;
}
.review-ai-label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #606266;
  font-size: 13px;
}
.review-ai-list {
  margin: 0;
  padding-left: 1.25em;
}
.review-ai-markdown {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f5f7fa;
  border-radius: 8px;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.7;
}

.midlong-day-summary {
  margin-top: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.midlong-day-summary .day-summary-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.midlong-day-summary .day-summary-title {
  font-weight: 600;
  color: #303133;
  font-size: 13px;
}
.midlong-day-summary .day-summary-tag {
  font-weight: 600;
}
.midlong-day-summary .day-summary-counts-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 4px;
}

/* —— 24 小时建议时序色带 —— */
.midlong-day-summary .day-summary-timeline {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.midlong-day-summary .timeline-label {
  flex: 0 0 auto;
  align-self: center;
  font-weight: 600;
  color: #303133;
  font-size: 12px;
  white-space: nowrap;
}
.midlong-day-summary .timeline-cells {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 2px;
}
.midlong-day-summary .tl-cell {
  border-radius: 3px;
  padding: 4px 0 5px;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
  cursor: default;
  user-select: none;
  min-width: 0;
}
.midlong-day-summary .tl-cell .tl-hour {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}
.midlong-day-summary .tl-cell .tl-arrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 1px;
  letter-spacing: -1px;
}
.midlong-day-summary .tl-cell.cell-strong-buy { background: #67c23a; }
.midlong-day-summary .tl-cell.cell-buy { background: #95d475; }
.midlong-day-summary .tl-cell.cell-neutral { background: #c0c4cc; }
.midlong-day-summary .tl-cell.cell-less { background: #e6a23c; }
.midlong-day-summary .tl-cell.cell-strong-less { background: #f56c6c; }
.midlong-day-summary .tl-cell.cell-no-data {
  background: #f5f7fa;
  color: #909399;
  text-shadow: none;
  border: 1px dashed #dcdfe6;
  padding-top: 3px;
  padding-bottom: 4px;
}

/* —— 各等级时段分行展示 —— */
.midlong-day-summary .day-summary-cats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.midlong-day-summary .day-cat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  line-height: 1.5;
}
.midlong-day-summary .day-cat-bullet {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.midlong-day-summary .day-cat-bullet.cell-strong-buy { background: #67c23a; }
.midlong-day-summary .day-cat-bullet.cell-buy { background: #95d475; }
.midlong-day-summary .day-cat-bullet.cell-neutral { background: #c0c4cc; }
.midlong-day-summary .day-cat-bullet.cell-less { background: #e6a23c; }
.midlong-day-summary .day-cat-bullet.cell-strong-less { background: #f56c6c; }
.midlong-day-summary .day-cat-bullet.cell-no-data {
  background: #f5f7fa;
  border: 1px dashed #c0c4cc;
}
.midlong-day-summary .day-cat-tag { flex: 0 0 auto; }
.midlong-day-summary .day-cat-hours {
  color: #303133;
  font-weight: 500;
  flex: 0 1 auto;
  min-width: 80px;
  word-break: break-all;
}
.midlong-day-summary .day-cat-action {
  color: #606266;
  font-size: 12px;
  flex: 1 1 200px;
  min-width: 200px;
}

.midlong-day-summary .day-summary-prob {
  font-size: 12px;
  color: #606266;
  line-height: 1.7;
  border-top: 1px dashed #dcdfe6;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .midlong-day-summary .day-summary-timeline {
    flex-direction: column;
    align-items: stretch;
  }
  .midlong-day-summary .timeline-label { align-self: flex-start; }
  .midlong-day-summary .tl-cell .tl-hour { font-size: 10px; }
  .midlong-day-summary .tl-cell .tl-arrow { font-size: 10px; }
  .midlong-day-summary .day-cat-action {
    flex-basis: 100%;
    margin-left: 16px;
  }
}

.midlong-prob-cell-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.midlong-prob-cell {
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  padding: 6px;
}
.midlong-prob-cell-chart {
  width: 100%;
  height: 320px;
}
.midlong-prob-cell-advice {
  padding: 8px 10px 6px;
  margin-top: 2px;
  border-top: 1px dashed #ebeef5;
  font-size: 12px;
  color: #606266;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.midlong-prob-cell-advice .advice-text {
  flex: 1;
  word-break: break-all;
}
@media (max-width: 900px) {
  .midlong-prob-cell-grid { grid-template-columns: 1fr; }
}

/* -------- 总览页 -------- */
.page-overview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
}
.page-overview .ov-row {
  margin-bottom: 0;
}
.ov-section-card {
  border-radius: 10px;
  border: 1px solid #ebeef5;
}
.ov-section-card .el-card__header {
  padding: 12px 18px;
  border-bottom: 1px solid #f0f2f5;
}
.ov-section-card .el-card__body {
  padding: 16px 18px;
}
.ov-card-title {
  font-weight: 600;
  font-size: 15px;
  color: #303133;
}
.ov-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.ov-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ov-header-meta {
  font-size: 13px;
}
.ov-alert-today {
  margin-bottom: 14px;
}
.ov-today-list {
  margin: 6px 0 0 18px;
  padding: 0;
  line-height: 1.55;
}
.ov-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 6px;
  padding: 0 2px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.ov-cal-wd {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #909399;
  padding: 4px 0;
}
.ov-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: #e4e7ed;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.ov-cal-cell {
  min-width: 0;
  min-height: 92px;
  background: #fff;
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.ov-cal-cell.is-muted {
  background: #fafafa;
  color: #c0c4cc;
}
.ov-cal-cell.is-today {
  box-shadow: inset 0 0 0 2px #409eff;
  background: #f5faff;
}
.ov-cal-daynum {
  font-size: 13px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 4px;
}
.ov-cal-cell.is-muted .ov-cal-daynum {
  color: #c0c4cc;
}
.ov-cal-chips {
  flex: 0 1 auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-x: hidden;
  overflow-y: visible;
}
.ov-cal-chip {
  font-size: 11px;
  line-height: 1.45;
  padding: 4px 6px;
  border-radius: 4px;
  background: #ecf5ff;
  color: #409eff;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}
.ov-cal-chip:hover {
  filter: brightness(0.97);
}
.ov-cal-chip.ov-cal-chip--annual {
  background: #e3f2fd;
  color: #1565c0;
}
.ov-cal-chip.ov-cal-chip--mon-list {
  background: #fff8e1;
  color: #f57c00;
}
.ov-cal-chip.ov-cal-chip--mon-auction {
  background: #fff3e0;
  color: #ef6c00;
}
.ov-cal-chip.ov-cal-chip--mon-transfer {
  background: #e0f2f1;
  color: #00897b;
}
.ov-cal-chip.ov-cal-chip--mon-adjust {
  background: #f3e5f5;
  color: #7b1fa2;
}
.ov-cal-chip.ov-cal-chip--rolling {
  background: #e8f5e9;
  color: #2e7d32;
}
.ov-cal-chip.ov-cal-chip--legacy {
  background: #eceff1;
  color: #546e7a;
}
/* 维护弹窗：条目可多行换行；单日极多时仅在格内滚动，避免整页过长 */
.ov-cal-grid-maint .ov-cal-chips {
  max-height: min(65vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
}
.ov-collapse-list {
  border: none;
}
.ov-collapse-list .el-collapse-item__header {
  font-size: 13px;
  font-weight: 500;
  color: #606266;
}
.ov-spot-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
@media (min-width: 400px) {
  .ov-spot-kpis {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ov-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fafafa;
  font-size: 12px;
  gap: 4px;
}
.ov-kpi-v {
  font-size: 16px;
  font-weight: 700;
  color: #303133;
}
.ov-spot-chart {
  width: 100%;
  height: 340px;
  margin-bottom: 8px;
}
.ov-spot-chart-wide {
  height: 380px;
}
.ov-windy-wrap {
  min-width: 0;
}
.ov-windy-card .ov-windy-sub a {
  color: #409eff;
}
.ov-windy-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e4e7ed;
  background: #eef2f6;
  min-height: 520px;
}
.ov-windy-iframe {
  display: block;
  width: 100%;
  height: min(720px, 72vh);
  min-height: 520px;
  border: none;
  vertical-align: top;
}
.ov-link-more {
  padding-left: 0;
}
.ov-energy-tabs .el-tabs__header {
  margin-bottom: 8px;
}
.ov-tab-hint {
  font-size: 12px;
  margin: 0 0 10px;
  line-height: 1.5;
}
.ov-energy-chart {
  width: 100%;
  height: 320px;
}
.ov-energy-chart-tall {
  height: min(420px, calc(100vh - 420px));
  min-height: 360px;
}
.ov-memo-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ov-memo-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ov-memo-read {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.ov-memo-read-panel {
  flex: 1;
  min-height: 120px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(165deg, #fafbfd 0%, #f4f6f9 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.045);
  cursor: text;
  transition: box-shadow 0.18s ease, background 0.18s ease;
}
.ov-memo-read-panel:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(64, 158, 255, 0.28);
}
.ov-memo-read-text {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.65;
  color: #303133;
}
.ov-memo-read-placeholder {
  font-size: 13px;
  line-height: 1.65;
}
.ov-memo-read-meta {
  font-size: 12px;
  color: #909399;
  line-height: 1.5;
  padding: 0 2px;
}
.ov-memo-read-meta-label {
  color: #a8abb2;
  margin-right: 6px;
}
.ov-memo-edit {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ov-memo-input .el-textarea__inner {
  font-size: 13px;
  line-height: 1.55;
  min-height: 132px;
  border-radius: 10px;
  transition: box-shadow 0.15s ease;
}
.ov-memo-input .el-textarea__inner:focus {
  box-shadow: 0 0 0 1px rgba(64, 158, 255, 0.35) inset;
}

/* 总览：顶行三列 | 全宽市场监测 | 左 KPI 竖条 + 零售电量 */
.ov-band-top > .el-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ov-band-card {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ov-band-card .el-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ov-band-card.ov-alert-panel .el-card__body {
  justify-content: center;
}
.ov-band-card.ov-memo-card .el-card__body > .ov-memo-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ov-band-card.ov-memo-card .ov-memo-edit .el-input {
  flex: 1;
  min-height: 0;
}
.ov-calendar-panel.ov-band-card .el-card__body {
  justify-content: stretch;
}
.ov-cal-today-strip {
  flex-shrink: 0;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f9fbff 0%, #f3f5f8 100%);
  box-shadow: inset 0 0 0 1px rgba(64, 158, 255, 0.14);
}
.ov-cal-today-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}
.ov-cal-today-solar {
  font-size: 17px;
  font-weight: 700;
  color: #303133;
}
.ov-cal-today-weekday {
  font-size: 12px;
  font-weight: 600;
  color: #409eff;
  background: #ecf5ff;
  padding: 2px 8px;
  border-radius: 4px;
}
.ov-cal-today-lunar {
  font-size: 12px;
  color: #606266;
  font-weight: 500;
}
.ov-cal-today-weather {
  font-size: 12px;
  line-height: 1.55;
  color: #606266;
}
.ov-cal-summary {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 0;
}
.ov-cal-bubble {
  border-radius: 18px;
  padding: 12px 14px 14px;
  border: 1px solid #e4e7ed;
  background: linear-gradient(165deg, #ffffff 0%, #f6f8fb 100%);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  min-width: 0;
}
.ov-cal-bubble--today {
  border-color: rgba(103, 194, 58, 0.35);
  box-shadow: 0 4px 20px rgba(103, 194, 58, 0.12);
}
.ov-cal-bubble--next {
  border-color: rgba(230, 162, 60, 0.38);
  box-shadow: 0 4px 20px rgba(230, 162, 60, 0.14);
}
.ov-cal-summary-next-list {
  margin-top: 10px;
}
.ov-cal-summary-panel {
  border: 1px solid #e4e7ed;
  border-radius: 10px;
  background: #fafbfc;
  padding: 12px 14px;
  min-width: 0;
}
.ov-cal-summary-section {
  min-width: 0;
}
.ov-cal-summary-section + .ov-cal-summary-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ebeef5;
}
.ov-cal-summary-h {
  font-size: 12px;
  font-weight: 700;
  color: #606266;
  margin: 0 0 8px;
  padding: 0 0 0 10px;
  border: none;
  background: none;
  border-radius: 0;
  letter-spacing: 0.04em;
}
.ov-cal-bubble--today .ov-cal-summary-h {
  border-left: 3px solid #67c23a;
}
.ov-cal-bubble--next .ov-cal-summary-h {
  border-left: 3px solid #e6a23c;
}
.ov-cal-summary-date {
  font-weight: 400;
  font-size: 12px;
}
.ov-cal-summary-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ov-cal-summary-panel--readonly .ov-cal-summary-item {
  cursor: default;
}
.ov-cal-summary-panel--readonly .ov-cal-summary-item:hover {
  background: transparent;
}
.ov-cal-summary-item {
  cursor: default;
  padding: 8px 4px;
  border-radius: 6px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ov-cal-summary-item:hover {
  background: transparent;
}
.ov-cal-summary-item + .ov-cal-summary-item {
  border-top: 1px solid #f0f2f5;
}
.ov-cal-summary-body .ov-cal-summary-item:first-child {
  padding-top: 2px;
}
.ov-cal-summary-next-display {
  padding: 2px 0 4px;
  min-width: 0;
}
.ov-cal-summary-next-exec {
  margin-bottom: 2px;
}
.ov-cal-summary-next-exec-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #909399;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.ov-cal-summary-next-exec-value {
  font-size: 17px;
  font-weight: 700;
  color: #303133;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.ov-cal-summary-next-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #dcdfe6;
  font-size: 13px;
  font-weight: 600;
  color: #606266;
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.ov-cal-summary-next-extra {
  margin-top: 8px;
  padding-top: 0;
  font-size: 12px;
}
.ov-cal-summary-title {
  font-weight: 600;
  font-size: 13px;
  color: #303133;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}
.ov-cal-summary-meta {
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}
.ov-cal-summary-empty {
  font-size: 12px;
  padding: 6px 0;
}
.ov-cal-maint-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.ov-cal-maint-body {
  min-height: 120px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ov-cal-maint-dialog .el-dialog__body {
  padding-top: 8px;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}
/* 视口较窄时避免月历格被 960px 弹窗整体撑出横向滚动 */
.ov-cal-maint-dialog.el-dialog {
  max-width: min(960px, calc(100vw - 24px));
}
.ov-collapse-maint .el-collapse-item__header {
  font-size: 13px;
  font-weight: 500;
}
.ov-band-market .ov-section-card .el-card__body {
  padding-top: 12px;
}
.ov-band-energy > .el-col {
  display: flex;
  flex-direction: column;
}
.ov-kpi-col-wrap {
  min-width: 0;
}
.ov-kpi-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 480px;
}
.ov-strip-kpi {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #ebeef5;
}
.ov-strip-kpi .el-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 14px;
}
.ov-strip-kpi .kpi-value {
  font-size: 28px;
  font-weight: 700;
  margin-top: 8px;
}
.ov-strip-kpi .kpi-title {
  font-size: 13px;
  color: #606266;
}
.ov-strip-kpi .kpi-sub {
  font-size: 12px;
  margin-top: 6px;
}
.ov-energy-band-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.ov-energy-band-card .el-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ov-energy-band-card .ov-energy-tabs {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ov-energy-band-card .el-tabs__content {
  flex: 1;
  min-height: 0;
}
.ov-energy-band-card .el-tab-pane {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ov-energy-band-card .ov-energy-chart-tall {
  flex: 1;
  min-height: 360px;
  height: auto;
}
@media (max-width: 991px) {
  .ov-kpi-column {
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ov-strip-kpi {
    flex: 1 1 calc(50% - 6px);
    min-height: 120px;
  }
  .ov-energy-band-card {
    min-height: auto;
  }
}
.ov-panel-compact .el-card__header {
  padding: 8px 12px;
  min-height: auto;
}
.ov-panel-compact .el-card__body {
  padding: 10px 12px;
}
.ov-card-title-sm {
  font-weight: 600;
  font-size: 13px;
  color: #303133;
}
.ov-alert-panel .el-empty {
  padding: 4px 0;
}
.ov-settlement-alert {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.ov-alert-meta {
  font-size: 12px;
  line-height: 1.5;
}
.ov-alert-meta strong {
  color: #303133;
  font-weight: 600;
}
.ov-alert-block {
  margin: 0 !important;
  align-items: flex-start;
}
.ov-alert-msg {
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.ov-alert-one-line {
  font-size: 13px;
}
.ov-alert-table-title {
  font-size: 12px;
  font-weight: 600;
  color: #606266;
  margin-bottom: 4px;
}
.ov-alert-table-wrap {
  min-width: 0;
}

.forecast-temp-tier-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  line-height: 1.75;
}

.forecast-temp-tier-list li {
  margin-bottom: 6px;
}

.forecast-temp-tier-hint {
  margin-left: 8px;
  color: #606266;
  font-size: 13px;
}

.forecast-temp-tier-detail {
  margin-left: 4px;
  color: #909399;
  font-size: 12px;
}

.ov-alert-footnote {
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
}
.ov-alert-empty {
  font-size: 12px;
  padding: 6px 0;
  text-align: center;
}
.ov-alert-inline {
  margin-bottom: 8px;
  padding: 6px 10px;
}
.ov-alert-inline .el-alert__title {
  font-size: 12px;
}
.ov-today-inline-title {
  font-weight: 600;
  font-size: 12px;
}
.ov-today-inline-line {
  font-size: 12px;
  line-height: 1.45;
  margin-top: 4px;
}
.ov-cal-weekdays-sm .ov-cal-wd {
  font-size: 11px;
  padding: 2px 0;
}
.ov-cal-grid-sm {
  margin-bottom: 8px;
}
.ov-cal-cell-sm {
  min-height: 52px !important;
  padding: 3px 4px 5px !important;
}
.ov-cal-cell-sm .ov-cal-daynum {
  font-size: 11px;
  margin-bottom: 2px;
}
.ov-cal-cell-sm .ov-cal-chip {
  font-size: 10px;
  padding: 1px 3px;
}
.ov-cal-grid-compact {
  margin-bottom: 10px;
}
.ov-cal-cell-compact {
  min-height: 64px;
  padding: 4px 5px 6px;
}
.ov-cal-cell-compact .ov-cal-daynum {
  font-size: 12px;
  margin-bottom: 3px;
}
.ov-cal-cell-compact .ov-cal-chip {
  font-size: 10px;
  padding: 1px 4px;
}
.ov-calendar-panel .ov-collapse-list .el-collapse-item__header {
  font-size: 12px;
  height: 36px;
  line-height: 36px;
}
.ov-kpi-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
}
.ov-mini-kpi .el-card__body {
  min-height: 76px;
  padding: 10px 12px;
}
.ov-mini-kpi .kpi-value {
  font-size: 22px;
  margin-top: 4px;
}
.ov-mini-kpi .kpi-title {
  font-size: 12px;
}
.ov-mini-kpi .kpi-sub {
  font-size: 11px;
}
@media (max-width: 991px) {
  .ov-kpi-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
}
