:root {
  color-scheme: light;

  --font-sans: "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;

  --primary-color: #6e97c8;
  --primary-soft: #a7c3e3;
  --primary-deep: #385d8f;
  --accent-color: #b7d6dc;

  --success-color: #2d8b61;
  --warning-color: #d38a38;
  --danger-color: #bd6772;
  --info-color: #8090a7;

  --text-primary: #213149;
  --text-secondary: #617189;
  --text-tertiary: #909cb0;
  --text-placeholder: #aab4c2;

  --page-bg: #eff3f8;
  --page-gradient:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(176, 203, 235, 0.18), transparent 24%),
    radial-gradient(circle at 16% 100%, rgba(196, 221, 224, 0.14), transparent 28%),
    linear-gradient(145deg, #eef3f8 0%, #edf2f8 46%, #fafbfd 100%);

  --surface-glass: rgba(255, 255, 255, 0.74);
  --surface-glass-strong: rgba(255, 255, 255, 0.88);
  --surface-glass-soft: rgba(255, 255, 255, 0.58);
  --surface-tint: rgba(110, 151, 200, 0.07);
  --surface-tint-strong: rgba(110, 151, 200, 0.11);
  --surface-muted: rgba(245, 248, 251, 0.88);

  --border-soft: rgba(255, 255, 255, 0.78);
  --border-regular: rgba(146, 168, 197, 0.18);
  --border-strong: rgba(111, 139, 178, 0.22);

  --shadow-xs: 0 8px 18px rgba(104, 129, 165, 0.05);
  --shadow-sm: 0 16px 34px rgba(104, 129, 165, 0.08);
  --shadow-md: 0 22px 54px rgba(104, 129, 165, 0.1);
  --shadow-lg: 0 30px 80px rgba(104, 129, 165, 0.12);

  --blur-lg: blur(22px);
  --blur-md: blur(16px);
  --blur-sm: blur(12px);

  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 32px;

  --el-color-primary: var(--primary-color);
  --el-color-primary-light-3: #7fa4d7;
  --el-color-primary-light-5: #aac5e7;
  --el-color-primary-light-7: #d2dff1;
  --el-color-primary-light-8: #e0eaf6;
  --el-color-primary-light-9: #eef4fb;
  --el-color-primary-dark-2: var(--primary-deep);
  --el-color-success: var(--success-color);
  --el-color-warning: var(--warning-color);
  --el-color-danger: var(--danger-color);
  --el-color-info: var(--info-color);
  --el-border-radius-base: 14px;
  --el-border-radius-small: 12px;
  --el-border-color: rgba(126, 137, 153, 0.18);
  --el-border-color-light: rgba(126, 137, 153, 0.1);
  --el-fill-color-blank: rgba(255, 255, 255, 0.8);
  --el-bg-color: rgba(255, 255, 255, 0.62);
  --el-bg-color-page: transparent;
  --el-mask-color: rgba(231, 236, 242, 0.46);
  --el-text-color-primary: var(--text-primary);
  --el-text-color-regular: var(--text-secondary);
  --el-text-color-secondary: var(--text-tertiary);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html,
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--page-bg);
  background-image: var(--page-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(72px);
  opacity: 0.72;
}

body::before {
  top: -150px;
  right: -70px;
  width: 360px;
  height: 360px;
  background: rgba(142, 174, 219, 0.26);
}

body::after {
  left: -130px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  background: rgba(165, 201, 203, 0.18);
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(103, 136, 183, 0.26);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(76, 108, 154, 0.42);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.app-layout {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  gap: 20px;
  padding: 18px;
}

.sidebar {
  width: 272px;
  flex-shrink: 0;
  transition: width 0.28s ease;
  position: sticky;
  top: 18px;
  align-self: flex-start;
  height: calc(100vh - 36px);
  z-index: 10;
}

.sidebar.collapsed {
  width: 96px;
}

.sidebar-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 14px 14px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.88), rgba(238, 244, 251, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(111, 133, 166, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.logo,
.menu-groups,
.sidebar-footer {
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 8px 10px 18px;
  margin-bottom: 8px;
}

.logo-badge {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dce8f5 0%, #adc5e1 54%, #bfd9dd 100%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 22px rgba(128, 151, 184, 0.16);
  color: #f7fbff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.09em;
}

.logo-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-subtitle {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-groups {
  flex: 1;
  padding-top: 10px;
  overflow-y: auto;
}

.menu-group + .menu-group {
  margin-top: 14px;
}

.sidebar .el-menu {
  border-right: none;
  background: transparent !important;
}

.sidebar .el-menu-item,
.sidebar .el-sub-menu__title {
  position: relative;
  height: 50px;
  line-height: 50px;
  margin: 0 4px 6px;
  margin-bottom: 6px;
  border-radius: 16px;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  overflow: hidden;
}

.sidebar .el-menu-item:hover,
.sidebar .el-sub-menu__title:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.48) !important;
}

.sidebar .el-menu-item.is-active {
  color: var(--primary-deep);
  background:
    linear-gradient(180deg, rgba(251, 253, 255, 0.99), rgba(217, 232, 247, 0.95)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.74), transparent 48%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 18px 28px rgba(119, 144, 180, 0.24),
    0 6px 12px rgba(119, 144, 180, 0.16);
  transform: translateY(-2px);
}

.sidebar .el-menu-item.is-active::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(255, 255, 255, 0.58),
    inset 0 -10px 18px rgba(154, 181, 214, 0.1);
  pointer-events: none;
}

.sidebar .el-menu-item .el-icon,
.sidebar .el-sub-menu__title .el-icon {
  font-size: 16px;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 8px 0;
}

.sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.meta-label {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-deep);
}

.sidebar-toggle {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 15px;
  color: var(--text-secondary);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(230, 237, 247, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 18px rgba(97, 124, 161, 0.12);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sidebar-toggle:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 22px rgba(97, 124, 161, 0.16);
}

.main-container {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 8;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 0 14px 0 0;
  margin-bottom: 18px;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(246, 250, 254, 0.96) 0%, rgba(219, 232, 247, 0.92) 54%, rgba(247, 250, 254, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(111, 133, 166, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(158, 180, 208, 0.08) 100%);
  pointer-events: none;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  opacity: 0.9;
  pointer-events: none;
}

.topbar-left,
.topbar-right {
  position: relative;
  z-index: 1;
}

.topbar-left {
  flex: 1;
  min-width: 0;
  padding: 20px 28px;
  border-radius: 24px;
  background: transparent;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 8px 18px 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #7187a7;
  text-transform: uppercase;
}

.page-title {
  margin: 10px 0 4px;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: 0.01em;
  color: #20314a;
}

.page-description {
  margin: 0;
  max-width: 720px;
  color: var(--text-secondary);
}

.status-chip,
.icon-button,
.user-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 16px rgba(111, 133, 166, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.status-chip::after,
.icon-button::after,
.user-info::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
  pointer-events: none;
}

.status-chip {
  gap: 8px;
  padding: 0 18px;
  height: 42px;
  color: var(--text-secondary);
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6bc992;
  box-shadow: 0 0 0 6px rgba(107, 201, 146, 0.16);
}

.icon-button {
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.notification-icon {
  font-size: 18px;
  color: var(--text-secondary);
}

.user-info {
  gap: 12px;
  padding: 8px 16px 8px 10px;
  cursor: pointer;
}

.user-avatar {
  background: linear-gradient(135deg, #d9e4f0 0%, #90b7d7 60%, #b2d2d3 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 18px rgba(90, 126, 171, 0.16);
}

.user-name {
  font-weight: 700;
  color: var(--text-primary);
}

.user-role {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.content {
  padding: 18px 2px 2px;
}

.module-content {
  position: relative;
  min-height: calc(100vh - 154px);
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  overflow: hidden;
}

.module-content::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(209, 223, 242, 0.08), transparent 58%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 0 22px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.module-content > * {
  position: relative;
  z-index: 1;
}

.toolbar {
  margin-bottom: 18px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.el-card,
.el-dialog,
.el-popover.el-popper,
.el-dropdown-menu {
  border-radius: 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.56) !important;
  background: var(--surface-glass-strong) !important;
  box-shadow: var(--shadow-sm) !important;
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
}

.el-card {
  overflow: hidden;
}

.el-card__body,
.el-dialog__body,
.el-dialog__header,
.el-dialog__footer {
  position: relative;
}

.el-card::before,
.el-dialog::before,
.el-popover.el-popper::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.76),
    inset 0 0 24px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.el-table {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.64) !important;
  border: 1px solid rgba(126, 137, 153, 0.08);
  --el-table-border-color: rgba(130, 148, 177, 0.12);
  --el-table-header-bg-color: rgba(248, 249, 251, 0.9);
  --el-table-tr-bg-color: rgba(255, 255, 255, 0.86);
  --el-table-row-hover-bg-color: rgba(143, 160, 183, 0.09);
  --el-fill-color-lighter: rgba(247, 249, 252, 0.9);
}

.el-table::before {
  display: none;
}

.el-table th.el-table__cell {
  color: var(--text-secondary);
  font-weight: 600;
  background: rgba(247, 248, 250, 0.82) !important;
  border-bottom: 1px solid rgba(126, 137, 153, 0.08);
}

.el-table td.el-table__cell {
  border-bottom: 1px solid rgba(126, 137, 153, 0.08);
}

.el-table tr:nth-child(odd) > td.el-table__cell {
  background: rgba(255, 255, 255, 0.9) !important;
}

.el-table tr:nth-child(even) > td.el-table__cell {
  background: rgba(236, 243, 251, 0.72) !important;
}

.el-table .el-table__row:hover > td.el-table__cell {
  background: rgba(221, 233, 248, 0.88) !important;
}

.el-table__inner-wrapper,
.el-table__body-wrapper,
.el-table__header-wrapper {
  background: transparent !important;
}

.el-button {
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.el-button--primary {
  color: #f7f8fb;
  background: linear-gradient(135deg, #83a8d6, #5f88bc);
  border-color: transparent;
}

.el-button--success {
  color: #f7f8fb;
  background: linear-gradient(135deg, #48ab82, #2f946b);
  border-color: transparent;
}

.el-button--info {
  color: #f7f8fb;
  background: linear-gradient(135deg, #aab4c1, #8a98aa);
  border-color: transparent;
}

.el-button--primary.is-link,
.el-button--primary.is-text {
  color: #315f96;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.el-button--danger.is-link,
.el-button--danger.is-text {
  color: #9d4c56;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.el-button--danger {
  color: #f7f8fb;
  background: linear-gradient(135deg, #c9828a, #b95f69);
  border-color: transparent;
}

.el-button.is-plain {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(142, 158, 181, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 16px rgba(112, 136, 168, 0.08);
}

.el-button--primary.is-plain {
  color: #315f96;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.9), rgba(226, 239, 252, 0.78));
  border-color: rgba(83, 129, 183, 0.34);
}

.el-button--success.is-plain {
  color: #276f50;
  background: linear-gradient(180deg, rgba(248, 253, 250, 0.9), rgba(226, 246, 236, 0.78));
  border-color: rgba(47, 148, 107, 0.34);
}

.el-button--warning.is-plain {
  color: #9b651f;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(250, 236, 216, 0.8));
  border-color: rgba(191, 128, 45, 0.34);
}

.el-button--danger.is-plain {
  color: #9d4c56;
  background: linear-gradient(180deg, rgba(255, 249, 249, 0.92), rgba(248, 226, 229, 0.8));
  border-color: rgba(185, 95, 105, 0.36);
}

.el-button--info.is-plain {
  color: #58677a;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.92), rgba(232, 238, 246, 0.82));
  border-color: rgba(128, 144, 167, 0.34);
}

.el-table .el-button.is-plain,
.el-table .el-button--warning,
.el-table .el-button--success {
  min-width: 70px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 14px rgba(99, 123, 157, 0.1);
}

.el-input__wrapper,
.el-textarea__inner,
.el-select__wrapper,
.el-date-editor.el-input__wrapper,
.el-input-number,
.el-input-number .el-input__wrapper {
  border-radius: 14px !important;
  background: var(--surface-glass-strong) !important;
  border: 1px solid rgba(255, 255, 255, 0.56) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 0 1px rgba(133, 152, 181, 0.08) !important;
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
}

.el-tabs__header {
  margin-bottom: 22px;
  overflow: visible;
}

.el-tabs__nav-wrap {
  overflow: visible;
}

.el-tabs__nav-wrap::after {
  background-color: rgba(173, 192, 216, 0.2);
  height: 1px;
}

.el-tabs__nav-scroll,
.el-tabs__nav {
  overflow: visible;
}

.el-tabs__item {
  position: relative;
  z-index: 1;
  height: 38px;
  padding: 0 18px;
  border-radius: 14px 14px 0 0;
  color: rgba(88, 107, 132, 0.9);
  font-weight: 600;
  transition: color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  overflow: hidden;
}

.el-tabs__item:hover,
.el-tabs__item.is-active {
  color: var(--primary-deep);
}

.el-tabs__item.is-active {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.el-tabs__active-bar {
  z-index: 0;
  bottom: 0;
  height: 36px;
  border-radius: 15px 15px 0 0;
  background:
    linear-gradient(180deg, rgba(250, 253, 255, 0.98), rgba(217, 232, 247, 0.94)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 16px 26px rgba(119, 144, 180, 0.22),
    0 5px 10px rgba(119, 144, 180, 0.14);
  transition: width 0.34s cubic-bezier(0.22, 1, 0.36, 1), transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.el-tag {
  border-radius: 999px;
  font-weight: 600;
}

.el-tag.el-tag--primary {
  color: #315f96;
  background: rgba(226, 239, 252, 0.82);
  border-color: rgba(83, 129, 183, 0.28);
}

.el-tag.el-tag--success {
  color: #276f50;
  background: rgba(226, 246, 236, 0.82);
  border-color: rgba(47, 148, 107, 0.28);
}

.el-tag.el-tag--warning {
  color: #9b651f;
  background: rgba(250, 236, 216, 0.82);
  border-color: rgba(191, 128, 45, 0.28);
}

.el-tag.el-tag--danger {
  color: #9d4c56;
  background: rgba(248, 226, 229, 0.82);
  border-color: rgba(185, 95, 105, 0.3);
}

.el-tag.el-tag--info {
  color: #58677a;
  background: rgba(232, 238, 246, 0.84);
  border-color: rgba(128, 144, 167, 0.28);
}

.el-radio-group {
  position: relative;
  padding: 4px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.84), rgba(238, 244, 251, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 8px 18px rgba(128, 151, 184, 0.08);
  overflow: visible;
}

.el-radio-group::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(250, 253, 255, 0.99), rgba(218, 232, 247, 0.95)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.76), transparent 50%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 16px 24px rgba(119, 144, 180, 0.24),
    0 5px 10px rgba(119, 144, 180, 0.16);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), width 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.el-radio-group:has(.el-radio-button:nth-child(1) .el-radio-button__original-radio:checked)::before {
  transform: translateX(0);
}

.el-radio-group:has(.el-radio-button:nth-child(2) .el-radio-button__original-radio:checked)::before {
  transform: translateX(100%);
}

.el-radio-group:has(.el-radio-button:nth-child(3))::before {
  width: calc((100% - 8px) / 3);
}

.el-radio-group:has(.el-radio-button:nth-child(3) .el-radio-button__original-radio:checked)::before {
  transform: translateX(200%);
}

.el-radio-button {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.el-radio-button__inner {
  border: none !important;
  background: transparent !important;
  color: rgba(92, 110, 134, 0.9) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-width: 94px;
  transition: background 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease, color 0.26s ease !important;
  position: relative;
  overflow: hidden;
}

.el-radio-button:not(:first-child) .el-radio-button__inner {
  border-left: 0 !important;
}

.el-radio-button:first-child .el-radio-button__inner,
.el-radio-button:last-child .el-radio-button__inner {
  border-radius: 0 !important;
}

.el-radio-button__original-radio:checked + .el-radio-button__inner {
  color: var(--primary-deep) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none;
}

.notification-panel .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(128, 144, 168, 0.12);
}

.notification-panel .title {
  font-weight: 700;
  color: var(--text-primary);
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

.notification-popover {
  overflow: hidden;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 13px;
  margin-bottom: 10px;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.notification-item:hover {
  transform: translateY(-1px);
  background: rgba(241, 246, 252, 0.84);
}

.notification-item.unread {
  background: rgba(232, 240, 250, 0.76);
}

.notification-item.unread:hover {
  background: rgba(225, 235, 247, 0.92);
}

.item-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-icon.fault {
  color: #b95f69;
  background: rgba(189, 103, 114, 0.14);
}

.item-icon.warning {
  color: #c78432;
  background: rgba(211, 138, 56, 0.16);
}

.item-icon.notice {
  color: #4d78b9;
  background: rgba(77, 120, 185, 0.13);
}

.item-content {
  flex: 1;
  min-width: 0;
}

.item-title {
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--text-primary);
}

.item-desc {
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-time,
.detail-time {
  font-size: 12px;
  color: var(--text-tertiary);
}

.notification-detail .detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.notification-detail .detail-content {
  line-height: 1.8;
  color: #33445d;
  white-space: pre-wrap;
  word-break: break-word;
}

.reliability-dialog.el-dialog {
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid rgba(223, 231, 242, 0.96) !important;
  box-shadow:
    0 28px 60px rgba(54, 74, 102, 0.18),
    0 8px 22px rgba(84, 104, 132, 0.12) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden;
}

.reliability-dialog.el-dialog::before {
  display: none;
  content: none;
}

.reliability-dialog .el-dialog__header {
  margin: 0;
  padding: 26px 28px 14px;
  border-bottom: 1px solid rgba(235, 240, 247, 0.92);
}

.reliability-dialog .el-dialog__title {
  color: #2f4361;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.reliability-dialog .el-dialog__headerbtn {
  top: 22px;
  right: 24px;
}

.reliability-dialog .el-dialog__close {
  color: #93a4bf;
}

.reliability-dialog .el-dialog__body {
  padding: 20px 28px 24px;
  color: #33445d;
}

.reliability-dialog .el-dialog__footer {
  padding: 0 28px 24px;
}

.notification-detail-dialog .el-dialog__body {
  max-height: min(60vh, 560px);
  overflow-y: auto;
}

.notification-detail-dialog .notification-detail {
  display: grid;
  gap: 16px;
}

.notification-detail-dialog .detail-header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(235, 240, 247, 0.92);
}

.notification-detail-dialog .detail-time {
  margin-top: 0;
}

.record-detail-dialog .el-dialog__body {
  max-height: min(68vh, 720px);
  overflow-y: auto;
}

.record-detail-dialog .el-table {
  border-radius: 18px;
}

.user-panel .user-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.user-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  cursor: pointer;
  color: #4f627f;
  transition: background 0.22s ease, transform 0.22s ease;
}

.user-menu .menu-item:hover {
  background: rgba(240, 245, 251, 0.88);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.el-alert {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.el-empty {
  padding: 42px 20px;
}

@media (max-width: 1200px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-right {
    justify-content: flex-end;
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  .app-layout {
    flex-direction: column;
    padding: 14px;
  }

  .sidebar,
  .sidebar.collapsed {
    width: 100%;
  }

  .sidebar-shell {
    min-height: auto;
    position: static;
  }

  .content {
    padding-top: 14px;
  }

  .module-content {
    padding: 20px;
  }

  .topbar-left {
    padding: 16px 20px;
  }

  .topbar-right {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0 6px 6px;
  }

  .page-title {
    font-size: 24px;
  }
}
