/* ==========================================================================
   毛玻璃风主题（glass）—— 前台用户端
   柔彩渐变背景 + 半透明磨砂卡片 + 柔和光晕。纯样式覆盖层，最后加载。
   ========================================================================== */
:root{
  --glass-bg1:#c7d8ff;
  --glass-bg2:#f3d1f4;
  --glass-bg3:#b8e6f0;
  --glass-panel:rgba(255,255,255,.52);
  --glass-panel-strong:rgba(255,255,255,.68);
  --glass-line:rgba(255,255,255,.65);
  --glass-line-soft:rgba(255,255,255,.4);
  --glass-ink:#1e2340;
  --glass-sub:#5d6480;
  --glass-accent:#7c5cf0;
  --glass-accent2:#3aa8ff;
  --glass-blur:blur(22px) saturate(160%);
  --glass-shadow:0 16px 44px rgba(90,80,180,.16);
}

/* ── 全局渐变底 ── */
body.customer-body,

/* ── 全局渐变底 ── */
body.admin-body{
  background:linear-gradient(128deg,var(--glass-bg1) 0%,var(--glass-bg2) 46%,var(--glass-bg3) 100%) fixed!important;
  color:var(--glass-ink)!important;
}
body.customer-body::before,
body.admin-body::before{
  content:'';position:fixed;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(560px 420px at 18% 12%,rgba(255,255,255,.5),transparent 62%),
    radial-gradient(680px 520px at 86% 78%,rgba(255,255,255,.36),transparent 64%);
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .shell,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .shell,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .app-layout,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .app-layout,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .workspace,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .workspace,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .content-view,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .content-view{background:transparent!important;color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body h1,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body h1,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body h2,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body h2,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body h3,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body h3,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body h4,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body h4,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body strong,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body strong{color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .breadcrumb,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .breadcrumb,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .stat-card small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .stat-card small{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .eyebrow,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .eyebrow{color:var(--glass-accent)!important}
::selection{color:#fff;background:rgba(124,92,240,.8)}

/* ── 顶栏 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .topbar,

/* ── 顶栏 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .topbar{
  background:rgba(255,255,255,.42)!important;border-bottom:1px solid var(--glass-line-soft)!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .topbar h2,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .topbar h2{color:var(--glass-ink)!important}

/* ── 卡片（磨砂核心） ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .table-card,

/* ── 卡片（磨砂核心） ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .table-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .stat-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .stat-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .mapping-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .mapping-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .subscription-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .subscription-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .voucher-redeem-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .voucher-redeem-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .protocol-catalog,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .protocol-catalog,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .faq-list,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .faq-list{
  background:var(--glass-panel)!important;border:1px solid var(--glass-line)!important;
  border-radius:22px!important;box-shadow:var(--glass-shadow)!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
  color:var(--glass-ink)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .table-head,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .table-head{border-bottom:1px solid var(--glass-line-soft)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .stat-card strong,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .stat-card strong{
  background:linear-gradient(120deg,var(--glass-accent),var(--glass-accent2));
  -webkit-background-clip:text;background-clip:text;color:transparent!important;font-variant-numeric:tabular-nums;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .stat-watermark,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .stat-watermark{color:rgba(124,92,240,.12)!important;display:grid!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .dashboard-insight,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .dashboard-insight{
  background:linear-gradient(135deg,rgba(124,92,240,.18),rgba(58,168,255,.16))!important;
  border:1px solid rgba(255,255,255,.55)!important;color:var(--glass-ink)!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
}

/* ── 按钮 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .button.primary,

/* ── 按钮 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .button.primary{
  background:linear-gradient(135deg,var(--glass-accent),var(--glass-accent2))!important;color:#fff!important;
  border:1px solid rgba(255,255,255,.4)!important;box-shadow:0 10px 26px rgba(124,92,240,.32)!important;font-weight:600!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .button.primary:hover,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .button.primary:hover{box-shadow:0 14px 34px rgba(124,92,240,.42)!important;transform:translateY(-1px)}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .button.secondary,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .button.secondary,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .icon-button,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .icon-button{
  background:rgba(255,255,255,.5)!important;color:var(--glass-accent)!important;border:1px solid var(--glass-line)!important;
  backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .button.ghost,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .button.ghost{background:rgba(255,255,255,.32)!important;color:var(--glass-accent)!important;border:1px solid var(--glass-line)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .danger-button,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .danger-button{background:rgba(255,90,120,.14)!important;color:#e11d48!important;border:1px solid rgba(255,255,255,.5)!important}

/* ── 表单 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body input,

/* ── 表单 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body input,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body select,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body select,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body textarea,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body textarea{
  background:rgba(255,255,255,.58)!important;color:var(--glass-ink)!important;
  border:1px solid var(--glass-line)!important;border-radius:14px!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body input::placeholder,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body input::placeholder,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body textarea::placeholder,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body textarea::placeholder{color:rgba(93,100,128,.6)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body input:focus,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body input:focus,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body select:focus,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body select:focus,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body textarea:focus,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body textarea:focus{
  border-color:var(--glass-accent)!important;box-shadow:0 0 0 4px rgba(124,92,240,.16)!important;outline:none!important;
  background:rgba(255,255,255,.78)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body label,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body label{color:var(--glass-sub)!important}

/* ── 表格 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body table,

/* ── 表格 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body table{color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body thead th,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body thead th{color:var(--glass-sub)!important;border-bottom:1px solid var(--glass-line-soft)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body tbody td,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body tbody td{border-bottom:1px solid rgba(255,255,255,.36)!important;color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body tbody tr:hover,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body tbody tr:hover{background:rgba(255,255,255,.3)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body tbody tr:last-child td,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body tbody tr:last-child td{border-bottom:0!important}

/* ── 侧边导航（桌面窄栏） ── */
@media(min-width:1024px){
  html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .customer-bottom-nav{
    background:rgba(255,255,255,.44)!important;border-right:1px solid var(--glass-line-soft)!important;
    backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
  }
  html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .customer-bottom-nav:before{
    background:linear-gradient(135deg,var(--glass-accent),var(--glass-accent2))!important;
    box-shadow:0 8px 22px rgba(124,92,240,.34)!important;
  }
  html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .customer-bottom-nav .nav-item{color:var(--glass-sub)!important;background:transparent!important}
  html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .customer-bottom-nav .nav-item:hover{background:rgba(255,255,255,.5)!important;color:var(--glass-ink)!important}
  html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .customer-bottom-nav .nav-item.active{
    background:rgba(255,255,255,.72)!important;color:var(--glass-accent)!important;
    box-shadow:0 6px 18px rgba(124,92,240,.18)!important;
  }
}
/* 移动端底部胶囊栏 */
@media(max-width:1023px){
  html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .customer-bottom-nav{
    background:rgba(255,255,255,.55)!important;border:1px solid var(--glass-line)!important;
    backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
  }
  html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .customer-bottom-nav .nav-item{color:var(--glass-sub)!important;background:transparent!important}
  html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .customer-bottom-nav .nav-item.active{background:rgba(255,255,255,.75)!important;color:var(--glass-accent)!important}
}

/* ── 首页 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-page,

/* ── 首页 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-page{background:transparent!important;color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-nav,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-nav{
  background:rgba(255,255,255,.38)!important;border-bottom:1px solid var(--glass-line-soft)!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-brand strong,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-brand strong,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-hero-copy h1,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-hero-copy h1,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-section-head h2,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-section-head h2{color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-brand small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-brand small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-hero-copy p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-hero-copy p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-section-head p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-section-head p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-nav-link,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-nav-link{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .brand-mark,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .brand-mark,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-brand .brand-mark,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-brand .brand-mark{
  background:linear-gradient(135deg,var(--glass-accent),var(--glass-accent2))!important;color:#fff!important;
  box-shadow:0 8px 22px rgba(124,92,240,.34)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-kicker,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-kicker{
  background:rgba(255,255,255,.5)!important;color:var(--glass-accent)!important;border:1px solid var(--glass-line)!important;
  backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-workflow,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-workflow,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-capability-grid article,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-capability-grid article,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-template-stats-grid article,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-template-stats-grid article,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-showcase-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-showcase-card{
  background:var(--glass-panel)!important;border:1px solid var(--glass-line)!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
  box-shadow:var(--glass-shadow)!important;color:var(--glass-ink)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-workflow p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-workflow p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-capability-grid p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-capability-grid p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-workflow small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-workflow small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .workflow-row small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .workflow-row small{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .workflow-row,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .workflow-row{border-bottom:1px solid rgba(255,255,255,.4)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .workflow-num,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .workflow-num{
  background:rgba(255,255,255,.6)!important;color:var(--glass-accent)!important;border:1px solid var(--glass-line)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-trust-row span,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-trust-row span{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-trust-row span::before,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-trust-row span::before{background:var(--glass-accent)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-footer,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-footer{color:rgba(93,100,128,.75)!important;border-top:1px solid var(--glass-line-soft)!important;background:transparent!important}

/* ── 登录/注册 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .auth-panel,

/* ── 登录/注册 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .auth-panel{background:transparent!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .auth-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .auth-card{
  background:var(--glass-panel-strong)!important;border:1px solid var(--glass-line)!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
  box-shadow:var(--glass-shadow)!important;color:var(--glass-ink)!important;border-radius:26px!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .auth-card .form-heading h2,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .auth-card .form-heading h2{color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .auth-card .form-heading p,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .auth-card .form-heading p{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .tabs,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .tabs{background:rgba(255,255,255,.4)!important;border:1px solid var(--glass-line-soft)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .tab,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .tab{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .tab.active,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .tab.active{background:rgba(255,255,255,.8)!important;color:var(--glass-accent)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .auth-back-button,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .auth-back-button{color:var(--glass-accent)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .login-trust span,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .login-trust span{background:rgba(255,255,255,.45)!important;color:var(--glass-sub)!important;border:1px solid var(--glass-line-soft)!important}

/* ── 账户菜单 / 弹层 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .account-trigger,

/* ── 账户菜单 / 弹层 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .account-trigger{
  background:rgba(255,255,255,.5)!important;border:1px solid var(--glass-line)!important;
  backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .account-trigger strong,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .account-trigger strong{color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .account-popover,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .account-popover{
  background:rgba(255,255,255,.78)!important;border:1px solid var(--glass-line)!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
  box-shadow:var(--glass-shadow)!important;color:var(--glass-ink)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .account-menu-item,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .account-menu-item{color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .account-menu-item:hover,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .account-menu-item:hover{background:rgba(255,255,255,.6)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .account-menu-item small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .account-menu-item small{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .account-popover-head,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .account-popover-head{border-bottom:1px solid var(--glass-line-soft)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .account-popover-head small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .account-popover-head small{color:var(--glass-sub)!important}

/* ── 徽标与状态 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .badge,

/* ── 徽标与状态 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .badge,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .status-pill,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .status-pill{
  background:rgba(255,255,255,.55)!important;color:var(--glass-accent)!important;border:1px solid var(--glass-line)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .status-dot,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .status-dot{background:var(--glass-accent)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .message,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .message{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .empty-state,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .empty-state{color:var(--glass-sub)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .empty-state h3,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .empty-state h3{color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .empty-icon,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .empty-icon{color:rgba(124,92,240,.4)!important}

/* ── 弹窗 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body dialog,

/* ── 弹窗 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body dialog{
  background:rgba(255,255,255,.82)!important;color:var(--glass-ink)!important;
  border:1px solid var(--glass-line)!important;border-radius:24px!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;
  box-shadow:0 24px 64px rgba(90,80,180,.24)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body dialog::backdrop,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body dialog::backdrop{background:rgba(120,110,180,.28)!important;backdrop-filter:blur(8px)}

/* ── 滚动条 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body ::-webkit-scrollbar,

/* ── 滚动条 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body ::-webkit-scrollbar{width:10px;height:10px}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body ::-webkit-scrollbar-thumb,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body ::-webkit-scrollbar-thumb{background:rgba(124,92,240,.28);border-radius:8px;border:2px solid transparent;background-clip:padding-box}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body ::-webkit-scrollbar-track,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body ::-webkit-scrollbar-track{background:transparent}

/* ── 前台 AI 助手浮窗 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .ai-fab,

/* ── 前台 AI 助手浮窗 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .ai-fab,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .ai-launcher,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .ai-launcher{
  background:linear-gradient(135deg,var(--glass-accent),var(--glass-accent2))!important;color:#fff!important;
  box-shadow:0 10px 28px rgba(124,92,240,.38)!important;
}

/* ── 压白兜底：compact/dashboard 的 ID 白底、变量白底与表格白底 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body,

/* ── 压白兜底：compact/dashboard 的 ID 白底、变量白底与表格白底 ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body{background:linear-gradient(128deg,var(--glass-bg1) 0%,var(--glass-bg2) 46%,var(--glass-bg3) 100%) fixed!important;color:var(--glass-ink)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body #appView.app-layout,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body #appView.app-layout{background:transparent!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-hero,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-hero,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .auth-layout,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .auth-layout,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-section,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-section,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-capabilities,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-capabilities,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .home-template-showcase,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .home-template-showcase{background:transparent!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body table,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body table,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body thead,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body thead,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body tbody,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body tbody,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body tr,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body tr,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body th,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body th,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body td,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body td{background:transparent!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body tbody tr:hover td,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body tbody tr:hover td,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body tbody tr:hover,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body tbody tr:hover{background:rgba(255,255,255,.38)!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .mobile-record-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .mobile-record-card{
  background:var(--glass-panel)!important;border:1px solid var(--glass-line)!important;
  backdrop-filter:var(--glass-blur)!important;-webkit-backdrop-filter:var(--glass-blur)!important;color:var(--glass-ink)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .mobile-record-card small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .mobile-record-card small,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .mobile-record-card .record-meta,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .mobile-record-card .record-meta{color:var(--glass-sub)!important}

/* ── 压白兜底·第二段：workspace 实灰底改透明，让柔彩渐变透入内容区(毛玻璃质感) ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body #appView>.workspace,

/* ── 压白兜底·第二段：workspace 实灰底改透明，让柔彩渐变透入内容区(毛玻璃质感) ── */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body #appView>.workspace{background:transparent!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).customer-body .content-view,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .content-view{background:transparent!important}

/* ==========================================================================
   后台(admin)专属收尾 —— 侧边栏/顶栏/登录屏磨砂化
   ========================================================================== */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .sidebar{
  background:var(--glass-panel)!important;
  backdrop-filter:var(--glass-blur)!important;
  -webkit-backdrop-filter:var(--glass-blur)!important;
  border-right:1px solid var(--glass-line)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .sidebar-nav .nav-item{
  color:var(--glass-sub)!important;border-radius:14px!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .sidebar-nav .nav-item:hover{
  background:rgba(255,255,255,.5)!important;color:var(--glass-ink)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .sidebar-nav .nav-item.active{
  background:rgba(255,255,255,.75)!important;color:var(--glass-accent)!important;
  box-shadow:0 6px 18px rgba(124,92,240,.18)!important;
}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .topbar{
  background:rgba(255,255,255,.55)!important;
  backdrop-filter:var(--glass-blur)!important;
  -webkit-backdrop-filter:var(--glass-blur)!important;
  border-bottom:1px solid var(--glass-line-soft)!important;
}
/* 登录屏：整屏容器透出渐变，登录卡片磨砂 */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .admin-auth{background:transparent!important}
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .auth-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .boot-card{
  background:var(--glass-panel-strong)!important;
  backdrop-filter:var(--glass-blur)!important;
  -webkit-backdrop-filter:var(--glass-blur)!important;
  border:1px solid var(--glass-line)!important;
  box-shadow:var(--glass-shadow)!important;
}
/* 后台卡片族磨砂（面板/统计卡/表格卡） */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .panel,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .table-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .stat-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .template-card,
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body .template-stat-card{
  background:var(--glass-panel)!important;
  backdrop-filter:var(--glass-blur)!important;
  -webkit-backdrop-filter:var(--glass-blur)!important;
  border:1px solid var(--glass-line-soft)!important;
  box-shadow:var(--glass-shadow)!important;
}
/* 后台 app-layout 实灰底为 ID 级(compact.css #adminApp)，须同级压制 */
html[data-ui-theme="dashboard"] body:is(.customer-body,.admin-body).admin-body #adminApp.app-layout{background:transparent!important}

/* 1.1.56: opaque form surfaces and reduced mobile rendering cost */
html[data-ui-theme] body.customer-body.customer-body :is(input,select,textarea,.modal-card){background:rgba(255,255,255,.96)!important;color:#243047!important;border-color:#d6deed!important}
@media(max-width:700px){html[data-ui-theme] body.customer-body.customer-body :is(.table-card,.stat-card,.sidebar,.topbar,.mapping-card){backdrop-filter:none!important;background:rgba(255,255,255,.94)!important;box-shadow:0 3px 12px #3844640c!important}}
