/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-5wl5siktq2] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-5wl5siktq2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#password-logout-form[b-5wl5siktq2] { margin: 0; }
#password-logout-form button[b-5wl5siktq2] { border: 0; background: transparent; cursor: pointer; }
#logout-status[b-5wl5siktq2] { display: block; max-width: 16rem; font-size: .8rem; }
#logout-status[data-error="true"][b-5wl5siktq2] { color: #a23838; }

@media (max-width: 560px) {
    .header-context[b-5wl5siktq2] { display: block; }
}

@media (max-width: 900px) {
    .primary-nav[b-5wl5siktq2] { flex: 0 0 100%; }
}
/* /Components/Pages/ApplicationFiles.razor.rz.scp.css */
/* 文件页：顶部工具栏 + 目录树 + 列表 + 暂存区 + 维护区。
   所有规则都限定在文件页自己的类下；共用组件（data-table / badge / workspace-panel）保持原样。 */

.files-page[b-jhzjbaixxy] {
    display: block;
}

/* ── 顶部工具栏：只保留上传与刷新 ─────────────────────────────────────── */

.files-toolbar[b-jhzjbaixxy] {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

/* 隐藏的原生文件输入：由样式化按钮以用户手势触发 input.click()。 */
.files-upload-input[b-jhzjbaixxy] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.files-toolbar-note[b-jhzjbaixxy] {
    margin: 0;
    padding: 0.55rem 0.7rem;
    border: 1px solid #dce5f5;
    border-radius: 9px;
    background: #f7f9fd;
    color: #52627d;
    font-size: 0.82rem;
    line-height: 1.55;
}

.files-toolbar-note.files-write-reason[b-jhzjbaixxy] {
    border-color: #efd4a8;
    background: #fff8e8;
    color: #7a5310;
}

.write-blocked[b-jhzjbaixxy] {
    border-color: #efd4a8;
    background: #fff8e8;
    color: #7a5310;
}

/* ── 桌面端：左树约 240–280px，右侧列表自适应 ─────────────────────────── */

.files-layout[b-jhzjbaixxy] {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.files-tree[b-jhzjbaixxy] {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.65rem;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1rem;
}

.files-tree-roots[b-jhzjbaixxy],
.files-tree-children[b-jhzjbaixxy] {
    margin: 0;
    padding-left: 0.85rem;
    list-style: none;
}

.files-tree-roots[b-jhzjbaixxy] {
    padding-left: 0;
}

.files-tree-item[b-jhzjbaixxy] {
    margin: 0.05rem 0;
}

.files-tree details > summary[b-jhzjbaixxy] {
    cursor: pointer;
    border-radius: 7px;
    list-style-position: outside;
}

.files-tree details > summary:hover[b-jhzjbaixxy] {
    background: #f4f7ff;
}

.files-tree-link[b-jhzjbaixxy] {
    display: block;
    padding: 0.28rem 0.45rem;
    border-radius: 7px;
    color: #315bc8;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.files-tree-link:hover[b-jhzjbaixxy] {
    background: #f2f5ff;
}

.files-tree-link.active[b-jhzjbaixxy] {
    background: #2457d6;
    color: #fff;
}

.files-tree-truncated[b-jhzjbaixxy],
.files-tree-warning[b-jhzjbaixxy] {
    color: #896a23;
    font-size: 0.78rem;
    line-height: 1.5;
}

.files-tree-warning[b-jhzjbaixxy] {
    margin: 0;
    padding: 0.5rem 0.6rem;
    border: 1px solid #efd4a8;
    border-radius: 8px;
    background: #fff8e8;
}

.files-list[b-jhzjbaixxy] {
    min-width: 0;
}

/* 当前路径：一行纯文本，不做面包屑、不做逐级链接。 */
.files-current-path[b-jhzjbaixxy] {
    margin: 0 0 0.9rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid #e2e8f1;
    border-radius: 9px;
    background: #f8fafe;
    color: #172033;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.86rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.files-table td:first-child[b-jhzjbaixxy] {
    overflow-wrap: anywhere;
}

.files-file-name[b-jhzjbaixxy] {
    color: #1f2d4a;
}

.files-row-actions[b-jhzjbaixxy] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    min-width: 6.5rem;
}

.files-delete[b-jhzjbaixxy] {
    border: 0;
    padding: 0;
    background: none;
    color: #a23838;
    font: inherit;
    cursor: pointer;
}

.files-delete:hover[b-jhzjbaixxy] {
    text-decoration: underline;
}

.files-delete[disabled][b-jhzjbaixxy] {
    color: #aab3c2;
    cursor: not-allowed;
    text-decoration: none;
}

/* ── 暂存区与维护区 ─────────────────────────────────────────────────── */

.files-staged[b-jhzjbaixxy],
.files-maintenance[b-jhzjbaixxy] {
    margin-top: 1.5rem;
}

.files-staged-actions[b-jhzjbaixxy] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.files-maintenance .backup-hint-panel[b-jhzjbaixxy] {
    margin-bottom: 0;
}

.batch-card[b-jhzjbaixxy] {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 1.1rem;
    border: 1px solid #e2e8f1;
    border-radius: 14px;
    background: #fdfefe;
}

.batch-card > header[b-jhzjbaixxy] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.batch-card > header strong[b-jhzjbaixxy] {
    margin-right: 0.5rem;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.85rem;
}

.confirm-loss[b-jhzjbaixxy] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #efcaca;
    border-radius: 9px;
    background: #fff5f5;
    color: #8b2828;
    font-size: 0.78rem;
}

.operation-result[b-jhzjbaixxy] {
    min-height: 1.2rem;
    margin: 0;
    color: #315bc8;
    font-size: 0.82rem;
}

.operation-error[b-jhzjbaixxy] {
    color: #a23838;
}

/* ── 窄屏：树折叠为可滚动区域，列表与操作优先，避免横向溢出 ────────────── */

@media (max-width: 760px) {
    .files-layout[b-jhzjbaixxy] {
        grid-template-columns: minmax(0, 1fr);
    }

    .files-tree[b-jhzjbaixxy] {
        position: static;
        max-height: 14rem;
    }

    .files-row-actions[b-jhzjbaixxy] {
        min-width: 0;
    }

    .files-current-path[b-jhzjbaixxy] {
        white-space: normal;
    }
}
/* /Components/Pages/Backups.razor.rz.scp.css */
.include-badges[b-zwoepx8ewq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    min-width: 12rem;
}

.pagination a[b-zwoepx8ewq] {
    border: 1px solid #d5deed;
    border-radius: 7px;
    padding: 0.45rem 0.7rem;
    background: #fff;
    color: #4167c9;
}

.pagination a[aria-disabled="true"][b-zwoepx8ewq] {
    pointer-events: none;
    opacity: 0.45;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-panel[b-0vzxysgay7] {
    max-width: 480px;
    margin: 3rem auto;
    padding: 2rem;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(23, 32, 51, .06);
}
.login-panel h1[b-0vzxysgay7] { font-size: 2rem; }
form[b-0vzxysgay7] { display: grid; gap: .9rem; margin-top: 1.5rem; }
label[b-0vzxysgay7] { font-weight: 650; }
input[b-0vzxysgay7] { width: 100%; padding: .8rem; border: 1px solid #cbd5e1; border-radius: 8px; }
input:focus-visible[b-0vzxysgay7] { outline: 2px solid #2457d6; outline-offset: 2px; }
button[b-0vzxysgay7] { padding: .8rem; border: 0; border-radius: 8px; background: #2457d6; color: #fff; font-weight: 650; cursor: pointer; }
button:disabled[b-0vzxysgay7] { opacity: .6; cursor: wait; }
#login-status[b-0vzxysgay7] { font-size: .9rem; line-height: 1.6; }
#login-status[data-error="true"][b-0vzxysgay7] { color: #a23838; }
/* /Components/Pages/ProxySites.razor.rz.scp.css */
.site-list[b-n9kr0cyunj] {
    display: grid;
    /* 显式 minmax(0,1fr)：默认 auto 轨道不会小于条目的 min-content，
       窄屏下站点卡片（含长 domain / site_ 标识）会把整页撑出横向滚动。 */
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.site-card[b-n9kr0cyunj] {
    /* 允许卡片及其内容收缩到容器宽度，避免窄屏横向溢出（P5.5 走查 390px）。 */
    min-width: 0;
    padding: 1.15rem;
    border: 1px solid #e2e8f1;
    border-radius: 16px;
    background: #fff;
}

.site-card-header[b-n9kr0cyunj] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.site-card-header > *[b-n9kr0cyunj] {
    min-width: 0;
}

.site-card-header h3[b-n9kr0cyunj],
.site-card-header p[b-n9kr0cyunj] {
    /* domain 与 site_ 标识是长且不可断的 token：允许任意位置换行才能收缩。 */
    overflow-wrap: anywhere;
}

.site-card-header h3[b-n9kr0cyunj] {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.site-facts[b-n9kr0cyunj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.7rem;
    margin: 0 0 0.9rem;
}

.site-facts div[b-n9kr0cyunj] {
    display: grid;
    gap: 0.3rem;
    padding: 0.7rem;
    border-radius: 10px;
    background: #f6f8fc;
}

.site-facts dt[b-n9kr0cyunj] {
    color: #78859a;
    font-size: 0.74rem;
    font-weight: 700;
}

.site-facts dd[b-n9kr0cyunj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: #1f2d4a;
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

.site-target dd[b-n9kr0cyunj] {
    font-size: 0.78rem;
}

.site-warning[b-n9kr0cyunj] {
    margin: 0 0 0.9rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #efcaca;
    border-radius: 10px;
    background: #fff5f5;
    color: #8b2828;
    font-size: 0.84rem;
    line-height: 1.6;
}

.site-checklist[b-n9kr0cyunj] {
    margin-bottom: 0.9rem;
    border: 1px solid #e4e9f1;
    border-radius: 10px;
    background: #fbfcff;
}

.site-checklist summary[b-n9kr0cyunj] {
    padding: 0.65rem 0.9rem;
    color: #4167c9;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.site-checklist ul[b-n9kr0cyunj] {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0 0.9rem 0.9rem;
    list-style: none;
}

.site-checklist li[b-n9kr0cyunj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: #52627d;
    font-size: 0.82rem;
}

.site-form[b-n9kr0cyunj] {
    display: grid;
    gap: 0.8rem;
}

.form-actions[b-n9kr0cyunj] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
