/* estudio-0512 · PERF2 · R4 (design.historialUnSvg0512 on): the price history drawn once (components/site-design/ficha-cajas/
   SdHistoryChartUno.tsx). One SVG of 1000 × 1000 stretched over the plot, its strokes at their pixels (non-scaling-stroke),
   and its texts in HTML at a fixed 12 and 13 px around it: the plot keeps 44 px on the left for the grid's euros, the room of
   «Media …» and «Hoy …» on the right (--sd-fc-c1-pad), 16 above and 30 below for the days. 240 px high (210 in a box under
   480 px, as today's narrow chart). The day labels of each set by the box's own width: wide from 720, middle from 480, narrow
   from 360 and «x» under 360 (each set picked on the real pixels of the narrowest box of its band, so they never overlap).
   «Hoy …» moved away from «Media …» by the plot's height of each band (--bajo from 480, --bajo-n under 480): down, or up
   (--sube) when the average lies under today's point. The point of today
   15 px across with its 3 px ring (border-box), as today's circle of r 6 and stroke 3. Colours only from the --sd-* variables
   of today's chart. */
[data-site-design="nuevo"] .sd-fc-c1 { container-type: inline-size; }
[data-site-design="nuevo"] .sd-fc-c1__plot { position: relative; height: 194px; margin: 16px var(--sd-fc-c1-pad, 74px) 30px 44px; }
@container (max-width: 479px) {
  [data-site-design="nuevo"] .sd-fc-c1__plot { height: 164px; }
}
[data-site-design="nuevo"] .sd-fc-c1__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
[data-site-design="nuevo"] .sd-fc-c1__s1 { stop-color: var(--sd-chart-line); stop-opacity: .2; }
[data-site-design="nuevo"] .sd-fc-c1__s2 { stop-color: var(--sd-chart-line); stop-opacity: 0; }
[data-site-design="nuevo"] .sd-fc-c1__grid { fill: none; stroke: var(--sd-chart-grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
[data-site-design="nuevo"] .sd-fc-c1__avg { fill: none; stroke: var(--sd-ink-2); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
[data-site-design="nuevo"] .sd-fc-c1__low { fill: none; stroke: var(--sd-save); stroke-width: 1.5; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
[data-site-design="nuevo"] .sd-fc-c1__line { fill: none; stroke: var(--sd-chart-line); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
[data-site-design="nuevo"] .sd-fc-c1__t { position: absolute; inset: 0; pointer-events: none; }
[data-site-design="nuevo"] .sd-fc-c1__y,
[data-site-design="nuevo"] .sd-fc-c1__x,
[data-site-design="nuevo"] .sd-fc-c1__m { position: absolute; font-family: var(--sd-font); font-size: 12px; line-height: 12px; color: var(--sd-ink-2); white-space: nowrap; }
[data-site-design="nuevo"] .sd-fc-c1__y { right: calc(100% + 8px); transform: translateY(-50%); }
[data-site-design="nuevo"] .sd-fc-c1__m { left: calc(100% + 8px); transform: translateY(-50%); }
[data-site-design="nuevo"] .sd-fc-c1__x { display: none; top: calc(100% + 12px); transform: translateX(-50%); }
[data-site-design="nuevo"] .sd-fc-c1__x[data-s*="w"] { display: block; }
@container (max-width: 719px) {
  [data-site-design="nuevo"] .sd-fc-c1__x[data-s*="w"] { display: none; }
  [data-site-design="nuevo"] .sd-fc-c1__x[data-s*="m"] { display: block; }
}
@container (max-width: 479px) {
  [data-site-design="nuevo"] .sd-fc-c1__x[data-s*="m"] { display: none; }
  [data-site-design="nuevo"] .sd-fc-c1__x[data-s*="n"] { display: block; }
}
@container (max-width: 359px) {
  [data-site-design="nuevo"] .sd-fc-c1__x[data-s*="n"] { display: none; }
  [data-site-design="nuevo"] .sd-fc-c1__x[data-s*="x"] { display: block; }
}
[data-site-design="nuevo"] .sd-fc-c1__dot { position: absolute; left: 100%; width: 15px; height: 15px; border: 3px solid var(--sd-chart-line); border-radius: 50%; background: var(--sd-paper); transform: translate(-50%, -50%); }
[data-site-design="nuevo"] .sd-fc-c1__now { position: absolute; left: calc(100% + 12px); font-family: var(--sd-font); font-size: 13px; line-height: 13px; font-weight: var(--sd-w-700); color: var(--sd-ink); white-space: nowrap; transform: translateY(-50%); }
[data-site-design="nuevo"] .sd-fc-c1__now--bajo { margin-top: 13px; }
[data-site-design="nuevo"] .sd-fc-c1__now--bajo.sd-fc-c1__now--sube { margin-top: -13px; }
@container (max-width: 479px) {
  [data-site-design="nuevo"] .sd-fc-c1__now--bajo { margin-top: 0; }
  [data-site-design="nuevo"] .sd-fc-c1__now--bajo-n { margin-top: 13px; }
  [data-site-design="nuevo"] .sd-fc-c1__now--bajo.sd-fc-c1__now--sube { margin-top: 0; }
  [data-site-design="nuevo"] .sd-fc-c1__now--bajo-n.sd-fc-c1__now--sube { margin-top: -13px; }
}
