@font-face { font-family: iconfont; src: url("/static/fonts/iconfont.46bbeda.woff2") format("woff2"); font-display: block; }
.internal-market-shell .iconfont { font-family: iconfont !important; font-style: normal; font-weight: 400; line-height: 1; -webkit-font-smoothing: antialiased; }
.internal-market-shell .icon-sousuo::before { content: "\E634"; }
.internal-market-shell .icon-sync::before { content: "\E647"; }
.internal-market-shell .icon-cloud-download::before { content: "\E654"; }
.internal-market-shell .icon-select-all::before { content: "\E653"; }
.internal-market-shell .icon-subscribe-add::before { content: "\E637"; }
.internal-market-shell .icon-operation::before { content: "\E669"; }
.internal-market-shell .icon-address-book::before { content: "\E63D"; }
.app-shell.internal-market-shell { position: relative; height: calc(100vh - 3px); grid-template-rows: 68px 0 minmax(0, 1fr); background: var(--ui-primary-pale, #fff7f8); }
.app-shell.internal-market-shell .topbar { height: 60px; align-self: start; }
.app-shell.internal-market-shell .brand img { width: 148px; }
.app-shell.internal-market-shell .primary-nav button { min-width: 68px; padding: 0 14px; font-size: 15px; }
.app-shell.internal-market-shell .nav-home { min-width: 60px !important; font-size: 21px !important; }
.app-shell.internal-market-shell .top-actions { gap: 10px; padding: 0 16px; }
.app-shell.internal-market-shell .top-action { width: 32px; height: 32px; padding: 0; font-size: 17px; }
.app-shell.internal-market-shell .avatar { width: 40px; height: 40px; font-size: 18px; }
.app-shell.internal-market-shell .tab-strip { position: absolute; z-index: 50; top: 68px; right: 25px; left: 25px; width: auto; height: 44px; margin: 0; padding: 2px; overflow: visible; border: 0; border-radius: 3px 3px 0 0; background: #fff; box-shadow: none; }
.app-shell.internal-market-shell .tab-scroll { height: 40px; background: #e5e5e5; }
.app-shell.internal-market-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.internal-market-shell .route-tab.active { border: 0; border-radius: 0; background: #fff; color: #555; font-weight: 400; }
.app-shell.internal-market-shell .tab-grid,
.app-shell.internal-market-shell .tab-menu-wrap { width: 40px; height: 40px; flex: 0 0 40px; }
.app-shell.internal-market-shell .tab-grid { border: 0; background: #e5e5e5; color: var(--ui-ink, #343034); }
.app-shell.internal-market-shell .workspace-wrap { grid-row: 3; min-height: 0; padding: 0 25px 16px; }
.app-shell.internal-market-shell .workspace { height: 100%; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

.market-page { position: relative; height: 100%; min-height: 608px; padding: 43px 20px 0; overflow: hidden; border-radius: 8px; background: #fff; color: #000; font-family: "Microsoft YaHei", sans-serif; }
.market-page * { box-sizing: border-box; }
.market-page button, .market-page input, .market-page select { font: inherit; }
.market-page button { cursor: pointer; }
.market-main { position: relative; min-width: 0; height: 100%; display: grid; grid-template-rows: 59px minmax(0, 1fr) 64px; overflow: hidden; }
.market-toolbar { position: relative; z-index: 30; height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.market-toolbar-left, .market-toolbar-right { display: flex; align-items: center; }
.market-toolbar-left { gap: 9px; }
.market-toolbar-right { gap: 8px; }
.market-search { width: 208px; height: 26px; display: flex; }
.market-search input { width: 185px; height: 26px; padding: 0 15px; border: 1px solid #f4f5f9; border-radius: 6px 0 0 6px; outline: 0; background: #f4f5f9; color: #000; font-size: 12px; }
.market-search button { width: 37.6px; height: 26px; margin-left: -15px; border: 1px solid var(--ui-primary, #b8202b); border-radius: 10px; background: var(--ui-primary, #b8202b); color: #fff; }
.market-search button .icon { font-size: 14px; }
.market-reset { width: 20px; height: 26px; padding: 0; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); font-size: 17px; }
.market-view-switch { width: 228px; height: 26px; display: flex; align-items: center; justify-content: flex-start; }
.market-view-switch { margin-right: 8px; }
.market-view-option { height: 26px; display: flex; align-items: center; cursor: pointer; color: var(--ui-ink, #343034); font-size: 12px; white-space: nowrap; }
.market-view-option input { position: absolute; opacity: 0; pointer-events: none; }
.market-view-option span { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 13px; }
.market-view-option.active span { background: var(--ui-primary, #b8202b); color: #fff; }
.market-action-button { width: 90px; height: 26px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 10px; background: var(--ui-primary, #b8202b); color: #fff; font-size: 12px; white-space: nowrap; }
.market-action-button .iconfont { font-size: 14px; }
.market-tool-wrap { position: relative; height: 26px; }
.market-icon-button { width: 26px; height: 26px; padding: 0; border: 0; background: transparent; color: var(--ui-ink, #343034); font-size: 22px; }
.market-icon-button:hover, .market-reset:hover { color: var(--ui-accent-ink, #a21c27); }
.market-export-menu { position: absolute; z-index: 100; top: 33px; right: -15px; width: 122px; padding: 5px 0; border: 1px solid #ebeef5; border-radius: 4px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.market-export-menu button { width: 100%; height: 30px; padding: 0 12px; border: 0; background: #fff; color: #606266; text-align: left; font-size: 12px; }
.market-export-menu button:hover { background: #f1f7fb; color: var(--ui-accent-ink, #a21c27); }
.market-columns-popover { position: absolute; z-index: 100; top: 34px; right: -4px; width: 170px; padding: 8px 0 0; border: 1px solid #ebeef5; border-radius: 3px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.market-column-options { max-height: 280px; overflow: auto; }
.market-column-option { height: 30px; padding: 0 13px; display: flex; align-items: center; gap: 8px; color: #606266; font-size: 12px; }
.market-column-option input { width: 14px; height: 14px; margin: 0; accent-color: var(--ui-primary, #b8202b); }
.market-column-fixed { color: #909399; }
.market-columns-popover footer { height: 42px; padding: 6px 12px; display: flex; justify-content: flex-end; border-top: 1px solid #ebeef5; }
.market-columns-popover footer button { width: 50px; height: 26px; border: 0; border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; font-size: 12px; }

.market-table-frame { height: auto; min-height: 0; overflow: auto; border: 1px solid #ebeef5; }
.market-table-frame { scrollbar-width: none; }
.market-table-frame::-webkit-scrollbar { width: 0; height: 0; }
.market-table { width: 100%; min-width: 1445px; border-collapse: collapse; table-layout: fixed; color: #000; }
.market-table th { position: relative; height: 40px; padding: 0 10px; border-right: 1px solid #fff; border-bottom: 1px solid #ebeef5; background: var(--ui-primary-soft, #fbeaec); color: #444; font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; }
.market-table td { position: relative; height: 40px; padding: 0 10px; overflow: hidden; border-right: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5; background: #fff; color: #000; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.market-table tbody tr:hover td { background: #f7fbfe; }
.market-table .market-index { width: 40px; padding: 0 4px; text-align: center; }
.market-table .market-operation { width: 40px; padding: 0; text-align: center; }
.market-link { max-width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); text-overflow: ellipsis; white-space: nowrap; }
.market-row-view { width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); font-size: 14px; }
.market-empty-cell { height: 572px; display: grid; place-items: center; }
.market-empty { display: grid; place-items: center; gap: 10px; color: #606266; font-size: 12px; }
.market-empty b { font-weight: 400; }
.market-empty-icon { position: relative; width: 48px; height: 31px; display: block; border: 5px solid var(--ui-primary, #b8202b); border-radius: 7px 7px 12px 12px; }
.market-empty-icon::before { content: ""; position: absolute; top: -13px; left: 11px; width: 16px; height: 9px; border-top: 5px solid var(--ui-primary, #b8202b); border-left: 5px solid var(--ui-primary, #b8202b); transform: rotate(45deg); }
.market-pagination { height: 64px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #000; font-size: 12px; }
.market-pagination > button { width: 36px; height: 28px; border: 0; background: #fff; color: var(--ui-muted, #716a70); font-size: 18px; }
.market-pagination > b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px; background: var(--ui-primary, #b8202b); color: #fff; font-weight: 400; }
.market-pagination label { display: flex; align-items: center; gap: 7px; color: var(--ui-muted, #716a70); }
.market-pagination input { width: 36px; height: 28px; border: 0; border-radius: 6px; background: #f4f5f9; text-align: center; }

.market-modal-backdrop { position: fixed; z-index: 180; inset: 0; padding: 20px 0; display: flex; align-items: flex-start; justify-content: center; overflow: auto; background: rgba(0,0,0,.48); }
.market-modal, .market-detail-modal { width: 90vw; display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; background: #f4f5f9; box-shadow: 0 20px 60px rgba(0,0,0,.22); }
.market-modal { height: calc(100dvh - 150.4px); min-height: 600px; max-height: 713.6px; }
.market-modal.fullscreen { width: 100vw; height: 100vh; max-height: none; }
.market-modal > header, .market-detail-modal > header { height: 34px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; flex: 0 0 34px; background: linear-gradient(100deg,var(--ui-primary, #b8202b),var(--ui-primary, #b8202b)); color: #fff; }
.market-modal h2, .market-detail-modal h2 { margin: 0; font-size: 18px; font-weight: 400; }
.market-modal header button, .market-detail-modal header button { width: 28px; height: 32px; padding: 0; border: 0; background: transparent; color: #fff; }
.market-modal > main { margin: 7px 24px 0; padding: 22px 56px 0; overflow: auto; flex: 1; background: #fff; }
.market-form-grid { display: grid; grid-template-columns: 509.3px 509.3px; column-gap: 203.8px; row-gap: 20px; }
.market-form-item { min-width: 0; display: flex; align-items: center; }
.market-form-item > span { width: 110px; height: 32px; flex: 0 0 110px; padding-right: 10px; color: #606266; font-size: 14px; line-height: 32px; text-align: right; }
.market-form-item > span em { margin-right: 4px; color: #f56c6c; font-style: normal; }
.market-form-item input, .market-form-item select { width: 100%; height: 32px; padding: 0 12px; border: 1px solid #dcdfe6; border-radius: 4px; outline: 0; background: #fff; color: #606266; font-size: 14px; }
.market-form-item input:disabled { background: #f5f7fa; color: var(--ui-muted, #716a70); }
.market-select-wrap { position: relative; width: 100%; }
.market-select-display { width: 100%; height: 32px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff; color: #606266; font-size: 14px; text-align: left; }
.market-select-display .icon-arrow-down::before { content: "\E648"; }
.market-select-menu { position: absolute; z-index: 210; top: 36px; right: 0; left: 0; padding: 5px 0; border: 1px solid #ebeef5; border-radius: 4px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.market-select-menu button { width: 100%; height: 30px; padding: 0 12px; border: 0; background: #fff; color: #606266; text-align: left; font-size: 13px; }
.market-select-menu button:hover { background: #f1f7fb; color: var(--ui-accent-ink, #a21c27); }
.market-form-description { margin-top: 20px; }
.market-form-description > .market-form-item, .market-form-attachment > .market-form-item { align-items: flex-start; }
.market-form-description > .market-form-item > span, .market-form-attachment > .market-form-item > span { padding-top: 4px; }
.market-form-description > .market-form-item { display: block; position: relative; padding-left: 0; }
.market-form-description > .market-form-item > span { position: absolute; left: 0; top: 0; width: 110px; }
.market-editor-toolbar, .market-editor-selects, .market-editor { width: calc(100% - 6px); margin-left: 6px; }
.market-editor-toolbar { margin-top: 72.6px; }
.market-editor-selects { margin-top: 9px; }
.market-editor-toolbar { min-height: 34px; display: flex; flex-wrap: wrap; align-items: center; border: 1px solid #dcdfe6; border-bottom: 0; background: #fff; }
.market-editor-toolbar button, .market-editor-selects button { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: #606266; font-size: 14px; }
.market-editor-toolbar button:hover, .market-editor-selects button:hover { background: #f1f7fb; color: var(--ui-accent-ink, #a21c27); }
.market-editor-selects { display: flex; border: 1px solid #dcdfe6; border-top: 0; }
.market-editor-selects button { width: 130px; border-right: 1px solid #ebeef5; text-align: left; padding-left: 12px; }
.market-editor { min-height: 202px; padding: 10px 12px; border: 1px solid #dcdfe6; outline: 0; color: #303133; font-size: 14px; line-height: 1.8; }
.market-editor:empty::before { content: attr(data-placeholder); color: var(--ui-muted, #716a70); }
.market-word-count { width: calc(100% - 6px); height: 18px; margin-left: 6px; color: #909399; font-size: 12px; text-align: right; line-height: 18px; }
.market-form-attachment { margin-top: 21.2px; }
.market-form-attachment > .market-form-item { display: block; }
.market-form-attachment > .market-form-item > span { display: block; }
.market-form-attachment .market-upload-button { margin-top: 18px; }
.market-upload-button { width: 120px; height: 32px; padding: 0 14px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; font-size: 12px; }
.market-file-row { min-height: 28px; display: flex; align-items: center; gap: 8px; color: #606266; font-size: 12px; }
.market-file-row span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-file-row button { width: 22px; height: 22px; padding: 0; border: 0; background: transparent; color: #909399; }
.market-modal > footer, .market-detail-modal > footer { height: 58px; display: flex; align-items: center; justify-content: center; gap: 44px; flex: 0 0 58px; }
.market-modal > footer button, .market-detail-modal > footer button { width: 120px; height: 32px; border: 0; border-radius: 3px; font-size: 12px; }
.market-modal > footer button { transform: translate(-15px, -7px); }
.market-cancel, .market-detail-modal footer button { background: var(--ui-primary-soft, #fbeaec); color: #606266; }
.market-submit { background: var(--ui-primary, #b8202b); color: #fff; }
.market-detail-modal { height: 360px; }
.market-detail-modal > main { margin: 7px 24px 0; padding: 24px 40px; overflow: auto; flex: 1; background: #fff; }
.market-detail-modal h1 { margin: 0; color: #303133; font-size: 22px; font-weight: 400; text-align: center; }
.market-detail-meta { margin: 20px 0; display: flex; justify-content: center; gap: 70px; color: #606266; font-size: 13px; }
.market-detail-modal article { color: #303133; font-size: 14px; line-height: 1.9; }

@media (max-width: 1100px) {
  .market-toolbar-right { gap: 3px; }
  .market-view-switch { width: 210px; }
  .market-action-button { width: 82px; padding: 0 5px; }
  .market-form-grid { grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (max-width: 820px) {
  .app-shell.internal-market-shell { height: auto; min-height: 100dvh; grid-template-rows: 60px 46px minmax(calc(100dvh - 106px),auto); }
  .app-shell.internal-market-shell .topbar { height: 60px; }
  .app-shell.internal-market-shell .tab-strip { position: static; width: 100%; height: 46px; margin: 0; padding: 0; }
  .app-shell.internal-market-shell .workspace-wrap { grid-row: 3; padding: 0; }
  .market-page { min-height: calc(100dvh - 106px); padding: 0 10px; border-radius: 0; }
  .market-toolbar { height: 108px; align-items: flex-start; flex-direction: column; justify-content: center; overflow-x: auto; }
  .market-main { grid-template-rows: 108px minmax(0, 1fr) 64px; }
  .market-toolbar-right { flex: 0 0 auto; }
  .market-table-frame { height: auto; min-height: 0; }
  .market-form-grid { grid-template-columns: 1fr; row-gap: 12px; }
  .market-modal { width: calc(100vw - 16px); height: calc(100dvh - 16px); min-height: 0; }
}
