:root {
  --bg: #f5f6f3;
  --ink: #253d49;
  --muted: #829096;
  --line: #e2e8e7;
  --blue: #365e72;
  --soft: #edf3f4;
  --orange: #cd8057;
  --white: #fff;
  --shadow: 0 12px 40px #24414c0c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px/1.6 -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #92b7c9;
}
input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #96b6c3;
  outline-offset: 0;
}
textarea {
  resize: vertical;
  width: 100%;
}
.app {
  display: grid;
  grid-template-columns: 238px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #fdfdf9;
  border-right: 1px solid var(--line);
  padding: 36px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 750;
  font-size: 17px;
}
.brand small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 3px;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 45px;
  background: #dce7dc;
  color: #526d52;
  border-radius: 13px 13px 17px 17px;
  font-family: "Songti SC", serif;
  font-size: 22px;
}
.side-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #9aabae;
  margin: 48px 12px 16px;
}
.subject-link {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  padding: 12px 14px;
  text-align: left;
  color: #6b7c83;
  margin: 4px 0;
}
.subject-link .count {
  margin-left: auto;
  font-size: 12px;
}
.subject-link .symbol {
  font-family: Georgia, serif;
  font-size: 19px;
  width: 20px;
}
.subject-link.active {
  background: #e9f0f1;
  color: var(--blue);
  font-weight: 700;
}
.side-bottom {
  margin-top: auto;
  padding: 30px 10px 0;
  font-size: 12px;
  color: #819096;
}
.side-bottom strong {
  font-size: 12px;
  font-weight: 500;
}
.side-bottom p {
  font-size: 11px;
  line-height: 1.9;
  margin: 9px 0 16px;
}
.local-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #86a78d;
  border-radius: 50%;
  margin-right: 5px;
}
.side-btn {
  display: block;
  border: 0;
  background: transparent;
  color: #506e7c;
  padding: 7px 0;
  text-align: left;
}
main {
  max-width: 1370px;
  width: 100%;
  margin: auto;
  padding: 0 48px 32px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #91a0a5;
}
.breadcrumb span {
  padding: 0 10px;
  color: #b7c1c3;
}
.phase {
  color: #788f88;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 0 30px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--orange);
  font-weight: 650;
}
h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 0;
  letter-spacing: 1px;
}
h1 span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: #93a0a2;
  display: block;
  margin-top: 6px;
}
.primary,
.secondary {
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 550;
  white-space: nowrap;
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 9px #365e7215;
}
.primary:hover {
  background: #284d60;
}
.secondary {
  background: #f4f7f7;
  color: #506c7a;
  border: 1px solid #dfe7e8;
}
.secondary:hover {
  background: #e9f0f1;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 0;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.stats > div {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border: 0;
}
.stats span {
  display: block;
  font-size: 11px;
  color: #899a9f;
}
.stats strong {
  display: block;
  font:
    32px/1.5 Georgia,
    serif;
  margin-top: 4px;
}
.stats small {
  font:
    11px -apple-system,
    sans-serif;
  color: #9aa6a9;
  margin-left: 9px;
}
.stats .stat-note {
  align-self: center;
  color: #6f8584;
  font-size: 13px;
  line-height: 2;
}
.stat-note small {
  margin: 0;
  font-size: 10px;
}
.toolbar {
  display: flex;
  gap: 12px;
}
.search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1;
}
.search span {
  font-size: 25px;
  color: #8d9da3;
  padding-left: 14px;
  line-height: 1;
}
.search input {
  border: 0;
  width: 100%;
  background: transparent;
  font-size: 12px;
}
.toolbar select {
  font-size: 12px;
  background: #fafcfb;
}
.list-head {
  display: flex;
  justify-content: space-between;
  margin: 22px 0 16px;
  color: #95a2a6;
  font-size: 11px;
}
.records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  background: #fff;
  border: 1px dashed #d8e1e0;
  border-radius: 12px;
  padding: 64px 20px 55px;
}
.empty-icon {
  position: relative;
  margin: 0 auto 26px;
  width: 83px;
  height: 98px;
  border-radius: 6px;
  background: #ecf2f1;
  border: 1px solid #c5d6d6;
  transform: rotate(-7deg);
  display: grid;
  place-items: center;
  font-size: 32px;
  color: #92b1b3;
  box-shadow: 8px 5px 0 #f6f1e5;
}
.empty h2 {
  font-size: 18px;
  margin: 10px 0;
}
.empty p {
  color: #92a0a4;
  font-size: 12px;
  line-height: 1.9;
  margin: 9px 0 24px;
}
.footer-note {
  text-align: center;
  color: #a0adae;
  font-size: 10px;
  margin-top: 34px;
}
.record {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s;
}
.record:hover {
  transform: translateY(-3px);
}
.card-open {
  border: 0;
  display: block;
  background: transparent;
  width: 100%;
  text-align: left;
  color: var(--ink);
  padding: 0;
}
.card-image {
  height: 158px;
  display: grid;
  place-items: center;
  background: #eef1ed;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  padding: 12px;
}
.card-image img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-image .image-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #ffffffdf;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  color: #788c93;
}
.text-preview {
  white-space: pre-wrap;
  overflow: hidden;
  max-height: 115px;
  color: #6e838c;
  font-size: 13px;
  padding: 8px 15px;
  width: 100%;
}
.card-body {
  padding: 17px 18px 12px;
}
.subject-chip {
  font-size: 10px;
  color: #577f8b;
  background: #eaf2f4;
  padding: 3px 7px;
  border-radius: 4px;
}
.card-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #8c9a94;
  min-height: 22px;
}
.chips span {
  padding: 1px 5px;
  background: #f4f5ed;
  border-radius: 3px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f3f1;
  margin: 0 18px;
  padding: 10px 0;
  color: #a0aaac;
  font-size: 10px;
}
.card-actions button {
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #788e99;
  padding: 3px 5px;
}
.danger-text {
  color: #b86e63 !important;
}
.error {
  background: #fff0ec;
  color: #a25344;
  padding: 12px 18px;
  border-radius: 6px;
  margin: 12px 0;
  font-size: 13px;
}
.hidden {
  display: none !important;
}
dialog {
  border: 1px solid #dce4e3;
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 25px 100px #132b4340;
  max-height: 92dvh;
  overflow: auto;
  background: #fff;
}
dialog::backdrop {
  background: #203c4b66;
  backdrop-filter: blur(3px);
}
.editor {
  width: min(980px, 94vw);
}
.image-launch {
  width: 100%;
  min-height: 170px;
  border: 1px dashed #a9c0c2;
  border-radius: 10px;
  background: #f5f8f6;
  color: #315e70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.image-launch img { display: block; max-width: 100%; max-height: 130px; object-fit: contain; }
.image-editor-modal { width: min(1100px, 96vw); max-height: 94dvh; padding: 0; }
.image-editor-modal[open] { display: flex; flex-direction: column; }
.image-editor-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); gap: 18px; padding: 16px; overflow-y: auto; min-height: 0; }
.image-editor-visual { position: sticky; top: 0; align-self: start; background: #fff; }
.image-editor-visual .image-stage { height: min(57dvh, 520px); }
.image-editor-visual .image-stage canvas { max-height: 100%; }
.image-editor-controls { min-width: 0; }
.dialog-head {
  padding: 23px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.dialog-head h2 {
  font-size: 21px;
  margin: 4px 0 0;
}
.icon-btn {
  background: transparent;
  border: 0;
  font-size: 27px;
  color: #8fa1a5;
  padding: 0 6px;
}
.edit-body {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 28px;
  padding: 25px 28px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
}
.section-title span {
  color: #8ba1a7;
  font-size: 11px;
}
.image-stage {
  height: 275px;
  background: #f3f5f2;
  border: 1px dashed #cfdbd8;
  border-radius: 9px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.image-stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 275px;
}
.image-stage .placeholder {
  color: #8eaaa8;
  text-align: center;
  font-size: 12px;
}
.placeholder strong {
  display: block;
  font-size: 36px;
  line-height: 1.5;
  font-weight: 300;
}
.thumbs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px 0;
}
.thumb {
  position: relative;
  flex-shrink: 0;
  width: 49px;
  height: 51px;
  border: 2px solid transparent;
  border-radius: 5px;
  overflow: hidden;
  background: #eef2ee;
  padding: 2px;
}
.thumb.active {
  border-color: #638c9b;
}
.thumb.edited::after {
  content: "✓";
  position: absolute;
  right: 2px;
  bottom: 2px;
  color: #fff;
  background: #376a61;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 10px;
}
.thumbs.editing-locked {
  opacity: 0.45;
  pointer-events: none;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-buttons {
  display: flex;
  gap: 10px;
}
.upload-buttons button {
  flex: 1;
  font-size: 12px;
}
.hint {
  color: #94a3a6;
  font-size: 10px;
  line-height: 1.9;
  margin: 11px 0;
}
.image-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 15px 0;
}
.image-tools button,
.text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: #638693;
  font-size: 11px;
}
.image-tools button {
  min-height: 42px;
  padding: 7px 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #456775;
}
.image-edit-panel {
  border: 1px solid #dbe6e4;
  background: #f2f6f3;
  border-radius: 9px;
  padding: 13px;
  margin: 10px 0;
}
.image-edit-panel p,
.crop-tools p {
  color: #647b7d;
  line-height: 1.6;
}
.image-edit-panel label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.image-edit-panel input[type="range"] {
  width: 100%;
  min-height: 38px;
  touch-action: pan-x;
}
.image-edit-panel button,
.crop-tools button {
  min-height: 42px;
  margin-right: 8px;
  padding: 8px 12px;
}
.image-stage img {
  transition: transform 80ms linear;
}
.crop-tools,
.image-edit-panel {
  touch-action: manipulation;
}
.ocr-btn {
  width: 100%;
  border: 1px solid #cbdde1;
  background: #edf4f6;
  color: #537d8d;
  padding: 11px;
  border-radius: 7px;
  margin-top: 18px;
  font-size: 12px;
}
.fields {
  display: grid;
  gap: 14px;
}
.fields label {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.fields input,
.fields select,
.fields textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  font-weight: 400;
  font-size: 12px;
}
.fields input[readonly] {
  background: #f5f7f6;
  color: #92a1a5;
}
.optional {
  font-size: 10px;
  font-weight: 400;
  color: #9da9ac;
  margin-left: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dialog-foot {
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  gap: 15px;
}
.dialog-foot > span {
  font-size: 10px;
  color: #9aa6a7;
}
.dialog-foot > div {
  display: flex;
  gap: 10px;
}
.editor .error {
  margin: 0 28px 15px;
}
.crop-tools {
  background: #eef4f3;
  padding: 12px;
  border-radius: 8px;
  font-size: 11px;
}
.crop-tools p {
  margin: 0 0 8px;
}
.crop-tools button {
  font-size: 11px;
  padding: 6px 10px;
}
canvas {
  display: block;
  max-width: 100%;
  max-height: 275px;
  touch-action: none;
  cursor: crosshair;
}
.detail {
  width: min(780px, 94vw);
}
.detail-content {
  padding: 26px 28px;
}
.detail-pictures {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin-bottom: 25px;
  background: #f4f5f1;
  border-radius: 8px;
  padding: 15px;
}
.detail-pictures button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.detail-pictures img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.detail-block {
  margin: 22px 0;
}
.detail-block h3 {
  font-size: 11px;
  font-weight: 500;
  color: #8ca1a5;
  margin: 0 0 8px;
}
.detail-block p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  margin: 0;
}
.detail-meta {
  font-size: 11px;
  color: #8d9c9f;
  margin: 9px 0;
}
.restore {
  width: min(510px, 94vw);
}
#restoreInfo {
  padding: 24px 28px;
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.restore-count {
  font:
    32px Georgia,
    serif;
  color: #547e8c;
  margin: 14px 0;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #294b59;
  color: white;
  box-shadow: var(--shadow);
  border-radius: 9px;
  padding: 13px 20px;
  z-index: 20;
  font-size: 12px;
  max-width: 90vw;
}
.toast button {
  margin-left: 15px;
  color: #e8d6a1;
  background: none;
  border: 0;
  font-weight: 700;
}
.photo-view {
  width: min(1000px, 95vw);
}
.photo-view img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  margin: auto;
}
.photo-view .dialog-foot {
  font-size: 12px;
}
.filename {
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.loading {
  opacity: 0.6;
  pointer-events: none;
}
@media (min-width: 1600px) {
  main {
    padding: 0 64px 40px;
  }
  .records {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  main {
    padding: 0 28px 25px;
  }
  .app {
    grid-template-columns: 205px 1fr;
  }
  .sidebar {
    padding: 28px 15px;
  }
  .stats > div {
    padding: 0 18px;
  }
  .records {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats .stat-note {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats > div:nth-child(3) {
    border: 0;
  }
}
@media (max-width: 700px) {
  .app {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 18px 20px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 16px;
  }
  .brand small {
    font-size: 10px;
  }
  .brand-icon {
    width: 32px;
    height: 36px;
    font-size: 18px;
  }
  .side-label {
    display: none;
  }
  #subjects {
    display: flex;
    overflow: auto;
    gap: 5px;
    margin-top: 16px;
  }
  .subject-link {
    width: auto;
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 12px;
  }
  .subject-link .symbol {
    display: none;
  }
  .subject-link .count {
    font-size: 10px;
    margin-left: 2px;
  }
  .side-bottom {
    display: flex;
    gap: 10px;
    padding: 10px 0 0;
    align-items: center;
    flex-wrap: wrap;
  }
  .side-bottom p {
    display: none;
  }
  .side-bottom strong {
    font-size: 10px;
  }
  .side-bottom .local-dot {
    display: none;
  }
  .side-btn {
    font-size: 10px;
    padding: 0;
  }
  .side-bottom .side-btn:first-of-type {
    margin-left: auto;
  }
  main {
    padding: 0 20px 24px;
  }
  header {
    padding: 18px 0;
    font-size: 10px;
  }
  .phase {
    display: none;
  }
  .heading {
    padding: 23px 0;
    gap: 12px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  h1 {
    font-size: 23px;
  }
  h1 span {
    font-size: 10px;
    max-width: 160px;
  }
  .heading .primary {
    font-size: 11px;
    padding: 10px 12px;
  }
  .stats {
    padding: 18px 0;
    margin-bottom: 20px;
  }
  .stats > div {
    padding: 0 16px;
  }
  .stats strong {
    font-size: 27px;
  }
  .stats span {
    font-size: 10px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .search {
    flex-basis: 100%;
  }
  .toolbar select {
    flex: 1;
    font-size: 11px;
  }
  .list-head {
    font-size: 9px;
    gap: 8px;
  }
  .records {
    gap: 12px;
  }
  .card-image {
    height: 120px;
    padding: 8px;
  }
  .card-body {
    padding: 12px;
  }
  .card-body h3 {
    font-size: 12px;
  }
  .card-bottom {
    margin: 0 12px;
    font-size: 9px;
    align-items: start;
    gap: 2px;
  }
  .card-actions {
    display: flex;
  }
  .card-actions button {
    font-size: 10px;
    padding: 2px 3px;
  }
  .empty {
    padding: 45px 15px;
  }
  .edit-body {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 20px;
  }
  .dialog-head {
    padding: 18px 20px;
  }
  .dialog-head h2 {
    font-size: 18px;
  }
  .dialog-foot {
    padding: 16px 20px;
    flex-wrap: wrap;
  }
  .dialog-foot > span {
    width: 100%;
  }
  .dialog-foot > div {
    width: 100%;
    justify-content: flex-end;
  }
  .editor {
    width: 96vw;
    max-height: 95dvh;
  }
  .detail-content {
    padding: 20px;
  }
  .answers {
    grid-template-columns: 1fr;
  }
  .editor .error {
    margin: 0 20px 12px;
  }
  .image-stage {
    height: 240px;
  }
  .image-stage > img {
    max-height: 240px;
  }
  .image-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .image-editor-body { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .image-editor-visual { z-index: 2; padding-bottom: 6px; }
  .image-editor-visual .image-stage { height: 32dvh; }
  .toast {
    width: max-content;
    max-width: 92vw;
  }
  .brand small {
    white-space: nowrap;
  }
}
.recognition-review {
  width: min(900px, 94vw);
}
.review-content {
  padding: 20px 28px;
}
.review-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.review-field {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.review-field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.review-side { min-width: 0; }
.review-side-title {
  display: block;
  color: #627b82;
  font-size: 11px;
  font-weight: 600;
}
.recognized-value {
  min-height: 44px;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f6f8f6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.55;
}
.review-field textarea {
  box-sizing: border-box;
  width: 100%;
  font-size: 12px;
  margin-top: 6px;
}
.review-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.review-check input {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--blue);
}
.review-field details {
  font-size: 10px;
  color: #7c929a;
  margin-top: 8px;
}
.review-field details p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-warning {
  background: #fbf2df;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  margin: 14px 0;
}
.review-warning ul {
  padding-left: 20px;
}
#cancelRecognitionBtn {
  margin-top: 12px;
}
@media (max-width: 700px) {
  .review-compare {
    grid-template-columns: 1fr;
  }
  .review-content {
    padding: 16px 20px;
  }
}

.review-gallery { display:flex; gap:10px; overflow-x:auto; margin:12px 0; }
.review-gallery button { flex:0 0 120px; padding:4px; }
.review-gallery img { width:110px; height:85px; object-fit:contain; }
.review-warning li { margin:12px 0; }
.review-warning button, .unassigned-row select { margin:6px; padding:8px; }
.review-warning input { width:18px; height:18px; vertical-align:middle; }
.image-source { max-width:440px; padding:24px; border:0; border-radius:18px; }
.image-source .secondary { display:block; width:100%; margin:14px 0; }
.unassigned-row { border-top:1px solid #dce5e7; padding:8px 0; }
