.file-transfer-panel { position:fixed; right:16px; bottom:16px; width:420px; max-width:calc(100vw - 24px); z-index:150; padding:16px; background:#fff; border:1px solid #bdccc3; border-radius:6px; box-shadow:0 8px 32px #17251c30; display:grid; gap:10px; }
.file-transfer-panel[hidden] { display:none; }
.file-transfer-panel header,.file-transfer-panel footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0; }
.file-transfer-panel [data-ft-route],.file-transfer-panel [data-ft-name],.file-transfer-panel p { overflow-wrap:anywhere; font-size:13px; }
.file-transfer-panel progress { width:100%; height:10px; accent-color:var(--primary); }
.file-transfer-panel pre { max-height:130px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; font:12px/1.5 system-ui,sans-serif; color:#a42b22; margin:0; }
.file-transfer-panel footer { font-size:12px; color:var(--muted); }
.file-destination-dialog { width:620px; max-width:calc(100vw - 24px); max-height:90dvh; border:1px solid #b9cbbf; border-radius:6px; padding:18px; }
.file-destination-dialog::backdrop { background:#15251c77; }
.file-destination-dialog header,.file-destination-dialog footer { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; margin:0 0 14px; }
.file-destination-dialog h2 { font-size:20px; }
.file-destination-dialog .icon-only,.file-transfer-panel .icon-only { display:grid; place-items:center; width:34px; height:34px; min-width:34px; padding:0; }
.file-destination-dialog nav { font-size:13px; overflow-wrap:anywhere; padding:12px 0; }
.file-destination-dialog [data-error] { padding:10px 0; font-size:13px; }
.file-destination-list { display:grid; gap:4px; max-height:40dvh; overflow:auto; }
.file-destination-list button { display:flex; align-items:center; gap:10px; text-align:left; border-radius:3px; }
.file-destination-list button span { color:inherit; overflow-wrap:anywhere; }
.file-destination-dialog svg,.file-transfer-panel svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2; flex-shrink:0; }
@media(max-width:600px){.file-transfer-panel{bottom:8px;right:12px;padding:12px}.file-destination-dialog footer button{flex:1}.file-transfer-panel strong{font-size:14px}}
