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

.app-shell.work-shell {
  position: relative;
  grid-template-rows: 68px 0 minmax(0, 1fr);
  background: var(--ui-primary-pale, #fff7f8);
}

.app-shell.work-shell .topbar { height: 60px; align-self: start; }
.app-shell.work-shell .brand img { width: 148px; }
.app-shell.work-shell .primary-nav button { min-width: 68px; padding: 0 14px; font-size: 15px; }
.app-shell.work-shell .nav-home { min-width: 60px !important; font-size: 21px !important; }
.app-shell.work-shell .top-actions { gap: 10px; padding: 0 16px; }
.app-shell.work-shell .top-action { width: 32px; height: 32px; padding: 0; font-size: 17px; }
.app-shell.work-shell .avatar { width: 40px; height: 40px; font-size: 18px; }
.app-shell.work-shell .tab-strip {
  position: absolute;
  z-index: 50;
  top: 68px;
  right: 25px;
  left: 211px;
  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.work-shell .tab-scroll { height: 40px; background: #e5e5e5; }
.app-shell.work-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.work-shell .route-tab:hover { color: #555; background: #f7f7f7; }
.app-shell.work-shell .route-tab.active { border: 0; border-radius: 0; background: #fff; color: #555; font-weight: 400; }
.app-shell.work-shell .tab-grid,
.app-shell.work-shell .tab-menu-wrap { width: 40px; height: 40px; flex: 0 0 40px; }
.app-shell.work-shell .tab-grid { border: 0; background: #e5e5e5; color: var(--ui-ink, #343034); font-size: 16px; }
.app-shell.work-shell .workspace-wrap { grid-row: 3; min-height: 0; padding: 0 25px 16px; }
.app-shell.work-shell .workspace { height: 100%; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

.work-page { height: 100%; min-height: 0; background: transparent; }
.work-layout { height: 100%; min-height: 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; }
.work-sidebar {
  width: 170px;
  min-width: 170px;
  height: 100%;
  min-height: 0;
  padding: 8px;
  overflow: auto;
  border-radius: 10px;
  background: #fff;
}
.work-sidebar button {
  width: 154px;
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #111;
  text-align: left;
  font-size: 13px;
}
.work-sidebar button:hover,
.work-sidebar button.active { color: var(--ui-accent-ink, #a21c27); background: #f3f8fc; }
.work-tree-root { display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.work-tree-root i { width: 12px; color: var(--ui-muted, #716a70); font-size: 15px; }
.work-tree-children { padding: 0 0 5px 20px; }
.work-tree-children button { min-height: 34px; padding: 0 8px; }

.work-main { min-width: 0; height: 100%; min-height: 0; border-radius: 10px; background: #fff; overflow: hidden; }
.work-main-inner { position: relative; height: 100%; min-height: 0; padding-top: 44px; display: flex; flex-direction: column; }
.work-toolbar {
  position: relative;
  z-index: 20;
  height: 43px;
  min-height: 43px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
}
.work-toolbar-left,
.work-toolbar-right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.work-toolbar-right { margin-left: auto; }
.work-search { width: 203px; height: 26px; display: flex; border: 1px solid #dcdfe6; background: #fff; }
.work-search input { min-width: 0; flex: 1; height: 24px; padding: 0 8px; border: 0; outline: 0; color: #606266; font-size: 12px; }
.work-search button { width: 38px; height: 24px; border: 0; background: var(--ui-primary, #b8202b); color: #fff; }
.work-search button i { font-size: 13px; }
.work-icon-button,
.work-action-button { height: 26px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; }
.work-icon-button { width: 26px; padding: 0; display: inline-grid; place-items: center; }
.work-icon-button:hover,
.work-action-button:hover { border-color: var(--ui-primary, #b8202b); color: var(--ui-accent-ink, #a21c27); }
.work-icon-button .iconfont { font-size: 15px; }
.work-action-button { min-width: 90px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; }
.work-action-button i { font-size: 13px; }
.work-year { width: 102px; height: 26px; padding: 0 7px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; font-size: 12px; }
.work-tool-wrap { position: relative; display: inline-flex; }
.work-export-menu,
.work-columns-popover,
.work-period-popover {
  position: absolute;
  z-index: 80;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.work-export-menu { top: 31px; right: 0; width: 126px; padding: 5px 0; }
.work-export-menu button { width: 100%; height: 30px; padding: 0 14px; border: 0; background: #fff; color: #606266; text-align: left; font-size: 12px; }
.work-export-menu button:hover { background: #f5f7fa; color: var(--ui-accent-ink, #a21c27); }
.work-columns-popover { top: 33px; right: 20px; width: 186px; padding: 8px 0 0; }
.work-columns-options { max-height: 340px; overflow: auto; }
.work-column-option { min-height: 30px; padding: 0 14px; display: flex; align-items: center; gap: 8px; color: #606266; font-size: 12px; }
.work-column-option input { margin: 0; accent-color: var(--ui-primary, #b8202b); }
.work-column-fixed { color: #909399; }
.work-columns-popover footer { padding: 8px 12px; border-top: 1px solid #ebeef5; text-align: right; }
.work-columns-popover footer button,
.work-period-popover footer button:last-child { 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; }
.work-period-popover { top: 74px; right: 126px; width: 274px; height: 72px; }
.work-period-row { height: 37px; padding: 2px 12px; display: flex; align-items: center; gap: 7px; color: #606266; }
.work-period-row > i { width: 14px; flex: 0 0 14px; font-size: 14px; }
.work-period-row label { width: 100px; height: 32px; }
.work-period-row input { width: 100%; height: 32px; padding: 0 7px; border: 1px solid transparent; border-radius: 5px; outline: 0; color: #000; font-size: 12px; }
.work-period-row input:focus { border-color: var(--ui-primary, #b8202b); }
.work-period-popover footer { height: 34px; padding: 5px 12px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.work-period-popover footer button { height: 24px; padding: 0; border: 0; background: transparent; color: var(--ui-ink, #343034); font-size: 12px; }
.work-period-popover footer button:last-child { width: 50px; }
.work-popover-arrow { position: absolute; top: -6px; right: 107px; width: 10px; height: 10px; transform: rotate(45deg); border-top: 1px solid #ebeef5; border-left: 1px solid #ebeef5; background: #fff; }

.work-advanced { position: absolute; z-index: 45; top: 44px; right: 0; left: 0; min-height: 203px; padding: 17px 20px 14px; border-top: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5; background: #fff; box-shadow: 0 3px 8px rgba(56, 36, 42, .08); }
.work-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 12px 26px; }
.work-filter-field { min-width: 0; display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 8px; }
.work-filter-field > span { color: #606266; font-size: 12px; white-space: nowrap; }
.work-filter-field input,
.work-filter-field select { min-width: 0; width: 100%; height: 32px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 3px; outline: 0; background: #fff; color: #606266; font-size: 12px; }
.work-filter-field input:focus,
.work-filter-field select:focus { border-color: var(--ui-primary, #b8202b); }

.work-table-frame { position: relative; flex: 1 1 auto; min-height: 0; margin: 16px 20px 0; overflow: auto; border: 1px solid #ebeef5; }
.work-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #111; }
.work-table th { position: relative; height: 42px; 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; }
.work-table td { height: 42px; 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; }
.work-table tr:hover td { background: #f8fbfe; }
.work-table .work-index { width: 40px; min-width: 40px; max-width: 40px; text-align: center; }
.work-table .work-operation { width: 40px; min-width: 40px; max-width: 40px; text-align: center; }
.work-table .work-sticky-left { position: sticky; left: 0; z-index: 8; background: var(--ui-primary-soft, #fbeaec); }
.work-table td.work-sticky-left { background: #fff; }
.work-table .work-sticky-data { position: sticky; left: 40px; z-index: 7; background: var(--ui-primary-soft, #fbeaec); }
.work-table td.work-sticky-data { background: #fff; }
.work-table .work-operation { position: sticky; right: 0; z-index: 8; background: #fff; }
.work-table th.work-operation { background: var(--ui-primary-soft, #fbeaec); }
.work-table .work-sticky-left::after,
.work-table .work-sticky-data::after,
.work-table .work-operation::before { position: absolute; top: 0; bottom: 0; width: 5px; content: ''; pointer-events: none; }
.work-table .work-sticky-left::after,
.work-table .work-sticky-data::after { right: -5px; box-shadow: 3px 0 4px rgba(56, 36, 42, .08); }
.work-table .work-operation::before { left: -5px; box-shadow: -3px 0 4px rgba(56, 36, 42, .08); }
.work-table .work-link { max-width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); text-overflow: ellipsis; white-space: nowrap; }
.work-table .work-operation button { padding: 4px; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.work-empty { position: absolute; inset: 42px 0 0; display: grid; place-content: center; gap: 9px; color: #909399; text-align: center; background: #fff; }
.work-empty-mark { width: 48px; height: 34px; margin: 0 auto; border: 4px solid var(--ui-primary-line, #efd0d5); border-radius: 5px; position: relative; }
.work-empty-mark::before { position: absolute; top: -11px; left: 11px; width: 18px; height: 8px; border: 4px solid var(--ui-primary-line, #efd0d5); border-bottom: 0; border-radius: 4px 4px 0 0; content: ''; }
.work-bottom { flex: 0 0 auto; margin: 0 20px; background: #fff; }
.work-summary { min-height: 54px; display: flex; align-items: center; gap: 25px; flex-wrap: wrap; color: #111; font-size: 12px; }
.work-summary strong { color: #ff404b; font-weight: 400; }
.work-pagination { height: 45px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; color: #606266; font-size: 12px; }
.work-pagination button { width: 26px; height: 24px; border: 1px solid #ebeef5; background: #fff; color: #606266; }
.work-pagination button.active { border-color: var(--ui-primary, #b8202b); background: var(--ui-primary, #b8202b); color: #fff; }
.work-pagination button:disabled { color: var(--ui-muted, #716a70); cursor: default; }
.work-pagination input { width: 40px; height: 24px; border: 1px solid #dcdfe6; border-radius: 3px; text-align: center; }

@media (max-width: 820px) {
  .app-shell.work-shell { grid-template-rows: 60px 46px minmax(calc(100dvh - 106px), auto); }
  .app-shell.work-shell .tab-strip { position: static; width: 100%; height: 46px; padding: 0; border-radius: 0; }
  .app-shell.work-shell .tab-scroll { height: 46px; }
  .app-shell.work-shell .route-tab { min-width: 130px; width: 130px; height: 44px; }
  .app-shell.work-shell .workspace-wrap { padding: 0; }
  .app-shell.work-shell .workspace { min-height: calc(100dvh - 106px); }
  .work-layout { display: block; }
  .work-sidebar { display: flex; width: 100%; height: 48px; min-width: 0; padding: 0; border-radius: 0; overflow-x: auto; }
  .work-sidebar button { width: auto; min-width: 112px; height: 48px; min-height: 48px; padding: 0 12px; border-radius: 0; }
  .work-tree-children { display: flex; padding: 0; }
  .work-main { height: calc(100% - 48px); border-radius: 0; }
  .work-main-inner { padding-top: 0; }
  .work-toolbar { height: auto; min-height: 88px; padding: 9px 10px; align-items: flex-start; flex-wrap: wrap; }
  .work-toolbar-left, .work-toolbar-right { width: 100%; flex-wrap: wrap; }
  .work-toolbar-right { margin-left: 0; }
  .work-search { flex: 1; width: auto; }
  .work-period-popover { top: 126px; right: 10px; }
  .work-columns-popover { top: 126px; right: 10px; }
  .work-advanced { top: 88px; min-height: 0; padding: 12px 10px; }
  .work-filter-grid { grid-template-columns: 1fr; gap: 9px; }
  .work-table-frame { margin: 10px 10px 0; }
  .work-bottom { margin: 0 10px; overflow-x: auto; }
  .work-summary { min-width: 760px; gap: 18px; }
  .work-pagination { min-width: 380px; }
}
