/* Convert tools: file rows with progress, option bar, hidden render stage. */
.cv-opts { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; }
.cv-opts .field { min-width: 0; }
.cv-check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; min-height: 40px; cursor: pointer; }
.cv-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.file-row .cv-bar { height: 4px; margin-top: 6px; max-width: 280px; }
.file-row .cv-note { font-size: 0.84rem; color: var(--muted); margin-top: 2px; }
.file-row .cv-note a, .file-row .st a { color: var(--accent-strong); font-weight: 600; }
.cv-sheets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cv-sheets button { font: inherit; font-size: 0.82rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; min-height: 30px; }
.cv-sheets button[aria-pressed="true"] { background: var(--accent-soft); color: var(--fg); border-color: var(--accent); }
.cv-sheets button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cv-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 14px; }
.cv-foot .meta { color: var(--muted); font-size: 0.9rem; }
.file-row > div { min-width: 0; }
@media (max-width: 560px) {
  .file-row .ra .btn-sm .label-long { display: none; }
}
/* Where documents are laid out before they are turned into PDF pages. Always light paper. */
.cv-stage { position: absolute; left: -30000px; top: 0; width: auto; pointer-events: none; contain: layout style; color: #000; background: #fff; }
.cv-stage .docx-wrapper { background: #fff !important; padding: 0 !important; display: block !important; }
.cv-stage .docx-wrapper > section.docx { box-shadow: none !important; margin: 0 0 20px 0 !important; color: #000; }
.cv-stage .pptx-preview-wrapper { height: auto !important; overflow: visible !important; background: #fff !important; }
.xl-page { position: relative; box-sizing: border-box; background: #fff; color: #111; overflow: hidden; font-family: Arial, Helvetica, sans-serif; margin-bottom: 20px; }
.xl-page .xl-title { font-size: 11px; color: #555; margin: 0 0 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-page .xl-scale { transform-origin: 0 0; }
.xl-table { border-collapse: collapse; table-layout: fixed; font-size: 12px; line-height: 1.3; }
.xl-table td { border: 1px solid #cfcfcf; padding: 3px 5px; vertical-align: bottom; overflow: hidden; overflow-wrap: anywhere; color: #111; }
.xl-table td.n { text-align: right; white-space: nowrap; }
.xl-table td.b { text-align: center; }
.xl-table tr.h td { font-weight: 700; }
.xl-foot { position: absolute; right: 0; bottom: 14px; left: 0; text-align: center; font-size: 10px; color: #777; }
#cv-print { display: none; }
@media print {
  body.cv-printing > *:not(#cv-print) { display: none !important; }
  body.cv-printing { background: #fff !important; margin: 0 !important; padding: 0 !important; }
  body.cv-printing #cv-print { display: block !important; color: #000; }
  #cv-print .docx-wrapper { background: none !important; padding: 0 !important; display: block !important; }
  #cv-print section.docx { box-shadow: none !important; margin: 0 !important; break-after: page; page-break-after: always; overflow: hidden; }
  #cv-print section.docx:last-child { break-after: auto; page-break-after: auto; }
}
