/* =====================================================================
   A4 TDS ŞABLONU — Dinamik-TDS-v13.5.html'den BİREBİR aktarılan kurallar.
   Ölçüler, renkler, yazı boyutları, tablo ve not düzeni DEĞİŞTİRİLMEMİŞTİR.
   Yalnızca dış kabuktan (site.css) etkilenmemesi için yalıtım kuralları
   (font, line-height, box-sizing) eklenmiştir. Font: v13.5'te "Inter, Arial"
   yığınında Inter yüklenmediğinden fiilen Arial kullanılıyordu; burada Arial sabittir.
   ===================================================================== */
.tds-page, .tds-page * { box-sizing:border-box; }
.tds-page { font-family:Arial, Helvetica, sans-serif; line-height:normal; letter-spacing:normal; text-align:left; -webkit-font-smoothing:auto; }

.tds-page { width:210mm; min-width:210mm; height:297mm; background:#fff; position:relative; overflow:hidden; box-shadow:0 18px 60px rgba(15,23,42,.20); border:1px solid #111; }
.tds-page .template-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; z-index:1; max-width:none; }
.tds-page .content { position:absolute; z-index:2; left:16mm; right:15mm; top:92mm; bottom:29mm; color:#222; }
.tds-page .meta { font-size:8.0pt; line-height:1.45; margin-bottom:4.1mm; color:#2a2a2a; }
.tds-page .meta .line { margin:0 0 1.15mm; }
.tds-page .meta .label { display:inline; text-transform:uppercase; font-weight:800; color:#111; font-size:8.0pt; letter-spacing:0; margin:0 2px 0 0; }
.tds-page .section-head { font-family:"Arial Narrow", Arial, sans-serif; font-weight:900; font-size:10.7pt; margin:2.5mm 0 2.4mm; letter-spacing:-.01em; color:#111; }
.tds-page .report-head-row { display:flex; align-items:flex-end; justify-content:space-between; gap:8mm; margin:2.5mm 0 2.4mm; }
.tds-page .report-head-row .section-head { margin:0; flex:1 1 auto; }
.tds-page .document-reference { flex:0 0 auto; min-width:48mm; text-align:right; white-space:nowrap; color:#111; font-family:Arial, Helvetica, sans-serif; font-size:7.2pt; font-weight:800; line-height:1; padding:0 1mm .35mm 0; letter-spacing:.01em; }
.tds-page table.spec { width:100%; border-collapse:separate; border-spacing:0; font-size:7.0pt; color:#1e2a44; border:1px solid #d7dee9; border-radius:2.2mm; overflow:hidden; box-shadow:0 1mm 2.4mm rgba(15,23,42,.16); background:#fff; }
.tds-page .spec th { background:linear-gradient(90deg,#173758,#111a30); color:#fff; padding:2.3mm 1.4mm; font-size:6.9pt; border-right:1px solid rgba(255,255,255,.35); text-align:center; font-weight:900; }
.tds-page .spec th:first-child { text-align:left; padding-left:12.6mm; width:32%; }
.tds-page .spec td { background:#fff; padding:1.55mm 1.35mm; border-top:1px solid #d7dee9; border-right:1px solid #d7dee9; vertical-align:middle; text-align:center; font-weight:800; }
.tds-page .spec td:first-child { text-align:left; position:relative; background:linear-gradient(90deg,#edf3f8,#fff); padding-left:12.1mm; font-weight:900; width:32%; }
.tds-page .spec td:last-child, .tds-page .spec th:last-child { border-right:0; }
.tds-page .spec tr.thermal td { padding-top:1.95mm; padding-bottom:1.95mm; }
.tds-page .spec .ico { position:absolute; left:0; top:0; bottom:0; width:10.4mm; display:flex; align-items:center; justify-content:center; color:#fff; background:linear-gradient(145deg,#132642,#0b1729); clip-path:polygon(0 0,82% 0,100% 50%,82% 100%,0 100%); }
.tds-page .spec .ico svg { width:4.4mm; height:4.4mm; stroke:#fff; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.tds-page .spec .multi { white-space:pre-line; text-align:left; line-height:1.16; font-size:6.3pt; }
.tds-page .spec .thermal-value { text-align:center; }
.tds-page .notes { margin-top:3.4mm; font-size:6.75pt; line-height:1.38; color:#444; max-width:100%; }
.tds-page .notes .technical-note { margin-bottom:1.8mm; }
.tds-page .notes .other-title { color:#111; font-family:"Arial Narrow", Arial, sans-serif; font-weight:900; font-size:9.0pt; margin-top:1.5mm; margin-bottom:.75mm; }
.tds-page .empty-state { position:absolute; inset:0; z-index:3; display:flex; align-items:center; justify-content:center; text-align:center; padding:30mm; font:600 12pt/1.5 Arial, sans-serif; color:#5b6270; background:rgba(255,255,255,.86); }

/* ---------------- YAZDIRMA: yalnız TDS sayfası, A4 dikey, renkli ---------------- */
.print-root { display:none; }
@media print {
  @page { size:A4 portrait; margin:0; }
  html, body { width:210mm; height:297mm; margin:0 !important; padding:0 !important; background:#fff !important; overflow:visible !important; }
  body > *:not(.print-root) { display:none !important; }
  .print-root { display:block !important; width:210mm; height:297mm; overflow:hidden; }
  .print-root .tds-page { box-shadow:none; border:0; margin:0; page-break-after:avoid; break-after:avoid; page-break-inside:avoid; }
  .print-root .print-empty { font:12pt Arial, sans-serif; padding:30mm; }
  * { -webkit-print-color-adjust:exact !important; print-color-adjust:exact !important; color-adjust:exact !important; }
}
