/* Flux refinement: keep existing theme tokens and layout. */
:where(button,.btn,.chat-chip,.sidebar-nav-item,.sidebar-chat-item,.m-tab){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
:where(button,.btn,.chat-chip,.sidebar-nav-item,.sidebar-chat-item,.m-tab):focus-visible{outline:2px solid var(--accent,#a4efd0);outline-offset:3px}
:where(.card,.modal-card,.chat-composer-form,.chat-chip){background-clip:padding-box}
:where(input,textarea,select){transition:border-color .16s ease,box-shadow .16s ease}
:where(input,textarea,select):focus-visible{outline:2px solid var(--accent,#a4efd0);outline-offset:2px}
:where(button,.btn):disabled{cursor:wait}
.sidebar-chat-item .chat-item-del-btn{border:0;background:transparent;color:inherit;border-radius:9px;min-width:32px;min-height:32px;opacity:.65}
.sidebar-chat-item .chat-item-del-btn:hover{opacity:1;background:rgba(128,128,128,.12)}
@media(prefers-reduced-motion:no-preference){
 :where(button,.btn,.chat-chip,.sidebar-nav-item,.sidebar-chat-item,.m-tab){transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease,opacity .16s ease}
 :where(button,.btn,.chat-chip):active:not(:disabled){transform:scale(.98)}
 .modal-card{animation:flux-panel-in .2s cubic-bezier(.2,.75,.3,1)}
 .tab-panel.active{animation:flux-panel-in .18s ease-out}
 @media(hover:hover){.chat-chip:hover{transform:translateY(-2px);box-shadow:0 5px 18px #00000012}}
 @keyframes flux-panel-in{from{opacity:.65;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
