/* Shared visual layer for every entry. Content, documents and canvases keep
   their own rendering styles; this file owns application chrome and controls. */
html[data-visual-system="glass"] {
  --wb-brand: #ff2442;
  --wb-accent-ink: #ba1e3a;
  --wb-ink: #262830;
  --wb-muted: #606a78;
  --wb-background: #f6f7f9;
  --wb-glass: rgba(255,255,255,.68);
  --wb-glass-strong: rgba(255,255,255,.93);
  --wb-glass-inset: rgba(255,255,255,.44);
  --wb-control: rgba(255,255,255,.78);
  --wb-line: rgba(214,221,232,.8);
  --wb-sheen: rgba(255,255,255,.34);
  --wb-highlight: rgba(255,255,255,.95);
  --wb-radius: 12px;
  --wb-shadow: 0 7px 24px rgba(37,43,62,.055), 0 1px 3px rgba(37,43,62,.03), inset 0 1px 0 var(--wb-highlight);
  --wb-font: -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","Noto Sans SC",sans-serif;
  --wb-title-size: 26px;
  --wb-ease: cubic-bezier(.2,.7,.25,1);
  background: var(--wb-background);
}
html[data-visual-system="glass"]:is([data-theme="dark"],:has(.monitor-surface[data-theme="dark"])) {
  --wb-ink:#f2f2f2;
  --wb-accent-ink:#ff7486;
  --wb-muted:#a3a3a3;
  --wb-background:#0f0f0f;
  --wb-glass:rgba(23,23,23,.86);
  --wb-glass-strong:rgba(29,29,29,.96);
  --wb-control:rgba(34,34,34,.94);
  --wb-glass-inset:rgba(34,34,34,.72);
  --wb-sheen:rgba(255,255,255,.025);
  --wb-highlight:rgba(255,255,255,.07);
  --wb-line:rgba(90,90,90,.5);
  --wb-shadow:0 8px 28px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.06);
}
html[data-visual-system="glass"] body {
  position: relative;
  isolation: isolate;
  background: var(--wb-background);
  color: var(--wb-ink);
  font-family: var(--wb-font);
}
html[data-visual-system="glass"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 92% 5%,rgba(255,36,66,.14),transparent 52%),radial-gradient(ellipse at 5% 85%,rgba(139,166,217,.13),transparent 52%);
  animation: wb-ambient-breathe 14s ease-in-out infinite alternate;
}
html[data-visual-system="glass"] :is(.app-shell,.original-shell,.main-shell,.original-shell .main-shell) {
  background: transparent;
  font-family: var(--wb-font);
}
/* Auto inline margins in a flex column otherwise shrink narrow pages to their
   contents. Keep the application gutter consistent without sizing the editor. */
html[data-visual-system="glass"] .app-shell:not(.is-editor)>.main-shell>.page-content {
  width:100%;
  min-width:0;
}
html[data-visual-system="glass"] :is(.sidebar,.original-shell .original-sidebar,.topbar,.merchant-connection-header,.original-sidebar-brand,.app-header,.workspace-header,.news-header,.resource-header,.card-topbar,.bs-header,.news-sidebar,.cl-sidebar) {
  background: var(--wb-glass);
  -webkit-backdrop-filter: var(--wb-backdrop-filter, blur(18px) saturate(125%));
  backdrop-filter: var(--wb-backdrop-filter, blur(18px) saturate(125%));
  border-color: var(--wb-line);
}
html[data-visual-system="glass"] :is(.topbar,.merchant-connection-header) {
  min-height: 64px;
  height: 64px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
}
html[data-visual-system="glass"] .sidebar>.brand,
html[data-visual-system="glass"] .original-sidebar-brand {height:64px;min-height:64px}
html[data-visual-system="glass"] .sidebar>.brand {padding-inline:20px}
html[data-visual-system="glass"] .sidebar .nav-item {min-height:40px;padding:10px 12px;font-size:12px}
html[data-visual-system="glass"] .sidebar .nav-label {font-size:11px}
html[data-visual-system="glass"] .original-desktop-tool-navigation .original-native-tool-menu.ant-menu .ant-menu-item {height:40px;line-height:40px;font-size:12px;padding-inline:12px!important}
html[data-visual-system="glass"] .original-desktop-tool-navigation .ant-menu-item-group-title {font-size:11px;font-weight:500;padding:16px 12px 6px}
html[data-visual-system="glass"] .original-desktop-tool-navigation .ant-menu {padding-inline:12px}
html[data-visual-system="glass"] .original-sidebar-brand {padding-inline:20px}
html[data-visual-system="glass"] .original-sidebar-brand .merchant-brand {gap:9px;font-size:14px;letter-spacing:0}
html[data-visual-system="glass"] .original-sidebar-brand .merchant-brand>span {width:34px;height:34px;min-height:34px;flex:none;border-radius:10px;padding:0;font-size:0;box-shadow:0 4px 9px #ff244225}
html[data-visual-system="glass"] .original-sidebar-brand .merchant-brand>span::before {content:"薯";font-size:21px;font-weight:700;letter-spacing:0;margin:auto}
html[data-visual-system="glass"] :is(.original-shell .original-sidebar,.merchant-help-center,.merchant-other-tools-page,.ant-typography,.ant-btn,.ant-menu,.ant-table,.ant-tabs,.ant-form,.ant-input,.ant-select,.ant-drawer,.ant-modal,.ant-alert,.ant-collapse) {font-family:var(--wb-font)}
@media(min-width:768px) {
  /* Ant Sider supplies these four dimensions inline. Override only its
     application shell, leaving tool-specific drawers and canvases alone. */
  html[data-visual-system="glass"] .original-shell .original-sidebar {width:206px!important;min-width:206px!important;max-width:206px!important;flex:0 0 206px!important}
  html[data-visual-system="glass"] .original-shell .main-shell {width:calc(100% - 206px)}
}
html[data-visual-system="glass"] :is(.panel,.stat-card,.asset-card,.other-tool-card,.merchant-platform-tool-card.ant-card,.ant-card,.help-topic-card,.help-question-card,.pn-panel,.nc-panel,.mp-panel,.wp-panel,.qf-panel,.pg-panel,.pl-panel,.dy-panel,.my-assets-card,.resource-card,.sh-card,.root-points-summary,.root-plan-card,.root-admin-panel,.root-admin-auth-card,.image-layout-panel,.card-panel,.cl-panel,.chart-card,.table-card,.admin-table-card,.orders-panel,.price-panel,.affiliate-link-card,.workspace-card,.auth-card,.login-card,.studio-material-card,.admin-panel,.admin-stat-card) {
  background-color: var(--wb-glass);
  background-image: linear-gradient(145deg,var(--wb-sheen),transparent 70%);
  border-color: var(--wb-line);
  border-radius: var(--wb-radius);
  box-shadow: var(--wb-shadow);
}
html[data-visual-system="glass"] :is(.panel,.stat-card,.workspace-card) {
  -webkit-backdrop-filter: var(--wb-backdrop-filter, blur(12px));
  backdrop-filter: var(--wb-backdrop-filter, blur(12px));
}
html[data-visual-system="glass"] :is(dialog,.modal,.ant-modal-content,.ant-drawer-content,.ant-popover-inner,.ant-select-dropdown,.ant-dropdown-menu) {
  background-color: var(--wb-glass-strong);
  border-color: var(--wb-line);
  box-shadow: 0 18px 68px rgba(37,43,62,.14),inset 0 1px 0 var(--wb-highlight);
  -webkit-backdrop-filter: var(--wb-backdrop-filter, blur(22px) saturate(125%));
  backdrop-filter: var(--wb-backdrop-filter, blur(22px) saturate(125%));
}
html[data-visual-system="glass"] dialog {border-radius:16px}
html[data-visual-system="glass"] dialog[open] {animation:wb-fade-in .22s var(--wb-ease)}
html[data-visual-system="glass"] dialog::backdrop {
  background:rgba(39,44,60,.24);
  -webkit-backdrop-filter:var(--wb-backdrop-filter,blur(3px));backdrop-filter:var(--wb-backdrop-filter,blur(3px));
}
html[data-visual-system="glass"] :is(.page-heading,.merchant-other-tools-heading-row)>h1 {font-family:var(--wb-font);font-weight:700;color:var(--wb-ink)}
html[data-visual-system="glass"] :is(.button,.ant-btn,.pn-button,.workspace-card,.resource-card,.nav-item,.ant-menu-item,.icon-button) {
  transition:background-color .18s var(--wb-ease),border-color .18s var(--wb-ease),box-shadow .22s var(--wb-ease),color .18s var(--wb-ease),translate .22s var(--wb-ease);
}
html[data-visual-system="glass"] :is(.button,.ant-btn,.pn-button) {border-radius:8px}
html[data-visual-system="glass"] :is(.button.primary,.ant-btn-primary,.pn-button-primary) {
  box-shadow:0 3px 9px rgba(255,36,66,.15),inset 0 1px 0 rgba(255,255,255,.2);
}
html[data-visual-system="glass"] :is(.button.secondary,.ant-btn-default,.pn-button):not(.primary):not(.pn-primary) {background-color:var(--wb-control)}
html[data-visual-system="glass"] :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]) {
  border-color:var(--wb-line);
  transition:border-color .18s var(--wb-ease),box-shadow .18s var(--wb-ease),background-color .18s var(--wb-ease);
}
html[data-visual-system="glass"] :is(input,select,textarea):focus-visible {outline:2px solid var(--wb-accent-ink);outline-offset:2px}
html[data-visual-system="glass"] :is(a,button,summary):focus-visible {outline:2px solid var(--wb-accent-ink);outline-offset:3px}
html[data-visual-system="glass"] :is(.nav-item.active,.ant-menu-item-selected) {background-color:rgba(255,36,66,.075);color:var(--wb-accent-ink)}
html[data-visual-system="glass"] .page-content:not(.editor-content) {animation:wb-fade-in .32s var(--wb-ease)}
html[data-visual-system="glass"] :is(.workspace-card,.resource-card,.other-tool-card,.merchant-platform-tool-card) {animation:wb-card-arrive .38s var(--wb-ease) backwards}
html[data-visual-system="glass"] :is(.workspace-card,.resource-card,.other-tool-card,.merchant-platform-tool-card):nth-child(2n) {animation-delay:.045s}
html[data-visual-system="glass"] :is(.workspace-card,.resource-card,.other-tool-card,.merchant-platform-tool-card):nth-child(3n) {animation-delay:.09s}
html[data-visual-system="glass"] .live-dot {animation:wb-status-breathe 3.4s ease-in-out infinite}
@media(hover:hover) and (pointer:fine) {
  html[data-visual-system="glass"] :is(.workspace-card,.resource-card,.other-tool-card,.merchant-platform-tool-card.ant-card):not(:has([disabled])):hover {
    translate:0 -3px;
    border-color:rgba(255,36,66,.2);
    box-shadow:0 14px 32px rgba(37,43,62,.075),0 2px 5px rgba(37,43,62,.025),inset 0 1px 0 #fff;
  }
  html[data-visual-system="glass"] :is(.button,.ant-btn,.pn-button):not(:disabled):not([aria-disabled=true]):hover {translate:0 -1px}
  html[data-visual-system="glass"] :is(.button,.ant-btn,.pn-button):not(:disabled):active {translate:0 0}
  html[data-visual-system="glass"] .workspace-card:hover .workspace-arrow {translate:3px 0;color:var(--wb-brand)}
}
html[data-visual-system="glass"] .workspace-arrow {transition:translate .22s var(--wb-ease),color .18s}
@keyframes wb-ambient-breathe {from{opacity:.48;transform:scale(1)}to{opacity:.95;transform:scale(1.035)}}
@keyframes wb-fade-in {from{opacity:0}to{opacity:1}}
@keyframes wb-card-arrive {from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes wb-status-breathe {0%,100%{box-shadow:0 0 0 0 rgba(73,181,141,0)}50%{box-shadow:0 0 0 4px rgba(73,181,141,.12)}}
/* The content workspace shares the application surfaces, including its
   unavailable state. Article bodies and review documents retain their styles. */
html[data-visual-system="glass"] .studio-surface {background:transparent;color:var(--wb-ink);font-family:var(--wb-font)}
html[data-visual-system="glass"] .studio-surface :is(.app-layout,.ant-layout,.login) {background:transparent}
html[data-visual-system="glass"] .studio-surface .ant-layout-sider {background:var(--wb-glass);border-right:1px solid var(--wb-line);-webkit-backdrop-filter:var(--wb-backdrop-filter,blur(18px) saturate(125%));backdrop-filter:var(--wb-backdrop-filter,blur(18px) saturate(125%))}
html[data-visual-system="glass"] .studio-surface .ant-layout-sider .ant-menu {background:transparent}
html[data-visual-system="glass"] .studio-surface .brand {height:64px;padding:0 14px}
html[data-visual-system="glass"] .studio-surface .brand strong {font-size:14px}
html[data-visual-system="glass"] .studio-surface .ant-menu-item {height:40px;line-height:40px;font-size:12px}
html[data-visual-system="glass"] .studio-surface .brand-mark {width:34px;height:34px;flex:none;background:var(--wb-brand);color:#fff;font-size:21px;font-weight:700;border-radius:10px;box-shadow:0 4px 9px #ff244225}
html[data-visual-system="glass"] .studio-surface :is(.login-intro p,.login-intro>span,.muted) {color:var(--wb-muted)}
html[data-visual-system="glass"] .studio-surface .studio-profile-avatar {background:rgba(255,36,66,.075);color:var(--wb-brand)}
html[data-visual-system="glass"] .studio-surface .page-heading h2 {font-size:var(--wb-title-size)}
html[data-visual-system="glass"] .studio-surface .main-content {animation:wb-fade-in .32s var(--wb-ease)}
html[data-visual-system="glass"] .studio-surface .studio-navigation-toggle {display:none;flex:none;width:44px;height:44px;padding:0}
html[data-visual-system="glass"] .studio-surface .studio-breadcrumb {min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-visual-system="glass"] .studio-surface .studio-navigation-drawer .ant-drawer-header {min-height:64px;border-color:var(--wb-line)}
html[data-visual-system="glass"] .studio-surface .studio-navigation-drawer .ant-drawer-title {font-size:14px}
html[data-visual-system="glass"] .studio-surface .studio-navigation-drawer .ant-drawer-body {padding:12px}
html[data-visual-system="glass"] .studio-surface .studio-navigation-drawer .ant-menu {background:transparent}
@media(max-width:767px) {
  html[data-visual-system="glass"] .studio-surface .ant-layout-sider {display:none}
  html[data-visual-system="glass"] .studio-surface .studio-navigation-toggle {display:inline-flex}
}
@media(min-width:992px) {
  html[data-visual-system="glass"] .studio-surface .brand {padding-inline:20px}
  html[data-visual-system="glass"] .studio-surface .main-content {padding:32px}
  html[data-visual-system="glass"] .studio-surface .topbar {padding-inline:32px}
}
.studio-unavailable-page {box-sizing:border-box;display:grid;place-items:center;min-height:100vh;min-height:100dvh;padding:24px}
.studio-unavailable-card {width:100%;max-width:520px}
.studio-unavailable-card>.ant-card-body {padding:32px}
.studio-unavailable-card h2 {margin-top:20px;font-size:24px}
.studio-unavailable-card .muted {line-height:1.8}
.studio-state-icon {display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#fff0f3;color:var(--wb-brand);font-size:24px}
.studio-state-actions {display:flex;flex-wrap:wrap;gap:12px}
.studio-state-details {margin-top:24px;color:var(--wb-muted);font-size:12px}
.studio-state-details summary {cursor:pointer}
.studio-state-details p {overflow-wrap:anywhere;margin-bottom:0}
/* The standalone entry uses the same shell, type, controls and surfaces. */
.workspace-entry {margin:0;font:14px/1.6 var(--wb-font)}
.workspace-entry * {box-sizing:border-box}
.workspace-entry a {color:inherit;text-decoration:none}
.workspace-entry .workbench-skip-link {position:fixed;top:8px;left:8px;z-index:1000;transform:translateY(-160%);background:white;color:#c21a3e;border:2px solid currentColor;border-radius:8px;padding:10px 14px}
.workspace-entry .workbench-skip-link:focus {transform:none}
.workspace-entry .app-shell {display:flex;min-height:100vh}
.workspace-entry .sidebar {position:fixed;inset:0 auto 0 0;z-index:20;display:flex;flex-direction:column;width:206px;border-right:1px solid var(--wb-line)}
.workspace-entry .brand {display:flex;align-items:center;gap:9px;padding:0 20px}
.workspace-entry .brand-mark {display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:var(--wb-brand);color:white;font-size:21px;font-weight:700;box-shadow:0 4px 9px #ff244225}
.workspace-entry .brand strong {font-size:14px;font-weight:650}
.workspace-entry :is(.sidebar,#workspace-mobile-navigation) nav {display:grid;gap:4px;padding:16px 12px}
.workspace-entry .nav-label {margin:0 12px 6px;font-size:11px;color:var(--wb-muted)}
.workspace-entry .nav-item {display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:var(--wb-muted);font-size:12px}
.workspace-entry .nav-item svg {width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.workspace-entry .nav-item:hover {background:rgba(0,0,0,.035);color:var(--wb-ink)}
.workspace-entry .sidebar-bottom {margin-top:auto;padding:20px 24px;border-top:1px solid var(--wb-line);font-size:11px;color:var(--wb-muted)}
.workspace-entry .live-dot {display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:#49b58d}
.workspace-entry .main-shell {width:calc(100% - 206px);margin-left:206px}
.workspace-entry .topbar {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 33px;border-bottom:1px solid var(--wb-line)}
.workspace-entry .breadcrumb {font-size:12px;color:var(--wb-muted)}
.workspace-entry .breadcrumb strong {color:#595f6b;font-weight:500}
.workspace-entry .topbar a {font-size:12px;color:var(--wb-muted);padding:8px;border-radius:8px}
.workspace-entry .workspace-actions {display:flex;align-items:center;gap:8px}
.workspace-entry :is(#workspace-menu,#workspace-mobile-navigation button) {min-height:40px;padding:0 12px;border:1px solid var(--wb-line);border-radius:8px;background:var(--wb-control);color:var(--wb-ink);font:inherit;font-size:12px;cursor:pointer}
.workspace-entry :is(#workspace-menu,#workspace-mobile-navigation button):hover {border-color:var(--wb-brand);color:var(--wb-accent-ink)}
.workspace-entry #workspace-mobile-navigation {position:fixed;inset:0 auto 0 0;margin:0;width:min(320px,calc(100% - 24px));max-width:none;height:100%;max-height:100dvh;padding:0;border-width:0 1px 0 0;border-style:solid;border-radius:0 16px 16px 0;color:var(--wb-ink);overscroll-behavior:contain}
.workspace-entry #workspace-mobile-navigation>header {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:8px 16px;border-bottom:1px solid var(--wb-line)}
.workspace-entry #workspace-mobile-title {font-size:15px;margin:0}
html[data-visual-system="glass"] .workspace-entry #workspace-mobile-navigation[open] {animation:wb-workspace-drawer-in .22s var(--wb-ease)}
@keyframes wb-workspace-drawer-in {from {translate:-100% 0;opacity:.6}}
.workspace-entry .page-content {width:100%;max-width:1120px;margin:auto;padding:34px 33px}
.workspace-entry .page-heading {margin-bottom:26px}
.workspace-entry .page-heading h1 {font-size:26px;letter-spacing:-.6px;margin:0 0 8px}
.workspace-entry .page-heading p {font-size:13px;color:var(--wb-muted);margin:0}
.workspace-entry .workspace-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.workspace-entry .workspace-card {display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:110px;padding:22px 24px;border:1px solid var(--wb-line)}
.workspace-entry .workspace-card:first-child {grid-column:1/-1;border-color:rgba(255,36,66,.18)}
.workspace-entry .workspace-card strong {display:block;font-size:16px;font-weight:600}
.workspace-entry .workspace-card small {display:block;margin-top:5px;font-size:12px;color:var(--wb-muted)}
.workspace-entry .workspace-arrow {flex:none;color:#a2a8b2;font-size:20px}
.workspace-entry footer {font-size:12px;color:var(--wb-muted);margin-top:24px}
.workspace-entry footer a {color:var(--wb-accent-ink);text-decoration:underline;text-underline-offset:3px}
@media(max-width:767px) {
  .workspace-entry .sidebar {display:none}
  .workspace-entry .main-shell {width:100%;margin-left:0}
  .workspace-entry .topbar {padding-inline:18px}
  .workspace-entry .page-content {padding:26px 18px}
  .workspace-entry .page-heading h1 {font-size:24px}
  .workspace-entry .workspace-grid {grid-template-columns:1fr;gap:12px}
  .workspace-entry .workspace-card {min-height:94px;padding:18px 20px}
  html[data-visual-system="glass"] :is(.panel,.stat-card,.workspace-card) {-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* One application language across the static entry, native workspace,
   merchant tools and auxiliary apps. No document or canvas styling here. */
html[data-visual-system="glass"] :is(.sidebar>.brand,.original-sidebar-brand) {
  border-bottom:1px solid var(--wb-line);
}
html[data-visual-system="glass"] .sidebar>.brand strong {font-size:14px;letter-spacing:0}
html[data-visual-system="glass"] .sidebar>.brand small {display:none}
html[data-visual-system="glass"] .sidebar .brand-mark {width:34px;height:34px;font-size:21px;letter-spacing:0}
html[data-visual-system="glass"] .sidebar .nav-item {border-radius:8px;gap:10px;font-weight:400}
html[data-visual-system="glass"] .sidebar .nav-item.active {font-weight:600;box-shadow:inset 2px 0 0 var(--wb-brand)}
html[data-visual-system="glass"] .original-desktop-tool-navigation .original-native-tool-menu.ant-menu .ant-menu-item-selected {
  color:var(--wb-accent-ink);background:rgba(255,36,66,.075);font-weight:600;box-shadow:inset 2px 0 0 var(--wb-brand);
}
html[data-visual-system="glass"] .original-desktop-tool-navigation .original-native-tool-menu.ant-menu .ant-menu-item:not(.ant-menu-item-selected):hover {
  background:rgba(128,139,160,.075);
}
html[data-visual-system="glass"] :is(.sidebar-bottom,.original-desktop-site-identity) {border-color:var(--wb-line);color:var(--wb-muted)}
html[data-visual-system="glass"] :is(.topbar,.merchant-connection-header) {
  position:sticky;top:0;z-index:10;border-bottom:1px solid var(--wb-line);box-shadow:inset 0 1px 0 var(--wb-highlight);
}
html[data-visual-system="glass"] :is(.breadcrumb,.merchant-workspace-context) {font-size:12px;font-weight:400;color:var(--wb-muted)}
html[data-visual-system="glass"] :is(.page-heading h1,.merchant-tool-page-head h1,.merchant-other-tools-heading-row h1,.resource-container>h1) {
  font-size:26px;line-height:1.35;font-weight:700;letter-spacing:-.6px;color:var(--wb-ink);
}
html[data-visual-system="glass"] :is(.page-heading p,.merchant-tool-page-title-block>p) {font-size:13px;line-height:1.75;color:var(--wb-muted)}
html[data-visual-system="glass"] :is(.button,.ant-btn,.pn-button,.nc-button,.dy-button,.mp-button,.wp-button,.qf-button,.pg-button,.pl-button) {
  border-radius:8px;transition:background-color .18s var(--wb-ease),border-color .18s var(--wb-ease),box-shadow .22s var(--wb-ease),color .18s var(--wb-ease),translate .22s var(--wb-ease);
}
html[data-visual-system="glass"] .page-content:not(.editor-content) :is(.button,.ant-btn):not(.ant-btn-sm):not(.icon-button) {min-height:34px}
html[data-visual-system="glass"] :is(.ant-input-affix-wrapper,.ant-select-selector,.ant-input-number,.ant-picker) {
  background-color:var(--wb-control);border-color:var(--wb-line);border-radius:8px;
}
html[data-visual-system="glass"] .ant-input-affix-wrapper>input {background:transparent}
html[data-visual-system="glass"] .panel :is(input,textarea,select):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]) {background-color:var(--wb-control);border-radius:8px}
html[data-visual-system="glass"] .ant-tabs-nav::before,
html[data-visual-system="glass"] :is(.ant-table-thead>tr>th,.table-wrap th) {border-color:var(--wb-line)}
html[data-visual-system="glass"] :is(.ant-table-wrapper .ant-table,.table-wrap table) {background:transparent}
html[data-visual-system="glass"] :is(.ant-table-thead>tr>th,.table-wrap th) {background:rgba(239,242,247,.6)}
html[data-visual-system="glass"][data-theme="dark"] :is(.ant-table-thead>tr>th,.table-wrap th) {background:rgba(40,40,40,.7)}
html[data-visual-system="glass"] .ant-card-head {border-color:var(--wb-line)}
html[data-visual-system="glass"] :is(.stats-grid>.stat-card,.page-content>.panel) {animation:wb-card-arrive .38s var(--wb-ease) backwards}
html[data-visual-system="glass"] .stats-grid>.stat-card:nth-child(2) {animation-delay:.035s}
html[data-visual-system="glass"] .stats-grid>.stat-card:nth-child(3) {animation-delay:.07s}
html[data-visual-system="glass"] .stats-grid>.stat-card:nth-child(4) {animation-delay:.105s}
html[data-visual-system="glass"] :is(.workspace-card,.resource-card,.other-tool-card,.merchant-platform-tool-card) {position:relative}
html[data-visual-system="glass"] .workspace-card:first-child {
  background-image:radial-gradient(ellipse at 100% 0,rgba(255,36,66,.055),transparent 65%),linear-gradient(145deg,var(--wb-sheen),transparent 70%);
}
html[data-visual-system="glass"] .resource-card {transform:none}
html[data-visual-system="glass"] .workspace-card:focus-visible {outline:2px solid var(--wb-brand);outline-offset:4px}
html[data-visual-system="glass"] :is(.auth-page,.auth-form-wrap) {background:transparent}
html[data-visual-system="glass"] .auth-intro {
  background:linear-gradient(135deg,rgba(255,239,242,.58),rgba(255,255,255,.45));border-right:1px solid var(--wb-line);
}
html[data-visual-system="glass"] .auth-form {animation:wb-card-arrive .4s var(--wb-ease)}
html[data-visual-system="glass"] .auth-form-wrap > .auth-form {
  padding: clamp(18px,5vw,30px);
  background: var(--wb-glass);
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  box-shadow: var(--wb-shadow);
  backdrop-filter: var(--wb-backdrop-filter,blur(14px));
}
html[data-visual-system="glass"] :is(.auth-destination,.auth-form p) {color:var(--wb-muted)}
html[data-visual-system="glass"] .auth-destination a {color:var(--wb-accent-ink)}
html[data-visual-system="glass"] .auth-form input {background:var(--wb-control);border-radius:8px}
@media(min-width:768px) {
  html[data-visual-system="glass"] .merchant-connection-header {padding-inline:33px}
  html[data-visual-system="glass"] .original-shell:not(.is-editor)>.main-shell>.page-content {padding:31px 33px 24px}
}
@media(hover:hover) and (pointer:fine) {
  html[data-visual-system="glass"] :is(.workspace-card,.resource-card,.other-tool-card,.merchant-platform-tool-card.ant-card):not(:has([disabled])):hover {
    background-color:var(--wb-glass-strong);border-color:rgba(255,36,66,.25);
    box-shadow:0 13px 30px rgba(37,43,62,.085),inset 0 1px 0 var(--wb-highlight);
  }
  html[data-visual-system="glass"] .stats-grid>.stat-card {transition:border-color .2s var(--wb-ease),box-shadow .2s var(--wb-ease)}
  html[data-visual-system="glass"] .stats-grid>.stat-card:hover {border-color:rgba(255,36,66,.2);box-shadow:0 10px 27px rgba(37,43,62,.075),inset 0 1px 0 var(--wb-highlight)}
}
@media(max-width:767px) {
  html[data-visual-system="glass"] :is(.page-heading h1,.merchant-tool-page-head h1,.merchant-other-tools-heading-row h1,.resource-container>h1) {font-size:24px}
  html[data-visual-system="glass"] :is(.topbar,.merchant-connection-header) {height:auto;min-height:64px}
}
/* Compact the native mobile header as well as merchant headers. Keep the
   current page readable instead of wrapping breadcrumbs character by character. */
@media(max-width:850px) {
  html[data-visual-system="glass"] .nav-shade {background:rgba(23,35,51,.24);-webkit-backdrop-filter:var(--wb-backdrop-filter,blur(2px));backdrop-filter:var(--wb-backdrop-filter,blur(2px))}
  html[data-visual-system="glass"] .app-shell:not(.original-shell)>.main-shell>.topbar {gap:8px;padding:10px 14px;height:auto;min-height:64px}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar>.toolbar {display:flex;align-items:center;gap:8px;flex:1;min-width:0}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar .mobile-menu {flex:none}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar .breadcrumb {display:block;min-width:0;font-size:0;overflow:hidden;white-space:nowrap}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar .breadcrumb>span {display:none}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar .breadcrumb>strong {display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar-right {flex:none;gap:6px}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar-right>:is(.top-status,.user-avatar,.user-display-name,.monitor-alert-trigger) {display:none}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar-right .account-invite-trigger span {display:none}
}
/* All workbench navigation uses the retained 767px boundary. Content may
   still compact at 850px; that must not independently hide desktop navigation. */
@media(max-width:767px) {
  html[data-visual-system="glass"] body:not(.workspace-entry) .app-shell:not(.original-shell)>.sidebar {visibility:hidden;pointer-events:none}
  html[data-visual-system="glass"] body:not(.workspace-entry) .app-shell:not(.original-shell)>.sidebar.open {visibility:visible;pointer-events:auto;transition-property:transform}
}
@media(min-width:768px) and (max-width:850px) {
  html[data-visual-system="glass"] body:not(.workspace-entry) .app-shell:not(.original-shell)>.sidebar {transform:none;visibility:visible;pointer-events:auto}
  html[data-visual-system="glass"] .app-shell:not(.original-shell)>.main-shell {margin-left:206px;width:calc(100% - 206px)}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .topbar .mobile-menu {display:none}
  html[data-visual-system="glass"] .app-shell:not(.original-shell)>.nav-shade {display:none}
  html[data-visual-system="glass"] .app-shell:not(.original-shell) .stats-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Authenticated management uses the same surfaces and controls as the
   workbench. Keep its grid, data geometry and existing brand mark. */
html[data-visual-system="glass"] :is(.root-admin-shell,.root-admin-login,.root-admin-message) {
  background:transparent;color:var(--wb-ink);font-family:var(--wb-font);
}
html[data-visual-system="glass"] .root-admin-shell :is(button,input,select,textarea,table),
html[data-visual-system="glass"] .root-admin-login :is(button,input) {font-family:var(--wb-font)}
html[data-visual-system="glass"] :is(.root-admin-sidebar,.root-admin-header) {
  background:var(--wb-glass);border-color:var(--wb-line);
  -webkit-backdrop-filter:var(--wb-backdrop-filter,blur(18px) saturate(125%));backdrop-filter:var(--wb-backdrop-filter,blur(18px) saturate(125%));
}
html[data-visual-system="glass"] .root-admin-header {height:64px;box-shadow:inset 0 1px 0 var(--wb-highlight)}
html[data-visual-system="glass"] .root-admin-sidebar nav a {
  border-radius:8px;font-size:12px;font-weight:400;min-height:40px;padding:10px 12px;color:var(--wb-muted);
  transition:background-color .18s var(--wb-ease),color .18s var(--wb-ease),box-shadow .18s var(--wb-ease);
}
html[data-visual-system="glass"] .root-admin-sidebar nav a.active {
  background:rgba(255,36,66,.075);color:var(--wb-accent-ink);font-weight:600;box-shadow:inset 2px 0 0 var(--wb-brand);
}
html[data-visual-system="glass"] :is(.root-admin-muted,.root-admin-heading p,.root-admin-eyebrow,.root-admin-sidebar>p,.root-admin-brand small) {color:var(--wb-muted)}
html[data-visual-system="glass"] .root-admin-heading h1 {font-size:26px;line-height:1.35;letter-spacing:-.6px;color:var(--wb-ink)}
html[data-visual-system="glass"] :is(.root-admin-table-wrap,.root-admin-overview-grid>article) {
  background-color:var(--wb-glass);background-image:linear-gradient(145deg,var(--wb-sheen),transparent 70%);
  border-color:var(--wb-line);border-radius:var(--wb-radius);box-shadow:var(--wb-shadow);
}
html[data-visual-system="glass"] :is(.root-admin-panel,.root-admin-auth-card,.root-admin-table-wrap,.root-admin-overview-grid>article) {
  -webkit-backdrop-filter:var(--wb-backdrop-filter,blur(12px));backdrop-filter:var(--wb-backdrop-filter,blur(12px));
}
html[data-visual-system="glass"] .root-admin-table-wrap :is(th,td) {border-color:var(--wb-line)}
html[data-visual-system="glass"] .root-admin-table-wrap th {background:var(--wb-sheen);color:var(--wb-muted)}
html[data-visual-system="glass"] .root-admin-table-wrap tbody tr {transition:background-color .18s var(--wb-ease)}
html[data-visual-system="glass"] .root-admin-main :is(button:not(dialog button),input,select,textarea) {border-color:var(--wb-line);border-radius:8px}
html[data-visual-system="glass"] .root-admin-main :is(button:not(dialog button),input,select,textarea),
html[data-visual-system="glass"] .root-admin-auth-card input:not([type=checkbox]) {background-color:var(--wb-control);color:var(--wb-ink)}
html[data-visual-system="glass"] :is(.root-admin-main,.root-admin-login) button {
  transition:background-color .18s var(--wb-ease),border-color .18s var(--wb-ease),box-shadow .22s var(--wb-ease),translate .22s var(--wb-ease);
}
html[data-visual-system="glass"] .root-admin-operation-tabs button[aria-pressed="true"] {
  background-color:rgba(255,36,66,.075);color:var(--wb-brand);border-color:rgba(255,36,66,.22);box-shadow:none;
}
html[data-visual-system="glass"] .root-admin-main {animation:wb-fade-in .32s var(--wb-ease)}
html[data-visual-system="glass"] :is(.root-admin-overview-grid>article,.root-admin-auth-card) {animation:wb-card-arrive .38s var(--wb-ease) backwards}
html[data-visual-system="glass"] .root-admin-overview-grid>article:nth-child(2n) {animation-delay:.035s}
html[data-visual-system="glass"] .root-admin-overview-grid>article:nth-child(3n) {animation-delay:.07s}
@media(hover:hover) and (pointer:fine) {
  html[data-visual-system="glass"] .root-admin-sidebar nav a:not(.active):hover {background:rgba(128,139,160,.075);color:var(--wb-ink)}
  html[data-visual-system="glass"] :is(.root-admin-main,.root-admin-login) button:not(:disabled):not([aria-disabled=true]):hover {translate:0 -1px;box-shadow:0 3px 9px rgba(37,43,62,.065)}
  html[data-visual-system="glass"] .root-admin-table-wrap tbody tr:hover {background:var(--wb-sheen)}
}
@media(max-width:767px) {
  html[data-visual-system="glass"] .root-admin-shell {display:block}
  html[data-visual-system="glass"] .root-admin-sidebar {position:static;height:auto;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--wb-line)}
  html[data-visual-system="glass"] .root-admin-sidebar nav {display:flex;gap:5px;overflow:auto;margin-top:16px}
  html[data-visual-system="glass"] .root-admin-sidebar nav a {flex:none;white-space:nowrap;min-height:36px;padding:8px 12px}
  html[data-visual-system="glass"] .root-admin-sidebar>p {display:none}
  html[data-visual-system="glass"] .root-admin-main {padding:24px 14px 40px}
  html[data-visual-system="glass"] .root-admin-header {padding:0 14px;gap:10px}
  html[data-visual-system="glass"] .root-admin-header .user-display-name {display:none}
  html[data-visual-system="glass"] .root-admin-heading h1 {font-size:24px}
  html[data-visual-system="glass"] :is(.root-admin-panel,.root-admin-auth-card,.root-admin-table-wrap,.root-admin-overview-grid>article) {-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* The separate root user portal keeps its original layout and 760px drawer
   behavior. Only application chrome/panels join the shared visual language. */
html[data-visual-system="glass"] :is(.root-app-shell,.root-app-content) {background:transparent;color:var(--wb-ink);font-family:var(--wb-font)}
html[data-visual-system="glass"] .root-app-shell :is(button,input,select,textarea) {font-family:var(--wb-font)}
html[data-visual-system="glass"] :is(.root-app-sidebar,.root-site-header) {
  background:var(--wb-glass);border-color:var(--wb-line);-webkit-backdrop-filter:var(--wb-backdrop-filter,blur(18px) saturate(125%));backdrop-filter:var(--wb-backdrop-filter,blur(18px) saturate(125%));
}
html[data-visual-system="glass"] .root-sidebar-nav a {font-size:12px;border-radius:8px;transition:background-color .18s var(--wb-ease),color .18s var(--wb-ease),box-shadow .18s var(--wb-ease)}
html[data-visual-system="glass"] .root-sidebar-nav a.active {background:rgba(255,36,66,.075);color:var(--wb-accent-ink);box-shadow:inset 2px 0 0 var(--wb-brand)}
html[data-visual-system="glass"] :is(.root-creator .canvas-panel,.root-creator .control-panel,.root-history .history-empty,.root-history .history-info-strip,.root-history .history-card,.root-styles .style-library-panel,.root-styles .style-editor-panel,.root-styles .style-platform-panel,.root-orders-table,.root-points-empty) {
  background-color:var(--wb-glass);background-image:linear-gradient(145deg,var(--wb-sheen),transparent 70%);border-color:var(--wb-line);border-radius:var(--wb-radius);box-shadow:var(--wb-shadow);
}
html[data-visual-system="glass"] .root-orders-table :is(th,td) {border-color:var(--wb-line)}
html[data-visual-system="glass"] .root-orders-table th {background:var(--wb-sheen)}
html[data-visual-system="glass"] .root-plan-card.selected {
  border-color:var(--wb-brand);background-color:rgba(255,36,66,.055);box-shadow:0 0 0 1px var(--wb-brand),var(--wb-shadow);
}
html[data-visual-system="glass"] .root-page-shell {animation:wb-fade-in .32s var(--wb-ease)}
html[data-visual-system="glass"] .root-app-shell button {transition:background-color .18s var(--wb-ease),border-color .18s var(--wb-ease),box-shadow .22s var(--wb-ease)}
@media(hover:hover) and (pointer:fine) {
  html[data-visual-system="glass"] .root-sidebar-nav a:not(.active):hover {background:rgba(128,139,160,.075)}
}
/* Shared hierarchy also covers nested cards and the more specific Ant tool
   headings. Keep application styling outside document/canvas contents. */
html[data-visual-system="glass"] .workspace-entry .page-content {max-width:1800px;padding-top:31px}
html[data-visual-system="glass"] .workspace-entry .page-heading {margin-bottom:25px}
html[data-visual-system="glass"] .page-content .merchant-tool-page .merchant-tool-page-head h1.ant-typography {
  font-family:var(--wb-font);font-size:var(--wb-title-size);line-height:1.35;font-weight:700;letter-spacing:-.6px;margin:0;
}
html[data-visual-system="glass"] .page-content .merchant-tool-page .merchant-tool-page-head .ant-typography:not(h1):not(h2):not(h3) {
  font-family:var(--wb-font);font-size:13px;line-height:1.75;color:var(--wb-muted);
}
html[data-visual-system="glass"] .main-shell:has(.roi-calculator)>.topbar {height:64px;min-height:64px;border-bottom:1px solid var(--wb-line)}
html[data-visual-system="glass"] section.roi-calculator {font-family:var(--wb-font);color:var(--wb-ink)}
html[data-visual-system="glass"] .roi-calculator .roi-head-copy h1 {font-family:var(--wb-font);font-size:var(--wb-title-size);font-weight:700;line-height:1.35;letter-spacing:-.6px}
html[data-visual-system="glass"] .roi-calculator .roi-head-copy p {font-size:13px;line-height:1.75;color:var(--wb-muted)}
html[data-visual-system="glass"] :is(.capability-model-card,.help-tabs-card .help-topic-card,.help-tabs-card .help-question-card) {
  background:var(--wb-glass-inset);border:1px solid var(--wb-line);border-radius:10px;
  box-shadow:inset 0 1px 0 var(--wb-highlight);
  animation:wb-card-arrive .34s var(--wb-ease) backwards;
  transition:border-color .2s var(--wb-ease),box-shadow .2s var(--wb-ease),background-color .2s var(--wb-ease);
}
html[data-visual-system="glass"] :is(.capability-model-card,.help-question-card):nth-child(2) {animation-delay:.035s}
html[data-visual-system="glass"] :is(.capability-model-card,.help-question-card):nth-child(3) {animation-delay:.07s}
html[data-visual-system="glass"] .capability-settings :is(.capability-model-card>.text-button,.rule-row>a),
html[data-visual-system="glass"] .merchant-help-center .ant-tabs-tab-active .ant-tabs-tab-btn,
html[data-visual-system="glass"] :is(.user-center-tabs,.help-center-tabs) button[aria-selected=true] {color:var(--wb-accent-ink)}
html[data-visual-system="glass"] .capability-settings :is(.muted,.rule-row p),
html[data-visual-system="glass"] .job-history-panel :is(.muted,.empty p) {color:var(--wb-muted)}
html[data-visual-system="glass"] .merchant-help-center .help-section-copy h2.ant-typography {font:600 18px/1.45 var(--wb-font);color:var(--wb-ink)}
html[data-visual-system="glass"] .merchant-help-center .help-question-card h3.ant-typography {font:600 15px/1.5 var(--wb-font);color:var(--wb-ink)}
html[data-visual-system="glass"] .merchant-help-center .help-question-card .ant-typography:not(h3) {font:400 14px/1.75 var(--wb-font);color:var(--wb-ink)}
html[data-visual-system="glass"] .merchant-help-center .help-section-copy .ant-typography-secondary {font:400 13px/1.75 var(--wb-font);color:var(--wb-muted)}
html[data-visual-system="glass"] :is(.user-center-overview p,.user-center-balance>span,.user-center-point>span,.user-center-point p) {color:var(--wb-muted)}
html[data-visual-system="glass"] :is(.user-center-balance strong,.user-center-point>strong) {color:var(--wb-ink)}
html[data-visual-system="glass"] .user-center-tabs button:not([aria-selected=true]):not(.active) {color:var(--wb-muted)}
/* Native dialogs and retained help markup use the same application tokens. */
html[data-visual-system="glass"] :is(.website-ai-settings,.user-center-expiry) {color:var(--wb-ink);font-family:var(--wb-font)}
html[data-visual-system="glass"] .website-ai-settings :is(p,details),
html[data-visual-system="glass"] .user-center-expiry-category :is(p,h3>span) {color:var(--wb-muted)}
html[data-visual-system="glass"] .website-ai-settings :is(input,select) {color:var(--wb-ink);background:var(--wb-control);border-color:var(--wb-line);border-radius:8px}
html[data-visual-system="glass"] .user-center-expiry>header {background:var(--wb-glass-strong);border-color:var(--wb-line)}
html[data-visual-system="glass"] :is(.user-center-expiry-category,.user-center-record-list>li,.user-center-breakdown-head,.user-center-tabs,.user-center-membership) {border-color:var(--wb-line)}
html[data-visual-system="glass"] :is(.user-center-record-list time,.user-center-record-side>span,.user-center-order-number,.user-center-record-empty,.user-center-cycle-note) {color:var(--wb-muted)}
html[data-visual-system="glass"] .user-center-record-side>span.positive {color:#16a05d}
html[data-visual-system="glass"] .user-center-record-side>span.negative {color:#df3855}
html[data-visual-system="glass"] .owned-help-center :is(.help-section-copy h2,.help-question-card h3) {color:var(--wb-ink)}
html[data-visual-system="glass"] .owned-help-center :is(.help-section-copy p,.help-question-card p,.help-center-tabs button:not([aria-selected=true])) {color:var(--wb-muted)}
html[data-visual-system="glass"] .user-center-expiry[open] {animation:wb-drawer-arrive .22s var(--wb-ease)}
@keyframes wb-drawer-arrive {from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
html[data-visual-system="glass"] .page-content:has(.owned-my-assets-page) {width:100%;max-width:1480px;min-width:0}
html[data-visual-system="glass"] :is(.owned-my-assets-page,.owned-my-assets-page .my-assets-source-filter) {min-width:0}
html[data-visual-system="glass"] .page-content:not(.editor-content) :is(input,textarea,select):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]) {
  background-color:var(--wb-control);border-radius:8px;
}
html[data-visual-system="glass"] .page-content :is(.ant-input-affix-wrapper,.ant-select-selection-search) input.ant-input {background:transparent}
html[data-visual-system="glass"] .page-content .button:not(.primary):not(.danger):not(.ghost) {background-color:var(--wb-control);border-color:var(--wb-line)}
html[data-visual-system="glass"] .toast:not(.error) {
  background:var(--wb-glass-strong);border-color:var(--wb-line);box-shadow:var(--wb-shadow);
  -webkit-backdrop-filter:var(--wb-backdrop-filter,blur(18px));backdrop-filter:var(--wb-backdrop-filter,blur(18px));
}
html[data-visual-system="glass"] :is(.text-button,.user-center-tabs button,.help-center-tabs button,.table-wrap tbody tr) {
  transition:color .18s var(--wb-ease),background-color .18s var(--wb-ease),box-shadow .18s var(--wb-ease);
}
html[data-visual-system="glass"] .workspace-card {position:relative;overflow:hidden}
html[data-visual-system="glass"] .workspace-card>span {position:relative;z-index:1}
html[data-visual-system="glass"] .workspace-card::after {
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(110deg,transparent 15%,var(--wb-sheen) 48%,transparent 80%);
  transform:translateX(-120%);transition:transform .65s var(--wb-ease);
}
html[data-visual-system="glass"] .workspace-arrow {display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:rgba(255,36,66,.045);font-size:17px}
@media(hover:hover) and (pointer:fine) {
  html[data-visual-system="glass"] .workspace-card:hover::after {transform:translateX(120%)}
  html[data-visual-system="glass"] :is(.capability-model-card,.help-tabs-card .help-topic-card,.help-tabs-card .help-question-card):hover {border-color:rgba(255,36,66,.22);box-shadow:inset 0 1px 0 var(--wb-highlight),0 5px 18px rgba(37,43,62,.035)}
  html[data-visual-system="glass"] .table-wrap tbody tr:hover {background:var(--wb-sheen)}
  html[data-visual-system="glass"] .text-button:not(:disabled):hover {color:var(--wb-accent-ink);background:rgba(255,36,66,.045)}
  html[data-visual-system="glass"] :is(.button,.ant-btn,.pn-button):not(:disabled):not([aria-disabled=true]):active {translate:0 1px}
}
@media(max-width:767px) {
  html[data-visual-system="glass"] {--wb-title-size:24px}
  html[data-visual-system="glass"] .workspace-entry .page-content {padding-top:26px}
  html[data-visual-system="glass"] .original-shell>.main-shell>.topbar {height:auto;min-height:64px;padding:7px 14px}
}
@media(min-width:1500px) {
  html[data-visual-system="glass"] .app-shell:not(.original-shell)>.sidebar {width:206px}
  html[data-visual-system="glass"] .app-shell:not(.original-shell)>.main-shell {margin-left:206px;width:calc(100% - 206px)}
  html[data-visual-system="glass"] .app-shell:not(.original-shell):not(.is-editor)>.main-shell>.page-content {padding:31px 33px 24px}
  html[data-visual-system="glass"] .app-shell:not(.original-shell)>.main-shell>.topbar {padding-inline:33px}
}
/* Standalone tools keep their layouts and share the workbench's UI tokens. */
html[data-visual-system="glass"] :is(.card-hosting,.cl-app,.fx-surface,.news-surface,.monitor-surface) {
  background:transparent;color:var(--wb-ink);font-family:var(--wb-font);
}
html[data-visual-system="glass"] :is(.card-hosting,.cl-top,.cl-centered,.fx-surface,.news-surface,.monitor-surface) {animation:wb-fade-in .32s var(--wb-ease)}
html[data-visual-system="glass"] .card-hosting {
  --card-ink:var(--wb-ink);--card-muted:var(--wb-muted);--card-line:var(--wb-line);
  --card-paper:var(--wb-background);--card-blue:var(--wb-brand);--card-blue-dark:#e71c39;
}
html[data-visual-system="glass"] .cl-app {
  --cl-ink:var(--wb-ink);--cl-muted:var(--wb-muted);--cl-line:var(--wb-line);
  --cl-primary:var(--wb-brand);--cl-light:rgba(255,36,66,.065);
}
html[data-visual-system="glass"] .news-surface {
  --app-bg:transparent;--surface:var(--wb-glass);--surface-soft:var(--wb-glass-inset);
  --surface-active:rgba(255,36,66,.065);--border:var(--wb-line);--border-soft:var(--wb-line);
  --text:var(--wb-ink);--muted:var(--wb-muted);--accent:var(--wb-brand);
  --row-hover:var(--wb-sheen);--weekly-bg:var(--wb-glass);
}
html[data-visual-system="glass"] .monitor-surface {
  --bg-primary:transparent;--bg-secondary:var(--wb-glass-inset);--bg-card:var(--wb-glass);
  --bg-sidebar:var(--wb-glass);--border:var(--wb-line);--divider:var(--wb-line);
  --text-primary:var(--wb-ink);--text-secondary:var(--wb-muted);--text-muted:var(--wb-muted);
  --red:var(--wb-brand);--red-dim:rgba(255,36,66,.08);--red-bg:rgba(255,36,66,.055);
}
html[data-visual-system="glass"] .fx-surface :is(.landing-page,.product-library-landing,.auth-page) {background:transparent}
html[data-visual-system="glass"] :is(.card-topbar,.cl-top,.fx-surface .landing-nav,.monitor-surface .app-sider) {
  background:var(--wb-glass);border-color:var(--wb-line);
  -webkit-backdrop-filter:var(--wb-backdrop-filter,blur(18px) saturate(125%));backdrop-filter:var(--wb-backdrop-filter,blur(18px) saturate(125%));
}
html[data-visual-system="glass"] .fx-surface .app-header {color:var(--wb-ink)}
html[data-visual-system="glass"] .fx-surface .app-header .ant-btn {color:var(--wb-muted)}
html[data-visual-system="glass"] :is(.card-site,.card-panel,.card-activation-form,.cl-panel,.cl-receiver-card) {
  background-color:var(--wb-glass);background-image:linear-gradient(145deg,var(--wb-sheen),transparent 70%);
  color:var(--wb-ink);border-color:var(--wb-line);border-radius:var(--wb-radius);box-shadow:var(--wb-shadow);
}
html[data-visual-system="glass"] :is(.card-site,.card-panel,.card-activation-form,.cl-panel) {-webkit-backdrop-filter:var(--wb-backdrop-filter,blur(12px));backdrop-filter:var(--wb-backdrop-filter,blur(12px))}
html[data-visual-system="glass"] :is(.card-hosting .card-ghost,.card-hosting input,.cl-app button:not(.cl-primary),.cl-app input,.cl-app select):not(.cl-notification *) {
  background-color:var(--wb-control);color:var(--wb-ink);border-color:var(--wb-line);border-radius:8px;
}
html[data-visual-system="glass"] .card-hosting :is(.card-button,.card-upload) {border-radius:8px;transform:none}
html[data-visual-system="glass"] .card-hosting .card-primary {box-shadow:0 3px 9px rgba(255,36,66,.15),inset 0 1px 0 rgba(255,255,255,.2)}
html[data-visual-system="glass"] .card-hosting input:focus {border-color:var(--wb-brand);box-shadow:0 0 0 3px rgba(255,36,66,.1)}
html[data-visual-system="glass"] .card-hosting :is(.card-upload,.card-site-url) {color:var(--wb-brand)}
html[data-visual-system="glass"] .card-dashboard>.card-heading h2,
html[data-visual-system="glass"] .fx-surface .dashboard-title h1 {font-size:var(--wb-title-size);line-height:1.35;letter-spacing:-.5px}
html[data-visual-system="glass"] :is(.card-hosting .card-button,.card-upload,.cl-app button,.fx-surface .dashboard-nav a,.news-surface button,.monitor-surface .monitor-navigation a):not(.cl-notification *) {
  transition:background-color .18s var(--wb-ease),border-color .18s var(--wb-ease),color .18s var(--wb-ease),box-shadow .22s var(--wb-ease),translate .22s var(--wb-ease);
}
html[data-visual-system="glass"] .fx-surface .dashboard-nav a.active {color:var(--wb-brand);border-color:var(--wb-brand)}
html[data-visual-system="glass"] .news-surface[data-theme="dark"] .ant-btn-primary:not(:disabled):not(.ant-btn-dangerous) {color:#fff;background:var(--wb-brand);border-color:var(--wb-brand)}
html[data-visual-system="glass"] .news-surface[data-theme="dark"] .ant-btn-primary:not(:disabled):not(.ant-btn-dangerous):hover {color:#fff;background:#f0445d;border-color:#f0445d}
html[data-visual-system="glass"] .news-surface[data-theme="dark"] .ant-btn-primary:not(:disabled):not(.ant-btn-dangerous):active {color:#fff;background:#e71c39;border-color:#e71c39}
@media(hover:hover) and (pointer:fine) {
  html[data-visual-system="glass"] .cl-app button:not(:disabled):not(.cl-notification button):hover,
  html[data-visual-system="glass"] .card-hosting .card-button:not(:disabled):hover {translate:0 -1px}
}
/* Delivered classroom/broadcast content has its own presentation contract. */
html[data-visual-system="glass"] .cl-app .cl-notification {
  --cl-ink:#243d3a;--cl-muted:#6e7f7a;--cl-primary:#327163;--cl-light:#eaf1e9;--cl-line:#dce4dd;
  color:var(--cl-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
}
html[data-visual-system="glass"] .cl-broadcast .cl-notification {
  --cl-ink:#283b4b;--cl-muted:#70808d;--cl-primary:#416e8c;--cl-light:#eaf0f5;--cl-line:#dce4eb;
}
html[data-visual-system="glass"] .cl-app .cl-notice {background:#eaf1e9;color:#327163}
html[data-visual-system="glass"] .cl-broadcast .cl-notice {background:#eaf0f5;color:#416e8c}
@media(max-width:767px) {
  html[data-visual-system="glass"] :is(.card-topbar,.cl-top,.fx-surface .landing-nav,.monitor-surface .app-sider,.card-site,.card-panel,.card-activation-form,.cl-panel,.cl-receiver-card) {-webkit-backdrop-filter:none;backdrop-filter:none}
}
@supports not (backdrop-filter:blur(1px)) {
  html[data-visual-system="glass"] {--wb-glass:#fff;--wb-glass-strong:#fff;--wb-glass-inset:#fff}
  html[data-visual-system="glass"]:is([data-theme="dark"],:has(.monitor-surface[data-theme="dark"])) {--wb-glass:#171717;--wb-glass-strong:#1d1d1d;--wb-glass-inset:#222}
}
@media(prefers-reduced-transparency:reduce) {
  html[data-visual-system="glass"] {
    --wb-glass:#fff;--wb-glass-strong:#fff;--wb-glass-inset:#fff;--wb-control:#fff;
    --wb-backdrop-filter:none;
  }
  html[data-visual-system="glass"]:is([data-theme="dark"],:has(.monitor-surface[data-theme="dark"])) {
    --wb-glass:#171717;--wb-glass-strong:#1d1d1d;--wb-glass-inset:#222;--wb-control:#222;
  }
  html[data-visual-system="glass"] body::before {display:none}
  html[data-visual-system="glass"] :is(.root-admin-shell,.root-admin-login) {--wb-control:var(--wb-glass-strong)}
  html[data-visual-system="glass"] dialog::backdrop,
  html[data-visual-system="glass"] :is(.modal-backdrop,.root-history .history-dialog-backdrop) {
    -webkit-backdrop-filter:none;backdrop-filter:none;
  }
}
@media(prefers-reduced-motion:reduce) {
  html[data-visual-system="glass"] .studio-surface .main-content {animation:none!important}
  html[data-visual-system="glass"] :is(.busy .spin,.monitor-surface .skeleton) {animation:none!important}
  html[data-visual-system="glass"] body::before,
  html[data-visual-system="glass"] :is(.page-content,dialog[open],.live-dot,.workspace-card,.resource-card,.other-tool-card,.merchant-platform-tool-card,.stats-grid>.stat-card,.page-content>.panel,.auth-form,.root-admin-main,.root-admin-auth-card,.root-admin-overview-grid>article,.root-page-shell) {animation:none!important}
  html[data-visual-system="glass"] :is(.button,.ant-btn,.pn-button,.workspace-card,.resource-card,.nav-item,.ant-menu-item,.icon-button,.workspace-arrow,.sidebar,.stats-grid>.stat-card,.nc-button,.dy-button,.mp-button,.wp-button,.qf-button,.pg-button,.pl-button,input,select,textarea,.root-admin-sidebar nav a,.root-admin-main button,.root-admin-login button,.root-admin-table-wrap tbody tr,.root-app-shell button,.root-sidebar-nav a) {transition:none!important;translate:none!important}
  html[data-visual-system="glass"] :is(.capability-model-card,.help-topic-card,.help-question-card) {animation:none!important;transition:none!important}
  html[data-visual-system="glass"] :is(.other-tool-card,.merchant-platform-tool-card) {transition:none!important;translate:none!important}
  html[data-visual-system="glass"] :is(.text-button,.user-center-tabs button,.help-center-tabs button,.table-wrap tbody tr) {transition:none!important}
  html[data-visual-system="glass"] .user-center-expiry[open] {animation:none!important}
  html[data-visual-system="glass"] .workspace-card::after {display:none}
  html[data-visual-system="glass"] :is(.card-hosting,.cl-top,.cl-centered,.fx-surface,.news-surface,.monitor-surface) {animation:none!important}
  html[data-visual-system="glass"] :is(.card-hosting .card-button,.card-upload,.cl-app button,.fx-surface .dashboard-nav a,.news-surface button,.monitor-surface .monitor-navigation a) {transition:none!important;translate:none!important;transform:none!important}
}
@media print {
  html[data-visual-system="glass"] body::before {display:none}
  html[data-visual-system="glass"] :is(.panel,.stat-card,dialog,.workspace-card,.root-admin-sidebar,.root-admin-header,.root-admin-panel,.root-admin-auth-card,.root-admin-table-wrap,.root-admin-overview-grid>article,.root-app-sidebar,.root-site-header,.root-orders-table) {background:white;box-shadow:none;backdrop-filter:none}
}
