.neo-page { padding: 0; }
.neo-page .biz-page-header { min-height: 78px; }
.neo-toolbar-date { width: 142px; }
.neo-body {
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(370px, 34%, 430px) minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
}
.neo-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}
.neo-panel-header {
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  border-bottom: 1px solid #f0f0f0;
}
.neo-panel-title { min-width: 0; }
.neo-panel-title h3 { margin: 0; color: rgba(0,0,0,0.85); font-size: 14px; line-height: 22px; }
.neo-panel-title p { margin: 1px 0 0; color: rgba(0,0,0,0.45); font-size: 11px; line-height: 18px; }
.neo-panel-header-actions { min-width: 0; display: flex; align-items: center; gap: 10px; }
.neo-mobile-view-button { display: none; flex: 0 0 auto; }
.neo-table-scroll { min-height: 0; flex: 1; overflow: auto; }
.neo-table { width: 100%; min-width: 460px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.neo-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 42px;
  padding: 8px 5px;
  color: #606266;
  background: #e7f7f5;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.neo-table thead th:first-child,
.neo-table thead th:last-child {
  text-align: center;
  vertical-align: middle;
}
.neo-table thead th:last-child { padding-left: 12px; padding-right: 12px; }
.neo-table thead th small {
  display: block;
  margin-top: 1px;
  color: rgba(0,0,0,0.45);
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
}
.neo-table td {
  height: 38px;
  padding: 7px 5px;
  color: rgba(0,0,0,0.65);
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.neo-table td:first-child { color: rgba(0,0,0,0.45); text-align: center; }
.neo-table td:last-child { padding-right: 12px; }
.neo-table tbody tr:hover td { background: #fafafa; }
.neo-table tfoot th,
.neo-table tfoot td {
  position: sticky;
  bottom: 0;
  z-index: 2;
  height: 42px;
  padding: 8px 5px;
  color: rgba(0,0,0,0.85);
  background: #e7f7f5;
  border-top: 2px solid rgba(30,172,166,0.32);
  border-bottom: 0;
  box-shadow: 0 -3px 8px rgba(0,0,0,0.05);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.neo-table tfoot th { text-align: center; }
.neo-table tfoot td:last-child { padding-right: 12px; }
.neo-table .is-missing { color: #bfbfbf; }
.neo-chart-wrap { position: relative; min-height: 360px; flex: 1; }
.neo-chart { position: absolute; inset: 8px 10px 6px; }
.neo-state {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: rgba(0,0,0,0.45);
  background: rgba(255,255,255,0.9);
  font-size: 12px;
  text-align: center;
}
.neo-state[hidden] { display: none; }
.neo-error { color: var(--el-color-danger); }
.neo-sync-note { color: rgba(0,0,0,0.45); font-size: 11px; white-space: nowrap; }

@media (max-width: 1180px) {
  .neo-page .biz-page-header { align-items: flex-start; flex-wrap: wrap; }
  .neo-page .biz-page-actions { width: 100%; justify-content: flex-start; }
  .neo-body { grid-template-columns: clamp(350px, 36%, 390px) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .neo-page { overflow: auto; }
  .neo-page .biz-page-body { flex: 0 0 auto; }
  .neo-body { display: flex; flex-direction: column; overflow: visible; }
  .neo-panel { min-height: 460px; flex: 0 0 auto; }
  .neo-chart-panel { min-height: 500px; }
  .neo-mobile-view-button { display: inline-flex; }
  .neo-body[data-mobile-view="table"] .neo-chart-panel { display: none; }
  .neo-body[data-mobile-view="chart"] #neoTablePanel { display: none; }
}

@media (max-width: 560px) {
  .neo-toolbar-date { width: 100%; }
  .neo-page .biz-page-actions .btn-sm { flex: 1 0 100%; justify-content: center; }
  .neo-panel-header { align-items: flex-start; flex-direction: column; }
  .neo-table { min-width: 460px; }
}
