/* Workspace tokens: the neutral colour, type, shape and motion values for the five
   workspace pages (同声传译, 课堂, 文本翻译, 翻译记录, 账号). Everything hangs off
   body.app-page, so marketing pages never see these. emate-theme-v5.js writes
   data-theme on <html>; without it the page is light, or dark when the system is.
   The accent is split (ruling R4, amending spec §1.1): --ws-accent fills solid-blue
   controls and carries white --ws-on-accent text (4.86:1 in dark); --ws-accent-text
   is blue text and the focus ring (5.32:1 on the dark surface). They are equal in light.
   --ws-accent-hover is the hovered or pressed fill, darker in both themes (R7). */
body.app-page,html[data-theme="light"] body.app-page{
 --ws-bg:#F2F2F7;
 --ws-surface:#FFFFFF;
 --ws-surface-2:#F9F9FB;
 --ws-line:#E5E5EA;
 --ws-line-strong:#D1D1D6;
 --ws-text:#1C1C1E;
 --ws-text-2:#6C6C70;
 --ws-text-3:#8E8E93;
 --ws-accent:#1A5FF2;
 --ws-accent-text:#1A5FF2;
 --ws-accent-hover:#1550D6;
 --ws-accent-soft:#EEF3FE;
 --ws-on-accent:#FFFFFF;
 --ws-live:#E5484D;
 --ws-danger:#D70015;
 --ws-success:#248A3D;
 --ws-warning:#B25000;
 --ws-marker:#FFD84D;
 --ws-speaker-2:#AF52DE;
 /* The selected segment of a .ws-seg control. */
 --ws-seg-thumb:#FFFFFF;
 --ws-shadow-pop:0 6px 20px rgba(0,0,0,.10);
}
html[data-theme="dark"] body.app-page{
 --ws-bg:#1C1C1E;
 --ws-surface:#2C2C2E;
 --ws-surface-2:#242426;
 --ws-line:#3A3A3C;
 --ws-line-strong:#48484A;
 --ws-text:#F5F5F7;
 --ws-text-2:#98989D;
 --ws-text-3:#8E8E93;
 --ws-accent:#2E6AE6;
 --ws-accent-text:#64A0FF;
 --ws-accent-hover:#285FD6;
 --ws-accent-soft:#1F2A44;
 --ws-on-accent:#FFFFFF;
 --ws-live:#FF6369;
 --ws-danger:#FF453A;
 --ws-success:#30D158;
 --ws-warning:#FF9F0A;
 --ws-marker:#C9A227;
 --ws-speaker-2:#BF5AF2;
 --ws-seg-thumb:#636366;
 --ws-shadow-pop:0 6px 20px rgba(0,0,0,.40);
}
@media (prefers-color-scheme: dark){
 html:not([data-theme]) body.app-page{
  --ws-bg:#1C1C1E;
  --ws-surface:#2C2C2E;
  --ws-surface-2:#242426;
  --ws-line:#3A3A3C;
  --ws-line-strong:#48484A;
  --ws-text:#F5F5F7;
  --ws-text-2:#98989D;
  --ws-text-3:#8E8E93;
  --ws-accent:#2E6AE6;
  --ws-accent-text:#64A0FF;
  --ws-accent-hover:#285FD6;
  --ws-accent-soft:#1F2A44;
  --ws-on-accent:#FFFFFF;
  --ws-live:#FF6369;
  --ws-danger:#FF453A;
  --ws-success:#30D158;
  --ws-warning:#FF9F0A;
  --ws-marker:#C9A227;
  --ws-speaker-2:#BF5AF2;
  --ws-seg-thumb:#636366;
  --ws-shadow-pop:0 6px 20px rgba(0,0,0,.40);
 }
}
/* Shared by both themes: type, shape, focus and motion. */
body.app-page{
 --ws-font:-apple-system, "SF Pro Text", "PingFang SC", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
 --ws-radius-control:8px;
 --ws-radius-card:12px;
 --ws-radius-pop:14px;
 --ws-focus:0 0 0 2px var(--ws-surface), 0 0 0 4px var(--ws-accent-text);
 --ws-dur-fast:150ms;
 --ws-dur-base:250ms;
 --ws-ease:cubic-bezier(.2,.8,.2,1);
}
