/* Scoped refinement: single-line home headline and vivid header. */
body.unified-workspace .uw-header {
  background: linear-gradient(108deg, #d0b7f7 0%, #bfd6ff 45%, #bcebf0 100%) !important;
  border-color: #d4d6f3 !important;
  box-shadow: 0 5px 24px #6652b91a !important;
}
body.unified-workspace .workspace-welcome h1 {
  white-space: nowrap;
  font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-synthesis: none;
  -webkit-text-stroke: 0;
  font-size: clamp(32px, 3.3vw, 48px);
}
body.unified-workspace .workspace-welcome-equation,
body.unified-workspace .workspace-welcome-result { display: inline; }
body.unified-workspace .workspace-welcome-result { margin-top: 0; }
@media (max-width: 1100px) {
  body.unified-workspace .workspace-welcome h1 { font-size: clamp(28px, 3.1vw, 36px); }
}
@media (max-width: 700px) {
  body.unified-workspace .workspace-welcome h1 { font-size: clamp(22px, 6.3vw, 28px); letter-spacing: -.6px; }
}

body.unified-workspace .workspace-welcome h1 > span { font-family: inherit; font-weight: inherit; -webkit-text-stroke: 0; }
body.unified-workspace .workspace-welcome-multiply { width: .48em; height: .48em; margin: 0 .13em; vertical-align: .04em; overflow: visible; }

/* The headline scales with its card, preserving the space beside the artwork. */
body.unified-workspace .workspace-welcome { container-type: inline-size; isolation: isolate; }
body.unified-workspace .workspace-welcome h1 { font-size: clamp(32px, 4.4vw, 68px); font-size: clamp(32px, 5.7cqw, 68px); margin: 18px 0 14px; }
body.unified-workspace .workspace-welcome .workspace-welcome-detail { margin-top: 12px; font-size: 13px; line-height: 1.6; color: #536987; white-space: normal; max-width: 100%; }
body.unified-workspace .workspace-welcome-detail::before { content: ''; display: inline-block; width: 18px; height: 2px; background: linear-gradient(90deg,#78baf5,#9b83ea); vertical-align: middle; margin-right: 8px; }
/* Decorative light stays behind content and never receives pointer input. */
body.unified-workspace .workspace-welcome::before { content: ''; position: absolute; inset: -28%; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 70% 50%,#8ecbff66 0%,transparent 35%),radial-gradient(ellipse at 37% 72%,#c9b0fa66 0%,transparent 34%),radial-gradient(ellipse at 86% 20%,#9ce9ed66 0%,transparent 30%); animation: xj-hero-light 12s ease-in-out infinite alternate; }
body.unified-workspace .workspace-welcome-art { width: 41%; bottom: 6px; height: calc(100% - 12px); animation: xj-hero-float 7s ease-in-out infinite; }
body.unified-workspace .workspace-welcome-result { background-size: 200% 100%; animation: xj-hero-title 8s ease-in-out infinite alternate; }
@keyframes xj-hero-light { from { transform: translate3d(-3%,-2%,0) scale(1); } to { transform: translate3d(5%,3%,0) scale(1.08); } }
@keyframes xj-hero-float { 0%,100% { transform: translate3d(0,3px,0); } 50% { transform: translate3d(0,-4px,0); } }
@keyframes xj-hero-title { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (max-width: 1100px) {
 body.unified-workspace .workspace-welcome h1 { font-size: clamp(28px,3.65vw,40px); font-size: clamp(28px,5.15cqw,40px); }
 body.unified-workspace .workspace-welcome .workspace-welcome-detail { font-size: 12px; }
}
@media (max-width: 700px) {
 body.unified-workspace .workspace-welcome h1 { font-size: clamp(22px,7.1vw,29px); font-size: clamp(22px,7.8cqw,29px); margin: 17px 0 12px; }
 body.unified-workspace .workspace-welcome .workspace-welcome-detail { font-size: 11px; max-width: 260px; margin-top: 9px; }
 body.unified-workspace .workspace-welcome-art { width: 38%; bottom: 6px; height: 38%; }
}
@media (prefers-reduced-motion: reduce) {
 body.unified-workspace .workspace-welcome::before,body.unified-workspace .workspace-welcome-art,body.unified-workspace .workspace-welcome-result { animation: none !important; transform: none !important; }
}

/* User center is document content, not a chat viewport: one scroll owner. */
body.unified-workspace #viewRoot > .uc-main.fuc-user-center {
 height: auto !important;
 min-height: 0 !important;
 max-height: none !important;
 overflow: visible !important;
 flex: none !important;
}
/* A single decorative layer behind the entire member workbench. */
body.unified-workspace.member-shell {
 isolation: isolate;
 background: radial-gradient(#006bff24 1px,transparent 1.2px) 0 0/22px 22px,
             linear-gradient(160deg,#fcfcf9 0%,#fafbf8 55%,#f7fbf8 100%) !important;
}
body.unified-workspace.member-shell::before {
 content: ''; position: fixed; inset: -12%; z-index: -1; pointer-events: none;
 background: radial-gradient(ellipse at 10% 20%, #f3d7bf38 0%, transparent 42%),
             radial-gradient(ellipse at 72% 35%, #d6eade38 0%, transparent 40%),
             radial-gradient(ellipse at 50% 88%, #eee3c92e 0%, transparent 43%);
 animation: xj-workspace-ambience 22s ease-in-out infinite alternate;
}
@keyframes xj-workspace-ambience {
 from { transform: translate3d(-2%,-2%,0) scale(1); }
 to { transform: translate3d(4%,3%,0) scale(1.04); }
}
@media(prefers-reduced-motion:reduce) {
 body.unified-workspace.member-shell::before { animation: none !important; transform: none !important; }
}
@media(forced-colors:active) {
 body.unified-workspace.member-shell::before { display: none; }
}

/* One homepage surface: introduction above, direct work entry below. */
body.unified-workspace .workspace-welcome.workspace-launch-card { min-height: 0; padding: 24px 30px; row-gap: 16px; align-items: center; overflow: clip; }
body.unified-workspace .workspace-launch-card .workspace-welcome-copy { min-height: 200px; }
body.unified-workspace .workspace-launch-card .workspace-welcome-art { top: 6px; bottom: auto; height: 220px; }
body.unified-workspace .workspace-work-entry { grid-column: 1 / -1; width: 100%; min-width: 0; position: relative; z-index: 1; }
body.unified-workspace .workspace-work-entry #businessLaunchForm { margin: 0; padding: 12px; background: #ffffffed; border: 1px solid transparent; border-radius: 6px; box-sizing: border-box; }
body.unified-workspace .workspace-work-entry #businessRequest { display: block; width: 100%; min-width: 0; height: 64px; min-height: 64px; max-height: 180px; padding: 4px 0; resize: vertical; color: #082338; font: inherit; line-height: 1.6; box-sizing: border-box; }
body.unified-workspace .workspace-work-entry .business-launch-tools { margin-top: 8px; }
body.unified-workspace .workspace-work-entry .business-launch-tools > span { font-family: inherit; font-size: 12px; color: #61758a; }
@media(max-width:1100px) { body.unified-workspace .workspace-welcome.workspace-launch-card { padding: 22px 24px; } body.unified-workspace .workspace-launch-card .workspace-welcome-copy { min-height: 180px; } body.unified-workspace .workspace-launch-card .workspace-welcome-art { height: 200px; } }
@media(max-width:700px) {
 body.unified-workspace .workspace-welcome.workspace-launch-card { padding: 18px 16px; row-gap: 12px; align-items: start; }
 body.unified-workspace .workspace-launch-card .workspace-welcome-copy { min-height: 190px; }
 body.unified-workspace .workspace-launch-card .workspace-welcome-art { width: 30%; top: 108px; right: 6px; height: 94px; }
 body.unified-workspace .workspace-launch-card .workspace-welcome-detail { max-width: calc(100% - 80px); }
 body.unified-workspace .workspace-work-entry #businessLaunchForm { padding: 10px; }
 body.unified-workspace .workspace-work-entry .business-launch-tools > span { display: none; }
 body.unified-workspace .workspace-work-entry .business-launch-tools { justify-content: flex-end; }
 body.unified-workspace .workspace-work-entry .business-launch-tools button { min-height: 44px; padding: 8px 10px; font-size: 12px; white-space: nowrap; }
}
