/* OpenDesign Neutral Modern principles, adapted to the Yuanchang brand. */
:root {
  --yc-bg: #f6f5f8;
  --yc-surface: #fff;
  --yc-ink: #211d36;
  --yc-muted: #645f72;
  --yc-line: #e6e2eb;
  --yc-line-strong: #d3cbde;
  --yc-accent: #6545c7;
  --yc-accent-hover: #5336ad;
  --yc-accent-soft: #f0ebff;
  --yc-focus: #7354d7;
  --yc-radius-control: 8px;
  --yc-radius-surface: 12px;
  --yc-font: "Inter", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --yc-elevation: 0 2px 8px #211d3614;
}

:where(.workspace-shell, .vip-portal, .vip-portal-dialog, .workspace-jump-dialog) {
  font-family: var(--yc-font);
}

:where(.workspace-shell, .vip-portal, .vip-portal-dialog, .workspace-jump-dialog)
  :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--yc-focus);
  outline-offset: 2px;
}

.workspace-shell {
  --ink: var(--yc-ink);
  --muted: var(--yc-muted);
  --purple: var(--yc-accent);
  --purple-text: var(--yc-accent-hover);
  --soft: var(--yc-accent-soft);
  --background: var(--yc-bg);
  --line: var(--yc-line);
  --shadow: none;
  color: var(--ink);
  background: var(--background);
}

.workspace-shell .content .card {
  border-radius: var(--yc-radius-surface);
  box-shadow: none;
}

.workspace-shell .content .button, .workspace-shell .content .tab {
  border-radius: var(--yc-radius-control);
}
