/* Hover feedback stays within each button's fixed hit area. */
/* Replies use a caret/pulse while generating; no horizontal light sweep. */
html[data-ui-theme] .message.assistant .message-content::before,
html[data-ui-theme] .chat-message.ai-solver .message-bubble::before,
html[data-ui-theme] .cr-msg.other .cr-msg-bubble::before{content:none!important;animation:none!important;background:none!important;opacity:0!important}
html[data-ui-theme] .svg-live-scan{display:none!important;animation:none!important;background:none!important}
html[data-ui-theme] body button{transition:background-color 220ms cubic-bezier(.2,.7,.2,1),color 220ms cubic-bezier(.2,.7,.2,1),border-color 220ms cubic-bezier(.2,.7,.2,1),transform 260ms cubic-bezier(.2,.7,.2,1),box-shadow 260ms cubic-bezier(.2,.7,.2,1),opacity 180ms ease}
html[data-ui-theme] :is(.input-actions,.sidebar) button,html[data-ui-theme] .model-selector-btn{transform:none!important;scale:1!important}
html[data-ui-theme] :is(.input-actions,.sidebar) button>svg,html[data-ui-theme] .model-selector-btn>svg{transition:scale 240ms cubic-bezier(.2,.7,.2,1),opacity 200ms ease;transform-origin:center;scale:1}
@media(hover:hover) and (pointer:fine){
 html[data-ui-theme] :is(.input-actions,.sidebar) button:hover:not(:disabled)>svg{scale:1.055}
 html[data-ui-theme] .input-actions button:not(#sendBtn):hover:not(:disabled){background:color-mix(in srgb,var(--primary) 9%,transparent)!important;color:var(--primary)!important}
}
html[data-ui-theme] :is(.input-actions,.sidebar) button:active:not(:disabled)>svg{scale:.95}
html[data-ui-theme] :is(.btn-login,.btn-primary,.send-btn,.new-chat-btn,.admin-action-btn.primary,.admin-refresh-btn,.chatroom-send-btn,.study-pal-actions button,.csp-chat-btn,.csp-submit-btn,.csp-status-btn):not([data-action-pending="true"])::after{content:none;animation:none}
html[data-ui-theme] button[data-action-pending="true"]::after{inset:auto;right:12px;top:calc(50% - 6px)}
html[data-ui-theme] .sidebar-tools-summary>svg{transition:transform 240ms cubic-bezier(.2,.7,.2,1)}
@supports(interpolate-size:allow-keywords){
 html[data-ui-theme] .sidebar-tools-group::details-content{interpolate-size:allow-keywords;block-size:0;overflow:clip;transition:block-size 260ms cubic-bezier(.2,.7,.2,1),content-visibility 260ms allow-discrete}
 html[data-ui-theme] .sidebar-tools-group[open]::details-content{block-size:auto}
}
@media(prefers-reduced-motion:reduce){
 html[data-ui-theme] body button,html[data-ui-theme] :is(.input-actions,.sidebar) button>svg,html[data-ui-theme] .model-selector-btn>svg,html[data-ui-theme] .sidebar-tools-summary>svg,html[data-ui-theme] .sidebar-tools-group::details-content{transition:none!important}
 html[data-ui-theme] :is(.input-actions,.sidebar) button>svg{scale:1!important}
}
