/* CHART-DESIGN-IMPLEMENTATION-01: 01 Słupki, real SPOT data only.
   Standalone component styles; load before precision-theme.css. */
body.account-page .spot-panel {
  background: #fff;
  color: #173147;
  border-color: #ccd7df;
  border-radius: 9px;
}
body.account-page .spot-heading .eyebrow,
body.account-page .spot-now strong { color: #173147; }
body.account-page .spot-badge { color: #123d61; background: #daeafa; border-color: #91afc5; border-radius: 7px; white-space: normal; }
body.account-page .spot-note,
body.account-page .spot-now small,
body.account-page .spot-zone-field label,
body.account-page .spot-now > span,
body.account-page #spot-status,
body.account-page #spot-hint,
body.account-page .spot-source,
body.account-page #spot-all,
body.account-page #spot-chart-legend { color: #526777; }
body.account-page .spot-zone-field,
body.account-page .spot-now { border-color: #ccd7df; border-radius: 9px; }
body.account-page .spot-tabs { gap: 4px; background: #eff2f5; border-radius: 7px; }
body.account-page .spot-tabs button { min-height: 48px; min-width: 0; color: #526777; white-space: normal; overflow-wrap: anywhere; }
body.account-page .spot-tabs button[aria-selected=true] { color: #123d61; background: #daeafa; box-shadow: none; }
body.account-page .spot-chart-scroll { position: relative; border-color: #ccd7df; border-radius: 9px; overscroll-behavior-x: contain; background: #fff; }
body.account-page #spot-chart { display: block; height: 260px; color: #173147; max-width: none; }
body.account-page .spot-axis-pinned { position: sticky; left: 0; height: 260px; margin-top: -260px; background: #fff; box-shadow: 3px 0 8px #17314708; }
body.account-page .spot-axis-pinned svg { display: block; width: 100%; height: 260px; max-width: none; stroke: none; }
body.account-page .spot-axis-pinned text { font-family: inherit; font-variant-numeric: tabular-nums; }
body.account-page #spot-chart text { font-family: inherit; font-variant-numeric: tabular-nums; }
body.account-page #spot-chart .price-grid-line { stroke-width: 1px; }
body.account-page #spot-chart .price-zero-line { stroke-width: 1.5px; }
body.account-page #spot-chart [data-spot-min-line] { stroke-width: 1px; }
body.account-page #spot-chart .price-chart-hit { stroke: transparent; stroke-width: 2px; cursor: pointer; }
body.account-page #spot-chart .price-chart-hit:focus-visible { outline: none; stroke: #185483; stroke-width: 2px; }
body.account-page #spot-inspector {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 14px;
  background: #f5f8fb;
  border: 1px solid #ccd7df;
  border-radius: 9px;
}
body.account-page #spot-inspector label { grid-row: 1; color: #526777; font-size: 12px; margin: 0; }
body.account-page #spot-selected {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  grid-column: 1;
  grid-row: 2;
  text-align: left;
  color: #173147;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  margin: 0;
}
body.account-page #spot-range { min-height: 48px; width: 100%; margin: 0; accent-color: #185483; }
body.account-page .spot-inspector-separator { display: none; }
body.account-page .spot-inspector-time { font-size: 15px; font-weight: 650; color: #173147; }
body.account-page .spot-inspector-price { font-size: clamp(22px, 4vw, 28px); line-height: 1.2; font-weight: 750; letter-spacing: -.03em; color: #123d61; }
body.account-page .spot-inspector-basis { color: #123d61; font-weight: 650; margin-bottom: 6px; }
body.account-page .spot-inspector-detail { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; width: 100%; padding: 5px 0; border-top: 1px solid #dce5ed; }
body.account-page .spot-inspector-detail > span { flex: 1 1 45%; color: #526777; }
body.account-page .spot-inspector-detail > strong { flex: 1 1 55%; text-align: right; font-weight: 600; }
body.account-page .spot-inspector-zone { color: #526777; font-size: 11px; margin-top: 4px; }
body.account-page .spot-inspector-navigation { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 10px; grid-row: 3; }
body.account-page .spot-inspector-navigation button { width: 44px; min-height: 44px; padding: 0; border: 1px solid #ccd7df; border-radius: 7px; background: #fff; color: #123d61; font-size: 26px; line-height: 1; }
body.account-page .spot-inspector-navigation button:disabled { opacity: .45; }
body.account-page .spot-inspector-navigation button:focus-visible { outline: 2px solid #185483; outline-offset: 2px; }
body.account-page #spot-inspector .spot-inspector-navigation #spot-range { grid-column: 2; grid-row: 1; min-width: 0; }
body.account-page .spot-inspector-navigation button { grid-row: 1; }
body.account-page .spot-inspector-navigation button:first-child { grid-column: 1; }
body.account-page .spot-inspector-navigation button:last-child { grid-column: 3; }
body.account-page #spot-price-basis { color: #526777; margin: 10px 0 6px; font-size: 12px; }
body.account-page #spot-inspector { margin-top: 12px; }
body.account-page #spot-interval-list { padding-left: 0; list-style: none; }
body.account-page #spot-interval-list button { width: 100%; min-height: 48px; padding: 10px 12px; text-align: left; white-space: normal; overflow-wrap: anywhere; }
body.account-page #spot-interval-list button[aria-pressed=true] { color: #123d61; background: #daeafa; border-color: #185483; }
body.account-page #spot-chart-legend { gap: 8px 16px; }
body.account-page .spot-legend-item { min-width: 0; align-items: baseline; overflow-wrap: anywhere; }
body.account-page .spot-legend-estimated::before { background: #5680a0; }
body.account-page .spot-legend-net::before { background: #5c846b; }
body.account-page .spot-legend-raw::before { height: 2px; border-top: 2px dashed #35513f; background: transparent; border-radius: 0; }
body.account-page .spot-legend-selected::before { background: #185483; }
body.account-page .spot-source a { color: #185483; }
@media (max-width: 480px) {
  body.account-page .spot-heading { align-items: flex-start; flex-wrap: wrap; }
  body.account-page #spot-inspector { padding: 12px; }
}
@media (forced-colors: active) {
  body.account-page .spot-axis-pinned rect { fill: Canvas; }
  body.account-page .spot-axis-pinned text { fill: CanvasText; }
  body.account-page #spot-chart .price-zero-line { stroke: CanvasText; }
  body.account-page #spot-chart .price-chart-hit:focus-visible { stroke: Highlight; }
  body.account-page #spot-inspector,
  body.account-page .spot-chart-scroll { border-color: CanvasText; }
  body.account-page #spot-interval-list button[aria-pressed=true] { outline: 2px solid Highlight; }
}
