/* Folder Shortcuts -- read-only server folder viewer (Story 2141). Single-pane: the tree and the
   browse listing share one column, so there is never an empty detail pane. */

body { background: #F2F2F4; margin: 0; }

.fs-shell { display: flex; flex-direction: column; min-height: 100vh; }

/* ===== Header ===== */
.fs-header {
    background: #3C3C3C; color: #fff;
    padding: 10px 16px;
    display: flex; align-items: center; gap: 12px;
    flex: 0 0 auto;
}
.fs-header h1 { margin: 0; font-size: 14pt; font-weight: 600; flex: 1; }
.fs-back {
    background: transparent; color: #fff;
    border: 1px solid #6A6A6A; border-radius: 3px;
    padding: 4px 12px; text-decoration: none; font: inherit;
}
.fs-back:hover { background: #5A5A5A; }

.fs-subhead {
    padding: 10px 16px; font-size: 9.5pt; color: #5A5A5A;
    background: #F8F9FA; border-bottom: 1px solid #E6E6E8;
}

.fs-main { flex: 1 1 auto; padding: 8px 0 32px; }

/* ===== Breadcrumb ===== */
.fs-crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
    padding: 10px 16px; font-size: 10pt;
    border-bottom: 1px solid #E6E6E8; background: #fff;
}
.fs-crumb {
    background: none; border: none; padding: 2px 4px;
    color: #0A66C2; cursor: pointer; font: inherit;
}
.fs-crumb:hover { text-decoration: underline; }
.fs-crumb-current { color: #111; cursor: default; font-weight: 600; }
.fs-crumb-current:hover { text-decoration: none; }
.fs-crumb-sep { color: #9A9A9A; }

/* ===== Rows (tree + browse share these) ===== */
.fs-row {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #EEE;
    cursor: pointer; background: #fff;
    width: 100%; box-sizing: border-box; text-align: left;
    font: inherit; color: #111;
}
.fs-row:hover { background: #ECF4FD; }
.fs-row-icon { flex: 0 0 auto; width: 20px; text-align: center; }
.fs-row-label { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-row-meta { flex: 0 0 auto; color: #8A8A8A; font-size: 8.5pt; }

/* Tree groups */
.fs-group-header {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 16px; cursor: pointer; background: #F8F9FA;
    border-bottom: 1px solid #E6E6E8;
    width: 100%; box-sizing: border-box; text-align: left;
    font: inherit; font-weight: 600; color: #2A2A2A;
}
.fs-group-header:hover { background: #ECF4FD; }
.fs-group-toggle { flex: 0 0 auto; width: 16px; color: #6A6A6A; }
.fs-children { /* indentation handled per-level via inline padding */ }
.fs-row-disabled { color: #9A9A9A; cursor: default; }
.fs-row-disabled:hover { background: #fff; }

.fs-empty { padding: 24px 16px; color: #8A8A8A; font-size: 10pt; text-align: center; }
.fs-section-title {
    padding: 8px 16px 4px; font-size: 8.5pt; text-transform: uppercase;
    letter-spacing: 0.04em; color: #8A8A8A;
}

/* ===== Toast ===== */
.fs-toast {
    position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
    background: #2A2A2A; color: #fff; padding: 10px 18px; border-radius: 4px;
    font-size: 10pt; z-index: 50; max-width: 90vw;
}
.fs-toast-error { background: #B33A3A; }
.fs-toast-success { background: #2E7D32; }
