.recent-project-row{display:flex;align-items:center;position:relative;gap:2px;padding-right:4px}
.recent-project-row>.recent-project-link{flex:1;min-width:0;width:auto;padding-right:6px}
.recent-project-menu-button{flex:0 0 27px;display:grid;place-items:center;width:27px;height:30px;border-radius:6px;font-size:20px;color:var(--muted)}
.recent-project-menu-button:hover,.recent-project-menu-button[aria-expanded=true]{color:var(--heading);background:var(--surface-alt)}
.recent-project-menu-items{position:fixed;width:160px;padding:5px;border:1px solid var(--border);background:var(--surface);box-shadow:0 8px 24px #0002;border-radius:9px;z-index:120}
.recent-project-menu-items>button{display:block;width:100%;border:0;border-radius:5px;background:transparent;color:var(--text);text-align:left;padding:9px 12px;font:inherit;font-size:13px;cursor:pointer}
.recent-project-menu-items>button:hover{background:var(--surface-alt)}
.recent-project-menu-items>button:disabled{opacity:.4;cursor:default}
.recent-action-error{margin:4px 10px;font-size:12px}
.attachment-mentions{border:1px solid var(--border);border-radius:10px;background:var(--surface);margin:4px 0 10px;box-shadow:0 5px 18px #0000000a;overflow:hidden}
.attachment-mentions-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid var(--border);font-size:12px}
.attachment-mentions-heading small{color:var(--muted);font-size:11px}
.attachment-mentions-list{max-height:min(220px,26dvh);overflow-y:auto;scrollbar-width:thin}
.attachment-mentions-list>button{display:flex;align-items:center;gap:9px;width:100%;border:0;padding:10px 12px;background:transparent;color:var(--text);font:inherit;font-size:13px;text-align:left;cursor:pointer}
.attachment-mentions-list>button.active{background:var(--primary-soft)}
.attachment-mentions-list>button.unavailable{color:var(--muted)}
.attachment-mention-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attachment-mentions-list small{color:var(--muted);font-size:11px;flex-shrink:0}
.attachment-mentions-list>p{margin:0;padding:18px 12px;font-size:12px;color:var(--muted)}
.provider-group-target{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);max-width:100%}
.provider-group-target select{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:6px;max-width:190px;min-height:32px;padding:5px 8px;font:inherit}
.key-groups-list{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:9px}
.key-group-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}
.key-group-row+.key-group-row{border-top:1px solid var(--border)}
.key-group-row>div:first-child{min-width:0;overflow-wrap:anywhere}
.key-group-row b{font-size:13px;font-weight:500}
.key-group-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.key-group-editor{padding:15px;border:1px solid var(--border);border-radius:9px;background:var(--surface-alt)}
.key-group-editor h3{margin:0;font-size:14px}
.key-groups-manager .checkbox-row{display:flex;flex-direction:row;align-items:center;gap:8px}
.key-groups-manager .checkbox-row input{width:auto;min-height:0}
.key-groups-manager .row-actions{flex-shrink:0}
.member-actions{flex-wrap:wrap;min-width:145px}
.model-rank input{font-variant-numeric:tabular-nums}
@media(max-width:640px){.attachment-mentions-heading{align-items:flex-start;flex-direction:column;gap:3px}.attachment-mentions-heading small{font-size:10px}.attachment-mentions-list small{max-width:110px;white-space:normal}.provider-group-target{flex-basis:100%}.provider-group-target select{max-width:calc(100% - 65px);flex:1}.key-group-row{padding:11px;gap:6px}}

.model-order-help>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}.model-sort-actions{display:flex;gap:7px;flex-shrink:0}
@media(max-width:640px){
 .workflow-chat .composer-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}
 .workflow-chat .composer-tools>.composer-label{grid-column:1;grid-row:2;min-width:0}
 .workflow-chat .composer-label>div{display:flex;flex-wrap:wrap}
 .workflow-chat .composer-tools>.composer-options{grid-column:2;grid-row:2}
 .workflow-chat .composer-toolbar>.composer-actions,.workflow-chat .composer-toolbar:not(:has(.composer-options))>.composer-actions{grid-column:1/-1;grid-row:3;min-width:0;width:100%}
 .workflow-chat .composer-actions>.model-choice{min-width:0;max-width:none;flex:1}
}
