/* Legal pages: one readable column, a contents list that stays in view on desktop. */
.lg__upd { margin: 0; font: 400 14px/1.4 var(--font-text); opacity: .6; }
.lg { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; padding-block: clamp(16px, 3vh, 32px) clamp(64px, 10vh, 120px); }
.lg__side { position: sticky; top: 28px; display: grid; gap: 32px; }
.toc__t { margin: 0 0 12px; font: 500 13px/1 var(--font-text); opacity: .6; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; border-inline-start: 1px solid rgba(18,20,18,.14); }
.toc a { display: block; margin-inline-start: -1px; padding: 7px 0 7px 14px; border-inline-start: 2px solid transparent; color: rgba(18,20,18,.62); text-decoration: none; font: 400 15px/1.3 var(--font-text); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--encre); }
.toc a[aria-current="true"] { color: var(--encre); border-color: var(--zellige); font-weight: 500; }
.lg__others { display: grid; gap: 8px; padding-block-start: 20px; border-block-start: 1px solid rgba(18,20,18,.12); }
.lg__others a { color: rgba(18,20,18,.62); text-decoration: none; font: 400 14px/1.3 var(--font-text); }
.lg__others a:hover, .lg__others a[aria-current] { color: var(--encre); }
.lg__others a[aria-current] { font-weight: 500; }

.lg__body { box-sizing: border-box; max-inline-size: 720px; margin: 0; padding: 0; font: 400 17px/1.7 var(--font-text); color: color-mix(in oklab, var(--encre) 88%, var(--chaux)); }
.lg__body section { scroll-margin-top: 24px; }
.lg__body section + section { margin-block-start: 2.6em; padding-block-start: 2.2em; border-block-start: 1px solid rgba(18,20,18,.1); }
.lg__body h2 { margin: 0 0 .6em; font: 400 clamp(26px, 2.2vw, 32px)/1.15 var(--font-serif); letter-spacing: -.015em; color: var(--encre); }
.lg__body p, .lg__body ul, .lg__body dl { margin: 0; }
.lg__body > section > * + * { margin-block-start: 1em; }
.lg__body ul { padding-inline-start: 1.2em; } .lg__body li + li { margin-block-start: .45em; } .lg__body li::marker { color: var(--zellige); }
.lg__body a { color: var(--zellige); }
.lg__body b { font-weight: 600; color: var(--encre); }
.ph { padding: 1px 6px; border-radius: 4px; background: #efe3d6; color: #7a3a1e; font-size: .92em; white-space: nowrap; }
.short { list-style: none; padding: 0 !important; }
.short li { position: relative; padding-inline-start: 28px; }
.short li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: .55em; inline-size: 12px; block-size: 7px; border-inline-start: 2px solid var(--zellige); border-block-end: 2px solid var(--zellige); rotate: -45deg; }
.facts { display: grid; border-block-start: 1px solid rgba(18,20,18,.12); }
.facts > div { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 16px; padding-block: 12px; border-block-end: 1px solid rgba(18,20,18,.12); }
.facts dt { font: 500 14px/1.5 var(--font-text); opacity: .7; } .facts dd { margin: 0; font-size: 16px; line-height: 1.5; }
.tbl-l { overflow-x: auto; border-block-start: 1px solid rgba(18,20,18,.2); }
.tbl-l:focus-visible { outline: 2px solid var(--zellige); outline-offset: 4px; }
.tbl-l table { inline-size: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--font-text); }
.tbl-l th, .tbl-l td { padding: 12px 14px 12px 0; text-align: start; vertical-align: top; border-block-end: 1px solid rgba(18,20,18,.1); }
.tbl-l thead th { font: 500 13px/1.2 var(--font-text); opacity: .6; }
.tbl-l td:first-child { font-weight: 500; color: var(--encre); }
.tbl-l code { font: 400 13px/1.3 ui-monospace, Menlo, monospace; padding: 2px 5px; border-radius: 4px; background: rgba(18,20,18,.06); }
.lg__q { margin-block-start: 3em !important; padding: 18px 20px; border-radius: 12px; background: var(--menthe); font-size: 16px; }

/* cookie choices */
.consent { display: grid; gap: 0; padding: 6px 20px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(18,20,18,.06), 0 16px 40px -30px rgba(18,20,18,.35); }
.consent__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; cursor: pointer; }
.consent__row + .consent__row { border-block-start: 1px solid rgba(18,20,18,.1); }
.consent__row b { display: block; font: 400 21px/1.2 var(--font-serif); }
.consent__row small { display: block; font: 400 14px/1.4 var(--font-text); opacity: .7; }
.consent__row input { appearance: none; position: relative; flex: none; inline-size: 44px; block-size: 26px; margin: 0; border-radius: 99px; background: rgba(18,20,18,.2); cursor: pointer; transition: background-color .25s; }
.consent__row input::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; inline-size: 20px; block-size: 20px; border-radius: 50%; background: #fff; transition: translate .3s cubic-bezier(.16,1,.3,1); }
.consent__row input:checked { background: var(--zellige); } .consent__row input:checked::after { translate: 18px 0; }
.consent__row input:disabled { opacity: .5; cursor: default; }
.consent__row input:focus-visible { outline: 2px solid var(--zellige); outline-offset: 2px; }
.consent__state { margin: 0 0 12px !important; }

@media (max-width: 900px) {
  .lg { grid-template-columns: minmax(0, 1fr); }
  .lg__side { position: static; }
  .lg__others { display: none; }
  .toc ol { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a { margin: 0; padding: 8px 12px; border: 1px solid rgba(18,20,18,.16); border-radius: 99px; font-size: 14px; }
  .toc a[aria-current="true"] { border-color: rgba(18,20,18,.16); font-weight: 400; color: rgba(18,20,18,.62); }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .ph { white-space: normal; }
}
@media (max-width: 700px) {
  .tbl-l { overflow: visible; }
  .tbl-l thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl-l table, .tbl-l tbody, .tbl-l tr, .tbl-l td { display: block; }
  .tbl-l tr { display: grid; gap: 8px; padding-block: 14px; border-block-end: 1px solid rgba(18,20,18,.12); }
  .tbl-l td { padding: 0; border: 0; }
  .tbl-l td:not(:first-child)::before { content: attr(data-l); display: block; font: 500 12px/1.3 var(--font-text); opacity: .55; }
  .tbl-l td:first-child { font: 400 20px/1.25 var(--font-serif); }
}

/* right-to-left: the switch knob travels the other way */
[dir="rtl"] .consent__row input:checked::after { translate: -18px 0; }
[dir="rtl"] .short li::before { border-inline-start: 0; border-inline-end: 2px solid var(--zellige); }   /* a tick is not mirrored */
