/* ---------------------------------------------------------------------------
 * The change log's own stylesheet: the index (/changelog, /en/changelog), a
 * note (/changelog/<slug>, /en/changelog/<slug>) and the backoffice's preview
 * of one (/preview/entries/<id>/<lang>).
 *
 * Linked by the pages themselves (components/site/Release.tsx) and served
 * straight from the deployment, like public/alex/ateliers.css: it is not part
 * of the release that « Publish site » makes of alex.css and alex.js (see
 * lib/site/assets.ts), so a change here goes live with the deploy, without
 * publishing whatever else is waiting. It is drawn on top of whichever
 * alex.css the site runs and needs nothing from it but the tokens
 * (--alex-ink, --alex-ink-2, --alex-purple, --alex-hairline), `.alex-wrap`
 * and `.alex-post`.
 *
 * The note's <link> sits inside its <article>, so the homepage's reading
 * sheet, which takes that article (alex.js, `reader`), brings it along.
 * ------------------------------------------------------------------------- */

/* The section heading reads above the items under it: 20px, and the h3 below
   at 18px rather than Webflow's 24px at line-height 1 (changelog design,
   round 1). */
.alex-post__body h2 {
  margin: 48px 0 12px;
  color: var(--alex-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.01em;
}

/* --- The change-log index, index 11 ---------------------------------------- */

/*
 * The changelog design's round 3 (« index 11 »): hero, four temps forts, then
 * every note by month as one-link cards, with a rail of months on a desktop
 * and a sticky month bar at 900px and under. public/alex/changelog.js
 * (`changelogIndex`) follows the reading position.
 */
.alex-cl {
  --alex-ink-3: #8b8c93;
  --alex-head: 64px;
  padding: 0 0 120px;
}

.alex-cl__sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Each area's colour: the dot on its tag, the illustration and its tint. */
.alex-cl [data-area="societes"], .alex-cl [data-area="personnes"] { --acc: #3b82f6; --tint: #eaf2ff; }
.alex-cl [data-area="capital"], .alex-cl [data-area="registres"], .alex-cl [data-area="organigramme"] { --acc: #685bff; --tint: #efedff; }
.alex-cl [data-area="operations"] { --acc: #e0821b; --tint: #fff1e2; }
.alex-cl [data-area="documents"], .alex-cl [data-area="modeles"] { --acc: #0f9d77; --tint: #e4f6ef; }
.alex-cl [data-area="signature"] { --acc: #d6457a; --tint: #fdecf2; }
.alex-cl [data-area="creation"] { --acc: #006767; --tint: #e2f2f2; }
.alex-cl [data-area="facturation"] { --acc: #a16207; --tint: #fbf2df; }
.alex-cl [data-area="acces"], .alex-cl [data-area="interface"] { --acc: #6b7280; --tint: #f1f2f4; }
.alex-cl [data-area="ia"] { --acc: #685bff; --tint: #eeedfb; }

/* Hero */
.alex-cl__hero {
  max-width: 760px;
  padding: 64px 0 8px;
}

.alex-cl__eyebrow {
  margin: 0;
  color: var(--alex-ink-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 16px;
  text-transform: uppercase;
}

.alex-cl__h1 {
  margin: 12px 0 0;
  color: var(--alex-ink);
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.alex-cl__lede {
  margin: 12px 0 0;
  color: var(--alex-ink-2);
  font-size: 16px;
  line-height: 27px;
}

.alex-cl__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 22px 0 0;
  color: var(--alex-ink-2);
  font-size: 14px;
  line-height: 20px;
}

.alex-cl__sub a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--alex-ink-2);
  text-decoration: none;
}

.alex-cl__sub a:hover {
  color: var(--alex-purple);
}

/* Temps forts: one large card, three compact ones beside it. */
.alex-cl__tf {
  margin-top: 56px;
}

.alex-cl__sec {
  margin: 0 0 20px;
  color: var(--alex-ink-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 18px;
  text-transform: uppercase;
}

.alex-cl__tfg {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 16px;
}

.alex-cl__tfg.is-one {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.alex-cl__tc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 1px 2px #0000000a;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.alex-cl__tc:hover {
  box-shadow: 0 1px 2px #0000000a, 0 18px 40px #00000014;
  transform: translateY(-2px);
}

.alex-cl__tc:hover .alex-cl__tc-t {
  color: var(--alex-purple);
}

.alex-cl__tc.is-big {
  grid-row: 1 / span 3;
}

.alex-cl__tc.is-big .alex-cl__tc-in {
  padding: 0 8px 8px;
}

.alex-cl__tc.is-sm {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/* A screenshot when there is one, else the area's illustration. */
.alex-cl__cv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 12px;
  background:
    radial-gradient(#2b2c3012 1px, transparent 1.4px) 0 0 / 14px 14px,
    linear-gradient(140deg, var(--tint, #f0eeff), #fbfbfd 70%);
  color: var(--acc, var(--alex-purple));
}

.alex-cl__tc.is-big .alex-cl__cv {
  aspect-ratio: 16 / 9;
}

.alex-cl__tc.is-sm .alex-cl__cv {
  flex: none;
  width: 150px;
}

.alex-cl__cv-art,
.alex-cl__cv-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.alex-cl__cv-art svg {
  filter: drop-shadow(0 6px 14px #2b2c301a);
}

.alex-cl__cv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* A logo (a note's own SVG image_url, the legacy notes): whole, centred on
   the area's stage, in the same box. The list card's cover takes the stage too. */
.alex-cl__cv img.is-contain,
.alex-cl__c-cv.is-contain img {
  box-sizing: border-box;
  padding: 10% 12%;
  object-fit: contain;
  object-position: center;
}

.alex-cl__tc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--alex-ink-2);
  font-size: 13px;
  line-height: 20px;
}

.alex-cl__tc-t {
  margin: 6px 0 0;
  color: var(--alex-ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
  letter-spacing: -0.018em;
  text-wrap: balance;
  transition: color 0.15s;
}

.alex-cl__tc-s {
  margin: 8px 0 0;
  color: var(--alex-ink-2);
  font-size: 15px;
  line-height: 24px;
}

.alex-cl__tc.is-sm .alex-cl__tc-t {
  margin-top: 4px;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.alex-cl__tc.is-sm .alex-cl__tc-s {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 13px;
  line-height: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Tags */
.alex-cl__area {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: #2b2c300d;
  color: var(--alex-ink-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.alex-cl__area::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--acc, #8b8c93);
}

/* The rail beside the list, and the list. */
.alex-cl__lay {
  display: grid;
  grid-template-columns: 200px minmax(0, 760px);
  justify-content: start;
  align-items: start;
  gap: 72px;
  margin-top: 96px;
}

.alex-cl__rl {
  position: sticky;
  top: calc(var(--alex-head) + 28px);
  z-index: 20;
}

.alex-cl__rl-cal {
  margin: 0 0 12px 8px;
}

/*
 * The months scroll on their own: the rail is as tall as the window allows
 * under the header, the wheel and the trackpad scroll it rather than the page
 * while it can scroll, and its edges fade only where more months are hidden
 * (`is-up` / `is-down`, set by changelog.js as it scrolls).
 */
.alex-cl__rl-win {
  --fade-up: 0px;
  --fade-down: 0px;
  max-height: calc(100vh - var(--alex-head) - 28px - 56px - 24px);
  max-height: calc(100dvh - var(--alex-head) - 28px - 56px - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #2b2c3026 transparent;
  -webkit-mask-image: linear-gradient(transparent 0, #000 var(--fade-up), #000 calc(100% - var(--fade-down)), transparent 100%);
  mask-image: linear-gradient(transparent 0, #000 var(--fade-up), #000 calc(100% - var(--fade-down)), transparent 100%);
}

.alex-cl__rl-win.is-up { --fade-up: 40px; }
.alex-cl__rl-win.is-down { --fade-down: 48px; }

.alex-cl__rl-win::-webkit-scrollbar { width: 6px; }
.alex-cl__rl-win::-webkit-scrollbar-thumb { border-radius: 3px; background-color: #2b2c301f; }
.alex-cl__rl-win:hover::-webkit-scrollbar-thumb { background-color: #2b2c3040; }
.alex-cl__rl-win::-webkit-scrollbar-track { background: transparent; }

.alex-cl__rl-list,
.alex-cl__rl-d {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alex-cl__rl-list {
  padding-block: 4px;
}

.alex-cl__rl-m > a {
  position: relative;
  display: block;
  padding: 4px 0 4px 14px;
  color: var(--alex-ink);
  font-size: 14px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  opacity: var(--o, 0.55);
  transition: opacity 0.4s;
}

.alex-cl__rl-m > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background-color: #2b2c3040;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.alex-cl__rl-m > a:hover,
.alex-cl__rl-m > a:focus-visible {
  opacity: 1;
}

.alex-cl__rl-m > a:hover::before {
  width: 9px;
  background-color: var(--alex-ink-2);
}

.alex-cl__rl-m[data-on] > a {
  font-weight: 600;
  opacity: 1;
}

.alex-cl__rl-m[data-on] > a::before {
  width: 10px;
  height: 2px;
  background-color: var(--alex-purple);
}

.alex-cl__rl-m small {
  margin-left: 6px;
  color: var(--alex-ink-3);
  font-size: 12px;
  font-weight: 400;
}

.alex-cl__rl-d {
  margin: 0 0 6px 4px;
  padding-left: 14px;
  border-left: 1px solid var(--alex-hairline);
}

.alex-cl__rl-m:not([data-on]) .alex-cl__rl-d {
  display: none;
}

.alex-cl__rl-d a {
  position: relative;
  display: block;
  padding: 2px 0 2px 12px;
  color: var(--alex-ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 22px;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.7;
}

.alex-cl__rl-d a:hover,
.alex-cl__rl-d a:focus-visible {
  color: var(--alex-ink);
  opacity: 1;
}

.alex-cl__rl-d a[aria-current] {
  color: var(--alex-ink);
  font-weight: 500;
  opacity: 1;
}

.alex-cl__rl-d a[aria-current]::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background-color: var(--alex-purple);
}

/* The calendar: a year × month grid. */
.alex-cl__pk {
  position: relative;
}

.alex-cl__pk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 999px;
  background-color: #fff;
  color: var(--alex-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
}

.alex-cl__rl-cal .alex-cl__pk-btn {
  font-size: 13px;
  font-weight: 500;
}

.alex-cl__pk-btn:hover {
  border-color: #2b2c3033;
}

.alex-cl__pk-btn svg {
  flex: none;
  color: var(--alex-ink-2);
}

.alex-cl__pk-chev {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1.5px solid var(--alex-ink-2);
  border-bottom: 1.5px solid var(--alex-ink-2);
  transform: rotate(45deg) translate(-2px, -1px);
  transition: transform 0.15s;
}

.alex-cl__pk-btn[aria-expanded="true"] .alex-cl__pk-chev {
  transform: rotate(225deg) translate(-2px, -1px);
}

.alex-cl__pk-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: 440px;
  max-width: calc(100vw - 32px);
  padding: 16px 16px 14px;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 14px;
  background-color: #fff;
  box-shadow: 0 1px 2px #0000000a, 0 12px 32px #0000000d;
}

.alex-cl__pk-pop[hidden] {
  display: none;
}

.alex-cl__pk-tt {
  margin: 0 0 10px;
  color: var(--alex-ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 16px;
  text-transform: uppercase;
}

.alex-cl__pk-hd,
.alex-cl__pk-y {
  display: grid;
  grid-template-columns: 44px repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 3px;
}

.alex-cl__pk-hd {
  margin-bottom: 2px;
  color: var(--alex-ink-3);
  font-size: 10px;
  text-align: center;
}

.alex-cl__pk-y + .alex-cl__pk-y {
  margin-top: 4px;
}

.alex-cl__pk-yl {
  color: var(--alex-ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.alex-cl__pk-y a,
.alex-cl__pk-off {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border-radius: 7px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.alex-cl__pk-y a {
  background-color: #f0eeff;
  color: #4b3fe0;
  font-weight: 600;
}

.alex-cl__pk-y a:hover {
  background-color: var(--alex-purple);
  color: #fff;
}

.alex-cl__pk-y a:focus-visible {
  outline: 2px solid var(--alex-purple);
  outline-offset: 1px;
}

.alex-cl__pk-y a[aria-current] {
  background-color: var(--alex-ink);
  color: #fff;
}

.alex-cl__pk-off {
  color: #2b2c3033;
}

.alex-cl__pk-ab {
  display: none;
}

.alex-cl__pk-lg {
  margin: 12px 0 0;
  color: var(--alex-ink-3);
  font-size: 12px;
  line-height: 16px;
}

/* The sticky month bar: phones and tablets only. */
.alex-cl__bar {
  display: none;
  position: sticky;
  top: var(--alex-head);
  z-index: 30;
  margin: 0 calc(var(--alex-gutter) * -1);
  padding: 10px var(--alex-gutter);
  border-bottom: 1px solid var(--alex-hairline);
  background-color: #fafafa;
}

.alex-cl__bar-in {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.alex-cl__bar-n {
  color: var(--alex-ink-3);
  font-size: 13px;
  white-space: nowrap;
}

.alex-cl__bar-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.alex-cl__bar-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 999px;
  background-color: #fff;
  color: var(--alex-ink);
  cursor: pointer;
}

.alex-cl__bar-nav button:hover:not(:disabled) {
  border-color: #2b2c3033;
  color: var(--alex-purple);
}

.alex-cl__bar-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* The list: Cycle's reading layout, each note one link. */
.alex-cl__list-h {
  margin: 0 0 4px;
  color: var(--alex-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.015em;
}

.alex-cl__mo {
  scroll-margin-top: calc(var(--alex-head) + 24px);
}

.alex-cl__mo-h {
  margin: 0;
  padding: 56px 0 10px;
  border-bottom: 1px solid var(--alex-hairline);
  color: var(--alex-ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 16px;
  text-transform: uppercase;
}

.alex-cl__list-h + .alex-cl__mo .alex-cl__mo-h {
  padding-top: 20px;
}

.alex-cl__c {
  position: relative;
  margin: 8px -28px 0;
  padding: 28px 28px 26px;
  border: 1px solid transparent;
  border-radius: 18px;
  scroll-margin-top: calc(var(--alex-head) + 96px);
  transition: background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.alex-cl__c + .alex-cl__c::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: -5px;
  border-top: 1px solid var(--alex-hairline);
}

.alex-cl__c:hover,
.alex-cl__c:has(.alex-cl__c-a:focus-visible) {
  border-color: var(--alex-hairline-2);
  background-color: #fff;
  box-shadow: 0 1px 2px #0000000a, 0 12px 32px #0000000d;
}

.alex-cl__c:hover::before,
.alex-cl__c:hover + .alex-cl__c::before,
.alex-cl__c:has(.alex-cl__c-a:focus-visible)::before,
.alex-cl__c:has(.alex-cl__c-a:focus-visible) + .alex-cl__c::before {
  opacity: 0;
}

.alex-cl__c:has(.alex-cl__c-a:focus-visible) {
  outline: 2px solid var(--alex-purple);
  outline-offset: 2px;
}

.alex-cl__c-a {
  color: inherit;
  text-decoration: none;
}

.alex-cl__c-a:focus-visible {
  outline: none;
}

.alex-cl__c-a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;
}

/* A card's cover, when its first highlight has media (meta.media, a video by
   its poster, or the body's image): beside the text on a wide screen, above
   it on a phone. Cards without media have none, as before. */
.alex-cl__c-cv {
  float: right;
  width: 200px;
  margin: 4px 0 12px 28px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 10px;
  background-color: #fff;
}

.alex-cl__c-cv img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.alex-cl__c-cv.is-contain {
  background:
    radial-gradient(#2b2c3012 1px, transparent 1.4px) 0 0 / 14px 14px,
    linear-gradient(140deg, var(--tint, #f0eeff), #fbfbfd 70%);
}

.alex-cl__c.has-cv .alex-cl__c-f {
  clear: both;
}

.alex-cl__c-d {
  display: block;
  color: var(--alex-ink-2);
  font-size: 13px;
  line-height: 20px;
}

.alex-cl__c-t {
  margin: 4px 0 0;
  color: var(--alex-ink);
  font-size: 26px;
  font-weight: 600;
  line-height: 33px;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  transition: color 0.15s;
}

.alex-cl__c:hover .alex-cl__c-t,
.alex-cl__c:has(.alex-cl__c-a:focus-visible) .alex-cl__c-t {
  color: var(--alex-purple);
}

.alex-cl__c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.alex-cl__c-s {
  margin: 16px 0 0;
  color: var(--alex-ink);
  font-size: 16px;
  line-height: 27px;
}

.alex-cl__c-h {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.alex-cl__c-h b {
  display: block;
  color: var(--alex-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.alex-cl__c-h span {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  color: var(--alex-ink-2);
  font-size: 15px;
  line-height: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.alex-cl__c-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: var(--alex-ink-2);
  font-size: 13px;
  line-height: 20px;
}

.alex-cl__c-go {
  color: var(--alex-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s;
}

.alex-cl__c-go i {
  display: inline-block;
  font-style: normal;
  transition: transform 0.18s ease;
}

.alex-cl__c:hover .alex-cl__c-go,
.alex-cl__c:has(.alex-cl__c-a:focus-visible) .alex-cl__c-go {
  color: var(--alex-purple);
}

.alex-cl__c:hover .alex-cl__c-go i {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .alex-cl__tc,
  .alex-cl__c,
  .alex-cl__c-go i,
  .alex-cl__rl-m > a {
    transition: none;
  }
}

@media screen and (max-width: 900px) {
  .alex-cl__tfg {
    grid-template-columns: minmax(0, 1fr);
  }

  .alex-cl__tc.is-big {
    grid-row: auto;
  }

  .alex-cl__lay {
    display: block;
    margin-top: 56px;
  }

  .alex-cl__rl {
    display: none;
  }

  .alex-cl__bar {
    display: block;
  }

  .alex-cl__list-h {
    margin-top: 32px;
  }
}

@media screen and (max-width: 767px) {
  .alex-cl__h1 {
    font-size: 30px;
    line-height: 37px;
  }
}

@media screen and (max-width: 560px) {
  .alex-cl__c-cv {
    float: none;
    width: 100%;
    margin: 0 0 16px;
  }

  .alex-cl__tc.is-sm {
    gap: 12px;
    padding: 12px;
  }

  .alex-cl__tc.is-sm .alex-cl__cv {
    width: 96px;
  }

  .alex-cl__tc.is-sm .alex-cl__tc-s {
    display: none;
  }

  .alex-cl__tc-t {
    font-size: 21px;
    line-height: 28px;
  }

  .alex-cl__tc.is-big .alex-cl__tc-in {
    padding: 0 4px 4px;
  }

  .alex-cl__c {
    margin-inline: -12px;
    padding: 22px 12px 20px;
    border-radius: 14px;
  }

  .alex-cl__c + .alex-cl__c::before {
    left: 12px;
    right: 12px;
  }

  .alex-cl__c-t {
    font-size: 22px;
    line-height: 29px;
  }

  .alex-cl__c-s {
    font-size: 15px;
    line-height: 25px;
  }

  /* The calendar over the page, six months a row, cells big enough for a thumb. */
  .alex-cl__pk-pop {
    position: fixed;
    top: calc(var(--alex-head) + 56px);
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - var(--alex-head) - 72px);
    overflow-y: auto;
  }

  .alex-cl__pk-hd {
    display: none;
  }

  .alex-cl__pk-y {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
  }

  .alex-cl__pk-yl {
    grid-column: 1 / -1;
    margin: 6px 0 2px;
  }

  .alex-cl__pk-y a,
  .alex-cl__pk-off {
    flex-direction: column;
    height: 44px;
    font-size: 12px;
    line-height: 15px;
  }

  .alex-cl__pk-ab {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.8;
  }

  .alex-cl__pk-off {
    background-color: #2b2c3008;
    color: #2b2c3040;
  }
}

/* --- A change-log note, A3 ------------------------------------------------- */

/*
 * The note page of the changelog design's round 2 (« note A3 »): a 620px
 * reading column, 780px for screenshots, everything centred under a centred
 * header. The root stays `.alex-post`, which the homepage's reading sheet
 * takes; only the top padding is set, so the gutters stay on a phone.
 */
.alex-note {
  --alex-ink-3: #8b8c93;
  padding-top: 40px;
}

.alex-note__col {
  max-width: 620px;
  margin-inline: auto;
}

.alex-note__wide {
  max-width: 780px;
  margin-inline: auto;
}

.alex-note__crumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--alex-ink-2);
  font-size: 13px;
  line-height: 20px;
}

.alex-note__crumb a {
  color: var(--alex-ink-2);
  text-decoration: none;
}

.alex-note__crumb a:hover {
  color: var(--alex-purple);
}

.alex-note__date {
  margin: 28px 0 0;
  color: var(--alex-ink-2);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.alex-note__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
}

.alex-note__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: #2b2c300d;
  color: var(--alex-ink-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.alex-note__title {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--alex-ink);
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.alex-note__lede {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--alex-ink-2);
  font-size: 18px;
  line-height: 29px;
  text-align: center;
}

/* « Dans cette note »: the highlights after the opening one, quiet. Centred
   as a block, its lines aligned left so the arrows line up. */
.alex-note__toc {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
}

.alex-note__toc-in {
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 23px;
  text-align: left;
}

.alex-note__toc-k {
  color: var(--alex-ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.alex-note__toc ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alex-note__toc a {
  color: var(--alex-ink-2);
  text-decoration: none;
}

.alex-note__toc a::before {
  content: "↓";
  display: inline-block;
  width: 18px;
  color: var(--alex-ink-3);
  font-size: 13px;
}

.alex-note__toc a:hover,
.alex-note__toc a:hover::before {
  color: var(--alex-purple);
}

/* One highlight left: one line. */
.alex-note__toc--one .alex-note__toc-in {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.alex-note__intro {
  margin-top: 40px;
}

/* The opening: the highlight the title announces, without a heading. */
.alex-note__lead {
  margin-top: 40px;
  scroll-margin-top: 96px;
}

.alex-note__lead .alex-note__text p {
  color: var(--alex-ink);
  font-size: 17px;
  line-height: 29px;
}

.alex-note__text p {
  margin: 12px 0 0;
  color: var(--alex-ink-2);
  font-size: 16px;
  line-height: 27px;
}

.alex-note__text > :first-child {
  margin-top: 0;
}

.alex-note__text ul,
.alex-note__text ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--alex-ink-2);
  font-size: 16px;
  line-height: 27px;
}

.alex-note__text a {
  color: var(--alex-purple);
}

/* A screenshot: full width of the 780px slot, its own height. Never the
   38px logo of `.alex-post__figure`. */
.alex-note__shot {
  margin-top: 28px;
  margin-bottom: 0;
}

.alex-note__shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 12px;
  background-color: #fff;
}

/* No size given (the body's own <img>, or a meta.media entry without one):
   the 16:10 box of the videos and the index's covers, reserved before the
   lazy image loads, the picture contained in it. */
.alex-note__shot img.is-unsized {
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

/* A highlight's video (meta.media): a muted loop in a screenshot's frame. The
   box is 16:10 unless the note gives the file's size, set inline. The button
   ships hidden; public/alex/changelog.js shows it once it drives the video. */
.alex-note__vid {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 12px;
  background-color: #fff;
}

.alex-note__vid video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.alex-note__vid video img {
  height: 100%;
  border: 0;
  object-fit: contain;
}

.alex-note__vid-b {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 999px;
  background-color: #ffffffeb;
  box-shadow: 0 1px 2px #0000000f;
  color: var(--alex-ink);
  cursor: pointer;
}

.alex-note__vid-b[hidden],
.alex-note__vid-pause,
.alex-note__vid.is-playing .alex-note__vid-play {
  display: none;
}

.alex-note__vid.is-playing .alex-note__vid-pause {
  display: block;
}

.alex-note__vid-b:hover {
  color: var(--alex-purple);
}

.alex-note__vid-b:focus-visible {
  outline: 2px solid var(--alex-purple);
  outline-offset: 2px;
}

/* The file itself, outside <video>: what a browser that cannot decode it
   still offers. Small and quiet, under the frame. */
.alex-note__vid-a {
  display: inline-block;
  margin-top: 8px;
  color: var(--alex-ink-2);
  font-size: 13px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alex-note__vid-a:hover {
  color: var(--alex-purple);
}

.alex-note__vid-a + .alex-note__cap {
  margin-top: 4px;
}

.alex-note__cap {
  margin-top: 10px;
  color: var(--alex-ink-2);
  font-size: 14px;
  line-height: 22px;
}

.alex-note__hl {
  margin-top: 72px;
  scroll-margin-top: 96px;
}

.alex-note__hl-k {
  color: var(--alex-purple);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 16px;
  text-transform: uppercase;
}

.alex-note__hl h2 {
  margin: 6px 0 0;
  color: var(--alex-ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.015em;
}

.alex-note__hl h2 + .alex-note__text {
  margin-top: 12px;
}

/* A body drawn as stored, and any section the layout does not know. */
.alex-note .alex-post__body {
  max-width: 620px;
}

.alex-post__body h3 {
  margin: 32px 0 8px;
  color: var(--alex-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.alex-post__body h2 + h3 {
  margin-top: 16px;
}

.alex-post__body h3 + p {
  margin-top: 0;
}

.alex-post__body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 27px;
  border-radius: 12px;
}

/* « Toutes les modifications » */
.alex-note__changes {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--alex-hairline);
  scroll-margin-top: 96px;
}

.alex-note__changes h2 {
  margin: 0;
  color: var(--alex-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.alex-note__changes-p {
  margin: 6px 0 0;
  color: var(--alex-ink-2);
  font-size: 14px;
  line-height: 22px;
}

.alex-note__chg {
  margin: 20px 0 0;
  border-bottom: 1px solid var(--alex-hairline);
  font-size: 14px;
  line-height: 22px;
}

.alex-note__chg-g {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 12px;
  border-top: 1px solid var(--alex-hairline);
}

.alex-note__chg-k {
  margin: 0;
  padding: 10px 0;
  font: inherit;
}

.alex-note__chg-k span {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 18px;
  white-space: nowrap;
}

.alex-note__chg-k.is-new span { background-color: #e3fbe8; color: #0d5c22; }
.alex-note__chg-k.is-imp span { background-color: #efedff; color: #4b3fe0; }
.alex-note__chg-k.is-fix span { background-color: #fff1dc; color: #8a4b00; }
.alex-note__chg-k.is-mnt span { background-color: #2b2c300d; color: var(--alex-ink-2); }

.alex-note__chg ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alex-note__chg li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--alex-hairline);
}

.alex-note__chg li:first-child {
  border-top: 0;
}

.alex-note__chg li.is-solo {
  grid-template-columns: minmax(0, 1fr);
  color: var(--alex-ink-2);
}

.alex-note__chg-a {
  color: var(--alex-ink-2);
  font-weight: 500;
}

.alex-note__chg-t {
  color: var(--alex-ink);
}

.alex-note__chg li.is-solo .alex-note__chg-t {
  color: var(--alex-ink-2);
}

.alex-note__chg-t a {
  color: var(--alex-ink);
  text-decoration: underline;
  text-decoration-color: #685bff66;
  text-underline-offset: 3px;
}

.alex-note__chg-t a:hover {
  color: var(--alex-purple);
}

/* Share, previous and next, the way back. */
.alex-note__end {
  display: grid;
  gap: 28px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--alex-hairline);
}

.alex-note__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--alex-ink-2);
  font-size: 14px;
  line-height: 20px;
}

.alex-note__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.alex-note__share-b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 999px;
  background-color: #fff;
  color: var(--alex-ink);
  font: inherit;
  font-size: 13px;
  line-height: 16px;
  text-decoration: none;
  cursor: pointer;
}

.alex-note__share-b:hover {
  border-color: #0000002a;
}

/* Shown only where changelog.js can write the clipboard. */
.alex-note__share-b[data-alex-copy-link] {
  display: none;
}

.alex-can-copy .alex-note__share-b[data-alex-copy-link] {
  display: inline-flex;
}

.alex-note__share-ok,
.alex-note__share-b.is-copied .alex-note__share-lbl {
  display: none;
}

.alex-note__share-b.is-copied .alex-note__share-ok {
  display: inline;
}

.alex-note__pns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.alex-note__pn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--alex-hairline-2);
  border-radius: 14px;
  background-color: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}

.alex-note__pn:hover {
  box-shadow: 0 1px 2px #0000000a, 0 18px 40px #00000014;
}

.alex-note__pn--next {
  grid-column: 2;
  text-align: right;
}

.alex-note__pn-k {
  color: var(--alex-purple);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.alex-note__pn-d {
  color: var(--alex-ink-2);
  font-size: 12px;
  line-height: 16px;
}

.alex-note__pn-t {
  color: var(--alex-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
}

.alex-note__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--alex-purple);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.alex-note__back:hover {
  text-decoration: underline;
}

.alex-note__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding: 28px;
  border-radius: 20px;
  background-color: var(--alex-dark);
  color: #fff;
}

.alex-note__cta p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
}

.alex-note__cta .alex-btn {
  background-color: #fff;
  color: var(--alex-ink);
}

@media screen and (max-width: 767px) {
  .alex-note__title {
    font-size: 30px;
    line-height: 37px;
  }

  .alex-note__lede {
    font-size: 16px;
    line-height: 26px;
  }

  .alex-note__lead .alex-note__text p {
    font-size: 16px;
    line-height: 27px;
  }

  .alex-note__hl h2 {
    font-size: 21px;
    line-height: 28px;
  }

  .alex-note__chg-g {
    grid-template-columns: minmax(0, 1fr);
  }

  .alex-note__chg-k {
    padding: 14px 0 2px;
  }

  .alex-note__chg li {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    padding: 8px 0;
  }

  .alex-note__chg li:first-child {
    padding-top: 6px;
  }

  .alex-note__chg-a {
    font-size: 12.5px;
    line-height: 18px;
  }

  .alex-note__pns {
    grid-template-columns: 1fr;
  }

  .alex-note__pn--next {
    grid-column: auto;
    text-align: left;
  }
}
