/* ch-plan (scene 35 week). Every selector starts with an xp- class. */
.xp-week .xp-stack { display: grid; align-items: end; }
.xp-week .xp-stack > .xp-stack__i { grid-area: 1 / 1; }
.xp-week .xg-note { text-wrap: balance; }
.xp-week .xp-lines { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; overflow: visible; }
.xp-week .xp-line { stroke: rgb(255 255 255 / .4); stroke-width: 1; transition: opacity .5s var(--ease); }
.xp-week .xp-ldot { fill: var(--cta); transition: opacity .5s var(--ease); }
/* a day label: plain text, the day in orange over what it adds */
.xp-week .xp-lab { box-sizing: border-box; position: absolute; left: 0; top: 0; z-index: 3; display: grid; gap: 0; max-width: 170px; pointer-events: none;
  text-shadow: 0 1px 10px rgb(0 0 0 / .9), 0 0 2px rgb(0 0 0 / .8); transition: opacity .6s var(--ease); will-change: transform; }
.xp-week .xp-lab b { font-size: 15px; line-height: 1.25; font-weight: 600; color: var(--cta); }
.xp-week .xp-lab span { font-size: 15px; line-height: 1.3; color: #fff; }
.xp-week .xp-off { opacity: 0; }
@media (max-width: 959px), (max-height: 599px) {
  .xp-week.xg-scene--full .xg-side { max-width: min(19em, 46%); }
  .xp-week .xp-lab { max-width: 160px; }
  .xp-week .xp-lab b, .xp-week .xp-lab span { font-size: 14px; line-height: 1.2; }
}
@media (max-height: 439px) { .xp-week.xg-scene--full .xg-side { max-width: min(14em, 38%); } .xp-week .xp-lab b, .xp-week .xp-lab span { line-height: 1.12; } }
@media (max-width: 759px) and (orientation: portrait) {
  .xp-week.xg-scene--full .xg-side { max-width: none; }
  .xp-week .xp-lab { max-width: 140px; }
}
/* compact and phone: the current beat's days sit beside their parts on a soft scrim */
.xp-week[data-xp-mode="col"] .xp-lab { padding: 3px 8px 4px; border-radius: 6px; background: rgb(5 5 6 / .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 759px) and (orientation: portrait) { .xp-week[data-xp-mode="col"] .xp-lab { max-width: 124px; padding: 3px 6px 4px; } }
