/* KOYOMI biYORI | shared print/PDF skeleton | proposal 1.0
 * Intended for print-friendly kb-report markup. This is not a PDF generator.
 * @page is used ONLY when printing: app-specific sheet rules may override it.
 */
.kb-root .kb-report { max-width: 794px; background: #fff; color: #1d293d; margin: 20px auto; padding: 42px 48px; border: 1px solid var(--kb-border); box-shadow: var(--kb-shadow-card); font-family: var(--kb-font-body); }
.kb-root .kb-report-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; border-bottom: 2px solid #a8864f; padding-bottom: 18px; margin-bottom: 24px; }
.kb-root .kb-report-brand { font: 700 20px Georgia,var(--kb-font-display); color: #192337; }
.kb-root .kb-report-sub { color: #536074; font-size: 12px; }
.kb-root .kb-report h2 { font: 700 25px/1.5 var(--kb-font-display); margin: 18px 0 10px; }
.kb-root .kb-report h3 { font: 700 17px/1.5 var(--kb-font-display); border-left: 3px solid #a8864f; padding-left: 12px; margin: 24px 0 10px; }
.kb-root .kb-report p,.kb-root .kb-report li { font-size: 13px; line-height: 1.75; }
.kb-root .kb-report-conditions { border: 1px solid #d5d0c5; padding: 12px 16px; background: #f8f7f4; }
.kb-root .kb-report table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 15px 0; }
.kb-root .kb-report th,.kb-root .kb-report td { padding: 8px 10px; text-align: left; vertical-align: top; border: 1px solid #d5d0c5; }
.kb-root .kb-report th { background: #f4f2ed; font-weight: 700; }
.kb-root .kb-report-footer { border-top: 1px solid #d5d0c5; padding-top: 12px; margin-top: 30px; font-size: 11px; color: #536074; }
.kb-root .kb-report-placeholder { border: 1px dashed #b8b0a3; background: #faf9f6; padding: 18px; text-align: center; }
@media print {
  @page { size: A4 portrait; margin: 16mm 14mm; }
  html,body { background: #fff !important; }
  /* Preview pages marked .kb-demo-ui are hidden; the report is printed alone. */
  .kb-root { background: #fff !important; color: #111 !important; font-size: 10pt; }
  .kb-root .kb-demo-ui, .kb-root .kb-no-print { display: none !important; }
  .kb-root .kb-print-zone { display: block !important; margin: 0; }
  .kb-root .kb-container { width: auto; max-width: none; margin: 0; }
  .kb-root .kb-report { box-shadow: none; border: 0; margin: 0 auto; padding: 0; max-width: none; width: 100%; }
  .kb-root .kb-report-heading { border-bottom: 1pt solid #777; }
  .kb-root .kb-report th { background: #eee !important; color: #111; }
  .kb-root .kb-report :where(h2,h3,dt,th) { break-after: avoid; }
  .kb-root .kb-report :where(tr,.kb-report-conditions,.kb-report-placeholder,.kb-report-footer) { break-inside: avoid; }
  .kb-root .kb-report :where(p,li) { orphans: 3; widows: 3; }
  .kb-root .kb-report a { color: #111; text-decoration: underline; }
}
