/* 高亮色 ↔ 左侧菜单选中 / 标签下划线；主题色 = 整页背景配色 */

/* LOGO 文字样式 */
.sidebar-header .logo-text,
.login-header .logo-text {
  display: inline-block;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #2c3e50;
  text-decoration: none;
  padding: 16px 0;
}
.sidebar-header .logo-text .logo-accent,
.login-header .logo-text .logo-accent {
  color: var(--lyear-accent, #33cabb);
}
.sidebar-header .logo-text .logo-suffix,
.login-header .logo-text .logo-suffix {
  transition: opacity 0.2s;
}
/* 收起侧边栏时隐藏 Admin */
body.lyear-layout-sidebar-close .sidebar-header .logo-text .logo-suffix {
  display: none;
}
.login-header .logo-text {
  font-size: 28px;
  padding: 0;
  margin-bottom: 8px;
}

/* 暗色主题 LOGO */
body[data-theme='dark'] .sidebar-header .logo-text,
body[data-theme='dark'][data-logobg] .sidebar-header .logo-text {
  color: #c5c8d4;
}
body[data-theme='dark'] .sidebar-header .logo-text .logo-accent,
body[data-theme='dark'][data-logobg] .sidebar-header .logo-text .logo-accent {
  color: var(--lyear-accent, #33cabb);
}

/* 半透明/彩色主题 LOGO */
body[data-theme='translucent'] .sidebar-header .logo-text,
body[data-theme='color_4'] .sidebar-header .logo-text,
body[data-theme='color_5'] .sidebar-header .logo-text,
body[data-theme='color_6'] .sidebar-header .logo-text,
body[data-theme='translucent'][data-logobg] .sidebar-header .logo-text,
body[data-theme='color_4'][data-logobg] .sidebar-header .logo-text,
body[data-theme='color_5'][data-logobg] .sidebar-header .logo-text,
body[data-theme='color_6'][data-logobg] .sidebar-header .logo-text {
  color: rgba(255, 255, 255, 0.92);
}
body[data-theme='translucent'] .sidebar-header .logo-text .logo-accent,
body[data-theme='color_4'] .sidebar-header .logo-text .logo-accent,
body[data-theme='color_5'] .sidebar-header .logo-text .logo-accent,
body[data-theme='color_6'] .sidebar-header .logo-text .logo-accent,
body[data-theme='translucent'][data-logobg] .sidebar-header .logo-text .logo-accent,
body[data-theme='color_4'][data-logobg] .sidebar-header .logo-text .logo-accent,
body[data-theme='color_5'][data-logobg] .sidebar-header .logo-text .logo-accent,
body[data-theme='color_6'][data-logobg] .sidebar-header .logo-text .logo-accent {
  color: #fff;
}

/* 登录页 LOGO 适配 */
.login-header .logo-text {
  color: #2c3e50;
}
.login-header .logo-text .logo-accent {
  color: var(--lyear-accent, #33cabb);
}

/* 彩色 LOGO 背景 → 白色文字 */
body[data-logobg='color_2'] .sidebar-header .logo-text,
body[data-logobg='color_3'] .sidebar-header .logo-text,
body[data-logobg='color_4'] .sidebar-header .logo-text,
body[data-logobg='color_5'] .sidebar-header .logo-text,
body[data-logobg='color_6'] .sidebar-header .logo-text,
body[data-logobg='color_7'] .sidebar-header .logo-text,
body[data-logobg='color_8'] .sidebar-header .logo-text {
  color: #fff;
}
body[data-logobg='color_2'] .sidebar-header .logo-text .logo-accent,
body[data-logobg='color_3'] .sidebar-header .logo-text .logo-accent,
body[data-logobg='color_4'] .sidebar-header .logo-text .logo-accent,
body[data-logobg='color_5'] .sidebar-header .logo-text .logo-accent,
body[data-logobg='color_6'] .sidebar-header .logo-text .logo-accent,
body[data-logobg='color_7'] .sidebar-header .logo-text .logo-accent,
body[data-logobg='color_8'] .sidebar-header .logo-text .logo-accent {
  color: rgba(255, 255, 255, 0.85);
}

/* 顶栏与内容区贴齐（原 padding-top:68 比顶栏 64 多出空白） */
.lyear-layout-content {
  padding-top: 64px;
}

/*
 * 可滚动 + 隐藏滚动条：
 * 外壳不滚；iframe 内容页正常滚动，但滚动条不可见。
 * 注意：勿对全局 html/body 写 overflow:hidden，否则 iframe 页也被锁死。
 */
body:not(.admin-iframe):not(.install-page) {
  overflow: hidden;
  height: 100%;
}
body.install-page {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.lyear-layout-web,
.lyear-layout-container {
  height: 100%;
  overflow: hidden;
}
.lyear-layout-content {
  overflow: hidden;
}
.lyear-layout-content #iframe-content,
.lyear-layout-content #iframe-content .mt-wrapper {
  height: 100%;
  overflow: hidden;
}
.lyear-layout-content #iframe-content .mt-tab-content {
  overflow: hidden !important;
  height: 100%;
}
/* 勿写 display:block —— 会盖掉 Bootstrap .tab-pane 的 display:none，导致多层 iframe 叠住点不到链接 */
.lyear-layout-content #iframe-content .mt-tab-content > iframe {
  border: 0 !important;
  width: 100%;
}
.lyear-layout-content #iframe-content .mt-tab-content > iframe.tab-pane.active {
  display: block;
}

/* iframe 内容页：可滚动，隐藏滚动条 */
html.admin-iframe-html,
html:has(body.admin-iframe),
body.admin-iframe {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge legacy */
}
html.admin-iframe-html::-webkit-scrollbar,
html:has(body.admin-iframe)::-webkit-scrollbar,
body.admin-iframe::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent;
}

/* 全局圆角 */
.card {
  border-radius: 12px !important;
}
.card-header:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.card-footer:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.btn,
.btn-group-sm > .btn,
.btn-sm,
.btn-group-lg > .btn,
.btn-lg,
.btn-xs,
.btn-group-xs > .btn {
  border-radius: 8px !important;
}
.form-control,
select.form-control,
textarea.form-control,
.input-group .form-control,
.input-group-addon,
.well,
.group-assign-box {
  border-radius: 8px !important;
}
.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.dropdown-menu {
  border-radius: 8px !important;
}

/* 自定义 select：展开面板与点击框同色同圆角（绕过系统原生 option 弹层） */
.lyear-select {
  position: relative;
  display: block;
  width: 100%;
  vertical-align: middle;
}
.form-inline .lyear-select {
  display: inline-block;
  width: auto;
  min-width: 120px;
}
.lyear-select-native {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
}
.lyear-select-toggle.form-control {
  position: relative;
  display: block;
  width: 100%;
  padding-right: 28px !important;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.lyear-select-caret {
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -0.5em;
  line-height: 1;
  opacity: 0.75;
  pointer-events: none;
  font-size: 16px;
}
.lyear-select-menu.dropdown-menu {
  width: 100%;
  min-width: 100%;
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  margin-top: 4px;
  border-radius: 8px !important;
  padding: 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lyear-select-menu.dropdown-menu::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
.lyear-select-menu > li > a {
  padding: 7px 12px;
}
.lyear-select.disabled .lyear-select-toggle {
  cursor: not-allowed;
  opacity: 0.65;
}

/* —— 高亮色：左侧选中条 / 子菜单文字 —— */
.nav-drawer > .active > a,
.nav-drawer > .active > a:hover,
.nav-drawer > .active > a:focus,
.nav-drawer > .active > a:active {
  border-color: var(--lyear-accent, #33cabb);
}
.nav-drawer .nav-subnav > li.active > a,
.nav-drawer .nav-subnav > li > a:hover {
  color: var(--lyear-accent, #33cabb);
}

/* 多标签栏 / 页内 tabs 跟随高亮色 */
.mt-nav .nav-tabs > li.active > a,
.mt-nav .nav-tabs > li.active > a:focus,
.mt-nav .nav-tabs > li.active > a:hover {
  color: var(--lyear-accent, #33cabb);
  border-bottom-color: var(--lyear-accent, #33cabb);
}
.mt-nav .nav-tabs.nav > li > a:hover,
.mt-nav .nav-tabs.nav > li > a:focus {
  border-bottom-color: var(--lyear-accent, #33cabb);
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  border-bottom-color: var(--lyear-accent, #33cabb);
}
.nav-tabs.nav > li > a:hover,
.nav-tabs.nav > li > a:focus {
  border-bottom-color: var(--lyear-accent, #33cabb);
}
.nav-tabs-line > li.active > a,
.nav-tabs-line > li.active > a:hover,
.nav-tabs-line > li.active > a:focus {
  border-bottom-color: var(--lyear-accent, #33cabb);
  color: var(--lyear-accent, #33cabb);
}

body[data-accent='default'],
body:not([data-accent]) {
  --lyear-accent: #33cabb;
}
body[data-accent='color_2'] { --lyear-accent: #15c377; }
body[data-accent='color_3'] { --lyear-accent: #48b0f7; }
body[data-accent='color_4'] { --lyear-accent: #f96868; }
body[data-accent='color_5'] { --lyear-accent: #926dde; }
body[data-accent='color_6'] { --lyear-accent: #faa64b; }

/* 主题色块预览 */
#site_theme_2 + label {
  background-color: #465161 !important;
  border-color: #465161 !important;
}
#site_theme_4 + label {
  background-color: #f96868 !important;
  border-color: #f96868 !important;
}
#site_theme_5 + label {
  background-color: #926dde !important;
  border-color: #926dde !important;
}
#site_theme_6 + label {
  background-color: #faa64b !important;
  border-color: #faa64b !important;
}
#site_accent_6 + label {
  background-color: #faa64b !important;
  border-color: #faa64b !important;
}

/* —— 整页彩色主题（红 / 紫 / 橙） —— */
body[data-theme='color_4'],
body[data-theme='color_5'],
body[data-theme='color_6'] {
  color: rgba(255, 255, 255, 0.9);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
body[data-theme='color_4'] {
  background: linear-gradient(135deg, #ff8a80 0%, #e53935 55%, #b71c1c 100%);
}
body[data-theme='color_5'] {
  background: linear-gradient(135deg, #b39ddb 0%, #7e57c2 55%, #4527a0 100%);
}
body[data-theme='color_6'] {
  background: linear-gradient(135deg, #ffcc80 0%, #faa64b 45%, #ef6c00 100%);
}

body[data-theme='color_4'] ::-webkit-input-placeholder,
body[data-theme='color_5'] ::-webkit-input-placeholder,
body[data-theme='color_6'] ::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.75);
}

body[data-theme='color_4'] a,
body[data-theme='color_4'] h1,
body[data-theme='color_4'] h2,
body[data-theme='color_4'] h3,
body[data-theme='color_4'] h4,
body[data-theme='color_4'] h5,
body[data-theme='color_4'] h6,
body[data-theme='color_5'] a,
body[data-theme='color_5'] h1,
body[data-theme='color_5'] h2,
body[data-theme='color_5'] h3,
body[data-theme='color_5'] h4,
body[data-theme='color_5'] h5,
body[data-theme='color_5'] h6,
body[data-theme='color_6'] a,
body[data-theme='color_6'] h1,
body[data-theme='color_6'] h2,
body[data-theme='color_6'] h3,
body[data-theme='color_6'] h4,
body[data-theme='color_6'] h5,
body[data-theme='color_6'] h6 {
  color: rgba(255, 255, 255, 0.92);
}

/* 内容卡片半透明 */
body[data-theme='color_4'] .card,
body[data-theme='color_5'] .card,
body[data-theme='color_6'] .card {
  background-color: rgba(0, 0, 0, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme='color_4'] .lyear-layout-content,
body[data-theme='color_5'] .lyear-layout-content,
body[data-theme='color_6'] .lyear-layout-content {
  background-color: transparent;
}

/*
 * 红/紫/橙主题：侧栏 / LOGO / 顶栏 与「半透明」主题一致（透出主题底色 + 浅色文字）
 * 盖过「侧边栏/头部=白或独立色」，避免顶栏红一块、侧栏另一块
 */
body[data-theme='color_4'] .sidebar-header,
body[data-theme='color_4'] .lyear-layout-sidebar-scroll,
body[data-theme='color_4'] .lyear-layout-header,
body[data-theme='color_4'] .lyear-layout-header .navbar,
body[data-theme='color_4'] .lyear-layout-header .navbar-default,
body[data-theme='color_5'] .sidebar-header,
body[data-theme='color_5'] .lyear-layout-sidebar-scroll,
body[data-theme='color_5'] .lyear-layout-header,
body[data-theme='color_5'] .lyear-layout-header .navbar,
body[data-theme='color_5'] .lyear-layout-header .navbar-default,
body[data-theme='color_6'] .sidebar-header,
body[data-theme='color_6'] .lyear-layout-sidebar-scroll,
body[data-theme='color_6'] .lyear-layout-header,
body[data-theme='color_6'] .lyear-layout-header .navbar,
body[data-theme='color_6'] .lyear-layout-header .navbar-default,
body[data-theme='color_4'][data-sidebarbg] .lyear-layout-sidebar-scroll,
body[data-theme='color_4'][data-logobg] .sidebar-header,
body[data-theme='color_4'][data-headerbg] .lyear-layout-header,
body[data-theme='color_5'][data-sidebarbg] .lyear-layout-sidebar-scroll,
body[data-theme='color_5'][data-logobg] .sidebar-header,
body[data-theme='color_5'][data-headerbg] .lyear-layout-header,
body[data-theme='color_6'][data-sidebarbg] .lyear-layout-sidebar-scroll,
body[data-theme='color_6'][data-logobg] .sidebar-header,
body[data-theme='color_6'][data-headerbg] .lyear-layout-header,
body[data-theme='color_4'][data-sidebarbg*='color_'] .lyear-layout-sidebar-scroll,
body[data-theme='color_4'][data-logobg*='color_'] .sidebar-header,
body[data-theme='color_4'][data-headerbg*='color_'] .lyear-layout-header,
body[data-theme='color_5'][data-sidebarbg*='color_'] .lyear-layout-sidebar-scroll,
body[data-theme='color_5'][data-logobg*='color_'] .sidebar-header,
body[data-theme='color_5'][data-headerbg*='color_'] .lyear-layout-header,
body[data-theme='color_6'][data-sidebarbg*='color_'] .lyear-layout-sidebar-scroll,
body[data-theme='color_6'][data-logobg*='color_'] .sidebar-header,
body[data-theme='color_6'][data-headerbg*='color_'] .lyear-layout-header {
  background-color: rgba(0, 0, 0, 0.075) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: none !important;
}
body[data-theme='color_4'] .sidebar-footer,
body[data-theme='color_5'] .sidebar-footer,
body[data-theme='color_6'] .sidebar-footer,
body[data-theme='color_4'][data-sidebarbg] .sidebar-footer,
body[data-theme='color_5'][data-sidebarbg] .sidebar-footer,
body[data-theme='color_6'][data-sidebarbg] .sidebar-footer {
  color: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background-color: transparent !important;
}
body[data-theme='color_4'] .sidebar-header img,
body[data-theme='color_5'] .sidebar-header img,
body[data-theme='color_6'] .sidebar-header img {
  filter: brightness(275%);
}
body[data-theme='color_4'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_4'] .lyear-layout-header .topbar-right > li > a,
body[data-theme='color_4'] .lyear-layout-header .topbar-profile-name,
body[data-theme='color_4'] .lyear-layout-header .topbar-profile-caret,
body[data-theme='color_5'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_5'] .lyear-layout-header .topbar-right > li > a,
body[data-theme='color_5'] .lyear-layout-header .topbar-profile-name,
body[data-theme='color_5'] .lyear-layout-header .topbar-profile-caret,
body[data-theme='color_6'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_6'] .lyear-layout-header .topbar-right > li > a,
body[data-theme='color_6'] .lyear-layout-header .topbar-profile-name,
body[data-theme='color_6'] .lyear-layout-header .topbar-profile-caret,
body[data-theme='color_4'][data-headerbg] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_4'][data-headerbg] .lyear-layout-header .topbar-right > li > a,
body[data-theme='color_4'][data-headerbg*='color_'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_4'][data-headerbg*='color_'] .lyear-layout-header .topbar-right > li > a,
body[data-theme='color_5'][data-headerbg] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_5'][data-headerbg] .lyear-layout-header .topbar-right > li > a,
body[data-theme='color_5'][data-headerbg*='color_'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_5'][data-headerbg*='color_'] .lyear-layout-header .topbar-right > li > a,
body[data-theme='color_6'][data-headerbg] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_6'][data-headerbg] .lyear-layout-header .topbar-right > li > a,
body[data-theme='color_6'][data-headerbg*='color_'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_6'][data-headerbg*='color_'] .lyear-layout-header .topbar-right > li > a {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* 多标签栏：底边线通铺全宽；图标/文字与主体 container-fluid 左右对齐 */
.lyear-layout-content #iframe-content .mt-nav-bar {
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 0 15px; /* 与 .container-fluid 左右内边距一致 */
  border-bottom: 1px solid var(--lyear-border, #eceeef);
  box-sizing: border-box;
}
.lyear-layout-content #iframe-content .mt-nav-bar .mt-nav {
  margin-left: 0;
  margin-right: 0;
}
.lyear-layout-content #iframe-content .mt-nav-bar .mt-nav .nav-tabs {
  border-bottom: none !important;
  margin-bottom: 0;
}

body[data-theme='color_4'] .lyear-layout-content #iframe-content .mt-nav-bar,
body[data-theme='color_5'] .lyear-layout-content #iframe-content .mt-nav-bar,
body[data-theme='color_6'] .lyear-layout-content #iframe-content .mt-nav-bar,
body[data-theme='dark'] .lyear-layout-content #iframe-content .mt-nav-bar,
body[data-theme='translucent'] .lyear-layout-content #iframe-content .mt-nav-bar {
  border-bottom-color: var(--lyear-border, rgba(255, 255, 255, 0.08));
}

/* 顶栏底线、侧栏脚部分割线：与表格行线同色 */
body[data-theme='dark'] .sidebar-footer,
body[data-theme='dark'] .lyear-layout-content #iframe-content .mt-nav-bar,
body[data-theme='dark'] .mt-nav-bar .mt-nav .nav-tabs {
  border-color: #303243 !important;
  border-top-color: #303243 !important;
  border-bottom-color: #303243 !important;
}
body[data-theme='translucent'] .sidebar-footer,
body[data-theme='translucent'] .lyear-layout-content #iframe-content .mt-nav-bar,
body[data-theme='color_4'] .sidebar-footer,
body[data-theme='color_4'] .lyear-layout-content #iframe-content .mt-nav-bar,
body[data-theme='color_5'] .sidebar-footer,
body[data-theme='color_5'] .lyear-layout-content #iframe-content .mt-nav-bar,
body[data-theme='color_6'] .sidebar-footer,
body[data-theme='color_6'] .lyear-layout-content #iframe-content .mt-nav-bar {
  border-color: rgba(255, 255, 255, 0.08) !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* 多标签栏与内容区同色（透明，不要黑灰底） */
body[data-theme='color_4'] .mt-nav-bar,
body[data-theme='color_4'] .mt-nav,
body[data-theme='color_5'] .mt-nav-bar,
body[data-theme='color_5'] .mt-nav,
body[data-theme='color_6'] .mt-nav-bar,
body[data-theme='color_6'] .mt-nav,
body[data-theme='translucent'] .mt-nav-bar,
body[data-theme='translucent'] .mt-nav {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body[data-theme='color_4'] .sidebar-footer,
body[data-theme='color_4'] .card-header,
body[data-theme='color_4'] .modal-header,
body[data-theme='color_4'] .modal-footer,
body[data-theme='color_5'] .sidebar-footer,
body[data-theme='color_5'] .card-header,
body[data-theme='color_5'] .modal-header,
body[data-theme='color_5'] .modal-footer,
body[data-theme='color_6'] .sidebar-footer,
body[data-theme='color_6'] .card-header,
body[data-theme='color_6'] .modal-header,
body[data-theme='color_6'] .modal-footer {
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-theme='color_4'] .lyear-aside-toggler .lyear-toggler-bar,
body[data-theme='color_5'] .lyear-aside-toggler .lyear-toggler-bar,
body[data-theme='color_6'] .lyear-aside-toggler .lyear-toggler-bar {
  background-color: rgba(255, 255, 255, 0.9);
}

body[data-theme='color_4'] .nav-drawer > li > a,
body[data-theme='color_5'] .nav-drawer > li > a,
body[data-theme='color_6'] .nav-drawer > li > a,
body[data-theme='color_4'][data-sidebarbg] .nav-drawer > li > a,
body[data-theme='color_5'][data-sidebarbg] .nav-drawer > li > a,
body[data-theme='color_6'][data-sidebarbg] .nav-drawer > li > a {
  color: rgba(255, 255, 255, 0.88) !important;
}
body[data-theme='color_4'] .nav-drawer > .active > a,
body[data-theme='color_5'] .nav-drawer > .active > a,
body[data-theme='color_6'] .nav-drawer > .active > a {
  background-color: rgba(0, 0, 0, 0.1) !important;
  color: #fff !important;
}
body[data-theme='color_4'] .nav-drawer .nav-subnav > li > a,
body[data-theme='color_5'] .nav-drawer .nav-subnav > li > a,
body[data-theme='color_6'] .nav-drawer .nav-subnav > li > a {
  color: rgba(255, 255, 255, 0.75) !important;
}
body[data-theme='color_4'] .nav-drawer .nav-subnav > li.active > a,
body[data-theme='color_4'] .nav-drawer .nav-subnav > li > a:hover,
body[data-theme='color_5'] .nav-drawer .nav-subnav > li.active > a,
body[data-theme='color_5'] .nav-drawer .nav-subnav > li > a:hover,
body[data-theme='color_6'] .nav-drawer .nav-subnav > li.active > a,
body[data-theme='color_6'] .nav-drawer .nav-subnav > li > a:hover {
  color: #fff !important;
}

body[data-theme='color_4'],
body[data-theme='color_5'],
body[data-theme='color_6'],
body[data-theme='translucent'],
body[data-theme='dark'] {
  --lyear-border: rgba(255, 255, 255, 0.08);
  --lyear-chrome-fg: rgba(255, 255, 255, 0.92);
}
body[data-theme='dark'] { --lyear-border: #303243; }
body[data-theme='color_4'] { --lyear-border: rgba(255, 255, 255, 0.08); }
body[data-theme='color_5'] { --lyear-border: rgba(255, 255, 255, 0.08); }
body[data-theme='color_6'] { --lyear-border: rgba(255, 255, 255, 0.08); }

body[data-theme='color_4'] .mt-nav-bar,
body[data-theme='color_4'] .mt-nav,
body[data-theme='color_5'] .mt-nav-bar,
body[data-theme='color_5'] .mt-nav,
body[data-theme='color_6'] .mt-nav-bar,
body[data-theme='color_6'] .mt-nav {
  background-color: transparent !important;
  color: var(--lyear-chrome-fg);
}
body[data-theme='color_4'] .mt-nav .nav-tabs > li > a,
body[data-theme='color_5'] .mt-nav .nav-tabs > li > a,
body[data-theme='color_6'] .mt-nav .nav-tabs > li > a {
  color: var(--lyear-chrome-fg);
}
body[data-theme='color_4'] .mt-nav .nav-tabs > li.active > a,
body[data-theme='color_5'] .mt-nav .nav-tabs > li.active > a,
body[data-theme='color_6'] .mt-nav .nav-tabs > li.active > a {
  color: #fff;
  background-color: transparent;
  border-bottom-color: var(--lyear-accent, #fff);
}

/* 多标签 << / >> / 下拉 + 底边框跟随主题 */
body[data-theme='color_4'] .mt-nav-bar .mt-nav .nav-tabs,
body[data-theme='color_5'] .mt-nav-bar .mt-nav .nav-tabs,
body[data-theme='color_6'] .mt-nav-bar .mt-nav .nav-tabs,
body[data-theme='dark'] .mt-nav-bar .mt-nav .nav-tabs,
body[data-theme='translucent'] .mt-nav-bar .mt-nav .nav-tabs {
  border-color: var(--lyear-border, rgba(255, 255, 255, 0.08)) !important;
}
body[data-theme='color_4'] .mt-nav-tools-left li a,
body[data-theme='color_4'] .mt-nav-tools-right li a,
body[data-theme='color_5'] .mt-nav-tools-left li a,
body[data-theme='color_5'] .mt-nav-tools-right li a,
body[data-theme='color_6'] .mt-nav-tools-left li a,
body[data-theme='color_6'] .mt-nav-tools-right li a,
body[data-theme='dark'] .mt-nav-tools-left li a,
body[data-theme='dark'] .mt-nav-tools-right li a,
body[data-theme='translucent'] .mt-nav-tools-left li a,
body[data-theme='translucent'] .mt-nav-tools-right li a,
body[data-theme='color_4'] .mt-nav-tools-left .mdi,
body[data-theme='color_4'] .mt-nav-tools-right .mdi,
body[data-theme='color_5'] .mt-nav-tools-left .mdi,
body[data-theme='color_5'] .mt-nav-tools-right .mdi,
body[data-theme='color_6'] .mt-nav-tools-left .mdi,
body[data-theme='color_6'] .mt-nav-tools-right .mdi,
body[data-theme='dark'] .mt-nav-tools-left .mdi,
body[data-theme='dark'] .mt-nav-tools-right .mdi,
body[data-theme='translucent'] .mt-nav-tools-left .mdi,
body[data-theme='translucent'] .mt-nav-tools-right .mdi,
body[data-theme='color_4'] .mt-dropdown .caret,
body[data-theme='color_5'] .mt-dropdown .caret,
body[data-theme='color_6'] .mt-dropdown .caret,
body[data-theme='dark'] .mt-dropdown .caret,
body[data-theme='translucent'] .mt-dropdown .caret {
  color: var(--lyear-chrome-fg, #fff) !important;
  border-top-color: var(--lyear-chrome-fg, #fff);
}
body[data-theme='color_4'] .mt-close-tab,
body[data-theme='color_5'] .mt-close-tab,
body[data-theme='color_6'] .mt-close-tab,
body[data-theme='dark'] .mt-close-tab,
body[data-theme='translucent'] .mt-close-tab {
  color: rgba(255, 255, 255, 0.55);
}

/* 彩色 / 暗色主题：统一边框色 */
body[data-theme='color_4'] .card,
body[data-theme='color_4'] .card-header,
body[data-theme='color_4'] .card-footer,
body[data-theme='color_4'] .modal-content,
body[data-theme='color_4'] .modal-header,
body[data-theme='color_4'] .modal-footer,
body[data-theme='color_4'] .table,
body[data-theme='color_4'] .table > thead > tr > th,
body[data-theme='color_4'] .table > tbody > tr > th,
body[data-theme='color_4'] .table > tbody > tr > td,
body[data-theme='color_4'] .table-bordered,
body[data-theme='color_4'] .table-bordered > thead > tr > th,
body[data-theme='color_4'] .table-bordered > tbody > tr > td,
body[data-theme='color_4'] .form-control,
body[data-theme='color_4'] .input-group-addon,
body[data-theme='color_4'] .list-group-item,
body[data-theme='color_4'] .dropdown-menu,
body[data-theme='color_4'] .popover,
body[data-theme='color_4'] .well,
body[data-theme='color_4'] .alert,
body[data-theme='color_4'] .nav-tabs,
body[data-theme='color_4'] .sidebar-footer,
body[data-theme='color_4'] hr,
body[data-theme='color_5'] .card,
body[data-theme='color_5'] .card-header,
body[data-theme='color_5'] .card-footer,
body[data-theme='color_5'] .modal-content,
body[data-theme='color_5'] .modal-header,
body[data-theme='color_5'] .modal-footer,
body[data-theme='color_5'] .table,
body[data-theme='color_5'] .table > thead > tr > th,
body[data-theme='color_5'] .table > tbody > tr > th,
body[data-theme='color_5'] .table > tbody > tr > td,
body[data-theme='color_5'] .table-bordered,
body[data-theme='color_5'] .table-bordered > thead > tr > th,
body[data-theme='color_5'] .table-bordered > tbody > tr > td,
body[data-theme='color_5'] .form-control,
body[data-theme='color_5'] .input-group-addon,
body[data-theme='color_5'] .list-group-item,
body[data-theme='color_5'] .dropdown-menu,
body[data-theme='color_5'] .popover,
body[data-theme='color_5'] .well,
body[data-theme='color_5'] .alert,
body[data-theme='color_5'] .nav-tabs,
body[data-theme='color_5'] .sidebar-footer,
body[data-theme='color_5'] hr,
body[data-theme='color_6'] .card,
body[data-theme='color_6'] .card-header,
body[data-theme='color_6'] .card-footer,
body[data-theme='color_6'] .modal-content,
body[data-theme='color_6'] .modal-header,
body[data-theme='color_6'] .modal-footer,
body[data-theme='color_6'] .table,
body[data-theme='color_6'] .table > thead > tr > th,
body[data-theme='color_6'] .table > tbody > tr > th,
body[data-theme='color_6'] .table > tbody > tr > td,
body[data-theme='color_6'] .table-bordered,
body[data-theme='color_6'] .table-bordered > thead > tr > th,
body[data-theme='color_6'] .table-bordered > tbody > tr > td,
body[data-theme='color_6'] .form-control,
body[data-theme='color_6'] .input-group-addon,
body[data-theme='color_6'] .list-group-item,
body[data-theme='color_6'] .dropdown-menu,
body[data-theme='color_6'] .popover,
body[data-theme='color_6'] .well,
body[data-theme='color_6'] .alert,
body[data-theme='color_6'] .nav-tabs,
body[data-theme='color_6'] .sidebar-footer,
body[data-theme='color_6'] hr,
body[data-theme='translucent'] .card,
body[data-theme='translucent'] .card-header,
body[data-theme='translucent'] .table,
body[data-theme='translucent'] .table-bordered,
body[data-theme='translucent'] .table > thead > tr > th,
body[data-theme='translucent'] .table > thead > tr > td,
body[data-theme='translucent'] .table > tbody > tr > th,
body[data-theme='translucent'] .table > tbody > tr > td,
body[data-theme='translucent'] .table > tfoot > tr > th,
body[data-theme='translucent'] .table > tfoot > tr > td,
body[data-theme='translucent'] .table-bordered > thead > tr > th,
body[data-theme='translucent'] .table-bordered > thead > tr > td,
body[data-theme='translucent'] .table-bordered > tbody > tr > th,
body[data-theme='translucent'] .table-bordered > tbody > tr > td,
body[data-theme='translucent'] .form-control,
body[data-theme='translucent'] .nav-tabs,
body[data-theme='translucent'] .sidebar-footer,
body[data-theme='color_4'] .bootstrap-table .fixed-table-container,
body[data-theme='color_4'] .bootstrap-table .fixed-table-body,
body[data-theme='color_5'] .bootstrap-table .fixed-table-container,
body[data-theme='color_5'] .bootstrap-table .fixed-table-body,
body[data-theme='color_6'] .bootstrap-table .fixed-table-container,
body[data-theme='color_6'] .bootstrap-table .fixed-table-body,
body[data-theme='translucent'] .bootstrap-table .fixed-table-container,
body[data-theme='translucent'] .bootstrap-table .fixed-table-body {
  border-color: rgba(255, 255, 255, 0.12) !important;
}
body[data-theme='dark'] .card,
body[data-theme='dark'] .card-header,
body[data-theme='dark'] .table-bordered,
body[data-theme='dark'] .table > thead > tr > th,
body[data-theme='dark'] .table > thead > tr > td,
body[data-theme='dark'] .table > tbody > tr > th,
body[data-theme='dark'] .table > tbody > tr > td,
body[data-theme='dark'] .table > tfoot > tr > th,
body[data-theme='dark'] .table > tfoot > tr > td,
body[data-theme='dark'] .table-bordered > thead > tr > th,
body[data-theme='dark'] .table-bordered > thead > tr > td,
body[data-theme='dark'] .table-bordered > tbody > tr > th,
body[data-theme='dark'] .table-bordered > tbody > tr > td,
body[data-theme='dark'] .form-control,
body[data-theme='dark'] .nav-tabs,
body[data-theme='dark'] .sidebar-footer,
body[data-theme='dark'] .bootstrap-table .fixed-table-container,
body[data-theme='dark'] .bootstrap-table .fixed-table-body {
  border-color: #303243 !important;
}

body[data-theme='color_4'] .topbar-tool-btn,
body[data-theme='color_5'] .topbar-tool-btn,
body[data-theme='color_6'] .topbar-tool-btn {
  color: rgba(255, 255, 255, 0.92);
}
body[data-theme='color_4'] .topbar-profile-name,
body[data-theme='color_4'] .topbar-profile-caret,
body[data-theme='color_5'] .topbar-profile-name,
body[data-theme='color_5'] .topbar-profile-caret,
body[data-theme='color_6'] .topbar-profile-name,
body[data-theme='color_6'] .topbar-profile-caret {
  color: #fff;
}
body[data-theme='color_4'] .topbar-ver,
body[data-theme='color_5'] .topbar-ver,
body[data-theme='color_6'] .topbar-ver {
  background: rgba(255, 255, 255, 0.95);
  color: #ef6c00;
  border: 0;
}
body[data-theme='color_4'] .topbar-ver { color: #e53935; }
body[data-theme='color_5'] .topbar-ver { color: #7e57c2; }

/* 主题弹窗 / 下拉：与表单点击控件同色同圆角（半透明） */
body[data-theme='color_4'],
body[data-theme='color_5'],
body[data-theme='color_6'],
body[data-theme='translucent'],
body.admin-iframe[data-theme='color_4'],
body.admin-iframe[data-theme='color_5'],
body.admin-iframe[data-theme='color_6'],
body.admin-iframe[data-theme='translucent'] {
  --lyear-field-bg: rgba(255, 255, 255, 0.1);
  --lyear-field-border: rgba(255, 255, 255, 0.12);
  --lyear-field-radius: 8px;
}
body[data-theme='dark'],
body.admin-iframe[data-theme='dark'] {
  --lyear-field-bg: #292b3d;
  --lyear-field-border: rgba(255, 255, 255, 0.08);
  --lyear-field-radius: 8px;
}
body[data-theme='color_4'] .dropdown-menu,
body[data-theme='color_4'] .dropdown-skin .dropdown-menu,
body[data-theme='color_4'] .modal-content,
body[data-theme='color_5'] .dropdown-menu,
body[data-theme='color_5'] .dropdown-skin .dropdown-menu,
body[data-theme='color_5'] .modal-content,
body[data-theme='color_6'] .dropdown-menu,
body[data-theme='color_6'] .dropdown-skin .dropdown-menu,
body[data-theme='color_6'] .modal-content,
body[data-theme='translucent'] .dropdown-menu,
body[data-theme='translucent'] .dropdown-skin .dropdown-menu,
body[data-theme='translucent'] .modal-content {
  background-color: var(--lyear-field-bg) !important;
  background-image: none !important;
  border: 1px solid var(--lyear-field-border) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
body[data-theme='color_4'] .dropdown-menu > li > a,
body[data-theme='color_5'] .dropdown-menu > li > a,
body[data-theme='color_6'] .dropdown-menu > li > a,
body[data-theme='translucent'] .dropdown-menu > li > a {
  color: rgba(255, 255, 255, 0.88);
}
body[data-theme='color_4'] .dropdown-menu > li > a:hover,
body[data-theme='color_5'] .dropdown-menu > li > a:hover,
body[data-theme='color_6'] .dropdown-menu > li > a:hover,
body[data-theme='translucent'] .dropdown-menu > li > a:hover {
  background-color: rgba(255, 255, 255, 0.14) !important;
  color: #fff;
}
body[data-theme='color_4'] .drop-title p,
body[data-theme='color_5'] .drop-title p,
body[data-theme='color_6'] .drop-title p,
body[data-theme='translucent'] .drop-title p {
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme='color_4'] .jconfirm .jconfirm-box,
body[data-theme='color_5'] .jconfirm .jconfirm-box,
body[data-theme='color_6'] .jconfirm .jconfirm-box,
body[data-theme='translucent'] .jconfirm .jconfirm-box {
  background-color: var(--lyear-field-bg) !important;
  border: 1px solid var(--lyear-field-border);
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* 暗黑 / 半透明标签栏 */
body[data-theme='dark'] .lyear-layout-content { background-color: #1c1e2f; }
body[data-theme='translucent'] .lyear-layout-content { background-color: transparent; }
body[data-theme='dark'] .mt-nav-bar,
body[data-theme='dark'] .mt-nav {
  background-color: #292B3D !important;
  color: rgba(255, 255, 255, 0.85);
}
body[data-theme='translucent'] .mt-nav-bar,
body[data-theme='translucent'] .mt-nav {
  background: transparent !important;
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.85);
}

/* —— iframe 内容页同步彩色主题 —— */
body.admin-iframe[data-theme='color_4'],
body.admin-iframe[data-theme='color_5'],
body.admin-iframe[data-theme='color_6'] {
  color: rgba(255, 255, 255, 0.9);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100%;
}
body.admin-iframe[data-theme='color_4'] {
  background: linear-gradient(135deg, #ff8a80 0%, #e53935 55%, #b71c1c 100%);
}
body.admin-iframe[data-theme='color_5'] {
  background: linear-gradient(135deg, #b39ddb 0%, #7e57c2 55%, #4527a0 100%);
}
body.admin-iframe[data-theme='color_6'] {
  background: linear-gradient(135deg, #ffcc80 0%, #faa64b 45%, #ef6c00 100%);
}
body.admin-iframe[data-theme='color_4'],
body.admin-iframe[data-theme='color_5'],
body.admin-iframe[data-theme='color_6'],
body.admin-iframe[data-theme='translucent'] {
  --lyear-border: rgba(255, 255, 255, 0.08);
}
body.admin-iframe[data-theme='dark'] { --lyear-border: #303243; }
body.admin-iframe[data-theme='color_4'] { --lyear-border: rgba(255, 255, 255, 0.08); }
body.admin-iframe[data-theme='color_5'] { --lyear-border: rgba(255, 255, 255, 0.08); }
body.admin-iframe[data-theme='color_6'] { --lyear-border: rgba(255, 255, 255, 0.08); }

body.admin-iframe[data-theme='color_4'] .card,
body.admin-iframe[data-theme='color_5'] .card,
body.admin-iframe[data-theme='color_6'] .card {
  background-color: rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--lyear-border, rgba(255, 255, 255, 0.22));
  box-shadow: none;
}
body.admin-iframe[data-theme='color_4'] .chart-box canvas,
body.admin-iframe[data-theme='color_5'] .chart-box canvas,
body.admin-iframe[data-theme='color_6'] .chart-box canvas,
body.admin-iframe[data-theme='translucent'] .chart-box canvas,
body.admin-iframe[data-theme='dark'] .chart-box canvas {
  background: transparent !important;
}
body.admin-iframe[data-theme='color_4'] .card-header,
body.admin-iframe[data-theme='color_5'] .card-header,
body.admin-iframe[data-theme='color_6'] .card-header,
body.admin-iframe[data-theme='color_4'] .card-header h4,
body.admin-iframe[data-theme='color_5'] .card-header h4,
body.admin-iframe[data-theme='color_6'] .card-header h4,
body.admin-iframe[data-theme='color_4'] h1,
body.admin-iframe[data-theme='color_4'] h2,
body.admin-iframe[data-theme='color_4'] h3,
body.admin-iframe[data-theme='color_4'] h4,
body.admin-iframe[data-theme='color_5'] h1,
body.admin-iframe[data-theme='color_5'] h2,
body.admin-iframe[data-theme='color_5'] h3,
body.admin-iframe[data-theme='color_5'] h4,
body.admin-iframe[data-theme='color_6'] h1,
body.admin-iframe[data-theme='color_6'] h2,
body.admin-iframe[data-theme='color_6'] h3,
body.admin-iframe[data-theme='color_6'] h4 {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}
body.admin-iframe[data-theme='color_4'] .form-control,
body.admin-iframe[data-theme='color_5'] .form-control,
body.admin-iframe[data-theme='color_6'] .form-control {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
body.admin-iframe[data-theme='color_4'] .form-control:focus,
body.admin-iframe[data-theme='color_5'] .form-control:focus,
body.admin-iframe[data-theme='color_6'] .form-control:focus {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: none;
}
body.admin-iframe[data-theme='color_4'] .nav-tabs,
body.admin-iframe[data-theme='color_5'] .nav-tabs,
body.admin-iframe[data-theme='color_6'] .nav-tabs {
  border-color: rgba(255, 255, 255, 0.15);
}
body.admin-iframe[data-theme='color_4'] .nav-tabs > li > a,
body.admin-iframe[data-theme='color_5'] .nav-tabs > li > a,
body.admin-iframe[data-theme='color_6'] .nav-tabs > li > a {
  color: rgba(255, 255, 255, 0.75);
}
body.admin-iframe[data-theme='color_4'] .nav-tabs > li.active > a,
body.admin-iframe[data-theme='color_4'] .nav-tabs > li.active > a:hover,
body.admin-iframe[data-theme='color_4'] .nav-tabs > li.active > a:focus,
body.admin-iframe[data-theme='color_5'] .nav-tabs > li.active > a,
body.admin-iframe[data-theme='color_5'] .nav-tabs > li.active > a:hover,
body.admin-iframe[data-theme='color_5'] .nav-tabs > li.active > a:focus,
body.admin-iframe[data-theme='color_6'] .nav-tabs > li.active > a,
body.admin-iframe[data-theme='color_6'] .nav-tabs > li.active > a:hover,
body.admin-iframe[data-theme='color_6'] .nav-tabs > li.active > a:focus {
  background-color: rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: transparent;
  color: #fff;
}
body.admin-iframe[data-theme='color_4'] .table > thead > tr > th,
body.admin-iframe[data-theme='color_4'] .table > thead > tr > td,
body.admin-iframe[data-theme='color_4'] .table > tbody > tr > th,
body.admin-iframe[data-theme='color_4'] .table > tbody > tr > td,
body.admin-iframe[data-theme='color_4'] .table-bordered,
body.admin-iframe[data-theme='color_4'] .table-bordered > thead > tr > th,
body.admin-iframe[data-theme='color_4'] .table-bordered > tbody > tr > td,
body.admin-iframe[data-theme='color_5'] .table > thead > tr > th,
body.admin-iframe[data-theme='color_5'] .table > thead > tr > td,
body.admin-iframe[data-theme='color_5'] .table > tbody > tr > th,
body.admin-iframe[data-theme='color_5'] .table > tbody > tr > td,
body.admin-iframe[data-theme='color_5'] .table-bordered,
body.admin-iframe[data-theme='color_5'] .table-bordered > thead > tr > th,
body.admin-iframe[data-theme='color_5'] .table-bordered > tbody > tr > td,
body.admin-iframe[data-theme='color_6'] .table > thead > tr > th,
body.admin-iframe[data-theme='color_6'] .table > thead > tr > td,
body.admin-iframe[data-theme='color_6'] .table > tbody > tr > th,
body.admin-iframe[data-theme='color_6'] .table > tbody > tr > td,
body.admin-iframe[data-theme='color_6'] .table-bordered,
body.admin-iframe[data-theme='color_6'] .table-bordered > thead > tr > th,
body.admin-iframe[data-theme='color_6'] .table-bordered > tbody > tr > td,
body.admin-iframe[data-theme='translucent'] .table > thead > tr > th,
body.admin-iframe[data-theme='translucent'] .table > thead > tr > td,
body.admin-iframe[data-theme='translucent'] .table > tbody > tr > th,
body.admin-iframe[data-theme='translucent'] .table > tbody > tr > td,
body.admin-iframe[data-theme='translucent'] .table-bordered,
body.admin-iframe[data-theme='translucent'] .table-bordered > thead > tr > th,
body.admin-iframe[data-theme='translucent'] .table-bordered > tbody > tr > td,
body.admin-iframe[data-theme='translucent'] .bootstrap-table .fixed-table-container,
body.admin-iframe[data-theme='translucent'] .bootstrap-table .fixed-table-body,
body.admin-iframe[data-theme='color_4'] .bootstrap-table .fixed-table-container,
body.admin-iframe[data-theme='color_4'] .bootstrap-table .fixed-table-body,
body.admin-iframe[data-theme='color_5'] .bootstrap-table .fixed-table-container,
body.admin-iframe[data-theme='color_5'] .bootstrap-table .fixed-table-body,
body.admin-iframe[data-theme='color_6'] .bootstrap-table .fixed-table-container,
body.admin-iframe[data-theme='color_6'] .bootstrap-table .fixed-table-body {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.88);
}
body.admin-iframe[data-theme='color_4'] .help-block,
body.admin-iframe[data-theme='color_5'] .help-block,
body.admin-iframe[data-theme='color_6'] .help-block,
body.admin-iframe[data-theme='translucent'] .help-block,
body.admin-iframe[data-theme='dark'] .help-block,
body.admin-iframe[data-theme='color_4'] label,
body.admin-iframe[data-theme='color_5'] label,
body.admin-iframe[data-theme='color_6'] label,
body.admin-iframe[data-theme='translucent'] label,
body.admin-iframe[data-theme='dark'] label {
  color: rgba(255, 255, 255, 0.8);
}
body.admin-iframe[data-theme='dark'] label {
  color: #c5c8d4;
}
body.admin-iframe[data-theme='color_4'] .btn-default,
body.admin-iframe[data-theme='color_5'] .btn-default,
body.admin-iframe[data-theme='color_6'] .btn-default,
body.admin-iframe[data-theme='translucent'] .btn-default,
body.admin-iframe[data-theme='dark'] .btn-default {
  background-color: var(--lyear-field-bg, rgba(255, 255, 255, 0.18));
  border-color: var(--lyear-field-border, transparent);
  color: #fff;
}
body.admin-iframe[data-theme='dark'] .btn-default {
  color: #c5c8d4;
}
body.admin-iframe[data-theme='color_4'] .btn-primary,
body.admin-iframe[data-theme='color_5'] .btn-primary,
body.admin-iframe[data-theme='color_6'] .btn-primary {
  background-color: rgba(0, 0, 0, 0.28);
  border-color: transparent;
  color: #fff;
}
body.admin-iframe[data-theme='color_4'] .alert,
body.admin-iframe[data-theme='color_5'] .alert,
body.admin-iframe[data-theme='color_6'] .alert {
  background-color: rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* iframe 暗黑同步（保留） */
body.admin-iframe[data-theme='dark'],
body.admin-iframe[data-theme='translucent'] {
  background-color: #1c1e2f;
  color: #8c909a;
}
body.admin-iframe[data-theme='translucent'] {
  background: linear-gradient(135deg, #65FDF0 10%, #1D6FA3 100%);
  background-attachment: fixed;
  color: rgba(255, 255, 255, 0.9);
}
body.admin-iframe[data-theme='dark'] .card {
  background-color: #292B3D;
  color: #8c909a;
}
body.admin-iframe[data-theme='translucent'] .card {
  background-color: rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: none;
}
body.admin-iframe .btn-primary {
  background-color: var(--lyear-accent, #33cabb);
  border-color: var(--lyear-accent, #33cabb);
}
body.admin-iframe .nav-tabs-line > li.active > a,
body.admin-iframe .nav-tabs-line > li.active > a:hover,
body.admin-iframe .nav-tabs-line > li.active > a:focus {
  border-bottom-color: var(--lyear-accent, #33cabb);
  color: var(--lyear-accent, #33cabb);
}
body.admin-iframe[data-theme='color_4'] .nav-tabs-line > li.active > a,
body.admin-iframe[data-theme='color_5'] .nav-tabs-line > li.active > a,
body.admin-iframe[data-theme='color_6'] .nav-tabs-line > li.active > a,
body.admin-iframe[data-theme='translucent'] .nav-tabs-line > li.active > a {
  color: #fff;
  border-bottom-color: #fff;
}

/* 红/紫/橙：列表斑马纹去掉默认白底（对齐半透明主题） */
body[data-theme='color_4'] .table > thead > tr > th,
body[data-theme='color_4'] .table > tbody > tr > td,
body[data-theme='color_4'] .table > tbody > tr > th,
body[data-theme='color_5'] .table > thead > tr > th,
body[data-theme='color_5'] .table > tbody > tr > td,
body[data-theme='color_5'] .table > tbody > tr > th,
body[data-theme='color_6'] .table > thead > tr > th,
body[data-theme='color_6'] .table > tbody > tr > td,
body[data-theme='color_6'] .table > tbody > tr > th,
body.admin-iframe[data-theme='color_4'] .table > thead > tr > th,
body.admin-iframe[data-theme='color_4'] .table > tbody > tr > td,
body.admin-iframe[data-theme='color_4'] .table > tbody > tr > th,
body.admin-iframe[data-theme='color_5'] .table > thead > tr > th,
body.admin-iframe[data-theme='color_5'] .table > tbody > tr > td,
body.admin-iframe[data-theme='color_5'] .table > tbody > tr > th,
body.admin-iframe[data-theme='color_6'] .table > thead > tr > th,
body.admin-iframe[data-theme='color_6'] .table > tbody > tr > td,
body.admin-iframe[data-theme='color_6'] .table > tbody > tr > th {
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.9);
}
body[data-theme='color_4'] .table-striped tbody tr:nth-of-type(odd),
body[data-theme='color_5'] .table-striped tbody tr:nth-of-type(odd),
body[data-theme='color_6'] .table-striped tbody tr:nth-of-type(odd),
body.admin-iframe[data-theme='color_4'] .table-striped tbody tr:nth-of-type(odd),
body.admin-iframe[data-theme='color_5'] .table-striped tbody tr:nth-of-type(odd),
body.admin-iframe[data-theme='color_6'] .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.1) !important;
}
body[data-theme='color_4'] .table-striped tbody tr:nth-of-type(odd) > td,
body[data-theme='color_4'] .table-striped tbody tr:nth-of-type(odd) > th,
body[data-theme='color_5'] .table-striped tbody tr:nth-of-type(odd) > td,
body[data-theme='color_5'] .table-striped tbody tr:nth-of-type(odd) > th,
body[data-theme='color_6'] .table-striped tbody tr:nth-of-type(odd) > td,
body[data-theme='color_6'] .table-striped tbody tr:nth-of-type(odd) > th,
body.admin-iframe[data-theme='color_4'] .table-striped tbody tr:nth-of-type(odd) > td,
body.admin-iframe[data-theme='color_4'] .table-striped tbody tr:nth-of-type(odd) > th,
body.admin-iframe[data-theme='color_5'] .table-striped tbody tr:nth-of-type(odd) > td,
body.admin-iframe[data-theme='color_5'] .table-striped tbody tr:nth-of-type(odd) > th,
body.admin-iframe[data-theme='color_6'] .table-striped tbody tr:nth-of-type(odd) > td,
body.admin-iframe[data-theme='color_6'] .table-striped tbody tr:nth-of-type(odd) > th {
  background-color: transparent !important;
}
body[data-theme='color_4'] .table-hover > tbody > tr:hover,
body[data-theme='color_5'] .table-hover > tbody > tr:hover,
body[data-theme='color_6'] .table-hover > tbody > tr:hover,
body.admin-iframe[data-theme='color_4'] .table-hover > tbody > tr:hover,
body.admin-iframe[data-theme='color_5'] .table-hover > tbody > tr:hover,
body.admin-iframe[data-theme='color_6'] .table-hover > tbody > tr:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}
body[data-theme='color_4'] .table-hover > tbody > tr:hover > td,
body[data-theme='color_5'] .table-hover > tbody > tr:hover > td,
body[data-theme='color_6'] .table-hover > tbody > tr:hover > td,
body.admin-iframe[data-theme='color_4'] .table-hover > tbody > tr:hover > td,
body.admin-iframe[data-theme='color_5'] .table-hover > tbody > tr:hover > td,
body.admin-iframe[data-theme='color_6'] .table-hover > tbody > tr:hover > td {
  background-color: transparent !important;
}
body[data-theme='color_4'] .bootstrap-table .fixed-table-container,
body[data-theme='color_4'] .bootstrap-table .fixed-table-body,
body[data-theme='color_4'] .bootstrap-table .table,
body[data-theme='color_5'] .bootstrap-table .fixed-table-container,
body[data-theme='color_5'] .bootstrap-table .fixed-table-body,
body[data-theme='color_5'] .bootstrap-table .table,
body[data-theme='color_6'] .bootstrap-table .fixed-table-container,
body[data-theme='color_6'] .bootstrap-table .fixed-table-body,
body[data-theme='color_6'] .bootstrap-table .table,
body.admin-iframe[data-theme='color_4'] .bootstrap-table .fixed-table-container,
body.admin-iframe[data-theme='color_4'] .bootstrap-table .fixed-table-body,
body.admin-iframe[data-theme='color_4'] .bootstrap-table .table,
body.admin-iframe[data-theme='color_5'] .bootstrap-table .fixed-table-container,
body.admin-iframe[data-theme='color_5'] .bootstrap-table .fixed-table-body,
body.admin-iframe[data-theme='color_5'] .bootstrap-table .table,
body.admin-iframe[data-theme='color_6'] .bootstrap-table .fixed-table-container,
body.admin-iframe[data-theme='color_6'] .bootstrap-table .fixed-table-body,
body.admin-iframe[data-theme='color_6'] .bootstrap-table .table {
  background-color: transparent !important;
}
body.admin-iframe[data-theme='color_4'] .jconfirm .jconfirm-box,
body.admin-iframe[data-theme='color_5'] .jconfirm .jconfirm-box,
body.admin-iframe[data-theme='color_6'] .jconfirm .jconfirm-box,
body.admin-iframe[data-theme='translucent'] .jconfirm .jconfirm-box,
body.admin-iframe[data-theme='color_4'] .modal-content,
body.admin-iframe[data-theme='color_5'] .modal-content,
body.admin-iframe[data-theme='color_6'] .modal-content,
body.admin-iframe[data-theme='translucent'] .modal-content,
body.admin-iframe[data-theme='color_4'] .dropdown-menu,
body.admin-iframe[data-theme='color_5'] .dropdown-menu,
body.admin-iframe[data-theme='color_6'] .dropdown-menu,
body.admin-iframe[data-theme='translucent'] .dropdown-menu {
  background-color: var(--lyear-field-bg, rgba(255, 255, 255, 0.12)) !important;
  background-image: none !important;
  border: 1px solid var(--lyear-field-border, rgba(255, 255, 255, 0.28)) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
body.admin-iframe[data-theme='color_4'] .jconfirm-title,
body.admin-iframe[data-theme='color_4'] .jconfirm-content,
body.admin-iframe[data-theme='color_5'] .jconfirm-title,
body.admin-iframe[data-theme='color_5'] .jconfirm-content,
body.admin-iframe[data-theme='color_6'] .jconfirm-title,
body.admin-iframe[data-theme='color_6'] .jconfirm-content,
body.admin-iframe[data-theme='translucent'] .jconfirm-title,
body.admin-iframe[data-theme='translucent'] .jconfirm-content {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* 表单控件与下拉选项：同一半透明底 + 8px 圆角 */
body[data-theme='color_4'] select.form-control,
body[data-theme='color_4'] .form-control,
body[data-theme='color_5'] select.form-control,
body[data-theme='color_5'] .form-control,
body[data-theme='color_6'] select.form-control,
body[data-theme='color_6'] .form-control,
body[data-theme='translucent'] select.form-control,
body[data-theme='translucent'] .form-control,
body.admin-iframe[data-theme='color_4'] select.form-control,
body.admin-iframe[data-theme='color_4'] .form-control,
body.admin-iframe[data-theme='color_5'] select.form-control,
body.admin-iframe[data-theme='color_5'] .form-control,
body.admin-iframe[data-theme='color_6'] select.form-control,
body.admin-iframe[data-theme='color_6'] .form-control,
body.admin-iframe[data-theme='translucent'] select.form-control,
body.admin-iframe[data-theme='translucent'] .form-control {
  background-color: var(--lyear-field-bg, rgba(255, 255, 255, 0.12)) !important;
  border-color: var(--lyear-field-border, rgba(255, 255, 255, 0.28)) !important;
  border-radius: 8px !important;
  color: #fff !important;
  color-scheme: dark;
}
body[data-theme='dark'] select.form-control,
body[data-theme='dark'] .form-control,
body.admin-iframe[data-theme='dark'] select.form-control,
body.admin-iframe[data-theme='dark'] .form-control {
  background-color: rgba(41, 43, 61, 0.92) !important;
  border-color: #303243 !important;
  border-radius: 8px !important;
  color: #bebdc2 !important;
}
/* 自定义下拉项在彩色主题下与触发框一致 */
body[data-theme='color_4'] .lyear-select-menu,
body[data-theme='color_5'] .lyear-select-menu,
body[data-theme='color_6'] .lyear-select-menu,
body[data-theme='translucent'] .lyear-select-menu,
body.admin-iframe[data-theme='color_4'] .lyear-select-menu,
body.admin-iframe[data-theme='color_5'] .lyear-select-menu,
body.admin-iframe[data-theme='color_6'] .lyear-select-menu,
body.admin-iframe[data-theme='translucent'] .lyear-select-menu {
  background-color: var(--lyear-field-bg, rgba(255, 255, 255, 0.12)) !important;
  border: 1px solid var(--lyear-field-border, rgba(255, 255, 255, 0.28)) !important;
  border-radius: 8px !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
body[data-theme='color_4'] .lyear-select-menu > li > a,
body[data-theme='color_5'] .lyear-select-menu > li > a,
body[data-theme='color_6'] .lyear-select-menu > li > a,
body[data-theme='translucent'] .lyear-select-menu > li > a,
body.admin-iframe[data-theme='color_4'] .lyear-select-menu > li > a,
body.admin-iframe[data-theme='color_5'] .lyear-select-menu > li > a,
body.admin-iframe[data-theme='color_6'] .lyear-select-menu > li > a,
body.admin-iframe[data-theme='translucent'] .lyear-select-menu > li > a {
  color: rgba(255, 255, 255, 0.9);
}
body[data-theme='color_4'] .lyear-select-menu > li.active > a,
body[data-theme='color_4'] .lyear-select-menu > li > a:hover,
body[data-theme='color_5'] .lyear-select-menu > li.active > a,
body[data-theme='color_5'] .lyear-select-menu > li > a:hover,
body[data-theme='color_6'] .lyear-select-menu > li.active > a,
body[data-theme='color_6'] .lyear-select-menu > li > a:hover,
body[data-theme='translucent'] .lyear-select-menu > li.active > a,
body[data-theme='translucent'] .lyear-select-menu > li > a:hover,
body.admin-iframe[data-theme='color_4'] .lyear-select-menu > li.active > a,
body.admin-iframe[data-theme='color_4'] .lyear-select-menu > li > a:hover,
body.admin-iframe[data-theme='color_5'] .lyear-select-menu > li.active > a,
body.admin-iframe[data-theme='color_5'] .lyear-select-menu > li > a:hover,
body.admin-iframe[data-theme='color_6'] .lyear-select-menu > li.active > a,
body.admin-iframe[data-theme='color_6'] .lyear-select-menu > li > a:hover,
body.admin-iframe[data-theme='translucent'] .lyear-select-menu > li.active > a,
body.admin-iframe[data-theme='translucent'] .lyear-select-menu > li > a:hover {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}
body[data-theme='dark'] .lyear-select-menu,
body.admin-iframe[data-theme='dark'] .lyear-select-menu {
  background-color: #292B3D !important;
  border: 1px solid #303243 !important;
  border-radius: 8px !important;
}
body[data-theme='dark'] .lyear-select-menu > li > a,
body.admin-iframe[data-theme='dark'] .lyear-select-menu > li > a {
  color: #bebdc2;
}
body[data-theme='dark'] .lyear-select-menu > li.active > a,
body[data-theme='dark'] .lyear-select-menu > li > a:hover,
body.admin-iframe[data-theme='dark'] .lyear-select-menu > li.active > a,
body.admin-iframe[data-theme='dark'] .lyear-select-menu > li > a:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

/* 用户组权限/菜单分配框：跟随主题，去掉刺眼白底 */
body.admin-iframe[data-theme='color_4'] .group-assign-box,
body.admin-iframe[data-theme='color_5'] .group-assign-box,
body.admin-iframe[data-theme='color_6'] .group-assign-box,
body.admin-iframe[data-theme='translucent'] .group-assign-box,
body.admin-iframe[data-theme='dark'] .group-assign-box,
body.admin-iframe[data-theme='color_4'] .well,
body.admin-iframe[data-theme='color_5'] .well,
body.admin-iframe[data-theme='color_6'] .well,
body.admin-iframe[data-theme='translucent'] .well {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}
body.admin-iframe[data-theme='dark'] .well,
body.admin-iframe[data-theme='dark'] .group-assign-box {
  background-color: #292B3D !important;
  border-color: #303243 !important;
  color: #bebdc2;
}
body.admin-iframe[data-theme='color_4'] .group-assign-box .assign-children,
body.admin-iframe[data-theme='color_5'] .group-assign-box .assign-children,
body.admin-iframe[data-theme='color_6'] .group-assign-box .assign-children,
body.admin-iframe[data-theme='translucent'] .group-assign-box .assign-children {
  border-left-color: rgba(255, 255, 255, 0.2);
}
body.admin-iframe[data-theme='color_4'] .group-assign-box .lyear-checkbox span::before,
body.admin-iframe[data-theme='color_5'] .group-assign-box .lyear-checkbox span::before,
body.admin-iframe[data-theme='color_6'] .group-assign-box .lyear-checkbox span::before,
body.admin-iframe[data-theme='translucent'] .group-assign-box .lyear-checkbox span::before {
  border-color: rgba(255, 255, 255, 0.45);
}
body.admin-iframe[data-theme='color_4'] .group-assign-box hr,
body.admin-iframe[data-theme='color_5'] .group-assign-box hr,
body.admin-iframe[data-theme='color_6'] .group-assign-box hr,
body.admin-iframe[data-theme='translucent'] .group-assign-box hr {
  border-top-color: rgba(255, 255, 255, 0.15);
}

/* 社区配置 / 应用中心：页面内联白底卡片跟随主题（需 !important 压过页面 style） */
body.admin-iframe[data-theme='color_4'] .nav-ladder-box,
body.admin-iframe[data-theme='color_5'] .nav-ladder-box,
body.admin-iframe[data-theme='color_6'] .nav-ladder-box,
body.admin-iframe[data-theme='translucent'] .nav-ladder-box,
body.admin-iframe[data-theme='dark'] .nav-ladder-box,
body.admin-iframe[data-theme='color_4'] .nav-child-box,
body.admin-iframe[data-theme='color_5'] .nav-child-box,
body.admin-iframe[data-theme='color_6'] .nav-child-box,
body.admin-iframe[data-theme='translucent'] .nav-child-box,
body.admin-iframe[data-theme='dark'] .nav-child-box,
body.admin-iframe[data-theme='color_4'] .app-hero,
body.admin-iframe[data-theme='color_5'] .app-hero,
body.admin-iframe[data-theme='color_6'] .app-hero,
body.admin-iframe[data-theme='translucent'] .app-hero,
body.admin-iframe[data-theme='dark'] .app-hero,
body.admin-iframe[data-theme='color_4'] .theme-card,
body.admin-iframe[data-theme='color_5'] .theme-card,
body.admin-iframe[data-theme='color_6'] .theme-card,
body.admin-iframe[data-theme='translucent'] .theme-card,
body.admin-iframe[data-theme='dark'] .theme-card,
body.admin-iframe[data-theme='color_4'] .plugin-card,
body.admin-iframe[data-theme='color_5'] .plugin-card,
body.admin-iframe[data-theme='color_6'] .plugin-card,
body.admin-iframe[data-theme='translucent'] .plugin-card,
body.admin-iframe[data-theme='dark'] .plugin-card {
  background: var(--lyear-field-bg, rgba(255, 255, 255, 0.12)) !important;
  background-image: none !important;
  border-color: var(--lyear-field-border, rgba(255, 255, 255, 0.28)) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body.admin-iframe[data-theme='dark'] .nav-ladder-box,
body.admin-iframe[data-theme='dark'] .nav-child-box,
body.admin-iframe[data-theme='dark'] .app-hero,
body.admin-iframe[data-theme='dark'] .theme-card,
body.admin-iframe[data-theme='dark'] .plugin-card {
  background: #292b3d !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #c5c8d4 !important;
}
body.admin-iframe[data-theme='color_4'] .nav-ladder-box th,
body.admin-iframe[data-theme='color_5'] .nav-ladder-box th,
body.admin-iframe[data-theme='color_6'] .nav-ladder-box th,
body.admin-iframe[data-theme='translucent'] .nav-ladder-box th,
body.admin-iframe[data-theme='dark'] .nav-ladder-box th,
body.admin-iframe[data-theme='color_4'] .nav-child-row td,
body.admin-iframe[data-theme='color_5'] .nav-child-row td,
body.admin-iframe[data-theme='color_6'] .nav-child-row td,
body.admin-iframe[data-theme='translucent'] .nav-child-row td,
body.admin-iframe[data-theme='dark'] .nav-child-row td {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.admin-iframe[data-theme='dark'] .nav-ladder-box th,
body.admin-iframe[data-theme='dark'] .nav-child-row td {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #c5c8d4 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.admin-iframe[data-theme='color_4'] .nav-ladder-tip,
body.admin-iframe[data-theme='color_5'] .nav-ladder-tip,
body.admin-iframe[data-theme='color_6'] .nav-ladder-tip,
body.admin-iframe[data-theme='translucent'] .nav-ladder-tip,
body.admin-iframe[data-theme='dark'] .nav-ladder-tip,
body.admin-iframe[data-theme='color_4'] .app-hero p,
body.admin-iframe[data-theme='color_5'] .app-hero p,
body.admin-iframe[data-theme='color_6'] .app-hero p,
body.admin-iframe[data-theme='translucent'] .app-hero p,
body.admin-iframe[data-theme='dark'] .app-hero p,
body.admin-iframe[data-theme='color_4'] .theme-body .desc,
body.admin-iframe[data-theme='color_5'] .theme-body .desc,
body.admin-iframe[data-theme='color_6'] .theme-body .desc,
body.admin-iframe[data-theme='translucent'] .theme-body .desc,
body.admin-iframe[data-theme='dark'] .theme-body .desc,
body.admin-iframe[data-theme='color_4'] .theme-meta,
body.admin-iframe[data-theme='color_5'] .theme-meta,
body.admin-iframe[data-theme='color_6'] .theme-meta,
body.admin-iframe[data-theme='translucent'] .theme-meta,
body.admin-iframe[data-theme='dark'] .theme-meta,
body.admin-iframe[data-theme='color_4'] .plugin-desc,
body.admin-iframe[data-theme='color_5'] .plugin-desc,
body.admin-iframe[data-theme='color_6'] .plugin-desc,
body.admin-iframe[data-theme='translucent'] .plugin-desc,
body.admin-iframe[data-theme='dark'] .plugin-desc,
body.admin-iframe[data-theme='color_4'] .plugin-meta,
body.admin-iframe[data-theme='color_5'] .plugin-meta,
body.admin-iframe[data-theme='color_6'] .plugin-meta,
body.admin-iframe[data-theme='translucent'] .plugin-meta,
body.admin-iframe[data-theme='dark'] .plugin-meta,
body.admin-iframe[data-theme='color_4'] .flag,
body.admin-iframe[data-theme='color_5'] .flag,
body.admin-iframe[data-theme='color_6'] .flag,
body.admin-iframe[data-theme='translucent'] .flag,
body.admin-iframe[data-theme='dark'] .flag {
  color: rgba(255, 255, 255, 0.62) !important;
}
body.admin-iframe[data-theme='color_4'] .app-hero h3,
body.admin-iframe[data-theme='color_5'] .app-hero h3,
body.admin-iframe[data-theme='color_6'] .app-hero h3,
body.admin-iframe[data-theme='translucent'] .app-hero h3,
body.admin-iframe[data-theme='dark'] .app-hero h3,
body.admin-iframe[data-theme='color_4'] .theme-body h4,
body.admin-iframe[data-theme='color_5'] .theme-body h4,
body.admin-iframe[data-theme='color_6'] .theme-body h4,
body.admin-iframe[data-theme='translucent'] .theme-body h4,
body.admin-iframe[data-theme='dark'] .theme-body h4,
body.admin-iframe[data-theme='color_4'] .plugin-top h4,
body.admin-iframe[data-theme='color_5'] .plugin-top h4,
body.admin-iframe[data-theme='color_6'] .plugin-top h4,
body.admin-iframe[data-theme='translucent'] .plugin-top h4,
body.admin-iframe[data-theme='dark'] .plugin-top h4,
body.admin-iframe[data-theme='color_4'] .nav-child-head strong,
body.admin-iframe[data-theme='color_5'] .nav-child-head strong,
body.admin-iframe[data-theme='color_6'] .nav-child-head strong,
body.admin-iframe[data-theme='translucent'] .nav-child-head strong,
body.admin-iframe[data-theme='dark'] .nav-child-head strong {
  color: #fff !important;
}
body.admin-iframe[data-theme='color_4'] .app-actions .account,
body.admin-iframe[data-theme='color_5'] .app-actions .account,
body.admin-iframe[data-theme='color_6'] .app-actions .account,
body.admin-iframe[data-theme='translucent'] .app-actions .account,
body.admin-iframe[data-theme='dark'] .app-actions .account,
body.admin-iframe[data-theme='color_4'] .flag.ok,
body.admin-iframe[data-theme='color_5'] .flag.ok,
body.admin-iframe[data-theme='color_6'] .flag.ok,
body.admin-iframe[data-theme='translucent'] .flag.ok,
body.admin-iframe[data-theme='dark'] .flag.ok {
  color: rgba(255, 255, 255, 0.85) !important;
}
body.admin-iframe[data-theme='color_4'] .plugin-icon,
body.admin-iframe[data-theme='color_5'] .plugin-icon,
body.admin-iframe[data-theme='color_6'] .plugin-icon,
body.admin-iframe[data-theme='translucent'] .plugin-icon,
body.admin-iframe[data-theme='dark'] .plugin-icon {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}
body.admin-iframe[data-theme='color_4'] .plugin-top .tag,
body.admin-iframe[data-theme='color_5'] .plugin-top .tag,
body.admin-iframe[data-theme='color_6'] .plugin-top .tag,
body.admin-iframe[data-theme='translucent'] .plugin-top .tag,
body.admin-iframe[data-theme='dark'] .plugin-top .tag {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* 暗色主题全局边框降亮 */
body[data-theme='dark'] .card,
body[data-theme='dark'] .card-header,
body[data-theme='dark'] .card-footer,
body[data-theme='dark'] .table-bordered,
body[data-theme='dark'] .table > thead > tr > th,
body[data-theme='dark'] .table > tbody > tr > td,
body[data-theme='dark'] .table > tbody > tr > th,
body[data-theme='dark'] .form-control,
body[data-theme='dark'] .input-group-addon,
body[data-theme='dark'] .dropdown-menu,
body[data-theme='dark'] .modal-content,
body[data-theme='dark'] .modal-header,
body[data-theme='dark'] .modal-footer,
body[data-theme='dark'] .alert,
body[data-theme='dark'] .nav-tabs,
body[data-theme='dark'] .well,
body[data-theme='dark'] hr,
body.admin-iframe[data-theme='dark'] .card,
body.admin-iframe[data-theme='dark'] .card-header,
body.admin-iframe[data-theme='dark'] .table-bordered,
body.admin-iframe[data-theme='dark'] .table > thead > tr > th,
body.admin-iframe[data-theme='dark'] .table > tbody > tr > td,
body.admin-iframe[data-theme='dark'] .form-control,
body.admin-iframe[data-theme='dark'] .alert,
body.admin-iframe[data-theme='dark'] .nav-tabs {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body[data-theme='color_4'] .card,
body[data-theme='color_4'] .card-header,
body[data-theme='color_4'] .form-control,
body[data-theme='color_4'] .table-bordered,
body[data-theme='color_5'] .card,
body[data-theme='color_5'] .card-header,
body[data-theme='color_5'] .form-control,
body[data-theme='color_5'] .table-bordered,
body[data-theme='color_6'] .card,
body[data-theme='color_6'] .card-header,
body[data-theme='color_6'] .form-control,
body[data-theme='color_6'] .table-bordered,
body[data-theme='translucent'] .card,
body[data-theme='translucent'] .card-header,
body[data-theme='translucent'] .form-control,
body[data-theme='translucent'] .table-bordered,
body.admin-iframe[data-theme='color_4'] .card,
body.admin-iframe[data-theme='color_4'] .form-control,
body.admin-iframe[data-theme='color_4'] .table-bordered,
body.admin-iframe[data-theme='color_5'] .card,
body.admin-iframe[data-theme='color_5'] .form-control,
body.admin-iframe[data-theme='color_5'] .table-bordered,
body.admin-iframe[data-theme='color_6'] .card,
body.admin-iframe[data-theme='color_6'] .form-control,
body.admin-iframe[data-theme='color_6'] .table-bordered,
body.admin-iframe[data-theme='translucent'] .card,
body.admin-iframe[data-theme='translucent'] .form-control,
body.admin-iframe[data-theme='translucent'] .table-bordered {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* 暗色/彩色主题 + 彩色头部：右上角工具图标强制白色 */
body[data-theme='dark'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='translucent'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_4'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_5'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='color_6'] .lyear-layout-header .topbar-tool-btn,
body[data-headerbg*='color_'] .lyear-layout-header .topbar-tool-btn,
body[data-theme='dark'] .lyear-layout-header .topbar-tool-btn i,
body[data-theme='translucent'] .lyear-layout-header .topbar-tool-btn i,
body[data-theme='color_4'] .lyear-layout-header .topbar-tool-btn i,
body[data-theme='color_5'] .lyear-layout-header .topbar-tool-btn i,
body[data-theme='color_6'] .lyear-layout-header .topbar-tool-btn i,
body[data-headerbg*='color_'] .lyear-layout-header .topbar-tool-btn i {
  color: rgba(255, 255, 255, 0.92) !important;
}
body[data-theme='dark'] .lyear-layout-header .topbar-tool-btn:hover,
body[data-theme='dark'] .lyear-layout-header .topbar-tool-btn:focus,
body[data-theme='translucent'] .lyear-layout-header .topbar-tool-btn:hover,
body[data-theme='translucent'] .lyear-layout-header .topbar-tool-btn:focus,
body[data-theme='color_4'] .lyear-layout-header .topbar-tool-btn:hover,
body[data-theme='color_4'] .lyear-layout-header .topbar-tool-btn:focus,
body[data-theme='color_5'] .lyear-layout-header .topbar-tool-btn:hover,
body[data-theme='color_5'] .lyear-layout-header .topbar-tool-btn:focus,
body[data-theme='color_6'] .lyear-layout-header .topbar-tool-btn:hover,
body[data-theme='color_6'] .lyear-layout-header .topbar-tool-btn:focus,
body[data-headerbg*='color_'] .lyear-layout-header .topbar-tool-btn:hover,
body[data-headerbg*='color_'] .lyear-layout-header .topbar-tool-btn:focus {
  color: #fff !important;
}

/* 配色圆点选中勾：彩色底用白勾（仅白底 inverse 用深色勾） */
.drop-skin-li input[type=radio]:checked + label::after {
  color: #fff !important;
}
.drop-skin-li .inverse input[type=radio]:checked + label::after {
  color: #4d5259 !important;
}
body.admin-iframe[data-theme='color_4'] .foot-qr-thumb,
body.admin-iframe[data-theme='color_5'] .foot-qr-thumb,
body.admin-iframe[data-theme='color_6'] .foot-qr-thumb,
body.admin-iframe[data-theme='translucent'] .foot-qr-thumb,
body.admin-iframe[data-theme='dark'] .foot-qr-thumb {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}
body.admin-iframe[data-theme='color_4'] .nav-child-box,
body.admin-iframe[data-theme='color_5'] .nav-child-box,
body.admin-iframe[data-theme='color_6'] .nav-child-box,
body.admin-iframe[data-theme='translucent'] .nav-child-box {
  border-style: dashed !important;
}

/* ����/�༭���ı༭����ͨ�� + �����̨�����͸����ɫ */
.admin-compose-editor,
.admin-compose-editor .compose-editor-wrap {
  width: 100% !important;
  max-width: none !important;
}
body[data-theme='color_4'] .admin-compose-editor,
body[data-theme='color_5'] .admin-compose-editor,
body[data-theme='color_6'] .admin-compose-editor,
body[data-theme='translucent'] .admin-compose-editor,
body[data-theme='dark'] .admin-compose-editor,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor,
body.admin-iframe[data-theme='dark'] .admin-compose-editor {
  --w-e-textarea-bg-color: transparent;
  --w-e-textarea-color: rgba(255, 255, 255, 0.92);
  --w-e-textarea-border-color: var(--lyear-field-border, rgba(255, 255, 255, 0.2));
  --w-e-textarea-slight-border-color: var(--lyear-field-border, rgba(255, 255, 255, 0.16));
  --w-e-textarea-slight-color: rgba(255, 255, 255, 0.55);
  --w-e-textarea-slight-bg-color: rgba(255, 255, 255, 0.08);
  --w-e-toolbar-color: rgba(255, 255, 255, 0.88);
  --w-e-toolbar-bg-color: transparent;
  --w-e-toolbar-active-color: #fff;
  --w-e-toolbar-active-bg-color: rgba(255, 255, 255, 0.14);
  --w-e-toolbar-disabled-color: rgba(255, 255, 255, 0.35);
  --w-e-toolbar-border-color: var(--lyear-field-border, rgba(255, 255, 255, 0.16));
  --w-e-modal-button-bg-color: rgba(255, 255, 255, 0.1);
  --w-e-modal-button-border-color: var(--lyear-field-border, rgba(255, 255, 255, 0.2));
}
body[data-theme='color_4'] .admin-compose-editor .compose-editor-wrap,
body[data-theme='color_5'] .admin-compose-editor .compose-editor-wrap,
body[data-theme='color_6'] .admin-compose-editor .compose-editor-wrap,
body[data-theme='translucent'] .admin-compose-editor .compose-editor-wrap,
body[data-theme='dark'] .admin-compose-editor .compose-editor-wrap,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .compose-editor-wrap,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .compose-editor-wrap,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .compose-editor-wrap,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .compose-editor-wrap,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .compose-editor-wrap {
  background: var(--lyear-field-bg, rgba(255, 255, 255, 0.1)) !important;
  border: 1px solid var(--lyear-field-border, rgba(255, 255, 255, 0.2)) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body[data-theme='color_4'] .admin-compose-editor .compose-editor-toolbar,
body[data-theme='color_5'] .admin-compose-editor .compose-editor-toolbar,
body[data-theme='color_6'] .admin-compose-editor .compose-editor-toolbar,
body[data-theme='translucent'] .admin-compose-editor .compose-editor-toolbar,
body[data-theme='dark'] .admin-compose-editor .compose-editor-toolbar,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .compose-editor-toolbar,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .compose-editor-toolbar,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .compose-editor-toolbar,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .compose-editor-toolbar,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .compose-editor-toolbar,
body[data-theme='color_4'] .admin-compose-editor .w-e-bar,
body[data-theme='color_5'] .admin-compose-editor .w-e-bar,
body[data-theme='color_6'] .admin-compose-editor .w-e-bar,
body[data-theme='translucent'] .admin-compose-editor .w-e-bar,
body[data-theme='dark'] .admin-compose-editor .w-e-bar,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .w-e-bar,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .w-e-bar,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .w-e-bar,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .w-e-bar,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .w-e-bar {
  background: transparent !important;
  border-bottom: 1px solid var(--lyear-field-border, rgba(255, 255, 255, 0.16)) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
body[data-theme='color_4'] .admin-compose-editor .w-e-bar svg,
body[data-theme='color_5'] .admin-compose-editor .w-e-bar svg,
body[data-theme='color_6'] .admin-compose-editor .w-e-bar svg,
body[data-theme='translucent'] .admin-compose-editor .w-e-bar svg,
body[data-theme='dark'] .admin-compose-editor .w-e-bar svg,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .w-e-bar svg,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .w-e-bar svg,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .w-e-bar svg,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .w-e-bar svg,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .w-e-bar svg {
  fill: currentColor !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
body[data-theme='color_4'] .admin-compose-editor .w-e-text-container,
body[data-theme='color_5'] .admin-compose-editor .w-e-text-container,
body[data-theme='color_6'] .admin-compose-editor .w-e-text-container,
body[data-theme='translucent'] .admin-compose-editor .w-e-text-container,
body[data-theme='dark'] .admin-compose-editor .w-e-text-container,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .w-e-text-container,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .w-e-text-container,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .w-e-text-container,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .w-e-text-container,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .w-e-text-container {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.92) !important;
}
body[data-theme='color_4'] .admin-compose-editor .ql-toolbar.ql-snow,
body[data-theme='color_5'] .admin-compose-editor .ql-toolbar.ql-snow,
body[data-theme='color_6'] .admin-compose-editor .ql-toolbar.ql-snow,
body[data-theme='translucent'] .admin-compose-editor .ql-toolbar.ql-snow,
body[data-theme='dark'] .admin-compose-editor .ql-toolbar.ql-snow,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .ql-toolbar.ql-snow,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .ql-toolbar.ql-snow,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .ql-toolbar.ql-snow,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .ql-toolbar.ql-snow,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .ql-toolbar.ql-snow {
  background: transparent !important;
  border-color: var(--lyear-field-border, rgba(255, 255, 255, 0.16)) !important;
  color: rgba(255, 255, 255, 0.88);
}
body[data-theme='color_4'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body[data-theme='color_5'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body[data-theme='color_6'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body[data-theme='translucent'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body[data-theme='dark'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .ql-toolbar.ql-snow .ql-stroke {
  stroke: rgba(255, 255, 255, 0.85);
}
body[data-theme='color_4'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body[data-theme='color_5'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body[data-theme='color_6'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body[data-theme='translucent'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body[data-theme='dark'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .ql-toolbar.ql-snow .ql-fill {
  fill: rgba(255, 255, 255, 0.85);
}
body[data-theme='color_4'] .admin-compose-editor .ql-editor,
body[data-theme='color_5'] .admin-compose-editor .ql-editor,
body[data-theme='color_6'] .admin-compose-editor .ql-editor,
body[data-theme='translucent'] .admin-compose-editor .ql-editor,
body[data-theme='dark'] .admin-compose-editor .ql-editor,
body.admin-iframe[data-theme='color_4'] .admin-compose-editor .ql-editor,
body.admin-iframe[data-theme='color_5'] .admin-compose-editor .ql-editor,
body.admin-iframe[data-theme='color_6'] .admin-compose-editor .ql-editor,
body.admin-iframe[data-theme='translucent'] .admin-compose-editor .ql-editor,
body.admin-iframe[data-theme='dark'] .admin-compose-editor .ql-editor {
  color: rgba(255, 255, 255, 0.92);
}

/* 所有下拉面板隐藏滚动条（仍可滚动） */
.dropdown-menu,
.lyear-select-menu,
.bootstrap-select .dropdown-menu .inner,
.select2-results__options {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.dropdown-menu::-webkit-scrollbar,
.lyear-select-menu::-webkit-scrollbar,
.bootstrap-select .dropdown-menu .inner::-webkit-scrollbar,
.select2-results__options::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* 弹窗 / 对话框内容区隐藏滚动条（仍可滚动） */
.modal-body,
.modal-content,
.jconfirm .jconfirm-box,
.jconfirm .jconfirm-content,
.jconfirm .jconfirm-content-pane,
.jconfirm-holder,
.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.modal-body::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
.jconfirm .jconfirm-box::-webkit-scrollbar,
.jconfirm .jconfirm-content::-webkit-scrollbar,
.jconfirm .jconfirm-content-pane::-webkit-scrollbar,
.jconfirm-holder::-webkit-scrollbar,
.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
