/* Movimento acompanha a navegação e o preparo, sem esconder conteúdo. */
:root{--motion-ease:cubic-bezier(.16,1,.3,1);--motion-fast:140ms;--motion-normal:220ms}
.fade-in{animation:none}
:where(.primary,.secondary,.chip,.heart-button,.text-button,.sidebar nav a,.mobile-nav a,.public-related a,.sweet-card){transition:background-color var(--motion-fast) ease-out,color var(--motion-fast) ease-out,border-color var(--motion-fast) ease-out,transform var(--motion-fast) var(--motion-ease)}
.primary svg,.secondary svg,.section-head a svg,.assistant-how a svg{transition:transform var(--motion-fast) var(--motion-ease)}
.primary:active,.secondary:active,.chip:active,.heart-button:active,.sweet-card:active{transform:scale(.98)}
.recipe-card .card-image img,.sweet-card img{transition:transform var(--motion-normal) var(--motion-ease)}
.guide-progress div{transition:none}
@media(hover:hover) and (pointer:fine){.recipe-card:hover .card-image img{transform:scale(1.025)}.sweet-card:hover img{transform:scale(1.02)}.primary:hover svg:has(use[href="#i-arrow"]),.secondary:hover svg:has(use[href="#i-arrow"]),.section-head a:hover svg{transform:translateX(2px)}}
dialog[open]{animation:manual-sheet 230ms var(--motion-ease) both}
@keyframes manual-sheet{from{opacity:.7;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@keyframes manual-sheet-reduced{from{opacity:.92}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 dialog[open]{animation:manual-sheet-reduced 80ms linear!important}
 :where(.primary,.secondary,.chip,.heart-button,.text-button,.sidebar nav a,.mobile-nav a,.public-related a,.sweet-card){transition:color 100ms linear,background-color 100ms linear,border-color 100ms linear!important}
 .primary:hover,.primary:active,.secondary:active,.chip:active,.heart-button:active,.sweet-card:active,.recipe-card:hover .card-image img,.sweet-card:hover img,.primary:hover svg,.secondary:hover svg,.section-head a:hover svg{transform:none!important}
}
@media print{dialog[open],.fade-in{animation:none!important}*{transition:none!important}}
/* Marcar ingredientes mantém uma indicação visual também sem animação. */
.ingredient-row:has(input:checked)>span,.public-ingredients label:has(input:checked)>span{text-decoration:line-through;text-decoration-thickness:1px}
.sidebar nav a svg,.mobile-nav a svg{transition:transform 180ms var(--motion-ease)}
@media(hover:hover) and (pointer:fine){.sidebar nav a:hover svg{transform:translateX(2px)}.public-related a:hover{transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.sidebar nav a:hover svg,.public-related a:hover{transform:none!important}}
