/* ==================================================================
   REPORT BUILDER CSS — v1.45.19 (amendment 29)
   Builder in the Teams look (nu-tm5-, ticks from Permissions nu-adm2-).
   The preview is an A4-style white page matching the PDF.
   Prefix nu-rpt-.
   ================================================================== */
[data-new-ui] .nu-rpt-titlerow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
[data-new-ui] .nu-rpt-download { height: 42px; padding: 0 20px; font-size: 14px; }
[data-new-ui] .nu-rpt-grid { display: grid; grid-template-columns: 380px minmax(0,1fr); gap: 16px; align-items: start; }
[data-new-ui] .nu-rpt-builder { position: sticky; top: 12px; max-height: calc(100vh - 110px); overflow: auto; }
[data-new-ui] .nu-rpt-tabs { padding: 12px 0 6px; }
[data-new-ui] .nu-rpt-sec { border-bottom: 1px solid #e8eef3; padding: 3px 0; }
[data-new-ui] .nu-rpt-sec:last-child { border-bottom: 0; }
[data-new-ui] .nu-rpt-items { padding: 0 0 6px 29px; }
[data-new-ui] .nu-rpt-item { font-size: 13px; font-weight: 650; padding: 4px 0; }
[data-new-ui] .nu-rpt-item .nu-adm2-box { width: 17px; height: 17px; }
[data-new-ui] .nu-rpt-internal { font-style: normal; font-size: 11px; font-weight: 900; color: #965d0e; background: #fff0d8; border: 1px solid #e4c48f; border-radius: 4px; padding: 1px 5px; margin-left: 4px; }
[data-new-ui] .nu-rpt-none { font-style: normal; font-size: 12px; font-weight: 700; color: #4b6179; margin-left: 4px; }
[data-new-ui] .nu-rpt-empty .nu-adm2-tick { cursor: default; opacity: .75; }

/* Preview page */
[data-new-ui] .nu-rpt-previewwrap { background: #dfe7ee; border-radius: 6px; padding: 18px; }
[data-new-ui] .nu-rpt-paper {
  background: #fff; max-width: 760px; margin: 0 auto; padding: 38px 42px; box-shadow: 0 8px 24px rgba(8,32,51,.12);
  font-family: var(--nu-t-family); color: #0b1d37; font-size: 14px; line-height: 1.45;   /* Inter (no Arial). PDF uses Helvetica, jsPDF built-in */
}
[data-new-ui] .nu-rpt-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid #d7e2eb; }
[data-new-ui] .nu-rpt-logo img { max-width: 220px; max-height: 72px; display: block; }
[data-new-ui] .nu-rpt-logo span { display: inline-block; font-size: 12px; color: #4b6179; border: 1px dashed #b9c9d6; padding: 18px 12px; border-radius: 4px; }
[data-new-ui] .nu-rpt-biz { text-align: right; font-size: 12.5px; color: #4b6179; }
[data-new-ui] .nu-rpt-title { font-size: 24px; margin: 14px 0 4px; font-weight: 700; }
[data-new-ui] .nu-rpt-meta { font-size: 13.5px; color: #4b6179; margin-bottom: 6px; }
[data-new-ui] .nu-rpt-paper h3 { font-size: 16px; margin: 16px 0 6px; padding-top: 12px; border-top: 1px solid #d7e2eb; }
[data-new-ui] .nu-rpt-paper ul { margin: 0; padding-left: 18px; }
[data-new-ui] .nu-rpt-paper li { margin: 3px 0; }
[data-new-ui] .nu-rpt-paper li strong { font-weight: 600; }
[data-new-ui] .nu-rpt-paper li span { display: block; font-size: 12.5px; color: #4b6179; }
[data-new-ui] .nu-rpt-sub { font-weight: 700; font-size: 13px; color: #4b6179; margin: 6px 0 2px; }
[data-new-ui] .nu-rpt-kv td { padding: 2px 16px 2px 0; vertical-align: top; }
[data-new-ui] .nu-rpt-kv td:first-child { color: #4b6179; font-weight: 700; white-space: nowrap; }
[data-new-ui] .nu-rpt-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
[data-new-ui] .nu-rpt-photos figure { margin: 0; }
[data-new-ui] .nu-rpt-photos img { width: 100%; max-height: 260px; object-fit: cover; display: block; }
[data-new-ui] .nu-rpt-ph { height: 170px; background: #e7eef3; display: grid; place-items: center; color: #4b6179; font-size: 13px; }
[data-new-ui] .nu-rpt-photos figcaption { font-size: 12.5px; margin-top: 5px; }

@media (max-width: 1000px){
  [data-new-ui] .nu-rpt-grid { grid-template-columns: 1fr; }
  [data-new-ui] .nu-rpt-builder { position: static; max-height: none; }
}
@media (max-width: 600px){ [data-new-ui] .nu-rpt-paper { padding: 20px; } [data-new-ui] .nu-rpt-photos { grid-template-columns: 1fr; } }

/* v2.0.22 (Phil): opening / closing words, order arrows, which note a photo goes under, page breaks */
[data-new-ui] .nu-rpt-words { display: flex; flex-direction: column; gap: 4px; padding: 10px 0 8px; font-size: 13px; font-weight: 800; color: #243f5a; }
[data-new-ui] .nu-rpt-words textarea { width: 100%; box-sizing: border-box; min-height: 70px; resize: vertical; border: 1px solid #c9d6e1; border-radius: 6px; padding: 8px 10px; font: inherit; font-weight: 500; font-size: 14px; color: #0b1d37; background: #fff; outline: none; }
[data-new-ui] .nu-rpt-words textarea:focus { border-color: #0cab78; }
[data-new-ui] .nu-rpt-sechead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
[data-new-ui] .nu-rpt-np { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #4b6179; white-space: nowrap; cursor: pointer; }
[data-new-ui] .nu-rpt-np input { width: 15px; height: 15px; accent-color: #0cab78; margin: 0; }
[data-new-ui] .nu-rpt-itemrow { border-bottom: 1px dashed #e3eaf0; padding: 2px 0 4px; }
[data-new-ui] .nu-rpt-itemrow:last-child { border-bottom: 0; }
[data-new-ui] .nu-rpt-itemmain { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
[data-new-ui] .nu-rpt-itemmain .nu-rpt-item { flex: 1; min-width: 0; }
[data-new-ui] .nu-rpt-mvs { display: inline-flex; gap: 3px; padding-top: 3px; flex: none; }
[data-new-ui] .nu-rpt-mv { width: 26px; height: 24px; display: grid; place-items: center; padding: 0; border: 1px solid #c9d6e1; border-radius: 5px; background: #fff; color: #243f5a; cursor: pointer; }
[data-new-ui] .nu-rpt-mv svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[data-new-ui] .nu-rpt-mv:hover:not(:disabled) { border-color: #0cab78; color: #0a7f5a; }
[data-new-ui] .nu-rpt-mv:disabled { opacity: .35; cursor: default; }
[data-new-ui] .nu-rpt-itemopts { padding: 0 0 2px 27px; display: flex; flex-wrap: wrap; gap: 8px; }
[data-new-ui] .nu-rpt-under { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #4b6179; max-width: 100%; }
[data-new-ui] .nu-rpt-under select { max-width: 220px; height: 28px; border: 1px solid #c9d6e1; border-radius: 5px; background: #fff; font: inherit; font-size: 12.5px; color: #0b1d37; padding: 0 6px; }
[data-new-ui] .nu-rpt-savestate { font-size: 12px; font-weight: 700; color: #4b6179; padding: 4px 0 2px; }
[data-new-ui] .nu-rpt-savestate.nu-rpt-notsaved { color: #b42318; }
[data-new-ui] .nu-rpt-wordsout { margin: 10px 0 4px; font-size: 14px; }
[data-new-ui] .nu-rpt-wordsout p, [data-new-ui] .nu-rpt-note p { margin: 0 0 4px; }
[data-new-ui] .nu-rpt-gap { height: 6px; }
[data-new-ui] .nu-rpt-wordsend { margin-top: 18px; }
[data-new-ui] .nu-rpt-note { margin: 10px 0 12px; }
[data-new-ui] .nu-rpt-note h4 { font-size: 15px; margin: 0; }
[data-new-ui] .nu-rpt-notesub { font-size: 12.5px; color: #4b6179; margin-bottom: 4px; }
[data-new-ui] .nu-rpt-note .nu-rpt-photos { margin-top: 8px; }
[data-new-ui] .nu-rpt-pagebreak { margin: 20px -42px 14px; display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6b8197; }
[data-new-ui] .nu-rpt-pagebreak::before, [data-new-ui] .nu-rpt-pagebreak::after { content: ''; flex: 1; border-top: 2px dashed #9fb3c4; }
[data-new-ui] .nu-rpt-paper h3.nu-rpt-nb { border-top: 0; padding-top: 0; }
@media (max-width: 600px){ [data-new-ui] .nu-rpt-pagebreak { margin-left: -20px; margin-right: -20px; } }
[data-new-ui] .nu-rpt-grouphead { margin: 8px 0 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #6b8197; }
/* v2.0.22: the preview is the real PDF, page by page */
[data-new-ui] .nu-rpt-pvstate { font-size: 12px; font-weight: 700; color: #4b6179; text-align: center; min-height: 16px; margin: -6px 0 8px; }
[data-new-ui] .nu-rpt-pages { display: flex; flex-direction: column; align-items: center; gap: 16px; }
[data-new-ui] .nu-rpt-page { display: block; width: 100%; max-width: 760px; height: auto; background: #fff; box-shadow: 0 8px 24px rgba(8,32,51,.12); }
[data-new-ui] .nu-rpt-pvwait { padding: 60px 20px; text-align: center; color: #4b6179; font-weight: 700; }
