/* =============================================================================
   DUPPLA — RELATÓRIO DO PROJETO PARA O CLIENTE (A4, prévia na tela = PDF)
   O documento é sempre "papel branco", independente do tema da tela.
   ============================================================================= */

/* ---------- tela: painel de opções + papel ---------- */
.rpt-page { max-width: none; }
.rpt-layout { display: grid; grid-template-columns: minmax(18rem, 22rem) minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
.rpt-tools {
  position: sticky; top: calc(var(--appbar-h) + var(--sp-4)); max-height: calc(100dvh - var(--appbar-h) - var(--sp-6));
  overflow: auto; display: grid; gap: var(--sp-4); padding: var(--sp-4); border-radius: var(--r-lg);
  background: var(--c-surface); border: 1px solid var(--c-border);
}
.rpt-tools-head { display: grid; gap: .4rem; }
.rpt-tools-title { font-size: var(--fs-xl); font-weight: var(--fw-bold); letter-spacing: -.02em; outline: none; }
.rpt-tools-note { font-size: var(--fs-xs); }
.rpt-tools-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: .25rem; }
.rpt-group { display: grid; gap: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--c-border); }
.rpt-group-title { font-size: .6875rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink-3); }
.rpt-checks { display: grid; gap: .45rem; }
.rpt-checks[hidden] { display: none; }
.rpt-checks .mt-check { font-size: var(--fs-sm); align-items: flex-start; }
.rpt-checks input:disabled + span { opacity: .5; }
.rpt-logo-row { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.rpt-logo-thumb { display: inline-grid; place-items: center; width: 4.5rem; height: 2.6rem; border-radius: var(--r-sm); border: 1px dashed var(--c-border-strong); background: #fff; overflow: hidden; font-size: .6875rem; }
.rpt-logo-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rpt-swatches { display: flex; gap: .4rem; flex-wrap: wrap; }
.rpt-swatch { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid transparent; cursor: pointer; background: var(--sw); box-shadow: inset 0 0 0 2px #fff; }
.rpt-swatch[aria-pressed="true"] { border-color: var(--c-ink); }
.rpt-swatch:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.rpt-paper-wrap { min-width: 0; overflow-x: auto; padding: var(--sp-5); border-radius: var(--r-lg); background: var(--c-surface-sunken); display: grid; justify-items: center; }

/* ---------- o documento ---------- */
/* maiúsculas vêm do texto (JS), não de text-transform: no PDF, acentos de letras transformadas podiam sobrar na página anterior */
.rpt-doc {
  --rpt-accent: #0C5A63;
  --rpt-ink: #18202B; --rpt-ink-2: #3E4856; --rpt-ink-3: #6B7483; --rpt-line: #E3E7EC; --rpt-soft: #F4F6F8;
  --rpt-accent-soft: color-mix(in srgb, var(--rpt-accent) 9%, #fff);
  position: relative; width: 210mm; min-height: 297mm; padding: 17mm 16mm 15mm; box-sizing: border-box;
  background: #fff; color: var(--rpt-ink); font-family: var(--font-sans); font-size: 10pt; line-height: 1.5;
  box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 12px 40px -12px rgb(0 0 0 / .28); border-radius: 2px;
  display: flex; flex-direction: column; gap: 7mm;
}
.rpt-doc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--rpt-accent); }
.rpt-doc svg { width: 1em; height: 1em; }

/* capa */
.rpt-cover { display: grid; gap: 3mm; }
.rpt-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 6mm; min-height: 12mm; margin-bottom: 4mm; }
.rpt-logo { max-height: 14mm; max-width: 60mm; object-fit: contain; }
.rpt-brand-name { font-size: 12pt; font-weight: 800; letter-spacing: -.01em; color: var(--rpt-accent); }
.rpt-issued { display: grid; justify-items: end; gap: .5mm; font-size: 8.5pt; color: var(--rpt-ink-3); text-align: right; }
.rpt-kicker { font-size: 7.5pt; font-weight: 700; letter-spacing: .12em; color: var(--rpt-accent); }
.rpt-client { font-size: 25pt; line-height: 1.08; font-weight: 800; letter-spacing: -.025em; color: var(--rpt-ink); overflow-wrap: anywhere; }
.rpt-sub { font-size: 11pt; color: var(--rpt-ink-2); }
.rpt-status {
  justify-self: start; display: inline-flex; align-items: center; gap: 2mm; margin-top: 1mm; padding: 1.2mm 3.2mm; border-radius: 99px;
  background: var(--rpt-soft); color: var(--rpt-ink-2); font-size: 9pt; font-weight: 700;
}
.rpt-status.is-done { background: var(--rpt-accent-soft); color: var(--rpt-accent); }
.rpt-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4mm; margin: 3mm 0 0; padding: 4mm 0 0; border-top: 1px solid var(--rpt-line); }
.rpt-meta dt { font-size: 7.5pt; font-weight: 700; letter-spacing: .08em; color: var(--rpt-ink-3); }
.rpt-meta dd { margin: .5mm 0 0; font-weight: 600; color: var(--rpt-ink); overflow-wrap: anywhere; }

/* números */
.rpt-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3mm; }
.rpt-kpi { display: grid; gap: .5mm; padding: 3.5mm 4mm; border-radius: 3mm; background: var(--rpt-soft); }
.rpt-kpi strong { font-size: 19pt; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--rpt-accent); font-variant-numeric: tabular-nums; }
.rpt-kpi span { font-size: 8.5pt; color: var(--rpt-ink-2); }
.rpt-intro { display: grid; gap: 2mm; font-size: 10.5pt; color: var(--rpt-ink-2); }

/* seções */
.rpt-section { display: grid; gap: 3.5mm; }
.rpt-h2 { display: flex; align-items: center; gap: 3mm; font-size: 8.5pt; font-weight: 800; letter-spacing: .12em; color: var(--rpt-accent); }
.rpt-h2::after { content: ""; flex: 1; height: 1px; background: var(--rpt-line); }
.rpt-h3 { display: flex; align-items: center; gap: 2mm; font-size: 10.5pt; font-weight: 700; color: var(--rpt-ink); }
.rpt-mini { font-size: 7.5pt; font-weight: 700; letter-spacing: .08em; color: var(--rpt-ink-3); }
.rpt-ul { margin: 0; padding-left: 4.5mm; display: grid; gap: .8mm; }

/* linha do tempo */
.rpt-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2mm; }
.rpt-tl-row { display: grid; grid-template-columns: 4.5mm minmax(0, 15fr) minmax(0, 22fr) 22mm 18mm; align-items: center; gap: 3mm; font-size: 9.5pt; }
.rpt-tl-dot { display: inline-grid; place-items: center; width: 4.5mm; height: 4.5mm; border-radius: 50%; background: var(--tone, var(--rpt-accent)); color: #fff; font-size: 7pt; }
.rpt-tl-dot.is-small { width: 2.6mm; height: 2.6mm; }
.rpt-tl-row.is-next .rpt-tl-dot { background: #fff; box-shadow: inset 0 0 0 1.5px var(--rpt-line); }
.rpt-tl-row.is-current .rpt-tl-dot { box-shadow: 0 0 0 1.2mm color-mix(in srgb, var(--tone, var(--rpt-accent)) 22%, #fff); }
.rpt-tl-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpt-tl-row.is-next .rpt-tl-name, .rpt-tl-row.is-next .rpt-tl-when { color: var(--rpt-ink-3); font-weight: 500; }
.rpt-tl-track { position: relative; height: 2.6mm; border-radius: 99px; background: var(--rpt-soft); overflow: hidden; }
.rpt-tl-bar { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--tone, var(--rpt-accent)); }
.rpt-tl-when { font-size: 8.5pt; color: var(--rpt-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rpt-tl-days { font-size: 8.5pt; color: var(--rpt-ink-3); text-align: right; white-space: nowrap; }

/* o que foi feito */
.rpt-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4mm 6mm; }
.rpt-work-stage { display: grid; gap: 1.5mm; align-content: start; }
.rpt-work-stage .rpt-tl-dot { background: var(--tone, var(--rpt-accent)); }
.rpt-check-list { list-style: none; padding: 0; font-size: 9.5pt; color: var(--rpt-ink-2); }
.rpt-check-list li { display: flex; gap: 1.8mm; align-items: baseline; }
.rpt-check-list svg { flex: none; color: var(--rpt-accent); transform: translateY(.12em); }

/* reuniões */
.rpt-meeting { display: grid; grid-template-columns: 15mm minmax(0, 1fr); gap: 4mm; padding: 3.5mm 0; border-top: 1px solid var(--rpt-line); }
.rpt-meeting:first-of-type { border-top: 0; padding-top: 0; }
.rpt-meeting-date { align-self: start; display: grid; justify-items: center; align-content: start; gap: .2mm; padding: 2mm 0; border-radius: 2.5mm; background: var(--rpt-accent-soft); color: var(--rpt-accent); }
.rpt-md-day { font-size: 15pt; line-height: 1; font-weight: 800; }
.rpt-md-month { font-size: 7.5pt; font-weight: 700; letter-spacing: .08em; }
.rpt-md-time { font-size: 7.5pt; color: var(--rpt-ink-2); }
.rpt-meeting-main { display: grid; gap: 1.2mm; min-width: 0; }
.rpt-people { font-size: 8.5pt; color: var(--rpt-ink-3); }
.rpt-notes { display: grid; gap: 1.5mm; color: var(--rpt-ink-2); white-space: pre-line; }
.rpt-steps { display: grid; gap: 1mm; margin-top: .5mm; padding: 2.5mm 3.5mm; border-radius: 2.5mm; background: var(--rpt-soft); }
.rpt-steps .rpt-ul { font-size: 9.5pt; }

/* pendências, próximos passos, contatos */
.rpt-pend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5mm; }
.rpt-pend-list li { display: flex; align-items: baseline; gap: 3mm; flex-wrap: wrap; padding: 2mm 3mm; border-radius: 2mm; border-left: 3px solid var(--rpt-accent); background: var(--rpt-soft); }
.rpt-pend-title { font-weight: 600; flex: 1; min-width: 40mm; }
.rpt-pend-party, .rpt-pend-due { font-size: 8.5pt; color: var(--rpt-ink-3); }
.rpt-md.tk-doc { gap: 2mm; font-size: 10pt; color: var(--rpt-ink-2); }
.rpt-md .tk-h1 { font-size: 11pt; color: var(--rpt-ink); }
.rpt-md .tk-h2 { font-size: 10.5pt; color: var(--rpt-ink); }
.rpt-md .tk-ul { padding-left: 4.5mm; }
.rpt-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6mm; }
.rpt-contact { display: grid; gap: .6mm; font-size: 9.5pt; color: var(--rpt-ink-2); }
.rpt-contact-name { font-weight: 700; color: var(--rpt-ink); }
.rpt-contact-mail { color: var(--rpt-ink-3); }

/* encerramento */
.rpt-end { margin-top: auto; display: grid; gap: 7mm; }
.rpt-closing { display: grid; gap: 3mm; padding-top: 5mm; border-top: 1px solid var(--rpt-line); }
.rpt-closing-text { font-size: 10.5pt; color: var(--rpt-ink-2); }
.rpt-signature.tk-doc { gap: 1mm; font-size: 9.5pt; color: var(--rpt-ink-2); }
.rpt-signature strong { color: var(--rpt-ink); }
.rpt-foot-note { font-size: 7.5pt; color: var(--rpt-ink-3); letter-spacing: .02em; }

@media (max-width: 1100px) {
  .rpt-layout { grid-template-columns: minmax(0, 1fr); }
  .rpt-tools { position: static; max-height: none; }
}
@media (max-width: 640px) {
  .rpt-paper-wrap { padding: var(--sp-2); justify-items: start; }
}

/* ---------- impressão / PDF ---------- */
@page {
  size: A4; margin: 15mm 16mm 16mm;
  @bottom-right { content: counter(page) " / " counter(pages); font-family: "Schibsted Grotesk", sans-serif; font-size: 8pt; color: #8A93A3; }
}
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body:has(.rpt-page) { background: #fff !important; }
  body:has(.rpt-page) .sidebar, body:has(.rpt-page) .sidebar-backdrop, body:has(.rpt-page) .appbar,
  body:has(.rpt-page) .rpt-tools, body:has(.rpt-page) .spk-launcher, body:has(.rpt-page) .spk-panel,
  body:has(.rpt-page) .spk-wake, body:has(.rpt-page) .toasts, body:has(.rpt-page) .flash { display: none !important; }
  body:has(.rpt-page) .shell { display: block; min-height: 0; background: #fff; }
  body:has(.rpt-page) .shell-main { margin: 0 !important; }
  body:has(.rpt-page) .view { padding: 0 !important; background: #fff; border-radius: 0; }
  .rpt-layout { display: block; }
  .rpt-paper-wrap { display: block; padding: 0; background: none; overflow: visible; border-radius: 0; }
  .rpt-doc { width: auto; min-height: 0; padding: 0; box-shadow: none; border-radius: 0; gap: 6mm; }
  .rpt-doc::before { display: none; }
  .rpt-cover { border-top: 1.2mm solid var(--rpt-accent); padding-top: 5mm; } /* a faixa da marca no topo da primeira página */
  .rpt-end { display: block; margin-top: 6mm; break-inside: avoid; }
  .rpt-end > * + * { margin-top: 6mm; }
  .rpt-kpis, .rpt-tl-row, .rpt-work-stage, .rpt-meeting, .rpt-pend-list li, .rpt-contact, .rpt-closing, .rpt-steps { break-inside: avoid; }
  /* em bloco (não grade), o navegador respeita "não quebrar depois do título" */
  .rpt-doc, .rpt-section { display: block; }
  .rpt-doc > * + * { margin-top: 6mm; }
  .rpt-section > * + * { margin-top: 3.5mm; }
  .rpt-h2 { display: block; padding-top: 1.5mm; padding-bottom: 1.6mm; border-bottom: 1px solid var(--rpt-line); break-after: avoid; page-break-after: avoid; }
  .rpt-h2::after { display: none; }
  .rpt-doc p, .rpt-doc li { orphans: 2; widows: 2; }
  .rpt-cover { break-inside: avoid; }
}

/* =============================================================================
   v0.20 — edição direto no papel (só na tela; nada disso sai no PDF)
   ============================================================================= */
.rpt-tools-body { display: grid; gap: var(--sp-4); }
.rpt-save { display: flex; align-items: flex-start; gap: .35rem; font-size: var(--fs-xs); color: var(--c-ink-3); }
.rpt-save svg { width: .85rem; height: .85rem; flex: none; margin-top: .1rem; }
.rpt-save[data-state="ok"] { color: var(--c-success-ink); }
.rpt-save[data-state="error"] { color: var(--c-danger-ink); }
.rpt-news { display: flex; gap: .55rem; padding: .7rem .8rem; border-radius: var(--r-md); background: var(--c-info-soft, color-mix(in srgb, #3E7BC4 10%, var(--c-surface))); font-size: var(--fs-sm); }
.rpt-news > svg { width: 1rem; height: 1rem; flex: none; margin-top: .15rem; color: #3E7BC4; }
.rpt-news > div { display: grid; gap: .45rem; justify-items: start; }
.rpt-outline { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.rpt-outline li { display: flex; align-items: center; gap: .3rem; padding: .2rem .3rem; border-radius: var(--r-sm); }
.rpt-outline li:hover { background: var(--c-surface-2); }
.rpt-outline li.is-off .mt-check span { color: var(--c-ink-3); text-decoration: line-through; }
.rpt-outline .mt-check { flex: 1; font-size: var(--fs-sm); min-width: 0; }
.rpt-outline .rpt-ctls { position: static; display: inline-flex; transform: none; box-shadow: none; background: none; }
.rpt-outline .rpt-ctl { color: var(--c-ink-3); }

/* campos editáveis */
.rpt-ed { border-radius: 2px; outline: 1px dashed transparent; outline-offset: 2px; transition: outline-color .12s ease, background-color .12s ease; cursor: text; min-width: 1ch; }
.rpt-ed:hover { outline-color: color-mix(in srgb, var(--rpt-accent) 45%, transparent); }
.rpt-ed:focus { outline: 2px solid var(--rpt-accent); background: color-mix(in srgb, var(--rpt-accent) 5%, #fff); }
.rpt-ed.is-empty::before { content: attr(data-ph); color: #A3AAB5; font-weight: 400; font-style: italic; letter-spacing: 0; }
.rpt-ed.is-empty:focus::before { content: ""; }
span.rpt-ed { display: inline-block; }
.rpt-ed.is-empty { min-height: 1.3em; min-width: 3ch; }
.rpt-intro.rpt-ed, .rpt-notes.rpt-ed, .rpt-closing-text.rpt-ed, .rpt-contact-detail { white-space: pre-line; }
.rpt-h2 .rpt-h2-text { flex: 0 1 auto; }
.rpt-mded-view { border-radius: 2px; outline: 1px dashed transparent; outline-offset: 3px; cursor: text; }
.rpt-mded-view:hover { outline-color: color-mix(in srgb, var(--rpt-accent) 45%, transparent); }
.rpt-mded-view:focus-visible { outline: 2px solid var(--rpt-accent); }
.rpt-mded-area, .rpt-mded-help { display: none; }
.rpt-mded.is-editing .rpt-mded-view { display: none; }
.rpt-mded.is-editing .rpt-mded-area { display: block; width: 100%; font: inherit; font-size: 9.5pt; color: var(--rpt-ink); background: #fff; border-color: var(--rpt-accent); resize: vertical; }
.rpt-mded.is-editing .rpt-mded-help { display: block; margin-top: 1mm; font-size: 7.5pt; color: var(--rpt-ink-3); }
.rpt-ph { color: #A3AAB5; font-style: italic; }

/* datas: texto como no PDF, o calendário por cima (invisível) */
.rpt-date { position: relative; display: inline-block; cursor: pointer; border-bottom: 1px dashed transparent; }
.rpt-date:hover, .rpt-date:focus-within { border-bottom-color: var(--rpt-accent); }
.rpt-date:focus-within { outline: 2px solid var(--rpt-accent); outline-offset: 2px; border-radius: 2px; }
.rpt-date-text.is-empty { color: #A3AAB5; font-style: italic; font-weight: 400; }
.rpt-date-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; font-size: 16px; }
.rpt-md-input { position: absolute; inset: 0; border: 0; }
.rpt-md-input .rpt-date-text { display: none; }
.rpt-meeting-date { position: relative; }
.rpt-meeting-date:hover { box-shadow: 0 0 0 1px var(--rpt-accent); }

/* controles dos itens (aparecem ao passar o mouse ou ao editar) */
.rpt-doc :is(.rpt-tl-row, .rpt-h3, li, .rpt-meeting, .rpt-fact, .rpt-kpi, .rpt-person, .rpt-facts-row, .rpt-contact-head, .rpt-status, .rpt-foot-note) { position: relative; }
.rpt-ctls {
  position: absolute; right: -1.5mm; top: 50%; transform: translateY(-50%); z-index: 3; display: none; gap: 1px; padding: 1px;
  border-radius: 6px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .18), 0 0 0 1px var(--rpt-line);
}
.rpt-meeting > .rpt-ctls, .rpt-kpi > .rpt-ctls, .rpt-person > .rpt-ctls, .rpt-fact > .rpt-ctls { top: 0; transform: translateY(-40%); }
:is(.rpt-tl-row, .rpt-h3, li, .rpt-meeting, .rpt-fact, .rpt-kpi, .rpt-person, .rpt-facts-row, .rpt-contact-head, .rpt-status, .rpt-foot-note):is(:hover, :focus-within) > .rpt-ctls { display: inline-flex; }
.rpt-ctl { display: inline-grid; place-items: center; width: 5.5mm; height: 5.5mm; border: 0; border-radius: 4px; background: none; color: var(--rpt-ink-2); cursor: pointer; font-size: 9pt; }
.rpt-ctl:hover { background: var(--rpt-soft); color: var(--rpt-accent); }
.rpt-ctl:focus-visible { outline: 2px solid var(--rpt-accent); }
.rpt-ctl[aria-label^="Tirar"]:hover, .rpt-ctl[aria-label^="Excluir"]:hover { color: #B42318; }
.rpt-sec-ctl { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 1px; padding: 1px 0 1px 2mm; background: #fff; opacity: 0; transition: opacity .12s ease; }
.rpt-section:is(:hover, :focus-within) .rpt-sec-ctl, .rpt-section.is-hidden-sec .rpt-sec-ctl { opacity: 1; }
.rpt-h2 { position: relative; }
.rpt-add {
  display: inline-flex; align-items: center; gap: 1mm; margin-top: 1.5mm; padding: .6mm 2.2mm; border: 1px dashed #C7CED7; border-radius: 99px;
  background: none; color: var(--rpt-ink-3); font: inherit; font-size: 7.5pt; font-weight: 600; cursor: pointer; justify-self: start;
}
.rpt-add:hover { border-color: var(--rpt-accent); color: var(--rpt-accent); }
.rpt-add:focus-visible { outline: 2px solid var(--rpt-accent); }
.rpt-add-row { display: flex; align-items: center; gap: 4mm; flex-wrap: wrap; margin-top: 1mm; }
.rpt-inline-check { display: inline-flex; align-items: center; gap: 1.5mm; font-size: 7.5pt; color: var(--rpt-ink-3); cursor: pointer; margin-top: 1.5mm; }
.rpt-inline-check .task-check { width: 3.5mm; height: 3.5mm; }
.rpt-hint, .rpt-empty-note { font-size: 7.5pt; color: var(--rpt-ink-3); }
.rpt-hidden-note { display: inline-flex; align-items: center; gap: 1.5mm; font-size: 7.5pt; font-weight: 600; color: #8A5A00; }
.rpt-section.is-hidden-sec { opacity: .55; }
.rpt-meeting.is-hidden-item { opacity: .5; }
.rpt-kpis { grid-template-columns: repeat(auto-fit, minmax(32mm, 1fr)); align-items: stretch; }
.rpt-kpis > .rpt-add { align-self: center; }
.rpt-meta { grid-template-columns: repeat(auto-fit, minmax(34mm, 1fr)); }
.rpt-cover > .rpt-add { margin-top: 0; }
.rpt-issued-line { display: inline-flex; gap: .2em; }
.rpt-tl-row { grid-template-columns: 4.5mm minmax(0, 14fr) minmax(0, 18fr) auto 16mm; }
.rpt-tl-name.rpt-ed { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.rpt-tl-arrow { margin: 0 1mm; color: var(--rpt-ink-3); }
.rpt-facts { display: grid; gap: 1.6mm; margin: 0; }
.rpt-facts-row { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); gap: 4mm; padding: 1.6mm 0; border-bottom: 1px solid var(--rpt-line); }
.rpt-facts-row dt { font-weight: 700; color: var(--rpt-ink); }
.rpt-facts-row dd { margin: 0; color: var(--rpt-ink-2); white-space: pre-line; }
.rpt-person { display: grid; gap: .3mm; margin-top: 1mm; }
.rpt-contact-head { display: flex; align-items: center; gap: 2mm; }
.rpt-steps.is-empty-box { background: none; padding: 0; }
.rpt-steps.is-empty-box .rpt-mini { display: none; }
.rpt-doc > .rpt-add { margin: 0; align-self: flex-start; }
.rpt-sig-html { font-size: 9.5pt; }

@media print {
  .rpt-ctls, .rpt-ctl, .rpt-add, .rpt-add-row, .rpt-sec-ctl, .rpt-date-input, .rpt-mded-area, .rpt-mded-help, .rpt-hidden-note,
  .rpt-section.is-hidden-sec, .rpt-section.is-blank, .rpt-meeting.is-hidden-item, .rpt-ed.is-empty, .rpt-date-text.is-empty, .rpt-ph, .rpt-empty-note { display: none !important; }
  .rpt-ed, .rpt-mded-view, .rpt-date { outline: 0 !important; border: 0 !important; background: none !important; }
  .rpt-ed.is-empty::before { content: none; }
  .rpt-mded.is-editing .rpt-mded-view { display: block; }
  .rpt-fact:has(dd .rpt-ed.is-empty), .rpt-kpi:has(strong.is-empty), .rpt-steps:not(:has(li .rpt-ed:not(.is-empty))) { display: none !important; }
  .rpt-tl-when:has(.rpt-date:last-of-type .is-empty) .rpt-tl-arrow { display: none; }
  .rpt-section.is-hidden-sec, .rpt-meeting.is-hidden-item { opacity: 1; }
  .rpt-end { break-before: avoid; }
}

/* ---- dentro do player da reunião (apresentar ao cliente): só o documento, sem edição */
.rpt-embed { display: grid; justify-items: center; }
.rpt-embed .rpt-paper-wrap { padding: 0; background: none; overflow: visible; border-radius: 0; }
.rpt-embed :is(.rpt-ctls, .rpt-ctl, .rpt-add, .rpt-add-row, .rpt-sec-ctl, .rpt-date-input, .rpt-mded-area, .rpt-mded-help, .rpt-hidden-note,
  .rpt-section.is-hidden-sec, .rpt-section.is-blank, .rpt-meeting.is-hidden-item, .rpt-ph, .rpt-empty-note) { display: none !important; }
.rpt-embed :is(.rpt-ed, .rpt-mded-view, .rpt-date) { outline: 0 !important; border: 0 !important; background: none !important; }
