@import url('./rc-buttons.css');

.desktop-programme, .desktop-programme__intro-arrival, .desktop-edition-reminder { display: none; }
.desktop-programme__resources-toggle {
  width: 100%; min-height: 56px; padding: 12px 0; gap: 12px; list-style: none;
  border: 0; background: transparent; color: #fff; cursor: pointer;
  font: 500 var(--programme-subtitle-size, 26px)/1.2 Bourgeois, Arial, sans-serif;
}
.desktop-programme__resources-toggle::-webkit-details-marker { display: none; }
.desktop-programme__resources-toggle:focus-visible { outline: 1px solid var(--yellow, #d8b473); outline-offset: 4px; }
.desktop-programme__resources-toggle > .desktop-programme__resources-chevron { display: grid; place-items: center; color: var(--yellow, #d8b473); }
.desktop-programme__resources-chevron::before { content: ''; width: .4em; height: .4em; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
.desktop-programme__resource-disclosure[open] .desktop-programme__resources-chevron::before { transform: rotate(225deg); }
@media (min-width: 992px) {
  /* The current Hero has no legacy masthead. Hide it before the early
     startup paint, rather than waiting for auto-scroll to move it away. */
  .page-wrapper > .header { display: none; }
  /* Clip incoming panels without letting focus scroll the pinned scene. */
  .has-desktop-programme .parent-section { overflow: clip; }
  /* This relocated pin is a viewport screen, including after earlier pins
     have refreshed their spacing above the offers. */
  .section.is--map.is--desktop-community { top: 0 !important; }
  /* Keep the reserved comparison measurable for the legacy diagram, while
     removing both formula screens from this campaign's visible journey. */
  .has-desktop-campaign-only .section.is--groupe,
  .has-desktop-campaign-only .desktop-timeline-handoff-dot { visibility: hidden !important; pointer-events: none; }
  .has-desktop-campaign-only .section.is--fields.is--terminal-offers { display: none !important; }
  .has-desktop-programme > .page-wrapper [data-mobile-day-intro],
  .has-desktop-programme .section.is--tracker { display: none !important; }
  .has-desktop-programme .section.is--compare,
  .has-desktop-programme .section.is--timeline .timeline-container { visibility: hidden !important; pointer-events: none; }
  .desktop-programme, .desktop-programme__intro-arrival {
    --programme-copy-inset: 13vh;
    --programme-heading-top: 7.37vh;
    --programme-title-size: 66.5px;
    --programme-subtitle-size: 26px;
    --programme-copy-size: 18.9px;
    --programme-detail-size: var(--programme-copy-size);
    --programme-description-width: calc(50vw - var(--programme-copy-inset) - 8vw - 1rem);
    --programme-rhythm-label-size: var(--programme-subtitle-size);
    pointer-events: none; color: var(--blanc, #fff);
    font-family: Bourgeois, Arial, sans-serif; text-transform: uppercase;
  }
  .desktop-programme {
    --programme-week-row-height: var(--rc-desktop-button-height);
    display: block; position: absolute; inset: 0; height: 100vh;
    z-index: 30;
  }
  .desktop-edition-reminder { display: grid; position: relative; min-height: 100vh; height: auto; z-index: 30; }
  .desktop-programme__action, .desktop-programme__overview {
    position: absolute; left: var(--programme-copy-inset); top: var(--programme-copy-inset);
    width: calc(50vw - var(--programme-copy-inset) - 2rem);
  }
  .desktop-programme__overview {
    width: var(--programme-description-width); bottom: var(--programme-copy-inset);
    display: flex; flex-direction: column;
  }
  .desktop-programme__overview > .desktop-programme__title,
  .desktop-programme__overview > .desktop-programme__copy { flex-shrink: 0; }
  .desktop-programme__overview > .desktop-programme__copy { margin-bottom: 32px; }
  /* This body-level layer never inherits a pin's transform. */
  .desktop-programme__intro-arrival {
    display: block; position: fixed; inset: 0; height: 100vh; z-index: 30; overflow: clip;
    opacity: 0; visibility: hidden;
  }
  .desktop-programme__title {
    margin: 0; font-size: var(--programme-title-size); font-weight: 500;
    line-height: .95; letter-spacing: -.02em;
  }
  .desktop-programme__title span { color: var(--yellow); }
  .desktop-programme__copy { margin: 2.5rem 0 0; color: #a0a0a0; font-size: var(--programme-copy-size); line-height: 1.35; max-width: 54ch; }
  .desktop-programme__copy p { margin: 0; font: inherit; }
  .desktop-programme__copy p + p { margin-top: 1.2em; }
  .desktop-programme__action > .desktop-programme__copy,
  .desktop-programme__overview > .desktop-programme__copy { margin-top: 1.75rem; }
  .desktop-programme__action > .desktop-programme__copy p + p,
  .desktop-programme__overview > .desktop-programme__copy p + p { margin-top: .84em; }
  .desktop-programme__subtitle { margin: 0; color: #fff; font-size: var(--programme-subtitle-size); font-weight: 500; line-height: 1; }
  .desktop-programme__intro-arrival .desktop-tracker-levels {
    --programme-levels-scale: .8;
    position: static; display: block; width: calc(100% / var(--programme-levels-scale)); max-width: none; translate: none;
    margin-top: 2.5rem; pointer-events: auto;
    scale: var(--programme-levels-scale); transform-origin: top left;
  }
  .desktop-programme__intro-arrival .desktop-tracker-levels__row { column-gap: .625rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .desktop-programme__intro-arrival .desktop-tracker-levels__heading {
    margin: 0; color: #fff; font-size: calc(var(--programme-subtitle-size) / var(--programme-levels-scale));
    font-weight: 500; line-height: 1.1;
  }
  .desktop-programme__intro-arrival .desktop-tracker-levels__intro-copy {
    margin: .5rem 0 1rem; color: #a0a0a0;
    font-size: calc(var(--programme-detail-size) / var(--programme-levels-scale)); line-height: 1.35;
  }
  .desktop-programme__intro-arrival .desktop-tracker-levels__details {
    margin-top: 1.25rem; padding: clamp(12px, 1.75vh, 18px); min-height: 0;
  }
  .desktop-programme__intro-arrival .desktop-tracker-levels .mobile-engagement__name { font-size: calc(clamp(16px, 1.6vw, 26px) / var(--programme-levels-scale)); }
  .desktop-programme__intro-arrival .desktop-tracker-levels .mobile-engagement__habit-summary,
  .desktop-programme__intro-arrival .desktop-tracker-levels .mobile-engagement__detail {
    font-size: calc(var(--programme-detail-size) / var(--programme-levels-scale));
  }
  .desktop-programme__intro-arrival .desktop-tracker-levels .mobile-engagement__detail { line-height: 1.3; text-transform: none; }
  /* A complete programme screen replaces the horizontal timeline. */
  .desktop-programme__week-selector {
    position: relative; flex: 0 1 auto; min-height: 0; margin-top: auto;
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    scrollbar-color: #555 transparent; pointer-events: auto;
  }
  .desktop-programme__week-selector:focus-visible { outline: 1px solid var(--yellow); outline-offset: 5px; }
  .desktop-programme .mobile-programme__weeks { flex: 0 0 auto; width: 100%; margin-block: 0; border-bottom: 1px solid #2a2a2a; }
  .desktop-programme .mobile-programme__week { display: grid; grid-template-rows: 1fr; overflow: hidden; }
  .desktop-programme .mobile-programme__week[data-programme-suppressed] { grid-template-rows: 0fr; opacity: 0; pointer-events: none; }
  .desktop-programme .mobile-programme__week-inner { min-height: 0; overflow: hidden; }
  .desktop-programme .mobile-programme__week-title { margin: 0; border-top: 1px solid #2a2a2a; }
  .desktop-programme .mobile-programme__week:first-child .mobile-programme__week-title { border-top: 0; }
  .desktop-programme__week-toggle {
    width: 100%; min-height: var(--programme-week-row-height); padding: 16px 0; gap: 12px;
    border: 0; background: transparent; color: #fff; cursor: pointer;
    font: 500 var(--programme-subtitle-size)/1.2 Bourgeois, Arial, sans-serif;
  }
  .has-desktop-campaign-only .desktop-programme__week-toggle {
    height: var(--programme-week-row-height); padding-block: 0;
  }
  .desktop-programme .desktop-programme__week-toggle.rc-button--arrow {
    grid-template-columns: minmax(0, 1fr) 1.1em; text-align: left;
  }
  .desktop-programme .desktop-programme__week-toggle > .rc-button__label { grid-column: 1; }
  .desktop-programme .desktop-programme__week-toggle > .rc-button__icon { grid-column: 2; }
  .desktop-programme__week-toggle[aria-expanded="true"] { color: var(--yellow); }
  .desktop-programme__week-toggle:focus-visible { outline: 1px solid var(--yellow); outline-offset: -2px; }
  .desktop-programme .mobile-programme__details { overflow: hidden; color: #a0a0a0; font-size: var(--programme-copy-size); line-height: 1.35; }
  .desktop-programme .mobile-programme__details[hidden] { display: none; }
  .desktop-programme .mobile-programme__details p { margin: 0 0 1em; font: inherit; }
  .desktop-programme .mobile-programme__journey { display: grid; gap: 12px; margin: 20px 0 24px; padding: 0; list-style: none; }
  .desktop-programme .mobile-programme__step-card,
  .desktop-programme .mobile-programme__week-introduction { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 72px; }
  .desktop-programme .mobile-programme__step-marker { display: grid; place-items: center; }
  .desktop-programme .mobile-programme__step-artwork { width: 34px; height: 34px; object-fit: contain; }
  .desktop-programme .mobile-programme__step-title { display: block; color: #fff; }
  .desktop-programme .mobile-programme__step-description { display: block; margin-top: 4px; text-transform: none; }
  .desktop-programme .mobile-programme__week-introduction p { margin: 4px 0 0; text-transform: none; }
  .desktop-programme__resources {
    color: #a0a0a0; font-size: var(--programme-copy-size);
    display: flex; flex-direction: column; margin: 0;
  }
  .desktop-programme > .desktop-programme__resources:not(.desktop-programme__resources--accordion) {
    position: absolute; left: 46vw; right: var(--programme-copy-inset);
    bottom: var(--programme-copy-inset); max-height: calc(100vh - 2 * var(--programme-copy-inset));
    pointer-events: auto; padding: 16px 24px 20px;
    border-left: 1px solid #ffffff30; background: var(--black, #0d0d0d);
  }
  .desktop-programme__resource-disclosure { min-height: 0; }
  .desktop-programme__resource-preview { margin: 6px 0 0; color: #a0a0a0; font-size: var(--programme-copy-size); line-height: 1.35; text-align: center; text-transform: none; }
  .desktop-programme__resource-disclosure[open] + .desktop-programme__resource-preview { display: none; }
  .desktop-programme > .desktop-programme__resources:has(details[open]) { border-left-color: var(--yellow); }
  .desktop-programme__resource-pillars {
    min-height: 0; max-height: calc(100vh - 2 * var(--programme-copy-inset) - 132px);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #ffffff20;
  }
  .desktop-programme__resource-pillar { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
  .desktop-programme__resource-pillar + .desktop-programme__resource-pillar { padding-left: 12px; border-left: 1px solid #ffffff20; }
  .desktop-programme__resource-pillars h4 {
    flex-shrink: 0; min-height: 58px; margin: 0 0 12px; color: var(--yellow);
    font-size: var(--programme-subtitle-size); font-weight: 500; line-height: 1.1;
  }
  .desktop-programme__resources-list {
    display: flex; flex-direction: column;
    gap: 16px; margin: 0; padding: 0; list-style: none;
  }
  .desktop-programme__resources-list li { flex-shrink: 0; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 7px; align-items: start; }
  .desktop-programme__resource-check {
    display: block; width: 16px; height: 22px; background: var(--yellow);
    -webkit-mask: url('../images/pictogrammes/validation/valide-elan-coin-aligne.svg') center / contain no-repeat;
    mask: url('../images/pictogrammes/validation/valide-elan-coin-aligne.svg') center / contain no-repeat;
  }
  .desktop-programme__resources-list p {
    margin: 0; font: inherit; font-size: var(--programme-copy-size); line-height: 1.3; text-transform: uppercase;
  }
  .has-desktop-campaign-only .desktop-programme {
    --programme-subtitle-size: clamp(21px, 2.2vw, 26px);
    --programme-column-gap: clamp(32px, 6vw, 96px);
    --programme-resources-width: var(--programme-description-width);
    --programme-week-copy-fluid: 3cqi;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Accordions share the remaining viewport height without resizing the grid. */
    grid-template-rows: max-content minmax(0, 1fr);
    gap: clamp(18px, 4vh, 36px) var(--programme-column-gap);
    padding: var(--programme-copy-inset) var(--programme-copy-inset) clamp(18px, 5vh, 48px);
  }
  .has-desktop-campaign-only .desktop-programme__overview {
    grid-area: 1 / 1;
    position: static; width: auto; min-width: 0; align-self: start;
  }
  .has-desktop-campaign-only .desktop-programme__overview > :is(.desktop-programme__title, .desktop-programme__copy) {
    width: min(100%, var(--programme-description-width));
  }
  .has-desktop-campaign-only .desktop-programme__overview > .desktop-programme__copy { margin-bottom: 0; }
  .desktop-programme .desktop-programme__day-cycle {
    grid-area: 1 / 2; align-self: end; justify-self: end;
    width: min(100%, var(--programme-description-width)); gap: 8px; pointer-events: auto;
  }
  .desktop-programme__day-cycle reboot-day-cycle {
    width: min(90%, 45vh, 414px); margin-inline: auto;
    scale: .85;
  }
  .desktop-programme__day-cycle .mobile-day-cycle__readout {
    display: grid; align-items: end; min-height: 62px;
  }
  .desktop-programme__day-cycle .mobile-day-cycle__label { font-size: var(--programme-subtitle-size); }
  .desktop-programme__day-cycle .mobile-day-cycle__phrase {
    margin: 6px 0 0; color: #a0a0a0; font-size: var(--programme-copy-size); line-height: 1.35;
  }
  .desktop-programme > .desktop-programme__week-selector {
    grid-area: 2 / 1;
    /* Leave room for the thin scrollbar beyond the heading and divider. */
    width: min(100%, calc(var(--programme-description-width) + 1em)); max-height: 100%;
    align-self: start; margin-top: 0;
  }
  .desktop-programme > .desktop-programme__week-selector:has(.desktop-programme__week-toggle[aria-expanded="true"]) {
    /* Keep the right-aligned resources clear when the week uses the space between columns. */
    --programme-resources-track-width: calc((100% - var(--programme-column-gap)) / 2);
    grid-column: 1 / -1;
    justify-self: start;
    width: min(820px, calc(100% - min(var(--programme-resources-width), var(--programme-resources-track-width)) - 2rem));
  }
  .desktop-programme > .desktop-programme__week-selector .mobile-programme__weeks { border-bottom: 0; }
  .desktop-programme > .desktop-programme__week-selector .mobile-programme__week-title,
  .desktop-programme > .desktop-programme__week-selector .mobile-programme__weeks::after {
    width: min(100%, var(--programme-description-width));
  }
  .desktop-programme > .desktop-programme__week-selector .mobile-programme__weeks::after {
    content: ''; display: block; height: 1px; background: #2a2a2a;
  }
  .desktop-programme > .desktop-programme__week-selector .mobile-programme__week-title:has([aria-expanded="true"]) {
    border-top: 0;
  }
  .desktop-programme > .desktop-programme__week-selector .mobile-programme__details {
    margin-block-start: calc(-.1 * (var(--programme-week-row-height) - var(--programme-subtitle-size)));
  }
  .desktop-programme__week-selector :is(.mobile-programme__details, .mobile-programme__week-introduction .mobile-programme__step-copy) {
    container-type: inline-size;
  }
  .desktop-programme .desktop-programme__week-selector :is(.mobile-programme__details > p, .mobile-programme__week-introduction p) {
    font-size: min(var(--programme-copy-size), var(--programme-week-copy-fluid, 2.7cqi)); text-transform: none;
  }
  .desktop-programme > .desktop-programme__week-selector .mobile-programme__details > p { margin-bottom: 0; }
  .desktop-programme > .desktop-programme__week-selector .mobile-programme__journey {
    gap: 10.2px; margin-block: 12px;
  }
  .desktop-programme > .desktop-programme__week-selector :is(.mobile-programme__step-card, .mobile-programme__week-introduction) {
    min-height: 61.2px;
  }
  .desktop-programme__resources--accordion {
    --programme-resource-row-height: 48px;
    --programme-resource-title-gap: clamp(12px, 2vh, 18px);
    grid-area: 2 / 2; align-self: stretch; justify-self: end;
    width: min(100%, var(--programme-resources-width)); min-height: 0; max-height: 100%;
    /* Align the closed lists at the bottom while anchoring both at the top
       as they expand. Each closed row contributes one divider pixel. */
    margin-top: max(0px, calc(4 * (var(--programme-week-row-height) + 1px)
      - 3 * (var(--programme-resource-row-height) + 1px)
      - var(--programme-subtitle-size) - var(--programme-resource-title-gap)));
  }
  .desktop-programme__resources--accordion > .desktop-programme__subtitle {
    flex-shrink: 0; margin-bottom: var(--programme-resource-title-gap);
    text-transform: uppercase;
  }
  .desktop-programme .desktop-programme__resource-categories {
    flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: #555 transparent; pointer-events: auto;
  }
  .desktop-programme__resource-categories:focus-visible { outline: 1px solid var(--yellow); outline-offset: 3px; }
  .desktop-programme .desktop-programme__resource-categories .desktop-programme__week-toggle {
    height: var(--programme-resource-row-height); min-height: 0; padding-block: 0;
    font-size: var(--programme-copy-size); color: #fff;
  }
  .desktop-programme__resource-categories .mobile-programme__week-title:has([aria-expanded="true"]) {
    border-top: 0;
  }
  .desktop-programme__resources--accordion .desktop-programme__resources-list {
    gap: clamp(8px, 1.3vh, 12px); padding: 4px 0 16px;
  }
  .desktop-programme__resources--accordion .desktop-programme__resources-list li {
    grid-template-columns: .95em minmax(0, 1fr); gap: .4em;
    font-size: clamp(14px, 1.18vw, 17px); line-height: 1.25;
  }
  .desktop-programme__resources--accordion .desktop-programme__resource-check { width: 100%; height: 1lh; }
  .desktop-programme__resources--accordion .desktop-programme__resources-list p {
    margin: 0; font: inherit; overflow-wrap: anywhere; text-transform: none;
  }
  @media (max-width: 1350px) {
    .has-desktop-campaign-only .desktop-programme__overview > :is(.desktop-programme__title, .desktop-programme__copy) { width: 100%; }
  }
  @media (max-width: 1120px) {
    .has-desktop-campaign-only .desktop-programme__overview > .desktop-programme__title { font-size: 5.35vw; }
    .has-desktop-campaign-only :is(.desktop-programme__overview, .desktop-programme__day-cycle, .desktop-programme__resources--accordion) {
      --programme-copy-size: 17px;
    }
  }
  @media (max-height: 816px), (max-width: 1200px) and (max-height: 900px) {
    .desktop-programme > .desktop-programme__week-selector .mobile-programme__journey {
      grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    }
    .desktop-programme > .desktop-programme__week-selector :is(.mobile-programme__step-card, .mobile-programme__week-introduction) {
      grid-template-columns: 34px minmax(0, 1fr); gap: 10px;
    }
  }
  @media (max-height: 780px) {
    .has-desktop-campaign-only .desktop-programme { --programme-resources-width: 100%; }
    .desktop-programme .desktop-programme__resource-categories .desktop-programme__week-toggle[aria-expanded="true"] {
      height: 40px;
    }
    .desktop-programme__resources--accordion .desktop-programme__resources-list {
      gap: 6px; padding-block: 0 10px;
    }
  }
  @media (max-height: 680px) {
    .has-desktop-campaign-only .desktop-programme {
      --programme-week-row-height: clamp(44px, 8.5vh, var(--rc-desktop-button-height));
      padding-block: 8vh 3.5vh;
    }
  }
  .desktop-programme__tracker {
    --programme-tracker-content-offset: .75rem;
    position: absolute; left: 53vw; right: 5vw; top: 53vh; bottom: 1vh;
  }
  .desktop-programme__tracker--intro {
    left: 53vw; right: 5vw; top: 8vh; bottom: 8vh;
  }
  .has-desktop-formula-comparison .header-pres.is--groupe {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 3vw; align-items: start;
  }
  .has-desktop-formula-comparison .header-pres > h2 { max-width: none; }
  .has-desktop-formula-comparison .desktop-formula-copy { display: none; }
  .desktop-formula-comparison {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem;
    height: calc(50vh - 4rem - 1.5rem); min-height: 13rem;
    font-family: Bourgeois, Arial, sans-serif; color: #fff; pointer-events: auto;
  }
  .desktop-formula-comparison__column { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: .5rem; }
  .desktop-formula-comparison__heading { margin: 0; font-size: clamp(18px, 1.6vw, 26px); line-height: 1.25; font-weight: 500; text-align: center; text-transform: uppercase; }
  .desktop-formula-comparison__heading span { color: #a0a0a0; font-size: .7em; }
  .desktop-formula-comparison__facts {
    display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; padding: 0 .625rem;
    border: 1px solid #ffffff32; border-radius: 6px; overflow: clip;
  }
  .desktop-formula-comparison__row { display: flex; flex-direction: column; flex: 1; min-height: 0; border-top: 1px solid #ffffff32; }
  .desktop-formula-comparison__row:first-child,
  .desktop-formula-comparison__column[data-open] .desktop-formula-comparison__row { border-top: 0; }
  .desktop-formula-comparison__row dt { display: flex; flex: 1; min-height: 0; margin: 0; }
  .desktop-formula-comparison .desktop-formula-comparison__trigger {
    width: 100%; height: 100%; margin: 0; padding: .5rem .375rem; gap: .875rem;
    grid-template-columns: 1.4em minmax(0, 1fr) 1.4em;
    border: 0; background: transparent; color: inherit;
    font: inherit; font-size: clamp(13px, 1.05vw, 18px); font-weight: 400; text-align: left; cursor: pointer;
  }
  .desktop-formula-comparison__trigger > .desktop-formula-comparison__icon { grid-column: 1; grid-row: 1; width: 1.4em; height: 1.4em; }
  .desktop-formula-comparison__icon img { width: 1.9em; height: 1.9em; max-width: none; object-fit: contain; filter: brightness(0) invert(1); }
  .desktop-formula-comparison__label { display: block; }
  .desktop-formula-comparison__value { display: block; margin-top: 2px; color: #a0a0a0; font-size: .875em; line-height: 1.3; text-transform: none; }
  .desktop-formula-comparison__chevron { display: grid; place-items: center; color: var(--yellow); }
  .desktop-formula-comparison__chevron::before { content: ''; width: .45em; height: .45em; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
  .desktop-formula-comparison__trigger[aria-expanded="true"] .desktop-formula-comparison__chevron::before { transform: rotate(225deg); }
  .desktop-formula-comparison__trigger:focus-visible { outline: 1px solid var(--yellow); outline-offset: -2px; }
  .desktop-formula-comparison__column[data-open] dt { flex: none; height: 3.75rem; }
  .desktop-formula-comparison__column[data-open] .desktop-formula-comparison__value { display: none; }
  .desktop-formula-comparison__details {
    flex: 1; min-height: 0; margin: 0; padding: 0 .5rem .75rem;
    overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
    color: #a0a0a0; font-size: clamp(14px, 1.05vw, 18px); line-height: 1.4;
    text-transform: none; animation: desktop-formula-detail-in .18s ease-out;
  }
  .desktop-formula-comparison__details p { margin: 0; }
  .desktop-formula-comparison__details p + p { margin-top: .75em; }
  .desktop-formula-comparison__row[hidden], .desktop-formula-comparison__details[hidden] { display: none; }
  @keyframes desktop-formula-detail-in { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .desktop-formula-comparison__details { animation: none; } }
  .desktop-programme__tracker .tracker-wrapper {
    position: absolute; width: max-content; right: auto; bottom: auto;
    transform-origin: top left; translate: none;
  }
  .desktop-programme__tracker .tracker-wrapper > :not(.iphone-wrapper):not(.niveaux):not(.desktop-programme__tracker-streak) {
    translate: 0 calc(-1rem + var(--programme-tracker-content-offset));
  }
  .desktop-programme__tracker .niveaux {
    translate: 0 calc(.45rem + var(--programme-tracker-content-offset));
    align-items: baseline !important;
    line-height: 1 !important;
    /* Override the original composition's inline font size. */
    font-size: calc(var(--programme-detail-size) / var(--programme-tracker-scale, 1)) !important;
  }
  .desktop-programme__tracker .desktop-programme__tracker-streak {
    position: absolute; top: -9rem; left: .5rem;
    display: flex; align-items: center; gap: .35em;
    translate: 0 calc(.45rem + var(--programme-tracker-content-offset)) !important;
    font-size: calc(var(--programme-detail-size) / var(--programme-tracker-scale, 1));
    line-height: 1; color: #888; white-space: nowrap;
  }
  .desktop-programme__tracker-streak svg {
    width: 1em; height: 1em; flex: none; overflow: visible;
    stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  .desktop-programme__tracker-streak [data-streak-flame] { transform-box: fill-box; transform-origin: center; }
  .desktop-programme__tracker-streak [data-streak-gold] {
    stroke: var(--yellow, #d8b473); stroke-dasharray: 1; stroke-dashoffset: 1;
  }
  .desktop-programme__tracker-streak [data-streak-spark] {
    stroke: var(--yellow, #d8b473); stroke-width: 1.2; opacity: 0;
  }
  .desktop-programme__tracker .iphone-wrapper { display: block; top: -13rem; }
  .desktop-programme__tracker .day.is--first { width: 15rem; }
  .desktop-programme__tracker .day,
  .desktop-programme__tracker .tracker-row > .day.is--first,
  .desktop-programme__tracker .niveaux,
  .desktop-programme__tracker .niveaux .level {
    font-size: calc(var(--programme-detail-size) / var(--programme-tracker-scale, 1));
  }
  .desktop-programme__tracker .niveaux > span { font: inherit; line-height: 1 !important; }
  /* The source gives the changing digit a fixed-height animation box. Let it
     share the same line box as /55, so their visible baselines also match. */
  .desktop-programme__tracker .niveaux .level { height: auto !important; }
  .desktop-programme__tracker .tracker-row > .day.is--first { white-space: nowrap; }
  .desktop-programme__tracker .tracker-row-line { display: none; }
  .desktop-programme__tracker-stores {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
    margin-block-start: 1.5rem;
    color: #a0a0a0;
  }
  .desktop-programme__tracker-stores > svg { display: block; width: calc(5.75rem * 1.7); height: auto; }
  /* Match mobile: let the gold halo extend beyond the active column.
     Keep the unused first day hidden without masking the Saturday boxes. */
  .desktop-programme__tracker .tracker-wrapper-mobile { -webkit-mask-image: none !important; mask-image: none !important; }
  .desktop-programme__tracker .tracker-wrapper-mobile > :first-child { visibility: hidden; opacity: 0; pointer-events: none; }
  .desktop-programme__tracker .tracker-checkbox.is--last {
    display: flex; border-color: #999; opacity: .45; pointer-events: none;
  }
  .desktop-programme__tracker .tracker-checkbox.is--last .tracker-checkbox-inside { display: none; }
  .desktop-programme__tracker-current {
    position: relative; box-sizing: border-box; overflow: visible;
    pointer-events: auto; cursor: pointer;
    border: .0625rem solid var(--yellow) !important; background: transparent;
    transform: none; will-change: border-color, box-shadow;
    /* As on mobile, the border stays gold while the shared halo pulses. */
    animation: tracker-gold-border-pulse 2.4s linear infinite;
  }
  .desktop-programme__tracker-current::before { display: none; content: none; }
  .desktop-programme__tracker-current .tracker-checkbox-inside {
    visibility: hidden; opacity: 0; background: transparent;
  }
  .desktop-programme__tracker-current[data-clicked="true"] {
    border-color: var(--yellow);
    box-shadow: inset 0 0 .14rem rgba(var(--yellow-rgb, 216, 180, 115), .34),
      0 0 .38rem rgba(var(--yellow-rgb, 216, 180, 115), .38);
  }
  .desktop-programme__tracker-current[data-clicked="true"] .tracker-checkbox-inside {
    visibility: visible; opacity: 1; background: var(--yellow); transform: scale(1);
    box-shadow: inset 0 0 .16rem rgba(var(--yellow-rgb, 216, 180, 115), .72),
      0 0 .35rem rgba(var(--yellow-rgb, 216, 180, 115), .5);
  }
  .desktop-programme__tracker-current:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
  .desktop-programme__tracker .tracker-xp-fill { transition: none; }
  @media (prefers-reduced-motion: reduce) {
    .desktop-programme__tracker-current { animation: none; box-shadow: 0 0 .3rem rgba(var(--yellow-rgb, 216, 180, 115), .32); }
    .desktop-programme__tracker .tracker-xp-fill { transition: none; }
  }
  /* Only the replacement rail draws the timeline, including its exit fade. */
  .has-desktop-programme :is(.line-progress, .desktop-timeline-progress-notch, .desktop-timeline-grey-progress-line) { visibility: hidden !important; }
  .has-desktop-programme .desktop-timeline-handoff-dot { background: #fff !important; box-shadow: 0 0 5px #fff9 !important; }
  .is-desktop-programme-welcome .desktop-timeline-handoff-dot,
  .is-desktop-programme-reading .desktop-timeline-handoff-dot { visibility: hidden !important; }
  @media (max-height: 720px) {
    .desktop-programme__intro-arrival { --programme-copy-size: 17px; }
    .desktop-programme__copy { margin-top: 1.5rem; }
    .desktop-programme__action > .desktop-programme__copy,
    .desktop-programme__overview > .desktop-programme__copy { margin-top: 1.05rem; }
    .desktop-programme__intro-arrival .desktop-tracker-levels { margin-top: 2rem; }
  }
}
