/* Modified by BitCube, 2026-10-19: restrained source-linked tender workbench. */
.t-hub-tabs { display: flex; flex-wrap: wrap; gap: 24px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.t-hub-tabs [role="tab"] { appearance: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--text-2); padding: 14px 0; font: inherit; cursor: pointer; }
.t-hub-tabs [aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); font-weight: 600; }
.t-hub-tabs [role="tab"]:disabled { opacity: .5; cursor: default; }
#th-risk, #th-original, #th-analysis { min-width: 0; }
.tender-reader.tr-inline { position: relative; inset: auto; width: 100%; height: min(900px, 80dvh); min-height: 400px; margin: 0; border-radius: 0; box-sizing: border-box; }
.tr-inline .tr-close { width: auto; min-width: 54px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
@media (max-width: 799px) { .tr-inline .tr-toolbar h2 { padding-right: 64px; } }
@media (max-width: 600px) { .t-hub-tabs { gap: 18px; } .t-hub-tabs [role="tab"] { font-size: 13px; } }
#view-tender > .page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tender-workspace { display: grid; grid-template-columns: clamp(280px, 15vw, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.tender-workspace [hidden] { display: none !important; }
.tender-workspace-main { min-width: 0; scroll-margin-top: 96px; }
.t-history-sidebar { position: sticky; top: 92px; min-width: 0; max-height: calc(100dvh - 110px); display: flex; flex-direction: column; border-right: 1px solid var(--border); padding-right: 16px; }
.t-history-toolbar, .t-history-heading { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.t-history-toolbar > .btn-primary { flex: 1; }
.t-history-heading { margin: 22px 0 12px; }
.t-history-heading h2 { font-size: 14px; margin: 0; }
.t-history-filters { font-size: 12px; color: var(--text-2); margin: 12px 0; }
.t-history-filters > summary { cursor: pointer; }
.t-history-filters label { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.t-history-list { overflow-y: auto; min-height: 72px; overscroll-behavior-y: auto; }
.t-history-row { position: relative; }
.t-history-entry { display: block; width: 100%; min-height: 84px; padding: 12px 38px 12px 10px; text-align: left; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.t-history-delete { position: absolute; right: 4px; top: 8px; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; background: transparent; color: var(--muted); border: 0; border-radius: 4px; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.t-history-delete:hover { background: var(--panel-2); color: var(--text); }
.t-history-delete:focus-visible { outline: 2px solid var(--accent-500); }
.t-history-delete:disabled { opacity: .4; cursor: wait; }
.t-history-entry > span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; }
.t-history-entry > small { display: block; color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 5px; overflow-wrap: anywhere; }
.t-history-entry:hover { background: var(--panel-2); }
.t-history-entry.t-history-current { border-left-color: var(--accent-500); background: var(--accent-soft); }
.t-history-entry:focus-visible { outline: 2px solid var(--accent-500); outline-offset: -2px; }
.t-history-entry:disabled { opacity: .6; cursor: wait; }
.t-history-toggle, #t-history-close { display: none; }
.t-history-backdrop { display: none; }
.t-current-document { border-block: 1px solid var(--border); margin-bottom: 20px; padding: 12px 0; }
.t-current-toolbar { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.t-document-heading { min-width: 0; flex: 1; }
.t-current-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.t-reparse-form { margin:0; padding:0; }
.t-reparse-form p { font-size: 12px; line-height: 1.8; margin: 10px 0; }
.t-document-heading > .sub { display: block; margin: 0 0 5px; font-size: 11px; }
.t-document-title-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
#td-current-title { min-width: 0; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; }
.t-document-title-row > .btn { flex: none; }
#t-current-name { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.t-name-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block: 12px; }
.t-name-form input { flex: 1; min-width: min(240px, 100%); }
#td-name-error { flex-basis: 100%; font-size: 12px; }
.tender-file-details { margin-top: 10px; font-size: 12px; }
.tender-file-details > summary { cursor: pointer; color: var(--text-2); padding: 6px 0; }
.t-document-facts { margin-block: 10px; }
.t-document-facts > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.t-document-facts dt { color: var(--muted); }
.t-document-facts dd { margin: 0; overflow-wrap: anywhere; }
.t-project-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 16px; }
.t-project-actions label { display: flex; flex-direction: column; gap: 6px; flex: 0 1 560px; min-width: min(220px, 100%); }
.t-history-file-title { font-size: 18px; overflow-wrap: anywhere; }
.t-history-notice { padding-block: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.t-duplicate { padding-block: 20px; }
.t-duplicate h2 { font-size: 18px; }
.t-duplicate p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.t-duplicate .btn, #p-tender-documents .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
@media(max-width: 1399px) {
  .tender-workspace { grid-template-columns: minmax(0, 1fr); }
  .t-history-toggle, #t-history-close { display: inline-flex; }
  .t-history-sidebar { display: none; position: fixed; left: 0; top: var(--topbar-h); bottom: 0; width: min(310px, calc(100vw - 32px)); max-height: none; padding: 20px 16px; background: var(--panel); z-index: 45; overflow-y: auto; }
  .tender-workspace.history-open .t-history-sidebar { display: flex; }
  .t-history-list { overscroll-behavior-y: contain; }
  .t-history-backdrop { display: block; position: fixed; inset: var(--topbar-h) 0 0; background: rgba(0,0,0,.25); z-index: 44; }
}
.tender-upload { display: flex; align-items: center; gap: 24px; padding: 16px 0 24px; }
.tender-upload .dropzone { flex: 1; min-width: 0; min-height: 100px; padding: 16px; margin: 0; border-style: dashed; border-radius: 5px; }
.tender-upload .dz-icon { display: none; }
.tender-upload .dz-sub { overflow-wrap: anywhere; }
.tender-upload-actions { flex: 0 1 300px; min-width: 0; }
.tender-upload-actions p { font-size: 11px; margin: 6px 0 12px; line-height: 1.7; }
.tender-engine { border: 0; margin: 0; padding: 0; min-width: 0; }
.tender-engine legend { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.tender-engine .check { display: flex; margin-block: 8px; font-size: 13px; line-height: 1.6; cursor: pointer; }
.tender-engine input { accent-color: var(--accent-500); }
.tender-aux { border-top: 1px solid var(--border); margin-top: 20px; }
.tender-aux > summary { cursor: pointer; color: var(--text-2); padding: 16px 0; font-size: 13px; }
.tender-aux > .panel { margin: 0; }
.tw-report-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin: 8px 0 18px; }
.tw-report-head h2 { font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; }
.tw-report-head p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.tw-report-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 8px; }
.tw-report-meta p { margin: 0; }
.tw-engine-tag { color: var(--accent-500); background: var(--accent-soft); border: 1px solid var(--border); border-radius: 3px; padding: 3px 8px; font-size: 12px; line-height: 1.5; flex: none; }
.tw-report-head .btn { flex: none; }
.tw-review { padding: 12px 16px; background: var(--warn-soft); border-left: 3px solid var(--amber); margin-bottom: 20px; font-size: 12px; }
.tw-review > summary { cursor: pointer; font-weight: 550; }
.tw-review p { margin: 12px 0 6px; line-height: 1.8; overflow-wrap: anywhere; }
.tw-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: var(--panel); border-block: 1px solid var(--border); }
.tw-results { min-width: 0; }
.tw-tabs { display: flex; gap: 0 20px; flex-wrap: wrap; padding: 0 20px; border-bottom: 1px solid var(--border); }
.tw-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 17px 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.tw-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.tw-tabs span { font-size: 11px; margin-left: 3px; }
#tw-items { padding: 0 20px 20px; max-height: 80dvh; overflow-y: auto; overscroll-behavior-y: auto; }
.tw-result-row { padding: 20px 0; border-bottom: 1px solid var(--border); }
.tw-item-heading { display: flex; align-items: baseline; gap: 12px; }
.tw-item-heading h3 { font-size: 14px; margin: 0; }
.tw-item-heading .tw-item-number { font-variant-numeric: tabular-nums; flex: none; color: var(--muted); }
.tw-item-heading span { font-size: 11px; color: var(--muted); }
.tw-result-row p, .tw-score-table p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.9; margin: 10px 0; }
.tw-citations { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 9px; }
.tw-source-link { border: 0; background: none; color: var(--accent-500); font: inherit; font-size: 11px; cursor: pointer; padding: 4px 0; text-align: left; }
.tw-table-wrap { overflow-x: auto; max-width: 100%; }
.tw-score-table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.tw-score-table th { background: var(--panel-2); font-size: 12px; color: var(--muted); font-weight: 500; text-align: left; }
.tw-score-table th, .tw-score-table td { padding: 16px 10px; border: 0; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 13px; overflow-wrap: anywhere; }
.tw-score-table th:first-child { width: 24%; }
.tw-score-table th:nth-child(2) { width: 13%; }
.tw-origin { color: var(--muted); font-size: 11px; }
.tw-score-table .tw-origin { display: block; margin-top: 8px; }
.tw-score-table summary { cursor: pointer; line-height: 1.9; }
.tw-footnote { font-size: 11px; line-height: 1.7; color: var(--muted); padding-block: 12px; overflow-wrap: anywhere; }
.tw-evidence { min-width: 0; border-left: 1px solid var(--border); padding: 16px 20px; scroll-margin-top: 90px; }
.tw-source-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tw-source-head h3 { font-size: 15px; margin: 0; }
.tw-source-modes { display: flex; gap: 12px; }
.tw-source-head { flex-wrap: wrap; }
.tw-source-modes button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 0; font: inherit; color: var(--muted); font-size: 12px; cursor: pointer; }
.tw-source-modes button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--text); }
#tw-source-search { width: 100%; margin-bottom: 14px; }
#tw-original { max-height: 68dvh; overflow: auto; overscroll-behavior-y: auto; }
.tw-original-block { padding: 14px 10px; border-bottom: 1px solid var(--border); }
.tw-original-block small, .tw-original-cell small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 8px; }
.tw-original-block p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.9; }
.tw-original-table h4 { margin: 12px 0; font-size: 12px; line-height: 1.8; }
.tw-original-table table { border-collapse: collapse; width: max-content; min-width: 100%; }
.tw-original-cell { border: 1px solid var(--border); white-space: pre-wrap; min-width: 90px; max-width: 320px; padding: 12px; font-size: 12px; line-height: 1.8; vertical-align: top; overflow-wrap: anywhere; }
.tw-selected { background: var(--accent-soft); box-shadow: inset 3px 0 var(--accent-500); }
.tw-empty { padding: 36px 12px; color: var(--muted); font-size: 13px; line-height: 1.8; }
@media(max-width: 999px) {
  .tw-layout { grid-template-columns: minmax(0, 1fr); }
  .tw-evidence { border-left: 0; border-top: 1px solid var(--border); }
  #tw-items { max-height: none; }
  .tender-upload { align-items: stretch; }
  .tender-upload-actions { flex-basis: 240px; }
}
@media(max-width: 600px) {
  .tender-upload { flex-direction: column; gap: 14px; }
  .tender-upload-actions { flex-basis: auto; }
  .tw-report-head { flex-direction: column; gap: 12px; }
  .t-current-toolbar { flex-wrap: wrap; }
  .t-document-heading { flex-basis: 100%; }
  .t-current-actions { flex: 1 1 100%; }
  .t-document-title-row { flex-wrap: wrap; }
  .tw-tabs { gap: 0 16px; padding-inline: 12px; }
  #tw-items { padding-inline: 12px; }
  .tw-evidence { padding: 16px 12px; }
  .tw-score-table th, .tw-score-table td { padding: 12px 6px; font-size: 12px; }
}
.t-task-panel { border-bottom: 1px solid var(--border, #dce1e5); padding: 0 0 16px; margin-bottom: 20px; }
.t-task-heading, .t-task-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.t-task-heading h2 { font-size: 15px; margin: 0; }
.t-task-row { padding: 12px 0; border-bottom: 1px solid var(--border, #dce1e5); }
.t-task-info { min-width: 0; }
.t-task-info strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.t-task-info > span { font-size: 12px; color: var(--muted, #66727b); }
.t-task-info p { margin: 4px 0; }
.t-task-info progress { width: 220px; max-width: 100%; height: 6px; accent-color: #287d69; }
.t-task-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.t-task-history summary { padding: 8px 0; font-size: 12px; cursor: pointer; }
@media (max-width: 600px) { .t-task-row { align-items: flex-start; flex-direction: column; gap: 8px; } }

.tender-reader { width: min(1540px, calc(100vw - 32px)); height: calc(100dvh - 32px); max-width: none; max-height: none; margin: auto; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); color: var(--text); overflow: hidden; }
.tender-reader::backdrop { background: rgba(15, 20, 24, .5); }
.tender-reader[open] { display: flex; flex-direction: column; }
.tr-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--border); flex: none; }
.tr-toolbar h2 { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; margin: 0; min-width: 0; }
.tr-tools { display: flex; gap: 10px; align-items: center; flex: none; }
.tr-zoom-label { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.tr-zoom-label select { width: 110px; }
.tr-close { width: 34px; height: 34px; padding: 0; justify-content: center; font-size: 22px; }
#tr-toc-toggle { display: none; }
.tr-body { min-height: 0; flex: 1; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.tr-sidebar { --level: 1; border-right: 1px solid var(--border); padding: 16px 12px; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.tr-sidebar h3 { font-size: 13px; margin: 0 0 12px; }
#tr-outline { overflow-y: auto; margin-top: 12px; overscroll-behavior-y: contain; }
#tr-outline button { border: 0; background: none; color: var(--text-2); display: flex; gap: 8px; justify-content: space-between; text-align: left; width: 100%; padding: 10px 8px 10px calc(8px + (var(--level) - 1) * 12px); font: inherit; font-size: 12px; line-height: 1.7; cursor: pointer; }
#tr-outline button span { min-width: 0; overflow-wrap: anywhere; }
#tr-outline button small { flex: none; color: var(--muted); }
#tr-outline button:hover, #tr-outline .tr-current { background: var(--accent-soft); color: var(--accent-500); }
.tr-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.tr-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 16px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--border); }
#tr-paging { display: flex; gap: 8px; align-items: center; }
#tr-paging[hidden] { display: none; }
#tr-paging label { display: flex; align-items: center; gap: 6px; }
#tr-page { width: 70px; padding: 5px; }
#tr-error:empty { display: none; }
#tr-error { padding: 10px 16px; margin: 0; font-size: 12px; overflow-wrap: anywhere; }
#tr-view { flex: 1; min-height: 0; min-width: 0; overflow: auto; background: #edf0f2; overscroll-behavior: contain; }
#tr-view iframe { display: block; width: 100%; height: 100%; border: 0; background: white; }
#tr-view img { display: block; margin: 16px auto; box-shadow: 0 1px 6px #0002; background: white; }
#tr-view pre { background: white; color: #20272c; font-family: inherit; font-size: 14px; line-height: 1.9; margin: 16px; padding: 24px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 799px) {
  .tender-reader { width: calc(100vw - 12px); height: calc(100dvh - 12px); }
  .tr-toolbar { flex-direction: column; align-items: stretch; padding: 12px; gap: 10px; position: relative; }
  .tr-toolbar h2 { padding-right: 36px; }
  .tr-close { position: absolute; top: 10px; right: 10px; }
  .tr-tools { justify-content: space-between; gap: 6px; flex-wrap: wrap; }
  .tr-body { grid-template-columns: minmax(0, 1fr); position: relative; }
  .tr-sidebar { display: none; position: absolute; inset: 0 auto 0 0; width: min(280px, 85%); background: var(--panel); z-index: 2; box-shadow: 8px 0 20px #0002; }
  .tender-reader.toc-open .tr-sidebar { display: flex; }
  #tr-toc-toggle { display: inline-flex; }
  .tr-zoom-label { gap: 4px; }
  .tr-zoom-label select { width: 100px; }
  .tr-meta { padding: 8px 10px; }
}

/* Modified by BitCube, 2026-10-22: readable work surface at native desktop scale. */
@media (min-width: 1400px) {
 .t-task-info strong { font-size: 15px; line-height: 1.7; }
 .t-task-info > span, .t-task-info p { font-size: 13px; line-height: 1.8; }
 #td-current-title { font-size: 16px; }
 .t-document-heading > .sub, #t-current-name, .tender-upload-actions p, .tender-engine legend { font-size: 12px; }
 .t-history-heading h2, .t-task-heading h2 { font-size: 16px; }
 .tw-result-row p, .tw-score-table p, .tw-original-block p { font-size: 14px; }
}

/* PDF originals form one scrollable document; only nearby bitmaps stay decoded. */
#tr-view.tr-pdf-scroll{position:relative;overflow-anchor:auto;}
.tr-pdf-page{position:relative;display:block;flex:none;width:min(calc(100% - 32px),1100px);aspect-ratio:595 / 842;margin:16px auto;background:white;box-shadow:0 1px 6px #0002;}
.tr-pdf-page::before{content:"第 " attr(data-reader-page) " 页 · 滚动加载";position:absolute;inset:24px 8px auto;text-align:center;color:#68747c;font-size:13px;}
.tr-pdf-page.tr-pdf-loaded::before{display:none;}
#tr-view .tr-pdf-page img{position:absolute;inset:0;width:100%;height:100%;display:block;margin:0;box-shadow:none;}
.tr-pdf-retry{position:absolute;top:65px;left:50%;transform:translateX(-50%);max-width:90%;white-space:normal;}

/* Clear workbench zones: file identity, job progress and file contents. */
.tender-workspace-main{display:flex;flex-direction:column;gap:16px;}
#t-main>.t-current-document,#t-main>.t-task-panel,#t-main>.tender-upload,#t-main>#t-hub{margin:0;padding:20px;border:1px solid var(--border);border-radius:9px;background:var(--panel);}
.t-zone-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px;}
.t-zone-heading h2{font-size:16px;margin:0;}
.t-zone-heading>.sub{font-size:12px;}
.t-task-heading{align-items:flex-start;}
.t-task-heading p{font-size:12px;line-height:1.7;margin:6px 0 0;}
.t-task-row:last-child{border-bottom:0;padding-bottom:0;}
.t-task-row{align-items:flex-start;}
.t-task-time{display:block;color:var(--muted);font-size:11px;line-height:1.8;}
.t-task-info>.t-task-relation{display:inline-block;color:var(--accent-500);background:var(--accent-soft);padding:2px 7px;border-radius:4px;margin-bottom:5px;font-size:11px;}
.t-task-empty{font-size:12px;line-height:1.8;color:var(--muted);padding-top:12px;}
.t-task-history{margin-top:12px;padding:0 12px;background:var(--panel-2);border-radius:6px;}
.t-task-history>.t-task-row{padding-bottom:12px;}
.t-document-facts>div:last-child{border-bottom:0;}
#t-result:empty::before{content:"从左侧选择一条文件记录查看结果，或在上方上传文件开始解析。";display:block;padding:30px 0;color:var(--muted);font-size:13px;line-height:1.8;}
.t-result-notice{padding:24px;background:var(--panel-2);border:1px solid var(--border);border-radius:7px;}
.t-result-notice h3{font-size:16px;margin-bottom:12px;}
.t-result-notice p{font-size:13px;line-height:1.8;color:var(--text-2);margin-bottom:14px;}
.t-result-notice .sub{font-size:12px;margin:14px 0 0;color:var(--muted);}
#t-hub,#t-current-document{scroll-margin-top:96px;}
@media(max-width:600px){#t-main>.t-current-document,#t-main>.t-task-panel,#t-main>.tender-upload,#t-main>#t-hub{padding:14px;}.t-zone-heading{align-items:flex-start;gap:6px;flex-direction:column;}.t-result-notice{padding:16px;}.t-result-notice .btn-row{flex-wrap:wrap;}.t-task-actions{flex-shrink:1;}}
.t-result-notice .t-history-notice{padding:0;}

.t-task-heading>#t-tasks-refresh{flex-shrink:0;white-space:nowrap;}

/* Reparse is one modal from either entry; never expand a distant page section. */
.t-reparse-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);box-shadow:0 18px 60px #0003;}
.t-reparse-dialog::backdrop{background:rgb(15 28 25 / 42%);}
.t-reparse-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;}
.t-reparse-heading h2{font-size:18px;}
#td-reparse-close{width:36px;height:36px;flex-shrink:0;padding:0;font-size:24px;}
.t-reparse-filename{font-size:13px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--border);}
.t-reparse-dialog .tender-engine{margin:0;}
.t-reparse-dialog .tender-engine legend{font-size:14px;font-weight:600;margin-bottom:12px;}
.t-reparse-dialog .check{min-height:36px;justify-content:flex-start;gap:8px;}
.t-reparse-dialog input[type=radio]{width:16px;height:16px;flex-shrink:0;}
.t-reparse-dialog .btn-row{justify-content:flex-end;margin-top:20px;gap:8px;}
#td-reparse-error:empty{display:none;}
@media(max-width:600px){.t-reparse-dialog{padding:18px;}}
