/* ---------- P014: storage forecast chart in the server Overview's storage cards ----------
   The same frame as the duration chart (HTML axis labels at 12 px, whole-pixel gridlines); the lines are an inline SVG
   stretched across the plot with strokes that don't stretch. Colours follow the cards: stored in the backups' neutral,
   the estimate dashed in a lighter neutral (Gemini plan: no brand blue), the fit limit like the keep-free mark; orange only where backups stop fitting. */
.hp .schart { display: grid; grid-template-columns: var(--yw, 44px) minmax(0, 1fr); column-gap: 8px; margin: 12px 0 4px; }
.hp .schart .yax { position: relative; height: 120px; }
.hp .schart .yax span { position: absolute; right: 0; color: var(--colorNeutralForeground3); font-size: var(--fontSizeBase200); line-height: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hp .schart .plot { position: relative; height: 120px; min-width: 0; }
.hp .schart .gl { position: absolute; left: 0; right: 0; height: 1px; background: var(--colorNeutralStroke3); }
.hp .schart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hp .schart svg * { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.hp .schart .act { stroke: var(--colorNeutralForeground2); stroke-width: 2; }
.hp .schart .fc { stroke: var(--colorNeutralForeground3); stroke-width: 2; stroke-dasharray: 5 4; }
.hp .schart .lim { stroke: var(--colorNeutralForeground1); stroke-width: 1.5; stroke-dasharray: 2 3; }
.hp .schart .today { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--colorNeutralStroke1); }
.hp .schart .dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--colorNeutralForeground2); box-shadow: 0 0 0 2px var(--colorNeutralBackground1); }
.hp .schart .dot.wf { background: var(--warn); }
.hp .schart .dot:focus-visible { outline: 2px solid var(--colorStrokeFocus2); outline-offset: 2px; }
.hp .schart .note { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 16px); padding: 2px 8px; border-radius: var(--borderRadiusMedium); background: var(--colorNeutralBackground1); color: var(--colorNeutralForeground3); font-size: var(--fontSizeBase200); line-height: var(--lineHeightBase200); text-align: center; }
.hp .schart .xax { position: relative; height: 16px; margin-top: 5px; color: var(--colorNeutralForeground3); font-size: var(--fontSizeBase200); line-height: 16px; white-space: nowrap; }
.hp .schart .xax span { position: absolute; top: 0; }
.hp .schart .xax .l { left: 0; } .hp .schart .xax .r { right: 0; } .hp .schart .xax .t { transform: translateX(-50%); }
.hp .est .legend i.act { height: 2px; width: 14px; background: var(--colorNeutralForeground2); }
.hp .est .legend i.fc { height: 0; width: 14px; background: none; border-top: 2px dashed var(--colorNeutralForeground3); }
.hp .est .legend i.lim { height: 0; width: 14px; background: none; border-top: 2px dotted var(--colorNeutralForeground1); }
.hp .est .legend i.wf { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.hp .schart .fc.warn { stroke: var(--warn); }
/* Review r1 (Gemini): the lines and marks sit 6 px in from the plot's edges (the first reading clear of the axis), and the
   dates span the same box; the estimate and its legend swatch share one dash, in the same neutral as the stored line, orange
   when backups stop fitting. */
.hp .schart .pa { position: absolute; inset: 0 6px; }
.hp .schart .xax { margin-left: 6px; margin-right: 6px; }
.hp .schart .fc { stroke: var(--colorNeutralForeground2); stroke-width: 1.5; }
.hp .est .legend i.fc { width: 20px; height: 2px; border: 0; background: repeating-linear-gradient(90deg, var(--colorNeutralForeground2) 0 5px, transparent 5px 9px); }
.hp .est .legend i.fc.warn { background: repeating-linear-gradient(90deg, var(--warn) 0 5px, transparent 5px 9px); }
.hp .est .legend i.act { width: 20px; } .hp .est .legend i.lim { width: 20px; }
