* {
  margin: 0;
  padding: 0;
}

.admin-section-page, .admin-section-page .admin-section-tabs {
  min-width: 0;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav {
  margin: 0 0 12px;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav:before {
  border-bottom: none;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav .ant-tabs-nav-wrap {
  flex: none;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav .ant-tabs-nav-list {
  background: #f6f8fb;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  gap: 4px;
  padding: 4px;
  box-shadow: inset 0 1px #ffffffb8;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav .ant-tabs-tab {
  color: #475569;
  border-radius: 4px;
  min-width: 64px;
  height: 32px;
  margin: 0;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background .16s, color .16s, box-shadow .16s;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav .ant-tabs-tab:hover {
  color: #155eef;
  background: #155eef0f;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav .ant-tabs-tab-active {
  background: #fff;
  box-shadow: 0 1px 2px #0f172a14, 0 0 0 1px #0f172a0a;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #0f172a;
  text-shadow: none;
}

.admin-section-page .admin-section-tabs > .ant-tabs-nav .ant-tabs-ink-bar {
  display: none;
}

.admin-section-page .admin-section-tabs > .ant-tabs-content-holder, .admin-section-page .admin-section-tabs > .ant-tabs-content-holder > .ant-tabs-content, .admin-section-page .admin-section-tabs > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
  min-width: 0;
}

.route-pending {
  background: #ffffffeb;
  border: 1px solid #94a3b83d;
  border-radius: 8px;
  flex-direction: column;
  gap: 12px;
  min-height: calc(100dvh - 92px);
  padding: 16px;
  display: flex;
  box-shadow: 0 8px 24px #0f172a0a;
}

.route-pending__filters, .route-pending__toolbar {
  align-items: center;
  gap: 12px;
  display: flex;
}

.route-pending__filters {
  border-bottom: 1px solid #eef1f5;
  min-height: 72px;
  padding: 14px;
}

.route-pending__field, .route-pending__action, .route-pending__title, .route-pending__primary-action, .route-pending__row span {
  background: #edf1f6;
  border-radius: 4px;
  display: block;
}

.route-pending__field {
  width: min(18%, 180px);
  height: 32px;
}

.route-pending__field--wide {
  width: min(24%, 240px);
}

.route-pending__action {
  background: #155eef29;
  width: 72px;
  height: 32px;
  margin-left: auto;
}

.route-pending__table {
  border: 1px solid #eef1f5;
  border-radius: 6px;
  flex: 1;
  overflow: hidden;
}

.route-pending__toolbar {
  border-bottom: 1px solid #eef1f5;
  justify-content: space-between;
  min-height: 58px;
  padding: 12px 16px;
}

.route-pending__title {
  width: 116px;
  height: 18px;
}

.route-pending__primary-action {
  background: #155eef29;
  width: 92px;
  height: 32px;
}

.route-pending__row {
  border-bottom: 1px solid #f1f3f6;
  grid-template-columns: 1.1fr 1.6fr 1fr .8fr;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  padding: 0 16px;
  display: grid;
}

.route-pending__row span {
  width: 72%;
  height: 12px;
}

.route-pending__row span:nth-child(2) {
  width: 86%;
}

.route-pending__row--header {
  background: #fafbfc;
  min-height: 44px;
}

.route-pending__row--header span {
  background: #e5eaf0;
  height: 13px;
}

@media (max-width: 760px) {
  .route-pending {
    min-height: calc(100dvh - 84px);
    padding: 10px;
  }

  .route-pending__filters {
    flex-wrap: wrap;
  }

  .route-pending__field, .route-pending__field--wide {
    width: calc(50% - 6px);
  }

  .route-pending__action {
    margin-left: 0;
  }

  .route-pending__row {
    grid-template-columns: 1.2fr 1.8fr 1fr;
  }

  .route-pending__row span:last-child {
    display: none;
  }
}

.wechat-scope-console {
  --scope-ink: #16202a;
  --scope-muted: #667384;
  --scope-line: #d8e0e8;
  --scope-blue: #1677ff;
  --scope-amber: #d89614;
  --scope-green: #389e0d;
  border: 1px solid var(--scope-line);
  margin-block-end: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px #112b460f;
}

.wechat-layout-console {
  --scope-blue: #315f73;
  border-block-start: 3px solid #315f73;
}

.wechat-scope-console__header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  display: flex;
}

.wechat-scope-console__header .ant-typography {
  margin-block-end: 0;
}

.wechat-scope-console__header h4.ant-typography {
  color: var(--scope-ink);
  letter-spacing: -.01em;
  margin-block: 5px 4px;
}

.wechat-scope-console__eyebrow {
  color: #496074;
  letter-spacing: .08em;
  text-transform: uppercase;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
  display: flex;
}

.wechat-scope-console__loading {
  min-height: 112px;
  color: var(--scope-muted);
  align-items: center;
  gap: 10px;
  display: flex;
}

.wechat-scope-mode-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-block: 24px 18px;
  padding-block-start: 17px;
  display: grid;
  position: relative;
}

.wechat-scope-mode-rail:before, .wechat-scope-mode-rail:after {
  content: "";
  height: 2px;
  position: absolute;
  inset-block-start: 4px;
  inset-inline-start: 16.6667%;
}

.wechat-scope-mode-rail:before {
  background: var(--scope-line);
  width: 66.6667%;
}

.wechat-scope-mode-rail:after {
  background: var(--scope-blue);
  width: 0;
}

.wechat-scope-mode-rail[data-mode="SHADOW"]:after {
  background: var(--scope-amber);
  width: 33.3333%;
}

.wechat-scope-mode-rail[data-mode="ENABLED"]:after {
  background: var(--scope-green);
  width: 66.6667%;
}

.wechat-scope-mode-rail__item {
  text-align: center;
  min-width: 0;
  padding-inline: 12px;
  position: relative;
}

.wechat-scope-mode-rail__item strong, .wechat-scope-mode-rail__item span {
  display: block;
}

.wechat-scope-mode-rail__item strong {
  color: var(--scope-ink);
  font-size: 14px;
}

.wechat-scope-mode-rail__item div > span {
  color: var(--scope-muted);
  margin-block-start: 3px;
  font-size: 12px;
  line-height: 1.45;
}

.wechat-scope-mode-rail__item[data-active="true"] strong {
  color: var(--scope-blue);
}

.wechat-scope-mode-rail[data-mode="SHADOW"] .wechat-scope-mode-rail__item[data-active="true"] strong {
  color: var(--scope-amber);
}

.wechat-scope-mode-rail[data-mode="ENABLED"] .wechat-scope-mode-rail__item[data-active="true"] strong {
  color: var(--scope-green);
}

.wechat-scope-mode-rail__marker {
  z-index: 1;
  background: #fff;
  border: 2px solid #aeb9c5;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  inset-block-start: -17px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
}

.wechat-scope-mode-rail__item[data-active="true"] .wechat-scope-mode-rail__marker {
  border: 3px solid var(--scope-blue);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 4px #1677ff1a;
}

.wechat-scope-mode-rail[data-mode="SHADOW"] .wechat-scope-mode-rail__item[data-active="true"] .wechat-scope-mode-rail__marker {
  border-color: var(--scope-amber);
  box-shadow: 0 0 0 4px #d896141f;
}

.wechat-scope-mode-rail[data-mode="ENABLED"] .wechat-scope-mode-rail__item[data-active="true"] .wechat-scope-mode-rail__marker {
  border-color: var(--scope-green);
  box-shadow: 0 0 0 4px #389e0d1c;
}

.wechat-scope-console__facts {
  border-block: 1px solid #edf0f3;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-end: 16px;
  display: grid;
}

.wechat-scope-console__facts > div {
  border-inline-end: 1px solid #edf0f3;
  min-width: 0;
  padding: 12px 14px;
}

.wechat-scope-console__facts > div:last-child {
  border-inline-end: 0;
}

.wechat-scope-console__facts span, .wechat-scope-console__facts strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.wechat-scope-console__facts span {
  color: var(--scope-muted);
  margin-block-end: 3px;
  font-size: 12px;
}

.wechat-scope-console__facts strong {
  color: var(--scope-ink);
  font-size: 13px;
  font-weight: 600;
}

.wechat-scope-console__actions {
  gap: 8px;
  margin-block-start: 16px;
  display: flex;
}

.wechat-scope-ops {
  background: linear-gradient(100deg, #f7fbff 0%, #fbfcfd 70%);
  border: 1px solid #dce6ef;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-block-start: 20px;
  padding: 16px 18px;
  display: flex;
}

.wechat-scope-ops__copy {
  gap: 3px;
  display: grid;
}

.wechat-scope-ops__copy > strong {
  color: var(--scope-ink);
  margin-block-start: 3px;
  font-size: 14px;
}

.wechat-scope-ops__copy > span {
  color: var(--scope-muted);
  font-size: 12px;
  line-height: 1.55;
}

.wechat-scope-evidence {
  border-inline-start: 3px solid var(--scope-blue);
  color: #4b5a69;
  background: #f6f9fc;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-block-start: 10px;
  padding: 9px 12px;
  font-size: 12px;
  display: flex;
}

.wechat-scope-evidence[data-success="true"] {
  border-inline-start-color: var(--scope-green);
  background: #f6fff2;
}

.config-action-form {
  margin-block-start: 18px;
}

.wechat-scope-mode-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}

.wechat-scope-mode-options .ant-radio-button-wrapper {
  text-align: center;
  padding-inline: 10px;
}

@media (max-width: 900px) {
  .wechat-scope-console__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wechat-scope-console__facts > div:nth-child(2) {
    border-inline-end: 0;
  }

  .wechat-scope-ops {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .wechat-scope-console__header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .wechat-scope-mode-rail {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block-start: 0;
  }

  .wechat-scope-mode-rail:before, .wechat-scope-mode-rail:after {
    display: none;
  }

  .wechat-scope-mode-rail__item {
    text-align: start;
    padding-inline-start: 24px;
  }

  .wechat-scope-mode-rail__marker, .wechat-scope-mode-rail__item[data-active="true"] .wechat-scope-mode-rail__marker {
    inset-block-start: 5px;
    inset-inline-start: 6px;
    transform: none;
  }

  .wechat-scope-console__facts {
    grid-template-columns: 1fr;
  }

  .wechat-scope-console__facts > div {
    border-block-end: 1px solid #edf0f3;
    border-inline-end: 0;
  }

  .wechat-scope-mode-options {
    grid-template-columns: 1fr;
  }

  .wechat-scope-mode-options .ant-radio-button-wrapper {
    border-inline-start-width: 1px;
    border-radius: 0;
  }
}

.knowledge-base-page {
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 100%;
  display: grid;
  overflow: clip;
}

.knowledge-base-page__navigation {
  flex-direction: column;
  align-self: start;
  max-height: calc(100dvh - 92px);
  display: flex;
  position: sticky;
  top: 78px;
  overflow: hidden;
}

.knowledge-base-page__navigation > .ant-card-head {
  flex: none;
}

.knowledge-base-page__navigation > .ant-card-body {
  overscroll-behavior: contain;
  flex: auto;
  min-height: 0;
  overflow-y: auto;
}

.knowledge-base-page__content {
  min-width: 0;
  max-width: 100%;
  display: flex;
  overflow: hidden;
}

@media (max-width: 960px) {
  .knowledge-base-page {
    grid-template-columns: minmax(0, 1fr);
  }

  .knowledge-base-page__navigation {
    width: 100%;
    max-height: min(360px, 45dvh);
    position: static;
  }
}

.rag-quality-page {
  --rag-ink: #182230;
  --rag-muted: #667085;
  --rag-rule: #d0d5dd;
  --rag-surface: #fff;
  --rag-blue: #155eef;
  --rag-teal: #087e8b;
  --rag-success: #168a4a;
  --rag-warning: #b7791f;
  --rag-error: #c92a2a;
  color: var(--rag-ink);
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.rag-quality-header {
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  display: flex;
}

.rag-quality-header h1 {
  letter-spacing: 0;
  margin: 0;
  font-size: 24px;
  line-height: 32px;
}

.rag-quality-header p {
  color: var(--rag-muted);
  margin: 2px 0 0;
  font-size: 13px;
}

.rag-filter-bar {
  border: 1px solid var(--rag-rule);
  background: var(--rag-surface);
  border-radius: 6px;
  padding: 14px 16px 0;
}

.rag-filter-bar .ant-form-item {
  margin-bottom: 14px;
}

.rag-filter-bar .ant-input {
  width: 220px;
}

.rag-filter-bar .ant-select {
  width: 140px;
}

.rag-run-overview, .rag-data-section {
  border: 1px solid var(--rag-rule);
  background: var(--rag-surface);
  border-radius: 6px;
  padding: 18px;
}

.rag-run-context, .rag-section-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.rag-run-context {
  border-bottom: 1px solid #eaecf0;
  padding-bottom: 16px;
}

.rag-run-context h2 {
  letter-spacing: 0;
  margin: 2px 0 6px;
  font-size: 18px;
  line-height: 26px;
}

.rag-run-context .ant-space {
  color: var(--rag-muted);
  font-size: 12px;
}

.rag-run-id, .rag-section-label {
  color: var(--rag-muted);
  letter-spacing: 0;
  font-family: SFMono-Regular, Consolas, Liberation Mono, monospace;
  font-size: 11px;
}

.rag-run-id {
  white-space: nowrap;
  padding-top: 4px;
}

.rag-run-overview > .ant-alert {
  margin-top: 16px;
}

.rag-metric-grid {
  background: #eaecf0;
  border: 1px solid #eaecf0;
  border-radius: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  display: grid;
  overflow: hidden;
}

.rag-metric {
  background: var(--rag-surface);
  grid-template-rows: auto auto auto;
  grid-template-columns: 34px 1fr;
  min-width: 0;
  min-height: 128px;
  padding: 16px;
  display: grid;
  position: relative;
}

.rag-metric > span, .rag-metric > strong, .rag-metric > small {
  grid-column: 2;
}

.rag-metric > span {
  color: var(--rag-muted);
  align-self: end;
  font-size: 12px;
}

.rag-metric > strong {
  overflow-wrap: anywhere;
  letter-spacing: 0;
  align-self: center;
  font-size: 24px;
  line-height: 32px;
}

.rag-metric > small {
  color: var(--rag-muted);
  font-size: 11px;
}

.rag-metric-icon {
  border-radius: 5px;
  grid-row: 1 / 4;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  display: grid;
}

.rag-metric-icon--target {
  color: var(--rag-blue);
  background: #eff4ff;
}

.rag-metric-icon--rank {
  color: var(--rag-success);
  background: #ecfdf3;
}

.rag-metric-icon--latency {
  color: var(--rag-teal);
  background: #e9f8f8;
}

.rag-metric-icon--failure {
  color: var(--rag-error);
  background: #fff1f0;
}

.rag-baseline {
  border-left: 3px solid var(--rag-blue);
  background: #f8fafc;
  margin-top: 16px;
  padding: 14px 16px 10px;
}

.rag-baseline-copy, .rag-baseline-scale {
  justify-content: space-between;
  display: flex;
}

.rag-baseline-copy {
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.rag-baseline-scale {
  color: var(--rag-muted);
  margin-top: 2px;
  font-family: SFMono-Regular, Consolas, Liberation Mono, monospace;
  font-size: 10px;
}

.rag-score {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.rag-score--healthy {
  color: var(--rag-success);
}

.rag-score--warning {
  color: var(--rag-warning);
}

.rag-score--critical {
  color: var(--rag-error);
}

.rag-section-heading {
  align-items: flex-end;
  margin-bottom: 14px;
}

.rag-section-heading h2 {
  letter-spacing: 0;
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 24px;
}

.rag-section-heading > span {
  color: var(--rag-muted);
  font-size: 12px;
}

.rag-run-name {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.rag-run-name strong, .rag-run-name span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.rag-run-name strong {
  font-size: 13px;
}

.rag-run-name span {
  color: var(--rag-muted);
  font-size: 11px;
}

.rag-data-section .ant-table-row {
  cursor: pointer;
}

.rag-data-section .rag-history-row--selected > td {
  background: #eff4ff;
}

.rag-empty {
  border: 1px dashed var(--rag-rule);
  background: var(--rag-surface);
  border-radius: 6px;
  padding: 56px 20px;
}

@media (max-width: 1100px) {
  .rag-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rag-quality-page {
    gap: 12px;
  }

  .rag-quality-header h1 {
    font-size: 20px;
  }

  .rag-filter-bar .ant-form-item, .rag-filter-bar .ant-input, .rag-filter-bar .ant-select {
    width: 100%;
  }

  .rag-filter-bar .ant-form-item-control {
    flex: 1;
  }

  .rag-run-overview, .rag-data-section {
    padding: 14px;
  }

  .rag-run-context {
    flex-direction: column;
    align-items: flex-start;
  }

  .rag-metric-grid {
    grid-template-columns: 1fr;
  }

  .rag-metric {
    min-height: 110px;
  }

  .rag-baseline-scale span:nth-child(2), .rag-baseline-scale span:nth-child(3) {
    font-size: 0;
  }

  .rag-baseline-scale span:nth-child(2):after {
    content: "70%";
    font-size: 10px;
  }

  .rag-baseline-scale span:nth-child(3):after {
    content: "90%";
    font-size: 10px;
  }
}

.nuclear-page {
  --nuclear-ink: #173b57;
  --nuclear-green: #2f7d5b;
  --nuclear-blue: #2f6f9f;
  --nuclear-amber: #b7791f;
  --nuclear-line: #d9e2e8;
  gap: 14px;
  display: grid;
}

.nuclear-page__heading {
  border: 1px solid var(--nuclear-line);
  color: #fff;
  background: linear-gradient(110deg, #173b57f5, #234e67ed), #173b57;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  min-height: 116px;
  padding: 22px 26px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.nuclear-page__heading:after {
  content: "";
  border: 1px solid #ffffff21;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  position: absolute;
  right: 76px;
  box-shadow: 0 0 0 28px #ffffff0a, 0 0 0 56px #ffffff08;
}

.nuclear-page__heading > div, .nuclear-page__heading > .anticon {
  z-index: 1;
  position: relative;
}

.nuclear-page__heading span {
  color: #ffffff94;
  letter-spacing: .16em;
  font: 600 10px / 1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nuclear-page__heading h1 {
  color: #fff;
  letter-spacing: .02em;
  margin: 3px 0 4px;
  font-size: 25px;
  font-weight: 650;
}

.nuclear-page__heading p {
  color: #ffffffb8;
  margin: 0;
  font-size: 13px;
}

.nuclear-page__heading > .anticon {
  color: #ffffff47;
  margin-right: 22px;
  font-size: 50px;
}

.nuclear-ledger {
  border: 1px solid var(--nuclear-line);
  background: #fff;
  border-radius: 10px;
  grid-template-columns: minmax(210px, .8fr) 4fr;
  display: grid;
  overflow: hidden;
}

.nuclear-ledger__identity {
  background: var(--nuclear-ink);
  color: #fff;
  grid-template-columns: 1fr 1fr;
  gap: 5px 14px;
  padding: 15px 18px;
  display: grid;
}

.nuclear-ledger__eyebrow {
  color: #ffffff94;
  letter-spacing: .08em;
  grid-column: 1 / -1;
  font-size: 11px;
}

.nuclear-ledger__identity strong {
  font: 650 24px / 1.15 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nuclear-ledger__identity small, .nuclear-ledger__metric small {
  opacity: .66;
  margin-left: 4px;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
}

.nuclear-ledger__metrics {
  grid-template-columns: repeat(6, minmax(138px, 1fr));
  display: grid;
}

.nuclear-ledger__metric {
  border-right: 1px solid #e8edf0;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  padding: 11px 14px;
  display: flex;
  position: relative;
}

.nuclear-ledger__metric:last-child {
  border-right: 0;
}

.nuclear-ledger__metric:before {
  background: var(--nuclear-green);
  content: "";
  height: 2px;
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
}

.nuclear-ledger__metric:nth-child(2n):before {
  background: var(--nuclear-blue);
}

.nuclear-ledger__metric:nth-child(3n):before {
  background: var(--nuclear-amber);
}

.nuclear-ledger__metric > span {
  color: #647782;
  font-size: 11px;
}

.nuclear-ledger__metric strong {
  color: var(--nuclear-ink);
  white-space: nowrap;
  margin: 4px 0 2px;
  font: 650 16px / 1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nuclear-ledger__metric em {
  color: #8797a0;
  font-size: 10px;
  font-style: normal;
}

.nuclear-unit-name {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.nuclear-unit-name strong {
  color: #20333e;
  font-weight: 600;
}

.nuclear-unit-name span {
  color: #8797a0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 11px / 1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden;
}

.nuclear-number {
  color: #2e4654;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nuclear-number--stale {
  -webkit-text-decoration: underline dotted var(--nuclear-amber);
  text-decoration: underline dotted var(--nuclear-amber);
  text-underline-offset: 4px;
}

.nuclear-plant-modal__toolbar {
  color: #6f808a;
  justify-content: space-between;
  align-items: center;
  margin: 2px 0 14px;
  font-size: 12px;
  display: flex;
}

@media (max-width: 1180px) {
  .nuclear-ledger {
    grid-template-columns: 1fr;
  }

  .nuclear-ledger__identity {
    grid-template-columns: auto auto 1fr;
  }

  .nuclear-ledger__eyebrow {
    grid-column: auto;
    align-self: center;
  }

  .nuclear-ledger__metrics {
    overflow-x: auto;
  }
}

@media (max-width: 700px) {
  .nuclear-page__heading {
    min-height: auto;
    padding: 18px;
  }

  .nuclear-page__heading > .anticon {
    display: none;
  }

  .nuclear-ledger__identity {
    grid-template-columns: 1fr 1fr;
  }

  .nuclear-ledger__eyebrow {
    grid-column: 1 / -1;
  }

  .nuclear-ledger__metrics {
    grid-template-columns: repeat(6, 150px);
  }

  .nuclear-plant-modal__toolbar {
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nuclear-page *, .nuclear-page :before, .nuclear-page :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.article-word-import-upload {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin-bottom: 12px;
}

.article-word-import-upload .ant-upload-wrapper .ant-upload-drag {
  background: #f8fafc;
  border-color: #b8c2d1;
  border-radius: 8px;
  min-height: 230px;
  transition: border-color .16s, background-color .16s, box-shadow .16s;
}

.article-word-import-upload .ant-upload-wrapper .ant-upload-drag:hover, .article-word-import-upload .ant-upload-wrapper .ant-upload-drag.ant-upload-drag-hover {
  background: #f4f8ff;
  border-color: #155eef;
  box-shadow: 0 0 0 3px #155eef14;
}

.article-word-import-upload .ant-upload-wrapper .ant-upload-drag .ant-upload {
  padding: 36px 24px 30px;
}

.article-word-import-upload .ant-upload-drag-icon {
  margin-bottom: 12px;
}

.article-word-import-upload .ant-upload-drag-icon .anticon {
  color: #155eef;
  font-size: 46px;
}

.article-word-import-upload .ant-upload-text {
  color: #182230;
  font-size: 16px;
  font-weight: 600;
}

.article-word-import-upload .ant-upload-hint {
  color: #667085;
  margin-top: 6px;
  font-size: 13px;
}

.article-word-import-upload .ant-upload-list {
  margin-top: 10px;
}

.article-import-optional {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin-top: 2px;
}

.article-import-optional .ant-collapse {
  background: #fff;
  border-color: #eaecf0;
  border-radius: 6px;
}

.article-import-optional .ant-collapse-header {
  color: #475467;
  font-weight: 500;
}

.article-import-optional .ant-collapse-content-box {
  padding-top: 8px;
}

@media (max-width: 640px) {
  .article-word-import-upload .ant-upload-wrapper .ant-upload-drag {
    min-height: 190px;
  }

  .article-word-import-upload .ant-upload-wrapper .ant-upload-drag .ant-upload {
    padding: 28px 16px 24px;
  }
}

.article-review-page {
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: calc(100dvh - 84px);
  min-height: 0;
  max-height: calc(100dvh - 84px);
  display: flex;
  overflow: hidden;
}

.article-review-header {
  border-color: #eaecf0;
  flex: none;
}

.article-review-header .ant-card-body {
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px;
  display: flex;
}

.article-review-header__top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.article-review-header__main {
  flex: auto;
  min-width: 0;
}

.article-review-back {
  color: #667085;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 500;
  line-height: 30px;
  display: inline-flex;
}

.article-review-back .anticon {
  font-size: 14px;
}

.article-review-back:hover {
  color: #155eef;
}

.article-review-title-row {
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 2px;
  display: flex;
}

.article-review-title-row h2 {
  color: #101828;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  margin: 0;
  font-size: 26px;
  font-weight: 680;
  line-height: 1.16;
  overflow: hidden;
}

.article-review-meta-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  margin-top: 3px;
  display: flex;
}

.article-review-tags {
  flex-wrap: wrap;
  flex: none;
  gap: 4px;
  display: inline-flex;
}

.article-review-tags .ant-tag {
  margin-inline-end: 0;
}

.article-review-meta {
  color: #667085;
  font-size: 12px;
}

.article-review-run-row {
  color: #475467;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
}

.article-review-run-row span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 280px;
  overflow: hidden;
}

.article-review-run-row .ant-tag {
  flex: none;
  margin-inline-end: 0;
}

.article-review-status-strip {
  flex: none;
  align-items: stretch;
  gap: 8px;
  display: flex;
}

.article-review-gate {
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  flex: 0 0 126px;
  align-content: center;
  gap: 3px;
  min-height: 82px;
  padding: 8px 10px;
  display: grid;
}

.article-review-gate span {
  color: #667085;
  font-size: 11px;
}

.article-review-gate strong {
  color: #182230;
  font-size: 17px;
  line-height: 1.2;
}

.article-review-gate[data-state="ready"] {
  background: #f0fdf4;
  border-color: #168a4a52;
}

.article-review-gate[data-state="ready"] strong {
  color: #168a4a;
}

.article-review-gate[data-state="running"] {
  background: #eff6ff;
  border-color: #155eef47;
}

.article-review-gate[data-state="running"] strong {
  color: #155eef;
}

.article-review-gate[data-state="blocked"] {
  background: #fff5f5;
  border-color: #c92a2a38;
}

.article-review-gate[data-state="blocked"] strong {
  color: #c92a2a;
}

.article-review-metrics {
  flex: none;
  grid-template-columns: repeat(2, minmax(68px, 1fr));
  gap: 6px;
  display: grid;
}

.article-review-metric {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  min-height: 40px;
  padding: 5px 8px;
  display: flex;
}

.article-review-metric span {
  color: #667085;
  font-size: 11px;
  display: block;
}

.article-review-metric strong {
  color: #182230;
  margin-top: 2px;
  font-size: 17px;
  line-height: 1.1;
  display: block;
}

.article-review-metric small {
  color: #98a2b3;
  white-space: nowrap;
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.2;
}

.article-review-metric--text strong {
  color: #155eef;
}

.article-review-metric--image strong {
  color: #7f56d9;
}

.article-review-alerts {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.article-review-workspace {
  flex: auto;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: stretch;
  gap: 12px;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.article-review-document-card {
  flex-direction: column;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.article-review-document-card .ant-card-head {
  flex: none;
  min-height: 38px;
}

.article-review-document-card .ant-card-extra {
  padding: 0;
}

.article-review-document-card .ant-card-body {
  flex: auto;
  height: auto;
  min-height: 0;
  padding-top: 0;
  display: flex;
  overflow: hidden;
}

.article-review-document-card .tiptap-editor-wrap {
  background: #fff;
  width: 100%;
}

.article-review-document-tabs {
  flex-direction: column;
  flex: auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.article-review-document-tabs > .ant-tabs-content-holder, .article-review-document-tabs > .ant-tabs-content-holder > .ant-tabs-content, .article-review-document-tabs > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
  height: 100%;
  min-height: 0;
}

.article-review-layout-preview {
  background: #f2f4f7;
  border: 1px solid #eaecf0;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.article-review-layout-preview > .ant-spin, .article-review-layout-preview > .ant-empty {
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
}

.article-review-wechat-preview {
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
}

.article-review-wechat-preview > .pubguard-html-snapshot-preview {
  flex: auto;
  min-height: 0;
}

.article-review-scope-banner {
  color: #1849a9;
  background: #eef4ff;
  border-bottom: 1px solid #c7d7fe;
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 7px 12px;
  display: flex;
}

.article-review-scope-banner[data-state="fallback"] {
  color: #93370d;
  background: #fffaeb;
  border-bottom-color: #fedf89;
}

.article-review-scope-banner__summary {
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: flex;
}

.article-review-scope-banner__summary > .anticon {
  flex: none;
  font-size: 16px;
}

.article-review-scope-banner__summary > div {
  gap: 1px;
  min-width: 0;
  display: grid;
}

.article-review-scope-banner__summary strong {
  font-size: 12px;
  line-height: 1.35;
}

.article-review-scope-banner__summary span {
  color: #475467;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.4;
  overflow: hidden;
}

.article-review-scope-banner__credits {
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.article-review-scope-banner__credits span {
  color: #344054;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #ffffffb8;
  border: 1px solid #1849a926;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  max-width: 180px;
  min-height: 24px;
  padding: 2px 7px;
  font-size: 11px;
  display: inline-flex;
  overflow: hidden;
}

.article-review-scope-banner__credits b {
  color: #175cd3;
  flex: none;
  font-weight: 600;
}

.article-review-side {
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  position: static;
  overflow: hidden;
}

.article-review-progress-card {
  flex: none;
}

.article-review-progress-card__stale {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 12px;
  line-height: 1.45;
}

.article-review-opinion-card {
  flex: auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.article-review-opinion-card > .ant-card-body {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
}

.article-review-tabs {
  border-bottom: 1px solid #eaecf0;
  flex: none;
  padding: 0 12px;
}

.article-review-deep-inline {
  color: #344054;
  background: #fff;
  border-bottom: 1px solid #eaecf0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  font-size: 12px;
  display: grid;
}

.article-review-deep-inline__actions {
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.article-review-deep-inline__status {
  min-width: 0;
}

.article-review-deep-inline__status-line {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-weight: 600;
  display: block;
  overflow: hidden;
}

.article-review-deep-inline__status-separator {
  color: #98a2b3;
}

.article-review-deep-inline__status-value--completed {
  color: #168a4a;
}

.article-review-deep-inline .ant-btn {
  width: 76px;
  min-height: 26px;
}

.article-review-opinion-list {
  background: linear-gradient(90deg, #155eef0f 0 1px, #0000 1px) 0 0 / 18px 18px, #f8fafc;
  flex: auto;
  min-height: 0;
  padding: 10px;
  overflow-y: auto;
}

.article-review-opinion-list .ant-empty {
  margin: 34px 16px;
}

.article-review-font-summary {
  background: #dce6f4;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 10px 8px;
  display: grid;
  overflow: hidden;
}

.article-review-font-summary span {
  color: #667085;
  text-align: center;
  background: #f6f9fd;
  min-width: 0;
  padding: 7px 6px;
  font-size: 10px;
  line-height: 1.35;
}

.article-review-font-summary span[data-warning="true"] {
  color: #b54708;
  background: #fff8eb;
}

.article-review-font-summary strong {
  color: #344054;
  font-size: 12px;
}

.article-review-opinion-item {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-left: 3px solid #98a2b3;
  border-radius: 10px;
  padding: 14px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  position: relative;
  box-shadow: 0 8px 22px #1018280a;
}

.article-review-opinion-item + .article-review-opinion-item {
  margin-top: 10px;
}

.article-review-opinion-item[data-active="true"] {
  border-color: #155eef5c #155eef5c #155eef5c #155eef;
  transform: translateX(-2px);
  box-shadow: 0 12px 28px #155eef1f;
}

.article-review-opinion-item__head {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.article-review-opinion-item__no {
  color: #667085;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.article-review-opinion-item__no .anticon {
  color: #155eef;
}

.article-review-opinion-item__no .ant-tag {
  margin-inline-end: 0;
  font-weight: 500;
}

.article-review-opinion-item__tags {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.article-review-opinion-item__tags .ant-tag {
  margin-inline-end: 0;
}

.article-review-opinion-item__title {
  color: #182230;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.article-review-opinion-item__desc {
  color: #475467;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
}

.article-review-quote {
  word-break: break-word;
  border-radius: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.55;
}

.article-review-quote--origin {
  color: #475467;
  background: #f8fafc;
  border: 1px solid #eaecf0;
}

.article-review-quote--suggestion {
  color: #168a4a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.article-review-opinion-item__evidence {
  color: #667085;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  display: grid;
}

.article-review-opinion-item__evidence span {
  padding-top: 2px;
}

.article-review-opinion-item__evidence em {
  color: #98a2b3;
  font-style: normal;
}

.article-review-opinion-item__candidates {
  background: #fffcf5;
  border: 1px solid #fedf89;
  border-radius: 8px;
  gap: 6px;
  margin-top: 8px;
  padding: 8px;
  display: grid;
}

.article-review-opinion-item__candidates-title {
  color: #b54708;
  font-size: 12px;
  font-weight: 600;
}

.article-review-opinion-item__candidate {
  color: #344054;
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid #f2d38b;
  border-radius: 7px;
  gap: 4px;
  padding: 8px 9px;
  transition: border-color .16s, background .16s;
  display: grid;
}

.article-review-opinion-item__candidate:hover {
  background: #fff7ed;
  border-color: #dc6803;
}

.article-review-opinion-item__candidate .article-review-opinion-item__candidate-head {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.article-review-opinion-item__candidate .article-review-opinion-item__candidate-head strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.article-review-opinion-item__candidate .article-review-opinion-item__candidate-head small {
  color: #b54708;
  flex: none;
  font-size: 11px;
  font-weight: 700;
}

.article-review-opinion-item__candidate .article-review-opinion-item__candidate-context {
  color: #b54708;
  font-size: 11px;
  line-height: 1.35;
}

.article-review-opinion-item__candidate em {
  color: #667085;
  word-break: break-word;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.article-review-opinion-item__candidate-more {
  color: #b54708;
  font-size: 12px;
}

.article-review-opinion-item__actions {
  margin-top: 12px;
}

.article-review-opinion-item__actions .ant-btn {
  min-height: 30px;
}

.article-review-font-group {
  cursor: pointer;
}

.article-review-font-group:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #155eefb8;
}

.article-review-font-group[data-active="true"] {
  cursor: default;
}

.article-review-font-group__head, .article-review-font-group__identity, .article-review-font-group__region-head, .article-review-font-group__navigator {
  align-items: center;
  display: flex;
}

.article-review-font-group__head, .article-review-font-group__region-head {
  justify-content: space-between;
  gap: 8px;
}

.article-review-font-group__identity {
  gap: 10px;
  min-width: 0;
}

.article-review-font-group__identity > div:last-child {
  min-width: 0;
}

.article-review-font-group__identity strong, .article-review-font-group__identity span {
  display: block;
}

.article-review-font-group__identity strong {
  color: #182230;
  letter-spacing: .03em;
  font-size: 13px;
}

.article-review-font-group__identity span {
  color: #667085;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  font-size: 11px;
  overflow: hidden;
}

.article-review-font-group__thumbnail {
  color: #667085;
  background: linear-gradient(135deg, #155eef17, #0000 58%), #f8fafc;
  border: 1px solid #d0d5dd;
  border-radius: 7px;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 18px;
  display: grid;
  overflow: hidden;
}

.article-review-font-group__thumbnail img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.article-review-font-group__region-head {
  color: #155eef;
  border-top: 1px solid #eaecf0;
  margin-top: 12px;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 700;
}

.article-review-font-group__navigator {
  gap: 5px;
  margin-top: 12px;
}

.article-review-font-group__navigator > .ant-btn {
  flex: none;
}

.article-review-font-group__region-list {
  flex: auto;
  gap: 2px;
  min-width: 0;
  display: flex;
  overflow-x: auto;
}

.article-review-font-group__region-list .ant-btn {
  min-width: 26px;
  padding-inline: 6px;
}

.article-review-font-group__collapsed-hint {
  color: #98a2b3;
  margin-top: 8px;
  font-size: 11px;
}

.article-review-opinion-footer {
  background: #fff;
  border-top: 1px solid #eaecf0;
  flex: none;
  padding: 10px 12px;
}

.article-review-actions {
  align-items: center;
  width: 100%;
  display: flex;
}

.article-review-actions .ant-btn {
  width: 100%;
}

.article-review-missing {
  color: #475467;
  padding: 24px;
}

.article-review-fp-modal__alert {
  margin-bottom: 12px;
}

.article-review-fp-modal__label {
  color: #344054;
  margin-bottom: 8px;
  font-size: 13px;
}

.article-review-fp-modal__count {
  color: #667085;
  margin-top: 4px;
  font-size: 12px;
}

@media (max-width: 1200px) {
  .article-review-page {
    height: auto;
    overflow: visible;
  }

  .article-review-workspace {
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
  }

  .article-review-side {
    height: auto;
    position: static;
    overflow: visible;
  }

  .article-review-opinion-list {
    max-height: min(58vh, 620px);
  }

  .article-review-document-card .ant-card-body {
    height: 56vh;
    min-height: 460px;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .article-review-header__top, .article-review-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .article-review-title-row h2 {
    white-space: normal;
    font-size: 23px;
  }

  .article-review-status-strip {
    width: 100%;
  }

  .article-review-gate {
    flex: none;
  }

  .article-review-metrics {
    flex: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-review-document-card .ant-card-body {
    height: 58vh;
    min-height: 420px;
  }

  .article-review-actions .ant-btn {
    flex: 132px;
  }

  .article-review-scope-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .article-review-scope-banner__credits {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .article-review-status-strip {
    flex-direction: column;
  }

  .article-review-gate {
    min-height: 86px;
  }
}

