.root { display: flex; flex-direction: column; min-height: 0; height: 100%; } .list { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 0; } /* Focused programmatically for keyboard nav / aria-activedescendant; selection is shown by the roving row highlight, so suppress the container outline. */ .list:focus { outline: none; } .item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; width: calc(100% - 16px); margin: 1px 8px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: var(--foreground); font: inherit; text-align: left; cursor: pointer; } /* Roving cursor (keyboard/hover position) — a plain gray highlight, matching the other list dialogs. */ .item:hover, .itemCursor { background: var(--secondary); } /* Confirmed selection: stronger than the cursor — a left accent bar plus a blue title, so the chosen row stays distinguishable from the row merely under the cursor (which only gets the gray background). */ .itemSelected::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 60%; width: 3px; border-radius: 0 3px 3px 0; background: var(--agent-blue-500, #4a9eff); } .itemSelected .prompt { color: var(--agent-blue-500, #4a9eff); font-weight: 600; } /* Keyboard mode: the pointer yields to the keyboard, so a cursor resting on a row must not paint the hover highlight — only the keyboard cursor row does. */ .keyboardOnly .item:hover { background: transparent; } .keyboardOnly .itemCursor:hover, .keyboardOnly .itemCursor { background: var(--secondary); } .itemDisabled { cursor: default; opacity: 0.6; } .prompt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--foreground); font-size: 13px; } .turn { color: var(--agent-blue-500); font-weight: 500; } .time { color: var(--muted-foreground); font-size: 12px; white-space: nowrap; } .footer { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 10px 8px 0; } /* Inline failure text: toasts can be deduplicated by the app shell, so the dialog must show the error itself (mirrors delete/release's message hint). */ .footerMessage { margin-right: auto; color: var(--error-color); font-size: 12px; } .dangerButton { border-color: var(--error-color); color: var(--error-color); }