:root {
  --bg: #eef3f7;
  --bg-soft: #f5f7fa;
  --panel: #ffffff;
  --panel-alt: #fafbfd;
  --line: #d7e0ea;
  --line-strong: #c9d4df;
  --text: #243447;
  --text-strong: #1f2d3d;
  --muted: #6b7c93;
  --primary: #1779c6;
  --primary-strong: #0e66b0;
  --primary-soft: #e8f3fb;
  --sidebar: #157ec9;
  --sidebar-strong: #116eb2;
  --success: #1e9b6c;
  --warning: #d79317;
  --danger: #d6544b;
  --shadow: 0 1px 3px rgba(15, 35, 64, 0.06);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

input[type="checkbox"],
input[type="radio"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #1779c6;
  cursor: pointer;
  vertical-align: middle;
}

button {
  cursor: pointer;
}

h3,
h4,
h5,
p {
  margin-top: 0;
}

.topbar {
  height: 60px;
  padding: 0 20px;
  border-bottom: 1px solid #dfe6ee;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.topbar-left,
.topbar-brand,
.topbar-nav,
.topbar-user,
.toolbar-actions,
.section-title-row,
.panel-header,
.contract-group-header,
.filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-left {
  min-width: 0;
  flex: 0 0 auto;
  gap: 24px;
  justify-content: flex-start;
}

.topbar-brand {
  min-width: 0;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #1687d3, #0f72bb);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.1;
  color: var(--text-strong);
}

.brand-copy span {
  font-size: 10px;
  color: #8a9aae;
  letter-spacing: 0.05em;
}

.brand-divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: #dce4ed;
  margin: 0 6px;
  vertical-align: middle;
}

.brand-system {
  font-size: 15px;
  font-weight: 700;
  color: #1779c6;
  white-space: nowrap;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-nav-item {
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #46586c;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar-nav-item:hover,
.topbar-nav-item.active {
  color: var(--primary-strong);
  background: #edf5fc;
}

.topbar-user {
  flex: 0 0 auto;
  color: #4c6076;
  font-size: 12px;
  white-space: nowrap;
}

.topbar-user-meta {
  color: #7b8ca0;
  padding-left: 12px;
  border-left: 1px solid #dce4ed;
}

.app-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: calc(100vh - 60px);
}

.sidebar {
  position: sticky;
  top: 60px;
  z-index: 50;
  height: calc(100vh - 60px);
  overflow: auto;
  padding: 14px 0;
  background: linear-gradient(180deg, var(--sidebar), var(--sidebar-strong));
  color: #fff;
}

.sidebar-section-title {
  height: 36px;
  margin: 0 12px 8px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
}

.sidebar-toggle-mark {
  width: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
}

.nav-menu {
  display: grid;
  gap: 2px;
  padding: 0 12px;
}

.nav-item {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-item-icon {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 3px;
  flex: 0 0 14px;
  opacity: 0.9;
}

.nav-item-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.nav-item-hidden {
  display: none;
}

.nav-item-desc,
.brand-block,
.brand-mark {
  display: none;
}

.main-shell {
  min-width: 0;
}

.content-area {
  padding: 12px 16px 18px;
  min-width: 0;
}

.page-tab-bar {
  height: 40px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-tab {
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  color: #617385;
  font-size: 13px;
}

.page-tab.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 700;
}

.page-shortcut {
  margin-left: auto;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.panel,
.hero-panel,
.info-card,
.org-tree-card,
.contract-panel,
.contract-performance-card,
.field-section,
.project-summary,
.detail-header {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.panel,
.info-card {
  padding: 16px;
  margin-bottom: 12px;
}

.hero-panel {
  padding: 18px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
}

.hero-panel h3,
.panel h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-strong);
}

.hero-copy,
.muted,
.filter-hint,
.section-tip,
.subtext {
  color: var(--muted);
}

.hero-copy {
  max-width: 820px;
  font-size: 13px;
}

.eyebrow {
  margin: 0 0 6px;
  color: #6c7d90;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-stats,
.stats-grid,
.panel-grid,
.summary-grid,
.info-list,
.contract-performance-grid,
.form-grid,
.association-result,
.form-stack,
.upload-grid {
  display: grid;
  gap: 12px;
}

.hero-stats {
  grid-template-columns: 1fr;
}

.hero-stat,
.stat-card,
.result-block,
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-alt);
}

.hero-stat,
.stat-card {
  padding: 14px 16px;
}

.hero-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  color: var(--text-strong);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.stat-card .stat-value {
  margin: 10px 0 6px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-strong);
}

.stat-card p {
  margin-bottom: 0;
  font-size: 13px;
}

.panel-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-header,
.contract-group-header,
.section-title-row {
  justify-content: space-between;
  align-items: flex-start;
}

.panel-header {
  margin-bottom: 8px;
}

.panel-header h3,
.contract-group-header h4,
.section-title-row h4,
.info-card h4,
.contract-performance-section h4 {
  margin: 0;
  font-size: 16px;
  color: var(--text-strong);
}

.detail-page-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.detail-main {
  min-width: 0;
}

.org-tree-panel {
  position: sticky;
  top: 72px;
}

.org-tree-card {
  padding: 14px;
}

.org-tree-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 13px;
  color: var(--text-strong);
}

.org-tree-toggle input {
  width: auto;
}

.org-tree-search {
  display: block;
  margin-bottom: 10px;
}

.org-tree-list {
  max-height: 620px;
  overflow: auto;
  display: grid;
  gap: 2px;
  padding-right: 2px;
}

.org-tree-node {
  display: grid;
  gap: 2px;
}

.org-tree-button {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #2f4258;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
}

.org-tree-button:hover {
  background: #f6f9fc;
  border-color: #e1e8f0;
}

.org-tree-button.active {
  color: var(--primary-strong);
  background: #edf5fc;
  border-color: #c7ddf1;
}

.org-tree-caret {
  width: 14px;
  color: #8090a3;
  flex: 0 0 14px;
}

.org-tree-label {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.table-wrap {
  margin-top: 10px;
  overflow: auto;
  position: relative;
}

.brief-report-panel {
  padding-bottom: 18px;
}

.brief-report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.brief-report-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.key-enterprise-filter-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: flex-end;
  width: 100%;
}

.key-enterprise-header-actions {
  margin-left: auto;
}

.brief-report-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.brief-report-tabs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brief-report-tabs-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.brief-report-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.brief-report-filter input {
  width: 190px;
  height: 36px;
  padding: 0 10px;
}

.key-enterprise-filter-group .brief-report-filter {
  min-width: 0;
}

.key-enterprise-filter-group .brief-report-filter > input,
.key-enterprise-filter-group .brief-report-filter > select,
.key-enterprise-filter-group .brief-report-filter > .key-enterprise-filter-range {
  flex: 1 1 auto;
  min-width: 0;
}

.key-enterprise-filter-group .brief-report-filter input,
.key-enterprise-filter-group .brief-report-filter select {
  width: 100%;
}

.key-enterprise-filter-date > span,
.key-enterprise-filter-region-type > span,
.key-enterprise-filter-data-source > span {
  flex: 0 0 56px;
}

.key-enterprise-filter-amount > span,
.key-enterprise-filter-region-name > span {
  flex: 0 0 92px;
}

.key-enterprise-filter-group .brief-report-filter input[type="number"]::-webkit-outer-spin-button,
.key-enterprise-filter-group .brief-report-filter input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
}

.key-enterprise-filter-range {
  min-width: 0;
}

.key-enterprise-filter-range input {
  width: 100%;
}

.brief-report-filter span {
  white-space: nowrap;
}

.brief-report-filter-compact {
  gap: 0;
}

.brief-report-filter-category {
  margin-left: 18px;
  position: relative;
}

.brief-report-filter select {
  min-width: 110px;
  height: 36px;
  padding: 0 10px;
}

.brief-report-category-picker {
  position: relative;
}

.brief-report-category-trigger {
  min-width: 136px;
  max-width: 156px;
  height: 36px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  text-align: left;
  position: relative;
}

.brief-report-category-trigger-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brief-report-category-trigger-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #5e7085;
  border-bottom: 1.5px solid #5e7085;
  transform: translateY(-60%) rotate(45deg);
}

.brief-report-category-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 120;
  width: 240px;
  max-width: min(240px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 28px rgba(28, 50, 84, 0.18);
  overflow: hidden;
}

.brief-report-category-panel-header {
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #e3ebf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fbfe;
}

.brief-report-category-clear {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.brief-report-category-columns {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  min-height: 176px;
  max-height: 240px;
  overflow: auto;
}

.brief-report-category-column {
  min-width: 0;
  border-right: 1px solid #edf2f7;
  padding: 6px 0;
}

.brief-report-category-column:last-child {
  border-right: none;
}

.brief-report-category-item {
  min-height: 34px;
  padding: 0 6px 0 8px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 4px;
}

.brief-report-category-item:hover,
.brief-report-category-item.is-active {
  background: #edf5fc;
}

.brief-report-category-check {
  display: grid;
  place-items: center;
}

.brief-report-category-check input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.brief-report-category-node,
.brief-report-category-next {
  border: none;
  background: transparent;
}

.brief-report-category-node {
  min-width: 0;
  padding: 5px 0;
  text-align: left;
}

.brief-report-category-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #2b4258;
  font-size: 13px;
}

.brief-report-category-next {
  width: 20px;
  height: 20px;
  position: relative;
}

.brief-report-category-next::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #6c7f94;
  border-right: 1.5px solid #6c7f94;
  transform: rotate(45deg);
}

.brief-report-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.brief-report-note {
  margin: 0 0 12px;
  border-left: 4px solid #8bb6d9;
  background: linear-gradient(180deg, #f8fbfe 0%, #f1f6fb 100%);
}

.brief-report-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.brief-report-summary .summary-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.brief-report-summary .summary-item strong {
  display: block;
  margin-bottom: 6px;
  color: #35506c;
  font-size: 13px;
}

.brief-report-summary .summary-item span {
  display: block;
  color: var(--text-strong);
  font-size: 22px;
  font-weight: 700;
}

.brief-report-summary .summary-item .subtext {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
}

.brief-report-chart-card {
  margin-bottom: 14px;
  padding: 14px 16px 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.brief-report-insight {
  margin-bottom: 8px;
  color: #34506a;
  font-size: 13px;
  line-height: 1.7;
}

.brief-report-insight p {
  margin: 0 0 4px;
}

.brief-report-insight p:last-child {
  margin-bottom: 0;
}

.brief-report-chart-wrap {
  overflow-x: auto;
}

.brief-report-chart {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  min-width: 860px;
  height: auto;
}

.brief-report-chart-grid {
  stroke: #dbe5ef;
  stroke-width: 1;
}

.brief-report-chart-line {
  fill: none;
  stroke: #5f8ee6;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brief-report-chart-point {
  fill: #5f8ee6;
  stroke: #ffffff;
  stroke-width: 1.5;
}

.brief-report-chart-axis-label,
.brief-report-chart-x-label,
.brief-report-chart-value {
  fill: #4d6076;
  font-size: 11px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

.brief-report-chart-value {
  fill: #374a60;
  font-size: 10px;
  font-weight: 700;
}

.brief-report-chart-caption {
  margin: 8px 0 0;
  text-align: center;
  color: #2f4962;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.monthly-overview-table {
  margin-top: 0;
  margin-bottom: 14px;
}

.monthly-business-report-table-actions {
  justify-content: flex-start;
  margin-bottom: 10px;
}

.monthly-overview-table table {
  min-width: 1980px;
}

.monthly-overview-table thead th {
  text-align: center;
  vertical-align: middle;
  color: #24435a;
  border: 1px solid #8eaec6;
  background: #c7d3de;
}

.monthly-overview-table .monthly-overview-sticky-col {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  white-space: nowrap;
  background-clip: padding-box;
  box-shadow: 1px 0 0 #d6e3ed;
}

.monthly-overview-table .monthly-overview-narrow-col {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  white-space: normal;
  word-break: break-all;
  line-height: 1.35;
}

.monthly-overview-table thead tr:first-child th {
  background: #b8c7d5;
  font-size: 14px;
}

.monthly-overview-table thead .monthly-overview-sticky-col {
  z-index: 5;
  background: #b8c7d5;
  box-shadow: 1px 0 0 #8eaec6;
}

.monthly-overview-table tbody td {
  text-align: right;
  border: 1px solid #d6e3ed;
  background: #f8fbfe;
}

.monthly-overview-table tbody td:first-child {
  text-align: left;
  background: #edf3f8;
  color: #28445c;
  font-weight: 700;
}

.monthly-overview-table tbody .monthly-overview-sticky-col {
  background: #edf3f8;
}

.monthly-overview-table tbody tr.is-total td {
  background: #d9eff3;
}

.monthly-overview-table tbody tr.is-total td:first-child {
  background: #cfe7ec;
}

.monthly-overview-table tbody tr.is-total .monthly-overview-sticky-col {
  background: #cfe7ec;
}

.monthly-overview-table tbody tr.is-section td {
  background: #e8eff5;
  color: #28445c;
  font-weight: 700;
}

.monthly-overview-table tbody tr.is-section td:not(:first-child) {
  text-align: center;
}

.monthly-overview-table tbody tr.is-section .monthly-overview-sticky-col {
  background: #e8eff5;
}

.monthly-overview-table tbody tr:hover .monthly-overview-sticky-col {
  background: #f8fbfe;
}

.monthly-overview-table tbody tr.is-total:hover .monthly-overview-sticky-col {
  background: #cfe7ec;
}

.monthly-overview-table tbody tr.is-section:hover .monthly-overview-sticky-col {
  background: #e8eff5;
}

.monthly-overview-table .label-level-1 {
  padding-left: 20px;
}

.monthly-overview-table .label-level-2 {
  padding-left: 34px;
}

.monthly-overview-table .label-level-3 {
  padding-left: 48px;
}

.monthly-brief-table {
  margin-top: 0;
}

.monthly-brief-table table {
  min-width: 1180px;
}

.monthly-brief-table thead th {
  text-align: center;
  vertical-align: middle;
  color: #29445a;
  border: 1px solid #8eaec6;
  background: #cbd7e2;
}

.monthly-brief-table thead tr:first-child th {
  background: #bccbda;
  font-size: 14px;
}

.monthly-brief-table tbody td {
  text-align: right;
  border: 1px solid #d6e3ed;
}

.monthly-brief-table tbody td:first-child,
.monthly-brief-table tbody td:nth-child(2) {
  text-align: center;
  background: #f3f7fb;
  color: #28445c;
  font-weight: 700;
}

.monthly-brief-table tbody tr:nth-child(1) td:not(:first-child):not(:nth-child(2)) {
  background: #d9eff3;
}

.monthly-brief-table tbody tr:nth-child(2) td:not(:first-child):not(:nth-child(2)),
.monthly-brief-table tbody tr:nth-child(3) td:not(:first-child):not(:nth-child(2)) {
  background: #f8fbfe;
}

.monthly-brief-table .is-current-period {
  background: #fff3cd !important;
  color: #7a5311;
  font-weight: 700;
}

.monthly-brief-table tbody tr:hover td {
  background: inherit;
}

.key-enterprise-note {
  margin-bottom: 14px;
}

.key-enterprise-table-actions {
  justify-content: flex-start;
  margin-bottom: 10px;
}

.key-enterprise-performance-table {
  margin-top: 0;
  max-height: calc(100vh - 250px);
  overflow: auto;
}

.key-enterprise-performance-table table {
  min-width: 2680px;
}

.key-enterprise-performance-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  text-align: center;
  vertical-align: middle;
  color: #24435a;
  border: 1px solid #8eaec6;
  background: #c7d3de;
  white-space: nowrap;
}

.key-enterprise-performance-table thead tr:first-child th {
  top: 0;
}

.key-enterprise-performance-table thead tr:first-child th {
  background: #b8c7d5;
  font-size: 14px;
}

.key-enterprise-performance-table thead tr:nth-child(2) th {
  top: 41px;
}

.key-enterprise-performance-table .key-enterprise-sticky-col {
  position: sticky;
  left: 0;
  z-index: 4;
  min-width: 260px;
  width: 260px;
  max-width: 260px;
  text-align: left;
  background-clip: padding-box;
  box-shadow: 1px 0 0 #d6e3ed;
}

.key-enterprise-performance-table thead .key-enterprise-sticky-col {
  z-index: 7;
  background: #b8c7d5;
  box-shadow: 1px 0 0 #8eaec6;
}

.key-enterprise-performance-table thead tr:nth-child(2) .key-enterprise-sticky-col {
  top: 41px;
}

.key-enterprise-performance-table .key-enterprise-metric-col {
  min-width: 102px;
  width: 102px;
}

.key-enterprise-performance-table .key-enterprise-count-col {
  min-width: 88px;
  width: 88px;
}

.key-enterprise-sort-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.key-enterprise-sort-icons {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.key-enterprise-sort-toggle {
  width: 10px;
  min-width: 10px;
  height: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: #6e8398;
  font-size: 9px;
  line-height: 0.65;
  transform: scaleX(1.35) scaleY(0.7);
  transform-origin: center;
}

.key-enterprise-sort-toggle:hover {
  background: transparent;
  color: #35506c;
}

.key-enterprise-sort-toggle.is-active {
  color: #1f5f96;
}

.key-enterprise-performance-table tbody td {
  text-align: right;
  border: 1px solid #d6e3ed;
  background: #f8fbfe;
}

.key-enterprise-performance-table tbody td:first-child {
  text-align: left;
  background: #edf3f8;
  color: #28445c;
  font-weight: 700;
}

.key-enterprise-category-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
}

.key-enterprise-category-cell.is-child {
  padding-left: 22px;
}

.key-enterprise-category-label {
  min-width: 0;
  flex: 1;
}

.key-enterprise-tree-toggle,
.key-enterprise-tree-toggle-spacer {
  width: 14px;
  min-width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.key-enterprise-tree-toggle {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
}

.key-enterprise-tree-toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #5f7690;
  transition: transform 0.16s ease;
  transform-origin: 35% 50%;
}

.key-enterprise-tree-toggle.is-expanded::before {
  transform: rotate(90deg);
}

.key-enterprise-tree-toggle:hover::before {
  border-left-color: #1f5f96;
}

.key-enterprise-performance-table tbody .key-enterprise-sticky-col {
  background: #edf3f8;
}

.key-enterprise-performance-table tbody tr.is-child-row td {
  background: #fbfdff;
}

.key-enterprise-performance-table tbody tr.is-child-row td:first-child {
  background: #f4f8fc;
  font-weight: 600;
}

.key-enterprise-performance-table tbody tr.is-group-start td {
  border-top: 2px solid #9ab4c9;
}

.key-enterprise-performance-table tbody tr:hover td {
  background: #f1f7fc;
}

.key-enterprise-performance-table tbody tr:hover .key-enterprise-sticky-col {
  background: #e2edf7;
}

.key-enterprise-performance-table tbody tr.is-child-row:hover td {
  background: #f5f9fd;
}

.key-enterprise-performance-table tbody tr.is-child-row:hover .key-enterprise-sticky-col {
  background: #e8f0f8;
}

.bid-analysis-board {
  padding-bottom: 20px;
}

.bid-analysis-header {
  margin-bottom: 14px;
}

.bid-analysis-filter-panel {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}

.bid-analysis-filter-panel h4 {
  margin: 0;
  font-size: 15px;
  color: var(--text-strong);
}

.bid-analysis-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.bid-analysis-filter {
  display: grid;
  gap: 6px;
}

.bid-analysis-filter > span {
  color: #63778c;
  font-size: 12px;
  font-weight: 700;
}

.bid-analysis-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bid-analysis-tabs {
  margin-top: 0;
}

.bid-analysis-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 14px;
  margin-bottom: 14px;
}

.bid-analysis-sub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
  margin-bottom: 14px;
}

.bid-analysis-section {
  margin-bottom: 0;
}

.bid-analysis-region-section {
  margin-bottom: 14px;
}

.bid-analysis-region-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bid-analysis-region-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d7e4ee;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 16px;
}

.bid-analysis-region-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bid-analysis-region-card-header h5 {
  margin: 0;
  font-size: 16px;
  color: #264258;
}

.bid-analysis-region-card-body {
  flex: 1;
  min-height: 360px;
}

.bid-analysis-region-chart-layout {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.bid-analysis-region-pie-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bid-analysis-region-pie {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(31, 120, 209, 0.08);
}

.bid-analysis-region-pie::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e0e9f1;
}

.bid-analysis-region-pie-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4b6278;
}

.bid-analysis-region-pie-center span {
  font-size: 14px;
  font-weight: 700;
}

.bid-analysis-region-pie-center strong {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1;
  color: #173854;
}

.bid-analysis-region-pie-center small {
  margin-top: 4px;
  font-size: 12px;
}

.bid-analysis-region-legend {
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bid-analysis-region-legend-spread {
  height: 100%;
  grid-auto-rows: 1fr;
  align-content: stretch;
}

.bid-analysis-region-legend-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe6ef;
  border-radius: 12px;
  background: #fbfdff;
}

.bid-analysis-region-legend-spread .bid-analysis-region-legend-item {
  align-content: center;
}

.bid-analysis-region-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
}

.bid-analysis-region-legend-main {
  min-width: 0;
}

.bid-analysis-region-legend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.bid-analysis-region-legend-head strong {
  color: #203b52;
}

.bid-analysis-region-legend-head span {
  color: #1f78d1;
  font-weight: 700;
}

.bid-analysis-region-legend-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 6px;
  color: #5b7287;
  font-size: 12px;
}

.bid-analysis-region-legend-main p {
  margin: 0;
  color: #52697e;
  font-size: 12px;
  line-height: 1.5;
}

.bid-analysis-region-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px dashed #cddae5;
  border-radius: 12px;
  color: #6e8397;
}

.bid-analysis-city-chart-shell {
  margin-top: 6px;
}

.bid-analysis-city-chart-hint {
  margin-bottom: 10px;
  color: #60778c;
  font-size: 12px;
}

.bid-analysis-city-chart-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
}

.bid-analysis-city-chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(56px, 1fr);
  gap: 12px;
  align-items: end;
  min-width: max-content;
  min-height: 360px;
  padding: 12px 8px 0;
}

.bid-analysis-city-bar-item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  width: 56px;
  min-height: 320px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.bid-analysis-city-bar-item:hover .bid-analysis-city-bar-fill,
.bid-analysis-city-bar-item:focus-visible .bid-analysis-city-bar-fill {
  background: linear-gradient(180deg, #1a88e0 0%, #0d66c2 100%);
  box-shadow: 0 10px 18px rgba(21, 112, 196, 0.18);
}

.bid-analysis-city-bar-item:focus-visible {
  outline: 2px solid #8dc1f2;
  outline-offset: 4px;
}

.bid-analysis-city-bar-value {
  color: #2c4b67;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.bid-analysis-city-bar-track {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  height: 240px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #eef4fa 0%, #dde8f2 100%);
  box-shadow: inset 0 0 0 1px #d4e0eb;
}

.bid-analysis-city-bar-fill {
  width: 32px;
  min-height: 8%;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #4aa5f0 0%, #1f78d1 100%);
  transition: height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.bid-analysis-city-bar-label {
  color: #35506c;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  word-break: break-all;
}

.bid-analysis-city-chart-empty,
.bid-analysis-city-modal-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px dashed #d2dde7;
  border-radius: 12px;
  color: #73889c;
}

.bid-analysis-city-modal {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
}

.bid-analysis-city-modal-content {
  overflow: auto;
}

.bid-analysis-city-modal-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.bid-analysis-city-modal-metric {
  padding: 14px 16px;
  border: 1px solid #d8e4ee;
  border-radius: 14px;
  background: linear-gradient(180deg, #fafdff 0%, #f2f8fd 100%);
}

.bid-analysis-city-modal-metric span {
  display: block;
  color: #70859a;
  font-size: 12px;
}

.bid-analysis-city-modal-metric strong {
  display: block;
  margin-top: 8px;
  color: #23415a;
  font-size: 20px;
  line-height: 1.2;
}

.bid-analysis-city-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bid-analysis-city-rank-card {
  padding: 16px;
  border: 1px solid #dbe5ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.bid-analysis-city-rank-card strong {
  color: #1f78d1;
  font-size: 13px;
}

.bid-analysis-city-rank-card h4 {
  margin: 10px 0 8px;
  color: #223c54;
  font-size: 18px;
  line-height: 1.5;
}

.bid-analysis-city-rank-card p {
  margin: 0;
  color: #60788d;
  font-size: 13px;
  line-height: 1.6;
}

.bid-analysis-unit-table-wrap {
  max-height: 620px;
  overflow-y: auto;
}

.bid-analysis-unit-table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.bid-analysis-table {
  margin-top: 0;
}

.bid-analysis-table table {
  min-width: 100%;
}

.bid-analysis-table thead th {
  text-align: center;
  vertical-align: middle;
  color: #29445a;
  border: 1px solid #8eaec6;
  background: #cbd7e2;
}

.bid-analysis-table thead tr:first-child th {
  background: #bccbda;
  font-size: 14px;
}

.bid-analysis-table tbody td {
  border: 1px solid #d6e3ed;
  text-align: center;
  vertical-align: middle;
  background: #f8fbfe;
}

.bid-analysis-table tbody td:first-child {
  text-align: left;
  background: #edf3f8;
  color: #28445c;
  font-weight: 700;
}

.bid-analysis-table tbody tr:hover td {
  background: #f1f7fc;
}

.bid-analysis-table tbody tr:hover td:first-child {
  background: #e2edf7;
}

.bid-analysis-ranking-list {
  display: grid;
  gap: 12px;
}

.bid-analysis-ranking-item {
  padding: 12px 14px;
  border: 1px solid #d9e5f0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.bid-analysis-ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.bid-analysis-ranking-head strong {
  color: #29445a;
  font-size: 14px;
}

.bid-analysis-ranking-head span {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 700;
}

.bid-analysis-ranking-bar {
  height: 10px;
  border-radius: 999px;
  background: #e4edf6;
  overflow: hidden;
}

.bid-analysis-ranking-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6aa5d7 0%, #1779c6 100%);
}

.bid-analysis-ranking-item p {
  margin: 8px 0 0;
  color: #607487;
  font-size: 12px;
}

.bid-analysis-focus-list {
  display: grid;
  gap: 10px;
}

.bid-analysis-focus-item {
  padding: 14px;
  border: 1px solid #d8e4ef;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.bid-analysis-focus-item strong {
  display: block;
  margin-bottom: 6px;
  color: #29445a;
  font-size: 15px;
}

.bid-analysis-focus-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-strong);
  font-size: 20px;
  font-weight: 700;
}

.bid-analysis-focus-item p {
  margin: 0;
  color: #63778c;
  font-size: 12px;
  line-height: 1.6;
}

.bid-analysis-mapping-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bid-analysis-mapping-item {
  padding: 14px;
  border: 1px solid #d7e2ec;
  border-radius: var(--radius-md);
  background: #f9fbfd;
}

.bid-analysis-mapping-item strong {
  display: block;
  margin-bottom: 6px;
  color: #29445a;
  font-size: 14px;
}

.bid-analysis-mapping-item p {
  margin: 0;
  color: #63778c;
  font-size: 12px;
  line-height: 1.7;
}

table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 10px 10px;
  border-bottom: 1px solid #e7edf3;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  background: #fff;
  white-space: nowrap;
}

td.detail-merged-amount {
  text-align: center;
  vertical-align: middle;
}

#detail-body td {
  vertical-align: middle;
}

th {
  background: #f5f7fa;
  color: #586a7d;
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:hover {
  background: #f8fbfe;
}

tbody tr:hover td {
  background: #f8fbfe;
}

.detail-table-wrap tbody tr.is-active td {
  background: #eaf4ff;
}

.detail-table-wrap tbody tr.is-active .sticky-col {
  background: #eaf4ff;
}

.detail-table-wrap tbody tr.is-active td:first-child {
  box-shadow: inset 3px 0 0 #6da7d9;
}

.detail-table-wrap tbody tr.is-active .text-button {
  font-weight: 700;
  color: #1f5f96;
}

.detail-table-wrap tbody tr.is-active:hover td,
.detail-table-wrap tbody tr.is-active:hover .sticky-col {
  background: #eaf4ff;
}

.sticky-col {
  position: sticky;
  z-index: 3;
  background: #fff;
  background-clip: padding-box;
}

thead .sticky-col {
  z-index: 5;
  background: #f5f7fa;
}

tbody tr:hover .sticky-col {
  background: #f8fbfe;
}

.sticky-left.select-col {
  left: 0;
  min-width: 44px;
  width: 44px;
  box-shadow: 1px 0 0 #e7edf3;
}

.sticky-left.seq-col {
  left: 44px;
  min-width: 56px;
  width: 56px;
  box-shadow: 1px 0 0 #e7edf3;
}

.sticky-left.name-col {
  left: 100px;
  min-width: 220px;
  width: 220px;
  box-shadow: 8px 0 12px -10px rgba(36, 52, 71, 0.28);
}

.sticky-right.actions-col {
  right: 0;
  min-width: 260px;
  width: 260px;
  box-shadow: -8px 0 12px -10px rgba(36, 52, 71, 0.28);
}

.sticky-right.sign-col {
  right: 260px;
  min-width: 120px;
  width: 120px;
  box-shadow: -1px 0 0 #e7edf3;
}

.sticky-right.report-col {
  right: 380px;
  min-width: 110px;
  width: 110px;
  box-shadow: -1px 0 0 #e7edf3;
}

.sticky-right.actions-col.detail-actions-col {
  min-width: 68px;
  width: 68px;
}

.sticky-right.sign-col.detail-sign-col {
  right: 68px;
  min-width: 84px;
  width: 84px;
}

.detail-actions-col .action-group {
  min-width: 0;
  width: 100%;
  justify-content: center;
  gap: 0;
}

.detail-actions-col .text-button {
  font-size: 12px;
}

td.detail-merged-action {
  text-align: center;
  vertical-align: middle;
}

.select-col {
  text-align: center;
}

.select-col input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.name-col {
  white-space: normal;
}

.actions-col {
  white-space: nowrap;
}

.action-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 252px;
}

.action-group .text-button + .text-button {
  margin-left: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.badge-blue {
  color: #0c67b6;
  background: #e8f2fc;
}

.badge-teal {
  color: #0f7e59;
  background: #e7f7f0;
}

.badge-amber {
  color: #a56b00;
  background: #fff4dd;
}

.badge-red {
  color: #bf3f37;
  background: #fdecea;
}

.badge-slate {
  color: #5f7185;
  background: #edf1f5;
}

.contract-flag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  white-space: nowrap;
}

.contract-flag-supplement {
  color: #9a5c00;
  background: #fff1d6;
  box-shadow: inset 0 0 0 1px #f3d39a;
}

.contract-flag-main {
  color: #1956d1;
  background: linear-gradient(180deg, #eef4ff 0%, #deebff 100%);
  box-shadow: inset 0 0 0 1px #b8cdf9;
}

.subtext {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.primary-button,
.ghost-button,
.text-button,
.tab-button {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.primary-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
}

.primary-button:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.ghost-button {
  border: 1px solid #c7d3df;
  background: #fff;
  color: #35506c;
}

.ghost-button:hover,
.text-button:hover,
.tab-button:hover {
  background: #f5f8fb;
}

.text-button {
  height: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary-strong);
  white-space: nowrap;
}

.text-button + .text-button {
  margin-left: 12px;
}

.primary-button:disabled,
.ghost-button:disabled,
.text-button:disabled,
.tab-button:disabled {
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  color: #98a6b5;
  border-color: #d7e0e8;
  background: transparent;
}

.sync-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #cce7dc;
  border-radius: 999px;
  background: #edf9f3;
  color: #167d58;
  font-size: 12px;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1ea36f;
}

.filters-grid,
.field-grid,
.detail-filter-grid {
  display: grid;
  gap: 12px;
}

.filters-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.detail-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.filters-grid label,
.field-grid label,
.detail-filter-grid label {
  display: grid;
  gap: 6px;
}

.filters-grid span,
.field-grid span,
.detail-filter-grid span {
  color: #63778c;
  font-size: 12px;
  font-weight: 700;
}

.field-readonly-value {
  min-height: 34px;
  padding: 7px 0;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.filter-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  gap: 8px;
}

.filter-range {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

input,
select,
textarea {
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #cbd6e2;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #8dbce2;
  box-shadow: 0 0 0 2px rgba(23, 121, 198, 0.12);
}

.wide {
  grid-column: 1 / -1;
}

.field-section {
  padding: 14px 16px;
}

.relation-picker {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}

.relation-summary {
  flex: 1;
  display: grid;
  gap: 8px;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-alt);
  color: var(--text-strong);
  font-weight: 600;
}

.relation-link {
  justify-self: start;
  font-size: 13px;
  font-weight: 600;
}

.relation-result-grid {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 12px;
  width: 100%;
}

.relation-result-grid .result-block strong {
  display: block;
  margin-bottom: 6px;
  color: #63778c;
  font-size: 12px;
}

.relation-result-grid .result-block span {
  color: var(--text-strong);
  font-weight: 600;
  word-break: break-word;
}

.form-stack {
  grid-template-columns: 1fr;
}

.upload-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-alt);
}

.upload-label {
  min-width: 220px;
  color: var(--text-strong);
  font-weight: 600;
}

.upload-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.upload-actions.readonly-mode {
  justify-content: flex-end;
}

.upload-actions.readonly-mode .upload-filename {
  color: var(--text-strong);
  font-weight: 600;
}

.upload-filename {
  min-width: 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 34px;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

.radio-option input {
  width: auto;
  min-height: 0;
  margin: 0;
}

.risk-block {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-alt);
}

.conditional-upload {
  margin-top: 10px;
}

.notice-banner,
.rules-banner,
.link-banner,
.empty-state {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
}

.notice-banner {
  border: 1px solid #cfe0f1;
  background: #f2f8fd;
  color: #3b5b79;
}

.rules-banner {
  margin-top: 12px;
  border: 1px dashed #c9d7e5;
  background: #fafcfe;
  color: #617385;
}

.link-banner {
  margin-top: 12px;
  border: 1px solid #cee6da;
  background: #f3fbf7;
  color: #266d56;
}

.empty-state {
  border: 1px dashed #d4dde7;
  background: #fafbfd;
  color: #6d7e92;
  text-align: center;
}

.project-summary,
.detail-header {
  margin-top: 12px;
  padding: 6px 10px;
}

.summary-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.detail-header .summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  gap: 10px;
}

.detail-header .summary-item {
  min-width: 0;
  text-align: left;
  height: 100%;
}

.detail-header .detail-metric-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8px 12px 7px;
  border: 1px solid rgba(67, 109, 168, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 6px 16px rgba(25, 54, 104, 0.07);
}

.detail-header .summary-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.detail-header .metric-awarded .summary-card-head,
.detail-header .metric-unsigned .summary-card-head,
.detail-header .metric-rate .summary-card-head {
  transform: translateY(8px);
}

.detail-header .summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  flex: 0 0 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.detail-header .summary-icon svg {
  width: 16px;
  height: 16px;
}

.detail-header .metric-awarded .summary-icon {
  color: #0f7a53;
  background: linear-gradient(135deg, rgba(14, 166, 106, 0.18), rgba(14, 166, 106, 0.08));
}

.detail-header .metric-unsigned .summary-icon {
  color: #c47c17;
  background: linear-gradient(135deg, rgba(241, 171, 37, 0.2), rgba(241, 171, 37, 0.08));
}

.detail-header .metric-signed .summary-icon {
  color: #165dff;
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.18), rgba(22, 93, 255, 0.08));
}

.detail-header .metric-rate .summary-icon {
  color: #d9485f;
  background: linear-gradient(135deg, rgba(217, 72, 95, 0.18), rgba(217, 72, 95, 0.08));
}

.detail-header .metric-awarded {
  border-color: rgba(14, 166, 106, 0.18);
}

.detail-header .metric-unsigned {
  border-color: rgba(241, 171, 37, 0.2);
}

.detail-header .metric-signed {
  border-color: rgba(22, 93, 255, 0.18);
}

.detail-header .metric-rate {
  border-color: rgba(217, 72, 95, 0.18);
}

.detail-header .summary-item strong {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-strong);
}

.detail-header .summary-inline {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  width: 100%;
  box-sizing: border-box;
  padding-left: 9%;
  padding-right: 3%;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-strong);
}

.detail-header .metric-signed .summary-inline {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  justify-content: flex-start;
  align-content: center;
  column-gap: 8px;
  row-gap: 2px;
  padding-left: 2%;
  padding-right: 0.5%;
}

.detail-header .metric-awarded .summary-inline,
.detail-header .metric-unsigned .summary-inline,
.detail-header .metric-rate .summary-inline {
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.detail-header .metric-rate .summary-inline {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: 10px;
}

.detail-header .metric-rate .summary-inline > span {
  white-space: nowrap;
}

.detail-header .metric-signed .summary-metric-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 24px;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
}

.detail-header .metric-signed .summary-metric-block:nth-child(odd) {
  margin-left: -4px;
}

.detail-header .metric-signed .summary-metric-label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}

.detail-header .metric-signed .summary-metric-value {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}

.detail-header .summary-count {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-strong);
}

.detail-header .summary-inline .subtext {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-strong);
  white-space: nowrap;
}

.detail-header .summary-inline-row {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-strong);
  white-space: nowrap;
}

.detail-header .summary-item > span,
.detail-header .summary-item > .subtext {
  display: none;
}

.detail-header .subtext {
  flex-wrap: wrap;
  }

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-section-card + .detail-section-card {
  margin-top: 12px;
}

.detail-section-title-row {
  margin-top: 12px;
  margin-bottom: 8px;
}

.contract-flow-title-row {
  flex-wrap: wrap;
  gap: 10px 14px;
}

.contract-flow-title-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.contract-flow-title-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 121, 198, 0.08);
  color: #2b668f;
}

.contract-flow-title-label {
  font-size: 12px;
  color: #5e7e96;
}

.contract-flow-title-value {
  font-size: 13px;
  font-weight: 700;
  color: #0f6ca8;
}

.detail-section-title-row + .detail-section-card {
  margin-top: 0;
}

.detail-table-wrap {
  margin-top: 12px;
}

.attachment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.attachment-item {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.detail-empty-state {
  margin-top: 12px;
  padding: 24px 16px;
}

.summary-item strong,
.info-item strong {
  display: block;
  margin-bottom: 6px;
  color: #6b7c93;
  font-size: 12px;
  font-weight: 700;
}

.summary-item span,
.info-item span {
  display: block;
  font-size: 14px;
  color: var(--text-strong);
  font-weight: 600;
  word-break: break-word;
}

.help-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0 2px;
  border-radius: 999px;
  border: 1px solid #b9c7d6;
  color: #6b7c93;
  background: #f7fafc;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
}

.help-tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-style: normal;
}

.help-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: max-content;
  max-width: 220px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(31, 45, 61, 0.96);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 8;
}

.help-tip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  width: 8px;
  height: 8px;
  background: rgba(31, 45, 61, 0.96);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  z-index: 7;
}

.help-tip:hover::after,
.help-tip:hover::before,
.help-tip:focus-visible::after,
.help-tip:focus-visible::before {
  opacity: 1;
}

.help-tip:hover::after,
.help-tip:focus-visible::after {
  transform: translateX(-50%) translateY(-2px);
}

.association-columns {
  margin-top: 12px;
}

.contract-panel {
  padding: 14px 16px;
}

.contract-list,
.supplement-list,
.contract-document-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contract-option,
.supplement-row {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.contract-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contract-option:hover {
  border-color: #bfd1e1;
  background: #fafcfe;
}

.contract-option input {
  width: auto;
  margin-top: 2px;
}

.contract-option h5 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text-strong);
}

.contract-meta,
.supplement-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #6b7c93;
  font-size: 12px;
}

.nested-panel {
  margin-top: 12px;
  margin-bottom: 0;
  box-shadow: none;
}

.result-block {
  padding: 12px 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.timeline-step {
  position: relative;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.timeline-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 1px;
  background: #c7d2de;
}

.timeline-step:last-child::after {
  display: none;
}

.timeline-step.active {
  background: #f2f8fd;
  border-color: #bfd5e7;
}

.timeline-step.complete {
  background: #f2faf6;
  border-color: #c7e5d8;
}

.info-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.contract-performance-section {
  margin-top: 16px;
}

.contract-performance-card {
  padding: 14px 16px;
}

.performance-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.performance-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  padding: 12px 14px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: #6b7c93;
  font-size: 12px;
  font-weight: 700;
}

.metric-card span {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-strong);
  word-break: break-word;
}

.tab-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tab-button {
  border: 1px solid #c7d3df;
  background: #fff;
  color: #42576d;
}

.tab-button.active {
  border-color: #8eb7d9;
  background: #edf5fc;
  color: var(--primary-strong);
}

.detail-filter-panel {
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: none;
}

.detail-filter-actions {
  justify-content: flex-start;
  margin-top: 12px;
}

.detail-filter-actions:empty {
  display: none;
}

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.pagination-info {
  color: #6b7c93;
  font-size: 13px;
  font-weight: 600;
}

.pagination-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pagination-actions .ghost-button.active {
  border-color: #8eb7d9;
  background: #edf5fc;
  color: var(--primary-strong);
}

.detail-filter-header {
  margin-bottom: 12px;
}

.detail-filter-grid-compact {
  position: relative;
}

.detail-filter-grid-full {
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding-right: 4px;
}

.filter-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 45, 61, 0.28);
  z-index: 1200;
}

.filter-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 140px);
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 35, 64, 0.18);
  z-index: 1201;
  overflow: hidden;
}

.filter-modal-header {
  margin-bottom: 12px;
}

.relation-modal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signing-report-panel {
  min-height: 260px;
}

.signing-report-form {
  max-width: 720px;
}

.signing-report-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signing-report-field > span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.signing-report-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signing-report-picker:hover,
.signing-report-picker:focus-within {
  border-color: #8eb7d9;
  box-shadow: 0 0 0 3px rgba(48, 111, 181, 0.08);
}

.signing-report-picker input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
}

.signing-report-picker input:focus {
  outline: none;
}

.signing-report-picker-action {
  flex: 0 0 auto;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
}

.signing-report-modal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(1340px, calc(100vw - 48px));
}

.signing-report-table-wrap {
  max-height: calc(100vh - 240px);
}

.signing-report-filter-grid {
  margin-top: 0;
}

.signing-report-filter-actions {
  justify-content: flex-start;
  padding-top: 0;
  border-top: 0;
}

.signing-report-table-wrap tbody tr {
  cursor: pointer;
}

.signing-report-table-wrap tbody tr.is-active {
  background: #edf5fc;
}

.signing-report-table-wrap tbody tr.is-active td {
  border-bottom-color: #d5e5f4;
}

.relation-filter-grid {
  margin-top: 0;
}

.relation-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(100vh - 280px);
  overflow: auto;
}

.relation-table-wrap tbody tr.is-active {
  background: #edf5fc;
}

.relation-table-wrap tbody tr.is-active td {
  border-bottom-color: #d5e5f4;
}

.relation-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #e7edf3;
  background: #fff;
}

.relation-selected-table-wrap {
  margin-top: 12px;
  width: 100%;
}

.detail-filter-modal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-filter-modal-fields {
  margin-top: 0;
  max-height: calc(100vh - 260px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 6px;
}

.detail-filter-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #e7edf3;
  background: #fff;
}

.detail-filter-group {
  padding: 14px 16px;
  border: 1px solid #e7edf3;
  border-radius: var(--radius-md);
  background: var(--panel-alt);
}

.detail-filter-group-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.relation-selected-table {
  width: 100%;
  min-width: 100%;
}

.relation-selected-table th,
.relation-selected-table td {
  vertical-align: middle;
}

.performance-content {
  min-height: 240px;
}

.supplement-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.supplement-row.active {
  border-color: #8eb7d9;
  background: #f0f7fd;
}

.supplement-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--text-strong);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1101;
  min-width: 220px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(31, 45, 61, 0.92);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(15, 35, 64, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1440px) {
  .filters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-header .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-grid,
  .summary-grid,
  .timeline,
  .stats-grid,
  .info-list,
  .relation-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .performance-layout,
  .bid-analysis-main-grid,
  .bid-analysis-sub-grid,
  .bid-analysis-region-chart-grid,
  .hero-panel,
  .panel-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .bid-analysis-mapping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .topbar {
    height: auto;
    padding: 10px 16px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    position: static;
  }

  .topbar-left {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .brand-system,
  .topbar-nav {
    position: static;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .topbar-user {
    width: 100%;
    justify-content: flex-start;
  }

  .app-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sidebar {
    position: static;
    top: auto;
    height: auto;
  }

  .content-area {
    padding: 12px;
  }

  .detail-page-layout {
    grid-template-columns: 1fr;
  }

  .org-tree-panel {
    position: static;
  }

  .relation-picker {
    flex-direction: column;
  }

  .key-enterprise-filter-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bid-analysis-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {
  .detail-header .summary-grid {
    grid-template-columns: 1fr;
  }

  .detail-header .summary-inline {
    padding-left: 6%;
    padding-right: 1%;
  }

  .detail-header .metric-signed .summary-inline {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }

  .filters-grid,
  .field-grid,
  .detail-filter-grid,
  .summary-grid,
  .stats-grid,
  .info-list,
  .performance-metrics,
  .timeline {
    grid-template-columns: 1fr;
  }

  .page-tab-bar {
    height: auto;
    padding: 8px 10px;
    flex-wrap: wrap;
  }

  .page-shortcut {
    margin-left: 0;
  }

  .brief-report-summary {
    grid-template-columns: 1fr;
  }

  .brief-report-tabs-note {
    text-align: left;
  }

  .bid-analysis-filter-grid,
  .bid-analysis-mapping-grid {
    grid-template-columns: 1fr;
  }

  .bid-analysis-region-chart-layout {
    grid-template-columns: 1fr;
  }

  .bid-analysis-city-modal-summary,
  .bid-analysis-city-rank-grid {
    grid-template-columns: 1fr;
  }

  .bid-analysis-ranking-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.contract-flow-card {
  overflow: visible;
  padding: 22px 24px 26px;
  background:
    radial-gradient(circle at top left, rgba(41, 98, 255, 0.08), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 152, 0, 0.08), transparent 30%),
    linear-gradient(180deg, #fcfdff 0%, #f7f9fc 100%);
}

.contract-flow-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(220px, 240px);
  gap: 28px;
  align-items: center;
}

.contract-flow-layout > * {
  min-width: 0;
}

.contract-flow-origin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contract-flow-origin::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -46px;
  width: 46px;
  border-top: 2px solid #c5ccd8;
  transform: translateY(-50%);
}

.contract-flow-source-node,
.contract-flow-target,
.contract-flow-contract {
  position: relative;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
}

.contract-flow-source-node,
.contract-flow-target {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contract-flow-source-node {
  padding: 16px 18px;
  border: 1.5px solid #67a6ff;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.contract-flow-source-node:hover,
.contract-flow-target:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
}

.contract-flow-source-node.is-active {
  border-color: #2f7ce8;
  background: linear-gradient(180deg, #eaf3ff 0%, #dbeaff 100%);
  box-shadow: 0 0 0 4px rgba(47, 124, 232, 0.18), 0 18px 38px rgba(16, 24, 40, 0.16);
}

.contract-flow-source-node.is-active .contract-flow-title {
  color: #0f1f3a;
}

.contract-flow-source-node.is-active .contract-flow-tag {
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.18);
}

.contract-flow-rows {
  position: relative;
  padding-left: 82px;
  padding-top: 6px;
  padding-bottom: 10px;
  max-height: 432px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 74px;
  scrollbar-gutter: stable;
}

.contract-flow-rows::-webkit-scrollbar {
  width: 8px;
}

/* Let the page header/tab participate in normal document scrolling. */
.topbar,
.page-tab-bar {
  position: static !important;
  top: auto !important;
}

.main-shell,
.content-area {
  overflow: visible;
}

.bid-analysis-page {
  padding: 16px;
}

.bid-analysis-report-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.bid-analysis-sidebar {
  position: sticky;
  top: 72px;
}

.bid-analysis-tree-card,
.bid-analysis-query-card,
.bid-analysis-report-card {
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(18, 44, 77, 0.04);
}

.bid-analysis-tree-card {
  padding: 14px 14px 10px;
}

.bid-analysis-tree-toolbar {
  margin: 10px 0 12px;
}

.bid-analysis-tree-search input {
  min-height: 32px;
  border-color: #d5e0ea;
  border-radius: 4px;
}

.bid-analysis-org-tree {
  max-height: 650px;
  padding-right: 4px;
}

.bid-analysis-org-tree .org-tree-button {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 4px;
}

.bid-analysis-org-tree .org-tree-node .org-tree-node {
  margin-left: 18px;
}

.bid-analysis-org-empty {
  padding: 28px 12px;
  color: #7b8da0;
  text-align: center;
}

.bid-analysis-main {
  min-width: 0;
}

.bid-analysis-query-card {
  margin-bottom: 12px;
  padding: 14px 16px 16px;
}

.bid-analysis-query-card .panel-header {
  margin-bottom: 12px;
}

.bid-analysis-query-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: end;
}

.bid-analysis-query-grid.is-customer-layout {
  grid-template-columns: minmax(360px, 1.35fr) minmax(240px, 0.85fr);
  gap: 10px 14px;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-query-field {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 6px;
}

.bid-analysis-query-grid.is-customer-layout #bid-analysis-period-field {
  grid-column: 1;
}

.bid-analysis-query-grid.is-customer-layout #bid-analysis-location-field {
  grid-column: 2;
}

.bid-analysis-query-grid.is-customer-layout #bid-analysis-category-field {
  grid-column: 1 / span 2;
}

.bid-analysis-query-grid.is-customer-layout #bid-analysis-project-category {
  width: 225px;
  max-width: 100%;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-query-field > span {
  font-size: 13px;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-query-field input,
.bid-analysis-query-grid.is-customer-layout .bid-analysis-query-field select {
  min-height: 30px;
  padding: 4px 8px;
}

.bid-analysis-query-field {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.bid-analysis-query-field > span {
  color: #23384d;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.bid-analysis-query-field input,
.bid-analysis-query-field select {
  min-height: 32px;
  padding: 5px 10px;
  border-color: #d3dee8;
  border-radius: 3px;
}

.bid-analysis-month-range {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bid-analysis-customer-time-field {
  display: grid;
  gap: 8px;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-customer-time-field {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.bid-analysis-customer-time-field > select {
  width: 112px;
  flex: 0 0 auto;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-customer-time-field > select {
  width: 80px;
}

.bid-analysis-customer-time-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-customer-time-row {
  flex: 1 1 auto;
  gap: 4px;
  flex-wrap: nowrap;
}

.bid-analysis-customer-time-row input[type="date"] {
  min-width: 0;
  flex: 1 1 160px;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-customer-time-row input[type="date"] {
  flex-basis: 108px;
  min-width: 108px;
  padding-left: 6px;
  padding-right: 6px;
}

.bid-analysis-customer-time-row input[type="number"] {
  width: 72px;
  text-align: center;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-customer-time-row input[type="number"] {
  width: 58px;
}

.bid-analysis-query-grid.is-customer-layout .bid-analysis-query-actions {
  grid-column: 1 / span 2;
}

.bid-analysis-threshold-inline {
  display: grid;
  grid-template-columns: 96px 110px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.bid-analysis-threshold-suffix {
  color: #23384d;
  font-size: 14px;
  white-space: nowrap;
}

.bid-analysis-major-threshold-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.bid-analysis-major-threshold-inline input {
  width: 68px;
  min-width: 68px;
  text-align: center;
}

.bid-analysis-major-threshold-suffix {
  color: #23384d;
  font-size: 14px;
  white-space: nowrap;
}

.bid-analysis-query-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  grid-column: 3;
}

.bid-analysis-query-actions .primary-button,
.bid-analysis-query-actions .ghost-button {
  min-width: 64px;
  height: 32px;
}

.bid-analysis-report-card {
  overflow: hidden;
}

.bid-analysis-tab-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 10px;
  border-bottom: 1px solid #e5edf4;
  background: #fff;
}

.bid-analysis-tab-button {
  position: relative;
  height: 56px;
  padding: 0 18px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #1f354a;
  font-size: 14px;
  font-weight: 600;
}

.bid-analysis-tab-button.active {
  color: #1679c5;
  border-bottom-color: #1679c5;
}

.bid-analysis-tab-button:hover {
  background: #f7fbff;
}

.bid-analysis-report-toolbar {
  display: flex;
  justify-content: flex-start;
  padding: 12px 16px 0;
}

.bid-analysis-report-table-wrap {
  margin-top: 10px;
  max-height: 620px;
}

.bid-analysis-table-section + .bid-analysis-table-section {
  margin-top: 18px;
}

.bid-analysis-table-section-title {
  padding: 0 16px 8px;
  color: #173854;
  font-size: 15px;
  font-weight: 700;
}

.bid-analysis-report-table-inner-wrap {
  margin-top: 0;
  max-height: 420px;
}

.bid-analysis-table-footnotes {
  margin: 12px 16px 0;
  padding: 12px 14px;
  border: 1px solid #d8e3ed;
  border-radius: 8px;
  background: #f8fbfe;
  color: #445a70;
  font-size: 13px;
  line-height: 1.8;
}

.bid-analysis-table-footnotes p {
  margin: 0;
}

.bid-analysis-table-footnotes p + p {
  margin-top: 10px;
}

.bid-analysis-subtab-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 12px;
}

.bid-analysis-subtab-button {
  height: 34px;
  padding: 0 16px;
  border: 1px solid #d7e4ee;
  border-radius: 17px;
  background: #fff;
  color: #496074;
  font-size: 13px;
  font-weight: 600;
}

.bid-analysis-subtab-button.active {
  border-color: #1779c6;
  background: #edf6fd;
  color: #1779c6;
}

.bid-analysis-report-table {
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.bid-analysis-report-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 11px 12px;
  border-top: 1px solid #e5edf4;
  border-bottom: 1px solid #e5edf4;
  border-right: 1px solid #e5edf4;
  background: #f7f9fc;
  color: #1f354a;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.bid-analysis-report-table thead th:first-child {
  border-left: 1px solid #e5edf4;
}

.bid-analysis-report-table thead tr:nth-child(2) th {
  top: 44px;
}

.bid-analysis-report-table tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf2f7;
  border-right: 1px solid #edf2f7;
  background: #fff;
  color: #24384b;
  font-size: 13px;
}

.bid-analysis-report-table tbody td:first-child {
  border-left: 1px solid #edf2f7;
}

.bid-analysis-report-table tbody tr:hover td {
  background: #f9fcff;
}

.bid-analysis-report-table .is-name {
  text-align: left;
  min-width: 260px;
}

.bid-analysis-report-table .is-number {
  text-align: right;
  min-width: 140px;
}

.bid-analysis-report-table .is-action {
  text-align: center;
  min-width: 110px;
}

.bid-analysis-report-table .bid-analysis-sticky-action {
  position: sticky;
  right: 0;
  z-index: 1;
  min-width: 110px;
  width: 110px;
  background: #fff;
}

.bid-analysis-report-table thead .bid-analysis-sticky-action {
  z-index: 4;
  background: #f7f9fc;
}

.bid-analysis-report-table .bid-analysis-sticky-compare-group {
  position: sticky;
  right: 110px;
  z-index: 3;
  min-width: 280px;
  background: #f7f9fc;
}

.bid-analysis-report-table .bid-analysis-sticky-compare-start {
  position: sticky;
  right: 250px;
  z-index: 1;
  min-width: 140px;
  width: 140px;
  background: #fff;
}

.bid-analysis-report-table .bid-analysis-sticky-compare-end {
  position: sticky;
  right: 110px;
  z-index: 1;
  min-width: 140px;
  width: 140px;
  background: #fff;
}

.bid-analysis-report-table thead .bid-analysis-sticky-compare-start,
.bid-analysis-report-table thead .bid-analysis-sticky-compare-end {
  z-index: 4;
  background: #f7f9fc;
}

.bid-analysis-report-table tbody tr:hover .bid-analysis-sticky-action {
  background: #f9fcff;
}

.bid-analysis-report-table tbody tr:hover .bid-analysis-sticky-compare-start,
.bid-analysis-report-table tbody tr:hover .bid-analysis-sticky-compare-end {
  background: #f9fcff;
}

.bid-analysis-report-table tbody tr.is-total .bid-analysis-sticky-action {
  background: #f5f8fb;
}

.bid-analysis-report-table tbody tr.is-total .bid-analysis-sticky-compare-start,
.bid-analysis-report-table tbody tr.is-total .bid-analysis-sticky-compare-end {
  background: #f5f8fb;
}

.bid-analysis-link-action {
  color: #1679c5;
  font-weight: 600;
}

.bid-analysis-tree-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bid-analysis-tree-label.is-root {
  font-weight: 700;
  color: #173854;
}

.bid-analysis-tree-label.is-child {
  padding-left: 28px;
}

.bid-analysis-tree-caret {
  color: #506579;
  font-size: 12px;
}

.bid-analysis-tree-indent {
  width: 10px;
  height: 10px;
}

.bid-analysis-amount-link {
  color: #1679c5;
}

.bid-analysis-report-table tbody tr.is-total td {
  background: #f4f8fc;
  color: #173854;
  font-weight: 700;
}

.bid-analysis-report-table tbody tr.is-sticky-total td {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background: #dcedfb;
  box-shadow: 0 -1px 0 #9fc7ef;
}

.bid-analysis-empty-cell {
  padding: 32px 12px !important;
  color: #7a8c9f !important;
  text-align: center !important;
}

.city-contract-ranking-filter-panel,
.city-contract-ranking-result-panel {
  overflow: hidden;
}

.city-contract-ranking-result-panel {
  margin-top: 16px;
}

.city-contract-ranking-toolbar {
  padding: 16px;
}

.city-contract-ranking-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 16px 12px;
}

.city-contract-ranking-summary-text {
  color: #496074;
  font-size: 13px;
  line-height: 1.5;
}

.city-contract-ranking-table-wrap {
  max-height: 620px;
}

.city-contract-ranking-table {
  min-width: max-content;
}

.city-contract-ranking-radio-group {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 32px;
}

.city-contract-ranking-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #24384b;
  font-size: 13px;
  font-weight: 500;
}

.city-contract-ranking-level-field select {
  min-height: 32px;
  padding: 5px 10px;
}

.city-contract-ranking-sticky-col {
  position: sticky;
  z-index: 3;
  background: #fff;
}

.city-contract-ranking-sticky-col-name {
  left: 0;
  min-width: 160px;
}

.city-contract-ranking-table thead .city-contract-ranking-sticky-col {
  z-index: 4;
  background: #f7f9fc;
}

.city-contract-ranking-table thead th.is-number {
  text-align: center;
}

.city-contract-ranking-table tbody tr.is-parent td {
  background: #f4f8fc;
  color: #173854;
  font-weight: 700;
}

.city-contract-ranking-table tbody tr.is-parent .city-contract-ranking-sticky-col {
  background: #f4f8fc;
}

.city-contract-ranking-table tbody tr:hover .city-contract-ranking-sticky-col {
  background: #f9fcff;
}

.city-contract-ranking-table tbody tr.is-parent:hover .city-contract-ranking-sticky-col {
  background: #f4f8fc;
}

.city-contract-ranking-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.city-contract-ranking-label.is-parent {
  font-weight: 700;
}

.city-contract-ranking-label.is-child {
  padding-left: 18px;
}

.city-contract-ranking-indent {
  width: 10px;
  height: 10px;
}

@media (max-width: 1360px) {
  .bid-analysis-report-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .bid-analysis-query-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bid-analysis-query-grid.is-customer-layout {
    grid-template-columns: minmax(320px, 1.25fr) minmax(220px, 0.85fr);
  }

  .bid-analysis-query-actions {
    grid-column: 2;
  }
}

@media (max-width: 1080px) {
  .bid-analysis-report-layout {
    grid-template-columns: 1fr;
  }

  .bid-analysis-sidebar {
    position: static;
  }

  .bid-analysis-query-grid {
    grid-template-columns: 1fr;
  }

  .bid-analysis-query-field {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .bid-analysis-query-actions {
    grid-column: auto;
    justify-content: flex-start;
  }
}

.contract-flow-rows::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(124, 138, 162, 0.55);
}

.contract-flow-rows::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.75);
}

.contract-flow-rows-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 0;
  min-height: max-content;
}

.contract-flow-rows-inner::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, #c7cdd8 0%, #bcc5d4 100%);
}

.contract-flow-row {
  position: relative;
  display: block;
  padding: 2px 0;
}

.contract-flow-row::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 50%;
  width: 48px;
  border-top: 2px solid #c7cdd8;
  transform: translateY(-50%);
}

.contract-flow-contract {
  width: 100%;
  border: 1.5px solid #8fc15b;
  padding: 14px 16px 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 9px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contract-flow-contract::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -58px;
  width: 58px;
  border-top: 2px solid #c7cdd8;
  transform: translateY(-50%);
}

.contract-flow-contract:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
}

.contract-flow-contract.is-main {
  border-color: #ff6b6b;
  background: linear-gradient(180deg, #fffafa 0%, #fff3f3 100%);
}

.contract-flow-contract.is-supplement {
  border-color: #9ccb58;
  background: linear-gradient(180deg, #fcfff7 0%, #f4fbeb 100%);
}

.contract-flow-contract.is-active {
  transform: translateY(-2px);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(26, 72, 170, 0.24), 0 22px 44px rgba(16, 24, 40, 0.22);
}

.contract-flow-contract.is-main.is-active {
  border-color: #c92b2b;
  background: linear-gradient(180deg, #ffe3e3 0%, #ffcfcf 100%);
}

.contract-flow-contract.is-supplement.is-active {
  border-color: #5d9414;
  background: linear-gradient(180deg, #e9f7cf 0%, #d9efb0 100%);
}

.contract-flow-contract.is-active .contract-flow-title {
  color: #0f1f3a;
}

.contract-flow-contract.is-active .contract-flow-tag {
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.2);
}

.contract-flow-target {
  border: 1.5px solid #f0a24d;
  padding: 14px 16px;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, #fffaf4 0%, #fff4e7 100%);
}

.contract-flow-target::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 16px;
  border-top: 2px solid #c7cdd8;
  transform: translateY(-50%);
}

.contract-flow-target::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #c7cdd8;
  transform: translateY(-50%);
}

.contract-flow-target.is-active {
  border-width: 2px;
  border-color: #dc7f12;
  background: linear-gradient(180deg, #ffe3bf 0%, #ffd09a 100%);
  box-shadow: 0 0 0 4px rgba(240, 145, 36, 0.22), 0 18px 38px rgba(16, 24, 40, 0.16);
}

.contract-flow-target.is-active .contract-flow-title {
  color: #4a2500;
}

.contract-flow-target.is-active .contract-flow-tag {
  box-shadow: 0 10px 20px rgba(242, 145, 36, 0.24);
}

.contract-flow-many-to-one::after {
  content: "";
  position: absolute;
  right: -26px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, #c7cdd8 0%, #bcc5d4 100%);
}

.contract-flow-shared-target-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.contract-flow-shared-target-wrap::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 28px;
  border-top: 2px solid #c7cdd8;
  transform: translateY(-50%);
}

.contract-flow-shared-target-wrap::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #c7cdd8;
  transform: translateY(-50%);
}

.contract-flow-shared-target {
  width: 100%;
  min-height: 108px;
  justify-content: center;
}

.contract-flow-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contract-flow-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.contract-flow-tag-source {
  background: linear-gradient(180deg, #4597ff 0%, #2f7ce8 100%);
}

.contract-flow-tag-main {
  background: linear-gradient(180deg, #ff6f6f 0%, #eb4a4a 100%);
}

.contract-flow-tag-supplement {
  background: linear-gradient(180deg, #9dd44d 0%, #77b329 100%);
}

.contract-flow-tag-target {
  background: linear-gradient(180deg, #ffb35c 0%, #f29124 100%);
}

.contract-flow-title {
  color: #182132;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.contract-flow-meta,
.contract-flow-target-meta {
  color: #5f6b7c;
  font-size: 12px;
  line-height: 1.55;
}

.contract-flow-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contract-flow-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contract-flow-metric-label {
  color: #6e7787;
  font-size: 12px;
  line-height: 1.4;
}

.contract-flow-metric-value {
  color: #223047;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  word-break: break-word;
}

.contract-flow-target-title {
  color: #253244;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.contract-flow-target-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 14px;
}

.contract-flow-target-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contract-flow-target-inline {
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.contract-flow-target-inline .contract-flow-metric-label,
.contract-flow-target-inline .contract-flow-metric-value {
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .contract-flow-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contract-flow-origin {
    justify-content: flex-start;
  }

  .contract-flow-origin::after,
  .contract-flow-rows-inner::before,
  .contract-flow-row::before,
  .contract-flow-contract::after,
  .contract-flow-many-to-one::after,
  .contract-flow-shared-target-wrap::before,
  .contract-flow-shared-target-wrap::after,
  .contract-flow-target::before,
  .contract-flow-target::after {
    display: none;
  }

  .contract-flow-rows {
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .contract-flow-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contract-flow-metrics {
    grid-template-columns: 1fr;
  }

  .contract-flow-target-metrics {
    grid-template-columns: 1fr;
  }

  .key-enterprise-filter-group {
    grid-template-columns: 1fr;
  }
}

/* Final override: keep header and page tab fixed while content scrolls. */
.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1000;
}

.app-shell {
  margin-top: 60px;
}

.page-tab-bar {
  position: static !important;
  top: auto !important;
  z-index: auto;
}

.main-shell,
.content-area {
  overflow: visible;
}

/* ==========================================================================
   AI 报告生成页面样式
   ========================================================================== */
.ai-report-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-report-form-card {
  background: var(--panel-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.ai-report-filters-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 24px;
}

.ai-report-filters-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.ai-report-filters-grid label span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-strong);
}

.ai-report-filters-grid input[type="month"],
.ai-report-filters-grid input[type="text"] {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ai-report-filters-grid input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 121, 198, 0.12);
}

.ai-report-unit-field {
  flex: 1 1 260px;
}

.ai-report-actions {
  display: flex;
  align-items: flex-end;
}

.btn-sparkle-icon {
  margin-right: 4px;
  font-size: 14px;
}

.ai-report-result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ai-report-toolbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.ai-report-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 121, 198, 0.2);
}

/* 富文本编辑器工具栏 */
.editor-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}

.editor-btn-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.editor-btn {
  height: 30px;
  min-width: 30px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.editor-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: var(--primary-strong);
}

.editor-btn:active {
  background: #cbd5e1;
}

.editor-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
  margin: 0 4px;
}

/* 富文本编辑器内容样式 */
.ai-report-editor-content {
  min-height: 520px;
  padding: 32px 40px;
  outline: none;
  font-size: 15px;
  line-height: 1.8;
  color: #1e293b;
  background: #ffffff;
  overflow-y: auto;
}

.ai-report-editor-content:focus {
  background: #fff;
}

.ai-report-editor-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 24px;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  line-height: 1.4;
}

.ai-report-editor-content h2:first-child {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
  text-align: center;
  font-size: 22px;
  color: #1e3a8a;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 14px;
}

.ai-report-editor-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-top: 18px;
  margin-bottom: 10px;
}

.ai-report-editor-content p {
  margin-bottom: 12px;
  text-align: justify;
}

.ai-report-editor-content ul,
.ai-report-editor-content ol {
  margin-top: 6px;
  margin-bottom: 16px;
  padding-left: 24px;
}

.ai-report-editor-content li {
  margin-bottom: 6px;
}

/* 核心 KPI 样式框 */
.ai-report-metrics-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 20px 0 28px 0;
  padding: 16px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
  border: 1px solid #bae0ff;
  border-radius: var(--radius-md);
}

.ai-report-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-report-metric-label {
  font-size: 12px;
  color: #595959;
}

.ai-report-metric-value {
  font-size: 20px;
  font-weight: 700;
  color: #0958d9;
}

.ai-report-metric-sub {
  font-size: 11px;
  color: #389e0d;
}

.ai-report-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background: #e6f4ff;
  color: #0958d9;
  margin-right: 6px;
}

/* 空状态占位提示 */
.ai-report-empty-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #94a3b8;
  user-select: none;
}

.ai-report-empty-placeholder .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.ai-report-empty-placeholder .empty-text {
  font-size: 14px;
  color: #64748b;
}

/* 报告生成中 Loading 样式及按钮置灰 */
button:disabled {
  opacity: 0.65;
  cursor: not-allowed !important;
  background-color: #94a3b8 !important;
  border-color: #94a3b8 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.ai-report-loading-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #475569;
  user-select: none;
}

.loading-spinner {
  width: 42px;
  height: 42px;
  border: 3.5px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: ai-report-spin 1s infinite linear;
  margin-bottom: 18px;
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ai-report-spin 0.8s infinite linear;
  margin-right: 6px;
  vertical-align: -2px;
}

@keyframes ai-report-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  text-align: center;
}

/* ==========================================================================
   六张网新签合同额情况表 页面样式（严格对齐月度经营情况简报风格）
   ========================================================================== */
.six-nets-panel {
  position: relative;
  padding-bottom: 20px;
}

/* 六张网（新）双栏布局与企业组织树样式（对齐中标额分析页面风格） */
.six-nets-new-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.six-nets-new-sidebar {
  position: sticky;
  top: 72px;
}

.six-nets-new-tree-card {
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(18, 44, 77, 0.04);
  padding: 14px 14px 10px;
}

.six-nets-new-main {
  min-width: 0;
}

.six-nets-text-input {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-strong);
  font-size: 13px;
  outline: none;
  min-width: 140px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.six-nets-text-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-soft);
}

.six-nets-select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-strong);
  font-size: 13px;
  outline: none;
  min-width: 130px;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.six-nets-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-soft);
}

.six-nets-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}

.six-nets-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.six-nets-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  position: relative;
}

.six-nets-filter-label span {
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-strong);
}

/* 统计期间年份范围选择器 */
.six-nets-year-range-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 8px;
  height: 32px;
  box-sizing: border-box;
}

.six-nets-year-range-picker:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-soft);
}

.six-nets-year-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.six-nets-year-input,
.six-nets-month-input {
  width: 68px;
  height: 28px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  padding: 0;
  outline: none;
}

.six-nets-calendar-icon {
  font-size: 12px;
  color: #7a8b9e;
  user-select: none;
  cursor: pointer;
}

.six-nets-range-separator {
  color: var(--muted);
  font-size: 13px;
  padding: 0 2px;
  user-select: none;
}

/* 年月日历选择弹窗 (Popover) */
.six-nets-year-popover {
  position: fixed;
  z-index: 1050;
  width: 250px;
  background: #ffffff;
  border: 1px solid #c9d4df;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(15, 35, 64, 0.15);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  user-select: none;
  animation: sixNetsFadeIn 0.15s ease-out;
}

@keyframes sixNetsFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.six-nets-year-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #edf2f7;
  background: #fafbfc;
}

.six-nets-year-popover-header .popover-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
}

.six-nets-year-popover-header .popover-nav-btn {
  background: transparent;
  border: none;
  color: #7a8b9e;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.six-nets-year-popover-header .popover-nav-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.six-nets-year-popover-grid,
.six-nets-month-popover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.six-nets-year-cell {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.12s ease;
}

.six-nets-year-cell:hover:not(.is-disabled) {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.six-nets-year-cell.is-selected {
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.six-nets-year-cell.in-range {
  background: #edf6fc;
  color: var(--primary);
}

.six-nets-year-cell.is-disabled {
  color: #c0ccda;
  cursor: not-allowed;
  background: transparent !important;
}

.six-nets-year-popover-footer {
  padding: 4px 10px 6px;
  border-top: 1px solid #f0f4f8;
  text-align: center;
}

.six-nets-year-popover-footer .popover-tip {
  font-size: 11px;
  color: #8a9aae;
}

.six-nets-content-container {
  width: 100%;
  margin-top: 6px;
}

/* 报表左上角操作栏 */
.six-nets-table-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
}

/* 表格容器与月度经营简报表格样式规范（100% 满屏，无横向滚动条） */
.six-nets-table-wrap {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid #8eaec6;
  border-radius: var(--radius-sm);
  background-color: #fff;
}

.six-nets-table {
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

/* 表头：月度经营简报规范 (#b8c7d5, 边框 #8eaec6, 文字 #24435a) */
.six-nets-table thead th {
  text-align: center;
  vertical-align: middle;
  color: #24435a;
  border: 1px solid #8eaec6;
  background: #b8c7d5;
  font-weight: 700;
  padding: 9px 12px;
  white-space: nowrap;
}

/* 表体：月度经营简报规范 (#f8fbfe, 边框 #d6e3ed, 文字 #243447) */
.six-nets-table tbody td {
  text-align: right;
  border: 1px solid #d6e3ed;
  background: #f8fbfe;
  color: #243447;
  padding: 8px 14px;
  vertical-align: middle;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

/* 首列（年度）：月度简报项目列规范 (#edf3f8, 文字 #28445c, 加粗居中) */
.six-nets-table tbody td:first-child {
  text-align: center;
  background: #edf3f8;
  color: #28445c;
  font-weight: 700;
  white-space: nowrap;
}

/* 普通行悬停效果 */
.six-nets-table tbody tr:hover td {
  background: #eef6fc;
}

.six-nets-table tbody tr:hover td:first-child {
  background: #e4eef6;
}

/* 合计行：完全对齐月度简报 is-total (#d9eff3, 首列 #cfe7ec) */
.six-nets-table tbody tr.is-total td {
  background: #d9eff3;
  color: #1f2d3d;
  font-weight: 700;
}

.six-nets-table tbody tr.is-total td:first-child {
  background: #cfe7ec;
  color: #28445c;
  font-weight: 700;
  text-align: center;
}

.six-nets-table tbody tr.is-total:hover td {
  background: #cfe7ec;
}

/* 2026上半年行样式 */
.six-nets-table tbody tr.is-half-year td {
  background: #f8fbfe;
}

.six-nets-table tbody tr.is-half-year td:first-child {
  background: #edf3f8;
  color: #28445c;
  font-weight: 700;
  text-align: center;
}/* ==========================================================================
   属地化深耕（Localized Cultivation）模块样式规范
   ========================================================================== */

/* 顶部栏增强 */
.brand-sys-title {
  font-size: 15px;
  font-weight: 700;
  color: #1779c6;
  padding-left: 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.topbar-item-icon {
  margin-right: 4px;
  font-size: 13px;
}

.topbar-item-icon.app-icon {
  color: #1890ff;
}

.topbar-company {
  color: #2c3e50;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.company-switch-icon {
  color: #1890ff;
  font-weight: 700;
  cursor: pointer;
}

.topbar-icons {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 10px;
  font-size: 14px;
}

.topbar-icon {
  cursor: pointer;
  color: #5a6e85;
  transition: color 0.2s;
}

.topbar-icon:hover {
  color: #1890ff;
}

.topbar-icon.badge-wrap {
  position: relative;
}

.topbar-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 4px;
  height: 14px;
  line-height: 14px;
  min-width: 14px;
  text-align: center;
  box-shadow: 0 0 0 1px #fff;
}

.topbar-avatar-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

.topbar-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1890ff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #fff;
}

.topbar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
}

/* 侧边栏搜索框与层级菜单 */
.sidebar-search-wrap {
  padding: 8px 12px 12px;
}

.sidebar-search-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.sidebar-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 12px;
  color: #262626;
  width: 100%;
}

.sidebar-search-clear {
  border: none;
  background: transparent;
  color: #8c8c8c;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
}

.sidebar-search-clear:hover {
  color: #ff4d4f;
}

.sidebar-group {
  margin-bottom: 6px;
}

.sidebar-section-title {
  height: 38px;
  margin: 0 10px 4px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.sidebar-group-icon {
  margin-right: 6px;
  font-size: 13px;
}

.sidebar-section-text {
  flex: 1;
}

.sidebar-toggle-arrow {
  font-size: 10px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.sidebar-subgroup {
  padding: 2px 0 6px 0;
}

.sidebar-sub-title {
  padding: 6px 12px 6px 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.sidebar-sub-icon {
  font-size: 12px;
  opacity: 0.8;
}

.sidebar-sub-title span:nth-child(2) {
  flex: 1;
}

.sidebar-sub-arrow {
  font-size: 10px;
  opacity: 0.7;
}

/* 导航项高亮选中态 */
.nav-item[data-view="localized-cultivation"].active,
.sidebar .nav-item.active {
  background: #0056b3 !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

/* 标签页栏关闭按钮 */
.page-tab-close {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: #8c8c8c;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  transition: all 0.2s;
}

.page-tab-close:hover {
  background: #ff4d4f;
  color: #fff;
}

/* 属地化深耕页面主布局 */
.localized-page-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
  transition: grid-template-columns 0.25s ease;
}

.localized-page-layout.is-collapsed {
  grid-template-columns: 32px minmax(0, 1fr);
}

.localized-page-layout.is-collapsed .localized-tree-card {
  display: none;
}

/* 左侧省市树卡片 */
.localized-tree-sidebar {
  position: relative;
}

.localized-card {
  background: #ffffff;
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(15, 35, 64, 0.05);
}

.localized-tree-card {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
}

.localized-panel-header {
  padding: 12px 16px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.localized-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.localized-panel-title .blue-bar {
  width: 3.5px;
  height: 15px;
  background: #1890ff;
  border-radius: 2px;
  display: inline-block;
}

.localized-panel-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #173854;
}

.localized-tree-search-bar {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f4f8;
}

.localized-search-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d5dfe9;
  border-radius: 4px;
  background: #fff;
  padding: 5px 8px;
  gap: 6px;
  transition: border-color 0.2s;
}

.localized-search-input-wrap:focus-within {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}

.localized-search-input-wrap input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: #24384b;
  width: 100%;
}

.localized-search-icon,
.localized-filter-icon {
  font-size: 13px;
  color: #8c9ba5;
  cursor: pointer;
  user-select: none;
}

.localized-search-icon:hover,
.localized-filter-icon:hover {
  color: #1890ff;
}

/* 省市树内容列表 */
.localized-tree-container {
  padding: 8px 6px;
  flex: 1;
  overflow-y: auto;
  font-size: 13px;
}

.localized-tree-node-wrap {
  margin-bottom: 2px;
}

.localized-tree-node {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  color: #24384b;
  transition: background 0.15s, color 0.15s;
}

.localized-tree-node:hover {
  background: #f0f7fd;
}

.localized-tree-node.active {
  background: #e6f4ff;
  color: #1890ff;
  font-weight: 700;
}

.localized-tree-arrow {
  width: 14px;
  text-align: center;
  font-size: 10px;
  color: #7b8fa2;
  cursor: pointer;
}

.localized-tree-arrow.is-expanded {
  color: #1890ff;
}

.localized-tree-icon {
  font-size: 13px;
  opacity: 0.85;
}

.localized-tree-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.localized-tree-children {
  padding-left: 14px;
}

.localized-tree-children.level-1 {
  border-left: 1px dashed #dbe5ee;
  margin-left: 14px;
  padding-left: 8px;
}

.localized-tree-children.level-2 {
  border-left: 1px dashed #e6edf4;
  margin-left: 14px;
  padding-left: 8px;
}

.localized-tree-children.level-3 {
  border-left: 1px dashed #edf2f7;
  margin-left: 14px;
  padding-left: 8px;
}

/* 折叠/展开控制按钮 */
.localized-tree-collapse-btn {
  position: absolute;
  right: -10px;
  top: 45%;
  z-index: 20;
  width: 16px;
  height: 44px;
  background: #1890ff;
  color: #ffffff;
  border: none;
  border-radius: 0 4px 4px 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.localized-page-layout.is-collapsed .localized-tree-collapse-btn {
  right: -24px;
}

.localized-tree-collapse-btn:hover {
  background: #096dd9;
}

.dots-handle {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* 右侧主内容区 */
.localized-main-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* 查询卡片 */
.localized-query-card {
  padding: 0;
}

.localized-query-header {
  padding: 10px 16px;
}

.localized-query-form {
  padding: 14px 18px 16px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.localized-form-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.localized-form-item label {
  font-size: 13px;
  color: #4a5c6e;
  font-weight: 500;
  white-space: nowrap;
}

.localized-form-item input {
  border: 1px solid #d5dfe9;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  color: #24384b;
  width: 200px;
  outline: none;
  transition: border-color 0.2s;
}

.localized-form-item select {
  border: 1px solid #d5dfe9;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  color: #24384b;
  min-width: 140px;
  background-color: #ffffff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.localized-form-item input:focus,
.localized-form-item select:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}

.localized-query-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.localized-query-actions .primary-button {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.localized-query-actions .primary-button:hover {
  background: #096dd9;
  border-color: #096dd9;
}

.localized-query-actions .ghost-button {
  background: #fff;
  border: 1px solid #d5dfe9;
  color: #4a5c6e;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 13px;
}

.localized-query-actions .ghost-button:hover {
  border-color: #1890ff;
  color: #1890ff;
}

/* 分类 Tab 栏与红圈角标 */
.localized-table-card {
  padding: 0;
  min-height: calc(100vh - 280px);
  display: flex;
  flex-direction: column;
}

.localized-tabs-bar {
  display: flex;
  border-bottom: 1px solid #e5edf4;
  padding: 0 16px;
  background: #ffffff;
  gap: 4px;
  overflow-x: auto;
}

.localized-tab-item {
  padding: 12px 14px;
  border: none;
  background: transparent;
  font-size: 13.5px;
  color: #4a5c6e;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}

.localized-tab-item:hover {
  color: #1890ff;
}

.localized-tab-item.active {
  color: #1890ff;
  font-weight: 700;
  border-bottom: 2px solid #1890ff;
}

.localized-tab-badge {
  background: #ff4d4f;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 5px;
  height: 16px;
  line-height: 16px;
  min-width: 16px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 数据表格 */
.localized-table-wrap {
  flex: 1;
  overflow-x: auto;
  padding: 0;
}

.localized-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 960px;
}

.localized-data-table th {
  background: #f8fafc;
  color: #173854;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid #e5edf4;
  text-align: left;
  white-space: nowrap;
}

.localized-data-table th.sortable-col {
  cursor: pointer;
  user-select: none;
}

.localized-data-table th.sortable-col:hover {
  background: #edf5fc;
  color: #1890ff;
}

.sort-icon {
  font-size: 12px;
  color: #7b8fa2;
  margin-left: 4px;
}

.localized-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f7;
  color: #24384b;
  vertical-align: middle;
}

.localized-data-table tbody tr:hover td {
  background: #f9fcff;
}

.localized-data-table .cell-center {
  text-align: center;
}

.localized-data-table .cell-ellipsis {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 附件多行换行展示样式 */
.cell-attachments {
  min-width: 180px;
  max-width: 240px;
  line-height: 1.4;
}

.attachment-list-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.attachment-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1890ff;
  cursor: pointer;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #f0f7ff;
  border: 1px solid #d6e4ff;
  word-break: break-all;
  transition: all 0.2s;
  text-decoration: none;
}

.attachment-item-tag:hover {
  color: #096dd9;
  background: #e6f1fc;
  border-color: #adc6ff;
  text-decoration: underline;
}

/* 操作列右侧锚定固定 (Sticky Right) */
.localized-data-table .col-fixed-right {
  position: sticky;
  right: 0;
  background: #ffffff;
  z-index: 2;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.05);
}

.localized-data-table th.col-fixed-right {
  background: #f8fafc;
  z-index: 3;
}

.localized-data-table tbody tr:hover td.col-fixed-right {
  background: #f9fcff;
}

.localized-data-table .action-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.localized-data-table .action-link {
  color: #1890ff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}

.localized-data-table .action-link:hover {
  color: #096dd9;
  text-decoration: underline;
}

/* 空状态 */
.localized-empty-row {
  text-align: center;
  padding: 40px 14px !important;
  color: #8c9ba5;
  font-size: 13px;
}

/* 分页底栏 */
.localized-pagination-bar {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf2f7;
  background: #ffffff;
}

.localized-pagination-summary {
  color: #6b7c93;
  font-size: 13px;
}

.localized-pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.localized-page-btn {
  border: 1px solid #d5dfe9;
  background: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #4a5c6e;
  transition: all 0.2s;
}

.localized-page-btn:hover:not(:disabled) {
  border-color: #1890ff;
  color: #1890ff;
}

.localized-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.localized-page-num {
  border: 1px solid #1890ff;
  background: #1890ff;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  cursor: default;
}

.localized-page-size-selector select {
  border: 1px solid #d5dfe9;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 13px;
  color: #4a5c6e;
  outline: none;
  background: #fff;
  cursor: pointer;
}

.localized-page-size-selector select:focus {
  border-color: #1890ff;
}

/* 右下角悬浮智能机器人 */
.localized-floating-robot {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  cursor: pointer;
  filter: drop-shadow(0 6px 16px rgba(24, 144, 255, 0.35));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.localized-floating-robot:hover {
  transform: scale(1.12) translateY(-4px);
}

.robot-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.robot-tooltip {
  position: absolute;
  right: 60px;
  bottom: 6px;
  width: 240px;
  background: #1890ff;
  color: #ffffff;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(24, 144, 255, 0.35);
  line-height: 1.5;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.robot-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 14px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #1890ff;
}

.localized-floating-robot:hover .robot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* 查看/编辑弹窗内部表单与详情样式 */
.localized-modal-content {
  padding: 16px 20px;
}

.localized-edit-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 12px;
}

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: #173854;
  text-align: right;
}

.form-row input {
  border: 1px solid #d5dfe9;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 13px;
  color: #24384b;
  width: 100%;
  outline: none;
}

.form-row input:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}

.disabled-input {
  background: #f5f7fa !important;
  color: #7b8fa2 !important;
  cursor: not-allowed;
}

.localized-detail-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 14px;
  column-gap: 12px;
  font-size: 13px;
}

.localized-detail-label {
  font-weight: 600;
  color: #6b7c93;
  text-align: right;
}

.localized-detail-value {
  color: #173854;
}

/* =========================================================
   深耕区域配置 (Cultivation Region Config) 专用样式规范
   ========================================================= */

.nav-item[data-view="cultivation-region-config"].active {
  background: #0056b3 !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.region-config-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #ffffff;
  border-bottom: 1px solid #edf2f7;
}

.region-config-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.region-config-toolbar-right {
  display: flex;
  align-items: center;
}

.region-config-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #24384b;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.region-config-checkbox-label:hover {
  color: #1890ff;
}

.region-config-checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #1890ff;
  cursor: pointer;
  margin: 0;
}

.btn-config-action {
  background: #ffffff;
  border: 1px solid #d5dfe9;
  color: #24384b;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-config-action:hover {
  border-color: #1890ff;
  color: #1890ff;
  background: #f0f7fd;
}

.region-config-table-wrap {
  padding: 0;
}

.region-config-data-table td {
  padding: 11px 12px;
  font-size: 13px;
  color: #334e68;
}

.region-config-data-table tr:hover {
  background: #f8fbfe;
}

.region-config-data-table tr.row-selected,
.region-config-data-table tr.row-current-selected {
  background: #f0f7fd !important;
}

.current-node-tag {
  display: inline-block;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 500;
  color: #1890ff;
  background: #e6f7ff;
  border: 1px solid #91d5ff;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}

.cell-region-name {
  color: #102a43;
  font-weight: 600;
}

.region-status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}

.region-status-badge.status-enabled {
  background: #e6f7ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}

.region-status-badge.status-disabled {
  background: #fff1f0;
  color: #f5222d;
  border: 1px solid #ffa39e;
}

.action-link.text-danger {
  color: #ff4d4f !important;
}

.action-link.text-danger:hover {
  color: #cf1322 !important;
  text-decoration: underline;
}

.action-link.text-success {
  color: #52c41a !important;
}

.action-link.text-success:hover {
  color: #389e0d !important;
  text-decoration: underline;
}

.is-disabled-node {
  opacity: 0.65;
}

.status-tag-disabled-text {
  font-size: 11px;
  color: #ff4d4f;
  margin-left: 4px;
}

.config-select {
  border: 1px solid #d5dfe9;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
  color: #24384b;
  width: 100%;
  outline: none;
  background: #fff;
}

.config-select:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}

/* =========================================================
   深耕区域配置弹窗 (完全复刻截图视觉规范)
   ========================================================= */

.region-config-dialog {
  max-width: 660px !important;
  width: 90% !important;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.1), 0 3px 6px -4px rgba(0, 0, 0, 0.12);
  padding: 0 !important;
  overflow: hidden;
}

.region-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #ffffff;
}

.region-dialog-title-wrap {
  display: flex;
  align-items: center;
}

.region-title-blue-bar {
  display: inline-block;
  width: 3px;
  height: 14px;
  background: #1890ff;
  border-radius: 2px;
  margin-right: 8px;
}

.region-dialog-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

.region-dialog-close-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #8c8c8c;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.region-dialog-close-btn:hover {
  color: #262626;
}

.region-dialog-body {
  padding: 24px 24px 20px 24px;
}

.region-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 20px;
}

.region-form-field {
  display: flex;
  align-items: center;
}

.region-form-field.field-full-width {
  grid-column: 1 / -1;
}

.region-form-field.field-align-start {
  align-items: flex-start;
}

.region-form-label {
  width: 82px;
  flex-shrink: 0;
  text-align: right;
  font-size: 13px;
  color: #262626;
  padding-right: 8px;
  user-select: none;
}

.req-star {
  color: #ff4d4f;
  margin-right: 2px;
  font-family: SimSun, sans-serif;
}

.region-form-control-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.region-form-input {
  width: 100%;
  height: 32px;
  padding: 4px 11px;
  font-size: 13px;
  color: #262626;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  outline: none;
  box-sizing: border-box;
}

.region-form-input:focus {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.region-form-input::placeholder {
  color: #bfbfbf;
}

.region-order-input {
  appearance: auto;
}

.select-disabled-wrap,
.select-arrow-wrap {
  position: relative;
  width: 100%;
}

.region-form-select {
  width: 100%;
  height: 32px;
  padding: 4px 28px 4px 11px;
  font-size: 13px;
  color: #262626;
  background-color: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  cursor: not-allowed;
  outline: none;
  appearance: none;
  box-sizing: border-box;
}

.region-form-select:disabled {
  background-color: #f5f5f5;
  color: #262626;
  opacity: 1;
}

.select-arrow-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c8c8c;
  font-size: 11px;
  pointer-events: none;
}

.region-form-textarea {
  width: 100%;
  padding: 6px 11px;
  font-size: 13px;
  color: #262626;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  outline: none;
  resize: vertical;
  min-height: 72px;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.region-form-textarea:focus {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.region-form-textarea::placeholder {
  color: #bfbfbf;
}

.region-dialog-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 12px 24px 16px 24px;
  background: #ffffff;
}

.btn-dialog-cancel {
  height: 32px;
  padding: 4px 16px;
  font-size: 13px;
  border-radius: 3px;
  color: #262626;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dialog-cancel:hover {
  color: #40a9ff;
  border-color: #40a9ff;
}

.btn-dialog-submit {
  height: 32px;
  padding: 4px 18px;
  font-size: 13px;
  border-radius: 3px;
  color: #ffffff;
  background: #0084ff;
  border: 1px solid #0084ff;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
  transition: all 0.2s ease;
}

.btn-dialog-submit:hover {
  background: #1890ff;
  border-color: #1890ff;
}

/* =========================================================
   区域禁用提示确认弹窗 (完全复刻截图)
   ========================================================= */

.region-confirm-dialog {
  max-width: 400px !important;
  width: 90% !important;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.12), 0 3px 6px -4px rgba(0, 0, 0, 0.12);
  padding: 0 !important;
  overflow: hidden;
}

.region-confirm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #f0f0f0;
  background: #ffffff;
}

.region-confirm-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

.region-confirm-body {
  padding: 30px 24px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.region-confirm-warning-icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.region-confirm-text {
  margin: 0;
  font-size: 14px;
  color: #262626;
  line-height: 1.6;
  max-width: 320px;
  text-align: center;
}

.region-confirm-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 10px 20px 26px 20px;
  background: #ffffff;
}

.btn-confirm-cancel {
  min-width: 72px;
  height: 32px;
  padding: 4px 16px;
  font-size: 13px;
  border-radius: 3px;
  color: #262626;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-confirm-cancel:hover {
  color: #40a9ff;
  border-color: #40a9ff;
}

.btn-confirm-ok {
  min-width: 72px;
  height: 32px;
  padding: 4px 18px;
  font-size: 13px;
  border-radius: 3px;
  color: #ffffff;
  background: #1890ff;
  border: 1px solid #1890ff;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
  transition: all 0.2s ease;
}

.btn-confirm-ok:hover {
  background: #40a9ff;
  border-color: #40a9ff;
}

/* ==========================================================================
   属地化深耕详情页面 (1:1 复刻截图)
   ========================================================================== */
.localized-detail-page-wrapper {
  padding: 16px 20px 32px 20px;
  background: #f4f6f8;
  min-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-top-card {
  position: relative;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  overflow: hidden;
}

.detail-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-corner-ribbon {
  position: absolute;
  top: -1px;
  left: -1px;
  background: #1890ff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 14px 4px 14px;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  letter-spacing: 0.5px;
}

.detail-corner-ribbon.is-view-mode {
  background: #52c41a;
}

.detail-top-title {
  margin: 0 0 0 76px;
  font-size: 15px;
  font-weight: 600;
  color: #262626;
}

.detail-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-detail-cancel {
  height: 30px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 3px;
  background: #ffffff;
  color: #595959;
  border: 1px solid #d9d9d9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-detail-cancel:hover {
  color: #1890ff;
  border-color: #1890ff;
}

.btn-detail-save {
  height: 30px;
  padding: 0 18px;
  font-size: 13px;
  border-radius: 3px;
  background: #1890ff;
  color: #ffffff;
  border: 1px solid #1890ff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-detail-save:hover {
  background: #40a9ff;
  border-color: #40a9ff;
}

.detail-body-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-card-panel {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.detail-panel-header {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
}

.detail-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-title-blue-bar {
  display: inline-block;
  width: 3px;
  height: 14px;
  background: #1890ff;
  border-radius: 2px;
}

.detail-panel-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #262626;
}

.detail-collapse-arrow {
  font-size: 13px;
  color: #8c8c8c;
  transition: transform 0.25s ease;
}

.detail-panel-header.is-collapsed .detail-collapse-arrow {
  transform: rotate(-90deg);
}

.detail-panel-content {
  padding: 16px 20px;
}

.detail-panel-content.is-hidden {
  display: none;
}

/* 表单网格 */
.detail-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-form-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.detail-form-row.two-cols .detail-form-item {
  flex: 1;
  max-width: 480px;
}

.detail-form-row.full-width .detail-form-item {
  flex: 1;
  width: 100%;
}

.detail-form-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-form-item.field-top-align {
  align-items: flex-start;
}

.detail-form-label {
  min-width: 80px;
  text-align: right;
  font-size: 13px;
  color: #595959;
  line-height: 32px;
}

.req-star {
  color: #ff4d4f;
  margin-right: 2px;
}

.detail-form-control {
  flex: 1;
  display: flex;
  align-items: center;
}

.detail-form-control.flex-col {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.detail-input,
.detail-select {
  width: 100%;
  height: 32px;
  padding: 4px 10px;
  font-size: 13px;
  color: #262626;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  outline: none;
  transition: all 0.2s ease;
}

.detail-input:focus,
.detail-select:focus,
.detail-textarea:focus {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}

.detail-input:disabled,
.detail-select:disabled,
.detail-textarea:disabled {
  background: #f5f5f5;
  color: #8c8c8c;
  cursor: not-allowed;
  border-color: #d9d9d9;
}

.detail-btn-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-detail-tool {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  color: #595959;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-detail-tool:hover:not(:disabled) {
  color: #1890ff;
  border-color: #1890ff;
}

.btn-detail-tool:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-detail-tool .btn-icon {
  font-size: 13px;
}

/* 附件条目 */
.detail-attachment-list {
  width: 100%;
}

.detail-attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  font-size: 12px;
}

.detail-attach-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.excel-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #52c41a;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 2px;
}

.detail-attach-filename {
  color: #1890ff;
  font-weight: 500;
}

.detail-attach-filesize {
  color: #8c8c8c;
}

.detail-attach-link {
  color: #1890ff;
  text-decoration: none;
  cursor: pointer;
  margin-left: 6px;
}

.detail-attach-link:hover {
  text-decoration: underline;
}

.detail-attach-link.text-danger {
  color: #ff4d4f;
}

.detail-attach-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8c8c8c;
}

.detail-textarea-wrap {
  position: relative;
  width: 100%;
}

.detail-textarea {
  width: 100%;
  padding: 8px 10px 24px 10px;
  font-size: 13px;
  color: #262626;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  resize: vertical;
  min-height: 80px;
  outline: none;
  box-sizing: border-box;
}

.detail-char-count {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 12px;
  color: #bfbfbf;
}

/* 子表格 */
.detail-subtable-toolbar {
  margin-bottom: 10px;
}

.btn-detail-add-row {
  height: 28px;
  padding: 0 14px;
  font-size: 12px;
  color: #ffffff;
  background: #1890ff;
  border: 1px solid #1890ff;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-detail-add-row:hover {
  background: #40a9ff;
  border-color: #40a9ff;
}

.detail-subtable-wrap {
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  overflow-x: auto;
}

.detail-sub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.detail-sub-table thead tr {
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.detail-sub-table th {
  padding: 10px 12px;
  font-weight: 600;
  color: #595959;
  white-space: nowrap;
}

.detail-sub-table td {
  padding: 10px 12px;
  color: #262626;
  border-bottom: 1px solid #f0f0f0;
  background: #ffffff;
}

.detail-sub-table tr:hover td {
  background: #fafafa;
}

.detail-sub-table .subtable-empty-row td {
  padding: 36px 16px;
  text-align: center;
  color: #bfbfbf;
}

.subtable-empty-icon {
  margin-bottom: 6px;
  font-size: 28px;
  opacity: 0.6;
}

/* 查看模式下的不可编辑全局约束 */
.view-mode-disabled input,
.view-mode-disabled select,
.view-mode-disabled textarea {
  pointer-events: none;
  background: #fbfbfb !important;
  color: #595959 !important;
}

.view-mode-disabled .btn-detail-add-row,
.view-mode-disabled #btn-upload-intro,
.view-mode-disabled #btn-upload-rule,
.view-mode-disabled #btn-attach-delete,
.view-mode-disabled .col-action-subtable,
.view-mode-disabled td:last-child {
  display: none !important;
}

/* 列表左上角操作工具栏 */
.localized-table-toolbar {
  padding: 10px 16px 6px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #ffffff;
}

.btn-localized-add-customer {
  background: #1890ff;
  color: #ffffff;
  border: 1px solid #1890ff;
  border-radius: 3px;
  padding: 5px 16px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
}

.btn-localized-add-customer:hover {
  background: #40a9ff;
  border-color: #40a9ff;
}

/* 客户模式基本信息三列排版 */
.detail-form-row.three-cols {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.9fr;
  gap: 20px;
  width: 100%;
}

.detail-search-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.detail-search-input-wrap .detail-input {
  padding-right: 28px;
}

.detail-search-icon {
  position: absolute;
  right: 8px;
  font-size: 13px;
  color: #8c8c8c;
  cursor: pointer;
  user-select: none;
}

.detail-search-icon:hover {
  color: #1890ff;
}

/* =========================================================
   领导小组新增/编辑弹窗 (1:1 像素级复刻截图)
   ========================================================= */

.leader-group-modal {
  max-width: 660px !important;
  width: 90% !important;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  padding: 0 !important;
}

.leader-group-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #ffffff;
}

.modal-title-with-blue-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title-with-blue-bar h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #262626;
}

.modal-close-icon-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #8c8c8c;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.modal-close-icon-btn:hover {
  color: #ff4d4f;
}

.leader-group-modal-body {
  padding: 24px 32px 16px;
}

.leader-group-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.leader-form-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: flex-start;
  gap: 12px;
}

.leader-form-label {
  text-align: right;
  font-size: 13px;
  color: #262626;
  line-height: 32px;
  white-space: nowrap;
}

.leader-form-control {
  width: 100%;
}

.leader-form-control.flex-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.leader-field-tip {
  font-size: 12px;
  color: #8c8c8c;
  line-height: 1.4;
  margin-top: 2px;
}

.leader-group-modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px 24px;
  background: #ffffff;
}

.leader-group-modal-actions .btn-modal-cancel {
  min-width: 72px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #ffffff;
  color: #595959;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.leader-group-modal-actions .btn-modal-cancel:hover {
  border-color: #1890ff;
  color: #1890ff;
}

.leader-group-modal-actions .btn-modal-confirm {
  min-width: 72px;
  height: 32px;
  border: 1px solid #1890ff;
  border-radius: 4px;
  background: #1890ff;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.leader-group-modal-actions .btn-modal-confirm:hover {
  background: #40a9ff;
  border-color: #40a9ff;
}

/* ==========================================================================
   配置市委办局 / 配置国家部委 树形配置弹窗 (1:1 复刻图1截图)
   ========================================================================== */
.bureau-config-dialog {
  width: min(760px, calc(100vw - 48px));
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  padding: 0;
  overflow: hidden;
}

.bureau-dialog-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.bureau-dialog-body {
  padding: 20px 24px 24px;
}

.bureau-dialog-toolbar {
  margin-bottom: 16px;
}

.btn-bureau-add-root {
  background: #1890ff;
  border: 1px solid #1890ff;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.15);
}

.btn-bureau-add-root:hover {
  background: #096dd9;
  border-color: #096dd9;
}

.btn-bureau-add-root .btn-plus-icon {
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

/* 树节点灰色外框卡片 */
.bureau-tree-card-box {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 20px 24px;
  min-height: 340px;
  max-height: 520px;
  overflow-y: auto;
  background: #ffffff;
}

.bureau-tree-container {
  font-size: 14px;
}

.bureau-tree-node-row {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  gap: 8px;
  transition: background 0.15s ease;
}

.bureau-tree-node-row:hover {
  background: #f5f7fa;
}

.bureau-tree-node-row:hover .bureau-node-actions {
  opacity: 1;
}

/* 1:1 复刻截图中的 [+] 方框展开折叠图标 */
.tree-square-icon {
  width: 14px;
  height: 14px;
  border: 1px solid #a0aab5;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  color: #606d7b;
  font-family: monospace, sans-serif;
  background: #ffffff;
  flex: 0 0 14px;
  user-select: none;
}

.tree-square-icon:hover {
  border-color: #1890ff;
  color: #1890ff;
}

.tree-square-icon.is-empty {
  visibility: hidden;
}

.bureau-node-label {
  font-size: 14px;
  color: #262626;
  font-weight: 400;
}

.bureau-node-children {
  padding-left: 24px;
}

.bureau-node-actions {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bureau-action-btn {
  color: #1890ff;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}

.bureau-action-btn:hover {
  text-decoration: underline;
}

/* =========================================================
   切换组织弹窗 (1:1 像素级复刻截图)
   ========================================================= */

.topbar-company,
.clickable-org-trigger {
  cursor: pointer !important;
  user-select: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-company:hover,
.clickable-org-trigger:hover {
  background: rgba(24, 144, 255, 0.15) !important;
  color: #1890ff !important;
}

[hidden] {
  display: none !important;
}

#modal-org-switch-backdrop {
  z-index: 99999 !important;
}

#modal-org-switch-backdrop .filter-modal {
  z-index: 100000 !important;
}

.org-switch-dialog {
  max-width: 680px !important;
  width: 90% !important;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0 !important;
  overflow: hidden;
}

.org-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 10px 20px;
  background: #ffffff;
}

.org-current-badge-box {
  background: #e6f7ff;
  border: 1px solid #bae7ff;
  border-radius: 4px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
}

.org-current-badge-text {
  color: #1890ff;
  font-size: 13px;
  font-weight: 500;
}

.org-dialog-body {
  padding: 8px 20px 16px 20px;
}

.org-dialog-tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.org-tab-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

.org-tab-item {
  font-size: 14px;
  color: #595959;
  cursor: pointer;
  position: relative;
  padding-bottom: 6px;
  user-select: none;
}

.org-tab-item.active {
  color: #111827;
  font-weight: 600;
}

.org-tab-underline {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: #1890ff;
  border-radius: 2px;
}

.org-tab-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #595959;
}

.org-tool-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.org-tool-icon-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1890ff;
  color: #ffffff;
  font-size: 12px;
}

.org-tool-icon-filter {
  color: #1890ff;
  font-size: 12px;
}

.org-dialog-search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.org-search-input {
  width: 100%;
  height: 34px;
  padding: 4px 36px 4px 14px;
  font-size: 13px;
  color: #262626;
  border: 1px solid #d9d9d9;
  border-radius: 17px;
  outline: none;
  transition: all 0.2s ease;
}

.org-search-input:focus {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}

.org-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #bfbfbf;
  font-size: 14px;
  pointer-events: none;
}

.org-tree-box {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  height: 260px;
  overflow-y: auto;
  padding: 12px;
  background: #ffffff;
}

.org-tree-node-row {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: #262626;
  transition: background 0.15s ease;
}

.org-tree-node-row:hover {
  background: #f5f5f5;
}

.org-tree-node-row.is-selected {
  background: #e6f7ff !important;
}

.org-toggle-arrow {
  display: inline-block;
  width: 16px;
  text-align: center;
  color: #8c8c8c;
  font-size: 10px;
  cursor: pointer;
  margin-right: 2px;
}

.org-folder-icon {
  margin-right: 6px;
  font-size: 14px;
}

.org-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  margin-right: 6px;
  flex-shrink: 0;
}

.org-badge-icon.badge-company {
  background: #13c2c2;
}

.org-badge-icon.badge-group {
  background: #ff4d4f;
}

.org-node-text {
  flex: 1;
  color: #262626;
}

.org-node-code {
  color: #8c8c8c;
  margin-left: 4px;
}

.org-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #1890ff;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  font-style: italic;
  margin-left: 6px;
  flex-shrink: 0;
}

.org-tree-children {
  padding-left: 20px;
}

.org-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.org-footer-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 4px;
  padding: 6px 12px;
  color: #fa8c16;
  font-size: 12px;
}

.org-warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fa8c16;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
}

.org-confirm-btn:disabled {
  background: #f5f5f5 !important;
  border-color: #d9d9d9 !important;
  color: #bfbfbf !important;
  cursor: not-allowed !important;
}

/* ==========================================================================
   属地化深耕 附件列表弹窗与操作栏扩展样式 (1:1 复刻设计截图)
   ========================================================================== */

/* 操作栏置灰禁用按钮 */
.localized-data-table .action-link.action-link-disabled {
  color: #c0c4cc !important;
  cursor: not-allowed !important;
  text-decoration: none !important;
  pointer-events: none !important;
}

/* 附件弹窗容器 */
.attachment-list-modal {
  max-width: 1060px !important;
  width: 90% !important;
  max-height: calc(100vh - 100px);
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}

.attachment-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #ffffff;
}

.attachment-title-icon-bar {
  display: inline-block;
  width: 3px;
  height: 14px;
  background: #1890ff;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}

.attachment-modal-body {
  padding: 16px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* 顶部操作工具栏 */
.attachment-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-batch-download {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 5px 14px;
  font-size: 13px;
  color: #595959;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.5;
  white-space: nowrap;
}

.btn-batch-download:hover {
  border-color: #40a9ff;
  color: #40a9ff;
  background: #f0f7ff;
}

.attachment-secret-warning {
  color: #ff4d4f;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

/* 附件数据表格 */
.attachment-table-wrap {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  max-height: 440px;
  overflow-y: auto;
  overflow-x: auto;
}

.attachment-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #262626;
}

.attachment-data-table thead th {
  background: #fafafa;
  color: #595959;
  font-weight: 600;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  white-space: nowrap;
}

.attachment-data-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.attachment-data-table tbody tr:hover {
  background: #f9fbfd;
}

.attachment-data-table tbody td {
  padding: 10px 14px;
  color: #262626;
  line-height: 1.5;
  vertical-align: middle;
}

.attachment-data-table .attach-checkbox {
  cursor: pointer;
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

.attachment-data-table .action-link {
  color: #1890ff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}

.attachment-data-table .action-link:hover {
  color: #096dd9;
  text-decoration: underline;
}

/* 附件分页底栏 */
.attachment-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 6px;
}

.attachment-pagination-summary {
  color: #8c8c8c;
  font-size: 13px;
}

.attachment-pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.attachment-page-btn {
  min-width: 28px;
  height: 28px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #595959;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.attachment-page-btn:hover:not(:disabled) {
  border-color: #40a9ff;
  color: #40a9ff;
}

.attachment-page-btn:disabled {
  color: #bfbfbf;
  border-color: #e8e8e8;
  background: #f5f5f5;
  cursor: not-allowed;
}

.attachment-page-num {
  min-width: 28px;
  height: 28px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #595959;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
}

.attachment-page-num.active {
  border-color: #1890ff;
  color: #1890ff;
  font-weight: 600;
}

.attachment-page-size-select {
  height: 28px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  padding: 0 6px;
  font-size: 12px;
  color: #595959;
  background: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   通知公告专栏 (Announcement Column) 简约化 2 列网格布局 (1:1 对齐截图)
   ========================================================================== */

.anno-column-grid-layout {
  padding: 16px 20px 40px;
  background: #f0f3f7;
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 顶部轻量工具栏 */
.anno-column-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #e4ebf2;
  box-shadow: 0 1px 3px rgba(15, 35, 64, 0.03);
}

.anno-column-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.anno-page-title-badge {
  font-size: 15px;
  font-weight: 700;
  color: #1f2d3d;
}

.anno-page-subtitle {
  font-size: 12px;
  color: #7b8b9c;
}

.anno-column-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.anno-simple-search-wrap {
  position: relative;
  width: 260px;
}

.anno-simple-search-wrap input {
  width: 100%;
  height: 32px;
  padding: 0 32px 0 10px;
  border: 1px solid #c9d4df;
  border-radius: 4px;
  font-size: 12px;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s;
}

.anno-simple-search-wrap input:focus {
  border-color: #1779c6;
  box-shadow: 0 0 0 2px rgba(23, 121, 198, 0.12);
}

.anno-search-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c9ba8;
  font-size: 13px;
  cursor: pointer;
}

.btn-toolbar-config {
  font-size: 12px;
  padding: 5px 12px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 2 列多栏目卡片网格容器 */
.anno-category-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* 单个栏目卡片 (对齐截图白底边框卡片) */
.anno-grid-card {
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(15, 35, 64, 0.03);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.anno-grid-card:hover {
  box-shadow: 0 3px 10px rgba(15, 35, 64, 0.06);
  border-color: #d2dee9;
}

/* 卡片头部 */
.anno-grid-card-header {
  padding: 10px 14px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 4px 4px 0 0;
}

.anno-card-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.anno-card-blue-bar {
  width: 3px;
  height: 14px;
  background: #1779c6;
  border-radius: 2px;
  display: inline-block;
}

.anno-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #24384b;
  margin: 0;
  line-height: 1.2;
}

.anno-card-header-right {
  display: flex;
  align-items: center;
}

.anno-card-more-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #dce4ed;
  background: #ffffff;
  color: #8c9ba8;
  font-size: 10px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
  line-height: 1;
}

.anno-card-more-btn:hover {
  border-color: #1779c6;
  color: #1779c6;
  background: #eaf3fb;
}

/* 卡片内公文列表 */
.anno-card-list-body {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  flex: 1;
}

.anno-grid-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid #f8fafc;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 40px;
}

.anno-grid-row-item:last-child {
  border-bottom: none;
}

.anno-grid-row-item:hover {
  background: #f5f9fd;
}

.anno-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding-right: 14px;
}

/* 截图同款置顶标签：浅粉红底淡红字 */
.anno-top-pill {
  background: #fff1f0;
  color: #ff4d4f;
  border: 1px solid #ffa39e;
  font-size: 11px;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 500;
  line-height: 1.4;
  flex-shrink: 0;
}

.anno-row-title {
  font-size: 13px;
  color: #243447;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.anno-grid-row-item:hover .anno-row-title {
  color: #1779c6;
}

.anno-row-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.anno-row-date {
  font-size: 12px;
  color: #8c9ba8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 截图同款单位标签：浅灰底灰色边框胶囊 */
.anno-row-unit-pill {
  background: #f4f6f9;
  color: #506173;
  border: 1px solid #e1e7ee;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
  min-width: 54px;
  text-align: center;
}

/* 无数据时的整洁留白 (对齐截图下半部分卡片) */
.anno-card-list-empty-space {
  flex: 1;
  min-height: 150px;
  background: #ffffff;
}

.anno-empty-grid-state {
  grid-column: span 2;
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e8edf2;
  color: #7b8b9c;
}

/* 栏目更多公告弹窗 */
.anno-cat-more-dialog {
  max-width: 820px;
  width: 92%;
}

.anno-cat-more-header {
  padding: 12px 20px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.anno-cat-more-body {
  padding: 16px 20px;
  max-height: calc(85vh - 120px);
  overflow-y: auto;
}

.anno-modal-table-title {
  color: #1779c6;
  font-weight: 500;
  cursor: pointer;
}

.anno-modal-table-title:hover {
  text-decoration: underline;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  padding: 4px 12px;
  border: 1px solid #c9d4df;
  background: #ffffff;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  color: #4a5d73;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #1779c6;
  color: #1779c6;
}

.pagination-btn:disabled {
  background: #f5f7fa;
  color: #b0bcc9;
  cursor: not-allowed;
}

.pagination-page-indicator {
  font-weight: 600;
  color: #243447;
  padding: 0 4px;
}

/* 2. 通知公告配置页面样式 */
.anno-config-page-layout {
  display: flex;
  gap: 16px;
  padding: 16px 20px 40px;
  background: #f0f3f7;
  min-height: calc(100vh - 100px);
}

.anno-config-left-sidebar {
  width: 320px;
  flex-shrink: 0;
}

.anno-config-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e4ebf2;
  box-shadow: 0 1px 4px rgba(15, 35, 64, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.anno-config-header {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-add-cat-sm {
  font-size: 12px;
  padding: 4px 10px;
  height: 28px;
}

.cat-sidebar-tip {
  padding: 8px 16px;
  background: #fafbfd;
  font-size: 11px;
  color: #7b8b9c;
  border-bottom: 1px solid #edf2f7;
}

.config-category-scroll-box {
  flex: 1;
  overflow-y: auto;
  max-height: 520px;
  padding: 8px 12px;
}

.config-category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #e8eff5;
  background: #fafbfd;
  cursor: pointer;
  transition: all 0.2s;
}

.config-cat-item:hover {
  background: #eef5fb;
  border-color: #bcd5ea;
}

.config-cat-item.active {
  background: #e6f3fc;
  border-color: #1779c6;
}

.config-cat-item.is-disabled-item {
  opacity: 0.65;
  background: #f5f5f5;
}

.config-cat-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.config-cat-sort-badge {
  font-size: 11px;
  background: #e2eaf2;
  color: #4a5d73;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.config-cat-name {
  font-size: 13px;
  font-weight: 600;
  color: #243447;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.config-cat-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.config-cat-count {
  font-size: 11px;
  color: #8c9ba8;
  padding: 0 4px;
}

.cat-action-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background 0.2s;
}

.cat-action-btn:hover {
  background: #d8e5f0;
}

.config-sidebar-footer {
  padding: 12px 16px;
  border-top: 1px solid #edf2f7;
  text-align: center;
}

.btn-reset-demo {
  font-size: 12px;
  width: 100%;
  color: #637385;
}

/* 右侧管理面板 */
.anno-config-main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.anno-config-filter-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e4ebf2;
  box-shadow: 0 1px 4px rgba(15, 35, 64, 0.04);
  padding: 14px 18px;
}

.anno-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
}

.anno-filter-btns {
  display: flex;
  gap: 8px;
}

.anno-config-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 12px;
}

.filter-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-field label {
  font-size: 13px;
  color: #4a5d73;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-field .detail-input {
  width: 100%;
  height: 32px;
  font-size: 13px;
  padding: 0 8px;
  border: 1px solid #c9d4df;
  border-radius: 4px;
}

.date-range-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.range-sep {
  font-size: 12px;
  color: #7a8b9e;
}

.anno-config-table-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e4ebf2;
  box-shadow: 0 1px 4px rgba(15, 35, 64, 0.04);
  padding: 16px 18px;
}

.anno-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.btn-add-anno-lg {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.anno-count-hint {
  font-size: 12px;
  color: #7a8b9e;
  margin-left: 12px;
}

.table-tip-text {
  font-size: 12px;
  color: #8c9ba8;
}

.anno-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.anno-data-table th,
.anno-data-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
}

.anno-data-table th {
  background: #f7fafc;
  color: #4a5d73;
  font-weight: 600;
}

.anno-data-table tbody tr:hover {
  background: #f7fbff;
}

.anno-title-cell {
  max-width: 320px;
}

.anno-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-tag {
  background: #ff4d4f;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  flex-shrink: 0;
}

.anno-link-title {
  color: #1779c6;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}

.anno-link-title:hover {
  text-decoration: underline;
}

.cat-pill {
  background: #eef5fb;
  color: #1779c6;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.scope-tags-wrap {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.scope-tag {
  background: #f0f5ff;
  color: #2f54eb;
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 3px;
}

.attach-badge {
  background: #e6f4ff;
  color: #0958d9;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
}

.publisher-info {
  display: flex;
  flex-direction: column;
}

.publisher-name {
  font-weight: 500;
  color: #243447;
}

.publisher-dept {
  font-size: 11px;
  color: #8c9ba8;
}

.status-badge {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  display: inline-block;
}

.badge-success { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }
.badge-warning { background: #fffbe6; color: #faad14; border: 1px solid #ffe58f; }
.badge-disabled { background: #f5f5f5; color: #8c8c8c; border: 1px solid #d9d9d9; }

.table-actions-cell {
  white-space: nowrap;
}

.table-action-link {
  background: transparent;
  border: none;
  color: #1779c6;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  margin: 0 2px;
}

.table-action-link:hover {
  text-decoration: underline;
}

.table-action-link.text-danger {
  color: #f5222d;
}

.table-empty-cell {
  text-align: center;
  padding: 36px 0;
}

/* 3. 弹窗公共与公文详情弹窗样式 */
.anno-cat-dialog {
  max-width: 500px;
  width: 90%;
}

.anno-cat-dialog-body,
.anno-edit-dialog-body {
  padding: 18px 24px;
  max-height: calc(85vh - 120px);
  overflow-y: auto;
}

.anno-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #243447;
}

.modal-form-label .req-star {
  color: #f5222d;
  margin-right: 2px;
}

.radio-group-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.radio-inline,
.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  user-select: none;
}

.radio-inline input[type="radio"],
.checkbox-inline input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #1779c6;
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
}

.modal-textarea-sm {
  height: 60px;
  padding: 6px 8px;
  resize: vertical;
}

.field-hint-text {
  font-size: 11px;
  color: #8c9ba8;
  margin-top: 2px;
}

.anno-dialog-footer-actions {
  padding: 12px 24px;
  border-top: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: #fafbfd;
}

/* 公告编辑弹窗 (大) */
.anno-edit-dialog {
  max-width: 860px;
  width: 92%;
}

.anno-modal-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-grid-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.font-bold-input {
  font-weight: 600;
  font-size: 14px;
}

.highlight-top-text {
  font-size: 12px;
  font-weight: 600;
  color: #cf1322;
}

.scope-checkboxes-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 10px;
  background: #f8fafc;
  border: 1px solid #e2eaf2;
  border-radius: 4px;
}

.scope-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #3b4957;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s;
  user-select: none;
}

.scope-checkbox-label:hover {
  background-color: #eaf2fa;
  color: #1779c6;
}

.scope-checkbox-label input[type="checkbox"] {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #1779c6;
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
}

.modal-textarea-editor {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid #c9d4df;
  border-radius: 4px;
  resize: vertical;
}

.anno-attachments-manager {
  border: 1px dashed #c2d5e8;
  border-radius: 6px;
  padding: 10px 14px;
  background: #f9fbfe;
}

.attach-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.attach-tip-text {
  font-size: 12px;
  color: #7a8b9e;
}

.btn-upload-sm {
  font-size: 12px;
  padding: 3px 10px;
}

.anno-attachments-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anno-empty-attach-hint {
  font-size: 12px;
  color: #a0aec0;
  padding: 8px 0;
  text-align: center;
}

.anno-attach-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #e2eaf2;
  border-radius: 4px;
}

.attach-item-icon {
  font-size: 16px;
  margin-right: 8px;
}

.attach-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.attach-item-name {
  font-size: 13px;
  font-weight: 500;
  color: #243447;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attach-item-size {
  font-size: 11px;
  color: #8c9ba8;
  flex-shrink: 0;
}

.btn-remove-attach {
  background: transparent;
  border: none;
  color: #f5222d;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 6px;
}

/* 沉浸式公文阅览弹窗 (红头公文样式) */
.anno-official-doc-dialog {
  max-width: 900px;
  width: 94%;
}

.anno-doc-dialog-header {
  padding: 12px 24px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-dialog-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-print-doc {
  font-size: 12px;
  padding: 4px 10px;
}

.anno-doc-dialog-body {
  padding: 28px 40px;
  max-height: calc(85vh - 120px);
  overflow-y: auto;
  background: #ffffff;
}

.official-document-layout {
  display: flex;
  flex-direction: column;
}

.doc-header-brand {
  text-align: center;
  margin-bottom: 18px;
}

.doc-brand-logo {
  font-size: 22px;
  font-weight: 900;
  color: #cf1322;
  letter-spacing: 0.12em;
  font-family: "SimSun", "STSong", serif, sans-serif;
}

.doc-brand-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #1779c6;
  margin-top: 4px;
  letter-spacing: 0.08em;
}

.doc-brand-redline {
  height: 3px;
  background: linear-gradient(90deg, #cf1322, #f5222d, #cf1322);
  margin-top: 10px;
  border-radius: 2px;
}

.doc-title-box {
  text-align: center;
  margin: 18px 0 14px;
}

.doc-top-badge {
  color: #cf1322;
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.doc-main-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2d3d;
  line-height: 1.4;
  margin: 0;
}

.doc-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
  font-size: 12px;
  color: #637385;
  margin-bottom: 14px;
}

.doc-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.doc-cat-badge {
  background: #e6f4ff;
  color: #0958d9;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
}

.doc-scope-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f6ffed;
  border: 1px solid #d9f7be;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  margin-bottom: 20px;
}

.doc-scope-title {
  font-weight: 600;
  color: #389e0d;
}

.doc-scope-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.doc-scope-pill-tag {
  background: #ffffff;
  color: #237804;
  border: 1px solid #b7eb8f;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
}

/* 公文正文排版 */
.doc-article-body {
  font-size: 15px;
  line-height: 1.8;
  color: #243447;
  margin-bottom: 24px;
}

.announcement-content-body p {
  text-indent: 2em;
  margin-bottom: 12px;
}

.announcement-content-body p.lead-para {
  text-indent: 0;
  font-size: 15px;
  margin-bottom: 10px;
}

.announcement-content-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1779c6;
  margin: 16px 0 8px 0;
}

.announcement-content-body ul,
.announcement-content-body ol {
  padding-left: 28px;
  margin-bottom: 12px;
}

.announcement-content-body li {
  margin-bottom: 6px;
}

.anno-official-seal {
  text-align: right;
  margin-top: 32px;
  padding-right: 16px;
}

.anno-official-seal p {
  text-indent: 0;
  margin: 4px 0;
  font-weight: 600;
  color: #243447;
}

/* 详情页附件专区 */
.detail-attachments-section {
  background: #fafbfd;
  border: 1px solid #e4ebf2;
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.attach-sec-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.attach-sec-title {
  font-size: 13px;
  font-weight: 700;
  color: #1f2d3d;
}

.attach-sec-hint {
  font-size: 11px;
  color: #8c9ba8;
}

.attach-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.detail-attach-card {
  background: #ffffff;
  border: 1px solid #e2eaf2;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.detail-attach-card:hover {
  border-color: #1779c6;
  box-shadow: 0 2px 8px rgba(23, 121, 198, 0.1);
}

.attach-card-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.badge-file-pdf { background: #fff1f0; }
.badge-file-excel { background: #f6ffed; }
.badge-file-word { background: #e6f4ff; }
.badge-file-ppt { background: #fff7e6; }
.badge-file-doc { background: #f5f5f5; }

.attach-card-details {
  flex: 1;
  min-width: 0;
}

.attach-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #243447;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attach-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8c9ba8;
  margin-top: 2px;
}

.attach-card-ext {
  background: #eef2f7;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: 700;
  color: #4a5d73;
}

.attach-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-attach-preview,
.btn-attach-download {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.btn-attach-preview {
  background: #e6f4ff;
  color: #0958d9;
  border: 1px solid #91caff;
}

.btn-attach-preview:hover {
  background: #bae0ff;
}

.btn-attach-download {
  background: #1779c6;
  color: #ffffff;
  border: 1px solid #1779c6;
}

.btn-attach-download:hover {
  background: #0e66b0;
}

/* 翻页导航 */
.doc-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
  font-size: 13px;
  color: #637385;
}

.doc-nav-link {
  color: #1779c6;
  text-decoration: none;
  font-weight: 500;
}

.doc-nav-link:hover {
  text-decoration: underline;
}

.anno-doc-dialog-footer {
  padding: 12px 24px;
  border-top: 1px solid #edf2f7;
  display: flex;
  justify-content: flex-end;
  background: #fafbfd;
}

/* ==========================================================================
   六张网新签合同额情况表（新） 页面样式
   完全对齐：六张网新签合同额情况表（月度经营情况简报统一视觉规范）
   表头：#b8c7d5, 边框：#8eaec6, 文字：#24435a
   表体：#f8fbfe, 边框：#d6e3ed, 文字：#243447
   首列：#edf3f8, 文字：#28445c 加粗居中
   合计行：#d9eff3, 首列：#cfe7ec
   悬停：#eef6fc, 首列悬停：#e4eef6
   ========================================================================== */
.six-nets-new-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #8eaec6;
  border-radius: var(--radius-sm);
  background-color: #fff;
}

.six-nets-new-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-size: 14px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  table-layout: auto;
}

/* 表头：完全对齐六张网新签合同额情况表规范 (#b8c7d5, 边框 #8eaec6, 文字 #24435a) */
.six-nets-new-table thead th {
  text-align: center;
  vertical-align: middle;
  color: #24435a;
  border: 1px solid #8eaec6;
  background: #b8c7d5;
  font-weight: 700;
  padding: 9px 12px;
  white-space: nowrap;
  font-size: 14px;
}

/* 表体单元格：完全对齐六张网规范 (#f8fbfe, 边框 #d6e3ed, 文字 #243447) */
.six-nets-new-table tbody td {
  text-align: right;
  border: 1px solid #d6e3ed;
  background: #f8fbfe;
  color: #243447;
  padding: 8px 12px;
  vertical-align: middle;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* 首列（序号）：完全对齐六张网首列规范 (#edf3f8, 文字 #28445c, 加粗居中) */
.six-nets-new-table tbody td:first-child {
  text-align: center;
  background: #edf3f8;
  color: #28445c;
  font-weight: 700;
  white-space: nowrap;
  width: 55px;
}

/* 一级分类行样式与交互 */
.six-nets-new-row-parent {
  cursor: pointer;
  user-select: none;
}

.six-nets-new-row-parent td {
  font-weight: 600;
}

.six-nets-new-row-parent td:nth-child(2) {
  text-align: left;
  padding-left: 16px;
  font-weight: 700;
  color: #1e3a5f;
}

/* 普通行悬停效果（对齐六张网规范） */
.six-nets-new-table tbody tr.six-nets-new-row-parent:hover td {
  background: #eef6fc;
}

.six-nets-new-table tbody tr.six-nets-new-row-parent:hover td:first-child {
  background: #e4eef6;
}

/* 三角折叠指示符 */
.six-nets-new-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  color: #28445c;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.15s ease;
  vertical-align: -1px;
}

.six-nets-new-caret:hover {
  color: #1779c6;
}

.six-nets-new-caret.is-expanded {
  transform: rotate(90deg);
  color: #1779c6;
}

.six-nets-new-cat-name {
  font-size: 14px;
}

/* 二级细分分类行（展开层级） */
.six-nets-new-row-child td {
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid #dce8f2;
  padding: 7px 12px;
}

.six-nets-new-row-child td:first-child {
  background: #f5f9fc !important;
  color: #5a738e !important;
  font-size: 12px !important;
  font-weight: normal !important;
}

.six-nets-new-row-child td:nth-child(2) {
  text-align: left;
  padding-left: 36px;
}

.six-nets-new-row-child:hover td {
  background: #f0f7fd !important;
}

.six-nets-new-row-child:hover td:first-child {
  background: #e8f1f8 !important;
}

.six-nets-new-tree-branch {
  color: #7a9cb9;
  margin-right: 6px;
  font-family: monospace;
  font-weight: bold;
}

.six-nets-new-child-name {
  color: #2c3e50;
}

/* 合计行：完全对齐六张网 is-total 规范 (#d9eff3, 首列 #cfe7ec) */
.six-nets-new-table tbody tr.is-total td {
  background: #d9eff3 !important;
  color: #1f2d3d !important;
  font-weight: 700 !important;
  border-color: #8eaec6 !important;
  font-size: 14px;
}

.six-nets-new-table tbody tr.is-total td:first-child {
  background: #cfe7ec !important;
  color: #28445c !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.six-nets-new-table tbody tr.is-total td:nth-child(2) {
  text-align: center !important;
  letter-spacing: 2px;
}

.six-nets-new-table tbody tr.is-total:hover td {
  background: #cfe7ec !important;
}

/* ==========================================================================
   新兴业务统计分析表 页面样式（完全对齐原型截图规范）
   ========================================================================== */
.ebs-page {
  padding: 12px;
  background: #f0f2f5;
  min-height: calc(100vh - 80px);
  box-sizing: border-box;
}

.ebs-layout {
  display: flex;
  gap: 12px;
  align-items: stretch;
  position: relative;
  min-height: 720px;
}

/* 左侧企业组织树 */
.ebs-sidebar {
  width: 320px;
  min-width: 320px;
  transition: all 0.25s ease-in-out;
  display: flex;
  flex-direction: column;
}

.ebs-layout.is-collapsed .ebs-sidebar {
  width: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
}

.ebs-tree-card {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 4px;
  padding: 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ebs-card-title {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 14px 0;
  line-height: 1;
}

.ebs-card-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background-color: #0076fe;
  margin-right: 8px;
  border-radius: 2px;
}

.ebs-tree-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 0 8px;
  background: #fff;
  height: 32px;
  box-sizing: border-box;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ebs-tree-search-wrap:focus-within {
  border-color: #0076fe;
  box-shadow: 0 0 0 2px rgba(0, 118, 254, 0.12);
}

.ebs-tree-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #334155;
  background: transparent;
  padding: 0;
}

.ebs-tree-search-input::placeholder {
  color: #94a3b8;
}

.ebs-tree-search-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 13px;
  user-select: none;
}

.ebs-tree-container {
  flex: 1;
  overflow-y: auto;
  max-height: calc(100vh - 200px);
  padding-right: 4px;
}

.ebs-tree-root,
.ebs-tree-children {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ebs-tree-item {
  margin: 1px 0;
}

.ebs-tree-node-row {
  display: flex;
  align-items: center;
  height: 30px;
  line-height: 30px;
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s;
  color: #334155;
  font-size: 13px;
}

.ebs-tree-node-row:hover {
  background-color: #f1f5f9;
}

.ebs-tree-node-row.is-selected {
  background-color: #e6f0ff;
  color: #0076fe;
  font-weight: 600;
}

.ebs-tree-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  font-size: 10px;
  color: #64748b;
  transform: rotate(-90deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.ebs-tree-arrow.is-expanded {
  transform: rotate(0deg);
}

.ebs-tree-arrow-spacer {
  display: inline-block;
  width: 16px;
  margin-right: 4px;
  flex-shrink: 0;
}

.ebs-tree-node-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 折叠/展开把手（Splitter Toggle） */
.ebs-splitter-toggle {
  position: absolute;
  left: 314px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 48px;
  background-color: #0076fe;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 118, 254, 0.35);
  transition: left 0.25s ease-in-out, background-color 0.15s;
}

.ebs-layout.is-collapsed .ebs-splitter-toggle {
  left: -2px;
}

.ebs-splitter-toggle:hover {
  background-color: #005ecb;
}

.ebs-splitter-toggle-dot {
  width: 3px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 50%;
}

/* 右侧主体 */
.ebs-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 查询卡片 */
.ebs-query-card {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 4px;
  padding: 16px 20px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ebs-query-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ebs-query-actions {
  display: flex;
  gap: 10px;
}

.ebs-btn-primary {
  height: 32px;
  padding: 0 18px;
  background-color: #0076fe;
  color: #ffffff;
  border: 1px solid #0076fe;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.ebs-btn-primary:hover {
  background-color: #0063d6;
  border-color: #0063d6;
}

.ebs-btn-default {
  height: 32px;
  padding: 0 18px;
  background-color: #ffffff;
  color: #595959;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.ebs-btn-default:hover {
  border-color: #0076fe;
  color: #0076fe;
}

/* 查询字段布局（两行网格） */
.ebs-query-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ebs-form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 14px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.ebs-form-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #334155;
  white-space: nowrap;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ebs-form-label {
  margin-right: 8px;
  color: #475569;
  font-size: 13px;
  text-align: right;
  width: 70px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.ebs-form-label-placeholder {
  visibility: hidden;
  pointer-events: none;
}

/* 统计期间选择器 */
.ebs-period-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  height: 32px;
  padding: 0 8px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.ebs-period-picker:focus-within {
  border-color: #0076fe;
  box-shadow: 0 0 0 2px rgba(0, 118, 254, 0.12);
}

.ebs-period-input {
  border: none;
  outline: none;
  font-size: 13px;
  color: #334155;
  flex: 1;
  min-width: 0;
  width: 0;
  text-align: center;
  background: transparent;
  padding: 0 2px;
  cursor: pointer;
  font-family: inherit;
}

.ebs-period-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.5;
  margin-left: 2px;
  padding: 0;
}

.ebs-period-input::-webkit-calendar-picker-indicator:hover {
  opacity: 0.9;
}

.ebs-period-separator {
  margin: 0 6px;
  color: #64748b;
  font-size: 12px;
  flex-shrink: 0;
}

/* 下拉框统一风格 */
.ebs-select {
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  padding: 0 28px 0 10px;
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2394a3b8' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.ebs-select:focus {
  border-color: #0076fe;
  box-shadow: 0 0 0 2px rgba(0, 118, 254, 0.12);
}

.ebs-select:disabled {
  background-color: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.ebs-select-sm,
.ebs-select-md {
  width: 100%;
}

.ebs-select-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  width: 100%;
  min-width: 0;
}

/* 数据报表卡片 */
.ebs-table-card {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 4px;
  padding: 16px 20px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Tab 页签栏：城市更新、重大战略工程（参考原型截图风格） */
.ebs-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e8edf3;
  margin-bottom: 14px;
  padding: 0;
  box-sizing: border-box;
}

.ebs-tab-item {
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px 16px 10px;
  font-size: 14px;
  line-height: 24px;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 500;
  outline: none;
  user-select: none;
  font-family: inherit;
  overflow: visible;
  margin-bottom: -1px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ebs-tab-item:focus,
.ebs-tab-item:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.ebs-tab-item:hover {
  color: #008ee0;
}

.ebs-tab-item.active {
  color: #008ee0;
  font-weight: 600;
  border-bottom: 3px solid #008ee0;
}

.ebs-table-toolbar {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.ebs-btn-export {
  height: 32px;
  padding: 0 18px;
  background-color: #0091ff;
  color: #ffffff;
  border: 1px solid #0091ff;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.ebs-btn-export:hover {
  background-color: #007be5;
  border-color: #007be5;
}

/* 表格主体 */
.ebs-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe6ec;
  border-radius: 2px;
  background: #fff;
}

.ebs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #334155;
  text-align: left;
}

/* 表头样式 */
.ebs-table thead th {
  background-color: #f8f9fb;
  color: #1f2d3d;
  font-weight: 700;
  border: 1px solid #dfe6ec;
  padding: 10px 12px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

/* 单元格样式 */
.ebs-table tbody td {
  border: 1px solid #dfe6ec;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.4;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.ebs-table tbody tr.ebs-table-row:hover td {
  background-color: #f8fafc;
}

/* 特定列对齐 */
.ebs-col-index {
  text-align: center;
  color: #64748b;
  width: 55px;
  white-space: nowrap;
}

.ebs-col-name {
  text-align: left;
  padding-left: 20px !important;
  color: #1e293b;
  min-width: 260px;
}

.ebs-col-num {
  text-align: right;
  color: #334155;
  white-space: nowrap;
}

.ebs-col-rate {
  text-align: right;
  color: #334155;
  white-space: nowrap;
}

/* 截图专用合计行高亮样式 */
.ebs-table tbody tr.ebs-table-row.is-total td {
  background-color: #eaf4fe !important;
  color: #1f2d3d !important;
  font-weight: 700 !important;
  border-color: #cadbee !important;
}

.ebs-table tbody tr.ebs-table-row.is-total .ebs-total-label {
  text-align: center !important;
  letter-spacing: 2px;
  padding-left: 12px !important;
}

.ebs-table tbody tr.ebs-table-row.is-total:hover td {
  background-color: #e0effd !important;
}










