/* Shared diagram controls and standalone page surfaces. */
/* Integrated laboratory. All new presentation stays inside the existing disclosure. */
.motion-content .visual-stage{border:1px solid #e2d8eb;border-radius:18px;background:#fbfafd;position:relative;overflow:hidden}.motion-content canvas{display:block;width:100%;height:100%}.motion-content .fluid-stage{height:500px;isolation:isolate;touch-action:pan-y}.motion-content .fluid-stage canvas{position:absolute;inset:0}.motion-content .stage-heading{position:absolute;left:35px;top:34px;pointer-events:none;z-index:1;max-width:330px}.motion-content .stage-heading .eyebrow{font-size:10px;margin-bottom:15px}.motion-content .stage-heading h2{font-size:31px;letter-spacing:-.045em;line-height:1.3;font-weight:500}.motion-content .stage-heading>p:last-child{color:#7b6b88;font-size:14px;line-height:1.9;margin-top:15px}.motion-content .stage-hint{position:absolute;left:35px;bottom:26px;font-size:11px;color:#715981;pointer-events:none}.motion-content .stage-coordinate{position:absolute;right:29px;bottom:27px;font-size:8px;letter-spacing:.12em;color:#9b85ac;pointer-events:none}.motion-content .corner{position:absolute;pointer-events:none;width:10px;height:10px;opacity:.3}.motion-content .corner-tl{left:17px;top:17px;border-left:1px solid #69518e;border-top:1px solid #69518e}.motion-content .corner-br{right:17px;bottom:17px;border-right:1px solid #69518e;border-bottom:1px solid #69518e}
.motion-content .scene-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;border-bottom:1px solid #e3d9eb}.motion-content .segmented{display:flex;align-items:center;padding:3px;background:#ece5f3;border-radius:10px}.motion-content .segmented button{border:0;padding:8px 16px;min-height:38px;border-radius:8px;background:transparent;color:#8a7797;font-size:13px}.motion-content .segmented button[aria-pressed=true]{background:#fff;color:#6c4e85;box-shadow:0 1px 5px #48285e0c}.motion-content .text-button{background:transparent;border:0;color:#70518d;min-height:44px;font-size:13px;display:flex;align-items:center;gap:16px;padding:10px 0}.motion-content .text-button span{font-size:19px}.motion-content button:disabled{opacity:.45;cursor:default}
.motion-content .network-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:25px}.motion-content .network-stage{height:510px}.motion-content .network-label{position:absolute;left:28px;top:28px;pointer-events:none}.motion-content .network-label .eyebrow{font-size:9px;margin-bottom:12px}.motion-content .network-label h2{font-size:23px;font-weight:500;letter-spacing:-.04em}.motion-content .network-stage .stage-hint{left:28px}.motion-content .network-inspector{padding:24px 0 0}.motion-content .network-inspector .eyebrow{font-size:10px;margin-bottom:12px}.motion-content .network-inspector h3{font-size:25px;font-weight:500;letter-spacing:-.04em;margin:0 0 16px}.motion-content .network-inspector>p:not(.eyebrow):not(.demo-label){font-size:14px;line-height:1.9;color:#82708e;min-height:76px;margin:0}.motion-content .event-path{margin:27px 0 15px}.motion-content .event-path>div{display:grid;grid-template-columns:12px 1fr;position:relative;column-gap:12px;padding-bottom:22px;opacity:.45;transition:opacity .3s}.motion-content .event-path>div:not(:last-child):before{content:'';position:absolute;left:3px;top:10px;bottom:2px;width:1px;background:#e1d5e9}.motion-content .event-path i{width:7px;height:7px;border:1px solid #b09cc0;border-radius:50%;margin-top:5px}.motion-content .event-path span{font-size:13px;line-height:1.5;color:#766185}.motion-content .event-path small{grid-column:2;font-size:11px;margin-top:3px;color:#9c88a8}.motion-content .event-path>div.is-current,.motion-content .event-path>div.is-passed{opacity:1}.motion-content .event-path>div.is-current i{background:#85609f;border-color:#85609f;box-shadow:0 0 0 4px #eee4f6}.motion-content .event-path>div.is-passed i{background:#c2aad4;border-color:#c2aad4}.motion-content .signal-trace{border-top:1px solid #e3d6ed;padding-top:16px}.motion-content .signal-trace>span{font-size:10px;color:#9e8bad}.motion-content .signal-trace svg{display:block;width:100%;height:42px;margin-top:10px}.motion-content .signal-trace path{fill:none;stroke:#9572b0;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.motion-content .demo-label{font-size:11px;line-height:1.8;color:#9b87a8;margin:16px 0 0}.motion-content .network-filters{display:flex;gap:7px;flex-wrap:wrap}.motion-content .network-filters button{border:1px solid #dfd2e9;background:transparent;color:#8c739c;min-height:42px;padding:9px 13px;border-radius:24px;font-size:12px}.motion-content .network-filters button[aria-pressed=true]{border-color:#a38ab7;background:#f3ebf9;color:#6b4c83}.motion-content .auto-label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;color:#9b84a9}.motion-content .auto-label input{accent-color:#8b67a4;width:16px;height:16px;margin:0}.motion-content button:focus-visible{outline:3px solid #b097c5;outline-offset:4px}
@media(max-width:1000px){.motion-content .network-layout{grid-template-columns:minmax(0,1fr) 215px;gap:20px}.motion-content .network-stage{height:490px}.motion-content .network-label h2{font-size:21px}.motion-content .network-toolbar{align-items:flex-start;padding:16px 0;gap:15px;flex-direction:column}}
@media(max-width:720px){.lab-controls{gap:10px;flex-direction:column;align-items:stretch;padding-bottom:16px;margin-bottom:18px;scroll-margin-top:83px}.lab-tabs{gap:5px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.lab-tabs button{min-height:48px;justify-content:center;gap:0;padding:11px 7px;font-size:13px}.lab-tabs button small{display:none}.lab-pause{align-self:flex-end;font-size:12px;min-height:40px;padding:8px 14px}.motion-content .fluid-stage{height:440px;border-radius:14px}.motion-content .stage-heading{top:28px;left:23px;max-width:250px}.motion-content .stage-heading h2{font-size:27px}.motion-content .stage-heading .eyebrow{font-size:8px;margin-bottom:12px}.motion-content .stage-heading>p:last-child{font-size:12px;line-height:1.9;margin-top:12px}.motion-content .stage-hint{left:23px;bottom:24px;font-size:10px}.motion-content .stage-coordinate{display:none}.motion-content .scene-toolbar{min-height:75px;gap:12px}.motion-content .text-button{font-size:12px;gap:12px}.motion-content .segmented button{font-size:12px;padding:8px 14px}.lab-note{font-size:11px;margin-top:17px}.motion-content .network-layout{grid-template-columns:1fr;gap:0}.motion-content .network-stage{height:395px;border-radius:14px}.motion-content .network-label{left:22px;top:24px}.motion-content .network-label h2{font-size:22px;max-width:265px}.motion-content .network-stage .stage-hint{left:22px;font-size:9px}.motion-content .network-inspector{padding-top:25px}.motion-content .network-inspector h3{font-size:24px;margin-bottom:11px}.motion-content .network-inspector>p:not(.eyebrow):not(.demo-label){font-size:13px;min-height:0}.motion-content .event-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:25px 0 5px}.motion-content .event-path>div{display:flex;flex-direction:column;gap:9px;padding:0}.motion-content .event-path>div:not(:last-child):before{left:14px;right:3px;top:8px;bottom:auto;width:auto;height:1px}.motion-content .event-path span{font-size:11px}.motion-content .event-path small{font-size:9px;line-height:1.6;margin-top:-6px}.motion-content .signal-trace{display:none}.motion-content .demo-label{font-size:10px;margin:18px 0 8px}.motion-content .network-toolbar{padding:16px 0;gap:13px}.motion-content .network-filters{gap:6px}.motion-content .network-filters button{font-size:11px;min-height:40px;padding:8px 10px}.motion-content .auto-label{font-size:11px}html[lang=en] .lab-tabs button{font-size:11px}}
@media(max-width:360px){.lab-tabs button{font-size:12px;padding:10px 5px}.motion-content .network-stage{height:365px}.motion-content .network-label h2{font-size:20px}.motion-content .fluid-stage{height:415px}.motion-content .event-path span{font-size:10px}.motion-content .event-path small{font-size:8px}html[lang=en] .lab-tabs button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.lab-tabs button,.motion-content .event-path>div{transition:none}}

.motion-content .text-button>span[data-i18n]{font-size:inherit}

/* Stable paper behind copy keeps dense fluid from crossing the reading surface. */
.motion-content .fluid-stage .stage-heading{isolation:isolate}
.motion-content .fluid-stage .stage-heading:before{content:'';position:absolute;inset:-13px -16px -12px -15px;background:rgba(251,250,253,.97);border-radius:12px;box-shadow:0 0 22px 13px rgba(251,250,253,.65);z-index:-1;pointer-events:none}
.motion-content .stage-hint{max-width:calc(100% - 55px);padding:6px 9px;border-radius:11px;background:rgba(251,250,253,.94);line-height:1.6}

/* Keep translated headings inside the same inset as the Chinese copy. */
.motion-content .stage-heading{inset-inline-end:35px}
.motion-content .network-label{inset-inline-end:28px}
@media(max-width:720px){.motion-content .stage-heading{inset-inline-end:23px}.motion-content .network-label{inset-inline-end:22px}}

/* Independent research views. Their content is visible without a tab switch. */
.weaver-section{padding-block:96px 80px}
.weaver-section-heading{max-width:760px;margin:0 auto 22px}
.weaver-disclosure{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.weaver-summary{display:flex;justify-content:flex-end;padding:0 0 22px;gap:0;list-style:none}
.weaver-summary .weaver-expand{width:auto;min-height:40px;margin:0;padding:0;border:0;gap:13px;color:#79658c;font-size:13px}
.weaver-summary .weaver-chevron{width:30px;height:30px;font-size:16px}
.weaver-content{border:0;padding:0}.weaver-content .weaver-toolbar{padding:0 2px 18px;border:0}
.weaver-content .weaver-pause{min-height:42px;border:1px solid #ddd3e7;background:#fff}
.weaver-content .weaver-stage{border:0;border-radius:18px}
.weaver-content .weaver-stream-row,.weaver-content .weaver-status-row{background:transparent;padding-inline:2px}
.weaver-content .weaver-feed{padding:30px 2px 0}
.relations-section{padding-block:100px;border-top:1px solid var(--line)}
.relations-section .section-heading{max-width:780px;margin:0 auto 35px}
.relations-section .network-layout{grid-template-columns:minmax(0,1fr) 270px;gap:48px;align-items:center}
.relations-section .visual-stage{border:0;border-radius:0;background:#fff}
.relations-section .network-stage{height:540px}
.relations-section .network-label{top:24px;left:24px;right:24px}
.relations-section .network-label .eyebrow{font-size:10px;letter-spacing:.1em;color:#9b89ac}
.relations-section .network-stage .stage-hint{background:#fff;max-width:calc(100% - 56px)}
.relations-section .network-inspector{padding:0}
.relations-section .network-inspector>p:not(.eyebrow):not(.demo-label){font-size:16px;line-height:1.85;min-height:0;color:#786585}
.relations-section .network-toolbar{flex-wrap:wrap;gap:20px;border-bottom:0;border-top:1px solid #e9e2ef;padding-top:22px}
.relations-section .network-filters button{font-size:14px;padding:10px 16px}
.motion-section-pause{padding:10px 15px;border:1px solid #e2d8e9;border-radius:24px;background:#fff;color:#76568e;min-height:42px;font-size:13px;white-space:nowrap}
.motion-section-pause:hover{background:#f5f0fa}
/* The fluid belongs to the contact surface, behind every link and text layer. */
.contact-with-fluid{position:relative;isolation:isolate;overflow:hidden}
.contact-fluid{position:absolute;inset:0;z-index:-2;pointer-events:none;opacity:.7;mask-image:linear-gradient(180deg,transparent,#000 13%,#000 85%,transparent)}
.contact-fluid canvas{display:block;width:100%;height:100%;pointer-events:none}
.contact-with-fluid:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(110deg,rgba(239,232,248,.97) 0%,rgba(239,232,248,.8) 29%,rgba(239,232,248,.12) 66%,rgba(239,232,248,.4) 100%)}
.contact-with-fluid>.wrap{position:relative;z-index:1}
.contact-with-fluid .contact-card{background:rgba(255,255,255,.85);box-shadow:none}
.contact-with-fluid .starting-steps{border-color:#ded5e7}
.contact-motion-controls{display:flex;justify-content:flex-end;margin-top:32px}
#contact-motion-toggle{display:inline-flex;align-items:center;justify-content:center;border:0;background:rgba(255,255,255,.75);border-radius:24px;padding:10px 16px;color:#7c678e;font-size:12px;min-height:42px}
#contact-motion-toggle:hover{background:#fff}
#contact-motion-toggle:focus-visible,.motion-section-pause:focus-visible{outline:3px solid #b097c5;outline-offset:4px}
@media(max-width:1000px){.relations-section .network-layout{grid-template-columns:minmax(0,1fr) 235px;gap:30px}.relations-section .network-toolbar{flex-direction:row;align-items:center}.relations-section .network-stage{height:480px}}
@media(max-width:720px){.weaver-section{padding-block:66px 58px}.weaver-section-heading{margin-bottom:15px}.weaver-summary{padding-bottom:17px}.weaver-summary .weaver-expand{font-size:12px}.weaver-content .weaver-stage{border-radius:14px}.weaver-content .weaver-toolbar{padding-bottom:12px}.weaver-content .weaver-feed{padding-top:25px}.relations-section{padding-block:68px}.relations-section .section-heading{margin-bottom:14px}.relations-section .network-layout{grid-template-columns:1fr;gap:8px}.relations-section .network-stage{height:390px}.relations-section .network-label{left:16px;top:14px}.relations-section .network-stage .stage-hint{left:16px;font-size:10px}.relations-section .network-inspector{padding-top:15px}.relations-section .network-inspector>p:not(.eyebrow):not(.demo-label){font-size:15px;line-height:1.85}.relations-section .network-toolbar{gap:16px;padding-top:20px}.relations-section .network-filters button{font-size:13px;padding:9px 13px}.relations-section .auto-label{font-size:12px}.motion-section-pause{margin-inline-start:auto;font-size:12px}.contact-fluid{opacity:.46}.contact-with-fluid:before{background:linear-gradient(180deg,rgba(239,232,248,.87),rgba(239,232,248,.35) 35%,rgba(239,232,248,.4) 80%,#f6f4fa)}.contact-with-fluid .contact-card{background:rgba(255,255,255,.88)}.contact-motion-controls{justify-content:flex-start;margin-top:28px}}
@media(max-width:360px){.relations-section .network-stage{height:360px}.relations-section .network-filters button{font-size:12px;padding-inline:12px}}
