@font-face { font-family: iconfont; src: url("/static/fonts/iconfont.46bbeda.woff2") format("woff2"); font-display: block; }
.client-shell .iconfont { font-family: iconfont !important; font-style: normal; font-weight: 400; line-height: 1; -webkit-font-smoothing: antialiased; }
.client-shell .icon-list::before { content: "\E629"; }
.client-shell .icon-sync::before { content: "\E647"; }
.client-shell .icon-cloud-download::before { content: "\E654"; }
.client-shell .icon-select-all::before { content: "\E653"; }

.app-shell.client-shell { position: relative; height: calc(100vh - 3px); grid-template-rows: 68px 0 minmax(0, 1fr); background: var(--ui-primary-pale, #fff7f8); }
.app-shell.client-shell .topbar { height: 60px; align-self: start; }
.app-shell.client-shell .brand img { width: 148px; }
.app-shell.client-shell .primary-nav button { min-width: 68px; padding: 0 14px; font-size: 15px; }
.app-shell.client-shell .nav-home { min-width: 60px !important; font-size: 21px !important; }
.app-shell.client-shell .top-actions { gap: 10px; padding: 0 16px; }
.app-shell.client-shell .top-action { width: 32px; height: 32px; padding: 0; font-size: 17px; }
.app-shell.client-shell .avatar { width: 40px; height: 40px; font-size: 18px; }
.app-shell.client-shell .tab-strip { position: absolute; z-index: 50; top: 68px; right: 25px; left: 25px; width: auto; height: 44px; margin: 0; padding: 2px; border: 0; border-radius: 3px 3px 0 0; background: #fff; box-shadow: none; overflow: visible; }
.app-shell.client-shell .tab-scroll { height: 40px; background: #e5e5e5; }
.app-shell.client-shell .route-tab { width: 120px; min-width: 120px; max-width: 120px; height: 40px; padding: 0 8px; gap: 6px; border: 0; border-radius: 0; background: transparent; color: #555; font-size: 12px; font-weight: 400; }
.app-shell.client-shell .route-tab:hover { color: #555; background: #f7f7f7; }
.app-shell.client-shell .route-tab.active { border: 0; border-radius: 0; background: #fff; color: #555; font-weight: 400; }
.app-shell.client-shell .tab-grid,
.app-shell.client-shell .tab-menu-wrap { width: 40px; height: 40px; flex: 0 0 40px; }
.app-shell.client-shell .tab-grid { border: 0; background: #e5e5e5; color: var(--ui-ink, #343034); font-size: 16px; }
.app-shell.client-shell .workspace-wrap { grid-row: 3; min-height: 0; padding: 0 25px 16px; }
.app-shell.client-shell .workspace { height: 100%; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.app-shell.client-shell { background-attachment: scroll !important; }

.client-list-page,
.client-list-main { position: relative; height: 100%; min-height: 0; }
.client-list-main { min-width: 0; overflow: hidden; border-radius: 8px; background: #fff; }
.client-list-inner { position: relative; height: 100%; min-height: 0; padding-top: 44px; display: flex; flex-direction: column; }
.client-toolbar { position: relative; z-index: 30; height: 43px; min-height: 43px; padding: 0 20px .5px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; background: #fff; }
.client-list-page.is-loading .client-toolbar::after { content: ''; position: absolute; right: 20px; bottom: 0; left: 20px; height: 2px; background: var(--ui-primary, #b8202b); opacity: .68; }
.client-list-page.is-loading .client-toolbar { cursor: progress; }
.client-toolbar-left,
.client-toolbar-right { display: flex; align-items: center; min-width: 0; }
.client-toolbar-left { gap: 10px; }
.client-toolbar-right { position: relative; gap: 8px; margin-left: auto; }
.client-search { width: 208px; height: 26px; display: flex; align-items: center; }
.client-search input { width: 185px; min-width: 0; height: 26px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 3px 0 0 3px; outline: 0; color: #606266; font-size: 12px; }
.client-search button { width: 38px; height: 26px; margin-left: -15px; border: 0; border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; }
.client-icon-button { width: 38px; height: 26px; padding: 0; border: 0; background: #fff; color: #606266; }
.client-icon-button:hover { color: var(--ui-accent-ink, #a21c27); }
.client-reset-button { width: 16px; }
.client-action-button { width: 90px; height: 26px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--ui-primary, #b8202b); border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; font-size: 12px; }
.client-tool-wrap,
.client-import-wrap { position: relative; display: inline-flex; }
.client-export-button,
.client-columns-button { width: 26px; }
.client-export-button i,
.client-columns-button i { font-size: 26px; }

.client-import-menu,
.client-export-menu,
.client-columns-popover { position: absolute; z-index: 110; border: 1px solid #ebeef5; border-radius: 4px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.client-import-menu { top: 38px; right: -8px; width: 114px; padding: 0; display: none; }
.client-import-wrap:hover .client-import-menu,
.client-import-wrap.open .client-import-menu { display: block; }
.client-import-menu button,
.client-export-menu button { width: 100%; height: 30px; padding: 0 14px; border: 0; background: #fff; color: #606266; text-align: left; font-size: 12px; }
.client-import-menu button { height: 20px; }
.client-import-menu button:hover,
.client-export-menu button:hover { background: #f5f7fa; color: var(--ui-accent-ink, #a21c27); }
.client-export-menu { top: 31px; right: 0; width: 126px; padding: 5px 0; }
.client-columns-popover { top: 31px; right: 0; width: 196px; padding-top: 8px; }
.client-columns-options { max-height: 430px; overflow: auto; }
.client-columns-options label { min-height: 30px; padding: 0 14px; display: flex; align-items: center; gap: 8px; color: #606266; font-size: 12px; }
.client-columns-options label.fixed { color: #909399; }
.client-columns-options input { margin: 0; accent-color: var(--ui-primary, #b8202b); }
.client-columns-popover footer { padding: 8px 12px; border-top: 1px solid #ebeef5; text-align: right; }
.client-columns-popover footer button { height: 24px; padding: 0 12px; border: 1px solid var(--ui-primary, #b8202b); border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; font-size: 12px; }

.client-advanced { position: absolute; z-index: 45; top: 99px; right: 20px; left: 20px; height: 384px; padding-left: 5px; display: flex; align-content: flex-start; flex-wrap: wrap; overflow-y: auto; background: #fff; }
.client-filter-field { width: 32%; height: 32px; flex: 0 0 32%; margin: 0 10px 16px 0; display: flex; align-items: center; }
.client-filter-field:nth-child(3n) { margin-right: 0; }
.client-filter-field > span { width: 80px; flex: 0 0 80px; padding-right: 16px; color: #606266; font-size: 12px; text-align: justify; text-align-last: justify; white-space: nowrap; }
.client-filter-field > input,
.client-filter-field > select { width: calc(100% - 96px); min-width: 0; height: 32px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; font-size: 12px; outline: 0; }
.client-filter-field > input:focus,
.client-filter-field > select:focus { border-color: var(--ui-primary, #b8202b); }
.client-date-range { width: calc(100% - 96px); min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 16px minmax(0,1fr); align-items: center; gap: 4px; }
.client-date-range input { width: 100%; min-width: 0; height: 32px; padding: 0 6px; border: 1px solid #dcdfe6; border-radius: 3px; color: #606266; font-size: 12px; }
.client-date-range b { color: #909399; font-size: 12px; font-weight: 400; text-align: center; }

.client-table-frame { position: relative; flex: 1 1 auto; min-height: 0; margin: 16px 20px 0; overflow: auto; border: 1px solid #ebeef5; }
.client-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #111; }
.client-table th { position: relative; height: 41px; padding: 0 10px; border-right: 1px solid #fff; border-bottom: 1px solid #ebeef5; background: var(--ui-primary-soft, #fbeaec); color: var(--ui-ink, #343034); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; }
.client-table td { height: 40px; padding: 0 10px; border-right: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5; overflow: hidden; color: #111; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.client-table tr:hover td { background: #f8fbfe; }
.client-table .client-index { width: 40px; min-width: 40px; max-width: 40px; text-align: center; }
.client-table .client-name { width: 318px; min-width: 318px; max-width: 318px; }
.client-table .client-sticky { position: sticky; z-index: 8; background: var(--ui-primary-soft, #fbeaec); }
.client-table td.client-sticky { background: #fff; }
.client-table .client-operation { position: sticky; right: 0; z-index: 10; width: 40px; min-width: 40px; max-width: 40px; overflow: visible; background: #fff; text-align: center; }
.client-table th.client-operation { padding: 0; background: var(--ui-primary-soft, #fbeaec); }
.client-table[data-oa-resizable="true"] td.client-operation { padding: 0; text-overflow: clip !important; }
.client-table td.client-operation-open { z-index: 11; }
.client-table th.client-index { padding: 0; }
.client-link { max-width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); text-overflow: ellipsis; white-space: nowrap; }
.client-operation > button { padding: 4px; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.client-row-menu { position: fixed; z-index: 1000; width: 82px; padding: 5px 0; border: 1px solid #ebeef5; border-radius: 4px; background: #fff; box-shadow: 0 3px 14px rgba(56, 36, 42, .15); }
.client-row-menu button { display: block; width: 100%; height: 28px; padding: 0 12px; border: 0; background: #fff; color: #606266; font-size: 12px; text-align: left; }
.client-row-menu button:hover { background: #f5f7fa; color: var(--ui-accent-ink, #a21c27); }
.client-empty { position: absolute; inset: 41px 0 0; display: grid; place-content: center; gap: 9px; color: #909399; text-align: center; background: #fff; font-size: 12px; }
.client-empty-mark { width: 38px; height: 28px; margin: auto; border: 2px solid var(--ui-primary-line, #efd0d5); border-radius: 3px; position: relative; }
.client-empty-mark::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 6px; height: 2px; background: var(--ui-primary-soft, #fbeaec); box-shadow: 0 -6px var(--ui-primary-soft, #fbeaec); }
.client-loading { width: 22px; height: 22px; margin: auto; border: 2px solid var(--ui-primary-line, #efd0d5); border-top-color: var(--ui-primary, #b8202b); border-radius: 50%; animation: client-spin .7s linear infinite; }
@keyframes client-spin { to { transform: rotate(360deg); } }
.client-bottom { position: relative; height: 51px; min-height: 51px; margin: 0 20px; display: flex; align-items: center; justify-content: center; }
.client-release-note { position: absolute; left: 10px; color: #606266; font-size: 12px; }
.client-pagination { display: flex; align-items: center; justify-content: center; gap: 9px; color: #606266; font-size: 12px; }
.client-pagination button { width: 28px; height: 28px; border: 0; background: #f4f6fa; color: #606266; }
.client-pagination button.active { background: var(--ui-primary, #b8202b); color: #fff; }
.client-pagination button:disabled { color: var(--ui-muted, #716a70); }
.client-pagination input { width: 40px; height: 26px; border: 1px solid #dcdfe6; border-radius: 3px; text-align: center; }

.client-list-modal-backdrop { position: fixed; z-index: 650; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(45, 41, 45, .38); }
.client-import-dialog { width: min(540px, calc(100vw - 32px)); border-radius: 4px; background: #fff; box-shadow: 0 12px 40px rgba(56, 36, 42, .24); }
.client-import-dialog > header { height: 42px; padding: 0 14px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ebeef5; }
.client-import-dialog h2 { margin: 0; font-size: 14px; font-weight: 500; }
.client-import-dialog header button { width: 28px; height: 28px; border: 0; background: transparent; color: #909399; font-size: 20px; }
.client-import-body { padding: 28px 34px; }
.client-import-body label { display: grid; grid-template-columns: 80px minmax(0,1fr); align-items: center; gap: 12px; color: #606266; font-size: 12px; }
.client-import-body input { min-width: 0; height: 36px; padding: 5px 8px; border: 1px solid #dcdfe6; border-radius: 3px; }
.client-import-body p { margin: 12px 0 0 92px; color: #909399; font-size: 12px; }
.client-import-error { margin: 12px 0 0 92px; color: #d9534f; font-size: 12px; }
.client-import-dialog > footer { height: 58px; padding: 0 24px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid #ebeef5; }
.client-import-dialog footer button { min-width: 70px; height: 30px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; font-size: 12px; }
.client-import-dialog footer button.primary { border-color: var(--ui-primary, #b8202b); background: var(--ui-primary, #b8202b); color: #fff; }

@media (max-width: 1180px) {
  .client-toolbar { align-items: flex-start; flex-wrap: wrap; height: 86px; min-height: 86px; padding-top: 9px; }
  .client-toolbar-left,
  .client-toolbar-right { width: 100%; }
  .client-toolbar-right { margin-left: 0; }
  .client-advanced { top: 142px; }
  .client-filter-field { width: calc(50% - 10px); flex-basis: calc(50% - 10px); }
  .client-filter-field:nth-child(3n) { margin-right: 10px; }
}

@media (max-width: 820px) {
  .app-shell.client-shell { height: auto; grid-template-rows: 60px 46px minmax(calc(100dvh - 106px), auto); }
  .app-shell.client-shell .tab-strip { position: static; width: 100%; height: 46px; padding: 0; border-radius: 0; }
  .app-shell.client-shell .tab-scroll { height: 46px; }
  .app-shell.client-shell .route-tab { width: 130px; min-width: 130px; height: 44px; }
  .app-shell.client-shell .workspace-wrap { padding: 0; }
  .app-shell.client-shell .workspace { min-height: calc(100dvh - 106px); }
  .client-list-main { min-height: calc(100dvh - 106px); border-radius: 0; }
  .client-list-inner { padding-top: 0; }
  .client-toolbar { height: auto; min-height: 88px; padding: 9px 10px; }
  .client-toolbar-right { flex-wrap: wrap; }
  .client-search { flex: 1; width: auto; }
  .client-advanced { top: 88px; right: 10px; left: 10px; height: calc(100% - 100px); padding: 0; }
  .client-filter-field { width: 100%; flex-basis: 100%; margin-right: 0; }
  .client-table-frame { margin: 10px 10px 0; min-height: 460px; }
  .client-bottom { margin: 0 10px; overflow-x: auto; justify-content: flex-start; }
  .client-release-note { display: none; }
  .client-pagination { min-width: 380px; }
}
