.skills-picker{width:min(520px,calc(100vw - 32px));max-height:80dvh;padding:20px;border:1px solid var(--border,#e5e5e5);border-radius:20px}
.skills-picker input{box-sizing:border-box;width:100%;padding:12px;border-radius:10px;border:1px solid var(--border,#ddd);font:inherit}
.skills-picker [role=status]{white-space:pre-line;font-size:13px;color:var(--muted,#666)}
.skill-options{display:flex;flex-direction:column;gap:4px}
.skill-option{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;padding:12px;background:transparent;border:0;border-radius:12px;color:inherit;font:inherit}
.skill-option small{font-size:13px;color:var(--muted,#666);line-height:1.45}
.skill-option[aria-pressed=true]{background:#edf3ff;box-shadow:inset 0 0 0 1px #b9ceff}
.skill-chips{display:flex;overflow-x:auto;gap:8px;padding:4px 0 8px}
.skill-chips:empty{display:none}
.skill-chips button,.skill-chips .skill-chip{flex-shrink:0;border:0;border-radius:999px;background:#edf3ff;color:#326cce;padding:8px 12px;font:inherit;font-size:13px}
@media(prefers-color-scheme:dark){.skill-option[aria-pressed=true],.skill-chips button,.skill-chips .skill-chip{background:#172c46;color:#8ebaff}}
carryon-composer{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.5em;max-height:10em;overflow-y:auto;outline:none;font:inherit;line-height:1.5;color:inherit;cursor:text}
carryon-composer > [contenteditable]:empty::before{content:attr(data-placeholder);color:var(--subtle,#777);pointer-events:none}
carryon-composer[disabled]{cursor:default;opacity:.65}
.inline-reference{color:#2f89e7;white-space:nowrap;border-radius:4px}

carryon-composer > [contenteditable]{min-height:1.5em;outline:none;}

.inline-reference svg,.inline-reference img{display:inline-block;width:1em;height:1em;margin-right:.3em;vertical-align:-.12em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.reference-title{display:flex;align-items:center;gap:10px}.reference-title img,.reference-title svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.project-files-picker button{min-height:44px;min-width:44px}
.project-files-picker .skill-option{overflow-wrap:anywhere}
#file-references button{min-height:44px}

.upload-previews{display:flex;flex-wrap:wrap;gap:6px;padding:4px 0;min-width:0}.upload-previews[hidden]{display:none}.upload-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:10px;padding:5px 8px;font-size:13px;background:color-mix(in srgb,currentColor 4%,transparent)}.upload-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.upload-chip button{flex:none;background:transparent;color:inherit;border:0;min-height:28px;min-width:28px;padding:2px 4px;font-size:13px}.upload-chip[data-state=error]{color:#b34d3e}
