/* xTraMarlin 2.0 | Raport z zawodow v2 | 2026-10-26
 * All charts use the existing xm-v2-theme preference. No private theming switch.
 */
.xm-report-page {
  --xrr-chart-1: #f5a524;
  --xrr-chart-2: #29cba5;
  --xrr-chart-3: #64a9fa;
  --xrr-chart-4: #ef8d59;
  --xrr-chart-5: #b793f8;
  --xrr-chart-6: #e9649d;
  --xrr-chart-7: #54d8e0;
  --xrr-chart-8: #a2c776;
  --xrr-team-1: #f4bf45;
  --xrr-team-2: #76baff;
  --xrr-team-3: #f08b4b;
  --xrr-team-4: #35c4d7;
  --xrr-plot-grid: rgba(164,185,214,.16);
  --xrr-track: var(--xm-surface-3,#1b304b);
  --xrr-pale: rgba(100,164,237,.07);
  --xrr-danger: #ff7f94;
}
html[data-xm-theme="light"] .xm-report-page,
html[data-xm-native-theme="light"]:not([data-xm-theme]) .xm-report-page {
  --xrr-chart-1: #d98a0b;
  --xrr-chart-2: #078f73;
  --xrr-chart-3: #2867c9;
  --xrr-chart-4: #c75d27;
  --xrr-chart-5: #7847c0;
  --xrr-chart-6: #b93975;
  --xrr-chart-7: #0086a9;
  --xrr-chart-8: #648628;
  --xrr-team-1: #d1960f;
  --xrr-team-2: #2879ca;
  --xrr-team-3: #df6f35;
  --xrr-team-4: #0b829c;
  --xrr-plot-grid: rgba(51,65,85,.17);
  --xrr-track: #e4ecf5;
  --xrr-pale: rgba(41,97,162,.045);
  --xrr-danger: #cd3c57;
}
.xm-report-kpis {grid-template-columns:repeat(5,minmax(0,1fr))}
.xm-report-kpi {padding:20px 19px;min-height:136px}
.xm-report-kpi>span {font-size:10px;line-height:1.3}
.xm-report-kpi>strong {font-size:clamp(24px,2.6vw,37px)}
.xm-report-kpi-rejected>strong {color:var(--xrr-danger)}
.xm-report-hourly-panel{padding-bottom:25px}
.xm-report-hourly{display:grid;gap:15px}
.xm-report-hour-graph-scroller{overflow-x:auto;max-width:100%;padding-bottom:5px;scrollbar-color:var(--xrr-border) transparent;scrollbar-width:thin}
.xm-report-hour-graph{position:relative;display:grid;grid-template-columns:35px minmax(0,1fr);gap:14px;height:287px}
.xm-report-hour-grid {position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;color:var(--xrr-muted);font-size:10px;line-height:1;padding:16px 0 24px}
.xm-report-hour-grid:after {content:"";position:absolute;top:16px;bottom:25px;left:40px;right:0;width:1000px;max-width:calc(1340px - 140px);pointer-events:none}
.xm-report-hour-columns{position:relative;display:flex;gap:11px;align-items:stretch;border-bottom:1px solid var(--xrr-plot-grid);padding:16px 0 0;background:repeating-linear-gradient(to top, transparent 0, transparent calc(50% - 1px), var(--xrr-plot-grid) 50%,transparent calc(50% + 1px));background-size:100% calc(100% - 24px);background-repeat:no-repeat;background-position:0 12px;min-width:0}
.xm-report-hour-col{flex:1 0 47px;min-width:43px;max-width:120px;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;text-align:center;gap:5px}
.xm-report-hour-col>strong{font-size:12px;font-weight:850;line-height:1.05;color:var(--xrr-text);font-variant-numeric:tabular-nums}
.xm-report-hour-plot{position:relative;flex:1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center}
.xm-report-hour-stack{width:min(100%,58px);overflow:hidden;border-radius:4px 4px 0 0;display:flex;flex-direction:column-reverse;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);transition:height .28s ease}
.xm-report-hour-segment{width:100%;min-height:0;display:block}
.xm-report-hour-col>small{font-size:10px;color:var(--xrr-muted);min-height:19px;white-space:nowrap;font-variant-numeric:tabular-nums}
.xm-report-chart-legend{display:flex;justify-content:center;gap:11px 20px;flex-wrap:wrap}
.xm-report-chart-legend span{display:inline-flex;align-items:center;gap:7px;color:var(--xrr-text);font-size:12px;font-weight:600}
.xm-report-chart-legend i{height:10px;width:10px;border-radius:3px;display:inline-block;flex:none}
.xm-report-footnote{color:var(--xrr-muted);font-size:11px;line-height:1.5;margin:15px 0 0}
.xm-report-chart-pair{align-items:stretch}
.xm-report-length-species{display:grid;gap:20px}
.xm-report-length-group + .xm-report-length-group{border-top:1px solid var(--xrr-border);padding-top:15px}
.xm-report-length-group-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;margin-bottom:10px}
.xm-report-length-group-head strong{font-size:13px}
.xm-report-length-group-head small{font-size:10px;color:var(--xrr-muted)}
.xm-report-length-scroll{width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--xrr-border) transparent}
.xm-report-length-chart{height:132px;display:flex;justify-content:flex-start;align-items:stretch;gap:5px;padding:3px 1px 5px}
.xm-report-length-bin{display:flex;flex:1 0 34px;min-width:34px;max-width:75px;flex-direction:column;align-items:center;gap:4px;text-align:center}
.xm-report-length-bin strong{font-size:11px;font-weight:850;line-height:1.1;font-variant-numeric:tabular-nums}
.xm-report-length-plot{width:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--xrr-plot-grid);background:linear-gradient(to top,var(--xrr-plot-grid) 1px,transparent 1px) 0 50% / 100% 100% no-repeat}
.xm-report-length-plot span{width:min(32px,90%);border-radius:4px 4px 0 0;min-height:2px;transition:height .25s ease}
.xm-report-length-bin small{font-size:10px;color:var(--xrr-muted);font-variant-numeric:tabular-nums}
.xm-report-longest{display:grid;gap:0}
.xm-report-longest-row{display:grid;grid-template-columns:24px 28px 85px minmax(0,1fr) 42px;align-items:center;gap:8px;min-height:43px;padding:6px 0;border-bottom:1px solid var(--xrr-border)}
.xm-report-longest-row:last-child{border-bottom:0}
.xm-report-record-rank{color:var(--xrr-muted);font-size:12px}
.xm-report-record-rank.is-top{color:var(--xrr-chart-1)}
.xm-report-record-icon{display:flex;align-items:center;justify-content:center;color:var(--xrr-blue)}
.xm-report-record-icon img{height:25px;width:25px;object-fit:contain}
.xm-report-record-length{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.xm-report-record-length small{color:var(--xrr-muted);font-size:10px}
.xm-report-record-team{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--xrr-text);font-weight:650}
.xm-report-record-team small{font-size:10px;display:block;color:var(--xrr-muted);font-weight:400}
.xm-report-longest-row time{font-size:10px;text-align:right;color:var(--xrr-muted);font-variant-numeric:tabular-nums}
.xm-report-team-leaders{display:grid;gap:12px}
.xm-report-leader-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:7px}
.xm-report-leader-head strong{color:var(--xrr-text);font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.xm-report-leader-head span{white-space:nowrap;color:var(--xrr-muted);font-size:10px;font-variant-numeric:tabular-nums}
.xm-report-leader-track,.xm-report-rejection-track{height:6px;border-radius:6px;background:var(--xrr-track);overflow:hidden}
.xm-report-leader-track span,.xm-report-rejection-track span{height:100%;display:block;border-radius:inherit;transition:width .25s ease}
.xm-report-rejection-list{display:grid;gap:14px}
.xm-report-rejection-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:7px}
.xm-report-rejection-head strong{font-size:11px;color:var(--xrr-text);font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.xm-report-rejection-head b{color:var(--xrr-danger);font-size:12px;font-variant-numeric:tabular-nums}
.xm-report-rejection-track span{background:var(--xrr-danger)}
@media (max-width:1150px){.xm-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:800px){.xm-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.xm-report-hour-graph{height:250px}}
@media (max-width:600px){.xm-report-kpi{min-height:122px;padding:17px 13px}.xm-report-kpi>strong{font-size:27px}.xm-report-hourly-panel{padding:19px 12px}.xm-report-hour-graph{grid-template-columns:23px minmax(0,1fr);gap:8px}.xm-report-hour-grid{font-size:9px}.xm-report-longest-row{grid-template-columns:16px 22px 65px minmax(0,1fr) 31px;gap:5px}.xm-report-record-length{font-size:12px}.xm-report-record-team{font-size:9px}.xm-report-record-team small{font-size:9px}.xm-report-longest-row time{font-size:9px}.xm-report-leader-head{display:block}.xm-report-leader-head span{display:block;margin-top:3px}}
@media print{
  .xm-report-page{--xrr-chart-1:#dd920d;--xrr-chart-2:#09826b;--xrr-chart-3:#2c71bf;--xrr-chart-4:#bb5322;--xrr-plot-grid:#dde3eb;--xrr-track:#eef1f6;--xrr-danger:#bf364e}
  .xm-report-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
  .xm-report-kpi{min-height:80px;padding:9px}
  .xm-report-kpi>strong{font-size:21px}
  .xm-report-hour-graph{height:180px}
  .xm-report-chart-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xm-report-hour-graph-scroller,.xm-report-length-scroll{overflow:visible}
  .xm-report-hour-graph,.xm-report-length-chart{min-width:0!important}
  .xm-report-panel{break-inside:avoid;page-break-inside:avoid}
  .xm-report-hour-stack,.xm-report-hour-segment,.xm-report-length-plot span,.xm-report-leader-track span,.xm-report-rejection-track span{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
