/* ===== Fonts (bundled, SIL Open Font License) ===== */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

/* ===== Tokens ===== */
:root {
  --bg: #F3F5F7;
  --surface: #FFFFFF;
  --ink: #18212B;
  --muted: #5E6B78;
  --line: #D8DEE4;
  --hover: #EBEFF2;
  --accent: #1F6B4F;
  --accent-hover: #175540;
  --accent-soft: #E1EFE8;
  --on-accent: #FFFFFF;
  --canvas: #E3E7EB;
  --danger: #B3261E;
  --danger-soft: #FBEAE9;
  --shadow-page: 0 1px 2px rgba(20, 30, 40, .12), 0 6px 24px rgba(20, 30, 40, .08);
  --sidebar-w: 184px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
:root[data-theme="dark"] {
  --bg: #14191E;
  --surface: #1C232A;
  --ink: #E4E9EE;
  --muted: #98A5B1;
  --line: #2F3943;
  --hover: #26303A;
  --accent: #52B48C;
  --accent-hover: #6BC7A0;
  --accent-soft: #1E3A30;
  --on-accent: #0E1A15;
  --canvas: #0E1216;
  --danger: #F28B82;
  --danger-soft: #3A1F1E;
  --shadow-page: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 28px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: inherit; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

.view { height: 100%; }

/* ===== Home ===== */
.view-home { display: grid; place-items: center; padding: 24px; position: relative; }
.home { width: 100%; max-width: 720px; }
.sheet {
  position: relative;
  background: var(--surface);
  border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent);
  border-radius: 4px 28px 4px 4px;
  padding: 56px 48px 44px;
  text-align: center;
}
.sheet-fold {
  position: absolute; top: -1.5px; right: -1.5px;
  width: 30px; height: 30px;
  background: linear-gradient(225deg, var(--bg) 50%, var(--line) 50%);
  border-radius: 0 28px 0 4px;
}
.sheet h1 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.015em; }
.lede { margin: 10px 0 36px; color: var(--muted); }
.home-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.big-btn {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
  transition: border-color .15s, background-color .15s;
}
.big-btn svg { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.5; }
.big-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.drop-hint { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.home-error {
  margin: 20px auto 0; max-width: 520px;
  padding: 10px 14px; border-radius: 6px;
  background: var(--danger-soft); color: var(--danger);
  font-size: 14px; text-align: left;
}
.drop-overlay {
  position: fixed; inset: 0; display: none; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 3px solid var(--accent); pointer-events: none;
}
.drop-overlay span { background: var(--accent); color: var(--on-accent); padding: 10px 18px; border-radius: 6px; font-weight: 500; }
body.dragging .drop-overlay { display: grid; }

/* ===== Editor chrome ===== */
.view-editor { display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 12px 0 8px; flex: none; min-width: 0;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; padding-left: 6px; font-weight: 600; white-space: nowrap; }
.brand svg { color: var(--accent); width: 20px; height: 20px; }
.tabs { display: flex; align-items: flex-end; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; height: 100%; padding-top: 8px; }
.tab {
  position: relative; display: flex; align-items: center; flex: 0 1 auto; min-width: 90px; max-width: 240px;
  height: 36px; border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0;
  background: none; color: var(--muted);
}
.tab:hover { background: var(--hover); color: var(--ink); }
.tab.active { background: var(--bg); border-color: var(--line); color: var(--ink); }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--bg); }
.tab-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 4px 0 12px; border: 0; background: none; color: inherit; font-size: 14px; font-weight: 500; }
.tab-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-dirty { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.tab-caret { width: 14px; height: 14px; flex: none; opacity: 0; }
.tab.active .tab-caret { opacity: 1; }
.tab-close { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border: 0; border-radius: 4px; background: none; color: var(--muted); }
.tab-close:hover { background: var(--line); color: var(--ink); }
.tab-close svg { width: 13px; height: 13px; stroke-width: 2.2; }
.topbar .theme-btn { margin-left: 8px; }
.topbar-spacer { flex: 1; }
.btn {
  height: 34px; padding: 0 14px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.btn:hover { background: var(--hover); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-quiet { border-color: transparent; background: none; color: var(--muted); }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 6px; background: none; color: var(--ink); }
.icon-btn:hover { background: var(--hover); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }

.toolbar {
  display: flex; align-items: center; gap: 2px;
  min-height: 46px; padding: 6px 10px; flex: none;
  background: var(--surface); border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: thin;
}
.tb-select {
  height: 32px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface); padding: 0 6px; font-size: 14px; flex: none;
}
.tb-font { width: 150px; }
.tb-size { width: 62px; margin-left: 4px; }
.tb-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; flex: none; }
.tb-btn {
  position: relative; display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border: 0; border-radius: 6px;
  background: none; color: var(--ink);
}
.tb-btn:hover { background: var(--hover); }
.tb-btn.active { background: var(--accent-soft); color: var(--accent); }
.tb-btn:disabled { opacity: .38; cursor: default; background: none; }
.tb-end { flex: 1; min-width: 12px; }
.glyph { font: 500 16px/1 var(--font); }
.glyph.g-b { font-family: var(--font); font-weight: 700; }
.glyph.g-i { font: italic 500 17px/1 Georgia, "Times New Roman", serif; }
.glyph.g-u { text-decoration: underline; text-underline-offset: 2px; font-family: var(--font); font-weight: 500; }
.glyph.g-s { text-decoration: line-through; font-family: var(--font); font-weight: 500; }
.glyph.g-text { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: 18px; }
.glyph.g-a { font-family: var(--font); font-weight: 500; margin-top: -5px; }
.glyph sup, .glyph sub { font-size: 9px; font-family: var(--font); }
.split { display: flex; flex: none; }
.split-main { border-radius: 6px 0 0 6px; }
.split-main svg { margin-top: -5px; }
.split-arrow { width: 18px; border-radius: 0 6px 6px 0; }
.split-arrow svg { width: 13px; height: 13px; }
.color-bar { position: absolute; left: 7px; right: 7px; bottom: 5px; height: 4px; border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* ===== Workspace: page view + document ===== */
.workspace { flex: 1; display: flex; min-height: 0; }
.sidebar {
  position: relative; flex: none; width: var(--sidebar-w);
  display: flex; flex-direction: column;
  background: var(--surface); border-right: 1px solid var(--line);
  transition: width .18s ease, border-color .18s;
}
.sidebar.collapsed { width: 0; border-right-color: transparent; }
.sidebar.collapsed .thumbs-host, .sidebar.collapsed .sidebar-foot { visibility: hidden; }
.thumbs-host { flex: 1; min-height: 0; overflow: hidden; }
.doc-thumbs { height: 100%; overflow-y: auto; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.thumb { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.thumb-img { position: relative; background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 2px; line-height: 0; }
.thumb-img canvas { display: block; width: 100%; height: 100%; border-radius: 2px; }
.thumb-num { font-size: 12px; color: var(--muted); line-height: 1; padding: 3px 7px; border-radius: 10px; }
.thumb:hover .thumb-img { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.thumb.current .thumb-img { box-shadow: 0 0 0 2px var(--accent); }
.thumb.current .thumb-num { background: var(--accent); color: var(--on-accent); }
.thumb.ctx-target .thumb-img { box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px var(--accent-soft); }
.sidebar-foot { padding: 10px 12px; border-top: 1px solid var(--line); }
.btn-block { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-block svg { width: 16px; height: 16px; }
.sidebar-toggle {
  position: absolute; top: 50%; right: -13px; transform: translateY(-50%); z-index: 5;
  width: 24px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.sidebar-toggle:hover { color: var(--ink); border-color: var(--accent); }
.sidebar-toggle svg { width: 16px; height: 16px; transition: transform .18s; }
.sidebar.collapsed .sidebar-toggle { right: -25px; border-radius: 0 8px 8px 0; }
.sidebar.collapsed .sidebar-toggle svg { transform: rotate(180deg); }

.doc-area { flex: 1; min-width: 0; display: flex; background: var(--canvas); }
.doc-pages {
  flex: 1; overflow: auto;
  padding: 28px 32px 64px;
  display: flex; flex-direction: column; align-items: safe center; gap: 12px;
}
.page-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: none; }
.page {
  position: relative; flex: none;
  background: #FFFFFF; box-shadow: var(--shadow-page);
  color: #000;
}
.page canvas { display: block; width: 100%; height: 100%; }
.page-label { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.layer { position: absolute; inset: 0; }

/* ===== Placed objects ===== */
.obj { position: absolute; color: #000; }
.obj.selected { outline: 1.5px solid #1F6B4F; outline-offset: 3px; }
.obj-lock, .obj-resize { position: absolute; display: none; z-index: 3; }
.obj-lock {
  left: -16px; top: -16px; width: 20px; height: 20px; border-radius: 50%;
  background: #1F6B4F; cursor: pointer; place-items: center; touch-action: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.obj-lock svg { width: 12px; height: 12px; color: #fff; stroke-width: 2.2; }
.obj-lock .i-open { display: none; }
.obj[data-locked="0"] > .obj-lock { background: #C2410C; }
.obj[data-locked="0"] > .obj-lock .i-open { display: block; }
.obj[data-locked="0"] > .obj-lock .i-closed { display: none; }
.obj[data-locked="0"] { cursor: move; }
.obj[data-locked="0"]:not(.selected):hover { outline: 1px dashed #C2410C; outline-offset: 3px; }
.obj[data-locked="0"] * { cursor: move; }
.obj[data-locked="0"] > .obj-lock, .obj[data-locked="0"] > .obj-lock * { cursor: pointer; }
.obj-outline { position: absolute; inset: 0; pointer-events: none; border: 0 solid currentColor; }
.obj-resize {
  right: -7px; bottom: -7px; width: 11px; height: 11px;
  background: #fff; border: 1.5px solid #1F6B4F; border-radius: 2px;
  cursor: nwse-resize; touch-action: none;
}
.obj.selected > .obj-lock, .obj:hover > .obj-lock { display: grid; }
.obj.selected > .obj-resize { display: block; }
.obj.dragging { pointer-events: none; opacity: .85; }
.obj.dragging * { pointer-events: none; }
body.drag-active, body.drag-active * { cursor: grabbing !important; user-select: none; }

/* Objects placed in a line of text */
.obj.inline { position: relative; display: inline-block; vertical-align: middle; margin: 0 2px; left: auto; top: auto; text-indent: 0; line-height: normal; }
.obj.inline.obj-table { vertical-align: top; }

/* Fillable textbox */
.obj-field .fld {
  width: 100%; height: 100%; padding: 1px 3px; overflow: hidden;
  background: rgba(46, 104, 214, .09); outline: none; white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: Helvetica, Arial, sans-serif; line-height: 1.2; color: #000; cursor: text;
}
.obj-field .fld:empty::before { content: attr(data-placeholder); color: #8C99A6; pointer-events: none; }

/* Snap guides */
.guides { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.guide-h { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed #D6336C; }
.guide-v { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed #D6336C; }

.obj-text { min-width: 24px; }
.obj-text .tb {
  width: 100%; min-height: inherit; padding: 3px 5px; min-width: 24px;
  outline: none; white-space: pre-wrap; overflow-wrap: anywhere;
  line-height: 1.25; cursor: text;
}
.obj-text:not(.selected):hover { outline: 1px dashed #8C99A6; outline-offset: 3px; }
.obj-text .tb:empty::before { content: "Type here"; color: #9AA5B0; pointer-events: none; }

.obj-image img { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; cursor: move; touch-action: none; }

.obj-table table { border-collapse: collapse; table-layout: fixed; }
.obj-table td {
  border: 1px solid #000; padding: 2px 4px; vertical-align: top;
  overflow: hidden; overflow-wrap: anywhere; outline: none; line-height: 1.25;
}
.obj-table td:focus { box-shadow: inset 0 0 0 2px rgba(31, 107, 79, .45); }

.obj-checkbox, .obj-radio { cursor: pointer; touch-action: none; }
.cbx, .rdo { width: 100%; height: 100%; background: #fff; border: 1.5px solid #333; display: grid; place-items: center; }
.cbx { border-radius: 2px; }
.cbx svg { width: 80%; height: 80%; stroke-width: 3; color: #000; visibility: hidden; }
.obj-checkbox[aria-checked="true"] .cbx svg { visibility: visible; }
.rdo { border-radius: 50%; }
.rdo::after { content: ""; width: 50%; height: 50%; border-radius: 50%; background: #000; visibility: hidden; }
.obj-radio[aria-checked="true"] .rdo::after { visibility: visible; }

/* Hide editing chrome while exporting */
body.exporting .obj { outline: none !important; }
body.exporting .obj-lock, body.exporting .obj-resize, body.exporting .obj-outline, body.exporting .guides { display: none !important; }
body.exporting .export-hide { visibility: hidden !important; }
body.exporting .obj-field .fld { background: none; }
body.exporting .obj-text .tb:empty::before { content: none; }
body.exporting .obj-table td:focus { box-shadow: none; }

/* ===== Popovers & menus ===== */
.palette, .menu {
  position: fixed; z-index: 50;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
}
.palette { padding: 10px; display: grid; grid-template-columns: repeat(6, 22px); gap: 6px; }
.swatch { width: 22px; height: 22px; border-radius: 4px; border: 1px solid rgba(0,0,0,.18); padding: 0; }
.swatch:hover { transform: scale(1.12); }
.swatch.none { background: linear-gradient(135deg, #fff 45%, #D93025 45%, #D93025 55%, #fff 55%); }
.palette-label { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.menu { padding: 4px; min-width: 180px; }
.menu-sep { height: 1px; background: var(--line); margin: 4px 6px; }
.menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 10px; border: 0; border-radius: 5px; background: none;
  font-size: 14px; text-align: left;
}
.menu button:hover, .menu button:focus-visible, .menu .has-sub.open > button { background: var(--hover); outline: none; }
.menu button.danger { color: var(--danger); }
.menu button span { flex: 1; }
.menu svg { width: 16px; height: 16px; flex: none; }
.menu kbd { font: inherit; font-size: 12px; color: var(--muted); }
.menu .has-sub { position: relative; }
.submenu { position: absolute; top: -5px; left: calc(100% + 2px); display: none; }
.submenu.flip { left: auto; right: calc(100% + 2px); }
.has-sub:hover > .submenu, .has-sub.open > .submenu, .has-sub:focus-within > .submenu { display: block; }
.file-menu { min-width: 210px; }

/* ===== Dialogs ===== */
.modal {
  border: 1px solid var(--line); border-radius: 10px; padding: 0;
  background: var(--surface); color: var(--ink);
  width: min(420px, calc(100vw - 32px));
  box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
}
.modal-wide { width: min(620px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(10, 16, 22, .45); }
.modal form { padding: 22px 22px 18px; }
.modal h2 { margin: 0 0 16px; font-size: 18px; font-weight: 600; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-grid label, .field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.modal input {
  height: 36px; padding: 0 10px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 15px;
}
.modal-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.modal-text { margin: 0; color: var(--muted); }
.info-list { display: grid; grid-template-columns: max-content 1fr; gap: 9px 18px; margin: 0; font-size: 14px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; overflow-wrap: anywhere; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.sig-canvas {
  display: block; width: 100%; aspect-ratio: 560 / 200; height: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  cursor: crosshair; touch-action: none;
  background-image: linear-gradient(#C9D1D9, #C9D1D9);
  background-size: 86% 1px; background-position: center 75%; background-repeat: no-repeat;
}

/* ===== Loading & toast ===== */
.loading { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(10, 16, 22, .35); }
.loading-card { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 8px; background: var(--surface); box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 90; padding: 10px 16px; border-radius: 6px;
  background: var(--ink); color: var(--bg); font-size: 14px; max-width: calc(100vw - 32px);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .sheet { padding: 40px 20px 32px; }
  .sheet h1 { font-size: 28px; }
  .home-actions { grid-template-columns: 1fr; }
  .big-btn { flex-direction: row; justify-content: center; padding: 16px; }
  .doc-pages { padding: 16px 8px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: 0s !important; }
  .spinner { animation: spin 1.6s linear infinite !important; }
}

/* ===== Printing (only the prepared page images are printed) ===== */
.print-area { display: none; }
@media print {
  @page { margin: 0; }
  html, body { height: auto; background: #fff; }
  :root { padding: 0; }
  body > *:not(.print-area) { display: none !important; }
  .print-area { display: block; }
  .print-page { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; break-after: page; }
  .print-page:last-child { break-after: auto; }
  .print-page img { max-width: 100%; max-height: 100%; }
}
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger); filter: brightness(.92); }

.tb-labeled { width: auto; padding: 0 8px; gap: 5px; display: flex; font-size: 13px; font-weight: 600; }
.modal-body { padding: 22px 22px 18px; }
.choice-group { border: 0; padding: 0; margin: 0 0 14px; display: flex; gap: 18px; }
.choice-group legend { font-size: 13px; color: var(--muted); margin-bottom: 6px; padding: 0; }
.choice { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; margin: 0 0 10px; line-height: 1.35; }
.choice input { margin-top: 2px; accent-color: var(--accent); }
.modal input[type="radio"], .modal input[type="checkbox"] { height: auto; width: auto; }
.modal-error { color: var(--danger); }
.obj-table[data-locked="1"] > .obj-resize { display: none !important; }
.obj-text.ocr .tb { padding: 0 2px; }

#delRangeBox { margin-top: 14px; }
