#ocr-text{display:block;width:100%;box-sizing:border-box;padding:.6rem .7rem;line-height:1.6;font:inherit;margin:0 0 .6rem;border:1.5px solid #8f8572;border-radius:6px}
#ocr-review{margin-top:.6rem}

#crop-instructions { font-size: .875rem; color: var(--tk-muted, #5c5448); margin-bottom: .55rem; }
#crop-stage {
  position: relative;
  display: table;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  outline: 1px solid var(--tk-border-soft, #ddd6c8);
  cursor: crosshair;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
#crop-stage #ws-photo-preview {
  display: block;
  width: auto;
  height: auto;
  max-width: min(480px, calc(100vw - 3rem), 100%);
  max-height: min(52svh, 480px);
  border: 0;
  border-radius: 0;
  pointer-events: none;
}
#crop-frame {
  position: absolute;
  pointer-events: none;
  border: 2px solid #075877;
  outline: 1px solid #fff;
  box-shadow: 0 0 0 100vmax rgb(19 30 38 / .57);
}
#crop-controls { margin-top: .6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
#crop-summary { flex: 1 1 auto; font-size: .875rem; }
#crop-adjust { flex: 1 0 100%; font-size: .875rem; }
#crop-adjust summary { cursor: pointer; min-height: 44px; display: list-item; padding: .65rem .2rem; }
#crop-adjust label { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .5rem; align-items: center; }
#crop-adjust input { width: 100%; min-height: 44px; accent-color: var(--tk-accent, #1f5f8b); }

