.fm-workspace{background:var(--white,#fff);border:1px solid var(--line,#e2e8f0);border-radius:16px;overflow:hidden}.fm-mode{display:flex;align-items:center;gap:6px;flex-shrink:0}.fm-mode>span{margin-right:8px}.fm-toolbar{display:flex;align-items:center;gap:3px;padding:10px 12px;border-bottom:1px solid var(--line,#e2e8f0);overflow-x:auto;white-space:nowrap}.fm-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;border:0;background:transparent;color:var(--ink,#1e293b);border-radius:7px;padding:9px;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer}.fm-action:hover{background:var(--bg,#f4f7fb)}.fm-action .icon{width:16px;height:16px}.fm-action:disabled{opacity:.38;cursor:default}.fm-action[hidden]{display:none}.fm-action.fm-group-start{margin-left:7px;border-left:1px solid var(--line,#e2e8f0);border-radius:0 7px 7px 0;padding-left:14px}.fm-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:530px}.fm-tree{border-right:1px solid var(--line,#e2e8f0);background:var(--bg,#f8fafc);overflow:auto;max-height:720px;padding:18px 0}.fm-tree h2{font-size:11px;text-transform:uppercase;letter-spacing:.08em;padding:0 18px;margin:0 0 15px;color:var(--muted,#64748b)}.fm-tree-row{display:flex;align-items:center;min-height:34px}.fm-tree-row.active{background:var(--soft,#eaf1ff);color:var(--accent,#2563eb)}.fm-tree-link,.fm-tree-toggle{border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.fm-tree-toggle{padding:6px;width:25px;flex-shrink:0}.fm-tree-link{display:flex;align-items:center;gap:7px;padding:8px 10px 8px 0;white-space:nowrap;font-size:12px}.fm-tree-link .icon{width:16px;height:16px;flex-shrink:0}.fm-main{min-width:0}.fm-location{display:flex;align-items:center;gap:8px;padding:14px 18px;border-bottom:1px solid var(--line,#e2e8f0)}.fm-location input{min-width:0;flex:1;padding:8px;border:1px solid var(--line,#e2e8f0);border-radius:6px;background:var(--white,#fff);color:var(--ink,#1e293b);font-family:ui-monospace,monospace;font-size:12px}.fm-home-label{font-size:12px;white-space:nowrap;color:var(--muted,#64748b)}.fm-filter{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:10px 18px}.fm-filter input{width:220px;max-width:65%;padding:8px 10px;border:1px solid var(--line,#e2e8f0);border-radius:7px;background:var(--white,#fff);color:inherit;font-size:12px}.fm-filter span{font-size:12px;white-space:nowrap}.fm-listing{overflow:auto;max-height:520px;min-height:280px}.fm-listing table{width:100%;border-collapse:collapse;font-size:12px}.fm-listing th{position:sticky;top:0;background:var(--bg,#f8fafc);z-index:1}.fm-listing td,.fm-listing th{padding:10px 12px;border-bottom:1px solid var(--line,#e2e8f0);white-space:nowrap}.fm-listing th:first-child,.fm-listing td:first-child{width:35px;text-align:center;padding-right:4px}.fm-listing tr.selected{background:var(--soft,#eaf1ff)}.fm-listing input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent,#2563eb)}.fm-file-link{display:flex;align-items:center;gap:9px;background:transparent;border:0;padding:0;color:var(--ink,#1e293b);font:inherit;font-weight:500;cursor:pointer;text-align:left}.fm-file-link .icon{width:18px;height:18px;color:var(--accent,#2563eb);flex-shrink:0}.fm-file-link:hover{text-decoration:underline}.fm-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:14px 18px;font-size:12px}.fm-pager>span{margin-right:auto;color:var(--muted,#64748b)}.fm-pager button{font-size:12px;padding:7px 11px}.fm-status{padding:0 18px 14px;margin:0;font-size:11px;color:var(--muted,#64748b)}.fm-dialog{width:min(600px,calc(100vw - 40px));max-height:85vh;overflow:auto;border:1px solid var(--line,#e2e8f0);border-radius:16px;background:var(--white,#fff);color:var(--ink,#1e293b);padding:24px;box-shadow:0 28px 90px #0003}.fm-dialog::backdrop{background:#0f172a77;backdrop-filter:blur(3px)}.fm-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.fm-dialog h2{font-size:20px;margin:0}.fm-dialog>p{font-size:13px;line-height:1.6}.fm-dialog .form-status{white-space:pre-wrap;overflow-wrap:anywhere}.fm-editor-dialog{width:min(1100px,calc(100vw - 40px))}.fm-editor-dialog textarea{font-family:ui-monospace,monospace;tab-size:4;white-space:pre;min-height:360px}.fm-archive-preview{max-height:200px;overflow:auto;padding:12px;background:var(--bg,#f8fafc);border-radius:8px;font:12px/1.8 ui-monospace,monospace}.fm-permissions{display:grid;grid-template-columns:1.4fr repeat(3,1fr);align-items:center;gap:14px;padding:16px;border:1px solid var(--line,#e2e8f0);border-radius:9px;font-size:12px}.fm-permissions input{width:18px;height:18px}.fm-mode button{font-size:12px;padding:8px 13px}@media(max-width:1050px){.fm-layout{grid-template-columns:170px minmax(0,1fr)}.fm-location{padding:12px}.fm-home-label{display:none}}@media(max-width:700px){.fm-layout{grid-template-columns:1fr}.fm-tree{max-height:170px;border-right:0;border-bottom:1px solid var(--line,#e2e8f0)}.fm-mode>span{display:none}.fm-location{gap:5px}.fm-filter{padding:10px}.fm-pager{padding:12px}.fm-dialog{padding:18px}}

.fm-toolbar{gap:1px;padding:10px 8px}.fm-action{gap:4px;padding:8px 6px;font-size:11px}.fm-action.fm-group-start{margin-left:3px;padding-left:9px}.fm-action .icon{width:15px;height:15px}.fm-trash-link{display:inline-block;margin:0 18px 12px;font-size:12px;color:var(--accent);text-decoration:none}.fm-trash-link:hover{text-decoration:underline}
.trash-restore{display:grid;gap:.85rem;min-width:0}.trash-restore p{margin:0}.trash-restore code,.trash-restore li{overflow-wrap:anywhere;white-space:normal}.trash-restore .checkbox-label{display:flex;gap:.6rem;align-items:center}.trash-restore input[type=checkbox]{width:1.1rem;height:1.1rem;flex:none}.trash-restore>.inline-actions{display:flex;gap:.6rem;flex-wrap:wrap}.trash-restore button{min-height:2.75rem}.trash-restore>button{justify-self:start}
.fm-destination-tree{grid-column:1/-1;max-height:min(40dvh,22rem);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:8px;padding:.3rem;min-width:0}
.fm-destination-tree .fm-tree-row{display:flex;align-items:center;min-height:32px}
.fm-destination-tree .fm-tree-link{text-align:start;min-width:0;overflow-wrap:anywhere}
.fm-destination-tree .active,.fm-drop-target{background:var(--accent-soft,var(--paper));outline:2px solid var(--accent);outline-offset:-2px}
.fm-archive-details{grid-column:1/-1}.fm-archive-details summary{cursor:pointer;color:var(--accent);padding:.5rem 0}
@media(pointer:coarse){.fm-destination-tree .fm-tree-toggle,.fm-destination-tree .fm-tree-link{min-height:44px}.fm-destination-tree .fm-tree-toggle{min-width:44px}}
.recovery-preview .recovery-code{display:grid;grid-template-columns:max-content minmax(max-content,1fr);max-height:45vh;overflow:auto;background:var(--white)}
.recovery-preview .recovery-code>pre{margin:0;padding:.5rem .75rem;border:0;max-height:none;overflow:visible;white-space:pre;overflow-wrap:normal;font:14px/22px ui-monospace,Consolas,monospace}
.recovery-preview .recovery-code>pre:first-child{position:sticky;left:0;min-width:3ch;text-align:end;user-select:none;pointer-events:none;background:var(--bg);color:var(--muted);border-right:1px solid var(--line)}
.recovery-restore-status:empty{display:none}
.recovery-restore-status:not(:empty){padding:.7rem 1rem;background:var(--soft);color:var(--ink);overflow-wrap:anywhere}
.fm-dialog ul.fm-archive-preview{padding-inline-start:2rem;overflow-wrap:anywhere}
