.recent-item[data-chat-row]{position:relative;display:flex;align-items:center;min-height:43px;border-radius:11px;isolation:isolate;transition:background .12s ease}
.recent-item[data-chat-row]>.recent-link{flex:1;min-width:0;min-height:43px;box-sizing:border-box;padding:11px 12px;border-radius:inherit;background:transparent;color:var(--theme-text-soft,var(--text-sub));line-height:1.5;font-size:12px}
.recent-item[data-chat-row]>.recent-link .truncate{min-width:0}
.recent-item[data-chat-row]>.recent-link:hover,.recent-item[data-chat-row]>.recent-link.selected{background:transparent}
.recent-item[data-chat-row]:is(:hover,:has(:focus-visible),[data-menu-open],.selected){background:var(--theme-raised,#efefef)}
.recent-item[data-chat-row]:is(:hover,:has(:focus-visible),[data-menu-open])>.recent-link{padding-right:76px;color:var(--theme-text-secondary,var(--text-main))}
.recent-item[data-chat-row] .recent-dot{display:none}
.recent-item[data-chat-row]>.recent-actions{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:2px;margin:0;padding:0;opacity:0;pointer-events:none;transition:opacity .12s ease}
.recent-item[data-chat-row]:is(:hover,:has(:focus-visible),[data-menu-open])>.recent-actions{opacity:1;pointer-events:auto}
.recent-item[data-chat-row] .recent-actions .icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:29px;height:29px;min-height:0;padding:5px;border:0;border-radius:7px;background:transparent;color:var(--theme-text-soft,var(--text-sub));box-shadow:none}
.recent-item[data-chat-row] .recent-actions .icon-button:hover{background:var(--theme-muted-surface,#e5e5e5);color:var(--theme-text-secondary,var(--text-main))}
.recent-item[data-chat-row] .recent-actions .icon-button:focus-visible{outline:2px solid var(--focus-ring,var(--theme-accent-strong,#ae4d77));outline-offset:1px}
.recent-actions .icon{width:16px;height:16px;stroke-width:1.6}
.recent-actions .chat-more-icon{fill:currentColor;stroke:none}
.recent-pin-toggle[aria-pressed=true] .chat-pin-icon{fill:color-mix(in srgb,currentColor 16%,transparent)}
.chat-context-menu{position:fixed;z-index:180;box-sizing:border-box;width:208px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:6px;background:var(--theme-surface,#fff);color:var(--text-main,#27272a);border:1px solid var(--border-subtle,#e4e4e7);border-radius:13px;box-shadow:0 8px 28px #00000020,0 2px 7px #00000008;font-family:inherit;animation:chat-menu-appear .1s ease-out}
.chat-context-item{display:flex;align-items:center;gap:11px;width:100%;min-height:38px;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;font-family:inherit;font-size:12px;line-height:1.5;cursor:pointer}
.chat-context-item .icon{width:16px;height:16px;flex:none;stroke-width:1.65;opacity:.86}
.chat-context-item:is(:hover,:focus-visible){background:var(--theme-raised,#f3f3f4);outline:none}
.chat-context-item.danger{color:var(--theme-danger-text,#bd3447)}
.chat-context-item.danger:is(:hover,:focus-visible){background:var(--theme-danger-bg,#fff1f3)}
.chat-context-separator{height:1px;margin:5px 4px;background:var(--border-subtle,#e4e4e7)}
@keyframes chat-menu-appear{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(hover:none) and (pointer:coarse){.recent-item[data-chat-row]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:pan-y}.recent-item[data-chat-row]>.recent-actions{display:none}.recent-item[data-chat-row]:is(:hover,:has(:focus-visible),[data-menu-open])>.recent-link{padding-right:12px}.chat-context-item{min-height:44px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.recent-item[data-chat-row],.recent-item[data-chat-row]>.recent-actions,.chat-context-menu{animation:none;transition:none}}
