.vm-next .vm-tool-engagement .vm-tool-engagement__button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;padding:0;border:1px solid var(--line)!important;border-radius:12px;background:var(--surface);color:var(--muted);cursor:pointer;transition:color .18s,background .18s,border-color .18s,transform .18s}
.vm-next .vm-tool-engagement .vm-tool-engagement__button svg{width:20px;height:20px;stroke-linecap:round;stroke-linejoin:round}
.vm-next .vm-tool-engagement .vm-tool-engagement__button:hover{color:var(--accent);background:var(--accent-soft);border-color:#efb2bc!important;transform:translateY(-2px)}
.vm-next .vm-tool-engagement .vm-tool-engagement__button.is-active{color:var(--accent);background:var(--accent-soft)}
.vm-next .vm-tool-engagement .vm-tool-engagement__button:focus-visible,.vm-next #main-content .vm-tool-action:focus-visible{outline:2px solid var(--accent);outline-offset:3px;box-shadow:var(--focus-ring)}
.vm-next #main-content .tool-result-actions .vm-tool-action:focus-visible{outline-offset:-3px;box-shadow:inset 0 0 0 4px #ec33471a}
.vm-next #main-content [data-vm-action=share]{display:none!important}
.vm-next [data-vm-action=reset],.vm-next #main-content :is(button,input)[type=reset]{display:none!important}
.vm-next #main-content .tool-result-actions.tool-result-actions:not(:has(>:not([data-vm-action=reset],[data-vm-action=share],[hidden],script,style))){display:none!important}
.vm-next #main-content .vm-tool-action.vm-tool-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:8px;min-height:42px;min-width:44px;max-width:100%;padding:9px 14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);font-family:inherit;font-size:var(--text-sm);font-weight:500;line-height:1.6;text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:var(--shadow-sm);transition:background .18s,color .18s,border-color .18s,transform .18s}
.vm-next #main-content .vm-tool-action.vm-tool-action:hover{background:var(--accent-soft);color:var(--accent);border-color:#efb2bc}
.vm-next #main-content .vm-tool-action.vm-tool-action:active{transform:translateY(1px)}
.vm-next #main-content .vm-tool-action.vm-tool-action:disabled{cursor:wait;opacity:.6;transform:none}
.vm-next #main-content .vm-tool-action>:is(svg,i),.vm-next #main-content .vm-tool-action>span:has(>svg){display:none}
.vm-next #main-content .vm-tool-action::before{content:"";display:block;flex:0 0 20px;width:20px;height:20px;background:currentColor;mask:var(--vm-action-icon) center/contain no-repeat;-webkit-mask:var(--vm-action-icon) center/contain no-repeat}
.vm-next #main-content [data-vm-action=copy]{--vm-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 15H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2'/%3E%3Crect x='8' y='8' width='13' height='13' rx='3'/%3E%3Cpath d='M12 12h5m-5 4h3'/%3E%3C/svg%3E")}
.vm-next #main-content [data-vm-action=download]{--vm-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-4-4 4 4 4-4M4 16v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E")}
@media(max-width:599px){.vm-next .vm-tool-engagement{gap:6px}.vm-next .vm-tool-engagement .vm-tool-engagement__button{width:40px;min-width:40px;height:40px}.vm-next #main-content .tool-result-actions .vm-tool-action.vm-tool-action{padding:8px 10px;gap:6px}}
@media(prefers-reduced-motion:reduce){.vm-next .vm-tool-engagement .vm-tool-engagement__button,.vm-next #main-content .vm-tool-action.vm-tool-action{transition:none;transform:none}}
.vm-next .vm-tool-engagement__actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin-inline-start:auto}
