.thread-stage{overflow:clip}.thread-stage .thread-toolbar{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1.5rem;padding:1.15rem 0 2.25rem;display:flex}.thread-stage .connection-controls{border:0;margin:0;padding:0}.thread-stage .connection-controls button{border-radius:4px}.thread-stage .connection-controls button[aria-pressed=true]{background:#fff1;border-color:#d1b47e80}.thread-stage .motion-toggle{border:1px solid var(--line-strong);min-height:44px;color:var(--paper);font:400 .72rem/1.4 var(--sans);cursor:pointer;background:0 0;border-radius:4px;align-items:center;gap:.6rem;padding:.5rem .75rem;display:inline-flex}.thread-stage :is(button,a):focus-visible{outline-offset:5px;outline:2px solid #edcf99}.thread-stage .connection-grid{grid-template-columns:minmax(0,1fr) 4.5rem minmax(0,1fr) 4.5rem minmax(0,1fr);align-items:start;gap:0;position:relative}.thread-stage .connection-card{border:1px solid #0000;border-top-color:var(--line);border-radius:6px;grid-column:auto;min-width:0;padding:1.25rem 1rem;transition:background .16s,border-color .16s}.thread-stage .connection-card:first-of-type{grid-column:1}.thread-stage .connection-card:nth-of-type(2){grid-column:3}.thread-stage .connection-card:nth-of-type(3){grid-column:5}.thread-stage .thread-art{transform-origin:50% 85%;border-radius:6px;max-width:155px;transition:transform .42s cubic-bezier(.2,.7,.2,1)}.thread-stage .thread-art img{border-radius:6px;width:100%;height:auto;animation:none;translate:none}.thread-stage[data-example-step="0"] .connection-card:first-child .thread-art{transform:translate(8px,10px)rotate(-3deg)}.thread-stage[data-example-step="0"] .connection-card:last-child .thread-art{transform:translate(-8px,10px)rotate(3deg)}.thread-stage .connection-card h3{overflow-wrap:anywhere}.thread-stage .thread-position{color:#e3c994;font:500 .74rem/1.4 var(--sans);margin:.4rem 0 1rem}.thread-stage .connection-card[data-thread-active=true]{background:linear-gradient(160deg,#d1b47e13,#0000 75%);border-color:#d1b47e}.thread-stage .thread-connector{grid-row:1;place-items:center;height:48px;margin-top:9.5rem;display:grid;position:relative}.thread-stage .thread-connector:first-of-type{grid-column:2}.thread-stage .thread-connector:nth-of-type(2){grid-column:4}.thread-stage .thread-line{color:#9e875e;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.thread-stage .thread-line path{stroke:currentColor;stroke-width:1.25px;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:0;animation:.36s cubic-bezier(.2,.7,.2,1) thread-draw}.thread-stage .thread-connector[data-thread-active=true] .thread-line{color:#eed6ad}.thread-stage .thread-line-vertical{display:none}.thread-stage .thread-pair{color:#ddc18e;cursor:pointer;min-width:44px;min-height:44px;font:500 .68rem/1 var(--sans);background:#17171b;border:1px solid #d1b47e80;border-radius:50%;place-items:center;transition:background .16s,border-color .16s;display:grid;position:relative}.thread-stage .thread-pair[aria-pressed=true]{color:#17171b;background:#d1b47e;border-color:#d1b47e}.thread-stage .thread-pair:hover{border-color:#f3dcaf}.thread-stage .thread-pair-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.thread-stage .connection-synthesis{grid-template-columns:minmax(8rem,1fr) minmax(0,2fr)}.thread-stage .thread-explanations{gap:.8rem;display:grid}.thread-stage .thread-explanations p{color:#c0b9ae;border:1px solid #0000;border-left-color:#6b6252;border-radius:0 6px 6px 0;margin:0;padding:1rem 1.1rem 1rem 3rem;font-size:1.4rem;transition:background .16s,color .16s;position:relative}.thread-stage .thread-explanations p[data-thread-active=true]{color:#f4f0e7;background:#ffffff05;border-color:#d1b47e80 #d1b47e80 #d1b47e80 #e8cc9b}.thread-stage .thread-explanation-number{color:#d1b47e;font:500 .65rem/1 var(--sans);position:absolute;top:1.55rem;left:1rem}@keyframes thread-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}@media (width<=900px){.thread-stage .connection-grid{grid-template-columns:minmax(0,1fr) 3rem minmax(0,1fr) 3rem minmax(0,1fr)}.thread-stage .connection-card{padding:1rem .5rem}.thread-stage .connection-card h3{font-size:1.55rem}.thread-stage .thread-connector{margin-top:8rem}.thread-stage .connection-synthesis{grid-template-columns:1fr;gap:1rem}}@media (width<=650px){.thread-stage .thread-toolbar{align-items:start;padding-bottom:1.5rem}.thread-stage .connection-controls{flex-wrap:wrap;justify-content:flex-start;gap:.3rem}.thread-stage .connection-controls button{padding:.6rem .7rem;font-size:.7rem}.thread-stage .connection-grid{flex-direction:column;gap:0;display:flex}.thread-stage .connection-card{grid-template-columns:86px minmax(0,1fr);gap:0 1rem;width:100%;padding:1.1rem .65rem;display:grid}.thread-stage .thread-art{grid-area:1/1/span 5;margin:0}.thread-stage .connection-card :is(.card-index,h3,p){grid-column:2}.thread-stage .connection-card h3{font-size:1.45rem}.thread-stage .connection-card p{font-size:.88rem}.thread-stage .connection-card .thread-position{margin:.2rem 0 .5rem;font-size:.7rem}.thread-stage[data-example-step="0"] .connection-card:is(:first-child,:last-child) .thread-art{transform:none}.thread-stage .thread-connector{align-items:center;width:100%;height:88px;margin:0;padding-left:1.9rem;display:flex}.thread-stage .thread-line-horizontal{display:none}.thread-stage .thread-line-vertical{width:48px;display:block;left:1.8rem}.thread-stage .thread-pair{text-align:left;background:0 0;border:0;border-radius:4px;gap:1rem;max-width:100%;min-height:44px;padding:0;display:flex}.thread-stage .thread-number{background:#17171b;border:1px solid #d1b47e80;border-radius:50%;place-items:center;min-width:44px;height:44px;display:grid}.thread-stage .thread-pair-label{clip-path:none;white-space:normal;color:#d3c7b4;width:auto;height:auto;font:400 .72rem/1.6 var(--sans);padding-right:.75rem;display:block;position:static;overflow:visible}.thread-stage .thread-pair[aria-pressed=true]{color:#17171b;background:0 0}.thread-stage .thread-pair[aria-pressed=true] .thread-number{background:#d1b47e}.thread-stage .thread-pair[aria-pressed=true] .thread-pair-label{color:#f4f0e7}.thread-stage .thread-explanations p{padding:.8rem .8rem .8rem 2.5rem;font-size:1.25rem}.thread-stage .thread-explanation-number{top:1.3rem;left:.75rem}}@media (prefers-reduced-motion:reduce){.thread-stage *,.thread-stage :before,.thread-stage :after{transition:none!important;animation:none!important}.thread-stage .thread-art{transform:none!important}}html[data-motion=reduce] .thread-stage *,html[data-motion=reduce] .thread-stage :before,html[data-motion=reduce] .thread-stage :after{transition:none!important;animation:none!important}html[data-motion=reduce] .thread-stage .thread-art{transform:none!important}@media print{.thread-stage .thread-toolbar,.thread-stage .thread-connector{display:none!important}.thread-stage .connection-card{background:0 0!important;border-color:#777!important}.thread-stage .thread-position,.thread-stage .thread-explanations p{color:#111!important}}
