/* The client's file browser (#FeosClientFiles, feos:views/client-files). */
.feos-cfb { padding: 14px 18px 24px; }
.feos-cfb-loading, .feos-cfb-empty { padding: 40px; text-align: center; }
.feos-cfb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.feos-cfb-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.feos-cfb-eyebrow a { color: var(--feos-muted, #5b6875); }
.feos-cfb-head h1 { margin: 2px 0 0; font-size: 24px; font-weight: 700; color: var(--feos-ink, #0f1b26); }
.feos-cfb-head h1 .fa-folder-tree { color: var(--feos-accent, #0a72ba); margin-right: 6px; }
.feos-cfb-total { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 12px; font-size: 13px; vertical-align: middle;
    background: var(--feos-accent-soft, #e8f3fb); color: var(--feos-accent-dark, #075a93); }
.feos-cfb-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feos-cfb-search { width: 300px; max-width: 100%; }
.feos-cfb-tools select { width: auto; }
.feos-cfb-orig { font-weight: normal; margin: 0; white-space: nowrap; }
.feos-cfb-body { display: grid; grid-template-columns: minmax(230px, 300px) minmax(320px, 1fr) minmax(320px, 44%); gap: 14px;
    height: calc(100vh - 190px); min-height: 480px; }
.feos-cfb-tree, .feos-cfb-list, .feos-cfb-view { background: #fff; border: 1px solid var(--feos-line, #e1e7ee); border-radius: 10px;
    overflow: auto; }
.feos-cfb-tree { padding: 8px 6px; }
.feos-cfb-tree ul { list-style: none; margin: 0; padding: 0; }
.feos-cfb-tree .feos-cfb-kids { margin-left: 22px; border-left: 1px dashed var(--feos-line, #e1e7ee); padding-left: 4px; }
.feos-cfb-tree-h { margin: 10px 8px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--feos-muted, #5b6875); }
.feos-cfb-node { display: flex; align-items: flex-start; gap: 7px; padding: 6px 8px; border-radius: 7px; color: var(--feos-ink, #0f1b26);
    text-decoration: none !important; line-height: 1.3; }
.feos-cfb-node:hover { background: var(--feos-canvas, #f3f6f9); }
.feos-cfb-node.active { background: var(--feos-accent-soft, #e8f3fb); color: var(--feos-accent-dark, #075a93); font-weight: 600; }
.feos-cfb-node > .fas { margin-top: 2px; width: 14px; text-align: center; color: var(--feos-accent, #0a72ba); }
.feos-cfb-node .fa-folder, .feos-cfb-node .fa-box-archive { color: #c58a10; }
.feos-cfb-node .fa-clock-rotate-left { color: #7b8794; }
.feos-cfb-node .feos-cfb-twist { width: 10px; font-size: 10px; margin-top: 4px; color: var(--feos-muted, #5b6875); cursor: pointer; }
.feos-cfb-node-label { flex: 1; min-width: 0; word-break: break-word; }
.feos-cfb-node-label small { display: block; font-weight: normal; color: var(--feos-muted, #5b6875); font-size: 11px; }
.feos-cfb-n { min-width: 22px; padding: 0 6px; border-radius: 9px; background: var(--feos-canvas, #eef1f4); color: var(--feos-muted, #5b6875);
    font-size: 11px; text-align: center; font-weight: 600; }
.feos-cfb-st { padding: 0 5px; border-radius: 4px; font-size: 10px; background: #fff4dd; color: #8a5b00; }
.feos-cfb-st.ok { background: #e7f4ea; color: #2e7d32; }
.feos-cfb-st.off { background: #f1f2f4; color: #6b7480; }
.feos-cfb-list-head { position: sticky; top: 0; z-index: 2; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--feos-line, #e1e7ee);
    font-size: 12px; color: var(--feos-muted, #5b6875); }
.feos-cfb-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.feos-cfb-table th { position: sticky; top: 33px; z-index: 1; background: #fafbfc; padding: 6px 10px; font-size: 11px; text-transform: uppercase;
    letter-spacing: .04em; color: var(--feos-muted, #5b6875); border-bottom: 1px solid var(--feos-line, #e1e7ee); cursor: default; white-space: nowrap; }
.feos-cfb-table th[data-sort] { cursor: pointer; }
.feos-cfb-table td { padding: 7px 10px; border-bottom: 1px solid #f0f3f6; vertical-align: top; }
.feos-cfb-table tr[data-file] { cursor: pointer; outline: none; }
.feos-cfb-table tr[data-file]:hover td { background: #f7fafd; }
.feos-cfb-table tr.active td { background: var(--feos-accent-soft, #e8f3fb); }
.feos-cfb-table td small { display: block; color: var(--feos-muted, #5b6875); font-size: 11px; }
.feos-cfb-file-cell { display: flex; align-items: flex-start; gap: 6px; }
.feos-cfb-ic { width: 16px; flex: 0 0 16px; margin-top: 2px; color: #7b8794; }
.feos-cfb-ic-pdf { color: #c62828; }
.feos-cfb-ic-jpg, .feos-cfb-ic-jpeg, .feos-cfb-ic-png, .feos-cfb-ic-heic { color: #6a1b9a; }
.feos-cfb-ic-doc, .feos-cfb-ic-docx { color: #1565c0; }
.feos-cfb-ic-xls, .feos-cfb-ic-xlsx, .feos-cfb-ic-csv { color: #2e7d32; }
.feos-cfb-name { word-break: break-word; }
.feos-cfb-more { font-size: 11px; color: var(--feos-muted, #5b6875); }
.feos-cfb-auto { margin-left: 4px; color: #2e7d32; font-size: 11px; }
.feos-cfb-kind { color: var(--feos-ink, #0f1b26); }
.feos-cfb-where { color: var(--feos-muted, #5b6875); font-size: 12px; }
.feos-cfb-date { white-space: nowrap; text-align: right; }
.feos-cfb-none { padding: 30px; text-align: center; color: var(--feos-muted, #5b6875); }
.feos-cfb-view { display: flex; flex-direction: column; }
.feos-cfb-view-empty { margin: auto; text-align: center; color: var(--feos-muted, #5b6875); }
.feos-cfb-view-empty .far { font-size: 40px; margin-bottom: 8px; opacity: .5; }
.feos-cfb-view-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 12px;
    border-bottom: 1px solid var(--feos-line, #e1e7ee); }
.feos-cfb-view-title { font-weight: 600; word-break: break-word; flex: 1 1 200px; }
.feos-cfb-view-acts { display: flex; gap: 6px; }
.feos-cfb-atts { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 12px; }
.feos-cfb-frame { flex: 1 1 auto; min-height: 320px; display: flex; background: #eef1f4; }
.feos-cfb-frame > .text-muted { margin: auto; }
.feos-cfb-frame iframe { flex: 1; width: 100%; border: 0; min-height: 320px; background: #fff; }
.feos-cfb-img { flex: 1; overflow: auto; display: flex; align-items: flex-start; justify-content: center; padding: 10px; }
.feos-cfb-img img { max-width: 100%; height: auto; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); background: #fff; }
.feos-cfb-noshow { margin: auto; text-align: center; color: var(--feos-muted, #5b6875); }
.feos-cfb-noshow .fas { font-size: 38px; margin-bottom: 8px; }
.feos-cfb-facts { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0; padding: 10px 12px; font-size: 12px;
    border-top: 1px solid var(--feos-line, #e1e7ee); }
.feos-cfb-facts dt { color: var(--feos-muted, #5b6875); font-weight: normal; }
.feos-cfb-facts dd { margin: 0; word-break: break-word; }
.feos-cfb-restricted { margin-top: 10px; color: var(--feos-muted, #5b6875); }
@media (max-width: 1200px) {
    .feos-cfb-body { grid-template-columns: minmax(220px, 280px) 1fr; height: auto; }
    .feos-cfb-view { grid-column: 1 / -1; min-height: 560px; }
    .feos-cfb-tree, .feos-cfb-list { max-height: 70vh; }
}
@media (max-width: 760px) {
    .feos-cfb-body { grid-template-columns: 1fr; }
    .feos-cfb-search { width: 100%; }
    .feos-cfb-where { display: none; }
}
/* the button on the client's page and in the Documents panel */
.feos-cf-browse { margin-left: 4px; }
