/* #1165 — existing month segments: truthful, compact hierarchy and relative scale. */
@media (min-width: 901px) {
  .narrative-layout--month .narrative-segment-row > div:first-child > strong {
    color: var(--color-ink);
    font-weight: var(--typography-weight-bold);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
  }

  .narrative-layout--month .narrative-segment-metrics > strong {
    font-size: 1.0625rem;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    font-weight: var(--typography-weight-bold);
  }

  /* A personal-commitment cue, NOT a calendar or workspace color. */
  .narrative-layout--month .narrative-segment-row.has-engagements:not(.is-selected) {
    box-shadow: inset 3px 0 0 var(--color-brand-strong);
  }

  .narrative-layout--month .narrative-segment-row.has-engagements .narrative-segment-metrics > strong,
  .narrative-layout--month .narrative-segment-row.has-engagements .narrative-segment-metrics > span {
    color: var(--color-brand-strong);
  }

  /* This bar compares segments to one another; it does not show free time. */
  .narrative-layout--month .narrative-bar {
    height: 10px;
    background: color-mix(in srgb, var(--color-brand) 14%, var(--color-line));
  }

  .narrative-layout--month .narrative-bar > i {
    background: var(--color-brand-strong);
  }
}

@media (min-width: 901px) and (forced-colors: active) {
  .narrative-layout--month .narrative-bar {
    outline: 1px solid CanvasText;
    background: Canvas;
  }
  .narrative-layout--month .narrative-bar > i {
    background: Highlight;
  }
}
