.term-photo{display:grid;grid-template-columns:minmax(260px,.9fr) 1.1fr;gap:1rem;align-items:stretch;margin:1rem 0 1.2rem;border:1px solid rgba(255,255,255,.12);border-radius:16px;overflow:hidden;background:#0a111b}.term-photo img{width:100%;height:100%;min-height:220px;object-fit:cover}.term-photo figcaption{display:grid;align-content:center;gap:.55rem;padding:1.2rem}.term-photo figcaption b{color:#fff;font-size:1.15rem}.term-photo figcaption span{color:#d4d9e4;line-height:1.6}.term-photo figcaption small{padding-top:.7rem;border-top:1px solid rgba(255,255,255,.1);color:#ff9a72}.term-animation{margin:1rem 0 1.2rem;padding:1rem;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:linear-gradient(120deg,#0b1420,#151123);overflow:hidden}.term-animation figcaption{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.9rem}.term-animation figcaption b{color:#fff}.term-animation figcaption small{color:#aeb8cb}.term-animation>div{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.term-animation>div span{position:relative;display:grid;place-items:center;min-height:94px;padding:.8rem;border:1px solid #3b4558;border-radius:13px;background:#101723;text-align:center;animation:term-step 4.8s ease-in-out infinite}.term-animation>div span::after{content:'→';position:absolute;right:-1.45rem;color:#ff7547;font-size:1.2rem}.term-animation>div span:last-child::after{display:none}.term-animation>div span:nth-child(2){animation-delay:1.6s}.term-animation>div span:nth-child(3){animation-delay:3.2s}.term-animation span b{color:#fff}.term-animation span small{margin-top:.3rem;color:#abb5c8}.term-animation--fifo>div span:first-child,.term-animation--fefo>div span:first-child{border-top:4px solid #ff7547}.term-animation--stock>div span:nth-child(2){border-bottom:10px solid #47cb8d}.term-animation--controls>div span:first-child{transform:scale(1.05);border-color:#47cb8d}.term-animation--trace>div::before{content:'';position:absolute}@keyframes term-step{0%,26%{border-color:#ff7547;box-shadow:0 0 0 3px rgba(255,117,71,.15);transform:translateY(-3px)}33%,100%{border-color:#3b4558;box-shadow:none;transform:none}}@media(max-width:720px){.term-photo{grid-template-columns:1fr}.term-photo img{min-height:0;aspect-ratio:3/2}.term-animation figcaption{display:grid}.term-animation>div{gap:.7rem}.term-animation>div span{min-height:82px;padding:.55rem}.term-animation>div span::after{right:-.62rem;font-size:.85rem}.term-animation span b{font-size:.8rem}.term-animation span small{font-size:.68rem}}@media(prefers-reduced-motion:reduce){.term-animation>div span{animation:none}.term-animation>div span:first-child{border-color:#ff7547}}
