/* ===== هوية shawkytech: أزرق غامق سائد مع أغلبية للأبيض ===== */
:root {
  --pri: #1e40af; --pri-d: #0b1f4d; --pri-l: #e8efff; --navy: #0b1f4d; --sky: #0ea5e9;
  --bg: #f5f7fc; --card: #fff; --line: #e2e8f0; --txt: #1e293b; --mut: #64748b;
}
body { background: var(--bg); }
a { color: var(--pri); }
h1 { color: var(--navy); } h3 { color: #1e3a8a; }

/* الشريط العلوي */
.top { background: linear-gradient(90deg, #0b1f4d, #1e3a8a 70%, #1e40af); box-shadow: 0 2px 12px rgba(11, 31, 77, .25); height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .sk-icon { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); flex: 0 0 auto; }
.br-t { display: flex; flex-direction: column; line-height: 1.15; } .br-t b { font-size: 16px; } .br-t small { font-size: 11px; letter-spacing: .5px; opacity: .85; direction: ltr; text-align: start; } .br-t small i { font-style: normal; color: #7dd3fc; font-weight: 700; }
.layout { min-height: calc(100vh - 60px); }

/* الشعار */
.sk-logo { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.sk-word { font-family: Cairo, 'Segoe UI', sans-serif; letter-spacing: .3px; line-height: 1; } .sk-word b { color: var(--navy); font-weight: 800; } .sk-word i { font-style: normal; color: #2563eb; font-weight: 600; }
.sk-logo.light .sk-word b { color: #fff; } .sk-logo.light .sk-word i { color: #7dd3fc; }

/* صفحة الدخول */
.login { background: radial-gradient(circle at 15% 15%, #2563eb 0, #1e3a8a 35%, #0b1f4d 70%, #071433 100%); }
.login form { border-top: 5px solid #1e40af; box-shadow: 0 24px 60px rgba(7, 20, 51, .45); }
.lg-brand { margin: -4px 0 6px; display: flex; justify-content: center; } .lg-brand .sk-icon { filter: drop-shadow(0 6px 10px rgba(11, 31, 77, .35)); }
.login h2 { color: var(--navy); } .lg-foot { margin-top: 16px; font-size: 11px; color: var(--mut); direction: ltr; }

/* القائمة الجانبية */
.side { background: #fff; border-color: var(--line); box-shadow: 0 0 18px rgba(11, 31, 77, .05); }
.side a.on { background: var(--pri); color: #fff; box-shadow: 0 3px 8px rgba(30, 64, 175, .3); }
.side a:hover, .side a.cur { background: var(--pri-l); color: var(--navy); }
.side .sm-h { color: #1e3a8a; }

/* الأزرار والحقول */
.btn.pri { background: linear-gradient(180deg, #2563eb, #1e40af); border-color: #1e40af; box-shadow: 0 2px 6px rgba(30, 64, 175, .3); }
.btn.pri:hover { background: linear-gradient(180deg, #1e40af, #1e3a8a); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid #93c5fd; border-color: var(--pri); }
.chip.on { background: var(--pri); color: #fff; } .ftabs a.on { background: var(--pri-l); color: var(--navy); border-color: #bfdbfe; }

/* البطاقات والجداول */
.kpi, .tile, .farm, .bd-card, .kc, .mtype, .machine, .phase, .tbl-w { box-shadow: 0 4px 14px rgba(11, 31, 77, .06); border-color: var(--line); }
.kpi .kv { color: var(--navy); }
.tile:hover, .farm:hover { box-shadow: 0 8px 22px rgba(11, 31, 77, .12); }
.tbl th { background: #f1f5fb; color: #1e3a8a; } .tbl.daily th { background: #1e3a8a; color: #fff; }
.tbl tr.cur td { background: #eef4ff; } .bd-t tr.total td, .bd-t tr.total td.nm { background: #eef4ff; }
.sec-t { border-top-color: var(--pri); }

/* المخططات: بطاقة بيضاء بارزة */
.ch { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: 0 8px 22px rgba(11, 31, 77, .08), 0 1px 3px rgba(11, 31, 77, .06); position: relative; overflow: hidden; }
.ch::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #1e40af, #0ea5e9); }
.ch:hover { box-shadow: 0 12px 28px rgba(11, 31, 77, .14); }
.kc-c { background: linear-gradient(180deg, #fff, #f8fafc); border-radius: 10px; }

/* المظهر المسائي: نفس الهوية بدرجات داكنة */
:root[data-theme="dark"] { --pri: #3b82f6; --pri-d: #93c5fd; --pri-l: #172554; --navy: #e0e7ff; --bg: #0a1224; --card: #111b33; --line: #1f2b48; --txt: #e2e8f0; --mut: #94a3b8; }
[data-theme="dark"] .top { background: linear-gradient(90deg, #050d22, #0b1f4d 70%, #1e3a8a); }
[data-theme="dark"] .btn.pri { background: linear-gradient(180deg, #2563eb, #1d4ed8); border-color: #1d4ed8; }
[data-theme="dark"] .side a.on, [data-theme="dark"] .chip.on { background: #1d4ed8; color: #fff; }
[data-theme="dark"] .chip { background: #172554; color: #bfdbfe; } [data-theme="dark"] .ftabs a.on { background: #172554; color: #bfdbfe; }
[data-theme="dark"] .tbl.daily th { background: #1e3a8a; } [data-theme="dark"] .tbl th { background: #16213d; color: #bfdbfe; }
[data-theme="dark"] .tbl tr.cur td, [data-theme="dark"] .bd-t tr.total td { background: #172554; }
[data-theme="dark"] .ch, [data-theme="dark"] .kc-c { background: var(--card); border-color: var(--line); }
[data-theme="dark"] .login { background: radial-gradient(circle at 15% 15%, #1e3a8a, #0b1f4d 55%, #050d22); }
[data-theme="dark"] .sk-word b { color: #fff; } [data-theme="dark"] .kpi .kv, [data-theme="dark"] h1 { color: #e0e7ff; } [data-theme="dark"] h3 { color: #bfdbfe; }
/* ===== المخطط الهندسي للفقاسة ===== */
.hp-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; overflow-x: auto; box-shadow: 0 8px 22px rgba(11, 31, 77, .08); margin: 8px 0; }
.hplan { width: 100%; min-width: 960px; height: auto; display: block; direction: ltr; color: #dc2626; font-family: Cairo, Tahoma, sans-serif; }
.hp-shell { fill: none; stroke: #0b1f4d; stroke-width: 5; }
.hp-r { stroke: #0b1f4d; stroke-width: 2.2; fill: #fff; transition: fill .15s; }
.z-cold { fill: #e7f0ff; } .z-egg { fill: #f4f7ff; } .z-cor { fill: #f1f5f9; } .z-set { fill: #fff4f4; } .z-hat { fill: #fffbea; } .z-tr { fill: #eef8ff; }
.z-chick { fill: #effcf3; } .z-out { fill: #e9fbfd; } .z-sup { fill: #fafbfd; } .z-wash { fill: #eef1ff; } .z-dirty { fill: #fdf1f1; } .z-clean { fill: #eefcf9; }
.z-tech { fill: #f6f8fb; } .z-waste { fill: #fdeeee; } .z-lab { fill: #f4f2ff; }
.hp-a { cursor: pointer; } .hp-a:hover .hp-r { fill: #dbeafe; } .hp-a:hover rect.hp-set, .hp-a:hover rect.hp-hat { stroke-width: 2.5; }
.hp-ar { fill: #0b1f4d; font-weight: 700; text-anchor: middle; } .hp-en { fill: #64748b; text-anchor: middle; letter-spacing: .6px; } .hp-info { fill: #1e40af; font-size: 10.5px; text-anchor: middle; font-weight: 700; }
.hp-cor { fill: #94a3b8; font-size: 10px; text-anchor: middle; letter-spacing: 1px; }
rect.hp-set { fill: url(#hpSet); stroke: #7f1d1d; stroke-width: 1; filter: url(#hpSh); } rect.hp-hat { fill: url(#hpHat); stroke: #92400e; stroke-width: 1; filter: url(#hpSh); }
rect.hp-set.empty, rect.hp-hat.empty { fill: #fff; stroke-dasharray: 4 3; filter: none; stroke-width: 1.6; } rect.hp-set.empty { stroke: #ef4444; } rect.hp-hat.empty { stroke: #f59e0b; }
.hp-mn { fill: #fff; font-weight: 800; font-size: 15px; text-anchor: middle; pointer-events: none; } .hp-ms { fill: #fff; font-size: 8.5px; text-anchor: middle; pointer-events: none; }
.hp-mn.e, .hp-ms.e { fill: #94a3b8; } .hp-bar { fill: #fff; opacity: .85; }
.hp-flow { fill: none; stroke: #2563eb; stroke-width: 2.6; stroke-dasharray: 8 6; opacity: .5; pointer-events: none; }
.hp-arw line { stroke: currentColor; stroke-width: 3.2; } .hp-arw.waste { color: #b91c1c; } .hp-arw.men { color: #1e40af; } .hp-at { fill: #0b1f4d; font-size: 11px; font-weight: 800; }
.hp-truck rect, .hp-truck circle { fill: #1e40af; } .hp-truck circle { stroke: #fff; stroke-width: 1.5; }
.hp-north circle { fill: #fff; stroke: #0b1f4d; stroke-width: 2; } .hp-north path { fill: #dc2626; } .hp-north text { fill: #0b1f4d; font-size: 11px; text-anchor: middle; font-weight: 800; }
.hp-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--mut); margin: 4px 2px 14px; }
.hp-leg i { display: inline-block; width: 16px; height: 12px; border-radius: 3px; vertical-align: middle; margin-inline-end: 4px; }
.hp-leg i.s { background: linear-gradient(#f87171, #b91c1c); } .hp-leg i.h { background: linear-gradient(#fde047, #d97706); } .hp-leg i.e { border: 1.5px dashed #94a3b8; } .hp-leg i.f { border-top: 3px dashed #2563eb; height: 0; }
[data-theme="dark"] .hp-wrap { background: #f8fafc; }
.hp-door { fill: #f1f5f9; stroke: none; }
.hsum { background: #f5f8ff; border: 1px solid #dbe6ff; border-radius: 10px; padding: 8px 10px; margin: 6px 0; } .hsum .tbl { margin-top: 6px; }
/* ===== صفحة التقارير ===== */
.rpt-f { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; gap: 10px 14px; box-shadow: 0 4px 12px rgba(11, 31, 77, .05); }
.rpt-f label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #1e3a8a; font-size: 13px; } .rpt-f select, .rpt-f input { min-width: 120px; }
.rpt-tabs a { font-weight: 700; } .rpt-tools { margin: 6px 0; } .print-h { display: none; }
@media print {
  .top, .side, .rpt-f, .rpt-tabs, .rpt-tools, .ftabs, .crumbs, .page-h .acts, .btn, .ib, #tip { display: none !important; }
  .layout, main { display: block !important; margin: 0 !important; padding: 0 !important; } body { background: #fff; }
  .print-h { display: block; font-weight: 700; color: #0b1f4d; margin: 0 0 8px; } .tbl-w { overflow: visible !important; box-shadow: none !important; }
  .tbl { font-size: 9px; } .tbl th, .tbl td { padding: 2px 4px; } .kpis { gap: 4px; } .kpi { box-shadow: none !important; padding: 4px 6px; }
}
[data-theme="dark"] .rpt-f { background: var(--card); } [data-theme="dark"] .rpt-f label { color: #bfdbfe; }
/* ===== التتبع والمساعد الذكي ===== */
.tr-chain { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; } .tr-arr { text-align: center; color: #64748b; font-size: 12px; font-weight: 700; }
.trs { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: 0 4px 12px rgba(11, 31, 77, .06); border-inline-start: 5px solid #1e40af; }
.trs.t-br { border-inline-start-color: #eab308; } .trs.t-ha { border-inline-start-color: #ef4444; } .trs.t-ps { border-inline-start-color: #10b981; } .trs.t-gp { border-inline-start-color: #8b5cf6; }
.trs-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; } .trs-h small { color: var(--mut); } .trs-n { background: #1e40af; color: #fff; border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; }
.trks { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; } .trk { background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; display: flex; flex-direction: column; border-inline-start: 3px solid #cbd5e1; }
.trk small { color: var(--mut); font-size: 11px; } .trk b { font-size: 15px; color: var(--navy); } .trk i { font-style: normal; font-size: 10.5px; color: #64748b; }
.trk.lv-g { border-inline-start-color: var(--lv-g); } .trk.lv-y { border-inline-start-color: var(--lv-y); } .trk.lv-o { border-inline-start-color: var(--lv-o); } .trk.lv-r { border-inline-start-color: var(--lv-r); background: #fff5f5; }
.trm { font-size: 12px; margin-top: 6px; } .trm .chip { margin: 2px; }
.tr-report { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 12px; } .tr-report td { font-size: 12px; vertical-align: top; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; } .seg a { padding: 6px 12px; font-weight: 700; color: var(--txt); } .seg a.on { background: var(--pri); color: #fff; }
#aibtn { position: fixed; bottom: 18px; left: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: radial-gradient(circle at 30% 30%, #2563eb, #0b1f4d); box-shadow: 0 8px 22px rgba(11, 31, 77, .45); display: grid; place-items: center; color: #fff; }
#aibtn span { position: absolute; bottom: -2px; right: -2px; background: #f59e0b; color: #0b1f4d; font-size: 10px; font-weight: 800; border-radius: 10px; padding: 1px 6px; border: 2px solid #fff; } #aibtn:hover { transform: scale(1.06); }
#aibot { position: fixed; bottom: 88px; left: 18px; z-index: 61; width: min(440px, calc(100vw - 36px)); height: min(620px, calc(100vh - 120px)); background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(11, 31, 77, .35); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
#aibot.hide { display: none; } .ab-top { background: linear-gradient(90deg, #0b1f4d, #1e40af); color: #fff; padding: 10px 12px; display: flex; align-items: center; gap: 8px; } .ab-top small { opacity: .8; flex: 1; } .ab-top button { background: transparent; border: 0; color: #fff; font-size: 16px; cursor: pointer; }
#abmsgs { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; background: #f8fafc; }
.ab-m { padding: 8px 10px; border-radius: 12px; font-size: 13px; line-height: 1.6; max-width: 95%; } .ab-m.me { background: #1e40af; color: #fff; align-self: flex-start; } .ab-m.bot { background: #fff; border: 1px solid var(--line); align-self: flex-end; } .ab-m.ai { border-color: #93c5fd; background: #f5f9ff; }
.ab-m ul, .ab-m ol { margin: 4px 0; padding-inline-start: 18px; } .ab-h { font-weight: 800; color: #1e3a8a; margin-top: 6px; } .ab-sec { border-bottom: 1px dashed var(--line); padding-bottom: 3px; margin-top: 4px; } .ab-ok { color: #047857; } .ab-note { margin-top: 6px; font-size: 12px; }
.ab-sug { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; } .ab-sug a { background: #eef4ff; border-radius: 8px; padding: 4px 8px; font-size: 12px; } .ab-ai-h { font-weight: 800; color: #1d4ed8; } .ab-wait { color: var(--mut); }
#aibot form { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--line); } #aibot input { flex: 1; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
@media print { #aibtn, #aibot { display: none !important; } }
[data-theme="dark"] :is(.trs, .tr-report, #aibot, .ab-m.bot) { background: var(--card); color: var(--txt); border-color: var(--line); } [data-theme="dark"] #abmsgs { background: #0a1224; } [data-theme="dark"] .trk { background: #16213d; }
/* ===== نافذة تكسير 21 يوم ===== */
.br-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; margin: 10px 0; }
.br-form, .br-side { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: 0 4px 12px rgba(11, 31, 77, .06); } .br-side { position: sticky; top: 70px; } .br-side h3 { margin-top: 0; }
.br-row { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px; } .br-row label, .brg label, .br-notes { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; color: #1e3a8a; gap: 3px; }
.br-row input, .br-row select, .brg input, .br-notes input { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; font: inherit; min-width: 110px; }
.brg { border: 1px solid #dbe6ff; border-radius: 10px; padding: 6px 10px 10px; margin: 6px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .brg legend { font-weight: 800; color: #0b1f4d; padding: 0 6px; font-size: 13px; }
.brg input { min-width: 0; } .br-notes { margin: 6px 0; }
.br-k .kpi { padding: 6px 8px; } .br-t td { font-size: 12px; } .br-t tr.sub td { color: #475569; font-size: 11.5px; } .br-t tr.sub td:first-child { padding-inline-start: 18px; }
.brb { background: #eef2f7; border-radius: 4px; height: 8px; min-width: 70px; } .brb i { display: block; height: 100%; border-radius: 4px; }
.bd-week { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 14px 0; } .bd-week summary { cursor: pointer; font-weight: 800; color: #1e3a8a; font-size: 15px; }
@media (max-width: 900px) { .br-wrap { grid-template-columns: 1fr; } .br-side { position: static; } }
[data-theme="dark"] :is(.br-form, .br-side, .bd-week) { background: var(--card); color: var(--txt); }

/* ===== الربط الشامل وتتبع المدخلات ===== */
.chip.v-good{background:#dcfce7;color:#166534;border-color:#86efac}
.chip.v-warn{background:#fef3c7;color:#92400e;border-color:#fcd34d}
.chip.v-bad{background:#fee2e2;color:#991b1b;border-color:#fca5a5}
.chip.v-na{background:#f1f5f9;color:#475569}
.chip a{color:inherit;font-weight:700}
.lk-bar{height:8px;background:#e2e8f0;border-radius:6px;overflow:hidden}.lk-bar i{display:block;height:100%}
.trs.t-sl{border-inline-start:5px solid #7c3aed}
.trf-box{margin:16px 0;padding:14px;border:1px solid var(--line,#e2e8f0);border-radius:12px;background:var(--card,#fff)}
.trf-t td,.trf-t th{font-size:12px}
.trf-t tr.trf-mark td{background:#fef2f2;font-weight:600}
td.n-good{color:#166534}td.n-warn{color:#92400e}td.n-bad{color:#b91c1c;font-weight:600}
.red-dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:#dc2626;border:2px solid #fff;box-shadow:0 0 0 1px #dc2626;vertical-align:middle;margin-inline-end:4px}
.trf-legend{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:8px 12px;margin:6px 0 10px;font-size:13px}
.trf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:12px}
.trf-ex{font-size:12px;margin-top:4px;color:#7f1d1d}
.tr-ph{display:none}
body.pdf-mode .tr-print{width:1150px;background:#fff;color:#0f172a;padding:10px}
body.pdf-mode .tr-print .tbl-w{overflow:visible}
body.pdf-mode .tr-ph,.tr-print .tr-ph{}
body.pdf-mode .tr-ph{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #0b2a5b;padding-bottom:8px;margin-bottom:10px;font-size:14px}
body.pdf-mode .tr-ph svg{height:34px;width:auto}
@media print{
  .side,.topbar,header,.filters,.ftabs,.page-h .acts,#aibtn,.crumbs,.ab-panel{display:none!important}
  .tr-ph{display:flex;justify-content:space-between;border-bottom:3px solid #0b2a5b;margin-bottom:8px}
  .tr-print .tbl-w{overflow:visible}
  .trs,.chart-box,.trf-legend{break-inside:avoid}
  .trf-grid{grid-template-columns:1fr 1fr}
  body{background:#fff}
}
@media (max-width:640px){.trf-grid{grid-template-columns:1fr}}
/* ===== مستند PDF للتتبع (نسخة مخصصة بعرض ثابت بدون قص) ===== */
.pdf-wrap{position:absolute;left:0;top:0;width:auto;z-index:-50;pointer-events:none;direction:rtl}
.pdf-doc{width:1120px;background:#fff;color:#0f172a;font-size:12px;line-height:1.45;padding:0 4px}
.pdf-doc .tr-print{width:auto;padding:0;background:#fff}
.pdf-doc .tr-ph{display:flex!important;align-items:center;justify-content:space-between;gap:16px;border-bottom:3px solid #0b2a5b;padding:4px 0 10px;margin-bottom:14px}
.pdf-doc .pdf-logo svg{height:40px;width:auto}
.pdf-doc .pdf-title{text-align:center;flex:1}.pdf-doc .pdf-title b{display:block;font-size:18px;color:#0b2a5b}.pdf-doc .pdf-title span{font-size:13px;color:#334155}
.pdf-doc .pdf-date{font-size:12px;color:#475569;text-align:left}
.pdf-doc .tbl-w{overflow:visible!important;max-width:none!important}
.pdf-doc table{width:100%!important;table-layout:auto;border-collapse:collapse;font-size:10px}
.pdf-doc th,.pdf-doc td{padding:3px 4px!important;white-space:normal!important;word-break:break-word;vertical-align:top;border:1px solid #e2e8f0}
.pdf-doc th{background:#eef2f9!important;color:#0b2a5b;font-weight:700}
.pdf-doc .nowrap{white-space:nowrap!important}
.pdf-doc small{font-size:9px}
.pdf-doc .trs{break-inside:avoid;page-break-inside:avoid;margin-bottom:8px;box-shadow:none;border:1px solid #cbd5e1}
.pdf-doc .trks{display:flex;flex-wrap:wrap;gap:6px}
.pdf-doc .trk{min-width:120px;flex:1 1 120px}
.pdf-doc .trm{white-space:normal;line-height:1.9}
.pdf-doc .chip{display:inline-block;margin:1px 2px;font-size:10px;white-space:normal}
.pdf-doc .trf-box{border:1px solid #cbd5e1;box-shadow:none;page-break-inside:auto}
.pdf-doc .trf-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pdf-doc .chart-box{break-inside:avoid;page-break-inside:avoid;border:1px solid #e2e8f0;border-radius:8px;padding:6px}
.pdf-doc img.pdf-chart{display:block;width:100%;height:auto}
.pdf-doc .tr-report table td,.pdf-doc .tr-report table th{font-size:10px}
.pdf-doc h3{font-size:15px;color:#0b2a5b;margin:12px 0 6px;page-break-after:avoid}
.pdf-doc h4{font-size:13px;margin:10px 0 4px;page-break-after:avoid}
.pdf-doc .tr-arr{margin:2px 0;font-size:11px}