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

.app-shell.project-shell { position: relative; height: calc(100vh - 3px); grid-template-rows: 68px 0 minmax(0, 1fr); background: var(--ui-primary-pale, #fff7f8); }
.app-shell.project-shell .topbar { height: 60px; align-self: start; }
.app-shell.project-shell .brand img { width: 148px; }
.app-shell.project-shell .primary-nav button { min-width: 68px; padding: 0 14px; font-size: 15px; }
.app-shell.project-shell .nav-home { min-width: 60px !important; font-size: 21px !important; }
.app-shell.project-shell .top-actions { gap: 10px; padding: 0 16px; }
.app-shell.project-shell .top-action { width: 32px; height: 32px; padding: 0; font-size: 17px; }
.app-shell.project-shell .avatar { width: 40px; height: 40px; font-size: 18px; }
.app-shell.project-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.project-shell .tab-scroll { height: 40px; background: #e5e5e5; }
.app-shell.project-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.project-shell .route-tab:hover { color: #555; background: #f7f7f7; }
.app-shell.project-shell .route-tab.active { border: 0; border-radius: 0; background: #fff; color: #555; font-weight: 400; }
.app-shell.project-shell .tab-grid,
.app-shell.project-shell .tab-menu-wrap { width: 40px; height: 40px; flex: 0 0 40px; }
.app-shell.project-shell .tab-grid { border: 0; background: #e5e5e5; color: var(--ui-ink, #343034); font-size: 16px; }
.app-shell.project-shell .workspace-wrap { grid-row: 3; min-height: 0; padding: 0 25px 16px; }
.app-shell.project-shell .workspace { height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

.project-page { height: 100%; min-height: 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; background: transparent; }
.project-page.project-page-my { grid-template-columns: minmax(0, 1fr); }
.project-sidebar { width: 170px; min-width: 170px; height: 100%; min-height: 0; padding: 8px; overflow: auto; border-radius: 10px; background: #fff; }
.project-sidebar button { width: 154px; height: 38px; padding: 0 15px; border: 0; border-radius: 10px; background: #fff; color: #111; font-size: 13px; text-align: left; }
.project-sidebar button:hover,
.project-sidebar button.active { background: #f3f8fc; color: var(--ui-accent-ink, #a21c27); }
.project-main { min-width: 0; height: 100%; min-height: 0; overflow: hidden; border-radius: 10px; background: #fff; }
.project-main-inner { position: relative; height: 100%; min-height: 0; padding-top: 44px; display: flex; flex-direction: column; }

.project-toolbar { position: relative; z-index: 20; height: 43px; min-height: 43px; padding: 0 20px .5px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; background: #fff; }
.project-toolbar-left,
.project-toolbar-right { display: flex; align-items: center; min-width: 0; }
.project-toolbar-left { gap: 10px; }
.project-toolbar-right { position: relative; gap: 8px; margin-left: auto; }
.project-search { width: 203px; height: 26px; display: flex; align-items: center; }
.project-search input { width: 180px; 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; }
.project-search button { width: 38px; height: 26px; margin-left: -15px; border: 0; border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; }
.project-page-my .project-search { width: 208px; }
.project-page-my .project-search input { width: 185px; }
.project-advanced-button { width: 38px; height: 26px; padding: 0; border: 0; background: #fff; color: #606266; }
.project-reset-button { width: 16px; height: 26px; padding: 0; border: 0; background: #fff; color: #606266; }
.project-advanced-button:hover,
.project-reset-button:hover { color: var(--ui-accent-ink, #a21c27); }
.project-toolbar-right > select { width: 98px; height: 26px; padding: 0 7px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; font-size: 12px; outline: 0; }
.project-toolbar-right > select[data-key="year"] { width: 90px; }
.project-page-my .project-toolbar-right > select[data-key="status"] { width: 90px; }
.project-period-button,
.project-filing-button { height: 26px; border: 1px solid var(--ui-primary, #b8202b); border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; font-size: 12px; }
.project-period-button { width: 91px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.project-filing-button { width: 98px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.project-page-my .project-filing-button { width: 90px; }
.project-period-button i,
.project-filing-button i { font-size: 13px; }
.project-export-button,
.project-columns-button { height: 26px; padding: 0; border: 0; background: #fff; color: #606266; }
.project-export-button { width: 34px; display: inline-flex; align-items: center; justify-content: flex-end; }
.project-columns-button { width: 26px; }
.project-export-button i,
.project-columns-button i { font-size: 26px; }
.project-export-button:hover,
.project-columns-button:hover { color: var(--ui-accent-ink, #a21c27); }
.project-filing-wrap,
.project-export-wrap { position: relative; display: inline-flex; }
.project-filing-wrap,
.project-export-wrap { margin-left: -8px; }
.project-page-my .project-filing-wrap { margin-left: 0; }

.project-export-menu,
.project-filing-menu,
.project-columns-popover,
.project-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); }
.project-export-menu { top: 31px; right: 0; width: 126px; padding: 5px 0; }
.project-filing-menu { top: 31px; right: 0; width: 140px; padding: 5px 0; }
.project-export-menu button,
.project-filing-menu button { width: 100%; height: 30px; padding: 0 14px; border: 0; background: #fff; color: #606266; text-align: left; font-size: 12px; }
.project-export-menu button:hover,
.project-filing-menu button:hover { background: #f5f7fa; color: var(--ui-accent-ink, #a21c27); }
.project-columns-popover { top: 33px; right: 0; width: 188px; padding-top: 8px; }
.project-columns-options { max-height: 390px; overflow: auto; }
.project-column-option { min-height: 30px; padding: 0 14px; display: flex; align-items: center; gap: 8px; color: #606266; font-size: 12px; }
.project-column-option input { margin: 0; accent-color: var(--ui-primary, #b8202b); }
.project-column-fixed { color: #909399; }
.project-columns-popover footer { padding: 8px 12px; border-top: 1px solid #ebeef5; text-align: right; }
.project-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; }

.project-period-popover { top: 74px; right: 166px; width: 274px; height: 72px; }
.project-period-row { height: 37px; padding: 2px 12px; display: flex; align-items: center; gap: 7px; color: #606266; }
.project-period-row input { width: 100px; height: 32px; padding: 0 7px; border: 1px solid transparent; border-radius: 5px; outline: 0; font-size: 12px; }
.project-period-row input:focus { border-color: var(--ui-primary, #b8202b); }
.project-period-popover footer { height: 34px; padding: 5px 12px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.project-period-popover footer button { height: 24px; padding: 0; border: 0; background: transparent; color: var(--ui-ink, #343034); font-size: 12px; }
.project-period-popover footer button:last-child { width: 50px; border: 1px solid var(--ui-primary, #b8202b); border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; }

.project-advanced { position: absolute; z-index: 45; top: 99px; right: 20px; left: 20px; height: calc(100% - 103px); padding: 0; overflow-y: auto; overflow-x: hidden; border: 0; background: #fff; box-shadow: none; }
.project-advanced::-webkit-scrollbar { width: 8px; }
.project-advanced::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--ui-primary-soft, #fbeaec); }
.project-filter-grid { display: flex; align-items: center; flex-wrap: wrap; gap: 0; padding-left: 5px; }
.project-filter-field { width: 32%; min-width: 0; height: 32px; flex: 0 0 32%; display: flex; align-items: center; gap: 0; margin: 0 10px 16px 0; }
.project-filter-field:nth-child(3n) { margin-right: 0; }
.project-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; }
.project-filter-field > input,
.project-filter-field > select,
.project-range,
.project-choice { width: calc(100% - 96px); min-width: 0; flex: 0 0 calc(100% - 96px); }
.project-filter-field > input,
.project-filter-field > select,
.project-range input { height: 32px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; font-size: 12px; outline: 0; }
.project-filter-field > input,
.project-filter-field > select { width: calc(100% - 96px); flex: 0 0 calc(100% - 96px); }
.project-filter-field input:focus,
.project-filter-field select:focus { border-color: var(--ui-primary, #b8202b); }
.project-range { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr); align-items: center; gap: 6px; }
.project-range span { text-align: center; color: #909399; }
.project-choice { display: flex; align-items: center; gap: 14px; }
.project-choice label { display: flex; align-items: center; gap: 4px; color: #606266; font-size: 12px; }
.project-choice input { margin: 0; accent-color: var(--ui-primary, #b8202b); }

.project-table-frame { position: relative; flex: 1 1 auto; min-height: 0; margin: 16px 20px 0; overflow: auto; border: 1px solid #ebeef5; }
.project-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #111; }
.project-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; }
.project-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; }
.project-table tr:hover td { background: #f8fbfe; }
.project-table .project-index { width: 40px; min-width: 40px; max-width: 40px; left: 0; text-align: center; }
.project-table .project-sticky { position: sticky; z-index: 8; background: var(--ui-primary-soft, #fbeaec); }
.project-table td.project-sticky { background: #fff; }
.project-table .project-operation { position: sticky; right: 0; z-index: 8; width: 40px; min-width: 40px; max-width: 40px; background: #fff; text-align: center; }
.project-table th.project-operation { background: var(--ui-primary-soft, #fbeaec); }
.project-table .project-link { max-width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); text-overflow: ellipsis; white-space: nowrap; }
.project-favorite,
.project-operation button { padding: 4px; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.project-row-popover { position: fixed; z-index: 120; width: 122px; padding: 4px 0; overflow: hidden; border: 1px solid #e1e6eb; border-radius: 3px; background: #fff; box-shadow: 0 8px 22px rgba(56, 36, 42, .18); }
.project-row-popover button { width: 100%; height: 32px; padding: 0 14px; border: 0; background: #fff; color: #303133; font-size: 12px; text-align: left; }
.project-row-popover button:hover { background: var(--ui-primary-pale, #fff7f8); color: var(--ui-accent-ink, #a21c27); }
.project-favorite { color: #f4a62a; }
.project-empty { position: absolute; inset: 41px 0 0; display: grid; place-content: center; gap: 9px; color: #909399; text-align: center; background: #fff; }
.project-bottom { flex: 0 0 auto; margin: 0 20px; }
.project-pagination { height: 51px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #606266; font-size: 12px; }
.project-pagination button { width: 28px; height: 28px; border: 0; background: #f4f6fa; color: #606266; }
.project-pagination button.active { background: var(--ui-primary, #b8202b); color: #fff; }
.project-pagination input { width: 40px; height: 26px; border: 1px solid #dcdfe6; border-radius: 3px; text-align: center; }

@media (max-width: 1180px) {
  .project-toolbar { align-items: flex-start; flex-wrap: wrap; height: 86px; min-height: 86px; padding-top: 9px; }
  .project-toolbar-left,
  .project-toolbar-right { width: 100%; }
  .project-toolbar-right { margin-left: 0; }
  .project-advanced { top: 142px; height: calc(100% - 146px); }
  .project-period-popover,
  .project-columns-popover { top: 119px; }
}

@media (max-width: 820px) {
  .app-shell.project-shell { height: auto; grid-template-rows: 60px 46px minmax(calc(100dvh - 106px), auto); }
  .app-shell.project-shell .tab-strip { position: static; width: 100%; height: 46px; padding: 0; border-radius: 0; }
  .app-shell.project-shell .tab-scroll { height: 46px; }
  .app-shell.project-shell .route-tab { width: 130px; min-width: 130px; height: 44px; }
  .app-shell.project-shell .workspace-wrap { padding: 0; }
  .app-shell.project-shell .workspace { min-height: calc(100dvh - 106px); }
  .project-page { display: block; }
  .project-sidebar { display: flex; width: 100%; height: 48px; min-width: 0; padding: 0; border-radius: 0; overflow-x: auto; }
  .project-sidebar button { width: auto; min-width: 118px; height: 48px; border-radius: 0; }
  .project-main { height: calc(100% - 48px); border-radius: 0; }
  .project-page-my .project-main { height: 100%; }
  .project-main-inner { padding-top: 0; }
  .project-toolbar { min-height: 94px; height: auto; padding: 9px 10px; }
  .project-toolbar-left,
  .project-toolbar-right { flex-wrap: wrap; }
  .project-search { flex: 1; }
  .project-advanced { top: 118px; right: 10px; left: 10px; height: calc(100% - 118px); padding: 18px 10px; }
  .project-filter-grid { display: block; padding-left: 0; }
  .project-filter-field,
  .project-filter-field:nth-child(3n) { width: 100%; margin: 0 0 10px; }
  .project-period-popover { top: 132px; right: 10px; }
  .project-columns-popover { top: 132px; right: 10px; }
  .project-table-frame { margin: 10px 10px 0; }
  .project-bottom { margin: 0 10px; overflow-x: auto; }
  .project-pagination { min-width: 360px; }
}
