.fm{overflow:hidden;margin-top:20px;border:1px solid #dce4ef}.fm-heading{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.fm-heading h2{margin:0 0 6px}.fm-heading p{margin:0;font-size:14px;color:#64748b}.fm-heading p span{padding:0 7px}.fm-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:12px 20px;border-block:1px solid #e2e8f0;background:#f8fafc}.fm .btn{padding:8px 12px;font-size:13px;border-radius:6px;min-height:36px}.fm .btn:disabled{opacity:.42;cursor:not-allowed}.fm-location{display:flex;align-items:center;gap:10px;padding:12px 20px;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}.fm-navigation{display:flex;gap:5px}.fm-breadcrumbs{display:flex;align-items:center;flex:1;flex-wrap:wrap;gap:3px;min-width:150px}.fm-breadcrumbs .btn{border:0;background:transparent;color:#2563eb}.fm-layout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:450px}.fm-sidebar{position:static!important;width:auto!important;height:auto!important;display:block!important;padding:20px 14px;border-right:1px solid #e2e8f0;background:#f8fafc;overflow:auto}.fm-sidebar label{font-size:13px;font-weight:600}.fm-sidebar select{width:100%;margin:8px 0 15px;padding:9px;border:1px solid #d5dfec;background:white;border-radius:6px}.fm-sidebar h3{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.fm-treeitem{display:block;width:100%;text-align:left;padding:9px 8px 9px calc(8px + var(--depth)*12px);border:0;background:none;border-radius:6px;color:#334155;font-size:13px;overflow-wrap:anywhere}.fm-treeitem span{color:#e0a534}.fm-treeitem.active{background:#e8efff;color:#1d4ed8;font-weight:600}.fm-content{min-width:0}.fm-options{display:flex;align-items:center;gap:12px;padding:14px 16px;flex-wrap:wrap}.fm-filter{display:flex;align-items:center;gap:8px;flex:1;font-size:13px;min-width:190px}.fm-filter input{width:100%;padding:9px 12px;border:1px solid #d5dfec;border-radius:6px}.fm-hidden{display:flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}.fm input[type=checkbox]{width:16px;height:16px;accent-color:#2563eb}.fm-tablewrap{overflow:auto;min-height:300px}.fm-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}.fm-table th{background:#f8fafc;color:#64748b;font-weight:600;text-align:left;border-block:1px solid #e2e8f0;padding:10px 12px}.fm-table th .btn{padding:0;border:0;min-height:24px;background:transparent;color:#475569}.fm-table td{border-bottom:1px solid #edf1f6;padding:9px 12px;max-width:360px;overflow:hidden;text-overflow:ellipsis}.fm-table tr:hover{background:#f8faff}.fm-table tr.is-selected{background:#eaf1ff}.fm-filename{border:0;padding:4px 0;background:transparent;display:flex;align-items:center;gap:9px;color:#243349;max-width:100%;font-size:14px;text-align:left}.fm-fileicon{font-size:19px;color:#8ca0b8}.fm-fileicon.folder{color:#dca136}.fm-empty{height:180px;text-align:center;color:#64748b;white-space:normal}.fm-status{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e2e8f0;font-size:13px;color:#64748b;gap:10px;flex-wrap:wrap}.fm-footnote{padding:14px 22px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:12px;line-height:1.7;color:#64748b}.fm-report{margin:12px 16px;max-height:150px;overflow:auto;white-space:pre-wrap;font-size:13px;color:#334155}.fm-dialog{width:min(1100px,95vw)!important;max-width:1100px!important}.fm-editor{font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;min-height:55vh!important;line-height:1.6!important;font-size:14px!important;tab-size:4;white-space:pre;overflow:auto;resize:vertical}.fm-editorbar{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px;color:#64748b;font-size:13px}.fm-preview,.fm-selection{max-height:60vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.fm-searchresult{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #e2e8f0;padding:8px;overflow-wrap:anywhere}.fm-searchresult span{min-width:0}.fm-editorlabel{display:block} @media(max-width:1050px){.fm-layout{grid-template-columns:190px minmax(0,1fr)}.fm-options{gap:8px}.fm-heading{padding:18px}}@media(max-width:700px){.fm-layout{grid-template-columns:1fr}.fm-sidebar{border-right:0;border-bottom:1px solid #e2e8f0;max-height:190px}.fm-sidebar h3,.fm-sidebar .help{display:none}.fm-tree{display:flex;overflow:auto;gap:5px}.fm-treeitem{width:auto;min-width:max-content;padding:8px}.fm-sidebar select{margin:5px 0}.fm-heading{align-items:flex-start}.fm-heading p{font-size:12px;line-height:1.7}.fm-toolbar,.fm-location{padding:10px}.fm-toolbar .btn{flex:1 0 auto}.fm-heading h2{font-size:22px}.fm-options{padding:10px}.fm-table td{padding:8px 10px}.fm-breadcrumbs{order:3;flex-basis:100%}.fm-footnote{padding:12px}.fm-editorbar{flex-direction:column}}
/* The explorer folder pane is independent of the main mobile navigation. */
.fm-sidebar{transform:none!important;transition:none!important;color:#334155;z-index:auto!important;box-shadow:none!important}

/* Explicit sizing: modal labels do not inherit the main panel form layout. */
#dialog.fm-dialog #modalBody{display:block;min-width:0}
#dialog.fm-dialog .fm-editorlabel{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0}
#dialog.fm-dialog textarea.fm-editor{display:block;box-sizing:border-box;width:100%!important;max-width:100%;height:55vh;min-height:250px;padding:16px;border:1px solid #d5dfec;border-radius:8px;background:#0f172a;color:#e2e8f0;resize:vertical;overflow:auto}
#dialog.fm-dialog .modalhead h2{overflow-wrap:anywhere;min-width:0}
@media(max-width:700px){#dialog.fm-dialog textarea.fm-editor{height:50vh;font-size:13px!important;padding:12px}#dialog.fm-dialog .modalhead h2{font-size:18px}}

.fm-pathpanel{padding:16px 24px;background:#f7faff;border-block:1px solid #e1e9f4;display:grid;gap:12px}.fm-pathcontext{display:flex;gap:12px;flex-wrap:wrap;color:#49617d;font-size:13px}.fm-pathcontext strong{color:#15385d}.fm-pathrow{display:flex;gap:12px;align-items:center;justify-content:space-between}.fm-pathrow>div{min-width:0}.fm-pathrow span{display:block;color:#5c718a;font-size:12px;margin-bottom:5px}.fm-pathpanel code{display:block;overflow-wrap:anywhere;white-space:normal;font-size:14px;color:#16395f;user-select:text}.fm-pathpanel details{font-size:12px;color:#5c718a}.fm-pathpanel details p{margin:8px 0}.fm-pathpanel summary{cursor:pointer}@media(max-width:700px){.fm-pathpanel{padding:14px}.fm-pathrow{align-items:flex-start;flex-wrap:wrap}.fm-pathcontext{gap:8px}.fm-pathrow button{min-height:40px}}

.fm-addressbar{display:flex;gap:10px;align-items:center;padding:12px 24px;border-bottom:1px solid #e1e9f4;background:#fff}.fm-addressbar label{font-size:13px;white-space:nowrap}.fm-addressbar input{flex:1;min-width:100px;border:1px solid #d5dfec;border-radius:6px;padding:10px 12px;font-family:monospace;font-size:14px}.fm-toolbar .btn{border-radius:6px}.fm-table th{background:#f7f9fc}.fm-sidebar{background:#f8fafc}@media(max-width:700px){.fm-addressbar{padding:12px;flex-wrap:wrap}.fm-addressbar input{width:100%;flex-basis:65%}}

.navgroup{padding:18px 16px 6px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#718298}
