/* Conversation history rows in the sidebar: one line each — model icon, title,
   then the time (or the unread count); the row menu replaces the time on hover. */
.monochrome-shell .workspace-sidebar .history-row.session-card{position:relative;min-width:0;margin:0 0 1px;border:0;border-radius:var(--nav-radius)}
.monochrome-shell .workspace-sidebar .session-card .session-link{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:36px;padding:6px 8px 6px 10px;border-radius:var(--nav-radius);color:var(--nav-primary);transition:background-color .14s,color .14s}
.monochrome-shell .workspace-sidebar .session-card .session-link:hover,.monochrome-shell .workspace-sidebar .session-card:hover .session-link,.monochrome-shell .workspace-sidebar .session-card:focus-within .session-link{background:var(--nav-hover)}
.monochrome-shell .workspace-sidebar .session-card.selected .session-link{background:var(--nav-selected)}
.monochrome-shell .workspace-sidebar .session-card .session-model-icon{display:block;width:20px;height:20px;overflow:hidden;border:0;border-radius:6px;background:var(--nav-selected)}
.monochrome-shell .session-model-icon .identity-image{width:100%;height:100%;border-radius:6px;background:transparent}
.monochrome-shell .session-model-icon .identity-fallback{font-size:8px;font-weight:600;letter-spacing:-.2px;color:var(--nav-secondary)}
.monochrome-shell .session-model-icon .identity-image img{width:100%;height:100%;object-fit:cover}
.monochrome-shell .workspace-sidebar .session-card .session-copy{display:block;min-width:0;overflow:hidden;line-height:22px}
.monochrome-shell .workspace-sidebar .session-card .session-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;color:var(--nav-primary)}
/* The model's name stays in the markup for search and assistive text; the icon stands for it. */
.monochrome-shell .workspace-sidebar .session-card .session-model{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.monochrome-shell .workspace-sidebar .session-card.selected .session-title{font-weight:550}
.monochrome-shell .workspace-sidebar .session-card.unread .session-title{font-weight:550}
.monochrome-shell .workspace-sidebar .session-card .session-meta{display:flex;flex-direction:row-reverse;align-items:center;gap:6px;min-width:24px;justify-content:flex-start;line-height:1}
.monochrome-shell .session-card .session-time{font-size:12px;font-weight:400;white-space:nowrap;color:var(--nav-secondary);font-variant-numeric:tabular-nums}
.monochrome-shell .session-card .session-unread{display:grid;place-items:center;min-width:17px;height:17px;padding:0 5px;border-radius:999px;background:#5d5cde;color:#fff;font-size:10px;font-weight:600;line-height:1}
.monochrome-shell .session-card .session-pin,.monochrome-shell .session-card .session-favorite{display:inline-flex;vertical-align:-1px;margin-right:4px;color:var(--nav-secondary)}
.monochrome-shell .workspace-sidebar .session-card .session-more{position:absolute;top:50%;right:5px;width:26px;height:26px;padding:0;border-radius:7px;background:transparent;color:var(--nav-secondary);opacity:0;pointer-events:none;transform:translateY(-50%)}
.monochrome-shell .workspace-sidebar .session-card .session-more:hover{background:var(--nav-selected);color:var(--nav-primary)}
.monochrome-shell .workspace-sidebar .session-card:hover .session-more,.monochrome-shell .workspace-sidebar .session-card:focus-within .session-more{opacity:1;pointer-events:auto}
.monochrome-shell .workspace-sidebar .session-card:hover .session-meta,.monochrome-shell .workspace-sidebar .session-card:focus-within .session-meta{visibility:hidden}
.monochrome-shell .workspace-sidebar .session-card .session-link:focus-visible{outline:2px solid var(--nav-focus);outline-offset:-2px}
@media(hover:none){
 .monochrome-shell .workspace-sidebar .session-card .session-link{min-height:42px;padding-right:38px}
 .monochrome-shell .workspace-sidebar .session-card .session-more{opacity:1;pointer-events:auto}
 .monochrome-shell .workspace-sidebar .session-card:hover .session-meta,.monochrome-shell .workspace-sidebar .session-card:focus-within .session-meta{visibility:visible}
 .monochrome-shell .workspace-sidebar .session-card .session-time{display:none}
}
