body {
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background: #f5f7fb;
  margin: 0;
  padding: 0;
  color: #222;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 24px auto;
}

.container.narrow {
  width: 520px;
  max-width: calc(100% - 40px);
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.sub-card {
  background: #f9fbff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  margin-top: 16px;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
}

p {
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: #2563eb;
}

a:hover {
  text-decoration: underline;
}

code {
  background: #f3f4f6;
  border-radius: 6px;
  padding: 2px 6px;
}

.nav {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.nav a {
  background: #2563eb;
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 160px;
  background: #eef4ff;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.flash {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

form {
  margin: 0;
}

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

.upload-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.upload-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.upload-control label {
  display: block;
  margin: 0;
  line-height: 1.2;
  font-size: 14px;
  font-weight: 600;
}

.upload-control-file {
  flex: 1 1 420px;
  min-width: 320px;
}

.upload-control-batch {
  flex: 0 0 180px;
  width: 180px;
}

.upload-control input {
  margin: 0;
  height: 42px;
}

.upload-control-file input[type="file"] {
  padding: 8px 12px;
}

.upload-toolbar-hint {
  margin: 8px 0 0;
}
.text-input,
.textarea-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.textarea-input {
  min-height: 140px;
  resize: vertical;
}

button,
.btn {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  min-width: 96px;
  box-sizing: border-box;
}

button.secondary,
.btn.secondary {
  background: #6b7280;
}

button.danger,
.btn.danger,
.danger {
  background: #dc2626;
  color: #fff;
}

button:hover,
.btn:hover {
  opacity: 0.92;
  text-decoration: none;
}

.image-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.preview-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
}

.small-image {
  width: 120px;
  border-radius: 8px;
  border: 1px solid #ddd;
  height: auto;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.compact-tag-list {
  margin-top: 0;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 8px 12px;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  background: #eef4ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.historical-tag-box {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}

.historical-tag-box p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.tag-badge-valid {
  margin: 2px 4px 2px 0;
}

.tag-badge-removed {
  margin: 2px 4px 2px 0;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.historical-inline-note {
  margin-top: 4px;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
}

.checkbox-item input {
  margin: 0;
  flex-shrink: 0;
}

.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

table th,
table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.table-wrap table th {
  white-space: nowrap;
}

.table-wrap table td {
  white-space: nowrap;
}

.table-wrap table th:nth-child(4),
.table-wrap table td:nth-child(4),
.table-wrap table th:nth-child(5),
.table-wrap table td:nth-child(5),
.table-wrap table th:nth-child(6),
.table-wrap table td:nth-child(6),
.table-wrap table th:nth-child(7),
.table-wrap table td:nth-child(7),
.table-wrap table th:nth-child(8),
.table-wrap table td:nth-child(8),
.table-wrap table th:nth-child(9),
.table-wrap table td:nth-child(9) {
  min-width: 90px;
}

.table-wrap table th:last-child,
.table-wrap table td:last-child {
  min-width: 120px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.actions.center {
  justify-content: center;
}

.wrap-actions {
  flex-direction: row;
}

.muted {
  color: #6b7280;
  font-size: 14px;
}

.right-panel {
  flex: 1;
  min-width: 280px;
}

.disabled-tag {
  opacity: 0.6;
}

.locked-box {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffa39e;
  border-radius: 8px;
}

.diagnosis-box {
  margin-top: 12px;
  padding: 12px 14px;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
}

.diagnosis-line {
  margin-top: 6px;
}

.locked-text {
  color: #999;
  font-size: 14px;
}

.group-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.review-action-panel {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-row > button,
.action-row > .btn,
.action-row > form > button {
  min-width: 160px;
}

.submit-row {
  margin-top: 4px;
}

.submit-group-btn {
  min-width: 280px;
}

.disabled-btn {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

/* ===== 阅片页专用布局 ===== */

.review-label-card {
  padding: 18px;
}

.review-reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.review-image-column {
  min-width: 0;
}

.review-side-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-info-box,
.review-message-box,
.review-tags-box,
.review-submit-box {
  margin-top: 0;
}

.review-meta-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-meta-list p {
  margin: 0;
}

.image-viewport {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  max-height: 820px;
  overflow: hidden;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.image-viewport.dragging {
  cursor: grabbing;
}

.image-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(0, 0) scale(1);
  transform-origin: center center;
  will-change: transform;
}

.review-zoom-image {
  display: block;
  max-width: none;
  max-height: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

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


.peer-label-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #f8fafc;
  color: #1f2937;
}

.peer-label-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}



.peer-label-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.peer-label-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(160px, 1.2fr) minmax(130px, 0.9fr);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
}

.peer-label-user {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.peer-label-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.peer-tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 13px;
}

.peer-label-time {
  text-align: right;
  font-size: 13px;
}

.peer-label-empty {
  color: #64748b;
  font-size: 14px;
}

.review-my-tags-cell {
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.review-my-tags-cell.my-tags-consistent {
  background: #e0f2fe;
}

.review-my-tags-cell.my-tags-inconsistent {
  background: #fee2e2;
}

.label-consistency-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.label-consistency-consistent {
  color: #075985;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
}

.label-consistency-inconsistent {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.label-consistency-unlabeled {
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}


#flashSlot .flash:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .review-reader-layout {
    grid-template-columns: 1fr;
  }

  .image-viewport {
    height: 62vh;
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .field-grid {
    grid-template-columns: 1fr;
  }

  .upload-top-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .peer-label-panel-header,
  .peer-label-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .peer-label-time {
    text-align: left;
  }

  .upload-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .upload-control-file,
  .upload-control-batch {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

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

  .small-image {
    width: 90px;
  }

  .container {
    width: calc(100% - 24px);
  }

  button,
  .btn {
    min-width: auto;
  }

  .action-row {
    flex-direction: column;
  }

  .action-row > button,
  .action-row > .btn,
  .action-row > form > button,
  .submit-group-btn {
    width: 100%;
    min-width: 0;
  }

  .image-viewport {
    height: 52vh;
    min-height: 320px;
  }
}

/* ===== 组织树形控件 ===== */
.org-tree-list {
  list-style: none;
  margin: 14px 0 0;
  padding-left: 22px;
  position: relative;
}

.org-tree-list:first-child {
  padding-left: 0;
}

.org-tree-node {
  position: relative;
  margin: 10px 0;
}

.org-tree-node::before {
  content: "";
  position: absolute;
  left: -14px;
  top: -10px;
  bottom: -10px;
  width: 1px;
  background: #dbe2ea;
}

.org-tree-list:first-child > .org-tree-node::before {
  display: none;
}

.org-tree-details {
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  background: #fbfdff;
  overflow: hidden;
}

.org-tree-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
}

.org-tree-details > summary::-webkit-details-marker {
  display: none;
}

.org-tree-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.org-tree-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.org-tree-title {
  font-weight: 700;
  font-size: 15px;
}

.org-tree-caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  margin-right: 2px;
}

.org-tree-details[open] > summary .org-tree-caret {
  transform: rotate(45deg);
}

.org-tree-metrics {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.org-tree-metric {
  display: inline-flex;
  align-items: center;
  background: #eef4ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
}

.org-tree-user-list {
  display: grid;
  gap: 10px;
  padding: 0 16px 14px;
}

.org-tree-user-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

.org-tree-user-main {
  min-width: 0;
  flex: 1;
}

.org-tree-user-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.org-tree-user-meta {
  color: #64748b;
  font-size: 13px;
}

.org-tree-user-stats {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.org-tree-empty {
  padding: 0 16px 14px;
}

@media (max-width: 768px) {
  .org-tree-summary,
  .org-tree-user-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .org-tree-user-stats {
    gap: 8px;
  }
}

/* ===== 分组阅片详情表格：仅固定表格并允许长文件名换行 ===== */
.review-image-table-wrap {
  overflow-x: auto;
}

/* 固定表格布局，避免长文件名把表格撑开 */
.review-image-table {
  table-layout: fixed;
  width: 100%;
  min-width: 900px;
}

/* 只覆盖该表格的文件名列，允许长文件名换行 */
.review-image-table .filename-cell {
  white-space: normal !important;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-break: anywhere;
  line-height: 1.5;
}

/* 序号列变窄，让预览往前靠 */
.review-image-table th:nth-child(1),
.review-image-table td:nth-child(1) {
  width: 30px;
}
/* 给图片名列一个稳定宽度，其余列保持原始内容展示 */
.review-image-table th:nth-child(2),
.review-image-table td:nth-child(2) {
  width: 120px;
}

.review-image-table th:nth-child(3),
.review-image-table td:nth-child(3) {
  width: 380px;
}

.review-image-table th:nth-child(4),
.review-image-table td:nth-child(4) {
  width: 110px;
}

.review-image-table th:nth-child(5),
.review-image-table td:nth-child(5) {
  width: 40px;
}

.review-image-table th:nth-child(6),
.review-image-table td:nth-child(6) {
  width: 120px;
}
.other-label-box {
    margin-top: 14px;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
}

.other-label-input-wrap {
    margin-top: 10px;
}

.other-label-input-wrap .text-input {
    width: 100%;
    max-width: 420px;
}

.arbitration-other-options {
    margin-top: 10px;
}

.other-label-option-btn {
    margin: 4px 6px 4px 0;
}

/* ===== 完成阅片后的提交提示与弹窗 ===== */
.review-submit-box-prominent {
  background: #fff7ed;
  border: 2px solid #fb923c;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.16);
}

.review-submit-box-prominent h3 {
  margin-bottom: 8px;
  color: #9a3412;
}

.review-submit-box-prominent p {
  margin: 0 0 14px;
  color: #7c2d12;
}

.group-submit-prominent {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
}

.submit-group-btn-prominent {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.56);
}

.modal-card {
  width: min(460px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32);
}

.modal-card h3 {
  margin: 0 0 10px;
  color: #111827;
}

.modal-card p {
  margin: 0 0 18px;
  color: #374151;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-actions form {
  flex: 1 1 220px;
}

.modal-actions button {
  min-height: 44px;
}

.modal-actions > button {
  flex: 1 1 160px;
}

@media (max-width: 768px) {
  .modal-actions {
    flex-direction: column;
  }

  .modal-actions form,
  .modal-actions > button {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* ===== 复核分组详情页内嵌阅片式复核 ===== */
.recheck-label-section {
  margin-top: 16px;
}

.recheck-reading-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}

.recheck-reading-card {
  margin-top: 0;
  border: 1px solid #dbe2ea;
}

.recheck-answered-card {
  border-color: #bfdbfe;
  background: #fbfdff;
}

.recheck-reading-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.recheck-status-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.recheck-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.recheck-image-viewport {
  height: 72vh;
  min-height: 520px;
  max-height: 820px;
}

.recheck-decision-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.recheck-correction-panel {
  margin-top: 14px;
}

.recheck-correction-panel .text-input {
  width: 100%;
  max-width: 420px;
  margin-top: 8px;
}

.recheck-section-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.recheck-uncertain-choice-group {
  margin-top: 12px;
}

.recheck-inline-warning {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff1f0;
  color: #b42318;
  border: 2px solid #ff7875;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(180, 35, 24, 0.12);
}

.recheck-manual-save-btn {
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .recheck-review-layout {
    grid-template-columns: 1fr;
  }

  .recheck-image-viewport {
    height: 62vh;
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .recheck-reading-header {
    flex-direction: column;
  }

  .recheck-status-box {
    align-items: flex-start;
    text-align: left;
  }

  .recheck-image-viewport {
    height: 52vh;
    min-height: 320px;
  }
}

.recheck-reading-card .filename-cell {
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.5;
  margin-top: 4px;
}

/* ===== 复核标签重点展示 ===== */
.recheck-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

.recheck-label-title {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.recheck-label-highlight {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  border: 2px solid transparent;
  word-break: break-word;
  white-space: normal;
}

.recheck-label-original {
  background: #fff7ed;
  border-color: #fb923c;
  color: #9a3412;
}

.recheck-label-correction {
  background: #ecfeff;
  border-color: #06b6d4;
  color: #155e75;
}

.recheck-label-final {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #166534;
}

.recheck-all-corrections {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}

.recheck-correction-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.recheck-correction-expert {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.recheck-expert-correction-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px;
}

.recheck-expert-correction-choice span {
  font-size: 15px;
  font-weight: 700;
}

.recheck-final-label-title {
  display: block;
  margin-top: 10px;
}

/* ===== 页面底部备案信息 ===== */
.site-footer {
  width: 92%;
  max-width: 1180px;
  margin: 12px auto 24px;
  padding: 12px 0;
  color: #6b7280;
  font-size: 13px;
  text-align: center;
}

.beian-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.beian-info a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b7280;
}

.beian-icon {
  width: 18px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .site-footer {
    width: calc(100% - 24px);
    margin-bottom: 18px;
  }

  .beian-info {
    gap: 8px;
  }
}

/* ===== 用户与组织：用户列表“用户名”列居中 ===== */
.admin-user-list-table th.username-column,
.admin-user-list-table td.username-column {
  text-align: center;
}

.admin-user-list-table .username-column .username-text {
  text-align: center;
}

.admin-user-list-table .username-column .user-note-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.admin-user-list-table .username-column .user-note-input {
  text-align: center;
}

.admin-user-list-table .username-column .user-note-status,
.admin-user-list-table .username-column .user-note-readonly {
  display: block;
  text-align: center;
}


/* ===== 阅片/复核详情分页与预加载提示 ===== */
.recheck-pagination {
  margin: 14px 0 20px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.review-pagination {
  margin: 14px 0;
  box-shadow: none;
}

.recheck-pagination-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: #475569;
}

.recheck-pagination-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.recheck-page-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 0 6px;
  scrollbar-gutter: stable;
}

.recheck-page-navigation .btn {
  flex: 0 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

.recheck-page-navigation .pagination-step {
  min-width: 68px;
}

.recheck-page-navigation .pagination-number {
  min-width: 42px;
}

.pagination-ellipsis {
  flex: 0 0 auto;
  padding: 0 2px;
}

.recheck-page-jump-form {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.recheck-page-jump-form button {
  min-width: 64px;
  padding-left: 10px;
  padding-right: 10px;
}

.recheck-page-input {
  width: 70px;
  flex: 0 0 70px;
}

.recheck-per-page-select {
  width: 75px;
  flex: 0 0 75px;
}

.current-page {
  cursor: default;
}

.disabled-link {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 768px) {
  .recheck-pagination {
    padding: 14px;
  }

  .recheck-pagination-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .recheck-page-jump-form {
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}
