/* ============================================================
   FitBridge — 课表 chart styles + zone legend
   ============================================================ */
.kebab { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.kebab-plot {
  display: flex; align-items: flex-end; gap: 2px;
  width: 100%; height: 150px;
  padding: 0 2px;
  border-bottom: 1.5px solid var(--card-border);
}
.kebab-bar {
  flex-basis: 0; min-width: 2px;
  border-radius: 3px 3px 0 0;
  transition: filter .12s, transform .12s;
  cursor: default;
}
.kebab-bar:hover { filter: brightness(1.06) saturate(1.1); transform: translateY(-1px); }

/* X3 · grouped swimming SET — one continuous block (not a comb) carrying a "N×on / rest" tag.
   overflow:hidden is a safety net so the centered tag can never spill past a narrow block onto
   a neighbour (renderChart also withholds the tag below a width threshold). */
.kebab-bar.is-set { position: relative; min-width: 26px; overflow: hidden; }
.kebab-set-tag {
  position: absolute; left: 50%; top: 5px; transform: translateX(-50%);
  background: rgba(255, 255, 255, .9); color: var(--ink-2, #2a3340);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: -.2px;
  line-height: 1; padding: 2px 6px; border-radius: 999px; white-space: nowrap;
  pointer-events: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

/* variant A — solid filled zone blocks */
.kebab-solid .kebab-bar { background: var(--zc); }

/* variant B — light tint fill + zone-color top cap (skyline) */
.kebab-outline .kebab-bar {
  background: color-mix(in srgb, var(--zc) 20%, #fff);
  border-top: 3px solid var(--zc);
  border-radius: 4px 4px 0 0;
}

.kebab-axis {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--dim-2);
}
.kebab-tick { font-variant-numeric: tabular-nums; }

/* compact chart (course cards / week) */
.kebab.is-mini .kebab-plot { height: 92px; }

.zone-legend {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
}
.zone-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--dim);
}
.zone-chip i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.zone-chip b { font-weight: 700; color: var(--ink-2); font-size: 11px; }
.zone-legend.is-compact .zone-chip b { display: none; }
