.app-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.app-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-dropzone > .process-upload-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
}

.ops-button {
  gap: 7px;
}

.ops-button:disabled {
  border-color: #d6dce5;
  background: #e9edf2;
  color: #8a94a3;
  cursor: not-allowed;
}

.ops-button.secondary:hover,
.ops-button.secondary:focus,
.ops-button.secondary:focus-visible {
  border-color: #9db6da;
  background: #f5f8fc;
  color: #145fc7;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  padding: 0;
  border: 1px solid #d7dde6;
  border-radius: 6px;
  background: #fff;
  color: #344054;
  text-decoration: none;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: #92b9ef;
  background: #f2f7ff;
  color: #1769e0;
}

.icon-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.process-page.has-result {
  max-width: 1480px;
  padding-top: 18px;
}

.ops-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #f2b8b5;
  border-radius: 7px;
  background: #fff4f3;
  color: #9c2924;
}

.ops-alert > div {
  display: grid;
  gap: 2px;
}

.ops-alert strong {
  font-size: 13px;
}

.ops-alert span {
  font-size: 12px;
}

.result-header {
  position: sticky;
  top: 60px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(210px, .9fr) auto auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  margin-bottom: 12px;
  padding: 11px 14px;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 5px 16px rgb(30 45 66 / 8%);
  backdrop-filter: blur(8px);
}

.result-page-limit-notice {
    align-items: flex-start;
    background: #fff8e7;
    border: 1px solid #e7c46a;
    color: #684b00;
    display: flex;
    gap: 0.625rem;
    margin: 0.75rem 0;
    padding: 0.75rem 0.875rem;
}

.result-page-limit-notice > div {
    display: grid;
    gap: 0.125rem;
}

.result-page-limit-notice span {
    font-size: 0.8125rem;
}

.result-file {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.result-file-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border: 1px solid #cfe0f8;
  border-radius: 6px;
  background: #edf5ff;
  color: #1769e0;
}

.result-file h1,
.result-file span,
.result-status-detail span {
  margin: 0;
}

.result-file h1 {
  overflow: hidden;
  color: #152033;
  font-size: 15px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-file > div > span,
.result-status-detail span {
  color: #667085;
  font-size: 11px;
}

.result-status {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.status-indicator {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 760;
}

.status-indicator .app-icon {
  width: 14px;
  height: 14px;
}

.status-indicator.success {
  border-color: #9bd5bc;
  background: #ecf8f2;
  color: #14734d;
}

.status-indicator.warning {
  border-color: #e8c98d;
  background: #fff8e8;
  color: #89560d;
}

.status-indicator.danger {
  border-color: #efa7a2;
  background: #fff1f0;
  color: #a62b25;
}

.result-status-detail {
  min-width: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.result-status-detail strong {
  color: #344054;
}

.result-key-facts {
  display: flex;
  gap: 18px;
  margin: 0;
}

.result-key-facts > div {
  display: grid;
  gap: 1px;
}

.result-key-facts dt {
  color: #667085;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.result-key-facts dd {
  max-width: 130px;
  overflow: hidden;
  margin: 0;
  color: #172033;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.action-count,
.tab-count {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 4px;
  background: #e7edf5;
  color: #344054;
  font-size: 10px;
}

.result-workspace {
  overflow: hidden;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  background: #fff;
}

.result-tabs {
  min-height: 50px;
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0 10px;
  overflow-x: auto;
  border-bottom: 1px solid #dce2ea;
  background: #f8fafc;
}

.result-tabs button {
  position: relative;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: #526174;
  font-size: 12px;
  font-weight: 700;
}

.result-tabs button::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  content: "";
}

.result-tabs button:hover,
.result-tabs button:focus-visible,
.result-tabs button[aria-selected="true"] {
  color: #1769e0;
}

.result-tabs button[aria-selected="true"] {
  background: #fff;
}

.result-tabs button[aria-selected="true"]::after {
  background: #1769e0;
}

.result-panel {
  color: #172033;
}

.result-panel[hidden] {
  display: none !important;
}

.result-provisional-notice {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid #efd59b;
  background: #fff8e8;
  color: #744c0b;
  font-size: 11px;
}

.result-provisional-notice .app-icon {
  width: 15px;
  height: 15px;
}

.summary-layout {
  display: grid;
  grid-template-columns: .82fr 1.45fr .9fr;
  border-bottom: 1px solid #e0e5ec;
}

.summary-section {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid #e4e8ee;
}

.summary-section:nth-child(3) {
  border-right: 0;
}

.summary-section > header,
.section-heading,
.result-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-section > header {
  justify-content: flex-start;
  margin-bottom: 14px;
  color: #344054;
}

.summary-section > header .app-icon {
  color: #1769e0;
}

.summary-section h2,
.summary-section h3,
.section-heading h2,
.result-panel-toolbar h2 {
  margin: 0;
  letter-spacing: 0;
}

.summary-section h2,
.section-heading h2,
.result-panel-toolbar h2 {
  font-size: 14px;
}

.summary-section h3 {
  margin-bottom: 8px;
  color: #667085;
  font-size: 10px;
  text-transform: uppercase;
}

.summary-values {
  display: grid;
  gap: 9px;
  margin: 0;
}

.summary-values > div {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr);
  gap: 10px;
  align-items: baseline;
}

.summary-values dt {
  color: #667085;
  font-size: 11px;
  font-weight: 600;
}

.summary-values dd {
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  color: #172033;
  font-size: 12px;
  font-weight: 700;
}

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

.compact-values > div {
  grid-template-columns: 58px minmax(0, 1fr);
}

.totals-values dd {
  text-align: right;
}

.totals-values .net-total {
  margin-top: 5px;
  padding-top: 9px;
  border-top: 1px solid #dce2ea;
}

.totals-values .net-total dt,
.totals-values .net-total dd {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.amount-in-words {
  display: grid;
  gap: 3px;
  margin: 13px 0 0;
  color: #475467;
  font-size: 11px;
}

.amount-in-words span {
  color: #7a8493;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-empty {
  margin: 0;
  color: #7a8493;
  font-size: 11px;
}

.validation-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(170px, .6fr) minmax(180px, .7fr) minmax(0, 2fr);
  gap: 20px;
  align-items: start;
  border-top: 1px solid #e4e8ee;
  border-right: 0;
}

.validation-section > header {
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0;
}

.validation-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #dce2ea;
  border-radius: 6px;
}

.validation-counts span {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 8px 6px;
  border-right: 1px solid #e4e8ee;
  color: #667085;
  font-size: 9px;
  text-transform: uppercase;
}

.validation-counts span:last-child {
  border-right: 0;
}

.validation-counts strong {
  color: #344054;
  font-size: 16px;
}

.validation-counts .passed strong {
  color: #14734d;
}

.validation-counts .warning strong {
  color: #89560d;
}

.validation-counts .failed strong {
  color: #a62b25;
}

.validation-checks {
  max-height: 165px;
  display: grid;
  gap: 6px;
  overflow: auto;
}

.validation-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 9px;
  border-left: 3px solid #d3dae4;
  background: #f7f9fb;
}

.validation-check.has-action {
  grid-template-columns: 18px minmax(0, 1fr) auto;
}

.validation-check:focus {
  outline: 2px solid transparent;
}

.validation-check.is-focused {
  box-shadow: 0 0 0 3px rgb(23 105 224 / 18%);
  animation: validation-focus 700ms ease-out;
}

.validation-check .app-icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

.validation-check > div {
  display: grid;
  gap: 1px;
}

.validation-check strong {
  font-size: 11px;
}

.validation-check span {
  color: #667085;
  font-size: 10px;
}

.validation-check.passed {
  border-left-color: #35a273;
}

.validation-check.passed .app-icon {
  color: #14734d;
}

.validation-check.warning {
  border-left-color: #d99823;
}

.validation-check.warning .app-icon {
  color: #89560d;
}

.validation-check.failed {
  border-left-color: #d54c45;
}

.validation-check.failed .app-icon {
  color: #a62b25;
}

.validation-action,
.validation-action:hover,
.validation-action:focus,
.validation-action:focus-visible {
  min-height: 28px;
  align-self: center;
  padding: 0 8px;
  border: 1px solid #b9c9df;
  border-radius: 5px;
  background: #fff;
  color: #145fc7;
  font-size: 10px;
}

.validation-action:hover,
.validation-action:focus-visible {
  border-color: #6e9edc;
  background: #eef5ff;
}

@keyframes validation-focus {
  from {
    box-shadow: 0 0 0 8px rgb(23 105 224 / 28%);
  }
  to {
    box-shadow: 0 0 0 3px rgb(23 105 224 / 18%);
  }
}

.summary-item-preview {
  padding: 18px 20px 20px;
}

.section-heading {
  margin-bottom: 10px;
}

.section-heading > div,
.result-panel-toolbar > div:first-child {
  display: grid;
  gap: 2px;
}

.section-heading span,
.result-panel-toolbar > div:first-child > span {
  color: #667085;
  font-size: 10px;
}

.text-action {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1769e0;
  font-size: 11px;
  font-weight: 750;
}

.text-action:hover,
.text-action:focus {
  background: transparent;
  color: #145fc7;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e0e5ec;
  border-radius: 6px;
}

.result-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 11px;
}

.result-table th {
  height: 38px;
  padding: 0 10px;
  border-bottom: 1px solid #dce2ea;
  background: #f7f9fb;
  color: #667085;
  font-size: 9px;
  font-weight: 750;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-table td {
  height: 42px;
  padding: 7px 10px;
  border-bottom: 1px solid #e8ecf1;
  color: #344054;
  white-space: nowrap;
}

.result-table tbody tr:last-child td {
  border-bottom: 0;
}

.result-table tbody tr:hover td {
  background: #f7faff;
}

.result-table .number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.result-table .primary-cell,
.result-table .strong {
  color: #172033;
  font-weight: 750;
}

.review-mobile-switch {
  display: none;
}

.document-review-layout {
  height: min(760px, calc(100vh - 205px));
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(370px, .75fr);
}

.document-pane,
.field-pane {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.document-pane {
  border-right: 1px solid #dce2ea;
}

.review-toolbar,
.result-panel-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #dce2ea;
  background: #f8fafc;
}

.page-controls,
.zoom-controls,
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.page-controls > span {
  min-width: 92px;
  color: #667085;
  font-size: 10px;
  text-align: center;
}

.document-stage {
  min-height: 0;
  overflow: auto;
  padding: 24px;
  background: #e9edf2;
}

.document-canvas {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 4px 18px rgb(36 47 62 / 16%);
}

.document-canvas img {
  width: 100%;
  height: auto;
  display: block;
}

.evidence-layer {
  position: absolute;
  inset: 0;
}

.evidence-box {
  position: absolute;
  top: var(--evidence-y);
  left: var(--evidence-x);
  width: var(--evidence-width);
  height: var(--evidence-height);
  min-width: 3px;
  min-height: 3px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
}

.evidence-box:hover {
  border-color: rgb(23 105 224 / 55%);
  background: rgb(23 105 224 / 9%);
}

.evidence-box.is-active {
  z-index: 2;
  border: 2px solid #1769e0;
  background: rgb(23 105 224 / 16%);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 80%);
}

.preview-unavailable,
.result-empty {
  min-height: 300px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  padding: 28px;
  color: #667085;
  text-align: center;
}

.preview-unavailable .app-icon,
.result-empty > .app-icon {
  width: 34px;
  height: 34px;
  color: #8fa1b7;
}

.preview-unavailable strong,
.result-empty strong {
  color: #344054;
  font-size: 13px;
}

.preview-unavailable span,
.result-empty span {
  max-width: 440px;
  font-size: 11px;
}

.field-toolbar > div {
  display: grid;
  gap: 2px;
}

.field-toolbar h2 {
  margin: 0;
  font-size: 13px;
}

.field-toolbar span {
  color: #667085;
  font-size: 10px;
}

.compact-search {
  min-width: 180px;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid #d2d9e3;
  border-radius: 5px;
  background: #fff;
  color: #7a8493;
}

.compact-search .app-icon {
  width: 15px;
  height: 15px;
}

.compact-search input {
  min-width: 0;
  width: 100%;
  height: 31px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font-size: 11px;
}

.field-groups {
  min-height: 0;
  overflow: auto;
  padding: 10px 12px 18px;
}

.field-group {
  margin-bottom: 15px;
}

.field-group h3 {
  margin: 0;
  padding: 7px 4px;
  color: #667085;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.extracted-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  margin-bottom: 5px;
  border: 1px solid #dce2ea;
  border-radius: 6px;
  background: #fff;
}

.extracted-field:hover,
.extracted-field.is-selected {
  border-color: #8db8f0;
  box-shadow: 0 0 0 2px rgb(23 105 224 / 8%);
}

.extracted-field.is-corrected {
  border-left: 3px solid #1769e0;
}

.field-select {
  min-height: 0;
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  color: #172033;
  text-align: left;
}

.field-select:hover,
.field-select:focus {
  background: transparent;
  color: #172033;
}

.extracted-field.is-selected .field-select {
  background: #edf5ff;
}

.field-select > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-select strong {
  color: #667085;
  font-size: 10px;
  font-weight: 650;
}

.field-select b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-confidence,
.corrected-badge {
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 800;
}

.field-confidence.good {
  background: #e8f6ef;
  color: #14734d;
}

.field-confidence.medium {
  background: #fff5dd;
  color: #89560d;
}

.field-confidence.low {
  background: #ffebea;
  color: #a62b25;
}

.corrected-badge {
  background: #e9f2ff;
  color: #1769e0;
}

.evidence-kind {
  color: #8993a2;
  font-size: 9px;
}

.field-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border-left: 1px solid #e5e9ef;
}

.field-actions .icon-button {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
  border-color: transparent;
}

.field-actions .app-icon {
  width: 14px;
  height: 14px;
}

.result-panel-toolbar > div:first-child {
  min-width: 0;
}

.toolbar-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.toolbar-actions select {
  min-height: 34px;
  padding: 0 28px 0 9px;
  border: 1px solid #d2d9e3;
  border-radius: 5px;
  background-color: #fff;
  color: #344054;
  font-size: 10px;
}

.item-table-scroll {
  margin: 14px;
  width: calc(100% - 28px);
  max-height: calc(100vh - 285px);
  overflow: auto;
}

.item-review-table {
  min-width: 1120px;
}

.pms-item-table {
  min-width: 1500px;
}

.pms-item-table .item-column-advanced {
  display: none;
}

.pms-item-table.show-all-columns {
  min-width: 2380px;
}

.pms-item-table.show-all-columns .item-column-advanced {
  display: table-cell;
}

.item-review-table thead {
  position: sticky;
  top: 0;
  z-index: 8;
}

.item-review-table .sticky-index,
.item-review-table .sticky-description {
  position: sticky;
  z-index: 5;
}

.item-review-table .sticky-index {
  left: 0;
  min-width: 44px;
  background: #f8fafc;
}

.item-review-table .sticky-description {
  left: 44px;
  min-width: 210px;
  max-width: 290px;
  background: #fff;
  box-shadow: 1px 0 #e0e5ec;
}

.item-review-table th.sticky-description {
  z-index: 9;
  background: #f7f9fb;
}

.editable-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.cell-value,
.cell-edit,
.cell-restore {
  border: 0;
  background: transparent;
}

.cell-value {
  min-height: 24px;
  min-width: 0;
  padding: 3px 2px;
  color: inherit;
  font: inherit;
  text-align: inherit;
}

.primary-cell .editable-cell {
  justify-content: flex-start;
}

.cell-edit,
.cell-restore {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #667085;
  opacity: 0;
  min-height: 24px;
}

.cell-value:hover,
.cell-value:focus,
.cell-edit:hover,
.cell-edit:focus,
.cell-restore:hover,
.cell-restore:focus {
  background: transparent;
  color: #1769e0;
}

.editable-cell:hover .cell-edit,
.editable-cell:focus-within .cell-edit,
.is-corrected .cell-restore {
  opacity: 1;
}

.cell-edit .app-icon,
.cell-restore .app-icon {
  width: 13px;
  height: 13px;
}

.is-corrected .cell-value {
  color: #1769e0;
  font-weight: 750;
}

.item-reconciliation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: 0 14px 16px;
  padding: 11px 13px;
  border: 1px solid #dce2ea;
  border-left: 4px solid #98a2b3;
  border-radius: 6px;
  background: #f8fafc;
}

.item-reconciliation > div {
  display: grid;
  gap: 1px;
  text-align: right;
}

.item-reconciliation span {
  color: #667085;
  font-size: 9px;
  text-transform: uppercase;
}

.item-reconciliation strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.item-reconciliation p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #667085;
  font-size: 10px;
}

.item-reconciliation.passed {
  border-left-color: #35a273;
}

.item-reconciliation.warning {
  border-left-color: #d99823;
}

.item-reconciliation.failed {
  border-left-color: #d54c45;
}

.json-mode-switch,
.review-mobile-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #d7dde6;
  border-radius: 6px;
  background: #eef2f6;
}

.json-mode-switch button,
.review-mobile-switch button {
  min-height: 29px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
}

.json-mode-switch button.is-active,
.review-mobile-switch button.is-active {
  background: #fff;
  color: #1769e0;
  box-shadow: 0 1px 3px rgb(31 42 55 / 10%);
}

.json-mode-switch button:hover,
.json-mode-switch button:focus,
.review-mobile-switch button:hover,
.review-mobile-switch button:focus {
  background: #fff;
  color: #1769e0;
}

.review-mobile-switch {
  display: none;
}

.json-context {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 14px;
  border-bottom: 1px solid #e1e6ed;
  color: #667085;
  font-size: 10px;
}

.json-context strong {
  color: #1769e0;
}

.download-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.json-code {
  height: min(650px, calc(100vh - 240px));
  margin: 0;
  overflow: auto;
  background: #101722;
  color: #d6deeb;
  font: 11px/1.65 Consolas, "Courier New", monospace;
  tab-size: 2;
}

.json-code code {
  display: table;
  min-width: 100%;
}

.json-line {
  display: table-row;
}

.json-line-number,
.json-line-text {
  display: table-cell;
}

.json-line-number {
  width: 52px;
  padding: 0 13px;
  border-right: 1px solid #263143;
  color: #66758b;
  text-align: right;
  user-select: none;
}

.json-line-text {
  padding: 0 16px;
  white-space: pre;
}

.json-code.is-wrapped .json-line-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.json-key {
  color: #7fdbca;
}

.json-string {
  color: #ecc48d;
}

.json-number {
  color: #f78c6c;
}

.json-boolean {
  color: #82aaff;
}

.json-null {
  color: #c792ea;
}

.compact-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid #d2d9e3;
  border-radius: 5px;
  background: #fff;
  color: #475467;
  font-size: 10px;
}

.ocr-result-list {
  max-height: calc(100vh - 230px);
  display: grid;
  overflow: auto;
}

.ocr-result-row {
  min-width: 0;
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
  padding: 7px 14px;
  border: 0;
  border-bottom: 1px solid #e5e9ef;
  background: #fff;
  color: #344054;
  text-align: left;
}

.ocr-result-row:hover,
.ocr-result-row:focus-visible {
  background: #f3f7fd;
}

.ocr-result-row strong {
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 600;
}

.ocr-page {
  color: #667085;
  font-size: 9px;
  font-weight: 750;
}

.confidence-badge {
  justify-self: end;
  min-width: 58px;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 750;
  text-align: center;
}

.confidence-badge.high {
  background: #e8f6ef;
  color: #14734d;
}

.confidence-badge.medium {
  background: #fff5dd;
  color: #89560d;
}

.confidence-badge.low {
  background: #ffebea;
  color: #a62b25;
}

.filter-empty {
  margin: 0;
  padding: 28px;
  color: #667085;
  font-size: 11px;
  text-align: center;
}

.result-panel.is-maximized {
  position: fixed;
  inset: 12px;
  z-index: 1050;
  display: block !important;
  overflow: auto;
  border: 1px solid #cfd7e2;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(25 34 48 / 25%);
}

body.result-maximized {
  overflow: hidden;
}

.result-panel.is-maximized .json-code,
.result-panel.is-maximized .item-table-scroll {
  max-height: calc(100vh - 125px);
  height: calc(100vh - 125px);
}

.correction-dialog {
  width: min(470px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  box-shadow: 0 20px 55px rgb(20 31 46 / 28%);
}

.correction-dialog::backdrop {
  background: rgb(15 23 34 / 58%);
}

.correction-dialog form {
  display: grid;
}

.correction-dialog header,
.correction-dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e0e5ec;
}

.correction-dialog footer {
  justify-content: flex-end;
  border-top: 1px solid #e0e5ec;
  border-bottom: 0;
  background: #f8fafc;
}

.correction-dialog header > div {
  display: grid;
  gap: 2px;
}

.correction-dialog h2 {
  margin: 0;
  font-size: 16px;
}

.correction-dialog label {
  display: grid;
  gap: 6px;
  padding: 12px 16px 0;
}

.correction-dialog label > span,
.correction-source > span {
  color: #475467;
  font-size: 10px;
  font-weight: 700;
}

.correction-dialog label small {
  color: #8993a2;
  font-weight: 500;
}

.correction-dialog input {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #cbd4df;
  border-radius: 5px;
  color: #172033;
  font-size: 12px;
}

.correction-dialog input:focus {
  border-color: #1769e0;
  outline: 3px solid rgb(23 105 224 / 12%);
}

.correction-source {
  display: grid;
  gap: 4px;
  margin: 12px 16px;
  padding: 9px 10px;
  border-left: 3px solid #c9d1dc;
  background: #f6f8fa;
}

.correction-source code {
  color: #344054;
  font-size: 11px;
}

.form-error {
  margin: 0 16px 12px;
  color: #a62b25;
  font-size: 11px;
}

.result-notification {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  max-width: 360px;
  padding: 10px 13px;
  border: 1px solid #cfd7e2;
  border-radius: 6px;
  background: #172033;
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.result-notification.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.result-notification.success {
  background: #14734d;
}

.result-notification.danger {
  background: #a62b25;
}

.ops-empty-action {
  min-height: 300px;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.ops-empty-action p {
  max-width: 520px;
}

.ops-empty-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 3px;
  border: 1px solid #cfe0f8;
  border-radius: 7px;
  background: #edf5ff;
  color: #1769e0;
}

.ops-empty-icon .app-icon {
  width: 23px;
  height: 23px;
}

.admin-login-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(390px, 0.88fr) minmax(540px, 1.12fr);
  background: #fff;
}

.login-body {
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
}

.login-page-main {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.admin-login-identity {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 50px 58px 38px;
  background: #171b1d;
  color: #fff;
}

.admin-login-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.admin-login-brand:hover,
.admin-login-brand:focus-visible {
  color: #fff;
}

.admin-login-brand:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgb(255 196 0 / 38%);
  outline-offset: 5px;
}

.admin-login-brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  border: 1px solid #e2ae00;
  border-radius: 8px;
  background: #ffc400;
}

.admin-login-brand > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-login-brand strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.admin-login-brand small {
  color: #b8c0c5;
  font-size: 11px;
}

.admin-login-introduction {
  max-width: 500px;
  margin: auto 0;
  padding: 70px 0;
}

.admin-login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffc400;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-login-kicker::before {
  width: 24px;
  height: 2px;
  background: #ffc400;
  content: "";
}

.admin-login-introduction h2 {
  max-width: 470px;
  margin: 20px 0 17px;
  color: #fff;
  font-size: 40px;
  font-weight: 720;
  line-height: 1.16;
}

.admin-login-introduction p {
  max-width: 450px;
  margin: 0;
  color: #b8c0c5;
  font-size: 15px;
  line-height: 1.7;
}

.admin-login-access {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 0 22px;
  border-top: 1px solid #343a3d;
  border-bottom: 1px solid #343a3d;
}

.admin-login-access-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #317e61;
  border-radius: 7px;
  background: #103e2f;
  color: #77d5ad;
}

.admin-login-access-icon .app-icon {
  width: 21px;
  height: 21px;
}

.admin-login-access > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-login-access strong {
  color: #f7f9fa;
  font-size: 13px;
}

.admin-login-access small {
  color: #aab4b9;
  font-size: 11px;
  line-height: 1.45;
}

.admin-login-workspace {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 92px 64px 64px;
  background: #fff;
}

.admin-login-return {
  position: absolute;
  top: 34px;
  right: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 2px;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.admin-login-return:hover,
.admin-login-return:focus-visible {
  color: #1769e0;
}

.admin-login-return:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgb(23 105 224 / 15%);
  outline-offset: 3px;
}

.admin-login-return .app-icon {
  width: 16px;
  height: 16px;
}

.admin-login-panel {
  width: min(430px, 100%);
}

.admin-login-heading h1,
.admin-login-heading p {
  margin: 0;
}

.admin-login-heading h1 {
  margin-top: 9px;
  color: #151a25;
  font-size: 34px;
  font-weight: 730;
  line-height: 1.2;
}

.admin-login-heading p {
  margin-top: 10px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.admin-login-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.admin-login-field {
  display: grid;
  gap: 8px;
}

.admin-login-field > label {
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}

.admin-login-input {
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #cbd4df;
  border-radius: 7px;
  background: #fff;
  color: #7a8698;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.admin-login-input:focus-within {
  border-color: #1769e0;
  box-shadow: 0 0 0 3px rgb(23 105 224 / 12%);
  color: #1769e0;
}

.admin-login-input:has(.admin-password-toggle) {
  grid-template-columns: 20px minmax(0, 1fr) 38px;
  padding-right: 5px;
}

.admin-login-input > .app-icon {
  width: 18px;
  height: 18px;
}

.admin-login-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font-size: 14px;
}

.admin-login-form input::placeholder {
  color: #98a2b3;
}

.admin-login-form input:-webkit-autofill,
.admin-login-form input:-webkit-autofill:hover,
.admin-login-form input:-webkit-autofill:focus,
.admin-login-form input:-webkit-autofill:active {
  -webkit-text-fill-color: #172033;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  caret-color: #172033;
}

.admin-login-form input:autofill {
  box-shadow: 0 0 0 1000px #fff inset;
}

.admin-password-toggle {
  width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #667085;
}

.admin-password-toggle:hover,
.admin-password-toggle:focus-visible {
  background: #eef4fd;
  color: #1769e0;
}

.admin-password-toggle:focus-visible {
  outline: 2px solid rgb(23 105 224 / 24%);
}

.admin-password-toggle .app-icon {
  width: 18px;
  height: 18px;
}

.admin-login-error {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid #efb2ae;
  border-radius: 7px;
  background: #fff2f1;
  color: #a62b25;
  font-size: 12px;
  line-height: 1.45;
}

.admin-login-error .app-icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.admin-login-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  font-size: 13px;
  box-shadow: 0 8px 18px rgb(23 105 224 / 18%);
}

.admin-login-submit-ready,
.admin-login-submit-busy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.admin-login-submit-ready .app-icon {
  width: 18px;
  height: 18px;
}

.admin-login-submit [hidden] {
  display: none;
}

.admin-login-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgb(255 255 255 / 45%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: admin-login-spin 700ms linear infinite;
}

.admin-login-note {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e3e8ef;
  color: #7a8493;
  font-size: 11px;
  line-height: 1.5;
}

.admin-login-note .app-icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: #4d9b7a;
}

@keyframes admin-login-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 901px) and (max-height: 740px) {
  .admin-login-identity {
    padding: 28px 48px 22px;
  }

  .admin-login-brand {
    gap: 12px;
  }

  .admin-login-brand img {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .admin-login-brand strong {
    font-size: 16px;
  }

  .admin-login-introduction {
    padding: 26px 0;
  }

  .admin-login-introduction h2 {
    max-width: 430px;
    margin: 14px 0 11px;
    font-size: 34px;
  }

  .admin-login-introduction p {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.55;
  }

  .admin-login-access {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0 14px;
  }

  .admin-login-access-icon {
    width: 38px;
    height: 38px;
  }

  .admin-login-workspace {
    padding: 64px 54px 28px;
  }

  .admin-login-return {
    top: 16px;
    right: 34px;
  }

  .admin-login-heading h1 {
    font-size: 32px;
  }

  .admin-login-form {
    gap: 15px;
    margin-top: 24px;
  }

  .admin-login-note {
    margin-top: 18px;
    padding-top: 14px;
  }
}

@media (min-width: 901px) and (max-height: 560px) {
  .admin-login-identity {
    padding: 18px 38px 16px;
  }

  .admin-login-brand img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .admin-login-brand strong {
    font-size: 14px;
  }

  .admin-login-brand small {
    font-size: 9px;
  }

  .admin-login-introduction {
    padding: 14px 0;
  }

  .admin-login-introduction h2 {
    margin: 10px 0 0;
    font-size: 28px;
  }

  .admin-login-introduction p {
    display: none;
  }

  .admin-login-access {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 8px 0 10px;
  }

  .admin-login-access-icon {
    width: 34px;
    height: 34px;
  }

  .admin-login-workspace {
    padding: 46px 44px 14px;
  }

  .admin-login-return {
    top: 8px;
    right: 26px;
  }

  .admin-login-heading h1 {
    margin-top: 5px;
    font-size: 28px;
  }

  .admin-login-heading p {
    margin-top: 5px;
    font-size: 12px;
  }

  .admin-login-form {
    gap: 11px;
    margin-top: 16px;
  }

  .admin-login-field {
    gap: 5px;
  }

  .admin-login-input {
    min-height: 44px;
  }

  .admin-login-form input {
    min-height: 42px;
  }

  .admin-login-submit {
    min-height: 44px;
  }

  .admin-login-note {
    margin-top: 12px;
    padding-top: 10px;
  }
}

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

  .admin-login-identity {
    min-height: auto;
    padding: 24px 32px;
  }

  .admin-login-brand img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .admin-login-introduction {
    margin: 36px 0 30px;
    padding: 0;
  }

  .admin-login-introduction h2 {
    margin: 13px 0 10px;
    font-size: 27px;
  }

  .admin-login-introduction p {
    font-size: 13px;
    line-height: 1.55;
  }

  .admin-login-access {
    display: none;
  }

  .admin-login-workspace {
    min-height: 560px;
    align-content: start;
    padding: 82px 32px 48px;
  }

  .admin-login-return {
    top: 24px;
    right: 32px;
  }
}

@media (max-width: 520px) {
  .admin-login-identity {
    padding: 20px 22px;
  }

  .admin-login-brand {
    gap: 11px;
  }

  .admin-login-brand img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .admin-login-brand strong {
    font-size: 14px;
  }

  .admin-login-brand small {
    font-size: 9px;
  }

  .admin-login-introduction {
    display: none;
  }

  .admin-login-workspace {
    min-height: calc(100dvh - 84px);
    padding: 72px 22px 34px;
  }

  .admin-login-return {
    top: 20px;
    right: 22px;
    left: 22px;
    justify-content: flex-start;
  }

  .admin-login-heading h1 {
    font-size: 29px;
  }

  .admin-login-heading p {
    font-size: 13px;
  }

  .admin-login-form {
    margin-top: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-login-input {
    transition: none;
  }

  .admin-login-spinner {
    animation-duration: 1.4s;
  }
}

.ops-activity-cell {
  min-width: 128px;
  display: grid;
  gap: 2px;
}

.ops-activity-cell strong {
  color: #344054;
  font-size: 11px;
}

.ops-activity-cell small {
  color: #7a8493;
  font-size: 9px;
}

.ops-action-menu {
  position: relative;
}

.ops-table-wrap:has(.ops-action-menu[open]) {
  overflow: visible;
  contain: none;
}

.ops-action-menu > summary {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d7dde6;
  border-radius: 6px;
  background: #fff;
  color: #475467;
  cursor: pointer;
  list-style: none;
}

.ops-action-menu > summary::-webkit-details-marker {
  display: none;
}

.ops-action-menu[open] > summary,
.ops-action-menu > summary:hover {
  border-color: #92b9ef;
  color: #1769e0;
}

.ops-action-menu > div {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 25;
  min-width: 180px;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #d5dce6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 26px rgb(31 42 55 / 16%);
}

.ops-action-menu:not([open]) > div {
  display: none;
}

.ops-action-menu form {
  margin: 0;
}

.ops-action-menu button {
  width: 100%;
  min-height: 33px;
  padding: 6px 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #344054;
  font-size: 10px;
  text-align: left;
}

.ops-action-menu button:hover,
.ops-action-menu button:focus-visible {
  background: #f2f7ff;
  color: #1769e0;
}

.ops-action-menu button.danger {
  color: #a62b25;
}

.ops-action-menu button.danger:hover,
.ops-action-menu button.danger:focus-visible {
  background: #fff1f0;
}

@media (max-width: 1180px) {
  .result-header {
    grid-template-columns: minmax(230px, 1.2fr) minmax(190px, .8fr) auto;
  }

  .result-key-facts {
    display: none;
  }

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

  .summary-section:nth-child(2) {
    border-right: 0;
  }

  .summary-section:nth-child(3) {
    border-top: 1px solid #e4e8ee;
    border-right: 1px solid #e4e8ee;
  }

  .validation-section {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .validation-checks {
    max-height: 205px;
  }

  .document-review-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
  }
}

@media (max-width: 900px) {
  .process-page.has-result {
    padding-right: 14px;
    padding-left: 14px;
  }

  .result-header {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .result-status {
    justify-self: end;
  }

  .result-header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 9px;
    border-top: 1px solid #e3e7ed;
  }

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

  .summary-section,
  .summary-section:nth-child(2),
  .summary-section:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid #e4e8ee;
  }

  .validation-section {
    grid-column: 1;
    border-top: 0;
  }

  .document-review-layout {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .document-pane {
    height: 650px;
    border-right: 0;
    border-bottom: 1px solid #dce2ea;
  }

  .field-pane {
    height: 620px;
  }

  .result-panel-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ocr-filters .compact-search {
    flex: 1 1 220px;
  }
}

@media (max-width: 640px) {
  .process-page.has-result {
    padding-top: 10px;
  }

  .result-header {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .result-status {
    justify-self: start;
  }

  .result-status-detail {
    display: none;
  }

  .result-header-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .result-header-actions .ops-button,
  .result-header-actions .ops-button.secondary {
    width: 100%;
    justify-self: stretch;
  }

  .result-tabs {
    padding: 0 4px;
  }

  .result-tabs button {
    padding: 0 10px;
  }

  .result-tabs button .app-icon {
    display: none;
  }

  .summary-section,
  .summary-item-preview {
    padding: 15px 13px;
  }

  .party-columns {
    grid-template-columns: 1fr;
  }

  .validation-section {
    grid-template-columns: 1fr;
  }

  .review-mobile-switch {
    margin: 10px 12px 0;
    display: inline-flex;
  }

  .document-review-layout [data-review-pane] {
    display: none;
  }

  .document-review-layout[data-mobile-view="document"] [data-review-pane="document"],
  .document-review-layout:not([data-mobile-view]) [data-review-pane="document"],
  .document-review-layout[data-mobile-view="fields"] [data-review-pane="fields"] {
    display: grid;
  }

  .document-pane,
  .field-pane {
    height: calc(100vh - 235px);
    min-height: 520px;
  }

  .document-stage {
    padding: 12px;
  }

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

  .compact-search {
    width: 100%;
  }

  .item-table-scroll {
    margin: 10px;
    width: calc(100% - 20px);
  }

  .item-reconciliation {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin: 0 10px 12px;
  }

  .item-reconciliation > div {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .json-mode-switch {
    width: 100%;
  }

  .json-mode-switch button {
    flex: 1;
  }

  .json-code {
    height: calc(100vh - 315px);
    min-height: 420px;
  }

  .ocr-result-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .ocr-result-row .confidence-badge {
    grid-column: 2;
    justify-self: start;
  }

  .result-notification {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}
