/* Muted palettes for the owner workspace and its theme selector. */
#root .shell.admin-workspace.admin-workspace[data-aurora-theme='sage'],
.wuyou-aurora-control[data-aurora-theme='sage'] {
  --au-page: #e5ebe2;
  --au-panel: #f3f5ef;
  --au-soft: #e8ede4;
  --au-ink: #25332b;
  --au-muted: #495a4d;
  --au-line: #c7d1c5;
  --au-side: #3b4940;
  --au-side-end: #303d34;
  --au-accent: #3d654d;
  --au-accent2: #788a63;
  --au-glow: rgba(89, 115, 81, .08);
  --au-button: #40644e;
  --au-button2: #4d6045;
  --au-shadow: 0 8px 24px rgba(46, 65, 52, .065);
}

#root .shell.admin-workspace.admin-workspace[data-aurora-theme='mist'],
.wuyou-aurora-control[data-aurora-theme='mist'] {
  --au-page: #e0e8ee;
  --au-panel: #f1f4f6;
  --au-soft: #e6edf1;
  --au-ink: #25343e;
  --au-muted: #475a68;
  --au-line: #c4d0d8;
  --au-side: #364653;
  --au-side-end: #2d3a45;
  --au-accent: #3d6078;
  --au-accent2: #697e96;
  --au-glow: rgba(81, 111, 135, .08);
  --au-button: #3e6076;
  --au-button2: #4e5c78;
  --au-shadow: 0 8px 24px rgba(45, 64, 81, .065);
}

#root .shell.admin-workspace.admin-workspace[data-aurora-theme='paper'],
.wuyou-aurora-control[data-aurora-theme='paper'] {
  --au-page: #ede4d6;
  --au-panel: #f7f2e9;
  --au-soft: #f0e8db;
  --au-ink: #3a3026;
  --au-muted: #615143;
  --au-line: #d6c8b6;
  --au-side: #4b4137;
  --au-side-end: #3d352d;
  --au-accent: #775435;
  --au-accent2: #a18158;
  --au-glow: rgba(147, 112, 75, .08);
  --au-button: #755536;
  --au-button2: #6a5945;
  --au-shadow: 0 8px 24px rgba(78, 59, 43, .065);
}

#root .shell.admin-workspace.admin-workspace[data-aurora-theme='dusk'],
.wuyou-aurora-control[data-aurora-theme='dusk'] {
  --au-page: #d9d5d0;
  --au-panel: #ebe7e1;
  --au-soft: #e3ded7;
  --au-ink: #35312f;
  --au-muted: #554c48;
  --au-line: #c6bdb5;
  --au-side: #464044;
  --au-side-end: #393537;
  --au-accent: #654d5e;
  --au-accent2: #84717d;
  --au-glow: rgba(107, 87, 102, .075);
  --au-button: #665165;
  --au-button2: #625453;
  --au-shadow: 0 8px 24px rgba(66, 57, 60, .065);
}

#root .shell.admin-workspace.admin-workspace:is(
  [data-aurora-theme='sage'],
  [data-aurora-theme='mist'],
  [data-aurora-theme='paper'],
  [data-aurora-theme='dusk']
) :is(input, textarea)::placeholder {
  opacity: 1;
}

@property --wuyou-workbench-flow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0turn;
}

@keyframes wuyou-workbench-flow {
  to { --wuyou-workbench-flow-angle: 1turn; }
}

#root .shell.admin-workspace .wuyou-wb-v3 .owner-ws-board .wuyou-wb-task-flow {
  --flow-bright: var(--au-accent2, #7c74ce);
  --flow-tail: var(--au-accent, #6156b9);
  border-color: var(--flow-tail);
}

@supports (background: conic-gradient(transparent, #000)) and
  ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  #root .shell.admin-workspace .wuyou-wb-v3 .wuyou-wb-task-flow::after {
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: 1;
    inset: -1px;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(
      from var(--wuyou-workbench-flow-angle, 0turn) at center,
      transparent 0deg 268deg,
      color-mix(in srgb, var(--flow-tail) 28%, transparent) 295deg,
      var(--flow-tail) 330deg,
      var(--flow-bright) 350deg,
      color-mix(in srgb, var(--flow-bright) 65%, white) 356deg,
      transparent 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: wuyou-workbench-flow 3.6s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  #root .shell.admin-workspace .wuyou-wb-v3 .wuyou-wb-task-flow::after {
    content: none;
    animation: none;
  }
}
