/* Metalurjist.com.tr - Ortak Araç PDF Rapor Standardı
   Hesaplama / simülasyon mantığına dokunmaz; sadece rapor, print ve PDF görünümünü standardize eder. */
:root{
  --mj-report-primary:#0f766e;
  --mj-report-secondary:#0891b2;
  --mj-report-text:#0f172a;
  --mj-report-muted:#64748b;
  --mj-report-line:#d8e2ea;
  --mj-report-bg:#ffffff;
}
.mj-tool-report-standard,
.mj-report-a4,
.mj-pdf-standard,
.mj-standard-report{
  background:#fff!important;
  color:#0f172a!important;
  width:210mm;
  max-width:100%;
  min-height:297mm;
  margin:0 auto;
  box-shadow:0 22px 70px rgba(15,23,42,.12);
  border:1px solid #d8e2ea;
  border-radius:18px;
  overflow:hidden;
  print-color-adjust:exact;
  -webkit-print-color-adjust:exact;
}
.mj-standard-report-header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  background:#fff!important;
  border-bottom:3px solid var(--mj-report-primary)!important;
  padding:14px 18px!important;
  color:#0f172a!important;
  break-inside:avoid;
  page-break-inside:avoid;
}
.mj-standard-report-brand{display:flex;align-items:center;gap:12px;min-width:0}
.mj-standard-report-logo{width:56px;height:56px;object-fit:contain;border-radius:10px;background:#fff}
.mj-standard-report-title{display:block;font-size:18px;font-weight:900;line-height:1.15;color:#0f172a!important}
.mj-standard-report-subtitle{display:block;margin-top:3px;font-size:12px;font-weight:700;color:#64748b!important}
.mj-standard-report-meta{text-align:right;font-size:11px;font-weight:700;color:#64748b!important;white-space:nowrap}
.mj-standard-report-footer{
  display:grid!important;
  gap:2px!important;
  background:#fff!important;
  border-top:1px solid #d8e2ea!important;
  padding:10px 18px!important;
  margin-top:18px!important;
  color:#64748b!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  font-weight:700!important;
  break-inside:avoid;
  page-break-inside:avoid;
}
.mj-standard-report-footer b{color:#0f766e!important}
.mj-standard-report-body{padding:18px!important}
.mj-standard-report-section{break-inside:avoid;page-break-inside:avoid;margin-bottom:14px}
.mj-standard-report-section h1,
.mj-standard-report-section h2,
.mj-standard-report-section h3{color:#0f172a!important;break-after:avoid;page-break-after:avoid}
.mj-standard-report-section table{width:100%;border-collapse:collapse;background:#fff!important;color:#0f172a!important}
.mj-standard-report-section th,
.mj-standard-report-section td{border:1px solid #d8e2ea!important;padding:7px 8px!important;color:#0f172a!important}
.mj-standard-report-section th{background:#f8fafc!important;color:#334155!important}
.mj-standard-report-section canvas,
.mj-standard-report-section img{max-width:100%;height:auto;break-inside:avoid;page-break-inside:avoid}
.mj-engineering-enhancement{
  margin-top:10px;
  border:1px solid #cce7e5;
  border-left:4px solid #0f766e;
  border-radius:14px;
  background:linear-gradient(180deg,#f7fffe,#ffffff);
  padding:12px 14px;
  color:#0f172a;
  break-inside:avoid;
  page-break-inside:avoid;
}
.mj-engineering-enhancement strong{display:block;margin-bottom:6px;color:#0f766e;font-size:13px}
.mj-engineering-enhancement ul{margin:0;padding-left:18px}
.mj-engineering-enhancement li{margin:3px 0;font-size:12.5px;line-height:1.45}
html.dark .mj-engineering-enhancement,
html[data-theme="dark"] .mj-engineering-enhancement{background:#fff;color:#0f172a}
@media print{
  @page{size:A4 portrait;margin:10mm}
  html,body{background:#fff!important;color:#0f172a!important}
  .no-print,.mj-no-print,.print-hide{display:none!important}
  .mj-tool-report-standard,
  .mj-report-a4,
  .mj-pdf-standard,
  .mj-standard-report{
    width:190mm!important;
    min-height:auto!important;
    margin:0 auto!important;
    border:none!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    color:#0f172a!important;
  }
  .mj-standard-report-header{padding:0 0 8mm!important;margin-bottom:5mm!important}
  .mj-standard-report-footer{padding:4mm 0 0!important;margin-top:7mm!important}
}
