/* The connected system: the same paper, ink, yellow and blue as the studio. */
#connected-system { --system-ink:#10131f; --system-blue:#b7d4ee; --system-line:#94b9dc; --system-yellow:#ffcd28; overflow:hidden; }
#connected-system .mm-heading-row { margin-bottom:38px; }
#connected-system h2 span { display:inline-block; position:relative; text-decoration:none; z-index:0; }
#connected-system h2 span::after { content:""; position:absolute; inset:54% -8px 0; z-index:-1; background:var(--system-yellow); transform:rotate(-1.5deg); }
#connected-system .mm-lead { padding-inline-start:22px; border-inline-start:3px solid var(--system-ink); }
.mm-system-stage { position:relative; padding:22px 34px 24px; background:var(--system-ink); color:var(--studio-paper); border:1px solid var(--system-ink); border-radius:5px; box-shadow:9px 9px 0 var(--system-blue); }
.mm-system-stage::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.12; background-image:linear-gradient(#92b9dc44 1px,transparent 1px),linear-gradient(90deg,#92b9dc44 1px,transparent 1px); background-size:44px 44px; }
.mm-network-meta { position:relative; display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:18px; border-bottom:1px solid #b7d4ee30; }
.mm-network-meta > :first-child { display:flex; align-items:center; gap:10px; font-size:.85rem; font-weight:600; }
.mm-network-meta i { width:8px; height:8px; border-radius:50%; background:var(--system-yellow); box-shadow:0 0 0 5px #ffcd281a; }
.mm-network-meta > :last-child { color:#b7d4ee; font:9px/1.5 Consolas,monospace; letter-spacing:.12em; }
#connected-system .mm-network { grid-template-columns:1fr 1.1fr 1fr; grid-template-rows:repeat(3,112px); gap:22px 42px; max-width:none; margin:36px auto 30px; isolation:isolate; }
#connected-system .mm-network::before,#connected-system .mm-network::after { content:""; position:absolute; z-index:-1; top:50%; left:50%; width:390px; height:390px; border:1px solid #b7d4ee24; border-radius:50%; transform:translate(-50%,-50%); pointer-events:none; }
#connected-system .mm-network::after { width:320px; height:320px; border-style:dashed; opacity:.65; }
#connected-system .mm-core { position:relative; isolation:isolate; width:238px; min-height:258px; padding:20px 15px; background:transparent; color:var(--system-ink); border:0; border-radius:5px; transform:none; box-shadow:none; }
/* Keep the original animated logo upright; tilt only the paper. */
#connected-system .mm-core::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--system-yellow); border:2px solid var(--system-ink); border-radius:5px; transform:rotate(-4deg); box-shadow:7px 8px 0 #b7d4ee; }
.mm-core-label { position:absolute; top:-14px; padding:4px 14px; border:1px solid var(--system-yellow); border-radius:2px; background:var(--system-ink); color:var(--system-yellow); font-size:.73rem !important; font-weight:700; transform:rotate(-2deg); }
.mm-core-emblem { position:relative; display:grid; place-items:center; width:84px; height:84px; margin:6px 0 12px; border-radius:50%; background:var(--system-ink); }
.mm-core-logo-window { position:absolute; inset:8.4px; display:block; overflow:hidden; border-radius:50%; }
.mm-core-logo-window img { position:absolute; top:0; left:-4px; display:block; width:auto; max-width:none; height:67.2px; object-fit:contain; }
.mm-core-logo-window img.is-static { width:60px; height:60px; left:3.6px; top:3.6px; }
.mm-core-emblem svg { position:absolute; inset:-8px; width:100px; height:100px; overflow:visible; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mm-core-emblem circle { opacity:.22; stroke-dasharray:2 7; }
.mm-core-emblem .mm-core-arrows { stroke-width:2.1; transform-origin:80px 80px; }
.mm-system-stage.is-network-visible .mm-core-arrows { animation:mm-core-flow 22s linear infinite; }
@keyframes mm-core-flow { to { transform:rotate(360deg); } }
.mm-system-stage:not(.is-network-visible) .mm-beam-pulse { animation-play-state:paused; }
#connected-system .mm-core > strong { font-size:22px; letter-spacing:-.7px; }
#connected-system .mm-core > p { margin-top:13px; padding-top:10px; width:85%; border-top:1px solid #10131f30; font-weight:600; font-size:.82rem; }
#connected-system .mm-domain { display:flex; flex-direction:column; justify-content:center; padding:20px 82px 20px 25px; min-height:112px; border:1px solid #10131f; border-radius:4px; background:var(--studio-paper); color:var(--system-ink); box-shadow:4px 4px 0 #6b94bc80; transform:rotate(var(--card-turn,0deg)); transition:background .25s,box-shadow .25s,transform .35s cubic-bezier(.2,.8,.2,1); }
#connected-system .mm-domain-0 { --card-turn:1.5deg; }
#connected-system .mm-domain-1 { --card-turn:-1deg; background:var(--system-blue); }
#connected-system .mm-domain-2 { --card-turn:1deg; }
#connected-system .mm-domain-3 { --card-turn:-1.5deg; background:var(--system-blue); }
#connected-system .mm-domain-4 { --card-turn:1deg; }
#connected-system .mm-domain-5 { --card-turn:-1deg; background:var(--system-blue); }
#connected-system .mm-domain strong { font-size:1.3rem; margin:0 0 6px; }
#connected-system .mm-domain > span:last-child { color:#34475a; font-size:.84rem; line-height:1.5; }
#connected-system .mm-domain-index { top:11px; left:12px; color:#46586b; font-size:9px; }
.mm-domain-icon { display:grid; place-items:center; position:absolute; right:15px; top:50%; width:52px; height:52px; border:1px solid #10131f35; border-radius:50%; transform:translateY(-50%); }
.mm-domain-icon svg { width:33px; height:33px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; overflow:visible; }
#connected-system .mm-domain[aria-pressed="true"] { background:var(--system-yellow); box-shadow:6px 6px 0 #b7d4ee; transform:translateY(-4px) rotate(0); }
#connected-system .mm-domain[aria-pressed="true"] .mm-domain-icon { background:var(--system-ink); color:var(--system-yellow); border-color:var(--system-ink); }
#connected-system .mm-domain:focus-visible { outline-color:var(--system-yellow); outline-offset:8px; }
#connected-system .mm-beam-base { stroke:var(--system-line); stroke-width:1.3; opacity:.4; }
#connected-system .is-selected .mm-beam-base { stroke:var(--system-yellow); stroke-width:2; opacity:.85; }
#connected-system .mm-beam-pulse { stroke:var(--system-yellow); stroke-width:4; stroke-dasharray:60 940; }
#connected-system .mm-beam-return { stroke:#d5e8fa; stroke-width:2; stroke-dasharray:30 970; }
#connected-system .mm-in-view .mm-beam-pulse { animation-duration:2.8s; }
.mm-system-stage.is-network-visible .mm-domain[aria-pressed="true"] .mm-icon-detail { animation:mm-system-icon 1.8s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
@keyframes mm-system-icon { 0%,100% { opacity:1; transform:translateY(0); } 50% { opacity:.35; transform:translateY(-2px); } }
.mm-network-loop { position:relative; display:flex; justify-content:center; align-items:center; gap:18px; width:fit-content; max-width:100%; margin:auto; padding:13px 28px 0; border-top:1px solid #b7d4ee35; font-size:.79rem; color:#d8e5f1; }
.mm-network-loop b { color:var(--system-yellow); font-size:1.2rem; font-weight:400; }
.mm-network-loop svg { width:20px; height:20px; fill:none; stroke:var(--system-yellow); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
#connected-system .mm-network-caption { margin-top:32px; border-top:0; padding:0; align-items:start; }
#connected-system .mm-caption-label { display:flex; align-items:center; gap:15px; }
#connected-system .mm-caption-label > span { display:grid; place-items:center; flex:0 0 40px; height:40px; margin:0; border:1px solid #10131f; background:var(--system-yellow); font-size:1.4rem; }
#connected-system .mm-network-description { padding:0 22px 0 0; border-inline-start:3px solid var(--system-blue); }
#connected-system .mm-network-description p strong { font-size:1.1rem; margin-bottom:8px; }
#connected-system .mm-network-description p { line-height:1.8; }
#connected-system .mm-system-bottom { margin-top:0; }
#connected-system .mm-cta { box-shadow:4px 4px 0 var(--system-blue); transition:transform .2s,box-shadow .2s; }
#connected-system .mm-cta:hover { transform:translateY(-3px); box-shadow:4px 7px 0 var(--system-blue); }
.mm-motion-paused .mm-system-stage *, .studio-motion-off .mm-system-stage * { animation-play-state:paused !important; }
@media (min-width:851px) and (max-width:1100px) {
 #connected-system .mm-network { gap:22px 28px; grid-template-columns:1fr 1fr 1fr; }
 #connected-system .mm-core { width:205px; }
 #connected-system .mm-domain { padding-right:66px; padding-left:18px; }
 .mm-domain-icon { width:40px; height:40px; right:12px; }.mm-domain-icon svg { width:27px; height:27px; }
 #connected-system .mm-domain strong { font-size:1.15rem; }
}
@media (max-width:850px) {
 #connected-system { padding-block:65px; }
 .mm-system-stage { padding:20px 22px 24px; box-shadow:6px 6px 0 var(--system-blue); }
 .mm-network-meta { gap:12px; }.mm-network-meta > :last-child { font-size:8px; letter-spacing:.04em; }
 #connected-system .mm-network { grid-template-columns:1fr 1fr; grid-template-rows:auto; gap:18px 16px; margin:35px 0 24px; }
 #connected-system .mm-network .mm-beams { display:block; }
 #connected-system .mm-core { grid-column:1/-1; width:230px; min-height:240px; margin:0 0 25px; }
 #connected-system .mm-network::before { top:117px; width:290px; height:290px; }
 #connected-system .mm-network::after { top:117px; width:270px; height:270px; }
 #connected-system .mm-domain { grid-area:auto; min-height:138px; padding:62px 16px 17px; transform:rotate(var(--card-turn)); }
 .mm-domain-icon { top:14px; right:16px; width:36px; height:36px; transform:none; }
 .mm-domain-icon svg { width:25px; height:25px; }
 #connected-system .mm-domain strong { font-size:1.2rem; }
 #connected-system .mm-domain > span:last-child { font-size:.82rem; }
 #connected-system .mm-domain[aria-pressed="true"] { transform:translateY(-3px) rotate(0); }
 #connected-system .mm-network-caption { margin-top:28px; gap:20px; }
 #connected-system .mm-network-description { padding-right:16px; min-height:140px; }
 .mm-network-loop { gap:12px; padding-inline:0; font-size:.76rem; }
 .mm-network-loop svg { width:17px; }
}
@media (max-width:480px) {
 #connected-system .mm-wrap { width:calc(100% - 40px); }
 #connected-system .mm-heading-row { gap:27px; }
 #connected-system .mm-lead { font-size:1rem; padding-inline-start:15px; }
 .mm-system-stage { padding-inline:15px; }
 .mm-network-meta > :last-child { display:none; }
 #connected-system .mm-domain { padding-inline:12px; min-height:145px; }
 #connected-system .mm-domain strong { font-size:1.05rem; }
 #connected-system .mm-domain > span:last-child { font-size:.79rem; }
 .mm-network-loop { gap:9px; font-size:.7rem; }.mm-network-loop b { font-size:1rem; }
}
@media (prefers-reduced-motion:reduce) {
 #connected-system *,#connected-system *::before,#connected-system *::after { animation:none !important; transition:none !important; }
}
