/* source: /aph2-r108-private-ai-header-contrast-20260820-v1.css?v=r108-header-contrast1 */
/* R108：私有开发助手标题对比度修复，仅覆盖助手顶部标题区。 */
#north-ai-assistant .north-ai-header {
  min-height: 72px !important;
  padding: 12px 64px 12px 20px !important;
  color: #20262d !important;
  background: #ffffff !important;
  border-bottom: 1px solid #d7dde3 !important;
}

#north-ai-assistant .north-ai-header::before {
  content: none !important;
}

#north-ai-assistant .north-ai-title h2 {
  margin: 0 !important;
  color: #20262d !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

#north-ai-assistant .north-ai-environment-label {
  margin: 4px 0 0 !important;
  color: #59636f !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

#north-ai-assistant .north-ai-close {
  top: 15px !important;
  right: 14px !important;
  color: #20262d !important;
}

#north-ai-assistant .north-ai-close:hover {
  color: #050505 !important;
  background: #eef1f4 !important;
}

/* 助手打开时，标题区已经展示环境名称，隐藏页面级环境角标以免遮挡标题。 */
body:has(#north-ai-assistant .north-ai-overlay.is-open) #cockpit-environment-marker {
  display: none !important;
}

/* source: /aph2-r80-current-site-fixes-20260816-v1.css?v=r80-current1 */
/* R80：当前生产站点的已复现布局与路由收口；不改业务数据和已验收页面。 */

@media (max-width: 640px) {
  /* 首页只保留固定顶栏和移动导航的一次避让。 */
  body.aph2-theme.aph-mobile-nav-ready[data-r42-route="home"]:not(.aph-admin-page) main#main-content {
    padding-top: 64px !important;
  }

  body[data-r42-route="home"] main#main-content .aph-home-reflow {
    padding-top: 0 !important;
  }

  /* 后台页签位于 50px 顶栏 + 52px 移动导航之后，并继续在滚动时吸顶。 */
  body.aph-mobile-nav-ready:has(.r65-admin) .r65-tabs {
    top: 52px !important;
    margin-top: 52px !important;
  }

  /* AI 服务中心摘要收紧为两行结构，完整依据仍由原有 details 展开。 */
  [data-r56-ai-center-app] .r56-center-conclusion {
    display: -webkit-box;
    grid-column: 1 / 2 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  [data-r56-ai-center-app] .r56-center-disclosure {
    grid-column: 2 !important;
    justify-self: end !important;
  }

  [data-r56-ai-center-app] .r56-center-row[hidden] {
    display: none !important;
  }

  .aph-r80-ai-pager {
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid #d7dbe0;
    border-radius: 4px;
    background: #fff;
    color: #343c47;
    font: 600 13px/1.4 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  }

  .aph-r80-ai-pager:focus-visible {
    outline: 2px solid #cf001b;
    outline-offset: 2px;
  }

  /* 项目表仅固定片区列，不改表宽和业务字段。 */
  body[data-r42-route="projects"] .aph-project-table-wrap table :is(th, td):first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 1px 0 0 #e3e6ea;
  }

  body[data-r42-route="projects"] .aph-project-table-wrap table th:first-child {
    z-index: 3;
    background: #f7f8fa;
  }
}

/* source: /aph2-r90-operating-capabilities-20260816-v1.css?v=r90-capabilities1 */
/* R90：经营页底部可展开的数据依据，不抢占主指标区。 */
body.aph2-theme #aph-r90-operating-capabilities {
  margin: 16px 0 4px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  color: #334155;
}

body.aph2-theme #aph-r90-operating-capabilities-host {
  position: relative;
  z-index: 2;
  margin: 0 24px 24px 84px;
}

body.aph2-theme #aph-r90-operating-capabilities > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

body.aph2-theme #aph-r90-operating-capabilities > summary::-webkit-details-marker {
  display: none;
}

body.aph2-theme .aph-r90-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

body.aph2-theme .aph-r90-summary {
  font-size: 12px;
  color: #64748b;
}

body.aph2-theme .aph-r90-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

body.aph2-theme .aph-r90-source-row {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.76);
}

body.aph2-theme .aph-r90-source-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

body.aph2-theme .aph-r90-source-heading span {
  color: #64748b;
}

body.aph2-theme .aph-r90-source-heading .is-ready {
  color: #047857;
}

body.aph2-theme .aph-r90-source-heading .is-partial {
  color: #b45309;
}

body.aph2-theme .aph-r90-source-row p,
body.aph2-theme .aph-r90-policy {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
}

body.aph2-theme .aph-r90-policy {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-left: 3px solid #94a3b8;
  background: rgba(248, 250, 252, 0.8);
}

@media (max-width: 640px) {
  body.aph2-theme #aph-r90-operating-capabilities-host {
    margin: 0 12px 16px 72px;
  }

  body.aph2-theme .aph-r90-content {
    grid-template-columns: 1fr;
  }
}

/* source: /aph2-r92-responsive-overlap-20260819-v1.css?v=r92-overlap2 */
/* R92：修复窄桌面与浏览器缩放场景下，顶栏和收缴率卡内容互相遮挡。 */

@media (min-width: 1024px) and (max-width: 1279px) {
  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host {
    width: min(360px, calc(100vw - 700px));
    overflow: hidden;
  }

  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host .r7-unified-source-status {
    justify-content: flex-end;
    gap: 8px;
  }

  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host .r7-unified-source-item {
    gap: 4px;
    padding-left: 8px;
  }

  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host time {
    display: none;
  }
}

/* 1280px 起右侧会出现当前时间，操作区会突然增宽约 182px。 */
@media (min-width: 1280px) and (max-width: 1599px) {
  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host {
    width: calc(100vw - 1054px);
    overflow: hidden;
  }

  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host .r7-unified-source-status {
    justify-content: flex-end;
    gap: 6px;
  }

  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host .r7-unified-source-item {
    gap: 3px;
    padding-left: 6px;
  }

  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host .r7-unified-source-title,
  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host time {
    display: none;
  }
}

@media (min-width: 1600px) {
  body.aph2-theme header.sticky.top-0
    .aph-header-status.r7-unified-source-host {
    width: min(860px, calc(100vw - 1054px));
  }
}

@media (min-width: 1024px) and (max-width: 1359px) {
  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r20-collection-target-label {
    display: none;
  }

  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-body {
    grid-template-columns: minmax(96px, 0.75fr) minmax(0, 1.25fr) !important;
  }

  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details {
    min-width: 0;
    padding-left: 14px !important;
  }

  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details > :not([hidden]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: center;
    gap: 0 !important;
  }

  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details > :not([hidden]) .text-xs,
  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details > :not([hidden]) .num.text-lg {
    grid-column: 1;
    min-width: 0;
    width: 100%;
    text-align: left;
  }

  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details > :not([hidden]) .text-xs {
    grid-row: 1;
    line-height: 17px !important;
  }

  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details > :not([hidden]) .num.text-lg {
    grid-row: 2;
    font-size: clamp(16px, 1.65vw, 20px) !important;
    line-height: 24px !important;
  }
}

@media (min-width: 1360px) {
  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details {
    padding-left: 14px !important;
  }

  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details > :not([hidden]) {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.aph2-theme .aph-home-reflow[data-r8-home-layout]
    .r8-home-collection-details > :not([hidden]) .num.text-lg {
    min-width: 0;
    font-size: clamp(18px, 1.38vw, 20px) !important;
  }
}

/* 390px 系统管理：数据源单元格含标题和路径时，两者都必须留在值列。 */
@media (max-width: 720px) {
  .r65-admin .r65-table[aria-label="数据源状态"] tbody td {
    height: auto !important;
    align-items: start;
  }

  .r65-admin .r65-table[aria-label="数据源状态"] tbody td > * {
    min-width: 0;
    max-width: 100%;
    grid-column: 2;
  }

  .r65-admin .r65-table[aria-label="数据源状态"] tbody td small,
  .r65-admin .r65-table[aria-label="数据源状态"] tbody td .r65-strong {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .r65-admin .r65-table[aria-label="数据源状态"] .r65-actions {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

/* source: /aph2-r94-sidebar-icons-20260819-v1.css?v=r94-icons1 */
body.aph2-theme .aph-exact-sidebar-panel a .aph-nav-icon {
  position: absolute;
  left: 21px;
  top: 14px;
  width: 20px;
  height: 20px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .82;
  pointer-events: none;
  transition: opacity .12s ease, color .12s ease;
}

body.aph2-theme .aph-exact-sidebar-panel a:first-child .aph-nav-icon {
  left: 21px;
  top: 14px;
  width: 20px;
  height: 20px;
}

body.aph2-theme .aph-exact-sidebar-panel a:hover .aph-nav-icon,
body.aph2-theme .aph-exact-sidebar-panel a[aria-current="page"] .aph-nav-icon {
  opacity: 1;
}

/* source: /aph2-r96-unified-shell-20260819-v1.css?v=r96-shell1 */
/* R96：驾驶舱与欠费页共用同一套壳层几何，禁止 hover 导致整页重排。 */

@media (min-width: 641px) {
  body.aph2-theme .aph-top-brand {
    width: 140px !important;
  }

  html body.aph2-theme:not(.aph-admin-page) #root header.sticky.top-0,
  html body.aph2-theme.aph-admin-page #root .r65-admin > header.r65-admin-bar.aph-admin-shell-header {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    width: auto !important;
  }

  html body.aph2-theme:not(.aph-admin-page) #root header.sticky.top-0 > div,
  html body.aph2-theme.aph-admin-page #root .r65-admin > header.r65-admin-bar.aph-admin-shell-header > div {
    width: 100% !important;
    padding-left: 154px !important;
  }

  html body.aph2-theme #root header .aph-header-menu {
    display: none !important;
  }

  html body.aph2-theme #root .aph-exact-sidebar,
  html body.aph2-theme #root .aph-exact-sidebar:hover,
  html body.aph2-theme #root .aph-exact-sidebar.is-hovered,
  html body.aph2-theme #root .aph-exact-sidebar.is-expanded {
    flex: 0 0 var(--aph-r96-rail) !important;
    width: var(--aph-r96-rail) !important;
    min-width: var(--aph-r96-rail) !important;
    max-width: var(--aph-r96-rail) !important;
    transition: none !important;
  }

  html body.aph2-theme #root .aph-exact-sidebar .aph-exact-sidebar-panel,
  html body.aph2-theme #root .aph-exact-sidebar:hover .aph-exact-sidebar-panel,
  html body.aph2-theme #root .aph-exact-sidebar.is-hovered .aph-exact-sidebar-panel,
  html body.aph2-theme #root .aph-exact-sidebar.is-expanded .aph-exact-sidebar-panel {
    inset: 50px auto 0 0 !important;
    width: var(--aph-r96-rail) !important;
    max-width: var(--aph-r96-rail) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    box-shadow: none !important;
    transition: none !important;
  }

  html body.aph2-theme #root .aph-page-tabs,
  body.aph2-theme:not(.aph-admin-page) #root > div:has(> .aph-exact-sidebar:hover) .aph-page-tabs,
  body.aph2-theme:not(.aph-admin-page) #root > div:has(> .aph-exact-sidebar.is-hovered) .aph-page-tabs,
  body.aph2-theme:not(.aph-admin-page) #root > div:has(> .aph-exact-sidebar.is-expanded) .aph-page-tabs,
  body.aph2-theme.aph-admin-page #root > div > .aph-page-tabs {
    position: fixed !important;
    inset: 50px 0 auto var(--aph-r96-rail) !important;
    width: auto !important;
    margin-left: 0 !important;
    transform: none !important;
    transition: none !important;
  }

  body.aph2-theme main#main-content {
    min-width: 0 !important;
  }

  body.aph2-theme.aph-admin-page > #root > div,
  body.aph2-theme.aph-admin-page > #root > div:has(> .aph-exact-sidebar:hover),
  body.aph2-theme.aph-admin-page > #root > div:has(> .aph-exact-sidebar.is-hovered),
  body.aph2-theme.aph-admin-page > #root > div:has(> .aph-exact-sidebar.is-expanded) {
    padding-left: var(--aph-r96-rail) !important;
    transition: none !important;
  }

  body.aph2-theme.aph-admin-page .r65-admin {
    width: 100% !important;
    margin-left: 0 !important;
    transition: none !important;
  }

  /* 欠费独立旧页在原生模块上云前，与主驾驶舱使用同一桌面壳。 */
  body:not(.aph2-theme) .aph-shell-header {
    grid-template-columns: 140px minmax(0, 1fr) auto !important;
    width: 100% !important;
  }

  body:not(.aph2-theme) .aph-shell-header .aph-menu-toggle {
    display: none !important;
  }

  body:not(.aph2-theme) .aph-shell-status {
    display: block !important;
    min-width: 0;
    padding-left: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:not(.aph2-theme) .aph-shell-actions {
    width: auto !important;
    justify-self: end;
  }

  body:not(.aph2-theme) .aph-icon-rail,
  body:not(.aph2-theme) .aph-icon-rail:hover,
  body:not(.aph2-theme) .aph-icon-rail.is-expanded {
    width: var(--aph-r96-rail) !important;
    box-shadow: none !important;
    transition: none !important;
  }

  body:not(.aph2-theme) .aph-icon-rail a span {
    opacity: var(--aph-r96-label-opacity) !important;
    visibility: var(--aph-r96-label-visibility) !important;
    transform: none !important;
    transition: none !important;
  }

  body:not(.aph2-theme) .aph-page-tabs,
  body:not(.aph2-theme) .aph-icon-rail:hover + .aph-page-tabs,
  body:not(.aph2-theme) .aph-icon-rail.is-expanded + .aph-page-tabs {
    inset: 50px 0 auto var(--aph-r96-rail) !important;
    width: auto !important;
    margin-left: 0 !important;
    transform: none !important;
    transition: none !important;
  }

  body:not(.aph2-theme) main#main-content {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: var(--aph-r96-rail) !important;
    padding: 108px 14px 52px !important;
  }
}

@media (min-width: 1100px) {
  body.aph2-theme,
  body:not(.aph2-theme) {
    --aph-r96-rail: 140px;
    --aph-r96-label-opacity: 1;
    --aph-r96-label-visibility: visible;
  }

  html body.aph2-theme #root .aph-exact-sidebar-panel a span {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (min-width: 641px) and (max-width: 1099px) {
  body.aph2-theme,
  body:not(.aph2-theme) {
    --aph-r96-rail: 60px;
    --aph-r96-label-opacity: 0;
    --aph-r96-label-visibility: hidden;
  }

  html body.aph2-theme #root .aph-exact-sidebar-panel a span {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.aph2-theme .aph-exact-sidebar,
  body.aph2-theme .aph-page-tabs,
  body.aph2-theme main#main-content,
  body:not(.aph2-theme) .aph-icon-rail,
  body:not(.aph2-theme) .aph-page-tabs {
    transition: none !important;
  }
}

/* source: /aph2-r126-arrears-ai-workflow-20260826-v2.css?v=r126-workflow1 */
.arrears-native{--arrears-red:#c9001c;--arrears-red-dark:#a90018;--arrears-ink:#282d33;--arrears-muted:#555c64;--arrears-line:#dfe2e6;--arrears-soft:#f5f6f7;min-width:0;color:var(--arrears-ink);border-top:3px solid var(--arrears-red);background:#fff;animation:.18s ease-out both arrears-enter;overflow:clip}.arrears-native *,.arrears-native :before,.arrears-native :after{box-sizing:border-box}.arrears-native button,.arrears-native input,.arrears-native select,.arrears-native textarea{font:inherit}.arrears-native button{color:#343a41;cursor:pointer;background:#fff;border:1px solid #c8ccd1;border-radius:2px;min-height:38px;padding:7px 12px;transition:color .14s,border-color .14s,background .14s,transform .14s}.arrears-native button:hover:not(:disabled){color:var(--arrears-red-dark);border-color:#ad6a74}.arrears-native button:active:not(:disabled){transform:translateY(1px)}.arrears-native button:disabled{cursor:not-allowed;opacity:.58}.arrears-native button:focus-visible,.arrears-native input:focus-visible,.arrears-native select:focus-visible,.arrears-native textarea:focus-visible,.table-wrap:focus-visible{outline-offset:2px;outline:3px solid #f0a9b3}.arrears-native__header{border-bottom:1px solid var(--arrears-line);justify-content:space-between;align-items:center;gap:18px;min-height:68px;padding:15px 22px;display:flex}.arrears-native__header h1{color:#22272d;letter-spacing:-.025em;margin:0;font-size:24px;line-height:1.2}.arrears-native__utility{color:var(--arrears-muted);justify-content:flex-end;align-items:center;gap:10px;font-size:12px;display:flex}.arrears-native__utility>span{border-left:3px solid;padding-left:12px;font-weight:650}.arrears-native__utility .is-ready{color:#17613c;border-color:#238153}.arrears-native__utility .is-blocked{color:#754700;border-color:#a86c0d}.arrears-native .quiet-button{background:#f7f8f9;min-height:34px;padding:5px 10px}.arrears-message{color:#333941;border-left:3px solid;margin:12px 22px 0;padding:10px 12px;font-size:13px;line-height:1.55;animation:.18s ease-out both arrears-message-enter}.arrears-message.is-error{color:#8a1222;background:#fff1f3;border-color:#bd1d32}.arrears-message.is-success{color:#1f613f;background:#eff9f3;border-color:#287b51}.arrears-upload{border-bottom:1px solid var(--arrears-line);background:#fff;grid-template-columns:1fr;gap:16px;padding:22px;display:grid}.arrears-field{align-content:start;gap:7px;min-width:0;margin:0;display:grid}.arrears-field>span,.arrears-field>label>span{color:#40464d;font-size:12px;font-weight:680;display:block}.arrears-field span b{color:#9c1428;margin-left:4px;font-size:11px}.arrears-field span em{color:var(--arrears-muted);margin-left:4px;font-size:11px;font-style:normal;font-weight:500}.arrears-field input,.arrears-field select,.arrears-drawer select,.arrears-drawer textarea,.arrears-filters input,.arrears-filters select{color:#30363d;background:#fff;border:1px solid #bfc4ca;border-radius:2px;width:100%;min-height:42px;padding:8px 10px}.arrears-field input[type=file]{color:#434a52;padding:7px;font-size:12px}.file-field{grid-template-columns:minmax(0,1fr)}.file-field>label{grid-column:1/-1}.file-field small{color:var(--arrears-muted);font-size:11px;line-height:1.55}.service-center-search small{color:var(--arrears-muted);font-size:11px}.arrears-upload__action{justify-content:space-between;align-items:center;gap:18px;padding-top:3px;display:flex}.arrears-upload__action>span{color:var(--arrears-muted);font-size:12px;line-height:1.5}.arrears-native .primary-action,.arrears-native button.primary{border-color:var(--arrears-red);color:#fff;background:var(--arrears-red);min-height:44px;font-weight:720}.arrears-native .primary-action{min-width:178px;padding-inline:24px}.arrears-native .primary-action:hover:not(:disabled),.arrears-native button.primary:hover:not(:disabled){color:#fff;border-color:var(--arrears-red-dark);background:var(--arrears-red-dark)}.arrears-batches,.arrears-review,.arrears-conclusion,.analysis-progress{border-bottom:1px solid var(--arrears-line);background:#fff;min-width:0;margin:0}.section-heading{border-bottom:1px solid var(--arrears-line);justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:11px 22px;display:flex}.section-heading>div{align-items:baseline;gap:10px;display:flex}.section-heading h2{color:#2b3036;margin:0;font-size:16px;line-height:1.3}.section-heading span,.section-heading time{color:var(--arrears-muted);font-size:12px;font-style:normal}.table-wrap{overscroll-behavior-inline:contain;touch-action:pan-x pan-y;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow:auto hidden}.arrears-table{border-collapse:collapse;color:#343a41;width:100%;min-width:920px}.arrears-table th,.arrears-table td{text-align:left;vertical-align:middle;padding:10px 12px}.arrears-table th{color:#4f565e;background:#f3f4f5;height:40px;font-size:12px;font-weight:680}.arrears-table td{border-top:1px solid #e4e6e9;min-height:50px;font-size:12px}.arrears-table td strong,.arrears-table td small{display:block}.arrears-table td small{color:var(--arrears-muted);margin-top:3px;font-size:11px;line-height:1.35}.arrears-table tr.is-selected td{background:#fff4f6}.batch-state{color:#434a52;background:#eceef0;padding:4px 7px;font-weight:650;display:inline-block}.batch-state.state-analyzed{color:#17613c;background:#e9f6ee}.batch-state.state-analyzing{color:#754700;background:#fff1d2}.batch-state.state-revoked,.batch-state.state-blocked,.batch-state.state-rule_only{color:#8a1222;background:#ffecef}.row-actions{white-space:nowrap;align-items:center;gap:6px;display:flex}.row-actions button{min-height:34px;padding:5px 8px;font-size:12px}.arrears-empty{min-height:104px;color:var(--arrears-muted);text-align:center;place-items:center;padding:20px;font-size:13px;display:grid}.analysis-progress{border-left:4px solid var(--arrears-red);padding:20px 22px}.analysis-progress>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.analysis-progress h2{margin:0;font-size:17px}.analysis-progress span,.analysis-progress p{color:var(--arrears-muted);font-size:12px}.analysis-progress progress{width:100%;height:8px;accent-color:var(--arrears-red);border:0;margin:15px 0 5px}.analysis-progress p{margin:5px 0 0}.arrears-conclusion{border-top:3px solid var(--arrears-red)}.conclusion-summary{color:#2c3238;margin:0;padding:20px 22px;font-size:15px;font-weight:640;line-height:1.75}.conclusion-scope{border-top:1px solid var(--arrears-line);border-bottom:1px solid var(--arrears-line);grid-template-columns:repeat(2,1fr);margin:0 22px;display:grid}.conclusion-scope>div{border-right:1px solid var(--arrears-line);padding:14px 12px}.conclusion-scope>div:nth-child(2n){border-right:0}.conclusion-scope dt{color:var(--arrears-muted);font-size:12px}.conclusion-scope dd{color:#272d33;margin:4px 0 0;font-size:17px;font-weight:720}.conclusion-columns{grid-template-columns:1fr;padding:18px 22px 22px;display:grid}.conclusion-columns>section{min-width:0;padding:2px 0 18px}.conclusion-columns>section+section{border-top:1px solid var(--arrears-line);padding-top:18px}.conclusion-columns h3,.drawer-evidence h3{color:#333940;margin:0 0 10px;font-size:13px}.conclusion-columns ol,.drawer-evidence ol,.drawer-evidence ul{gap:7px;margin:0;padding:0;list-style:none;display:grid}.conclusion-columns li{border-bottom:1px solid #eceef0;justify-content:space-between;gap:12px;padding-bottom:7px;font-size:12px;display:flex}.conclusion-columns p{color:#444b53;margin:0 0 10px;font-size:13px;line-height:1.6}.conclusion-columns small{color:var(--arrears-muted);margin-top:12px;font-size:11px;line-height:1.55;display:block}.service-center-opinions{grid-column:1/-1}.service-center-opinions article{border-top:1px solid var(--arrears-line);padding:12px 0}.service-center-opinions article:first-of-type{border-top:0}.service-center-opinions article header{justify-content:space-between;gap:12px;display:flex}.service-center-opinions article p{margin:7px 0}.service-center-opinions .execution-objective{color:#252b31;font-weight:680}.execution-meta{border-block:1px solid var(--arrears-line);grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0 12px;display:grid}.execution-meta>div{border-left:1px solid var(--arrears-line);min-width:0;padding:10px 12px}.execution-meta>div:first-child{border-left:0}.execution-meta dt,.execution-meta dd{margin:0}.execution-meta dt{color:var(--arrears-muted);font-size:11px}.execution-meta dd{color:#2c3238;margin-top:4px;font-size:12px;line-height:1.55}.service-center-opinions article h4{color:#343a41;margin:12px 0 8px;font-size:12px}.service-center-opinions .execution-steps{gap:6px}.service-center-opinions .execution-steps li{justify-content:initial;color:#3c434a;border-bottom:0;grid-template-columns:22px 1fr;gap:8px;padding:0;line-height:1.6;display:grid}.execution-steps li>b{width:20px;height:20px;color:var(--arrears-red);border:1px solid #d8dcdf;place-items:center;font-size:11px;display:grid}.execution-support{margin-top:10px;padding-top:4px}.service-center-opinions .execution-support p{color:#4b5259;grid-template-columns:72px 1fr;gap:10px;margin:6px 0;font-size:12px;display:grid}.execution-support p>b{color:#343a41}.service-center-opinions article small{color:#454c54;max-height:66px;line-height:1.55;display:block;overflow:auto}.arrears-filters{border-bottom:1px solid var(--arrears-line);background:#f7f8f9;grid-template-columns:1fr;gap:9px;padding:12px 22px;display:grid}.arrears-filters label{gap:5px;display:grid}.arrears-filters label>span,.arrears-drawer>label>span{color:#434a52;font-size:11px;font-weight:650}.arrears-result-list{display:grid}.arrears-native .arrears-result{text-align:left;background:#fff;border:0;border-bottom:1px solid #e4e6e9;border-radius:0;grid-template-columns:1fr;gap:9px;width:100%;min-height:74px;padding:13px 22px;display:grid}.arrears-native .arrears-result:hover{color:#30363d;background:#fff7f8;border-color:#e4e6e9}.arrears-result>span{gap:3px;display:grid}.arrears-result .result-resource{align-items:center;gap:8px;display:flex}.result-resource em{color:#4c535b;background:#e9ebed;padding:3px 6px;font-size:11px;font-style:normal}.arrears-result small{color:var(--arrears-muted);font-size:11px}.arrears-result strong{color:#30363d;font-size:12px}.arrears-result>i{color:#a71428;place-self:center end;font-size:11px;font-style:normal;display:none}.arrears-pagination{justify-content:flex-end;align-items:center;gap:12px;padding:12px 22px;display:flex}.arrears-pagination span{color:#454c54;font-size:12px}.arrears-pagination button{min-height:34px}.arrears-drawer-mask{z-index:120;background:#11182085;justify-content:flex-end;animation:.16s ease-out both arrears-mask-in;display:flex;position:fixed;inset:0}.arrears-drawer{color:#30363d;background:#fff;flex-direction:column;gap:16px;width:min(520px,100%);height:100%;padding:20px;animation:.2s cubic-bezier(.22,.8,.35,1) both arrears-drawer-in;display:flex;overflow:auto;box-shadow:-12px 0 34px #1b202838}.arrears-drawer>header{border-bottom:1px solid var(--arrears-line);justify-content:space-between;align-items:flex-start;padding-bottom:13px;display:flex}.arrears-drawer header span{color:var(--arrears-muted);font-size:11px}.arrears-drawer h2{margin:3px 0 0;font-size:21px}.arrears-drawer header button{border:0;min-width:40px;min-height:40px;padding:0;font-size:24px}.drawer-intro{color:var(--arrears-muted);margin:-5px 0 0;font-size:12px;line-height:1.6}.drawer-facts{border-top:1px solid var(--arrears-line);border-left:1px solid var(--arrears-line);grid-template-columns:repeat(2,1fr);margin:0;display:grid}.drawer-facts>div{border-right:1px solid var(--arrears-line);border-bottom:1px solid var(--arrears-line);padding:11px}.drawer-facts dt{color:var(--arrears-muted);font-size:11px}.drawer-facts dd{margin:4px 0 0;font-size:13px;font-weight:680}.drawer-evidence{border-top:1px solid var(--arrears-line);padding:13px 0}.drawer-evidence.ai-evidence{border-top:0;border-left:3px solid var(--arrears-red);background:#faf4f5;padding:13px}.drawer-evidence>p,.drawer-evidence li p{color:#454c54;margin:0;font-size:12px;line-height:1.65}.drawer-evidence li{border-bottom:1px solid #e7e9eb;padding:9px 0}.drawer-evidence li>div,.evidence-refs{color:#444b53;justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;font-size:11px;display:flex}.evidence-refs{border-top:1px solid #e6d9db;margin:10px 0 0;padding-top:8px}.evidence-refs b{overflow-wrap:anywhere;text-align:right}.arrears-drawer>label{gap:6px;display:grid}.arrears-drawer>label b{color:#8a1222;font-size:10px}.arrears-drawer textarea{resize:vertical}.arrears-drawer footer{border-top:1px solid var(--arrears-line);background:#fff;justify-content:flex-end;gap:8px;margin-top:auto;padding:14px 0 20px;display:flex;position:sticky;bottom:-20px}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}@media (width>=720px){.arrears-upload{grid-template-columns:repeat(2,minmax(0,1fr))}.arrears-upload__action{grid-column:1/-1}.conclusion-scope{grid-template-columns:repeat(4,1fr)}.conclusion-scope>div:nth-child(2n){border-right:1px solid var(--arrears-line)}.conclusion-scope>div:last-child{border-right:0}.conclusion-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.conclusion-columns>section{padding:2px 22px 2px 0}.conclusion-columns>section+section{border-top:0;border-left:1px solid var(--arrears-line);padding:2px 0 2px 22px}.arrears-filters{grid-template-columns:190px minmax(220px,1fr) auto;align-items:end}.arrears-native .arrears-result{grid-template-columns:minmax(130px,1.05fr) repeat(4,minmax(105px,1fr)) 88px;align-items:center}.arrears-result>i{display:block}}@media (width>=1180px){.arrears-upload{grid-template-columns:1fr 1.2fr 1.2fr;align-items:start}}@media (width<=719px){.arrears-native__header{align-items:flex-start;padding:14px 16px}.arrears-native__header h1{font-size:21px}.arrears-native__utility{text-align:right;flex-direction:column;align-items:flex-end;gap:6px}.arrears-native__utility>span{padding:0 0 0 8px;font-size:11px}.arrears-message{margin-inline:16px}.arrears-upload{padding:18px 16px}.file-field{grid-template-columns:minmax(0,1fr)}.file-field>label{grid-column:auto}.arrears-upload__action{flex-direction:column;align-items:stretch;gap:10px}.arrears-native .primary-action{width:100%}.section-heading{padding-inline:16px}.arrears-table{min-width:880px}.analysis-progress,.conclusion-summary,.arrears-filters,.arrears-pagination{padding-inline:16px}.analysis-progress>div{flex-direction:column;align-items:flex-start}.conclusion-scope{margin-inline:16px}.conclusion-columns{padding-inline:16px}.execution-meta{grid-template-columns:1fr}.execution-meta>div,.execution-meta>div:first-child{border-left:0;border-top:1px solid var(--arrears-line);padding-inline:0}.execution-meta>div:first-child{border-top:0}.service-center-opinions .execution-support p{grid-template-columns:1fr;gap:2px}.arrears-pagination{justify-content:space-between;gap:7px}.arrears-pagination span{text-align:center}.arrears-drawer{padding:16px}}@media (prefers-reduced-motion:reduce){.arrears-native,.arrears-message,.arrears-drawer-mask,.arrears-drawer{animation:none}.arrears-native button{transition:none}}@keyframes arrears-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes arrears-message-enter{0%{transform:translateY(-4px)}to{transform:translateY(0)}}@keyframes arrears-mask-in{0%{opacity:0}to{opacity:1}}@keyframes arrears-drawer-in{0%{opacity:.75;transform:translate(22px)}to{opacity:1;transform:translate(0)}}
/*$vite$:1*/

/* 欠费经营是驾驶舱内部原生工作台，不使用 iframe 或独立导航壳。 */
.arrears-native{min-width:0;overflow:hidden;color:#343940}
.arrears-native__header{display:flex;flex-direction:column;gap:16px;padding:24px;border-bottom:1px solid var(--aph-line)}
.arrears-native__header h1{margin:3px 0 5px;font-size:24px;letter-spacing:-.02em;color:#272b31}
.arrears-native__header p{margin:0;color:#7b8087;font-size:12px}
.eyebrow{color:var(--aph-red);font-size:10px;letter-spacing:.2em;text-transform:uppercase;font-weight:700}
.arrears-native__status{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.arrears-native__status span{border:1px solid #dfe1e5;padding:6px 9px;font-size:10px;background:#fff}
.arrears-native__status .is-ok{color:#207448;border-color:#badbc9;background:#f4fbf7}
.arrears-native__status .is-blocked{color:#a36c1c;border-color:#ead2ac;background:#fff9ee}
.arrears-native button,.arrears-native input,.arrears-native select,.arrears-native textarea{font:inherit}
.arrears-native button,.arrears-native .template-links a,.arrears-native .row-actions a{border:1px solid #d7d9dd;background:#fff;color:#4f555c;padding:7px 11px;text-decoration:none}
.arrears-native button:hover,.arrears-native .template-links a:hover,.arrears-native .row-actions a:hover{border-color:#c78890;color:var(--aph-red)}
.arrears-native button:disabled{cursor:not-allowed;opacity:.45}
.arrears-native button.primary,.arrears-upload>button{background:var(--aph-red);border-color:var(--aph-red);color:#fff}
.arrears-native button.primary:hover,.arrears-upload>button:hover{background:var(--aph-red-dark)}
.arrears-message{margin:12px 18px 0;padding:9px 11px;border-left:3px solid}
.arrears-message.is-error{background:#fff2f3;border-color:#c5192d;color:#9b1626}
.arrears-message.is-success{background:#f2faf5;border-color:#268152;color:#246743}
.arrears-metrics{display:grid;grid-template-columns:1fr;border-bottom:1px solid var(--aph-line)}
.arrears-metrics>div{padding:17px 20px;border-bottom:1px solid var(--aph-line);background:#fff}
.arrears-metrics span{display:block;color:#80858b;font-size:10px}
.arrears-metrics strong{font-size:22px;margin-right:6px;color:#31363d;font-variant-numeric:tabular-nums}
.arrears-metrics strong.is-date{font-size:17px}
.arrears-metrics em{font-size:9px;font-style:normal;color:#9ba0a5}
.arrears-native__grid{display:grid;grid-template-columns:1fr;gap:10px;padding:10px;background:#f4f5f7}
.arrears-section{min-width:0;background:#fff;border:1px solid #e6e7ea}
.arrears-section__title{min-height:56px;padding:10px 14px;border-bottom:1px solid #e8e9ec;display:flex;align-items:center;justify-content:space-between;gap:12px}
.arrears-section__title>div:first-child{display:grid;gap:2px}.arrears-section__title b{font-size:13px}.arrears-section__title span{font-size:9px;color:#92979d;font-weight:400}
.template-links,.row-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.template-links a,.row-actions a,.row-actions button{font-size:9px;padding:5px 7px}
.arrears-upload{display:grid;grid-template-columns:1fr;gap:10px;padding:14px}
.arrears-upload label,.arrears-drawer>label{display:grid;gap:5px}.arrears-upload label>span,.arrears-drawer>label>span{color:#737980;font-size:10px}
.arrears-upload input,.arrears-upload select,.arrears-drawer select,.arrears-drawer textarea,.arrears-filters input,.arrears-filters select{width:100%;min-height:36px;border:1px solid #d9dbe0;background:#fff;padding:7px 9px;color:#42474e;border-radius:0}
.arrears-upload input:focus,.arrears-upload select:focus,.arrears-drawer select:focus,.arrears-drawer textarea:focus,.arrears-filters input:focus,.arrears-filters select:focus{outline:2px solid #e3aeb4;outline-offset:1px;border-color:var(--aph-red)}
.arrears-upload input[type=file]{padding:5px;font-size:9px}.arrears-upload>button{min-height:36px}
.arrears-table{min-width:760px!important}.arrears-table td strong,.arrears-table td small{display:block}.arrears-table td small{margin-top:2px;color:#969ba1;font-size:9px}.arrears-table tr.is-selected td{background:#fff6f7}
.batch-state{display:inline-block;padding:3px 6px;background:#f1f2f4;color:#666d74}.batch-state.state-analyzed{background:#eef8f2;color:#26734a}.batch-state.state-analyzing{background:#fff7e8;color:#95631a}.batch-state.state-revoked,.batch-state.state-blocked{background:#fff0f1;color:#a82434}
.arrears-review{margin:0 10px 10px}.arrears-filters{padding:10px 14px;display:grid;grid-template-columns:1fr;gap:7px;border-bottom:1px solid #ececef;background:#fafbfc}
.arrears-result-list{display:grid}.arrears-result{width:100%;display:grid!important;grid-template-columns:1fr;gap:8px!important;text-align:left!important;border:0!important;border-bottom:1px solid #ececef!important;padding:12px 14px!important}
.arrears-result:hover{background:#fffafb!important}.arrears-result>span{display:grid;gap:2px}.arrears-result span:first-child{display:flex;align-items:center;gap:7px}.arrears-result span:first-child em{font-style:normal;font-size:9px;background:#f2f3f5;color:#777d84;padding:2px 5px}.arrears-result small{font-size:9px;color:#979ca2}.arrears-result strong{font-size:11px}.arrears-result>i{display:none;font-style:normal;color:var(--aph-red);align-self:center;justify-self:end}
.arrears-empty{min-height:100px;display:grid;place-items:center;color:#969ba1;font-size:11px}
.arrears-drawer-mask{position:fixed;z-index:120;inset:0;background:#11182066;display:flex;justify-content:flex-end}
.arrears-drawer{width:min(480px,100%);height:100%;overflow:auto;background:#fff;box-shadow:-12px 0 34px #1b202838;padding:18px;display:flex;flex-direction:column;gap:16px}
.arrears-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e6e7e9;padding-bottom:14px}.arrears-drawer header span{color:#92979c;font-size:9px}.arrears-drawer h2{margin:2px 0 0;font-size:20px}.arrears-drawer header button{border:0;font-size:22px;padding:0 6px}
.arrears-drawer dl{display:grid;grid-template-columns:repeat(2,1fr);margin:0;border:1px solid #e7e8eb}.arrears-drawer dl div{padding:11px;border-right:1px solid #e7e8eb;border-bottom:1px solid #e7e8eb}.arrears-drawer dt{color:#92979d;font-size:9px}.arrears-drawer dd{margin:4px 0 0;font-weight:650}
.arrears-drawer section{border-left:3px solid var(--aph-red);background:#faf7f7;padding:12px}.arrears-drawer section h3{font-size:11px;margin:0 0 6px}.arrears-drawer section p{margin:0;color:#676d74;font-size:11px;line-height:1.7}
.arrears-drawer textarea{resize:vertical}.arrears-drawer footer{margin-top:auto;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e7e8eb;padding-top:14px}

/* 审核系统嵌入模式：保留原视图的 Tailwind 组件，只接管外层导航与布局。 */
.review-embedded{min-width:0;background:#f3f4f6;border:1px solid #e6e7ea;color:#34393f}
.review-embedded__header{display:flex;flex-direction:column;gap:14px;padding:22px 24px;background:#fff;border-bottom:1px solid #e5e7eb}
.review-embedded__header>div:first-child>span{color:var(--aph-red);font-size:10px;letter-spacing:.18em;font-weight:700}.review-embedded__header h1{margin:3px 0 5px;font-size:23px;color:#292e34}.review-embedded__header p{margin:0;font-size:11px;color:#7d8288}.review-embedded__header>div:last-child{display:grid;justify-items:start}.review-embedded__header>div:last-child small{color:#8a8f95}
.review-embedded__nav{display:flex;overflow-x:auto;background:#fff;border-bottom:1px solid #e5e7eb;padding:0 12px}.review-embedded__nav button{flex:0 0 auto;height:44px;border:0;border-bottom:2px solid transparent;background:#fff;padding:0 13px;color:#656b72}.review-embedded__nav button:hover{color:var(--aph-red);background:#fafafa}.review-embedded__nav button.active{color:var(--aph-red);border-bottom-color:var(--aph-red);font-weight:650}
.review-embedded__content{min-height:520px;padding:12px}.review-embedded__content .card-soft,.review-embedded__content .review-panel{position:relative;background:#fff;border:1px solid #e2e4e7;border-radius:2px;box-shadow:0 1px 3px #0000000d}.review-embedded__content .num{font-variant-numeric:tabular-nums}.review-embedded__content .shadow-cyan,.review-embedded__content .shadow-glow{box-shadow:0 1px 3px #00000014!important}
.review-embedded__loading{min-height:320px;display:grid;place-items:center;color:#777d84;background:#fff}
.review-embedded__content input,.review-embedded__content select,.review-embedded__content textarea{background:#fff!important;color:#34393f!important;border-color:#d9dce0!important}
.review-embedded__content [class*="bg-slate-950"],.review-embedded__content [class*="bg-slate-900"],.review-embedded__content [class*="bg-slate-800"]{background-color:#fff!important;background-image:none!important}
.review-embedded__content [class*="text-slate-50"],.review-embedded__content [class*="text-slate-100"],.review-embedded__content [class*="text-slate-200"],.review-embedded__content [class*="text-blue-50"],.review-embedded__content [class*="text-blue-100"]{color:#34393f!important}
.review-embedded__content [class*="text-slate-300"]{color:#51575f!important}.review-embedded__content [class*="text-slate-400"],.review-embedded__content [class*="text-slate-500"],.review-embedded__content [class*="text-slate-600"]{color:#71777e!important}
.review-embedded__content [class*="text-blue-"],.review-embedded__content [class*="text-cyan-"],.review-embedded__content [class*="text-sky-"]{color:#9b1724!important}.review-embedded__content [class*="text-emerald-"],.review-embedded__content [class*="text-green-"]{color:#176b45!important}.review-embedded__content [class*="text-amber-"],.review-embedded__content [class*="text-yellow-"]{color:#8a4d08!important}.review-embedded__content [class*="text-red-"],.review-embedded__content [class*="text-rose-"]{color:#a51424!important}
.review-embedded__content [class*="border-blue-"],.review-embedded__content [class*="border-cyan-"],.review-embedded__content [class*="border-slate-"]{border-color:#e4e6e9!important}
.review-embedded__content button[class*="bg-blue-"],.review-embedded__content button[class*="bg-cyan-"],.review-embedded__content button[class*="bg-red-"],.review-embedded__content button[class*="bg-emerald-"]{background:var(--aph-red)!important;color:#fff!important}
.review-embedded__content [class*="bg-slate-700"][class*="text-white"]{background:#51575f!important;color:#fff!important}

@media(min-width:760px){.review-embedded__header{flex-direction:row;justify-content:space-between;align-items:center}.review-embedded__header>div:last-child{justify-items:end}}

@media(min-width:680px){
  .arrears-metrics{grid-template-columns:repeat(5,1fr)}.arrears-metrics>div{border-right:1px solid var(--aph-line);border-bottom:0}.arrears-upload{grid-template-columns:1fr 1fr}.arrears-upload>button{grid-column:1/-1}.arrears-filters{grid-template-columns:180px 1fr auto}.arrears-result{grid-template-columns:minmax(130px,1.2fr) repeat(3,minmax(90px,1fr)) 46px!important}.arrears-result>i{display:block}
}
@media(min-width:1180px){
  .arrears-native__header{flex-direction:row;align-items:center;justify-content:space-between}.arrears-native__grid{grid-template-columns:minmax(420px,.8fr) minmax(660px,1.2fr)}.arrears-upload{grid-template-columns:1fr 1fr}.arrears-upload>button{grid-column:1/-1}
}

/* 欠费经营是驾驶舱内部原生工作台，不使用 iframe 或独立导航壳。 */
.arrears-native{min-width:0;overflow:hidden;color:#343940}
.arrears-native__header{display:flex;flex-direction:column;gap:16px;padding:22px 24px 18px;border-bottom:1px solid var(--aph-line);background:#fff}
.arrears-native__header h1{margin:0 0 6px;font-size:24px;letter-spacing:-.02em;color:#272b31}
.arrears-native__header p{max-width:72ch;margin:0;color:#646a71;font-size:12px;line-height:1.7}
.arrears-native__status{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.arrears-native__status span{border:1px solid #dfe1e5;padding:6px 9px;font-size:10px;background:#fff}
.arrears-native__status .is-ok{color:#207448;border-color:#badbc9;background:#f4fbf7}
.arrears-native__status .is-blocked{color:#a36c1c;border-color:#ead2ac;background:#fff9ee}
.arrears-workflow{display:grid;grid-template-columns:1fr;background:#f4f5f7;border-bottom:1px solid var(--aph-line)}
.arrears-workflow>div{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:10px;padding:14px 20px;background:#fff;border-bottom:1px solid #e8e9ec}
.arrears-workflow b{width:28px;height:28px;display:grid;place-items:center;background:#f8e9ea;color:var(--aph-red);font-size:12px}
.arrears-workflow span{display:grid;gap:2px}.arrears-workflow strong{font-size:11px;color:#3f454c}.arrears-workflow small{font-size:9px;color:#858b92}
.arrears-native button,.arrears-native input,.arrears-native select,.arrears-native textarea{font:inherit}
.arrears-native button,.arrears-native .template-links a,.arrears-native .row-actions a{border:1px solid #d7d9dd;background:#fff;color:#4f555c;padding:7px 11px;text-decoration:none}
.arrears-native button:hover,.arrears-native .template-links a:hover,.arrears-native .row-actions a:hover{border-color:#c78890;color:var(--aph-red)}
.arrears-native button:disabled{cursor:not-allowed;opacity:.45}
.arrears-native button.primary,.arrears-upload>button{background:var(--aph-red);border-color:var(--aph-red);color:#fff}
.arrears-native button.primary:hover,.arrears-upload>button:hover{background:var(--aph-red-dark)}
.arrears-message{margin:12px 18px 0;padding:10px 12px;border:1px solid}
.arrears-message.is-error{background:#fff2f3;border-color:#e1b2b7;color:#9b1626}
.arrears-message.is-success{background:#f2faf5;border-color:#badbc9;color:#246743}
.arrears-metrics{display:grid;grid-template-columns:1fr;border-bottom:1px solid var(--aph-line)}
.arrears-metrics>div{padding:17px 20px;border-bottom:1px solid var(--aph-line);background:#fff}
.arrears-metrics span{display:block;color:#80858b;font-size:10px}
.arrears-metrics strong{font-size:22px;margin-right:6px;color:#31363d;font-variant-numeric:tabular-nums}
.arrears-metrics strong.is-date{font-size:17px}
.arrears-metrics em{font-size:9px;font-style:normal;color:#9ba0a5}
.arrears-native__grid{display:grid;grid-template-columns:1fr;gap:10px;padding:10px;background:#f4f5f7}
.arrears-section{min-width:0;background:#fff;border:1px solid #e6e7ea}
.arrears-section__title{min-height:56px;padding:10px 14px;border-bottom:1px solid #e8e9ec;display:flex;align-items:center;justify-content:space-between;gap:12px}
.arrears-section__title>div:first-child{display:grid;gap:2px}.arrears-section__title b{font-size:13px}.arrears-section__title span{font-size:9px;color:#92979d;font-weight:400}
.template-links,.row-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.template-links a,.row-actions a,.row-actions button{font-size:9px;padding:5px 7px}
.arrears-upload{display:grid;grid-template-columns:1fr;gap:10px;padding:14px}
.arrears-upload label{display:grid;gap:5px}.arrears-upload label>span{color:#666c73;font-size:10px;font-weight:600}
.arrears-upload input,.arrears-upload select,.arrears-advice__search input{width:100%;min-height:38px;border:1px solid #d9dbe0;background:#fff;padding:7px 9px;color:#42474e;border-radius:0}
.arrears-upload input:focus,.arrears-upload select:focus,.arrears-advice__search input:focus{outline:2px solid #e3aeb4;outline-offset:1px;border-color:var(--aph-red)}
.arrears-upload input[type=file]{padding:6px;font-size:9px}.arrears-upload>button{min-height:40px}
.arrears-upload__file{padding:10px;border:1px solid #ececef;background:#fafbfc}.arrears-upload__file small{color:#858b92;font-size:9px;line-height:1.5}
.arrears-table{min-width:800px!important}.arrears-table td strong,.arrears-table td small{display:block}.arrears-table td small{margin-top:3px;color:#858b92;font-size:9px}.arrears-table tr.is-selected td{background:#fff6f7}
.batch-state{display:inline-block;padding:3px 6px;background:#f1f2f4;color:#666d74}.batch-state.state-analyzed{background:#eef8f2;color:#26734a}.batch-state.state-analyzing{background:#fff7e8;color:#95631a}.batch-state.state-revoked,.batch-state.state-blocked{background:#fff0f1;color:#a82434}
.arrears-advice{margin:0 10px 10px}.arrears-advice__search{padding:10px 14px;display:grid;grid-template-columns:1fr auto;gap:7px;border-bottom:1px solid #ececef;background:#fafbfc}.arrears-advice__search a{grid-column:1/-1;color:var(--aph-red);font-size:10px;text-decoration:none;align-self:center}.arrears-advice__search a:hover{text-decoration:underline}
.arrears-advice__head{display:none;background:#f4f5f7;border-bottom:1px solid #e3e5e8;color:#666c73;font-size:9px;font-weight:650}
.arrears-advice__list{display:grid}.arrears-advice__row{display:grid;grid-template-columns:1fr;gap:10px;padding:14px;border-bottom:1px solid #ececef;background:#fff}.arrears-advice__row:hover{background:#fffafa}.arrears-advice__row>div:first-child,.arrears-advice__row>div:nth-child(2){display:grid;gap:3px}.arrears-advice__row b,.arrears-advice__row span{font-size:11px;color:#3d434a}.arrears-advice__row strong{font-size:13px;color:#272c32;font-variant-numeric:tabular-nums}.arrears-advice__row small{color:#858b92;font-size:9px}.arrears-advice__row p{margin:0;color:#5f666d;font-size:10px;line-height:1.65}.arrears-advice__row dl{display:grid;gap:4px;margin:0}.arrears-advice__row dl>div{display:grid;grid-template-columns:58px 1fr;gap:6px}.arrears-advice__row dt{color:#8b9096;font-size:9px}.arrears-advice__row dd{margin:0;color:#555b62;font-size:9px}.arrears-advice__note{padding:11px 14px;color:#747a81;font-size:9px;background:#fafbfc;border-top:1px solid #ececef}
.arrears-empty{min-height:100px;display:grid;place-items:center;color:#969ba1;font-size:11px}

@media(max-width:679px){.arrears-native{margin-top:32px}}

/* 审核系统嵌入模式：保留原视图的 Tailwind 组件，只接管外层导航与布局。 */
.review-embedded{min-width:0;background:#f3f4f6;border:1px solid #e6e7ea;color:#34393f}
.review-embedded__header{display:flex;flex-direction:column;gap:14px;padding:22px 24px;background:#fff;border-bottom:1px solid #e5e7eb}
.review-embedded__header>div:first-child>span{color:var(--aph-red);font-size:10px;letter-spacing:.18em;font-weight:700}.review-embedded__header h1{margin:3px 0 5px;font-size:23px;color:#292e34}.review-embedded__header p{margin:0;font-size:11px;color:#7d8288}.review-embedded__header>div:last-child{display:grid;justify-items:start}.review-embedded__header>div:last-child small{color:#8a8f95}
.review-embedded__nav{display:flex;overflow-x:auto;background:#fff;border-bottom:1px solid #e5e7eb;padding:0 12px}.review-embedded__nav button{flex:0 0 auto;height:44px;border:0;border-bottom:2px solid transparent;background:#fff;padding:0 13px;color:#656b72}.review-embedded__nav button:hover{color:var(--aph-red);background:#fafafa}.review-embedded__nav button.active{color:var(--aph-red);border-bottom-color:var(--aph-red);font-weight:650}
.review-embedded__content{min-height:520px;padding:12px}.review-embedded__content .card-soft,.review-embedded__content .review-panel{position:relative;background:#fff;border:1px solid #e2e4e7;border-radius:2px;box-shadow:0 1px 3px #0000000d}.review-embedded__content .num{font-variant-numeric:tabular-nums}.review-embedded__content .shadow-cyan,.review-embedded__content .shadow-glow{box-shadow:0 1px 3px #00000014!important}
.review-embedded__loading{min-height:320px;display:grid;place-items:center;color:#777d84;background:#fff}
.review-embedded__content input,.review-embedded__content select,.review-embedded__content textarea{background:#fff!important;color:#34393f!important;border-color:#d9dce0!important}
.review-embedded__content [class*="bg-slate-950"],.review-embedded__content [class*="bg-slate-900"],.review-embedded__content [class*="bg-slate-800"]{background-color:#fff!important;background-image:none!important}
.review-embedded__content [class*="text-slate-50"],.review-embedded__content [class*="text-slate-100"],.review-embedded__content [class*="text-slate-200"],.review-embedded__content [class*="text-blue-50"],.review-embedded__content [class*="text-blue-100"]{color:#34393f!important}
.review-embedded__content [class*="text-slate-300"]{color:#51575f!important}.review-embedded__content [class*="text-slate-400"],.review-embedded__content [class*="text-slate-500"],.review-embedded__content [class*="text-slate-600"]{color:#71777e!important}
.review-embedded__content [class*="text-blue-"],.review-embedded__content [class*="text-cyan-"],.review-embedded__content [class*="text-sky-"]{color:#9b1724!important}.review-embedded__content [class*="text-emerald-"],.review-embedded__content [class*="text-green-"]{color:#176b45!important}.review-embedded__content [class*="text-amber-"],.review-embedded__content [class*="text-yellow-"]{color:#8a4d08!important}.review-embedded__content [class*="text-red-"],.review-embedded__content [class*="text-rose-"]{color:#a51424!important}
.review-embedded__content [class*="border-blue-"],.review-embedded__content [class*="border-cyan-"],.review-embedded__content [class*="border-slate-"]{border-color:#e4e6e9!important}
.review-embedded__content button[class*="bg-blue-"],.review-embedded__content button[class*="bg-cyan-"],.review-embedded__content button[class*="bg-red-"],.review-embedded__content button[class*="bg-emerald-"]{background:var(--aph-red)!important;color:#fff!important}
.review-embedded__content [class*="bg-slate-700"][class*="text-white"]{background:#51575f!important;color:#fff!important}

@media(min-width:760px){.review-embedded__header{flex-direction:row;justify-content:space-between;align-items:center}.review-embedded__header>div:last-child{justify-items:end}}

@media(min-width:680px){
  .arrears-workflow{grid-template-columns:repeat(3,1fr);gap:1px}.arrears-workflow>div{border-bottom:0}.arrears-metrics{grid-template-columns:repeat(5,1fr)}.arrears-metrics>div{border-right:1px solid var(--aph-line);border-bottom:0}.arrears-upload{grid-template-columns:1fr 1fr}.arrears-upload>button{grid-column:1/-1}.arrears-advice__search{grid-template-columns:minmax(220px,1fr) auto auto}.arrears-advice__search a{grid-column:auto}.arrears-advice__head{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(140px,.8fr) minmax(260px,1.6fr) minmax(180px,1fr);gap:14px;padding:9px 14px}.arrears-advice__row{grid-template-columns:minmax(150px,.8fr) minmax(140px,.8fr) minmax(260px,1.6fr) minmax(180px,1fr);gap:14px;align-items:start}
}
@media(min-width:1180px){
  .arrears-native__header{flex-direction:row;align-items:center;justify-content:space-between}.arrears-native__grid{grid-template-columns:minmax(420px,.8fr) minmax(660px,1.2fr)}.arrears-upload{grid-template-columns:1fr 1fr}.arrears-upload>button{grid-column:1/-1}
}

/* source: /aph2-r114-five-books-evaluation-20260824-v1.css?v=r114-label-no-flash1 */
/* R114.3 五书评估：正式关键指标单整表样式，仅作用于 /command */
body.five-books-command-active main,
body.five-books-command-active [role="main"] { visibility: hidden !important; }

#five-books-evaluation-r114 {
  --fb-red:#e60012; --fb-ink:#25282b; --fb-muted:#62676c; --fb-line:#8c9094;
  --fb-soft:#f5f6f7; --fb-input:#f5f8fc; --fb-paper:#fff;
  position:fixed; inset:96px 0 0; z-index:70; overflow:auto;
  color:var(--fb-ink); background:#eceeef;
  font:14px/1.45 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;
}
#five-books-evaluation-r114 *,#five-books-evaluation-r114 *::before,#five-books-evaluation-r114 *::after{box-sizing:border-box}
#five-books-evaluation-r114 button,#five-books-evaluation-r114 input,#five-books-evaluation-r114 select,#five-books-evaluation-r114 textarea{font:inherit;color:inherit}
#five-books-evaluation-r114 :focus-visible{outline:3px solid rgba(230,0,18,.18);outline-offset:1px}
@media screen{
#aph-exact-sidebar-panel a[data-aph-exact-href="/command"]>span,a[data-aph-tab-href="/command"],a[data-aph-mobile-href="/command"],a[href="/command"].inline-flex{font-size:0!important}
#aph-exact-sidebar-panel a[data-aph-exact-href="/command"]>span::after,a[data-aph-tab-href="/command"]::after,a[data-aph-mobile-href="/command"]::after,a[href="/command"].inline-flex::after{content:"五书评估";font-size:13px}
a[data-aph-tab-href="/command"]::after,a[data-aph-mobile-href="/command"]::after{font-size:14px}}
.fb-shell{max-width:1900px;min-height:100%;margin:auto;padding:12px 12px 88px}

.fb-control-bar{position:sticky;top:0;z-index:15;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #c9cdd1;background:rgba(255,255,255,.98)}
.fb-control-bar>label{min-width:0;color:#555b61;font-size:12px;font-weight:600}
.fb-control-bar select,.fb-control-bar input{display:block;width:100%;min-height:40px;margin-top:4px;padding:7px 9px;border:1px solid #bfc5ca;border-radius:2px;background:#fff}
.fb-control-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:7px}
.fb-control-actions button,.fb-file-actions button,.fb-action-bar button,.fb-evidence-button{min-height:40px;padding:7px 12px;border:1px solid #aeb4ba;border-radius:2px;background:#fff;font-weight:600;cursor:pointer}
.fb-control-actions button:hover,.fb-file-actions button:hover,.fb-action-bar button:hover,.fb-evidence-button:hover{border-color:#777e84;background:#f4f5f6}
.fb-control-actions button:disabled,.fb-file-actions button:disabled,.fb-action-bar button:disabled,.fb-evidence-button:disabled{opacity:.45;cursor:not-allowed}
.fb-review-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid #cbd0d4;border-radius:14px;color:#50565b;background:#f1f2f3;font-size:12px;font-weight:700}
.fb-review-status.status-submitted{border-color:#d2aa55;color:#6d4b00;background:#fff6df}.fb-review-status.status-approved{border-color:#68a886;color:#175a38;background:#edf8f2}.fb-review-status.status-returned{border-color:#d2777f;color:#94202a;background:#fff0f1}
.fb-source-state{display:flex;gap:10px;margin:7px 0;padding:7px 10px;border-left:3px solid #d19827;color:#72510d;background:#fff8e5;font-size:12px}.fb-source-state.ready{border-color:#368c62;color:#155b39;background:#eaf7ef}.fb-source-state strong{white-space:nowrap}

.fb-form-sheet{border:1px solid #64686b;background:var(--fb-paper)}
.fb-form-heading,.fb-form-line,.fb-form-section,.fb-duty-grid,.fb-professional{border-bottom:1px solid var(--fb-line)}
.fb-form-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;padding:12px 16px}.fb-form-heading>strong{font-size:14px}.fb-brand{font-weight:700}.fb-brand span{margin-right:5px;color:var(--fb-red);font-weight:800;letter-spacing:-.03em}
.fb-form-line{min-height:42px;padding:10px 14px}.fb-form-section{min-height:40px;padding:9px 14px;font-size:15px}.fb-form-split{display:flex;align-items:center;justify-content:space-between;gap:16px}.fb-form-split input{width:145px;min-height:30px;padding:3px 6px;border:1px solid transparent;background:var(--fb-input);font-weight:600}
.fb-edit-line{padding:0}.fb-edit-line input,.fb-edit-line textarea{display:block;width:100%;min-height:42px;padding:9px 14px;border:0;background:var(--fb-input)}.fb-edit-line textarea{height:54px;resize:vertical}
.fb-edit-line input:disabled,.fb-edit-line textarea:disabled,.fb-duty-grid input:disabled,.fb-professional input:disabled{opacity:1;background:#fff}
.fb-duty-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fb-duty-grid label{display:flex;align-items:center;gap:5px;min-height:44px;padding:7px 14px;border-right:1px solid var(--fb-line);font-weight:600}.fb-duty-grid label:nth-child(even){border-right:0}.fb-duty-grid label:nth-child(-n+2){border-bottom:1px solid var(--fb-line)}.fb-duty-grid input{min-width:0;flex:1;min-height:30px;padding:3px 6px;border:1px solid transparent;background:var(--fb-input);font-weight:400}
.fb-professional{display:grid;grid-template-columns:170px minmax(0,1fr);min-height:42px}.fb-professional>span{display:grid;place-items:center;border-right:1px solid var(--fb-line);font-weight:700}.fb-professional label{display:flex;align-items:center;justify-content:center;gap:7px;padding:6px 14px;font-weight:700}.fb-professional input{width:min(420px,70%);min-height:30px;padding:3px 7px;border:1px solid transparent;background:var(--fb-input);text-align:center;font-weight:700}

.fb-table-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px;border-bottom:1px solid var(--fb-line);background:#fafafa;color:#555b60;font-size:12px}.fb-file-actions{display:flex;align-items:center;gap:7px}.fb-file-actions input[type=file]{max-width:280px;min-height:38px;padding:6px;border:1px solid #bcc2c7;background:#fff}
.fb-table-scroll{width:100%;overflow:auto;background:#fff;overscroll-behavior-x:contain}.fb-form-table{width:100%;min-width:1420px;border:0;border-collapse:separate;border-spacing:0;table-layout:fixed}.fb-form-table .col-book{width:145px}.fb-form-table .col-weight{width:70px}.fb-form-table .col-dimension{width:165px}.fb-form-table .col-standard{width:360px}.fb-form-table .col-target{width:175px}.fb-form-table .col-actual{width:175px}.fb-form-table .col-score{width:125px}.fb-form-table .col-total{width:110px}.fb-form-table .col-remark{width:190px}
.fb-form-table th,.fb-form-table td{border-right:1px solid var(--fb-line);border-bottom:1px solid var(--fb-line);padding:8px 9px;vertical-align:middle;text-align:center;overflow-wrap:anywhere}.fb-form-table tr>*:last-child{border-right:0}.fb-form-table thead th{position:sticky;top:0;z-index:3;height:56px;color:#17191b;background:#f7f7f7;font-size:14px;font-weight:800}.fb-form-table tbody tr:last-child>*{border-bottom:0}
.fb-book-cell{position:sticky;left:0;z-index:2;padding:18px 10px 10px!important;vertical-align:top!important;background:#fcfcfc;font-size:15px;font-weight:700}.fb-book-cell span{position:sticky;top:66px;display:block;white-space:pre-wrap}.fb-weight-cell{position:sticky;left:145px;z-index:2;background:#fff;font-variant-numeric:tabular-nums}.fb-dimension-cell{position:sticky;left:215px;z-index:2;background:#fff;font-weight:600;white-space:pre-wrap;box-shadow:5px 0 7px -7px rgba(0,0,0,.65)}.fb-standard-cell{text-align:left!important;vertical-align:top!important;line-height:1.55}.fb-standard-cell p{margin:0;white-space:pre-wrap}.fb-score-rule{margin-top:7px!important;padding-top:7px;border-top:1px dashed #c9cdd0;color:#4e545a;font-size:12px}.fb-score-rule b{color:#282c2f}
.fb-value-cell input,.fb-score-cell input,.fb-remark-cell input,.fb-remark-cell select{display:block;width:100%;min-height:38px;padding:6px 7px;border:1px solid #cfd7df;border-radius:3px;background:var(--fb-input);text-align:center}.fb-value-cell input::placeholder,.fb-score-cell input::placeholder,.fb-remark-cell input::placeholder{color:#939aa1}.fb-value-cell small{display:block;margin-top:5px;color:#747a80;font-size:10px}.fb-score-cell output{display:block;color:#171a1d;font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}.fb-score-cell small{display:block;margin:4px 0 7px;color:#6b7177;font-size:10px}.fb-book-total strong{display:block;font-size:18px;font-variant-numeric:tabular-nums}.fb-book-total small{display:block;margin-top:5px;color:#6f757b;font-size:10px;font-weight:400}.fb-remark-cell{padding:7px!important}.fb-remark-cell select,.fb-remark-cell input{margin-bottom:6px;text-align:left}.fb-evidence-button{width:100%;min-height:34px!important;padding:5px 7px!important;font-size:11px}.fb-evidence-list{display:grid;gap:4px;margin-top:5px}.fb-evidence-list button{min-height:28px;padding:3px 5px;border:1px solid #b9c9da;border-radius:2px;color:#285f94;background:#f4f8fc;font-size:10px;cursor:pointer}.fb-metric.excluded td{color:#74797e;background:#f1f2f3}.fb-metric.pending .fb-score-cell{background:#fffaf0}.fb-empty{height:110px;color:#73797e;background:#fff;text-align:center!important}.fb-form-table thead th:nth-child(1){left:0;z-index:7}.fb-form-table thead th:nth-child(2){left:145px;z-index:7}.fb-form-table thead th:nth-child(3){left:215px;z-index:7;box-shadow:5px 0 7px -7px rgba(0,0,0,.65)}
.fb-document-summary{display:flex;align-items:center;justify-content:flex-end;gap:0;min-height:50px;border-top:1px solid var(--fb-line);background:#fafafa}.fb-document-summary>span{margin-right:auto;padding:8px 12px;color:#555b60;font-size:11px}.fb-document-summary>b{align-self:stretch;display:flex;align-items:center;padding:8px 12px;border-left:1px solid var(--fb-line);font-size:12px;white-space:nowrap}.fb-document-summary .fb-stars{color:#a56e00}

.fb-action-bar{position:fixed;z-index:72;right:0;bottom:0;left:0;display:flex;align-items:flex-end;gap:8px;min-height:70px;padding:8px 12px;border-top:1px solid #bfc4c8;background:rgba(255,255,255,.98)}.fb-action-bar>div{min-width:190px;margin-right:auto}.fb-action-bar>div strong,.fb-action-bar>div span{display:block;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fb-action-bar>div span{color:#666c72;font-size:11px}.fb-action-bar>label{flex:0 1 310px;color:#60666c;font-size:11px}.fb-action-bar>label input{display:block;width:100%;min-height:40px;margin-top:3px;padding:6px 8px;border:1px solid #bec4c9;background:#fff}.fb-action-bar button.primary{border-color:var(--fb-red);color:#fff;background:var(--fb-red)}.fb-action-bar button.primary:hover{border-color:#b9000e;background:#b9000e}.fb-action-bar button.danger{border-color:#cf5d66;color:#9b1722}
#fb-toast{position:fixed;z-index:1000;right:18px;bottom:82px;max-width:min(420px,calc(100vw - 36px));padding:0;opacity:0;pointer-events:none}#fb-toast.show{padding:10px 13px;border-radius:2px;color:#fff;background:#17603b;opacity:1}#fb-toast.show.error{background:#a41d29}

@media (min-width:761px){#five-books-evaluation-r114{left:140px}.fb-shell{padding:12px 18px 88px}.fb-control-bar{grid-template-columns:minmax(120px,.7fr) minmax(240px,1.5fr) minmax(120px,.7fr) minmax(230px,1.4fr) minmax(160px,1fr) auto;align-items:end}.fb-control-actions{grid-column:auto}.fb-duty-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fb-duty-grid label{border-bottom:0!important}.fb-duty-grid label:nth-child(2){border-right:1px solid var(--fb-line)}.fb-action-bar{left:140px}}
@media (max-width:760px){.fb-shell{padding:8px 8px 82px}.fb-control-bar select,.fb-control-bar input,.fb-form-sheet input,.fb-form-sheet select,.fb-form-sheet textarea{font-size:16px}.fb-form-heading{display:block;padding:11px}.fb-form-heading>strong{display:block;margin-top:9px}.fb-form-split{display:grid}.fb-form-split input{width:100%}.fb-professional{grid-template-columns:100px minmax(0,1fr)}.fb-professional input{width:100%}.fb-table-tools{display:grid}.fb-file-actions{display:grid}.fb-file-actions input[type=file]{max-width:none;width:100%}.fb-table-scroll::before{content:"横向滑动查看完整评估单";position:sticky;left:0;display:block;width:100vw;padding:6px 10px;color:#6b4b08;background:#fff5d9;font-size:11px}.fb-book-cell,.fb-weight-cell,.fb-dimension-cell,.fb-book-cell span{position:static}.fb-action-bar{align-items:center;overflow-x:auto}.fb-action-bar>div,.fb-action-bar>label{display:none}.fb-control-actions button,.fb-file-actions button,.fb-action-bar button,.fb-evidence-button{min-height:44px}.fb-document-summary{align-items:stretch;overflow-x:auto}.fb-document-summary>span{display:none}.fb-document-summary>b{flex:0 0 auto}}
@media (max-width:430px){.fb-control-bar{grid-template-columns:1fr}.fb-control-actions{grid-column:auto;justify-content:flex-start;overflow-x:auto}.fb-duty-grid{grid-template-columns:1fr}.fb-duty-grid label{border-right:0;border-bottom:1px solid var(--fb-line)!important}.fb-duty-grid label:last-child{border-bottom:0!important}.fb-form-section{font-size:14px}}
@media (prefers-reduced-motion:reduce){#five-books-evaluation-r114 *,#five-books-evaluation-r114 *::before,#five-books-evaluation-r114 *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media print{@page{size:A3 landscape;margin:8mm}body.five-books-command-active>*:not(#five-books-evaluation-r114){display:none!important}#five-books-evaluation-r114{position:static;overflow:visible;background:#fff;font-size:9px}.fb-shell{max-width:none;padding:0}.fb-control-bar,.fb-source-state,.fb-table-tools,.fb-action-bar,.fb-evidence-button,.fb-evidence-list{display:none!important}.fb-form-table{min-width:0}.fb-form-table thead th,.fb-book-cell,.fb-weight-cell,.fb-dimension-cell,.fb-book-cell span{position:static!important}.fb-form-table input,.fb-form-table select,.fb-form-sheet input,.fb-form-sheet textarea{border:0!important;background:#fff!important}.fb-document-summary{break-inside:avoid}.fb-form-table tr{break-inside:avoid}}

/* source: /aph2-r118-table-consistency-20260825-v1.css?v=r118-table1 */
/* R118 全站业务表格一致性：表头统一居中，不改变正文数据对齐 */
body table thead th {
  text-align: center !important;
  vertical-align: middle !important;
}

body table thead th > button,
body table thead th .r6-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media print {
  body table thead th { text-align: center !important; }
}

/* source: /north-ai-assistant-20260806-sitefix1.css?v=r121-r119-r120-merged1 */
/* 华北经营助手 · APH 2.0 浅色业务主题热修复，仅作用于独立组件 */
#north-ai-assistant {
  --north-ai-bg: #f5f6fa;
  --north-ai-surface: #ffffff;
  --north-ai-surface-2: #f0f1f4;
  --north-ai-line: #e8e9ed;
  --north-ai-line-strong: #d7d9dc;
  --north-ai-primary: #cf001b;
  --north-ai-primary-hover: #b80018;
  --north-ai-primary-soft: #fff0f2;
  --north-ai-text: #41464c;
  --north-ai-muted: #7f848a;
  --north-ai-ink: #050505;
  --north-ai-success: #258e59;
  --north-ai-warning: #f1a52f;
  --north-ai-danger: #c75159;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

.north-ai-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 58;
  display: flex;
  align-items: center;
  gap: 0;
  width: 58px;
  min-height: 58px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid var(--north-ai-line-strong);
  border-radius: 2px;
  color: var(--north-ai-text);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.north-ai-launcher:hover { transform: translateY(-1px); border-color: var(--north-ai-primary); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.north-ai-launcher:active { transform: translateY(0) scale(.98); }
.north-ai-launcher:focus-visible,
.north-ai-close:focus-visible,
.north-ai-chip:focus-visible,
.north-ai-send:focus-visible,
.north-ai-input:focus-visible { outline: 2px solid var(--north-ai-primary); outline-offset: 2px; }
.north-ai-launcher[hidden] { display: none !important; }

.north-ai-launcher-mark,
.north-ai-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  border: 0;
  border-radius: 2px;
  background: var(--north-ai-primary);
  overflow: hidden;
}
.north-ai-launcher-mark { width: 44px; height: 44px; }
.north-ai-brand-mark { width: 46px; height: 46px; }
.north-ai-launcher-mark::before,
.north-ai-brand-mark::before {
  content: "AI";
  font: 700 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.06em;
}
.north-ai-launcher-mark::after,
.north-ai-brand-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .52);
}

.north-ai-launcher-copy { position: absolute; right: 64px; bottom: 5px; display: grid; width: 148px; gap: 2px; padding: 9px 11px; opacity: 0; pointer-events: none; border: 1px solid var(--north-ai-line-strong); border-radius: 8px; background: #ffffff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transform: translateX(8px); text-align: left; transition: opacity .18s ease, transform .18s ease; }
.north-ai-launcher:hover .north-ai-launcher-copy,
.north-ai-launcher:focus-visible .north-ai-launcher-copy { opacity: 1; transform: translateX(0); }
.north-ai-launcher-copy strong { color: #343940; font-size: 14px; line-height: 1.2; font-weight: 650; }
.north-ai-launcher-copy span { color: var(--north-ai-muted); font-size: 11px; line-height: 1.2; }
.north-ai-launcher-dot { display: none; width: 7px; height: 7px; border-radius: 50%; background: var(--north-ai-primary); }

.north-ai-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.north-ai-overlay.is-open { opacity: 1; pointer-events: auto; }
.north-ai-panel {
  width: min(470px, calc(100vw - 20px));
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--north-ai-text);
  background: var(--north-ai-bg);
  border-left: 1px solid var(--north-ai-line);
  box-shadow: -12px 0 32px rgba(0, 0, 0, .16);
  transform: translateX(102%);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.north-ai-overlay.is-open .north-ai-panel { transform: translateX(0); }
.north-ai-header { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; color: #ffffff; background: var(--north-ai-ink); border-bottom: 1px solid #252525; }
.north-ai-title { min-width: 0; flex: 1; }
.north-ai-title h2 { margin: 0; color: #ffffff; font-size: 18px; line-height: 1.25; font-weight: 680; letter-spacing: -.02em; }
.north-ai-title p { margin: 4px 0 0; color: #c8cbd0; font-size: 12px; }
.north-ai-readonly { padding: 4px 7px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 2px; color: #ffffff; background: rgba(255, 255, 255, .08); font-size: 10px; letter-spacing: .06em; }
.north-ai-close { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 2px; color: #c8cbd0; background: transparent; cursor: pointer; font-size: 25px; line-height: 1; transition: color .18s ease, background .18s ease; }
.north-ai-close:hover { color: #ffffff; background: #252525; }

.north-ai-conversation { min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px 22px; scroll-behavior: smooth; }
.north-ai-welcome { padding: 18px; border: 1px solid var(--north-ai-line); border-radius: 2px; background: var(--north-ai-surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.north-ai-kicker { margin-bottom: 8px; color: var(--north-ai-primary); font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.north-ai-welcome h3 { margin: 0 0 9px; color: #343940; font-size: 20px; line-height: 1.35; font-weight: 650; letter-spacing: -.02em; }
.north-ai-welcome p { margin: 0; color: #70747a; font-size: 14px; line-height: 1.7; }
.north-ai-context-status { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.north-ai-status { padding: 5px 8px; border: 1px solid rgba(37, 142, 89, .16); border-radius: 2px; color: var(--north-ai-success); background: rgba(37, 142, 89, .08); font-size: 11px; }
.north-ai-status.warning { color: #9a6200; border-color: rgba(241, 165, 47, .22); background: rgba(241, 165, 47, .1); }
.north-ai-status.unavailable { color: var(--north-ai-danger); border-color: rgba(199, 81, 89, .2); background: rgba(199, 81, 89, .08); }
.north-ai-suggestions { display: grid; gap: 8px; margin: 14px 0 4px; }
.north-ai-chip { min-width: 0; padding: 11px 13px; border: 1px solid var(--north-ai-line); border-radius: 2px; color: #4d5259; background: var(--north-ai-surface); text-align: left; font-size: 13px; line-height: 1.4; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, .035); transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease; }
.north-ai-chip:hover { transform: translateX(2px); border-color: var(--north-ai-primary); color: var(--north-ai-primary); background: var(--north-ai-primary-soft); }

.north-ai-message { display: grid; gap: 7px; margin-top: 17px; }
.north-ai-message-user { justify-items: end; }
.north-ai-message-assistant { justify-items: start; }
.north-ai-bubble { max-width: 88%; padding: 11px 13px; border-radius: 2px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgba(0, 0, 0, .035); }
.north-ai-message-user .north-ai-bubble { color: #ffffff; background: var(--north-ai-primary); }
.north-ai-message-assistant .north-ai-bubble { color: var(--north-ai-text); background: var(--north-ai-surface); border: 1px solid var(--north-ai-line); }
.north-ai-message-loading .north-ai-bubble { color: var(--north-ai-muted); }
.north-ai-message-loading .north-ai-bubble::after { content: "···"; display: inline-block; width: 22px; overflow: hidden; vertical-align: bottom; animation: north-ai-typing 1.2s steps(4,end) infinite; }
@keyframes north-ai-typing { from { width: 0; } to { width: 22px; } }
.north-ai-meta { display: flex; flex-wrap: wrap; gap: 6px; max-width: 92%; }
.north-ai-meta span { padding: 4px 7px; border: 1px solid var(--north-ai-line); border-radius: 2px; color: var(--north-ai-muted); background: var(--north-ai-surface); font-size: 10px; line-height: 1.35; }
.north-ai-meta span.warning { color: #9a6200; border-color: rgba(241, 165, 47, .22); }
.north-ai-meta span.unavailable { color: var(--north-ai-danger); border-color: rgba(199, 81, 89, .2); }
.north-ai-limitations { max-width: 92%; color: #9a6200; font-size: 11px; line-height: 1.55; }

.north-ai-composer-wrap { padding: 12px 16px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--north-ai-line); background: rgba(255, 255, 255, .97); }
.north-ai-composer { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; padding: 6px; border: 1px solid var(--north-ai-line-strong); border-radius: 2px; background: var(--north-ai-surface); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .025); }
.north-ai-input { width: 100%; min-width: 0; min-height: 42px; max-height: 112px; resize: none; border: 0; padding: 10px 9px; color: var(--north-ai-text); background: transparent; font: inherit; font-size: 14px; line-height: 1.5; outline: 0; }
.north-ai-input::placeholder { color: #9a9ea3; }
.north-ai-send { width: 44px; height: 44px; align-self: end; border: 0; border-radius: 2px; color: #ffffff; background: var(--north-ai-primary); cursor: pointer; font-size: 19px; transition: transform .18s ease, background .18s ease, opacity .18s ease; }
.north-ai-send:hover { transform: translateY(-1px); background: var(--north-ai-primary-hover); }
.north-ai-send:active { transform: scale(.97); }
.north-ai-send:disabled { cursor: not-allowed; opacity: .38; transform: none; }
.north-ai-disclaimer { margin: 8px 2px 0; color: var(--north-ai-muted); font-size: 10px; line-height: 1.45; text-align: center; }

@media (max-width: 640px) {
  .north-ai-launcher { right: 12px; bottom: 14px; min-height: 52px; padding: 5px; border-radius: 2px; }
  .north-ai-launcher-mark { width: 42px; height: 42px; }
  .north-ai-launcher-copy, .north-ai-launcher-dot { display: none; }
  .north-ai-panel { width: 100vw; border-left: 0; }
  .north-ai-header { padding: max(13px, env(safe-area-inset-top)) 14px 12px; }
  .north-ai-brand-mark { width: 44px; height: 44px; }
  .north-ai-title h2 { font-size: 16px; }
  .north-ai-readonly { display: none; }
  .north-ai-conversation { padding: 15px 14px 20px; }
  .north-ai-welcome { padding: 16px; }
  .north-ai-welcome h3 { font-size: 18px; }
  .north-ai-bubble { max-width: 92%; }
  .north-ai-composer-wrap { padding-left: 12px; padding-right: 12px; }
}

/* APH助手形态：居中大弹窗、品牌欢迎区、底部胶囊输入 */
.north-ai-overlay {
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .34);
}
.north-ai-panel {
  position: relative;
  width: min(860px, calc(100vw - 48px));
  height: min(880px, calc(100dvh - 48px));
  border: 0;
  border-radius: 24px;
  background: #f3f6fa;
  box-shadow: 0 20px 56px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateY(18px) scale(.985);
  overflow: hidden;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
}
.north-ai-overlay.is-open .north-ai-panel { opacity: 1; transform: translateY(0) scale(1); }
.north-ai-header {
  position: relative;
  min-height: 66px;
  padding: 0;
  color: var(--north-ai-text);
  background: transparent;
  border: 0;
}
.north-ai-header-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 16px 22px;
}
.north-ai-header-copy h2 {
  margin: 0;
  color: #18202a;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 680;
  letter-spacing: -.02em;
}
.north-ai-header-copy p {
  margin: 0;
  color: #717a85;
  font-size: 11px;
  line-height: 1.4;
}
.north-ai-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.north-ai-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  color: #252525;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 300;
  margin-left: auto;
}
.north-ai-close:hover { color: #050505; background: #e8ebef; }
.north-ai-conversation {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 32px 18px;
}
.north-ai-welcome {
  width: min(740px, 100%);
  margin: auto auto 0;
  padding: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.north-ai-aph-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  margin: 0 auto 24px;
  overflow: hidden;
  color: #ffffff;
  border-radius: 22px;
  background: var(--north-ai-primary);
  box-shadow: 0 8px 20px rgba(207, 0, 27, .16);
}
.north-ai-aph-mark span {
  font: 800 72px/1 Arial, sans-serif;
  transform: scaleX(.86);
}
.north-ai-aph-mark::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 7px;
  background: rgba(255, 255, 255, .9);
  transform: skewX(-24deg);
}
.north-ai-welcome h3 {
  margin: 0;
  color: #111820;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: 0;
}
.north-ai-welcome p {
  margin: 34px auto 0;
  padding: 20px 26px;
  color: #222b35;
  border-radius: 22px;
  background: #e7ecf2;
  text-align: left;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 520;
}
.north-ai-context-status { justify-content: center; margin-top: 14px; }
.north-ai-status { border-radius: 999px; }
.north-ai-suggestions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(740px, 100%);
  margin: 18px auto 6px;
}
.north-ai-chip {
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  box-shadow: none;
}
.north-ai-messages { width: min(740px, 100%); margin: 0 auto; }
.north-ai-bubble { border-radius: 16px; box-shadow: none; }
.north-ai-message-user .north-ai-bubble { border-bottom-right-radius: 5px; }
.north-ai-message-assistant .north-ai-bubble { border-bottom-left-radius: 5px; }
.north-ai-meta span { border-radius: 8px; }
.north-ai-composer-wrap {
  padding: 18px 32px 24px;
  border: 0;
  background: transparent;
}
.north-ai-composer {
  grid-template-columns: minmax(0, 1fr) 52px;
  width: min(740px, 100%);
  margin: 0 auto;
  padding: 6px 7px 6px 18px;
  border: 1px solid #dfe3e8;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}
.north-ai-input { min-height: 48px; padding: 12px 4px; font-size: 16px; }
.north-ai-send {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 22px;
}
.north-ai-disclaimer { margin-top: 12px; color: #a0a6ad; font-size: 11px; }
#north-ai-assistant.has-messages .north-ai-welcome,
#north-ai-assistant.has-messages .north-ai-suggestions { display: none; }
#north-ai-assistant.has-messages .north-ai-conversation { display: block; padding-top: 0; }

.north-ai-run-state {
  width: min(100%, 390px);
  padding: 18px;
  color: #26313d;
  border: 1px solid #dfe4ea;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 32, 42, .08);
}
.north-ai-run-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.north-ai-run-heading strong {
  display: block;
  color: #18202a;
  font-size: 15px;
  line-height: 1.4;
}
.north-ai-run-heading p { margin: 4px 0 0; color: #68727e; font-size: 12px; line-height: 1.5; }
.north-ai-run-spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 2px solid #efd4d8;
  border-top-color: var(--north-ai-primary);
  border-radius: 50%;
  animation: north-ai-spin .8s linear infinite;
}
@keyframes north-ai-spin { to { transform: rotate(360deg); } }
.north-ai-run-steps {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #edf0f3;
  list-style: none;
  counter-reset: run-step;
}
.north-ai-run-steps li {
  position: relative;
  min-height: 20px;
  padding-left: 28px;
  color: #8a929c;
  font-size: 12px;
  line-height: 1.55;
}
.north-ai-run-steps li::before {
  counter-increment: run-step;
  content: counter(run-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #7b858f;
  border: 1px solid #d7dde3;
  border-radius: 50%;
  background: #f7f8fa;
  font-size: 10px;
  font-weight: 700;
}
.north-ai-run-steps li.is-active { color: #2d3742; font-weight: 650; }
.north-ai-run-steps li.is-active::before { color: #ffffff; border-color: var(--north-ai-primary); background: var(--north-ai-primary); }
.north-ai-run-steps li.is-complete { color: #58636f; }
.north-ai-run-steps li.is-complete::before { content: "✓"; color: var(--north-ai-success); border-color: rgba(37, 142, 89, .3); background: rgba(37, 142, 89, .08); }
.north-ai-run-time { margin: 15px 0 0; color: #737d88; font-size: 11px; line-height: 1.55; }
.north-ai-message-error .north-ai-bubble {
  color: #3e2b2d;
  border-color: #efcbd0;
  background: #fffafb;
}
.north-ai-message-error .north-ai-meta { margin-top: 1px; }

@media (max-width: 640px) {
  .north-ai-overlay { padding: 0; }
  .north-ai-panel { width: 100vw; height: 100dvh; border-radius: 0; }
  .north-ai-header { min-height: max(58px, env(safe-area-inset-top)); }
  .north-ai-close { top: max(9px, env(safe-area-inset-top)); right: 10px; }
  .north-ai-header-copy { padding: max(13px, env(safe-area-inset-top)) 58px 10px 14px; }
  .north-ai-conversation { padding: 0 14px 14px; }
  .north-ai-welcome { margin-top: auto; }
  .north-ai-aph-mark { width: 92px; height: 92px; margin-bottom: 16px; border-radius: 18px; }
  .north-ai-aph-mark span { font-size: 54px; }
  .north-ai-aph-mark::after { left: 14px; right: 14px; bottom: 13px; height: 5px; }
  .north-ai-welcome h3 { font-size: 22px; }
  .north-ai-welcome p { margin-top: 18px; padding: 15px 17px; border-radius: 16px; font-size: 14px; line-height: 1.65; }
  .north-ai-context-status { margin-top: 10px; }
  .north-ai-suggestions { grid-template-columns: 1fr; gap: 6px; margin-top: 12px; }
  .north-ai-chip { padding: 9px 11px; font-size: 12px; }
  .north-ai-composer-wrap { padding: 12px 12px max(14px, env(safe-area-inset-bottom)); }
  .north-ai-composer { grid-template-columns: minmax(0, 1fr) 46px; padding-left: 14px; border-radius: 25px; }
  .north-ai-input { min-height: 44px; padding: 10px 2px; font-size: 15px; }
  .north-ai-send { width: 46px; height: 46px; }
  .north-ai-disclaimer { margin-top: 8px; font-size: 10px; }
  .north-ai-run-state { padding: 15px; border-radius: 14px; }
}

/* APH实际定位：桌面端位于页面最右侧，保留四周呼吸空间 */
.north-ai-overlay {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  background: transparent;
}
.north-ai-panel {
  width: min(460px, calc(100vw - 48px));
  height: calc(100dvh - 48px);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  transform: translateX(28px) scale(.99);
}
.north-ai-overlay.is-open .north-ai-panel { transform: translateX(0) scale(1); }
.north-ai-conversation { padding-left: 28px; padding-right: 28px; }
.north-ai-composer-wrap { padding-left: 28px; padding-right: 28px; }
.north-ai-welcome p { font-size: 16px; }
.north-ai-suggestions { grid-template-columns: 1fr; }

@media (max-width: 640px) {
  .north-ai-overlay { padding: 0; }
  .north-ai-panel {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    transform: translateX(24px);
  }
  .north-ai-overlay.is-open .north-ai-panel { transform: translateX(0); }
  .north-ai-conversation { padding-left: 14px; padding-right: 14px; }
  .north-ai-composer-wrap { padding-left: 12px; padding-right: 12px; }
  .north-ai-launcher {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: 44px;
    min-height: 44px;
    padding: 4px;
  }
  .north-ai-launcher:hover,
  .north-ai-launcher:focus-visible { width: 44px; gap: 0; }
  .north-ai-launcher-mark { width: 34px; height: 34px; }
}

/* source: /aph2-r50-ai-usability-20260812-v1.css?v=r121-r119-r120-merged1 */
/* R50 AI 使用层：保留 APH 的平静工作面，只强化入口、状态和下一步。 */

body[data-r50-ai-usability] #north-ai-assistant .north-ai-launcher:not([hidden]) {
  display: flex;
}

.aph-r50-ai-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.aph-r50-ai-action {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #cfd5dc;
  border-radius: 4px;
  background: #ffffff;
  color: #3f4a57;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.aph-r50-ai-action:hover {
  border-color: #b8101a;
  color: #b8101a;
  background: #fff6f7;
}

.aph-r50-ai-action.is-primary {
  border-color: #b8101a;
  background: #b8101a;
  color: #ffffff;
}

.aph-r50-ai-action.is-primary:hover {
  border-color: #970d15;
  background: #970d15;
  color: #ffffff;
}

.aph-r50-ai-action:focus-visible {
  outline: 3px solid rgba(184, 16, 26, .28);
  outline-offset: 2px;
}

.aph-r50-ai-gate-helper {
  margin: 4px 0 0;
  color: #596574;
  font-size: 12px;
  line-height: 1.55;
}

.aph-r50-ai-recovery {
  display: grid;
  gap: 7px;
  width: min(100%, 420px);
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #e0e4e9;
  border-radius: 12px;
  background: #ffffff;
}

.aph-r50-ai-recovery p {
  margin: 0 0 2px;
  color: #596574;
  font-size: 12px;
  line-height: 1.55;
}

.aph-r50-ai-recovery .aph-r50-ai-action {
  width: 100%;
  min-height: 44px;
  text-align: left;
}

.aph-r50-ai-recovery.is-retry {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aph-r50-ai-recovery.is-retry .aph-r50-ai-action {
  min-height: 40px;
  text-align: center;
}

@media (max-width: 640px) {
  body[data-r50-ai-usability] #north-ai-assistant .north-ai-launcher {
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .aph-r50-ai-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .aph-r50-ai-action {
    min-height: 44px;
  }

  .aph-r50-ai-recovery.is-retry { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-r50-ai-usability] #north-ai-assistant *,
  body[data-r50-ai-usability] #north-ai-assistant *::before,
  body[data-r50-ai-usability] #north-ai-assistant *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* source: /aph2-r122-mobile-usability-20260825-v1.css?v=r122-mobile2 */
/* R122：手机端可操作性收口。仅调整触控尺寸和小屏信息取舍，不改动桌面端。 */
@media (max-width: 520px) {
  /* 五书评估：表格内的录入与附件也必须达到 44px 触控基线。 */
  #five-books-evaluation-r114 :is(
    .fb-control-bar select,
    .fb-control-bar input,
    .fb-file-actions input,
    .fb-form-sheet input,
    .fb-form-sheet select,
    .fb-form-sheet textarea,
    .fb-evidence-list button,
    .fb-evidence-button
  ) {
    min-height: 44px !important;
  }

  #five-books-evaluation-r114 .fb-source-state {
    align-items: flex-start;
    gap: 4px;
    flex-direction: column;
  }

  /* 欠费批次：保留批次、项目和操作，次要数据进入复核详情。 */
  .arrears-native :is(button, .template-links a, .row-actions a) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .arrears-upload :is(input, select),
  .arrears-filters :is(input, select),
  .arrears-drawer :is(select, textarea) {
    min-height: 44px !important;
  }

  .arrears-upload > button {
    min-height: 48px;
  }

  .arrears-native .table-wrap {
    overflow: visible;
  }

  .arrears-native .arrears-table {
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
  }

  .arrears-table :is(th, td):nth-child(3),
  .arrears-table :is(th, td):nth-child(4),
  .arrears-table :is(th, td):nth-child(5) {
    display: none;
  }

  .arrears-table :is(th, td):nth-child(1) {
    width: 46px;
    padding-inline: 8px;
    text-align: center;
  }

  .arrears-table :is(th, td):nth-child(2) {
    width: auto;
    padding-inline: 8px;
  }

  .arrears-table :is(th, td):nth-child(6) {
    width: 88px;
    padding-inline: 6px;
  }

  .arrears-table .row-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .arrears-table .row-actions :is(button, a) {
    width: 100%;
    padding-inline: 6px;
  }

  /* AI 助手：隐藏标题文字时不留过高空白，关闭区保持 44px。 */
  #north-ai-assistant .north-ai-header {
    min-height: max(52px, env(safe-area-inset-top)) !important;
  }

  #north-ai-assistant .north-ai-close {
    top: max(4px, env(safe-area-inset-top)) !important;
    right: 8px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #five-books-evaluation-r114 *,
  .arrears-native *,
  #north-ai-assistant * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* source: /aph2-r127-audit-remediation-20260826-v1.css?v=r127-audit3 */
/* R127：驾驶舱审计修复。仅修正语义、决策顺序、审核可信度与移动触控。 */
body.aph2-theme .r127-review-limit {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(245, 158, 11, .35);
  border-radius: 8px;
  background: rgba(245, 158, 11, .1);
  color: #fde68a;
  font-size: 12px;
  line-height: 1.6;
}

body.aph2-theme [data-special-operating-unit] {
  opacity: .72;
}

body.aph2-theme [data-special-operating-unit]::after {
  content: "特殊经营单元";
  margin-left: auto;
  color: #94a3b8;
  font-size: 10px;
}

/* 系统管理“正式回款额”第四列是累计完成率，不是收缴率。 */
@media (max-width: 760px) {
  body.aph2-theme .r65-admin-section[data-section="payment"] .r65-table th:nth-child(4)::before {
    content: "累计完成率" !important;
  }
}

@media (max-width: 520px) {
  body.aph2-theme .aph-home-region-grid svg[aria-label="辽宁、河北、天津、北京区域地图"] {
    max-height: 220px !important;
  }

  body.aph2-theme .aph-home-ranking-grid .space-y-2 > a:nth-child(n + 6) {
    display: none !important;
  }

  body.aph2-theme .r65-admin button,
  body.aph2-theme .aph-review-workbench-switch button {
    min-height: 44px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.aph2-theme[data-r127-audit-remediation] * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* source: /aph2-r128-screenshot-distillation-20260826-v1.css?v=r128-distill1 */
/* R128：按业务截图移除重复标题与返回入口，让核心数据直接进入首屏。 */
html[data-aph-r128-release] [data-aph-r128-hidden] {
  display: none !important;
}

/* 项目管理：删除黑色来源横幅后，概览指标成为页面首要信息。 */
body.aph2-theme .aph-project-profile-page[data-aph-r128-compacted="projects"] {
  gap: 14px !important;
}

body.aph2-theme .aph-project-profile-page[data-aph-r128-compacted="projects"] > .aph-project-kpis {
  margin-block-start: 0 !important;
}

/* 回款执行：返回入口已由固定导航承担，筛选与导出靠右形成单一操作组。 */
[data-aph-r128-payment-toolbar="true"] {
  justify-content: flex-end !important;
}

[data-aph-r128-payment-toolbar="true"] > :not([data-aph-r128-hidden]) {
  margin-inline-start: 0;
}

/* 收缴明细：视图切换已经说明当前上下文，表格不再重复标题。 */
.card-soft[data-aph-r128-compacted="collection-details"] {
  padding-block-start: 0 !important;
}

.card-soft[data-aph-r128-compacted="collection-details"] > .aph-service-center-scroll,
.card-soft[data-aph-r128-compacted="collection-details"] > [role="region"] {
  margin-block-start: 0 !important;
}

/* 欠费页：移除教学式三步横幅后，工作区与上方导航保持紧凑节奏。 */
[data-aph-r128-compacted="arrears"] > :not([data-aph-r128-hidden]):first-of-type {
  margin-block-start: 0 !important;
}

@media (max-width: 640px) {
  body.aph2-theme .aph-project-profile-page[data-aph-r128-compacted="projects"] {
    gap: 10px !important;
  }

  [data-aph-r128-payment-toolbar="true"] {
    min-height: 44px;
  }
}

/* R130 performance stability */
html[data-r130-capability-route] #aph-r90-operating-capabilities-host { min-height: 64px; }
@media (min-width: 1024px) {
  body.aph2-theme .aph-home-reflow:has(> .aph-r130-home-loading-slot) {
    grid-template-rows: 218px 248px 142px auto auto;
  }
  body.aph2-theme .aph-home-reflow > .aph-r130-home-loading-slot {
    grid-column: 9 / span 4;
    grid-row: 1 / span 3;
    min-height: 628px;
    margin: 0;
  }
}
@media (max-width: 1023px) {
  body.aph2-theme .aph-home-reflow > .aph-r130-home-loading-slot {
    grid-column: 1 / -1;
    min-height: max(720px, calc(100svh - 120px));
    margin: 0;
  }
}
@media (max-width: 640px) { html[data-r130-capability-route] #aph-r90-operating-capabilities-host { min-height: 64px; } }
