.post-change-source { display:grid; gap:4px; min-width:0; font-size:12px; }
.post-change-source-field { font-weight:600; }
.post-change-source-trigger, .post-change-source-option {
  display:flex; align-items:center; gap:8px; padding:6px 8px; min-width:0;
  color:var(--ink); text-align:start; cursor:pointer;
}
.post-change-source-trigger {
  justify-content:space-between; width:100%; min-height:36px;
  border:1px solid var(--line); border-radius:5px; background:var(--input);
}
.post-change-source-trigger:focus-visible, .post-change-source-clear:focus-visible { outline:2px solid var(--focus); outline-offset:1px; }
.post-change-source-trigger[aria-expanded="true"] > svg { transform:rotate(180deg); }
.post-change-source-trigger > svg, .post-change-source-option > svg { flex:none; }
.post-change-source-value { display:flex; align-items:center; gap:8px; min-width:0; }
.post-change-source-panel { border:1px solid var(--line); border-radius:5px; background:var(--surface-muted); }
.post-change-source-search { display:flex; align-items:center; gap:6px; padding:6px 8px; color:var(--muted); }
.post-change-source-search input { flex:1; width:100%; }
.post-change-source-list { max-height:min(30dvh, 270px); overflow:auto; overscroll-behavior:contain; }
.post-change-source-group {
  padding:5px 8px; border-block:1px solid var(--line); background:var(--surface);
  color:var(--muted); font-size:11px; font-weight:650;
}
.post-change-source-option { min-height:42px; border-block-end:1px solid var(--line); }
.post-change-source-option:hover, .post-change-source-option[data-active="true"] { background:var(--surface-raised); }
.post-change-source-option[aria-selected="true"] { background:var(--blue-soft); }
.post-change-source-option[data-active="true"] { outline:1px solid var(--focus); outline-offset:-1px; }
.post-change-source-option > svg:last-child { margin-inline-start:auto; }
.post-change-source-icon[data-kind="folder"] { color:var(--blue); }
.post-change-source-icon[data-kind="channel"] { color:var(--teal); }
.post-change-source-text { display:grid; gap:2px; min-width:0; overflow-wrap:anywhere; }
.post-change-source-text small { font-size:11px; color:var(--muted); }
.post-change-source-name { display:flex; align-items:baseline; gap:5px; }
.post-change-source-code { flex:none; padding:1px 4px; border-radius:3px; background:var(--blue-soft); color:var(--blue); font-size:11px; }
.post-change-source-icon[data-kind="channel"] + .post-change-source-text .post-change-source-code { background:var(--teal-soft); color:var(--teal); }
.post-change-source-empty { margin:0; padding:8px; color:var(--muted); }
.post-change-source-clear { color:var(--muted); background:none; border:0; padding:6px 8px; min-height:32px; cursor:pointer; }
