@page{size:A4 landscape;margin:8mm 10mm}*{box-sizing:border-box}body{color:#19333c;background:#e9e9e6;margin:0;font-family:Arial,sans-serif}.print-toolbar{justify-content:center;gap:1rem;padding:1rem;display:flex}.print-toolbar button,.print-toolbar a{font:inherit;color:#19333c;background:#fff;border:1px solid #8b999b;border-radius:3px;padding:.5rem 1rem}.pedigree-sheet{background:#fff;grid-template-rows:31mm 6mm 148mm 8mm;width:277mm;height:193mm;margin:0 auto 1rem;display:grid}.pedigree-header{border-top:.4mm solid #967347;padding-top:2mm;position:relative}.pedigree-brand{align-items:center;gap:2mm;display:flex}.pedigree-brand img{object-fit:contain;width:14mm;height:14mm}.pedigree-brand-name{font:17pt Georgia,serif}.pedigree-kicker{text-transform:uppercase;color:#245d64;margin-top:1mm;font-size:7.5pt;font-weight:700}.pedigree-header h1{overflow-wrap:anywhere;margin:1mm 0;font:22pt/1.05 Georgia,serif}.pedigree-facts{overflow-wrap:anywhere;margin:0;font-size:8pt;line-height:1.2}.pedigree-generation-heads,.pedigree-tree{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.15fr);column-gap:7mm;display:grid}.pedigree-generation-heads{text-transform:uppercase;align-items:center;font-size:7pt;font-weight:700}.pedigree-generation-heads span{border-bottom:.2mm solid #b4c1c2;padding-bottom:1mm}.pedigree-tree{position:relative}.pedigree-tree:after{content:"";pointer-events:none;border-top:.2mm solid #a1afb0;width:100%;position:absolute;top:50%}.pedigree-column{grid-template-rows:repeat(var(--count), minmax(0, 1fr));min-width:0;display:grid}.pedigree-position{align-items:center;min-height:0;display:flex;position:relative}.pedigree-card{overflow-wrap:anywhere;background:#e8f1f0;border-left:.5mm solid #426c71;width:100%;padding:.2mm 1.5mm;font-size:7.8pt;line-height:1.04;position:relative}.pedigree-position[data-branch=dam] .pedigree-card{background:#f4eee5;border-left-color:#927049}.pedigree-name{font-weight:700;display:block}.pedigree-meta{color:#374b50;font-size:.82em;line-height:1.1;display:block}.pedigree-branch{text-transform:uppercase;font-size:8pt;font-weight:700;position:absolute;bottom:calc(100% + 1mm);left:1.5mm}.pedigree-position[data-generation="1"] .pedigree-card{font-size:9pt}.pedigree-position[data-generation="2"] .pedigree-card{font-size:8.5pt}.pedigree-position[data-generation="3"] .pedigree-card{font-size:8pt}.pedigree-position[data-generation]:not([data-generation="1"]):before{content:"";border-top:.2mm solid #70888b;width:3.5mm;position:absolute;top:50%;left:-3.5mm}.pedigree-position[data-side=S]:not([data-generation="1"]):after{content:"";border-left:.2mm solid #70888b;height:100%;position:absolute;top:50%;left:-3.5mm}.pedigree-column:not(:last-child) .pedigree-card:after{content:"";border-top:.2mm solid #70888b;width:3.5mm;position:absolute;top:50%;left:100%}.pedigree-footer{border-top:.2mm solid #b4c1c2;justify-content:space-between;align-items:center;font-size:7pt;display:flex}.pedigree-footer strong{color:#245d64}@media screen{.pedigree-sheet{padding:0;box-shadow:0 2px 15px #0002}}@media print{html,body{background:#fff;width:277mm;margin:0}.print-toolbar{display:none!important}.pedigree-sheet{break-inside:avoid;box-shadow:none;margin:0}}
