:root {
  --bg: #f2f4f7;
  --panel: #ffffff;
  --ink: #17212b;
  --muted: #6b7785;
  --line: #d9dee5;
  --accent: #d93025;
  --accent-soft: #fff3f2;
  --approved: #21875a;
  --approved-soft: #eaf8f1;
  --review: #d18b16;
  --review-soft: #fff7e5;
  --blue: #2c64dc;
  --shadow: 0 18px 50px rgba(22, 31, 45, 0.10);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

.batch-panel { margin: 14px 24px 0; padding: 14px 18px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.batch-heading, .batch-actions, .batch-options { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.batch-heading > span, #batchNameHint, #batchMessage { color: var(--muted); font-size: 12px; }
.batch-options { margin: 16px 0 12px; align-items: end; }
.batch-options label { display: grid; gap: 5px; font-size: 12px; }
.batch-options input { padding: 7px; border: 1px solid var(--line); border-radius: 5px; width: 230px; }
.batch-actions .button { font-size: 12px; padding: 8px 12px; }
#batchMessage { margin: 12px 0 8px; }
.batch-list { max-height: 260px; overflow: auto; }
.batch-row { display: grid; grid-template-columns: 22px 72px minmax(200px, 1fr) 180px; gap: 8px; align-items: center; padding: 8px; border-top: 1px solid var(--line); }
.batch-row.active { background: #eef4ff; }
.batch-number { font-size: 12px; color: var(--muted); }
.batch-file { text-align: left; border: 0; background: transparent; cursor: pointer; overflow-wrap: anywhere; color: var(--ink); }
.batch-file small { display: block; color: var(--muted); margin-top: 4px; }
.batch-row-actions { display: flex; gap: 6px; }
.batch-row-actions button { border: 1px solid var(--line); background: white; border-radius: 5px; cursor: pointer; padding: 4px 8px; }
.batch-warning { grid-column: 3 / 5; color: #94600b; white-space: pre-wrap; font-size: 12px; }
.batch-locked { opacity: .6; pointer-events: none; }

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 1080px;
  color: var(--ink);
  background: var(--bg);
}

button, input, textarea, select { font: inherit; }
button, label.button { user-select: none; }

.topbar {
  min-height: 104px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #101820;
  color: white;
}

.eyebrow {
  margin: 0 0 5px;
  color: #8b98a6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.topbar .eyebrow { color: #aeb9c4; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 3px; font-size: 25px; letter-spacing: -.02em; }
h2 { margin-bottom: 0; font-size: 18px; }
.subtitle { margin-bottom: 0; color: #c5cdd5; font-size: 13px; }

.header-controls { min-width: 0; display: grid; justify-items: end; gap: 8px; }
.top-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; align-items: center; }
.api-key-config { display: flex; align-items: center; gap: 6px; color: #cbd5df; font-size: 10px; font-weight: 700; }
.api-key-config input { width: 190px; height: 31px; padding: 0 9px; border: 1px solid #475461; border-radius: 7px; color: white; background: #27323d; }
.api-key-config input::placeholder { color: #aeb8c2; }
.document-config { display: flex; justify-content: flex-end; gap: 9px; align-items: end; }
.paper-fields { display: flex; gap: 9px; align-items: end; }
.compact-field { display: grid; gap: 3px; color: #cbd5df; font-size: 10px; font-weight: 700; }
.compact-field select, .compact-field input {
  height: 31px; padding: 0 9px; border: 1px solid #475461; border-radius: 7px;
  color: white; background: #27323d;
}
.compact-field select { min-width: 118px; }
.compact-field input { width: 180px; }
.compact-field input::placeholder { color: #aeb8c2; }
.model-status {
  padding: 7px 9px;
  border-radius: 14px;
  color: #ffd98a;
  background: rgba(255,255,255,.08);
  font-size: 11px;
  white-space: nowrap;
}
.model-status.ready { color: #a8efc9; }
.button, .small-button, .text-button, .icon-button, .placement-button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.button:active, .small-button:active, .text-button:active, .icon-button:active { transform: translateY(1px); }
.button { padding: 10px 14px; font-size: 13px; font-weight: 700; }
.button.primary { color: white; background: var(--accent); }
.button.primary:hover { background: #bd281f; }
.button.secondary { color: #eef2f5; background: #27323d; }
.button.secondary:hover { background: #34414d; }

.workspace {
  height: calc(100vh - 104px);
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(690px, 1fr) 370px;
  gap: 18px;
  padding: 18px;
}

.preview-panel, .inspector {
  min-height: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.preview-panel {
  position: relative;
  display: grid;
  grid-template-rows: 52px 1fr 42px;
  border-radius: 14px;
  overflow: hidden;
}

.toolbar {
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.history-actions, .zoom-control { display: flex; align-items: center; gap: 8px; }
.page-indicator { min-width: 76px; color: var(--muted); font-size: 12px; text-align: center; }
.zoom-control { color: var(--muted); font-size: 12px; }
.zoom-control input { width: 130px; accent-color: var(--accent); }
.zoom-control output { width: 38px; color: var(--ink); font-weight: 700; }
.icon-button, .text-button, .small-button {
  color: #34404d;
  background: #f1f3f6;
}
.icon-button { width: 32px; height: 32px; font-size: 19px; }
.text-button, .small-button { padding: 7px 10px; font-size: 12px; font-weight: 700; }
.icon-button:disabled { opacity: .35; cursor: default; }

.stage-viewport {
  overflow: auto;
  padding: 24px;
  background:
    linear-gradient(45deg, #e8ebef 25%, transparent 25%) 0 0/18px 18px,
    linear-gradient(-45deg, #e8ebef 25%, transparent 25%) 0 9px/18px 18px,
    linear-gradient(45deg, transparent 75%, #e8ebef 75%) 9px -9px/18px 18px,
    linear-gradient(-45deg, transparent 75%, #e8ebef 75%) -9px 0/18px 18px,
    #f1f3f5;
}

.empty-state {
  position: absolute;
  inset: 52px 0 42px;
  z-index: 30;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  background: #f5f7f9;
  text-align: center;
}
.empty-state strong { color: var(--ink); font-size: 19px; }
.empty-state span { max-width: 420px; margin-bottom: 5px; font-size: 13px; }
.hidden { display: none !important; }

.stage-sizer { position: relative; margin: 0 auto; }
.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 880px;
  height: 670px;
  transform-origin: top left;
  background: white;
  box-shadow: 0 6px 28px rgba(14, 22, 32, .22);
}
.stage img { display: block; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.overlay-layer { position: absolute; inset: 0; }

/* Never expose legacy number badges or their white backgrounds. */
#overlayLayer .badge { display: none !important; }
.build-status { display: inline-block; color: #bdc8d2; font-size: 12px; }
.build-status.version-error { color: #ffc266; }

.annotation-box {
  position: absolute;
  border: 0.5px solid var(--accent);
  cursor: move;
  touch-action: none;
}
.annotation-box.source { background: rgba(255,255,255,.03); }
.annotation-box.comment {
  display: block;
  padding: 4px 6px;
  overflow: visible;
  white-space: pre;
  line-height: 1.35;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #121820;
  background: white;
  font-size: 12px;
}
.annotation-box.comment > span:not(.resize-handle) {
  display: block;
  width: max-content;
  height: auto;
  max-width: none;
  max-height: none;
  overflow: visible;
  white-space: pre;
  line-height: inherit;
  padding: 0;
  border: 0;
  background: transparent;
}
.annotation-box.needs-review { border-color: var(--review); }
.annotation-box.selected {
  outline: 1px solid rgba(44, 100, 220, .88);
  outline-offset: 2px;
  z-index: 20;
}
.resize-handle {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 11px;
  height: 11px;
  border: 1px solid white;
  border-radius: 2px;
  background: var(--blue);
  cursor: nwse-resize;
  opacity: 0;
}
.annotation-box.selected .resize-handle { opacity: 1; }

.legend {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.legend .hint { margin-left: auto; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; }
.dot.approved { background: var(--approved); }
.dot.review { background: var(--review); }
.dot.selected { background: var(--blue); }

.inspector {
  padding: 14px;
  overflow-y: auto;
  border-radius: 14px;
}
.summary-card, .editor-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfd;
}
.summary-card { margin-bottom: 18px; }
.summary-card > div:first-child { display: flex; justify-content: space-between; }
.summary-label { color: var(--muted); font-size: 12px; }
.progress-track { height: 7px; margin-top: 10px; overflow: hidden; border-radius: 10px; background: #e4e8ed; }
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: var(--approved); transition: width .2s ease; }
.section-heading { margin-bottom: 10px; display: flex; align-items: flex-end; justify-content: space-between; }
.section-heading .eyebrow { margin-bottom: 2px; }
.annotation-list { display: grid; gap: 7px; margin-bottom: 16px; }
.annotation-item {
  width: 100%;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  cursor: pointer;
  text-align: left;
}
.annotation-item:hover { border-color: #aab4bf; }
.annotation-item.active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(44,100,220,.10); }
.item-main { min-width: 0; }
.item-main strong, .item-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-main strong { font-size: 13px; }
.item-main span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.status-pill { padding: 4px 6px; border-radius: 10px; font-size: 10px; font-weight: 800; }
.status-pill.approved { color: var(--approved); background: var(--approved-soft); }
.status-pill.needs-review { color: #96600b; background: var(--review-soft); }

.editor-card { min-height: 260px; }
.empty-editor { min-height: 220px; display: grid; place-content: center; gap: 6px; color: var(--muted); text-align: center; }
.empty-editor strong { color: var(--ink); }
.editor-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.editor-title strong { font-size: 15px; }
.danger-link { border: 0; color: var(--accent); background: none; cursor: pointer; font-size: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 5px; color: #4e5a67; font-size: 12px; font-weight: 700; }
.field textarea, .field input, .field select {
  width: 100%;
  border: 1px solid #cfd6de;
  border-radius: 7px;
  background: white;
  color: var(--ink);
}
.style-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.style-row .field { margin-bottom: 12px; }
.style-row input[type="color"] { padding: 3px; cursor: pointer; }
.fill-controls { display: grid; grid-template-columns: 1fr 72px; gap: 8px; }
.fill-controls input[type="color"] { padding: 3px; cursor: pointer; }
.fill-controls input:disabled { opacity: .4; cursor: not-allowed; }
.field textarea { min-height: 74px; padding: 9px; resize: vertical; line-height: 1.45; }
.field input, .field select { height: 36px; padding: 0 9px; }
.placement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.placement-button { padding: 8px 5px; border: 1px solid #d4dae1; background: white; color: #34404d; font-size: 11px; }
.placement-button:hover { border-color: var(--blue); color: var(--blue); }
.coordinate-note { margin: -4px 0 12px; color: var(--muted); font-size: 11px; }
.layout-warning { color: #a44013; font-size: 12px; line-height: 1.5; }
.approve-button { width: 100%; padding: 10px; border: 0; border-radius: 8px; color: white; background: var(--approved); cursor: pointer; font-weight: 800; }
.approve-button.reopen { color: #6e490d; background: #f4cf7d; }
.danger-secondary { width: 100%; margin: -2px 0 12px; padding: 8px; border: 1px solid #f0b8b3; border-radius: 7px; color: var(--accent); background: #fff7f6; cursor: pointer; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 20px;
  color: white;
  background: #17212b;
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.busy-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(16, 24, 32, .55);
  backdrop-filter: blur(3px);
}
.busy-card {
  min-width: 260px;
  padding: 26px;
  display: grid;
  justify-items: center;
  gap: 8px;
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}
.busy-card small { color: var(--muted); }
.spinner {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  border: 3px solid #e2e6eb;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pdf-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 190;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(16, 24, 32, .72);
}
.pdf-preview-window {
  width: min(1180px, calc(100vw - 44px));
  height: calc(100vh - 44px);
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f6f8;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
}
.pdf-preview-heading {
  min-height: 58px;
  padding: 10px 14px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.pdf-preview-heading div { display: grid; gap: 3px; }
.pdf-preview-heading span { color: var(--muted); font-size: 12px; }
.pdf-preview-window iframe { width: 100%; height: 100%; border: 0; background: #59636d; }

@media (max-width: 1180px) {
  body { min-width: 980px; }
  .workspace { grid-template-columns: minmax(600px, 1fr) 340px; }
  .compact-field input { width: 150px; }
}
.recognition-info { padding: 12px 14px; border: 1px solid #d8e3eb; border-radius: 12px; background: #f2f7fa; color: #334155; font-size: 13px; line-height: 1.55; }
.recognition-info > strong, .recognition-info > span { display: block; }
.recognition-info details { margin-top: 6px; }
.recognition-info summary { cursor: pointer; }
.recognition-info ul { padding-left: 18px; margin: 8px 0 0; }

/* v1.9.1 simplified three-column workspace. Keep every legacy control
   available, but place it in the task area where it is actually used. */
body { min-width: 1120px; overflow: hidden; }
.topbar { height: 64px; min-height: 64px; padding: 0 24px; }
.brand-line { display: flex; align-items: center; gap: 16px; }
.brand-line h1 { margin: 0; font-size: 19px; }
.brand-line > span:not(.build-status) { color: #9fb2cc; font-size: 14px; }
.brand-line .build-status { margin-left: 8px; color: #8291a5; font-size: 10px; }
.app-sidebar { position: fixed; z-index: 40; left: 0; top: 64px; bottom: 0; width: 292px; overflow-y: auto; padding: 18px; border-right: 1px solid var(--line); background: white; }
.header-controls { display: block; }
.document-config { display: block; }
.document-config h2 { margin-bottom: 12px; font-size: 15px; }
.document-type-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 20px; }
.document-type-tiles button { padding: 10px 5px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); cursor: pointer; }
.document-type-tiles button.active { border-color: var(--blue); color: var(--blue); background: #eff5ff; }
.document-config > .compact-field { display: none; }
.paper-fields { display: grid; gap: 10px; }
.compact-field { color: var(--muted); font-size: 11px; font-weight: 500; }
.compact-field input { width: 100%; height: 36px; border-color: var(--line); color: var(--ink); background: white; }
.compact-field input::placeholder { color: #a3acb8; }
.top-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.top-actions .api-key-config { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; color: var(--muted); }
.top-actions .api-key-config span { grid-column: 1 / -1; }
.top-actions .api-key-config input { width: 100%; height: 34px; border-color: var(--line); color: var(--ink); background: white; }
.top-actions .model-status { grid-column: 1 / -1; justify-self: start; padding: 4px 0; color: #9b6712; background: transparent; }
.top-actions .model-status.ready { color: var(--approved); }
.top-actions .button,.top-actions .small-button { width: 100%; min-height: 36px; padding: 8px; text-align: center; }
.top-actions .button.secondary { border: 1px solid var(--line); color: var(--ink); background: white; }
.top-actions #exportPdfBtn { grid-column: 1 / -1; }
.top-actions #exportProjectBtn,.top-actions #exportPdfBtn { position: fixed; z-index: 80; top: 14px; width: auto; min-width: 96px; height: 38px; }
.top-actions #exportProjectBtn { right: 132px; color: var(--ink); background: white; }
.top-actions #exportPdfBtn { right: 24px; }
.app-sidebar .batch-panel { display: none; margin: 22px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
body[data-document-type="paper"] .app-sidebar .batch-panel[aria-label="论文批次管理"],body[data-document-type="patent"] .app-sidebar .batch-panel[aria-label="专利批次管理"],body[data-document-type="research-achievement"] .app-sidebar .batch-panel[aria-label="项目批次管理"] { display: block; }
.batch-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.batch-heading strong,.batch-heading > span { grid-column: 1 / -1; }
.batch-heading > span { line-height: 1.45; }
.batch-heading .button,.batch-heading .small-button { padding: 8px 5px; text-align: center; }
.batch-options { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 14px 0 10px; }
.batch-options label { width: 100%; color: var(--muted); }
.batch-options input { width: 100%; height: 34px; }
.batch-options .small-button { width: 100%; }
.batch-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.batch-actions .button,.batch-actions .small-button { width: 100%; padding: 8px 4px; text-align: center; }
.batch-actions .primary { grid-column: 1 / -1; }
#batchMessage,#patentBatchMessage,#researchBatchMessage { line-height: 1.5; }
.batch-list { max-height: none; overflow: visible; }
.batch-row { grid-template-columns: 20px 1fr; gap: 7px; margin: 8px 0; padding: 9px; border: 1px solid var(--line); border-radius: 9px; }
.batch-row.active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(44,100,220,.10); }
.batch-number { grid-column: 2; font-weight: 700; color: var(--ink); }
.batch-file { grid-column: 2; }
.batch-row-actions { grid-column: 2; flex-wrap: wrap; }
.batch-warning { grid-column: 2; }
.workspace { margin-left: 292px; width: calc(100vw - 292px); height: calc(100vh - 64px); min-height: 0; grid-template-columns: minmax(560px,1fr) 310px; gap: 0; padding: 0; }
.preview-panel,.inspector { border-top: 0; border-bottom: 0; border-radius: 0; box-shadow: none; }
.preview-panel { grid-template-rows: 56px 1fr 34px; }
.toolbar { padding: 9px 16px; }
.stage-viewport { padding: 30px; background: #f1f4f8; }
.legend { font-size: 11px; }
.inspector { padding: 18px; }
.inspector .summary-card { padding: 11px; }
.section-heading h2 { font-size: 15px; }
.section-heading .eyebrow { display: none; }
.annotation-list { max-height: 230px; overflow-y: auto; }
.editor-card { min-height: 220px; }
@media(max-width:1250px){.app-sidebar{width:260px}.workspace{margin-left:260px;width:calc(100vw - 260px);grid-template-columns:minmax(520px,1fr) 290px}.zoom-control{display:none}}

/* v1.9.2 typography and visual hierarchy */
:root { font-family: "Segoe UI Variable", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
body { font-size: 14px; line-height: 1.5; letter-spacing: 0; }
button,input,textarea,select { font-family: inherit; }
.topbar { background: #0d1726; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.brand-line { gap: 14px; }
.brand-line h1 { font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.brand-line > span:not(.build-status) { padding-left: 14px; border-left: 1px solid #344154; color: #9eb4d2; font-size: 13px; }
.brand-line .build-status { max-width: 350px; overflow: hidden; color: #77879c; text-overflow: ellipsis; white-space: nowrap; }
.app-sidebar { padding: 20px 18px 28px; scrollbar-width: thin; }
.header-controls,.document-config,.paper-fields,.top-actions { width: 100%; min-width: 0; }
.paper-fields { align-items: stretch; }
.document-config h2,.batch-heading strong,.inspector h2 { color: #182235; font-size: 14px; font-weight: 720; letter-spacing: .01em; }
.document-type-tiles { width: 100%; gap: 8px; margin-bottom: 22px; }
.document-type-tiles button { min-width: 0; min-height: 42px; padding: 9px 4px; border-color: #d7dee8; font-size: 14px; font-weight: 560; }
.document-type-tiles button:hover { border-color: #90a9d6; color: #2455ad; }
.document-type-tiles button.active { border-color: #2d65d8; color: #1e57c7; background: #f1f6ff; box-shadow: 0 0 0 1px rgba(45,101,216,.08); }
.compact-field { gap: 6px; color: #718096; font-size: 11px; line-height: 1.25; }
.compact-field input,.batch-options input,.api-key-config input { border-color: #d7dee8; border-radius: 8px; font-size: 13px; outline: none; transition: border-color .15s,box-shadow .15s; }
.compact-field input:focus,.batch-options input:focus,.api-key-config input:focus { border-color: #4e7ddd; box-shadow: 0 0 0 3px rgba(44,100,220,.1); }
.paper-fields { gap: 13px; }
.top-actions { gap: 8px; padding-top: 16px; border-top: 1px solid #edf0f4; }
.top-actions .api-key-config { gap: 7px; font-weight: 550; }
.top-actions .model-status { margin: -1px 0 2px; font-size: 11px; font-weight: 650; }
.button,.small-button,.icon-button { font-weight: 620; letter-spacing: 0; }
.top-actions .button,.top-actions .small-button { border-radius: 8px; font-size: 12px; }
.top-actions .button.primary { background: #df352c; box-shadow: 0 3px 8px rgba(217,48,37,.14); }
.top-actions #exportProjectBtn,.top-actions #exportPdfBtn { top: 13px; height: 39px; padding: 0 15px; border-radius: 9px; font-size: 13px; }
.app-sidebar .batch-panel { margin-top: 24px; padding-top: 20px; }
.batch-heading { gap: 7px; }
.batch-heading > span { color: #8490a2; font-size: 11px; }
.batch-heading .button,.batch-heading .small-button { border: 1px solid #dbe1e9; background: #f8fafc; font-size: 11px; }
.batch-options { gap: 11px; }
.batch-options label { gap: 5px; font-size: 11px; }
.batch-actions { gap: 7px; }
.batch-actions .button,.batch-actions .small-button { min-height: 34px; border: 1px solid #dbe1e9; background: #f7f9fc; color: #334155; font-size: 11px; }
.batch-actions .button.primary { border-color: #2c64dc; color: white; background: #2c64dc; }
.batch-row { padding: 10px; border-color: #dce2ea; background: #fff; }
.batch-row:hover { border-color: #b6c3d7; }
.batch-number { font-size: 12px; }
.batch-file { padding: 0; font-size: 12px; font-weight: 560; line-height: 1.4; }
.batch-file small { color: #8390a2; font-size: 10px; font-weight: 400; }
.toolbar { color: #4b596d; background: #fff; }
.toolbar .small-button { border: 1px solid #e0e5ec; background: #f7f9fb; }
.icon-button { border: 1px solid #e0e5ec; background: white; }
.page-indicator { min-width: 112px; color: #718096; font-size: 11px; }
.zoom-control { font-size: 11px; }
.inspector { padding: 18px 17px 28px; }
.summary-card,.editor-card,.recognition-info { border-color: #dce2ea; border-radius: 10px; background: #fbfcfe; }
.summary-card { margin-bottom: 20px; }
.summary-label { font-size: 11px; font-weight: 560; }
#progressText { font-size: 15px; }
.section-heading { align-items: center; margin-bottom: 12px; }
.section-heading .small-button,.placement-grid .small-button { border: 1px solid #e0e5ec; background: #f6f8fb; font-size: 11px; }
.annotation-item { padding: 10px 11px; border-color: #dce2ea; }
.item-main strong { font-size: 12px; font-weight: 650; }
.item-main span { color: #8390a2; font-size: 10px; }
.editor-title strong { font-size: 14px; }
.field label { color: #64748b; font-size: 11px; font-weight: 600; }
.field input,.field textarea,.field select { border-color: #d7dee8; font-size: 13px; outline: none; }
.field input:focus,.field textarea:focus,.field select:focus { border-color: #4e7ddd; box-shadow: 0 0 0 3px rgba(44,100,220,.1); }
.approve-button { background: #2864df; font-size: 13px; }
.empty-state strong,.empty-editor strong { color: #253047; font-weight: 700; }
.empty-state span,.empty-editor span { color: #8390a2; font-size: 12px; }
