.cfgsr-admin{max-width:none;margin-right:18px;color:#171A4A;font-family:Inter,Arial,sans-serif}
.cfgsr-admin-title{color:#171A4A;font-size:26px!important;line-height:1.3}
.cfgsr-admin-description{margin-bottom:18px}
.cfgsr-selector{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:15px 0 24px;padding:14px 16px;border:1px solid #dbe1e9;border-radius:12px;background:#fff}
.cfgsr-selector select{min-width:285px;max-width:620px}
.cfgsr-admin-warning{border-left:4px solid #da8f17;background:#fff9e8;padding:9px 12px}
.cfgsr-report{max-width:1300px;margin:0 auto 40px}
.cfgsr-sheet{position:relative;box-sizing:border-box;margin:0 0 24px;padding:24px 26px 22px;border:1px solid #dce0e9;border-radius:9px;background:#fff;box-shadow:0 4px 18px rgba(23,26,74,.04);color:#171A4A;page-break-after:always;break-after:page}
.cfgsr-sheet:last-child{page-break-after:auto;break-after:auto}
.cfgsr-report-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:14px;border-bottom:3px solid #C8102E}
.cfgsr-brand{display:flex;flex-direction:column;gap:3px;letter-spacing:1.1px}
.cfgsr-brand-top{font-size:9px;font-weight:700;color:#C8102E;letter-spacing:1.3px}
.cfgsr-brand strong{font-size:17px;font-weight:900;letter-spacing:1.2px}
.cfgsr-brand-sub{font-size:9px;font-weight:700;color:#646b82;letter-spacing:1.2px}
.cfgsr-report-head-right{text-align:right;display:flex;flex-direction:column;gap:4px}
.cfgsr-report-head-right strong{font-size:16px}
.cfgsr-report-head-right span{font-size:11px;color:#667086}
.cfgsr-race-intro{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:22px 0 18px}
.cfgsr-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:900;color:#C8102E}
.cfgsr-race-intro h2,.cfgsr-horse-header h2{margin:6px 0;font-size:23px;line-height:1.2;color:#171A4A}
.cfgsr-race-intro p,.cfgsr-horse-header p{margin:4px 0;font-size:12px;color:#667086}
.cfgsr-meta-cards{display:flex;gap:8px}
.cfgsr-meta-cards div{min-width:112px;padding:11px 12px;border-radius:9px;background:#f3f5fa;display:flex;flex-direction:column;gap:6px}
.cfgsr-meta-cards small,.cfgsr-kpi small{font-size:10px;color:#677187}
.cfgsr-meta-cards strong{font-size:17px;color:#171A4A}
.cfgsr-summary-table,.cfgsr-sections-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #dfe4ed}
.cfgsr-summary-table th,.cfgsr-summary-table td{padding:11px 8px;text-align:center;font-size:11px;border-bottom:1px solid #e7eaf1;vertical-align:middle;line-height:1.3}
.cfgsr-summary-table th{background:#171A4A;color:#fff;font-weight:700;font-size:10px}
.cfgsr-summary-table tbody tr:nth-child(even){background:#f8f9fc}
.cfgsr-summary-table .cfgsr-horse-name{text-align:left;font-weight:800;min-width:140px}
.cfgsr-overview-footer{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;margin:18px 0 16px;padding:12px 14px;background:#f3f5fa;font-size:11px;line-height:1.55;border-left:3px solid #C8102E}
.cfgsr-sheet-footer{display:flex;justify-content:space-between;margin-top:19px;padding-top:12px;border-top:1px solid #e7eaf1;color:#7c8497;font-weight:600;font-size:9px;letter-spacing:.3px}
.cfgsr-horse-header{display:flex;justify-content:space-between;align-items:center;margin:20px 0 17px}
.cfgsr-horse-header h2{font-size:26px;margin:5px 0}
.cfgsr-rank-pill{display:flex;gap:10px;align-items:center;padding:10px 18px;border-radius:999px;background:#171A4A;color:#fff;font-size:12px}
.cfgsr-rank-pill strong{font-size:21px}
.cfgsr-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:17px}
.cfgsr-kpi{padding:13px 12px;background:#f4f6fa;border:1px solid #ebedf3;border-radius:9px;display:flex;flex-direction:column;gap:6px}
.cfgsr-kpi strong{font-size:22px;color:#171A4A;line-height:1.1}
.cfgsr-kpi span{font-size:9px;color:#778194}
.cfgsr-body-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px}
.cfgsr-graph-card,.cfgsr-data-card{min-width:0;padding:16px;border:1px solid #dde3ed;border-radius:9px}
.cfgsr-graph-card h3,.cfgsr-data-card h3{font-size:14px;color:#171A4A;margin:0 0 4px}
.cfgsr-chart-sub{font-size:10px;color:#737d90;margin-bottom:6px}
.cfgsr-speed-svg{display:block;width:100%;height:215px}
.cfgsr-speed-legend{display:flex;flex-wrap:wrap;gap:7px 18px;align-items:center;padding:7px 0 4px;min-height:22px}
.cfgsr-speed-legend-item{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;font-size:10px;line-height:1.35;color:#171A4A}
.cfgsr-speed-legend-item strong{font-size:10px;font-weight:800;min-width:0;overflow-wrap:anywhere}
.cfgsr-speed-legend-item small{color:#67758c;font-size:9px;white-space:nowrap}
.cfgsr-legend-mark{display:inline-block;flex:0 0 23px;width:23px;height:0;border-top:3px solid #C8102E;position:relative}
.cfgsr-legend-mark:after{content:"";position:absolute;top:-5px;left:9px;width:6px;height:6px;border-radius:50%;border:2px solid #C8102E;background:#fff}
.cfgsr-legend-winner{border-color:#14789C;border-top-style:dashed}
.cfgsr-legend-winner:after{border-color:#14789C;border-radius:1px}
.cfgsr-graph-comparison-note{color:#68758b;font-size:10px;line-height:1.4;background:#f5f7fb;border-left:2px solid #a5b3c8;padding:5px 7px;margin:1px 0 5px}
.cfgsr-svg-axis{font-size:10px;font-family:Arial,sans-serif;fill:#596478}
.cfgsr-svg-value{font-size:11px;font-family:Arial,sans-serif;font-weight:700}
.cfgsr-svg-segment-code{font-size:9px;font-family:Arial,sans-serif;font-weight:700;fill:#C8102E}
.cfgsr-graph-note{font-size:10px;line-height:1.5;color:#637086;margin-top:2px;min-height:28px}
.cfgsr-cumulative-block{margin-top:14px;padding-top:12px;border-top:1px solid #e4e7ef}
.cfgsr-cumulative-block h3{font-size:13px;color:#171A4A;margin:0 0 4px}
.cfgsr-cumulative-svg{margin-top:3px}
.cfgsr-graph-empty{min-height:205px;display:flex;align-items:center;justify-content:center;color:#6b7081;background:#f5f6fb;font-size:12px}
.cfgsr-split-highlight{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;border-top:1px solid #e4e7ef;margin-top:10px;padding-top:12px;font-size:11px}
.cfgsr-split-highlight strong{font-size:16px;color:#C8102E}
.cfgsr-split-highlight small{font-size:10px;color:#68738c}
.cfgsr-ratings{display:flex;align-items:center;gap:13px;margin-top:13px;padding:9px 10px;background:#f6f7fb;border-radius:7px}
.cfgsr-ratings>span{font-size:10px;font-weight:700;margin-right:auto}
.cfgsr-ratings>div{display:flex;flex-direction:column;gap:3px;text-align:center}
.cfgsr-ratings small{font-size:9px;color:#647188}
.cfgsr-ratings strong{font-size:17px}
.cfgsr-sections-table th,.cfgsr-sections-table td{padding:8px 7px;border-bottom:1px solid #e4e9ef;text-align:right;font-size:10px;line-height:1.3}
.cfgsr-sections-table th{background:#171A4A;color:white;font-size:10px}
.cfgsr-sections-table th:first-child,.cfgsr-sections-table td:first-child{text-align:left}
.cfgsr-sections-table .cfgsr-section-group td{background:#eff2f8;color:#66738b;font-weight:800;font-size:9px;letter-spacing:1px;text-align:left;padding:7px 8px}
.cfgsr-empty-row{text-align:center!important;color:#8992a3;font-style:italic}
.cfgsr-methodology{background:#f5f7fb;border-left:3px solid #C8102E;margin-top:15px;padding:11px 13px;font-size:10px;color:#505b73;line-height:1.6}
.cfgsr-methodology strong{display:block;font-size:11px;margin-bottom:3px;color:#171A4A}
@media(max-width:1000px){.cfgsr-body-grid{grid-template-columns:1fr}.cfgsr-kpi-grid{grid-template-columns:repeat(3,1fr)}.cfgsr-race-intro{display:block}.cfgsr-meta-cards{margin-top:12px}.cfgsr-sheet{padding:15px}.cfgsr-summary-table{display:block;overflow-x:auto;white-space:nowrap}}
@media print{
 @page{size:A4 landscape;margin:9mm}
 html,body,#wpwrap,#wpcontent,#wpbody,#wpbody-content{background:#fff!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;min-height:0!important}
 #wpadminbar,#adminmenumain,#adminmenuwrap,#adminmenuback,#wpfooter,.notice,.update-nag,.cfgsr-admin-title,.cfgsr-admin-description,.cfgsr-selector,.cfgsr-admin-warning{display:none!important}
 .cfgsr-admin{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
 .cfgsr-report{width:100%!important;max-width:none!important;margin:0!important}
 .cfgsr-sheet{width:100%!important;min-height:188mm;margin:0!important;padding:1mm 1.5mm!important;border:0!important;box-shadow:none!important;border-radius:0!important;break-after:page!important;page-break-after:always!important;break-inside:avoid!important;page-break-inside:avoid!important}
 .cfgsr-sheet:last-child{break-after:auto!important;page-break-after:auto!important}
 .cfgsr-overview .cfgsr-report-head{padding-bottom:10px}
 .cfgsr-report-head{padding-bottom:9px}
 .cfgsr-race-intro{margin:13px 0 13px}
 .cfgsr-summary-table th,.cfgsr-summary-table td{padding:7px 6px;font-size:9px}
 .cfgsr-summary-table th{font-size:9px}
 .cfgsr-horse-header{margin:11px 0}
 .cfgsr-kpi-grid{margin-bottom:10px;gap:8px}
 .cfgsr-kpi{padding:9px 10px}
 .cfgsr-kpi strong{font-size:18px}
 .cfgsr-body-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:12px}
 .cfgsr-graph-card,.cfgsr-data-card{padding:10px 12px}
 .cfgsr-speed-svg{height:160px}
 .cfgsr-sections-table td,.cfgsr-sections-table th{padding:6px 5px;font-size:9px}
 .cfgsr-methodology{font-size:9px;padding:7px 10px;margin-top:9px}
 .cfgsr-overview-footer{margin-top:14px}
 .cfgsr-sheet-footer{margin-top:9px;padding-top:7px}
 .cfgsr-ratings{margin-top:8px}
 .cfgsr-split-highlight{padding-top:7px;margin-top:6px}
 .cfgsr-kpi-grid,.cfgsr-body-grid{page-break-inside:avoid!important;break-inside:avoid!important}
 *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}
