/* ---------- App shell ---------- */
body { background: #f5f6f8; }
.app-navbar { background: #1e3a8a; }
.report-logo { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 700; color: #1e3a8a; letter-spacing: 1px; line-height: 1; }
.report-logo-sub { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; font-weight: 700; color: #1e3a8a; letter-spacing: 1px; }

/* ---------- Report card ---------- */
.report-body { background: #e9ecef; margin: 0; padding: 24px 12px; }
.report-toolbar { max-width: 800px; margin: 0 auto 16px; display: flex; justify-content: space-between; gap: 8px; }
.btn-print, .btn-plain {
  display: inline-block; padding: 8px 16px; border-radius: 6px; text-decoration: none;
  border: 0; cursor: pointer; font-size: 14px;
}
.btn-print { background: #1d4ed8; color: #fff; }
.btn-plain { background: #fff; color: #333; border: 1px solid #ccc; }

.report-sheet {
  max-width: 800px; margin: 0 auto; background: #fff;
  padding: 48px 56px 64px; box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.report-head { text-align: center; margin-bottom: 8px; }
.report-title {
  text-align: center; color: #1d4ed8; font-weight: 800; font-size: 46px;
  line-height: 1.05; margin: 18px 0 40px; letter-spacing: 1px;
  font-family: Arial, Helvetica, sans-serif;
}

.report-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; margin-bottom: 36px; }
.rf { display: flex; flex-direction: column; }
.rf-label { color: #555; font-size: 14px; margin-bottom: 4px; }
.rf-val { border-bottom: 1px solid #bbb; padding-bottom: 4px; min-height: 24px; font-size: 16px; font-weight: 600; }

.report-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.report-table thead th {
  background: #1e4fd8; color: #fff; text-align: left; padding: 14px 22px;
  font-size: 15px; letter-spacing: 2px; font-weight: 700;
}
.report-table thead th.rt-grade { text-align: center; }
.report-table tbody td {
  background: #cfcfcf; color: #4a4a4a; padding: 14px 22px; font-size: 15px; letter-spacing: 1px;
}
.report-table tbody td.rt-grade { text-align: center; font-weight: 700; color: #222; }
.rt-num { font-weight: 400; color: #666; font-size: 13px; }
/* spacing between the two columns like the mockup */
.report-table .rt-subject { width: 66%; }
.report-table thead th.rt-subject { border-right: 12px solid #fff; }
.report-table tbody td.rt-subject { border-right: 12px solid #fff; }

.report-scale { margin-top: 48px; font-size: 14px; color: #333; line-height: 1.7; }
.report-scale-title { font-weight: 700; margin-bottom: 4px; }
.report-period { margin-top: 24px; font-size: 12px; color: #999; }

/* ---------- Print ---------- */
@media print {
  .no-print, .report-toolbar { display: none !important; }
  body, .report-body { background: #fff !important; padding: 0 !important; }
  .report-sheet { box-shadow: none; margin: 0; max-width: none; padding: 24px 32px; }
  @page { margin: 12mm; }
}
