/* Current demo import controls. Historical previews retain their original assets. */
.demo-record-state{margin:.6rem 0 0;padding:12px 14px;border:1px solid var(--brand-border);border-radius:10px;background:var(--brand-warm);color:var(--navy);font-size:.85rem;line-height:1.55}
.demo-file-list{list-style:none;margin:.6rem 0 0;padding:0;display:grid;gap:6px}
.demo-file-list[hidden],.demo-record-state[hidden],.demo-import-notes[hidden]{display:none}
.demo-file-list li{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--rule);padding:5px 0;font-size:.78rem;line-height:1.45}
.demo-file-list li>span{flex:1;min-width:0;overflow-wrap:anywhere}
.demo-remove-file{flex:none;font:inherit;color:var(--navy);background:var(--brand-warm);border:1px solid var(--brand-border);border-radius:8px;min-height:44px;padding:8px 10px;cursor:pointer}
.demo-remove-file:hover{border-color:var(--gold)}
.demo-import-notes{margin-top:12px;padding:14px;background:var(--brand-warm);border:1px solid var(--gold);border-radius:10px;font-size:.8rem;line-height:1.6;color:var(--navy);overflow-wrap:anywhere}
.demo-import-notes ul{padding-left:18px;margin:8px 0 0;max-height:240px;overflow-y:auto}
.btn-file[aria-disabled=true],#demo-run:disabled{opacity:.6;cursor:wait}
.demo-file-status,.is-error{overflow-wrap:anywhere}

.cl-body,.tlx-body,#demo-textarea{font-family:Inter,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
