.msp {
position: relative;
display: flex;
align-items: center;
gap: 6px;
flex: 1;
min-width: 220px;
}
.msp-label {
color: var(--muted);
font-size: 12px;
white-space: nowrap;
flex-shrink: 0;
}
.msp-control {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 4px;
flex: 1;
min-height: 30px;
padding: 3px 6px;
background: var(--surface2);
border: 1px solid var(--border);
border-radius: var(--radius);
cursor: text;
}
.msp-control.open {
border-color: var(--accent);
outline: 1px solid var(--accent);
}
.msp-chip {
display: inline-flex;
align-items: center;
gap: 3px;
background: var(--accent);
color: #0d1117;
border-radius: 10px;
padding: 2px 4px 2px 10px;
font-size: 12px;
font-weight: 600;
font-family: inherit;
}
.msp-chip.tool {
background: #238636;
color: #fff;
}
.msp-chip.model {
background: #8957e5;
color: #fff;
}
.msp-chip-x {
background: rgba(0, 0, 0, 0.2);
color: inherit;
border: none;
border-radius: 50%;
width: 16px;
height: 16px;
font-size: 12px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
.msp-chip-x:hover {
background: rgba(0, 0, 0, 0.35);
}
.msp-input {
flex: 1;
min-width: 100px;
background: transparent;
border: none;
outline: none;
color: var(--text);
font-size: 13px;
font-family: inherit;
padding: 3px 4px;
}
.msp-dropdown {
position: absolute;
top: calc(100% + 4px);
left: 0;
right: 0;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
max-height: 280px;
overflow-y: auto;
z-index: 20;
}
.msp-option {
display: flex;
width: 100%;
align-items: center;
justify-content: space-between;
gap: 8px;
background: none;
color: var(--text);
border: none;
padding: 7px 12px;
font-size: 13px;
font-family: inherit;
cursor: pointer;
text-align: left;
border-bottom: 1px solid var(--border);
}
.msp-option:last-child {
border-bottom: none;
}
.msp-option:hover {
background: var(--surface2);
}
.msp-option-label {
color: var(--text);
}
.msp-option-hint {
color: var(--muted);
font-size: 11px;
font-family: "JetBrains Mono", monospace;
}