/* Scoped conceptual diagrams for the growth observatory. */
.learning-diagram{--ld-jade:#9ec6b3;--ld-gold:#e7d4a5;--ld-text:#e9e9d9;--ld-muted:#96a99f}
.learning-diagram .ld-figure{margin:0;position:relative;isolation:isolate;padding:12px 0 0}
.learning-diagram .ld-svg{display:block;width:100%;height:auto;max-height:206px;overflow:visible;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
.learning-diagram .ld-label{fill:var(--ld-text);font-size:14px;font-weight:400;letter-spacing:.035em}
.learning-diagram .ld-small{fill:var(--ld-muted);font-size:11px;letter-spacing:.025em}
.learning-diagram .ld-index{fill:var(--ld-gold);font-size:10px;letter-spacing:.12em;font-family:Georgia,serif}
.learning-diagram .ld-gold{fill:var(--ld-gold)}
.learning-diagram .ld-node{fill:#7aa98a0b;stroke:#b8d6bf55;stroke-width:1}
.learning-diagram .ld-node-gold{fill:#dac18713;stroke:#e7d4a58a}
.learning-diagram .ld-halo{fill:none;stroke:#a5d0b324;stroke-width:1;stroke-dasharray:2 5;transform-box:fill-box;transform-origin:center;animation:ld-turn 38s linear infinite}
.learning-diagram .ld-orbit{fill:none;stroke:#aac3ae30;stroke-width:1}
.learning-diagram .ld-line{fill:none;stroke:#bfd0ad70;stroke-width:1;stroke-linecap:round}
.learning-diagram .ld-trace{stroke:var(--ld-gold);stroke-dasharray:2 9;stroke-opacity:.7;animation:ld-flow 8s linear infinite}
.learning-diagram .ld-reverse{animation-direction:reverse}
.learning-diagram .ld-spark{fill:var(--ld-gold);animation:ld-pulse 3.8s ease-in-out infinite}
.learning-diagram .ld-pill rect{fill:#152921;stroke:#9ac6ad5e;stroke-width:1}
.learning-diagram .ld-active .ld-pill rect,.learning-diagram .ld-active .ld-node{fill:#b4c69b1b;stroke:#ead9b5b0}
.learning-diagram .ld-active .ld-label{fill:#f0dfb8}
.learning-diagram .ld-document{fill:none;stroke:#9fc3b399;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.learning-diagram .ld-venn{stroke-width:1}
.learning-diagram .ld-venn-jade{fill:#93b8a615;stroke:#a7c9b469}
.learning-diagram .ld-venn-gold{fill:#dac79910;stroke:#dfcb987d}
.learning-diagram .ld-figure figcaption{text-align:center;margin:10px 0 2px;font-size:10px;line-height:1.7;color:var(--ld-muted);letter-spacing:.04em}
.learning-diagram .ld-cycle-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:5px 0 0}
.learning-diagram .ld-cycle-controls button{font-family:inherit;font-size:10px;letter-spacing:.02em;line-height:1.5;border:1px solid #b8d6bf25;background:#9ec6b307;color:#b8c8bd;border-radius:6px;padding:9px 3px;cursor:pointer;transition:background .3s,border-color .3s,color .3s;white-space:nowrap}
.learning-diagram .ld-cycle-controls button span{display:block;font-size:8px;font-family:Georgia,serif;letter-spacing:.12em;opacity:.55;margin-bottom:3px}
.learning-diagram .ld-cycle-controls button[aria-pressed="true"]{color:#ead9b5;background:#e7d4a511;border-color:#e7d4a56b}
.learning-diagram .ld-cycle-controls button:hover{border-color:#e7d4a59b}
.learning-diagram .ld-cycle-controls button:focus-visible{outline:2px solid #e7d4a5;outline-offset:3px}
.about-paused .learning-diagram *,.is-paused .learning-diagram *{animation-play-state:paused!important}
@keyframes ld-flow{to{stroke-dashoffset:-88}}
@keyframes ld-turn{to{transform:rotate(360deg)}}
@keyframes ld-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@media(max-width:520px){.learning-diagram .ld-svg{max-height:180px}.learning-diagram .ld-cycle-controls{gap:4px}.learning-diagram .ld-cycle-controls button{font-size:9px;padding:8px 2px}.learning-diagram .ld-figure figcaption{font-size:9px;margin-top:8px}}
@media(prefers-reduced-motion:reduce){.learning-diagram *{animation:none!important}}
