.ur-code-block{border:1px solid var(--border-primary,var(--ur-color-border));border-radius:16px;overflow:hidden}.ur-code-block__header{z-index:11;padding:6px var(--ur-spacing-lg);background:linear-gradient(to bottom, color-mix(in srgb, var(--background-primary) 85%, transparent) 70%, transparent);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.ur-code-block__header--file{padding-top:10px;padding-bottom:10px}.ur-code-block__header-left{flex-direction:column;gap:2px;display:flex}.ur-code-block__header-right{align-items:center;gap:4px;display:flex}.ur-code-block__filename{color:var(--text-primary,var(--ur-color-text));font-size:var(--text-subheadline-medium,var(--ur-font-size-base));font-weight:var(--text-subheadline-medium--font-weight,500);line-height:var(--text-subheadline-medium--line-height,1.4)}.ur-code-block__metadata{color:var(--text-secondary,var(--ur-color-text-secondary));font-size:var(--text-caption-1,var(--ur-font-size-sm));font-weight:var(--text-caption-1--font-weight,400);line-height:var(--text-caption-1--line-height,1.3)}.ur-code-block__content{position:relative;overflow:hidden}.ur-code-block__content--hidden{pointer-events:none;height:0;overflow:hidden}.ur-code-block .ur-code-block__content>pre{color:var(--text-primary,inherit);font-family:var(--ur-font-family-mono,monospace);white-space:pre;background:0 0;border:0;border-radius:0;margin:0;padding:0 1rem calc(.4375rem + 6px);font-size:.8125rem;line-height:1.5;overflow:hidden}.ur-code-block--v2 .ur-code-block__header{background:0 0}.ur-code-block__content--v2-collapsed .prose pre,.ur-code-block__content--v2-collapsed>pre{max-height:calc(var(--ur-code-block-v2-visible-height,5lh) + .4375rem + 6px);overflow:hidden}.ur-code-block__v2-toggle{width:100%;padding:6px var(--ur-spacing-lg) 10px;cursor:pointer;color:var(--text-secondary,var(--ur-color-text-secondary));font-family:var(--ur-font-family-mono,monospace);font-size:var(--text-caption-1,var(--ur-font-size-sm));line-height:var(--text-caption-1--line-height,1.3);background:0 0;border:none;align-items:center;gap:6px;transition:color .15s;display:flex}.ur-code-block__v2-toggle:hover{color:var(--text-primary,var(--ur-color-text))}.ur-code-block__v2-chevron{flex-shrink:0;transition:transform .2s}.ur-code-block__v2-chevron--expanded{transform:rotate(180deg)}.ur-code-block__v2-label{white-space:nowrap}@container chat-scroller (max-width:1350px){.ur-code-block{overflow:clip}.ur-code-block__header{z-index:9;margin-top:-56px;padding-top:62px;top:0}}
