._toolbar_1wdaj_1 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #ffffff;
  border-bottom: 1px solid #d0d0dc;
  min-height: 52px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  flex-wrap: wrap;
}

._left_1wdaj_27 {
  display: flex;
  gap: 8px;
  align-items: center;
}

._center_1wdaj_39 {
  flex: 1;
  text-align: center;
  overflow: hidden;
}

._right_1wdaj_51 {
  display: flex;
  align-items: center;
  gap: 8px;
}

._btn_1wdaj_63 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #c8c8d8;
  border-radius: 6px;
  background: #f8f8fc;
  color: #2a2a3a;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

._btn_1wdaj_63:hover:not(:disabled) {
  background: #eeeef8;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

._btn_1wdaj_63:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._btnPrimary_1wdaj_115 {
  background: #4a6cf7;
  color: #fff;
  border-color: #3a5ce7;
}

._btnPrimary_1wdaj_115:hover:not(:disabled) {
  background: #3a5ce7;
}

._icon_1wdaj_135 {
  font-size: 16px;
  line-height: 1;
}

._fileName_1wdaj_145 {
  font-size: 13px;
  color: #666680;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
  display: inline-block;
}

._label_1wdaj_165 {
  font-size: 13px;
  color: #555568;
}

._select_1wdaj_175 {
  padding: 5px 10px;
  border: 1px solid #c8c8d8;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  background: #f8f8fc;
  color: #2a2a3a;
  cursor: pointer;
}

._select_1wdaj_175:disabled {
  opacity: 0.5;
}

._batchRow_1wdaj_205 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f0f0f8;
  border: 1px solid #d0d0e8;
  border-radius: 6px;
  font-size: 13px;
}

._checkLabel_1wdaj_227 {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 13px;
  color: #2a2a3a;
  white-space: nowrap;
}

._checkLabel_1wdaj_227 input[type="checkbox"] {
  cursor: pointer;
}

._pageInput_1wdaj_255 {
  width: 52px;
  padding: 3px 6px;
  border: 1px solid #c8c8d8;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  text-align: center;
  background: #ffffff;
}

._pageInput_1wdaj_255:disabled {
  opacity: 0.5;
}
._canvas_84fg6_1 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  z-index: 2;
}
._container_1dg03_1 {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  background: #e0e0ec;
}

._imgWrapper_1dg03_21 {
  position: relative;
  display: inline-block;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  line-height: 0;
}

._img_1dg03_21 {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
._container_1s88b_1 {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  background: #e0e0ec;
}

._nav_1s88b_17 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px;
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid #d0d0dc;
  flex-shrink: 0;
}

._navBtn_1s88b_39 {
  width: 32px;
  height: 32px;
  border: 1px solid #c8c8d8;
  border-radius: 6px;
  background: #f8f8fc;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

._navBtn_1s88b_39:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

._navBtn_1s88b_39:hover:not(:disabled) {
  background: #eeeef8;
}

._pageInfo_1s88b_85 {
  font-size: 13px;
  color: #555568;
  min-width: 60px;
  text-align: center;
}

._scrollArea_1s88b_99 {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
}

._loading_1s88b_117, ._error_1s88b_117 {
  padding: 24px;
  font-size: 14px;
  color: #888898;
}

._error_1s88b_117 {
  color: #ff4d4f;
}

._canvasWrapper_1s88b_137 {
  position: relative;
  display: inline-block;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  line-height: 0;
}

._canvas_1s88b_137 {
  display: block;
  max-width: 100%;
  height: auto;
  background: #fff;
}
._viewer_1wmwd_1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #e8e8f0;
  min-width: 0;
  position: relative;
}

._empty_1wmwd_21 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: #aaaabc;
}

._emptyIcon_1wmwd_41 {
  font-size: 64px;
}

._empty_1wmwd_21 p {
  font-size: 15px;
}

._emptyHint_1wmwd_57 {
  font-size: 12px !important;
  color: #c0c0d0 !important;
}
._wrapper_zh7ny_1 {
  position: relative;
}

._btn_zh7ny_9 {
  padding: 5px 12px;
  border: 1px solid #c8c8d8;
  border-radius: 6px;
  background: #f8f8fc;
  color: #2a2a3a;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

._btn_zh7ny_9:hover {
  background: #eeeef8;
}

._menu_zh7ny_41 {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: #ffffff;
  border: 1px solid #d8d8e8;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 100;
  min-width: 200px;
  overflow: hidden;
}

._item_zh7ny_67 {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  font-size: 13px;
  font-family: inherit;
  color: #2a2a3a;
  cursor: pointer;
  transition: background 0.1s;
}

._item_zh7ny_67:hover {
  background: #f0f0f8;
}
._overlay_1o5na_1 {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(2px);
}

._card_1o5na_23 {
  background: #ffffff;
  border: 1px solid #e0e0ec;
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  align-items: center;
}

._label_1o5na_49 {
  font-size: 14px;
  color: #444458;
  font-weight: 500;
}

._barBg_1o5na_61 {
  width: 100%;
  height: 8px;
  background: #e8e8f0;
  border-radius: 4px;
  overflow: hidden;
}

._barFill_1o5na_77 {
  height: 100%;
  background: #4a6cf7;
  border-radius: 4px;
  transition: width 0.2s ease;
}

._percent_1o5na_91 {
  font-size: 13px;
  color: #888898;
}
._scroll_11n45_1 {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #e8e8ec;
  display: flex;
  flex-direction: column;
}

._hint_11n45_21 {
  padding: 4px 12px;
  font-size: 11px;
  color: #888898;
  background: #f0f0f4;
  border-bottom: 1px solid #dcdce8;
  flex-shrink: 0;
}

/* The positioned canvas that holds the image + overlays */
._canvas_11n45_41 {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

._image_11n45_53 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Each OCR line — invisible until interacted with */
._lineBox_11n45_77 {
  position: absolute;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0 2px;
  margin: 0;
  resize: none;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  color: transparent;
  caret-color: #1a5bc4;
  outline: none;
  overflow: hidden;
  line-height: 1;
  white-space: pre;
  cursor: text;
  box-sizing: border-box;
  transition: border-color 0.1s, background 0.1s;
}

._lineBox_11n45_77:hover {
  border-color: rgba(26, 91, 196, 0.45);
  background: rgba(200, 220, 255, 0.12);
}

._lineBox_11n45_77:focus {
  border-color: rgba(26, 91, 196, 0.8);
  background: rgba(255, 255, 255, 0.92);
  color: #1e1e2e;
  white-space: pre-wrap;
  overflow: auto;
  z-index: 10;
}
._panel_at2ty_1 {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  background: #ffffff;
  min-width: 0;
}

._header_at2ty_19 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #e8e8f0;
  background: #fafafa;
  flex-shrink: 0;
  gap: 8px;
}

._headerLeft_at2ty_41 {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

._tabs_at2ty_55 {
  display: flex;
  gap: 2px;
  background: #e8e8f0;
  border-radius: 6px;
  padding: 2px;
}

._tab_at2ty_55 {
  padding: 3px 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #555568;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

._tab_at2ty_55:hover {
  background: rgba(255, 255, 255, 0.6);
}

._tabActive_at2ty_103 {
  background: #ffffff;
  color: #1a5bc4;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

._title_at2ty_117 {
  font-size: 13px;
  font-weight: 600;
  color: #555568;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

._body_at2ty_133 {
  position: relative;
  flex: 1;
  overflow: hidden;
}

._textArea_at2ty_145 {
  width: 100%;
  height: 100%;
  padding: 16px;
  border: none;
  outline: none;
  resize: none;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1e1e2e;
  background: #ffffff;
  overflow-y: auto;
  user-select: text;
}

._placeholder_at2ty_177 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: #aaaabc;
}

._placeholderIcon_at2ty_197 {
  font-size: 48px;
}

._placeholder_at2ty_177 p {
  font-size: 14px;
  text-align: center;
  max-width: 240px;
}
._toast_1cpfm_1 {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff4d4f;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  max-width: 480px;
  animation: _slideUp_1cpfm_1 0.2s ease;
}

@keyframes _slideUp_1cpfm_1 {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

._icon_1cpfm_47 {
  font-size: 16px;
  flex-shrink: 0;
}

._message_1cpfm_57 {
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}

._close_1cpfm_69 {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

._close_1cpfm_69:hover {
  color: #ffffff;
}
._overlay_1erso_1 {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  z-index: 1000;
}

._fadeIn_1erso_21 {
  animation: _fadeIn_1erso_21 0.4s ease both;
}

._fadeOut_1erso_29 {
  animation: _fadeOut_1erso_29 0.35s ease both;
}

@keyframes _fadeIn_1erso_21 {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes _fadeOut_1erso_29 {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.97); }
}

._card_1erso_57 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 52px 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  text-align: center;
  max-width: 480px;
}

._logo_1erso_85 {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 4px;
}

._title_1erso_97 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.01em;
}

._author_1erso_115 {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0 0;
  letter-spacing: 0.03em;
}

._year_1erso_129 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

._btn_1erso_141 {
  margin-top: 20px;
  padding: 11px 36px;
  background: #4a6cf7;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
}

._btn_1erso_141:hover {
  background: #3a5ce7;
  transform: translateY(-1px);
}

._btn_1erso_141:active {
  transform: translateY(0);
}
._app_mc08b_1 {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: #f0f0f5;
}

._panels_mc08b_19 {
  display: flex;
  flex: 1;
  overflow: hidden;
  gap: 0;
}

._divider_mc08b_33 {
  width: 4px;
  background: #d0d0dc;
  cursor: col-resize;
  flex-shrink: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body, #root {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  font-size: 14px;
  color: #1e1e2e;
  background: #f5f5f7;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #e8e8ed;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #b0b0bf;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8888a0;
}
