/* 0.10.70: Pliki serwera */
.files-places{display:flex;flex-wrap:wrap;gap:10px}
.files-place{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:170px;max-width:280px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);text-align:left;cursor:pointer;font:inherit;transition:border-color .15s,background .15s}
.files-place span{font-size:11px;color:var(--muted);line-height:1.4}
.files-place:hover:not(:disabled){border-color:var(--line-strong)}
.files-place.active{border-color:var(--lime);background:var(--lime-soft)}.files-place.active strong{color:var(--lime)}
.files-place:disabled{opacity:.45;cursor:default}
.files-warning{margin:0;border:1px solid rgba(229,169,77,.35);background:rgba(229,169,77,.08);color:var(--amber);border-radius:10px;padding:10px 14px;font-size:13px}
.files-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.files-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;flex:1 1 320px;min-width:0;font:12.5px/1.4 ui-monospace,Consolas,monospace}
.files-crumb{border:0;background:transparent;color:var(--text);padding:5px 6px;border-radius:6px;cursor:pointer;font:inherit;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.files-crumb:hover{background:var(--surface-3);color:var(--lime)}.files-crumb:last-child{color:var(--lime)}
.files-sep{color:var(--quiet)}
#filesFilter{flex:0 1 240px;min-height:34px;padding:6px 10px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--text)}
.files-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start}
.files-list-panel{padding:6px 6px 10px;min-width:0}
.files-table{width:100%;border-collapse:collapse;font-size:13px}
.files-table th{text-align:left;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);font-weight:700;padding:8px 10px;border-bottom:1px solid var(--line)}
.files-table td{padding:5px 10px;border-bottom:1px solid rgba(43,53,43,.55);vertical-align:middle}
.files-table th:first-child,.files-table td:first-child{width:30px;padding-right:0}
.files-table tr:hover td{background:rgba(255,255,255,.02)}
.files-table tr.selected td{background:var(--lime-soft)}
.files-table tr.current td{background:rgba(175,209,94,.07)}.files-table tr.current .files-open{color:var(--lime)}
.files-name{min-width:0}
.files-open{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--text);padding:4px 0;cursor:pointer;font:inherit;text-align:left;max-width:100%;overflow-wrap:anywhere}
.files-open:disabled{cursor:default;color:var(--muted)}
.files-table tr[data-type=dir] .files-open{font-weight:650}
.files-icon{display:inline-grid;place-items:center;width:20px;color:var(--muted);flex:none;font-size:12px}
tr[data-type=dir] .files-icon{color:var(--lime)}
.files-name small{display:block;color:var(--muted);font-size:11px;margin-left:29px}
.files-size,.files-date{white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.files-from{font:12px/1.4 ui-monospace,Consolas,monospace;color:var(--muted);overflow-wrap:anywhere}
.files-actions{white-space:nowrap}
.files-preview{position:static;min-width:0}
.files-preview-empty{display:grid;place-items:center;text-align:center;gap:6px;padding:48px 16px;color:var(--muted)}
.files-preview-empty span{font-size:34px;color:var(--line-strong)}
.files-file-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.files-file-head h3{margin:2px 0 4px;overflow-wrap:anywhere}
.files-note{font-size:12.5px;color:var(--amber);background:rgba(229,169,77,.07);border:1px solid rgba(229,169,77,.25);border-radius:8px;padding:8px 11px;margin:0 0 10px}
.files-content{margin:0;max-height:62vh;overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font:12.5px/1.55 ui-monospace,Consolas,monospace;white-space:pre;tab-size:4}
#filesText{width:100%;min-height:58vh;resize:vertical;background:var(--bg);color:var(--text);border:1px solid var(--lime);border-radius:10px;padding:12px 14px;font:12.5px/1.55 ui-monospace,Consolas,monospace;tab-size:4}
#filesEditor .button-row{margin-top:10px;align-items:center}
.files-view .form-error:empty{display:none}
@media(max-width:1100px){.files-grid{grid-template-columns:1fr}.files-content{max-height:50vh}}
@media(max-width:600px){.files-place{min-width:0;flex:1 1 140px}.files-date{display:none}.files-table th:nth-child(5){display:none}}
/* 0.10.71 */
.files-toolbar{flex-wrap:nowrap}
.files-search{display:flex;align-items:center;gap:8px;flex:0 1 360px;min-width:0}
.files-search #filesFilter{flex:1 1 auto;min-width:120px}
.files-deep{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap;cursor:pointer}
.files-deep input{width:auto;min-height:0;margin:0}
.files-actionbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.files-actions-left,.files-actions-right{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.files-selinfo{font-size:12px;color:var(--muted);margin-right:4px}
.files-upload-btn{cursor:pointer;display:inline-flex;align-items:center}
.files-copy{border:0;background:transparent;color:var(--muted);cursor:pointer;padding:4px 6px;border-radius:6px;font-size:13px}
.files-copy:hover{color:var(--lime);background:var(--surface-3)}
.files-progress{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:var(--surface-2);font-size:12.5px}
.files-progress i{flex:1;height:6px;border-radius:999px;background:var(--surface-3);overflow:hidden}
.files-progress b{display:block;height:100%;width:0;background:var(--lime);transition:width .2s}
.files-sort{border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;padding:0}
.files-sort:hover,.files-sort.on{color:var(--lime)}
.files-type{color:var(--muted);font-size:11.5px;white-space:nowrap}
.files-row-actions{white-space:nowrap;text-align:right;width:1%}
.files-mini{display:inline-grid;place-items:center;width:26px;height:26px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:13px;text-decoration:none;opacity:.25;transition:opacity .12s}
.files-table tr:hover .files-mini,.files-table tr:focus-within .files-mini,.files-table tr.current .files-mini{opacity:1}
.files-mini:hover{border-color:var(--line-strong);color:var(--lime)}
.files-table tr:focus-visible{outline:2px solid var(--lime);outline-offset:-2px}
.files-label{overflow-wrap:anywhere}
.files-path{display:block;margin-top:2px;border:0;background:transparent;color:var(--quiet);font:11.5px/1.4 ui-monospace,Consolas,monospace;padding:0;cursor:pointer;text-align:left;overflow-wrap:anywhere}
.files-path:hover{color:var(--lime)}
.files-drop-hint{margin:6px 10px 0;font-size:11.5px;color:var(--quiet)}
.files-list-panel.drop{outline:2px dashed var(--lime);outline-offset:-6px;background:var(--lime-soft)}
@media(max-width:700px){.files-toolbar{flex-wrap:wrap}.files-search{flex:1 1 100%}.files-type,.files-table th:nth-child(3){display:none}.files-mini{opacity:1}}
/* 0.10.73: install an update from the panel */
.files-update{margin:12px 0 0;border:1px solid rgba(175,209,94,.35);border-radius:12px;background:var(--lime-soft);padding:14px 16px}
.files-update h4{margin:2px 0 6px}
.files-update .eyebrow{margin:0}
.files-update pre{max-height:320px;overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:10px 12px;font:12px/1.5 ui-monospace,Consolas,monospace;white-space:pre-wrap;margin:8px 0}
.files-update-ok{color:var(--lime);font-size:12.5px;margin:10px 0 0}
.files-update-bad{color:#f0a29d;font-size:12.5px}
.files-update-confirm{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.files-update-confirm input{flex:0 1 220px;min-height:38px;padding:6px 10px;border-radius:8px;border:1px solid var(--line-strong);background:var(--bg);color:var(--text);font-weight:700;letter-spacing:1px}
.files-update-run{margin:0}
.files-update-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.files-update-head strong{flex:1}
.files-update-run[data-state=running] .files-update-head strong:before,.files-update-run[data-state=restarting] .files-update-head strong:before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;border:2px solid var(--lime);border-right-color:transparent;border-radius:50%;animation:files-spin 1s linear infinite;vertical-align:-1px}
.files-update-run[data-state=failed]{border-color:rgba(232,111,104,.5);background:var(--red-soft)}
@keyframes files-spin{to{transform:rotate(360deg)}}
