/* ---------- P027: backup duration and size (owner, 2026-12-01: "a dual bar chart with the right side y axis showing size") ----------
   Each backup is a pair: its duration bar (coloured by result) and, 1 px beside it, its new data in neutral grey: solid
   for what was stored, hatched above it for what compression saved. Pairs sit 5 px apart; the size axis on the right
   reads off the same gridlines as the duration axis on the left. */
.hp .dchart.dual { grid-template-columns: var(--yw, 44px) minmax(0, 1fr) var(--yw2, 44px); }
.hp .dchart .yax.r span { left: 0; right: auto; }
/* Pairs 5 px apart, the two bars of a pair 1 px apart: 21 pairs keep 7 px bars in a half-width card at 1440 (8 px apart
   left them 5 px). */
.hp .dchart.dual .pw { --bw: min(24px, round(down, calc((100cqw - (var(--n) - 1) * 5px - var(--n) * 1px) / var(--n) / 2), 1px)); }
.hp .dchart.dual .bars { gap: 5px; }
.hp .dchart .b.pair { width: calc(var(--bw) * 2 + 1px); gap: 1px; }
.hp .dchart .b.pair > i { flex: none; width: var(--bw); }
.hp .dchart .b.pair .sz { display: flex; flex-direction: column-reverse; flex: none; width: var(--bw); height: 96px; }
.hp .dchart .b.pair .sz i { display: block; flex: none; width: 100%; border-radius: 0; }
.hp .dchart .b.pair .sz i:last-child { border-radius: 2px 2px 0 0; }
.hp .dchart .b.pair .sz i.st, .legend i.sz-st { background: var(--colorNeutralForeground3); }
.hp .dchart .b.pair .sz i.sv { background: repeating-linear-gradient(135deg, var(--colorNeutralStroke1) 0 2px, transparent 2px 5px); box-shadow: inset 0 -2px 0 var(--colorNeutralBackground1), inset 0 0 0 1px var(--colorNeutralStroke1); }
.legend i.sz-sv { background: repeating-linear-gradient(135deg, var(--colorNeutralStroke1) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--colorNeutralStroke1); }
