/* report.css — alleen wat style.css niet al dekt: rapporttekst, conceptenlijst,
   dienstregels, klembord-terugval en de printregels voor het rapport zelf.
   Wordt na style.css geladen; style.css blijft ongewijzigd. */

/* --- rapporttekst (scherm) --- */
.report-body{font:13px/1.5 ui-monospace,SFMono-Regular,Consolas,"Courier New",monospace;
background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;margin:0;
white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%;color:var(--ink)}
#report-card.empty .report-body{color:var(--muted)}
#report-card .report-meta{margin:0 0 8px}

/* --- verplichte velden --- */
.bad{border-color:var(--err)!important;background:#fff5f5}
fieldset{border:1px solid var(--line);border-radius:10px;padding:6px 12px 10px;margin:12px 0}
legend{font-size:13px;color:var(--muted);padding:0 4px}
fieldset label{display:inline-flex;align-items:center;gap:6px;margin:6px 16px 0 0}

/* --- concepten --- */
.drafts,.entries{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.draft{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff}
.draft.current{border-color:var(--brand);box-shadow:0 0 0 2px rgba(11,61,145,.12)}
.draft-main{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}
.draft .row>*{flex:0 0 auto}

/* --- dienstregels --- */
.entries{margin-top:4px}
.entry{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid var(--line);padding:8px 0}
.entry .entry-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.entry:last-child{border-bottom:none}
button.tiny{min-height:32px;width:32px;padding:0;line-height:1;font-size:17px;flex:0 0 auto}

/* --- klembord-terugval --- */
#copy-fallback{margin-top:12px;border:1px solid var(--line);border-radius:10px;padding:12px}
#copy-fallback textarea{min-height:150px;font:12px/1.45 ui-monospace,Consolas,"Courier New",monospace}

/* --- printen: alleen de rapporttekst, geen formulier, geen footer --- */
@media print{
  .noprint{display:none!important}
  #intent-slot{display:none!important}
  #report-card.empty{display:none!important}
  #report-card,#log-out-card{display:block!important;border:0;padding:0;margin:0 0 14pt;box-shadow:none}
  #report-card .hint,#log-out-card .hint{display:none!important}
  .report-body{font:10.5pt/1.4 ui-monospace,Consolas,"Courier New",monospace;
    border:0;border-radius:0;padding:0;margin:0;max-height:none;overflow:visible;
    white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;color:#000}
  .printonly{display:block}
  @page{margin:14mm}
}
