.task-hero > a { display: inline-block; margin-bottom: 10px; color: #285b50; font-weight: 680; }
.task-workspace { grid-template-columns: minmax(0, 1fr); }
.source-actions .task-actions { margin-top: 0; }
#workspace :is(button, summary, select) { touch-action: manipulation; }
.source-actions small, .quiet, .file-name { color: #5d655c; }
.source-actions .recognition-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.editors-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); align-items: start; gap: 14px; }
.view-buttons { display: none; margin-top: 0; }
.view-buttons button[aria-pressed=true] { background: #e3eee5; border-color: #2c5a50; }
.preview-wrap { position: relative; width: fit-content; max-width: 100%; overflow: hidden; border: 1px solid #d9d4c9; border-radius: 7px; background: #fff; isolation: isolate; }
#original { display: block; width: auto; height: auto; max-width: 100%; max-height: 60vh; }
.preview-wrap.selecting #original { cursor: crosshair; touch-action: none; }
#crop-overlay, #cell-highlight, #divider-overlay, .column-line { position: absolute; pointer-events: none; }
#crop-overlay { z-index: 1; border: 2px dashed #295f56; box-shadow: 0 0 0 100vmax #17272540; }
#cell-highlight { z-index: 2; background: #64bd8a40; outline: 2px solid #176947; outline-offset: -2px; }
#divider-overlay { inset: 0; }
.column-line { border-left: 1px dashed #1b6556; }
.file-name, .quiet { margin-block: 6px; font-size: .9rem; }
#highlight-caption:empty { display: none; }
.task-panel details { padding: 10px 0; border-top: 1px solid #e3dfd5; }
.task-panel summary { min-height: 44px; align-content: center; cursor: pointer; font-weight: 650; }
.task-panel details p { margin: 5px 0 10px; }
.crop-fields, .divider-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 8px; margin-bottom: 10px; }
.crop-fields label, .divider-fields label { display: grid; gap: 3px; font-size: .9rem; }
.crop-fields input, .divider-fields input { width: 100%; }
.table-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 8px; }
.table-heading h2 { margin-top: 0; }
#table-size { color: #526052; font-size: .9rem; font-weight: 650; }
#review { margin: 6px 0; }
.table-scroll { overflow: auto; max-height: 480px; border: 1px solid #cdd9d0; border-radius: 9px; }
#grid { width: 100%; border-collapse: separate; border-spacing: 0; }
#grid th, #grid td { padding: 0; border-right: 1px solid #dce5de; border-bottom: 1px solid #dce5de; }
#grid tr > :last-child { border-right: none; }
#grid tbody tr:last-child > * { border-bottom: none; }
#grid th, #grid thead td { position: sticky; z-index: 1; background: #eff4ee; color: #2f5147; padding: 2px 8px; font-size: .8rem; font-weight: 800; text-align: center; }
#grid thead th, #grid thead td { top: 0; z-index: 2; }
#grid tbody th { left: 0; }
#grid .header-cell { background: #e4efe6; font-weight: 750; }
#grid td[data-review] { background: #fff2c8; }
#grid td textarea { display: block; width: 100%; min-width: 103px; height: 53px; min-height: 53px; padding: 8px; border: 0; border-radius: 0; background: transparent; resize: vertical; line-height: 1.22; }
#grid td textarea:focus { box-shadow: inset 0 0 0 2px #206a51; outline: 0; background: #e9f8ef; }
#type-preview, #export-status { margin-bottom: 0; }
#copy-text { display: block; width: 100%; }
#divider-editor h3 { font-size: 1rem; }
.exports { padding-top: 12px; border-top: 1px solid #e3dfd5; }
@media (max-width: 800px) {
  .view-buttons { display: flex; }
  .editors-grid { grid-template-columns: minmax(0, 1fr); }
  #editors[data-view=table] .original-panel, #editors[data-view=original] .table-panel { display: none; }
  #grid td textarea { min-width: 99px; }
}

.source-actions.drag { outline: 2px dashed #28645b; outline-offset: -5px; background: #eef6ef; }
