/* Preserve the product's light slate workspace and indigo controls. Only the
   website toolbar uses compact 13px system type; the renderer keeps its scale. */
:root{--website-height:var(--bycj-demo-bar-height);--website-ink:#192539;--website-border:#dbe2ed;--website-action:#4f46e5}
html,body{height:100%;overflow:hidden}body{padding-top:var(--website-height);box-sizing:border-box}
body>.website-toolbar{position:fixed;top:0;left:0;right:0}
.app-shell>.sidebar,.app-shell>.main-area{height:100%;min-height:0;overflow-y:auto}
#dshBootOverlay{display:none!important}.website-agent-frame{position:absolute;inset:0}
#hubSetupWelcome{display:none!important}
.app-shell.dsh-agent-mode{grid-template-columns:var(--sidebar) minmax(0,1fr)}
.app-shell.dsh-agent-mode .sidebar.is-collapsed{position:relative;inset:auto;transform:none}
#dshViewContainer{position:fixed;top:calc(var(--website-height) + var(--topbar))!important;left:var(--sidebar)!important;bottom:0;right:0}
#aiDrawer[aria-hidden=true]{visibility:hidden}
.top-actions{top:calc(var(--website-height) + var(--topbar) / 2)!important}
.app-shell.dsh-agent-mode .top-actions,.app-shell.ai-design-mode .top-actions,.app-shell.dsh-agent-mode .sidebar-edge-trigger{display:none!important}
@media(max-width:600px){.sidebar .setup-model-entry,.sidebar .privacy-note{display:none!important}.sidebar .profile-mini{width:48px;min-width:0;justify-content:center;padding:8px}.sidebar .profile-mini>span:not(.avatar){display:none}#askAiButton{width:36px!important;height:36px!important;padding:0!important;right:10px!important;border-radius:8px!important}#askAiButton span{display:none}.project-switcher{max-width:calc(100% - 45px)}}
@media(max-width:600px){.page-heading{align-items:stretch!important;flex-direction:column!important;gap:14px!important}.role-chip{min-width:0!important;width:auto!important;max-width:100%!important;align-self:flex-start}.metrics-grid{grid-template-columns:1fr!important}.dashboard-columns{grid-template-columns:1fr!important}.metric-card{min-height:110px!important}.dashboard-columns .card{min-width:0}.page-heading h1{font-size:25px}.main-area{min-width:0}.sidebar-footer .setup-model-entry{display:none!important}}
body{margin:0}.app-shell{height:calc(100dvh - var(--website-height));min-height:0}.website-dialog .website-primary{background:var(--website-action);color:#fff;border:0;border-radius:6px;padding:9px 14px;cursor:pointer;font:inherit}.website-dialog .website-primary:hover{background:#4338ca}.website-dialog :focus-visible{outline:2px solid #6366f1;outline-offset:2px}.website-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid var(--website-border);border-radius:12px;color:var(--website-ink);font:14px/1.65 "Microsoft YaHei UI",system-ui,sans-serif;box-shadow:0 20px 80px #15234226}.website-dialog::backdrop{background:#17253e66}.website-dialog h2{font-size:23px;margin:0 25px 10px 0}.website-dialog p{color:#64748b}.website-dialog-close{position:absolute;top:8px;right:10px}.website-dialog-close button{border:0;background:transparent;font-size:26px;cursor:pointer;color:#64748b}.website-dialog label{display:grid;gap:5px;margin:15px 0}.website-dialog input{font:inherit;padding:9px 11px;border:1px solid #cbd5e1;border-radius:6px;box-sizing:border-box;width:100%}.website-dialog [type=submit].website-primary{width:100%;margin:8px 0}.website-account-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.website-account-links button{font:inherit;color:#4f46e5;border:0;background:none;padding:0;cursor:pointer}.website-small{font-size:12px;line-height:1.65;margin-bottom:0}.website-message{padding:9px 12px;background:#f1f5f9;border-radius:6px}.website-intro{width:min(1400px,95vw);height:90dvh;padding:38px 0 0;overflow:hidden}.website-intro iframe{border:0;width:100%;height:100%;background:#080a10}.website-agent-frame{border:0;width:100%;height:100%;background:#fff}.dsh-view-container{top:calc(var(--website-height) + 64px)!important}.win-titlebar{display:none!important}
@media(max-width:760px){.website-dialog{padding:25px}}
#websiteAccount{max-width:180px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.bycj-demo-actions>#websiteAccount{font-size:0}.bycj-demo-actions>#websiteAccount::after{content:attr(data-compact-label);font-size:12px}}
.website-controls-account-actions{display:flex;align-items:center;gap:6px}
@media(max-width:590px){.website-controls-account-actions{gap:2px}}
.website-account-downloads{display:grid;gap:10px;margin:14px 0}
.website-dialog .website-secondary{padding:9px 14px;border:1px solid #d0d6e8;border-radius:6px;background:#fff;color:#4f46e5;cursor:pointer;font:inherit}
.website-dialog .website-secondary:hover{background:#f3f2ff;border-color:#aca4f5}
/* Onboarding guide cards ported from the PlanPalette web-trial topbar guides. */
.web-video-entry.web-attention-button,.web-trial-entry.web-attention-button,.website-guide-card .web-attention-button,.bycj-demo-actions > .web-trial-entry.web-attention-button{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 11px;border:1px solid #93c5fd59;border-radius:9px;background:linear-gradient(115deg,#1d4ed8 0%,#4f46e5 48%,#7c3aed 100%);color:#fff;font:inherit;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap;cursor:pointer;box-shadow:0 3px 12px #6366f138}
.web-attention-button::before{content:"";position:absolute;inset:-60% -35%;z-index:0;pointer-events:none;background:linear-gradient(105deg,transparent 40%,#ffffff2e 50%,transparent 60%);transform:translateX(-115%);opacity:0;animation:adh-attention-sweep 6.5s ease-in-out infinite}
.web-attention-button > *{position:relative;z-index:1}
.web-trial-entry.web-attention-button::before,.website-trial-guide .web-attention-button::before{animation-delay:1.6s}
.web-video-entry.web-attention-button:hover,.web-trial-entry.web-attention-button:hover,.website-guide-card .web-attention-button:hover,.bycj-demo-actions > .web-trial-entry.web-attention-button:hover{background:linear-gradient(115deg,#2563eb,#5b46ea 48%,#8740ee);color:#fff;box-shadow:0 5px 18px #6366f14a}
.website-guide-card{position:fixed;z-index:2100;box-sizing:border-box;width:min(300px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #dddffd;border-radius:13px;background:#fff;box-shadow:0 10px 34px #4c588c30;animation:adh-guide-open 220ms ease-out both;transform-origin:var(--guide-pointer,50%) top;scrollbar-width:thin;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#233047;font-size:12px}
.website-guide-card::before{content:"";position:absolute;top:0;left:calc(var(--guide-pointer,50%) - 6px);width:12px;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#2563eb,#7c3aed);pointer-events:none}
.website-guide-card.is-above{transform-origin:var(--guide-pointer,50%) bottom}
.website-guide-card > header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 8px 7px 12px;border-bottom:1px solid #eef0f8;background:#fff}
.website-guide-card > header > span{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#4f46e5}
.website-guide-card > header > div{display:flex;gap:2px}
.website-guide-card > header button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:#64748b;cursor:pointer}
.website-guide-card > header button:hover{background:#f1f0ff;color:#4f46e5}
.website-guide-card button:focus-visible{outline:2px solid #7761ec;outline-offset:2px}
.website-demo-preview{padding:8px 8px 0}
.website-demo-preview video{display:block;width:100%;aspect-ratio:16/9;border-radius:7px;background:#111827}
.website-demo-preview p{margin:7px 4px;color:#64748b;font-size:11px;line-height:1.5}
.website-demo-guide > footer{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 10px;color:#7c879e;font-size:10px}
.website-demo-guide > footer button{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;border:0;padding:0;background:transparent;color:#4f46e5;font:inherit;cursor:pointer}
.website-trial-guide{width:min(280px,calc(100vw - 24px))}
.website-trial-guide-body{padding:12px}
.website-trial-guide-body strong{font-size:13px;font-weight:600}
.website-trial-guide-body p{margin:7px 0 12px;color:#7c879e;font-size:12px;line-height:1.65}
.website-trial-guide-body .web-attention-button{width:100%}
@keyframes adh-attention-sweep{0%,18%{transform:translateX(-115%);opacity:0}24%{opacity:1}52%{transform:translateX(115%);opacity:1}58%,100%{transform:translateX(115%);opacity:0}}
@keyframes adh-guide-open{from{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.web-attention-button::before{animation:none;opacity:0}.website-guide-card{animation:none}}
