
.app-root {
  height: 100%;
}

.page[data-v-9cb89758] {
  height: 100%;
  min-height: 100%;
  overflow: auto;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(95, 106, 196, 0.14), transparent 45%),
    radial-gradient(ellipse at 80% 10%, rgba(147, 155, 219, 0.16), transparent 40%),
    linear-gradient(160deg, #eceef6 0%, #f8f8fb 50%, #f3f4f8 100%);
}
.card[data-v-9cb89758] {
  width: min(400px, 92vw);
  border-radius: 16px;
  border: 1px solid #dddfec;
}
.logo[data-v-9cb89758] {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #5f6ac4, #939bdb);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
h1[data-v-9cb89758] {
  margin: 0 0 4px;
  font-size: 1.5rem;
}
.sub[data-v-9cb89758] {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 0.9rem;
}

.shell[data-v-97146558] {
  height: 100vh;
  overflow: hidden;
  background: #f3f4f8;
}
.aside[data-v-97146558] {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #1f2438;
  border-right: 1px solid #e4e6f0;
  box-shadow: 2px 0 16px rgba(31, 36, 56, 0.04);
}
.brand[data-v-97146558] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid #eef0f5;
  flex-shrink: 0;
}
.brand-mark[data-v-97146558] {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.brand-title[data-v-97146558] {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #1f2438;
}
.brand-sub[data-v-97146558] {
  margin-top: 2px;
  font-size: 0.72rem;
  color: #7a8098;
}
.side-menu[data-v-97146558] {
  border-right: none;
  background: transparent;
  padding: 12px 10px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.aside[data-v-97146558] .el-menu-item,
.aside[data-v-97146558] .el-sub-menu__title {
  color: #4a5168;
  border-radius: 10px;
  margin-bottom: 4px;
  height: 44px;
  line-height: 44px;
}
.aside[data-v-97146558] .el-menu-item:hover,
.aside[data-v-97146558] .el-sub-menu__title:hover {
  background: #eef0f9 !important;
  color: #1f2438;
}
.aside[data-v-97146558] .el-menu-item.is-active {
  background: #e8eaf8 !important;
  color: #4e59b0;
  font-weight: 600;
}
.aside[data-v-97146558] .el-menu-item.is-active .el-icon {
  color: #5f6ac4;
}
.aside[data-v-97146558] .el-sub-menu .el-menu {
  background: transparent !important;
}
.aside[data-v-97146558] .el-sub-menu .el-menu-item {
  padding-left: 48px !important;
  min-width: auto;
}
.main-wrap[data-v-97146558] {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.header[data-v-97146558] {
  height: 60px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e4e6f0;
}
.page-crumb[data-v-97146558] {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2438;
}
.header-right[data-v-97146558] {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-name[data-v-97146558] {
  color: #5a6178;
  font-size: 0.9rem;
}
.main[data-v-97146558] {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 20px 24px 28px;
}
.page-panel[data-v-97146558] {
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 14px;
  padding: 20px 22px 24px;
  box-shadow: 0 10px 30px rgba(31, 36, 56, 0.04);
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.page-panel.flush[data-v-97146558] {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.page-panel[data-v-97146558] > * {
  min-height: 0;
}
:root {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2438;
  background: #f3f4f8;
  /* 港湾靛 — soft indigo, calm tech */
  --cs-primary: #5f6ac4;
  --cs-primary-hover: #4e59b0;
  --cs-primary-soft: #939bdb;
  --cs-border: #dddfec;
  --cs-aside-width: 232px;
  --el-color-primary: #5f6ac4;
  --el-color-primary-light-3: #8b93d4;
  --el-color-primary-light-5: #b0b5e3;
  --el-color-primary-light-7: #d0d3ef;
  --el-color-primary-light-8: #e0e2f4;
  --el-color-primary-light-9: #eef0f9;
  --el-color-primary-dark-2: #4e59b0;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #f3f4f8;
}

a {
  color: inherit;
  text-decoration: none;
}

.el-button--primary {
  --el-button-bg-color: var(--cs-primary);
  --el-button-border-color: var(--cs-primary);
  --el-button-hover-bg-color: var(--cs-primary-hover);
  --el-button-hover-border-color: var(--cs-primary-hover);
}

.el-table {
  --el-table-header-bg-color: #f8fafc;
  --el-table-header-text-color: #475569;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 10px;
}

.filter-bar.el-form--inline .el-form-item {
  margin-right: 0;
  margin-bottom: 0;
  vertical-align: bottom;
}

.filter-bar .el-form-item__label {
  color: #4a5168;
  font-weight: 500;
  padding-right: 8px;
}

.filter-bar .el-input,
.filter-bar .el-select {
  width: 180px;
}

.filter-bar .el-date-editor {
  width: 280px;
}

.filter-bar .filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 查询 + 表格页：表体内部滚动 */
.page-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 0;
}

.page-list .toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.page-list .toolbar h2 {
  margin: 0;
  font-size: 1.25rem;
}

.page-list .filter-bar {
  flex-shrink: 0;
}

.page-list .table-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.page-list .table-wrap .el-table {
  height: 100%;
}

.page-list .el-table th.el-table__cell {
  background: #eef0f6 !important;
  color: #2a3048;
  font-weight: 600;
}

.page-list .pager {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}

/* 弹窗：最外层遮罩不出现滚动条，内容在弹窗内部滚动 */
.el-overlay-dialog {
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.el-dialog {
  margin: 0 !important;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.el-dialog__header,
.el-dialog__footer {
  flex-shrink: 0;
}

.el-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

/* 课件/讲义抽屉：铺满高度，只露出左侧菜单 */
.el-overlay.cw-drawer-overlay,
.el-overlay:has(.cw-drawer) {
  left: var(--cs-aside-width);
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
  height: auto;
}

.el-drawer.cw-drawer {
  height: 100% !important;
  width: 100% !important;
}

.el-drawer.cw-drawer .el-drawer__header {
  margin-bottom: 0;
  padding: 14px 20px;
  border-bottom: 1px solid var(--cs-border);
}

.el-drawer.cw-drawer .el-drawer__footer {
  position: relative;
  z-index: 6;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--cs-border);
  background: #fff;
  box-shadow: 0 -12px 28px rgba(31, 36, 56, 0.1);
}

.el-drawer.cw-drawer .el-drawer__footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 36px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.cw-color-popper {
  z-index: 5000 !important;
}

.el-drawer.cw-drawer .el-drawer__body {
  padding: 14px 20px 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
