@layer openui{.openui-tool-result{border:1px solid var(--openui-border-interactive);border-radius:var(--openui-radius-m);overflow:hidden;width:100%;background-color:var(--openui-foreground);transition:border-color .15s ease}.openui-tool-result:hover{border-color:var(--openui-border-interactive-emphasis)}.openui-tool-result--error{border-color:var(--openui-border-danger)}.openui-tool-result--error:hover{border-color:var(--openui-border-danger-emphasis)}.openui-tool-result__header{padding:0;border:0;background:rgba(0,0,0,0);display:flex;align-items:center;justify-content:space-between;width:100%;padding:var(--openui-space-m);cursor:pointer;background-color:rgba(0,0,0,0)}.openui-tool-result__header-left{display:flex;align-items:center;gap:var(--openui-space-xs);min-width:0}.openui-tool-result__icon--success{flex-shrink:0;color:var(--openui-text-success-primary)}.openui-tool-result__icon--error{flex-shrink:0;color:var(--openui-text-danger-primary)}.openui-tool-result__label{font:var(--openui-text-label-sm);letter-spacing:var(--openui-text-label-sm-letter-spacing);color:var(--openui-text-neutral-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.openui-tool-result__chevron{flex-shrink:0;color:var(--openui-text-neutral-secondary);transition:transform .2s ease}.openui-tool-result__chevron--expanded{transform:rotate(180deg)}.openui-tool-result__content{border-top:1px solid var(--openui-border-default);padding:var(--openui-space-s) var(--openui-space-m);background-color:rgba(0,0,0,0)}.openui-tool-result__error{font:var(--openui-text-label-sm);letter-spacing:var(--openui-text-label-sm-letter-spacing);color:var(--openui-text-danger-primary);margin-bottom:var(--openui-space-xs)}.openui-tool-result__output{font:var(--openui-text-code-sm);letter-spacing:var(--openui-text-code-sm-letter-spacing);color:var(--openui-text-neutral-secondary);margin:0;white-space:pre-wrap;word-break:break-all;max-height:250px;overflow-y:auto}
}