/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-animation-delay: 0s;
      --tw-animation-direction: normal;
      --tw-animation-duration: initial;
      --tw-animation-fill-mode: none;
      --tw-animation-iteration-count: 1;
      --tw-enter-blur: 0;
      --tw-enter-opacity: 1;
      --tw-enter-rotate: 0;
      --tw-enter-scale: 1;
      --tw-enter-translate-x: 0;
      --tw-enter-translate-y: 0;
      --tw-exit-blur: 0;
      --tw-exit-opacity: 1;
      --tw-exit-rotate: 0;
      --tw-exit-scale: 1;
      --tw-exit-translate-x: 0;
      --tw-exit-translate-y: 0;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: var(--font-inter), -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-emerald-400: oklch(76.5% .177 163.223);
    --color-emerald-600: oklch(59.6% .145 163.225);
    --color-rose-400: oklch(71.2% .194 13.428);
    --color-rose-600: oklch(58.6% .253 17.585);
    --spacing: .25rem;
    --container-sm: 24rem;
    --container-lg: 32rem;
    --container-6xl: 72rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --tracking-wide: .025em;
    --leading-relaxed: 1.625;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-inter), -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    system-ui, sans-serif;
    --default-mono-font-family: var(--font-mono);
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-surface: var(--surface);
    --color-border: var(--border);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  * {
    border-color: var(--color-border);
  }

  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
  }

  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "cv11";
  }

  ::selection {
    background-color: oklch(62% .18 255 / .18);
  }

  [data-theme="dark"] ::selection {
    background-color: oklch(66% .17 255 / .32);
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .relative {
    position: relative;
  }

  .sticky {
    position: sticky;
  }

  .top-0 {
    top: calc(var(--spacing) * 0);
  }

  .z-10 {
    z-index: 10;
  }

  .mx-auto {
    margin-inline: auto;
  }

  .mt-0\.5 {
    margin-top: calc(var(--spacing) * .5);
  }

  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }

  .mt-1\.5 {
    margin-top: calc(var(--spacing) * 1.5);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }

  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }

  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }

  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .ml-auto {
    margin-left: auto;
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .size-2\.5 {
    width: calc(var(--spacing) * 2.5);
    height: calc(var(--spacing) * 2.5);
  }

  .size-36 {
    width: calc(var(--spacing) * 36);
    height: calc(var(--spacing) * 36);
  }

  .h-2 {
    height: calc(var(--spacing) * 2);
  }

  .h-16 {
    height: calc(var(--spacing) * 16);
  }

  .h-32 {
    height: calc(var(--spacing) * 32);
  }

  .h-full {
    height: 100%;
  }

  .max-h-96 {
    max-height: calc(var(--spacing) * 96);
  }

  .min-h-dvh {
    min-height: 100dvh;
  }

  .w-16 {
    width: calc(var(--spacing) * 16);
  }

  .w-full {
    width: 100%;
  }

  .max-w-6xl {
    max-width: var(--container-6xl);
  }

  .max-w-lg {
    max-width: var(--container-lg);
  }

  .max-w-sm {
    max-width: var(--container-sm);
  }

  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }

  .flex-1 {
    flex: 1;
  }

  .shrink-0 {
    flex-shrink: 0;
  }

  .-rotate-90 {
    rotate: -90deg;
  }

  .resize {
    resize: both;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .place-items-center {
    place-items: center;
  }

  .items-baseline {
    align-items: baseline;
  }

  .items-center {
    align-items: center;
  }

  .items-end {
    align-items: flex-end;
  }

  .justify-between {
    justify-content: space-between;
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  .gap-\[3px\] {
    gap: 3px;
  }

  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-2\.5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2.5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2.5) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
  }

  .gap-x-5 {
    column-gap: calc(var(--spacing) * 5);
  }

  .gap-y-2 {
    row-gap: calc(var(--spacing) * 2);
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .overflow-auto {
    overflow: auto;
  }

  .overflow-x-auto {
    overflow-x: auto;
  }

  .rounded {
    border-radius: .25rem;
  }

  .rounded-2xl {
    border-radius: calc(var(--radius) + 8px);
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .rounded-xl {
    border-radius: calc(var(--radius) + 4px);
  }

  .rounded-t-sm {
    border-top-left-radius: calc(var(--radius) - 4px);
    border-top-right-radius: calc(var(--radius) - 4px);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }

  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }

  .border-border {
    border-color: var(--border);
  }

  .bg-accent\/25 {
    background-color: var(--accent);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-accent\/25 {
      background-color: color-mix(in oklab, var(--accent) 25%, transparent);
    }
  }

  .bg-background, .bg-background\/85 {
    background-color: var(--background);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-background\/85 {
      background-color: color-mix(in oklab, var(--background) 85%, transparent);
    }
  }

  .bg-muted {
    background-color: var(--muted);
  }

  .bg-primary {
    background-color: var(--primary);
  }

  .bg-surface {
    background-color: var(--surface);
  }

  .fill-muted-foreground {
    fill: var(--muted-foreground);
  }

  .p-0\.5 {
    padding: calc(var(--spacing) * .5);
  }

  .p-4 {
    padding: calc(var(--spacing) * 4);
  }

  .p-5 {
    padding: calc(var(--spacing) * 5);
  }

  .p-7 {
    padding: calc(var(--spacing) * 7);
  }

  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-3\.5 {
    padding-inline: calc(var(--spacing) * 3.5);
  }

  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }

  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }

  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }

  .py-0\.5 {
    padding-block: calc(var(--spacing) * .5);
  }

  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }

  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }

  .py-3\.5 {
    padding-block: calc(var(--spacing) * 3.5);
  }

  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }

  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }

  .py-24 {
    padding-block: calc(var(--spacing) * 24);
  }

  .pr-4 {
    padding-right: calc(var(--spacing) * 4);
  }

  .text-center {
    text-align: center;
  }

  .text-left {
    text-align: left;
  }

  .font-display {
    font-family: var(--font-space-grotesk), var(--font-inter), -apple-system, BlinkMacSystemFont,
    "SF Pro Display", system-ui, sans-serif;
  }

  .font-mono {
    font-family: var(--font-mono);
  }

  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }

  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .text-\[10px\] {
    font-size: 10px;
  }

  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .text-border {
    color: var(--border);
  }

  .text-emerald-600 {
    color: var(--color-emerald-600);
  }

  .text-foreground {
    color: var(--foreground);
  }

  .text-muted-foreground {
    color: var(--muted-foreground);
  }

  .text-primary-foreground {
    color: var(--primary-foreground);
  }

  .text-rose-600 {
    color: var(--color-rose-600);
  }

  .uppercase {
    text-transform: uppercase;
  }

  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .opacity-60 {
    opacity: .6;
  }

  .shadow-soft {
    --tw-shadow: 0 1px 2px var(--tw-shadow-color, oklch(20% .02 250 / .04)), 0 8px 24px var(--tw-shadow-color, oklch(20% .02 250 / .06));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .backdrop-blur {
    --tw-backdrop-blur: blur(8px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .transition-\[width\] {
    transition-property: width;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .duration-500 {
    --tw-duration: .5s;
    transition-duration: .5s;
  }

  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }

  .paused {
    animation-play-state: paused;
  }

  @media (hover: hover) {
    .hover\:bg-accent:hover {
      background-color: var(--accent);
    }

    .hover\:bg-muted:hover {
      background-color: var(--muted);
    }

    .hover\:text-foreground:hover {
      color: var(--foreground);
    }
  }

  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus\:ring-ring:focus {
    --tw-ring-color: var(--ring);
  }

  .disabled\:opacity-60:disabled {
    opacity: .6;
  }

  @media (min-width: 40rem) {
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 64rem) {
    .lg\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  .dark\:text-emerald-400:where([data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-emerald-400);
  }

  .dark\:text-rose-400:where([data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-rose-400);
  }

  .text-balance {
    text-wrap: balance;
  }

  .text-pretty {
    text-wrap: pretty;
  }
}

@property --tw-animation-delay {
  syntax: "*";
  inherits: false;
  initial-value: 0s;
}

@property --tw-animation-direction {
  syntax: "*";
  inherits: false;
  initial-value: normal;
}

@property --tw-animation-duration {
  syntax: "*";
  inherits: false
}

@property --tw-animation-fill-mode {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

@property --tw-animation-iteration-count {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-exit-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-exit-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

:root {
  --radius: .75rem;
  color-scheme: light;
  --band-light: oklch(99.2% .003 90);
  --band-dark: oklch(18% .012 250);
  --background: var(--band-light);
  --foreground: oklch(22% .01 250);
  --surface: oklch(100% 0 0);
  --surface-foreground: oklch(22% .01 250);
  --muted: oklch(96.5% .004 250);
  --muted-foreground: oklch(50% .012 250);
  --subtle: oklch(97% .005 90);
  --border: oklch(92% .006 250);
  --accent: oklch(62% .18 255);
  --accent-foreground: oklch(99% 0 0);
  --primary: oklch(22% .01 250);
  --primary-foreground: oklch(99% 0 0);
  --ring: oklch(62% .18 255 / .4);
}

[data-theme="dark"] {
  --background: var(--band-dark);
  --foreground: oklch(94% .006 250);
  --surface: oklch(21.5% .014 250);
  --surface-foreground: oklch(94% .006 250);
  --muted: oklch(25.5% .014 250);
  --muted-foreground: oklch(68% .012 250);
  --subtle: oklch(23% .013 250);
  --border: oklch(32% .014 250);
  --accent: oklch(66% .17 255);
  --accent-foreground: oklch(99% 0 0);
  --primary: oklch(94% .006 250);
  --primary-foreground: oklch(20% .012 250);
  --ring: oklch(66% .17 255 / .45);
  color-scheme: dark;
}

.btn-wave {
  isolation: isolate;
  touch-action: manipulation;
  color: oklch(99% 0 0);
  background-image: linear-gradient(100deg, oklch(72% .13 190), oklch(62% .18 255), oklch(58% .18 300), oklch(62% .16 330), oklch(72% .13 190));
  background-position: 0%;
  background-size: 220% 100%;
  transition: background-position .8s cubic-bezier(.4, 0, .2, 1), box-shadow .3s, transform .2s;
  position: relative;
  box-shadow: inset 0 1px oklch(100% 0 0 / .22), 0 1px 2px oklch(40% .16 280 / .22), 0 10px 28px -8px oklch(58% .18 285 / .45);
}

.btn-wave:hover {
  background-position: 100%;
  box-shadow: inset 0 1px oklch(100% 0 0 / .28), 0 2px 4px oklch(40% .16 280 / .26), 0 16px 40px -8px oklch(58% .18 285 / .55);
}

.btn-wave:active {
  transform: translateY(.5px) scale(.99);
}

.btn-wave:focus-visible {
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn-wave {
    transition: box-shadow .3s;
  }
}

@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-leading {
  syntax: "*";
  inherits: false
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-tracking {
  syntax: "*";
  inherits: false
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-duration {
  syntax: "*";
  inherits: false
}
/* ─────────────────────────────────────────────────────────────────────────────
   Site « Faders de lumière » — styles de toutes les pages publiques.
   Tout est préfixé fl- et posé sous .fl (SiteShell) ; l'admin garde son style.

   Palette prise dans l'icône de Potar :
     nuit      #0E0719  le fond de l'icône
     encre     #170F24  surfaces posées dessus
     lavande   #ECE7F5  les poignées des curseurs → le texte
     brume     #A69FBA  texte secondaire
     signal    #7185FF  l'accent de marque, le seul
     onde      #5E95B1  et améthyste #775CAE : les vagues, seulement dans la lumière
   Typo : SF Pro (celle de l'app) sur Apple, Inter ailleurs.
   ───────────────────────────────────────────────────────────────────────────── */

html:has(.fl),
body:has(.fl) {
  background: #0e0719;
  color-scheme: dark;
}

.fl {
  --fl-bg: #0e0719;
  --fl-ink: #170f24;
  --fl-text: #ece7f5;
  --fl-text-2: #a69fba;
  --fl-text-3: #6f6884;
  --fl-line: rgba(236, 231, 245, 0.08);
  --fl-line-2: rgba(236, 231, 245, 0.14);
  --fl-accent: #7185ff;
  --fl-accent-2: #a7b3ff;
  --fl-font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-inter), "Helvetica Neue", Arial,
    sans-serif;
  --fl-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", var(--font-inter), "Helvetica Neue", Arial,
    sans-serif;
  /* Unité des maquettes de l'app : 1 pt = 1 px, agrandie dans « Une ligne, tout le contrôle ». */
  --u: 1px;

  /* Couleurs des panneaux macOS en sombre (texte sur verre). */
  --fl-mx-text: #f3f0fa;
  --fl-mx-2: rgba(243, 240, 250, 0.62);
  --fl-mx-3: rgba(243, 240, 250, 0.34);
  --fl-mx-line: rgba(255, 255, 255, 0.13);
  --fl-mx-track: rgba(255, 255, 255, 0.17);

  position: relative;
  min-height: 100vh;
  background: var(--fl-bg);
  color: var(--fl-text);
  font-family: var(--fl-font);
  font-feature-settings: normal;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.fl ::selection {
  background: rgba(113, 133, 255, 0.38);
  color: #fff;
}

.fl :focus-visible {
  outline: 2px solid var(--fl-accent);
  outline-offset: 2px;
}

.fl button {
  cursor: pointer;
}

/* ── Typographie ───────────────────────────────────────────────────────────── */

.fl-h1 {
  font-family: var(--fl-display);
  font-size: clamp(46px, 7.6vw, 108px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.fl-h2 {
  max-width: 25em;
  margin: 0 auto;
  font-family: var(--fl-display);
  font-size: clamp(23px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.022em;
  text-align: center;
  text-wrap: balance;
}

.fl-dim {
  color: var(--fl-text-2);
}

.fl-lead {
  max-width: 36em;
  margin: 24px auto 0;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  color: var(--fl-text-2);
  text-wrap: pretty;
}

.fl-micro {
  font-size: 13px;
  line-height: 1.45;
  color: var(--fl-text-2);
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

.fl-caption {
  max-width: 34em;
  margin: 32px auto 0;
  padding: 0 8px;
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
  color: var(--fl-text-2);
  text-wrap: pretty;
}

.fl-caption strong {
  font-weight: 600;
  color: var(--fl-text);
}

/* ── Boutons ───────────────────────────────────────────────────────────────── */

.fl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #150c24;
  background: linear-gradient(180deg, #ffffff 0%, #e6e1f1 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(40, 25, 70, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 10px 32px -8px rgba(113, 133, 255, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.16s ease,
    box-shadow 0.25s ease;
}

.fl-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(40, 25, 70, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 14px 40px -8px rgba(113, 133, 255, 0.75),
    0 2px 6px rgba(0, 0, 0, 0.45);
}

.fl-btn:active {
  transform: translateY(0);
}

.fl-btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.fl-btn--sm {
  height: 34px;
  gap: 6px;
  padding: 0 14px 0 11px;
  font-size: 13px;
}

.fl-btn--sm .fl-btn-icon {
  width: 15px;
  height: 15px;
}

/* ── Navigation ────────────────────────────────────────────────────────────── */

.fl-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 12px 0;
  pointer-events: none;
}

.fl-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1060px, 100%);
  height: 54px;
  margin: 0 auto;
  padding: 0 10px 0 16px;
  border-radius: 16px;
  background: rgba(16, 9, 28, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--fl-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 32px -14px rgba(0, 0, 0, 0.7);
}

.fl-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--fl-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fl-text);
}

.fl .fl-nav-logo {
  width: 22px;
  height: 22px;
  color: var(--fl-text);
}

.fl-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fl-nav-links > a {
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--fl-text-2);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.fl-nav-links > a:hover {
  color: var(--fl-text);
  background: rgba(236, 231, 245, 0.06);
}

.fl-nav-cta {
  margin-left: 8px;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.fl-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(760px, 100svh);
  margin-top: -66px;
  padding: clamp(150px, 21vh, 210px) 16px 0;
  text-align: center;
}

.fl-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.fl-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

/* La scène des faders occupe le reste de l'écran et passe sous le Mac. */
.fl-hero-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 280px;
  margin: -40px -16px 0;
  pointer-events: none;
}

.fl-light {
  position: absolute;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.fl-light-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.fl-light-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(18px 55% at 30% 100%, rgba(113, 133, 255, 0.55), transparent),
    radial-gradient(18px 70% at 42% 100%, rgba(113, 133, 255, 0.6), transparent),
    radial-gradient(18px 45% at 50% 100%, rgba(167, 179, 255, 0.55), transparent),
    radial-gradient(18px 80% at 58% 100%, rgba(113, 133, 255, 0.6), transparent),
    radial-gradient(18px 50% at 70% 100%, rgba(119, 92, 174, 0.6), transparent);
}

.fl-light[data-fallback="true"] .fl-light-canvas {
  display: none;
}

.fl-light[data-fallback="true"] .fl-light-fallback {
  display: block;
}

.fl-stage-light {
  left: 0;
  right: 0;
  top: 0;
  bottom: -150px;
}

/* ── Le Mac ────────────────────────────────────────────────────────────────── */

.fl-mac {
  position: relative;
  z-index: 2;
  margin-top: -110px;
  padding: 0 16px;
}

.fl-display {
  position: relative;
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 30px;
  background: linear-gradient(180deg, #1d1530 0%, #0f0919 100%);
  border: 1px solid rgba(236, 231, 245, 0.11);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 -30px 90px -30px rgba(113, 133, 255, 0.45),
    0 50px 100px -30px rgba(0, 0, 0, 0.85);
}

/* Le filet de lumière sur le bord haut du Mac, d'où montent les faders. */
.fl-display::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 207, 255, 0.85) 30%,
    #ece7f5 50%,
    rgba(198, 207, 255, 0.85) 70%,
    transparent
  );
  box-shadow: 0 0 18px 2px rgba(113, 133, 255, 0.55);
  pointer-events: none;
}

.fl-screen {
  position: relative;
  height: 700px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: #0c0517;
}

.fl-wallpaper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.fl-menubar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  padding: 0 10px 0 18px;
  font-size: 13px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.93);
  background: rgba(10, 4, 20, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
}

.fl-menubar-left {
  display: flex;
  align-items: center;
  gap: 19px;
  white-space: nowrap;
}

.fl-menubar-left b {
  font-weight: 700;
}

.fl-menubar-apple {
  width: 14px;
  height: 14px;
  margin-top: -2px;
}

.fl-menubar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fl-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  min-width: 28px;
  padding: 0 6px;
  border-radius: 6px;
  color: inherit;
  white-space: nowrap;
}

.fl-status svg {
  width: 17px;
  height: 17px;
}

.fl-status--potar {
  transition: background-color 0.15s ease;
}

.fl-status--potar svg {
  width: 16px;
  height: 16px;
}

.fl-status--potar:hover,
.fl-status--potar.is-open {
  background: rgba(255, 255, 255, 0.2);
}

.fl-clock {
  font-variant-numeric: tabular-nums;
  min-width: 128px;
  justify-content: flex-end;
}

/* Le mixeur s'ouvre sous l'icône, avec le fondu + flou de l'app (PotarMotion.menuOpen). */
.fl-popover {
  position: absolute;
  z-index: 3;
  top: 34px;
  right: 116px;
  transform-origin: 62% 0;
  transition:
    opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fl-popover[data-open="false"] {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition-duration: 0.18s;
}

/* ── Mixeur (maquette de l'app, en unités --u) ─────────────────────────────── */

.fl-mixer {
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 8);
  width: calc(var(--u) * 300);
  font-family: var(--fl-font);
  font-size: calc(var(--u) * 13);
  line-height: 1.25;
  color: var(--fl-mx-text);
  text-align: left;
}

.fl-glass {
  background: rgba(32, 23, 48, 0.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
  border: 0.5px solid rgba(255, 255, 255, 0.17);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.45),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.14),
    0 24px 60px -14px rgba(0, 0, 0, 0.65);
}

.fl-search {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 8);
  height: calc(var(--u) * 40);
  padding: 0 calc(var(--u) * 12);
  border-radius: 999px;
  color: var(--fl-mx-2);
  cursor: text;
}

.fl-search-icon {
  width: calc(var(--u) * 13);
  height: calc(var(--u) * 13);
  flex: none;
}

.fl-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fl-mx-text);
  font: inherit;
  font-size: calc(var(--u) * 13);
}

.fl-search input::placeholder {
  color: var(--fl-mx-2);
}

/* Le champ vit dans la pilule : pas de contour rectangulaire, la pilule s'éclaire. */
.fl-search input:focus,
.fl-search input:focus-visible {
  outline: none;
}

.fl-search:focus-within {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.45),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.2),
    0 24px 60px -14px rgba(0, 0, 0, 0.65);
}

.fl-search-clear {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 18);
  height: calc(var(--u) * 18);
  border-radius: 50%;
  color: var(--fl-mx-2);
  background: rgba(255, 255, 255, 0.1);
}

.fl-search-clear svg {
  width: calc(var(--u) * 10);
  height: calc(var(--u) * 10);
}

.fl-mixer-panel {
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 2);
  padding: calc(var(--u) * 8);
  border-radius: calc(var(--u) * 20);
}

.fl-mixer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--u) * 4) calc(var(--u) * 8);
  font-size: calc(var(--u) * 11);
  font-weight: 600;
  color: var(--fl-mx-2);
}

.fl-mixer-headbtn {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 18);
  height: calc(var(--u) * 18);
  border-radius: calc(var(--u) * 4);
  color: var(--fl-mx-2);
}

.fl-mixer-headbtn:hover {
  color: var(--fl-mx-text);
}

.fl-mixer-headbtn.is-routed {
  color: var(--fl-accent-2);
}

.fl-mixer-headbtn svg {
  width: calc(var(--u) * 13);
  height: calc(var(--u) * 13);
}

.fl-mixer-divider {
  height: 1px;
  margin: calc(var(--u) * 4) calc(var(--u) * 8);
  background: var(--fl-mx-line);
}

.fl-mixer-empty {
  padding: calc(var(--u) * 20) calc(var(--u) * 12);
  text-align: center;
  font-size: calc(var(--u) * 13);
  font-weight: 600;
}

.fl-mixer-empty p + p {
  margin-top: 4px;
  font-weight: 400;
  color: var(--fl-mx-2);
}

/* Ligne : identité en haut, curseur + % + mute / S en bas. */
.fl-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 4);
  padding: calc(var(--u) * 8);
  border-radius: calc(var(--u) * 12);
  transition: opacity 0.18s ease;
}

.fl-row.is-selected {
  background: rgba(113, 133, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(113, 133, 255, 0.65);
}

.fl-row.is-dim {
  opacity: 0.6;
}

.fl-row-id {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 8);
  min-height: calc(var(--u) * 30);
}

.fl-row-lead {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: calc(var(--u) * 30);
  height: calc(var(--u) * 30);
}

.fl-row-lead.is-muted::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 23%;
  background: rgba(0, 0, 0, 0.45);
}

.fl-row-well {
  border-radius: calc(var(--u) * 8);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fl-mx-2);
}

.fl-row-well svg {
  width: calc(var(--u) * 17);
  height: calc(var(--u) * 17);
}

.fl-row-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: calc(var(--u) * 13);
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fl-row.is-dim .fl-row-name {
  color: var(--fl-mx-3);
}

.fl-row-select {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 8);
  flex: 1;
  min-width: 0;
  text-align: left;
  color: inherit;
}

.fl-row-select:hover .fl-row-name {
  color: #fff;
}

.fl-row-principal {
  font-size: calc(var(--u) * 10);
  color: var(--fl-accent-2);
  transition: opacity 0.15s ease;
}

.fl-row-principal[aria-hidden="true"] {
  opacity: 0;
}

.fl-row-controls {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 8);
  height: calc(var(--u) * 24);
}

.fl-row-controls .fl-slider {
  flex: 1;
}

.fl-row-pct {
  min-width: calc(var(--u) * 36);
  font-size: calc(var(--u) * 11);
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--fl-mx-2);
}

.fl-row-pct.is-dim {
  color: var(--fl-mx-3);
}

.fl-row-pct.is-boost {
  color: var(--fl-accent-2);
}

.fl-row-buttons {
  display: flex;
  gap: calc(var(--u) * 4);
}

/* Pastilles bordées : mute, S (ControlPillShell). */
.fl-pill {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 24);
  height: calc(var(--u) * 24);
  border-radius: calc(var(--u) * 6);
  border: 1px solid var(--fl-mx-line);
  color: var(--fl-mx-2);
  font-family:
    ui-rounded,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: calc(var(--u) * 11);
  font-weight: 700;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.fl-pill svg {
  width: calc(var(--u) * 14);
  height: calc(var(--u) * 14);
}

.fl-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--fl-mx-text);
}

.fl-pill.is-muted {
  color: var(--fl-mx-text);
}

.fl-pill.is-solo {
  color: var(--fl-accent-2);
}

.fl-pill--solo.is-on {
  border-color: transparent;
  background: var(--fl-accent);
  color: #fff;
}

/* Pastille de sortie : ▾ choisit, + ajoute une deuxième sortie. */
.fl-chip {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: calc(var(--u) * 24);
  border: 1px solid var(--fl-mx-line);
  border-radius: calc(var(--u) * 6);
  color: var(--fl-mx-2);
}

.fl-chip.is-routed {
  color: var(--fl-accent-2);
}

.fl-menuwrap {
  position: relative;
  display: inline-flex;
  height: 100%;
}

.fl-chip-main {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 3);
  height: 100%;
  padding: 0 calc(var(--u) * 5) 0 calc(var(--u) * 5);
  color: inherit;
  border-radius: calc(var(--u) * 5) 0 0 calc(var(--u) * 5);
}

.fl-chip-glyph {
  width: calc(var(--u) * 15);
  height: calc(var(--u) * 15);
}

.fl-chip-chevron {
  width: calc(var(--u) * 9);
  height: calc(var(--u) * 9);
}

.fl-chip-sep {
  width: 1px;
  height: calc(var(--u) * 12);
  background: var(--fl-mx-line);
}

.fl-chip-side {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 22);
  height: 100%;
  color: inherit;
  border-radius: 0 calc(var(--u) * 5) calc(var(--u) * 5) 0;
}

.fl-chip-side svg {
  width: calc(var(--u) * 10);
  height: calc(var(--u) * 10);
}

.fl-chip-main:hover,
.fl-chip-side:hover,
.fl-chip-main[aria-expanded="true"],
.fl-chip-side[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.07);
}

/* Curseur. Poignée « Liquid Glass » façon macOS 26 : capsule de verre laiteux au repos,
   qui grossit et devient une lentille transparente quand on la saisit. */
.fl-slider {
  --kw: calc(var(--u) * 22);
  --kh: calc(var(--u) * 14);
  --track: calc(var(--u) * 5);
  position: relative;
  height: calc(var(--kh) + var(--u) * 4);
  min-width: 40px;
  border-radius: 999px;
  touch-action: none;
  cursor: pointer;
}

.fl-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: var(--track);
  margin-top: calc(var(--track) / -2);
  overflow: hidden;
  border-radius: 999px;
  background: var(--fl-mx-track);
  box-shadow: inset 0 0.5px 1px rgba(0, 0, 0, 0.35);
}

.fl-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--p) * (100% - var(--kw)) + var(--kw) / 2);
  background: var(--fl-accent);
}

.fl-slider.is-dim .fl-slider-fill {
  background: rgba(243, 240, 250, 0.3);
}

.fl-slider-knob {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * (100% - var(--kw)));
  width: var(--kw);
  height: var(--kh);
  margin-top: calc(var(--kh) / -2);
  border-radius: 999px;
  /* Verre laiteux : reflet en haut, cœur clair, bord plus dense. */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.78) 55%, rgba(236, 232, 248, 0.82) 100%);
  -webkit-backdrop-filter: blur(6px) saturate(1.6);
  backdrop-filter: blur(6px) saturate(1.6);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 1.5px rgba(120, 110, 160, 0.25),
    0 0 0 0.5px rgba(0, 0, 0, 0.22),
    0 1px 3px rgba(6, 2, 14, 0.45),
    0 3px 10px -2px rgba(6, 2, 14, 0.35);
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.18s ease,
    box-shadow 0.18s ease;
}

/* Saisie : la capsule enfle et devient une lentille claire qui laisse voir le rail. */
.fl-slider:active:not(.is-disabled) .fl-slider-knob {
  transform: scale(1.45, 1.3);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.06) 60%),
    rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(1.5px) saturate(2) brightness(1.15);
  backdrop-filter: blur(1.5px) saturate(2) brightness(1.15);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.85),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.45),
    inset 0 0 6px rgba(255, 255, 255, 0.18),
    0 2px 10px rgba(6, 2, 14, 0.35);
}

.fl-slider.is-dim .fl-slider-knob {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(225, 222, 235, 0.7));
}

@media (prefers-reduced-motion: reduce) {
  .fl-slider-knob {
    transition: none;
  }
}

.fl-slider.is-disabled {
  cursor: default;
}

.fl-slider:focus-visible {
  outline-offset: 4px;
}

.fl-slider--v {
  --kw: calc(var(--u) * 26);
  --kh: calc(var(--u) * 14);
  --track: calc(var(--u) * 6);
  width: calc(var(--u) * 28);
  height: calc(var(--u) * 140);
  min-width: 0;
  flex: none;
}

.fl-slider--v .fl-slider-track {
  left: 50%;
  right: auto;
  top: 0;
  bottom: 0;
  width: var(--track);
  height: auto;
  margin: 0 0 0 calc(var(--track) / -2);
}

.fl-slider--v .fl-slider-fill {
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  height: calc(var(--p) * (100% - var(--kh)) + var(--kh) / 2);
}

.fl-slider--v .fl-slider-knob {
  top: auto;
  left: 50%;
  bottom: calc(var(--p) * (100% - var(--kh)));
  width: var(--kw);
  height: var(--kh);
  margin: 0 0 0 calc(var(--kw) / -2);
  border-radius: calc(var(--kh) / 2);
}

/* Fader du HUD : la lentille s'étire surtout en largeur. */
.fl-slider--v:active:not(.is-disabled) .fl-slider-knob {
  transform: scale(1.25, 1.4);
}

/* Média en cours. */
.fl-media {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 5);
  font-size: calc(var(--u) * 11);
  font-weight: 500;
  color: var(--fl-mx-2);
}

.fl-media-state {
  display: grid;
  place-items: center;
  color: var(--fl-mx-3);
}

.fl-media-state svg {
  width: calc(var(--u) * 11);
  height: calc(var(--u) * 11);
}

.fl-media-line {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fl-row.is-dim .fl-media-line {
  color: var(--fl-mx-3);
}

.fl-media-transport {
  display: flex;
}

.fl-media-transport button {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 18);
  height: calc(var(--u) * 16);
  color: var(--fl-mx-3);
  transition: color 0.12s ease;
}

.fl-media-transport button:hover {
  color: var(--fl-mx-text);
}

.fl-media-transport svg {
  width: calc(var(--u) * 10);
  height: calc(var(--u) * 10);
}

/* Icônes d'apps. */
.fl-appicon {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 23%;
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

.fl-appicon--round {
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.fl-appicon-mark {
  width: 68%;
  height: 68%;
}

.fl-appicon-mark--wide {
  width: 66%;
  height: auto;
}

/* Menu déroulant (NSMenu sombre). Taille système fixe, même dans la ligne agrandie. */
.fl-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 5px);
  right: 0;
  min-width: 210px;
  padding: 5px;
  border-radius: 10px;
  font-family: var(--fl-font);
  font-size: 13px;
  line-height: 1;
  color: #f3f0fa;
  background: rgba(40, 31, 56, 0.86);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
  border: 0.5px solid rgba(255, 255, 255, 0.17);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.5),
    0 18px 44px rgba(0, 0, 0, 0.55);
  animation: fl-menu-in 0.12s ease-out;
  text-align: left;
}

.fl-menu.is-start {
  right: auto;
  left: 0;
}

.fl-menu.is-up {
  top: auto;
  bottom: calc(100% + 5px);
}

@keyframes fl-menu-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
}

.fl-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 24px;
  padding: 0 12px 0 5px;
  border-radius: 5px;
  color: inherit;
  white-space: nowrap;
  cursor: default;
}

.fl .fl-menu-item {
  cursor: default;
}

.fl-menu-item:hover,
.fl-menu-item:focus-visible {
  outline: none;
  background: var(--fl-accent);
  color: #fff;
}

.fl-menu-check {
  display: grid;
  place-items: center;
  width: 14px;
  flex: none;
}

.fl-menu-check svg {
  width: 12px;
  height: 12px;
}

.fl-menu-icon {
  display: grid;
  place-items: center;
}

.fl-menu-icon svg {
  width: 15px;
  height: 15px;
}

.fl-menu-sep {
  height: 1px;
  margin: 5px 10px;
  background: rgba(255, 255, 255, 0.13);
}

.fl-menu-header {
  padding: 4px 12px 6px 25px;
  font-size: 12px;
  color: rgba(243, 240, 250, 0.5);
}

/* ── Sections ──────────────────────────────────────────────────────────────── */

.fl-section {
  padding: clamp(110px, 13vw, 170px) 16px 0;
}

/* ── En même temps : le schéma de routage ──────────────────────────────────── */

.fl-flow {
  --flow-vertical: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(64px, 11vw, 170px);
  width: min(1000px, 100%);
  margin: 64px auto 0;
}

.fl-flow-wires {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
}

.fl-flow-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fl-flow-col--apps {
  align-items: flex-start;
}

.fl-flow-col--devs {
  align-items: flex-end;
}

.fl-flow-app,
.fl-flow-dev {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 232px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(23, 15, 36, 0.92);
  border: 1px solid var(--fl-line);
  text-align: left;
  color: inherit;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.fl-flow-app:hover {
  border-color: var(--fl-line-2);
  background: rgba(32, 21, 48, 0.95);
}

.fl-flow-app-icon {
  width: 38px;
  height: 38px;
  flex: none;
}

.fl-flow-app-text,
.fl-flow-dev-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.fl-flow-app-name,
.fl-flow-dev-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.fl-flow-app-dest {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--fl-text-2);
  white-space: nowrap;
}

.fl-flow-app-dest svg {
  width: 14px;
  height: 14px;
}

.fl-flow-app-dest.is-routed {
  color: var(--fl-accent-2);
}

.fl-flow-app.is-quiet .fl-flow-app-name,
.fl-flow-app.is-quiet .fl-flow-app-icon {
  opacity: 0.55;
}

.fl-flow-hubwrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fl-flow-hub {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  color: var(--fl-text);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(113, 133, 255, 0.28), transparent 60%), #1a1129;
  border: 1px solid rgba(113, 133, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 6px rgba(113, 133, 255, 0.05);
  transition: box-shadow 0.4s ease;
}

.fl-flow-hub.is-live {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 6px rgba(113, 133, 255, 0.07),
    0 0 60px rgba(113, 133, 255, 0.4);
}

.fl-flow-hub svg {
  width: 32px;
  height: 32px;
}

.fl-flow-hub-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fl-text-2);
}

.fl-flow-dev {
  width: 236px;
  padding: 10px 14px 10px 10px;
}

.fl-flow-dev.is-live {
  border-color: rgba(113, 133, 255, 0.32);
}

.fl-flow-dev-glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: rgba(236, 231, 245, 0.06);
  color: var(--fl-text-2);
  transition: color 0.2s ease;
}

.fl-flow-dev.is-live .fl-flow-dev-glyph {
  color: var(--fl-text);
}

.fl-flow-dev-glyph svg {
  width: 21px;
  height: 21px;
}

.fl-flow-dev-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 16px;
  font-size: 12px;
  line-height: 1;
}

.fl-flow-dev-main {
  color: var(--fl-accent-2);
}

.fl-flow-dev-apps {
  display: flex;
}

.fl-flow-dev-app {
  width: 16px;
  height: 16px;
  margin-right: -3px;
  box-shadow: 0 0 0 1.5px #170f24;
}

/* Petit vumètre en barres verticales (le glyphe de Potar). */
.fl-meter {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-left: auto;
}

.fl-meter i {
  width: 3px;
  height: 22%;
  border-radius: 2px;
  background: var(--fl-text-3);
  opacity: 0.6;
}

.fl-flow-dev.is-live .fl-meter i {
  background: var(--fl-accent);
  opacity: 1;
  animation: fl-meter 1.1s ease-in-out infinite alternate;
}

.fl-flow-dev.is-live .fl-meter i:nth-child(2) {
  animation-duration: 0.8s;
  animation-delay: -0.3s;
}

.fl-flow-dev.is-live .fl-meter i:nth-child(3) {
  animation-duration: 1.35s;
  animation-delay: -0.6s;
}

@keyframes fl-meter {
  0% {
    height: 30%;
  }
  50% {
    height: 85%;
  }
  100% {
    height: 50%;
  }
}

/* Câbles. pathLength = 1 : les tirets s'expriment en fraction du câble. */
.fl-wire-line {
  fill: none;
  stroke: rgba(236, 231, 245, 0.3);
  stroke-width: 1.5;
}

.fl-wire.is-routed .fl-wire-line {
  stroke: rgba(130, 148, 255, 0.85);
}

.fl-wire.is-idle .fl-wire-line {
  stroke: rgba(236, 231, 245, 0.14);
  stroke-dasharray: 0.006 0.01;
}

.fl-wire-glow {
  fill: none;
  stroke: rgba(113, 133, 255, 0);
  stroke-width: 6;
}

.fl-wire.is-live.is-routed .fl-wire-glow {
  stroke: rgba(113, 133, 255, 0.4);
}

.fl-wire.is-live:not(.is-routed) .fl-wire-glow {
  stroke: rgba(236, 231, 245, 0.08);
}

.fl-wire-pulse-halo {
  fill: rgba(113, 133, 255, 0.35);
}

.fl-wire-pulse-core {
  fill: #ece7f5;
}

.fl-wire.is-routed .fl-wire-pulse-core {
  fill: #d2d9ff;
}

.fl-wire.is-new .fl-wire-line {
  stroke-dasharray: 1;
  animation: fl-draw 0.75s cubic-bezier(0.3, 0.7, 0.2, 1) both;
}

@keyframes fl-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ── Au clavier ────────────────────────────────────────────────────────────── */

.fl-keyboard {
  text-align: center;
}

.fl-keys {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  margin: 64px auto 0;
  padding: 10px 18px 24px;
  border-radius: 28px;
}

.fl-keys::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 12%;
  right: 12%;
  bottom: -6px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(113, 133, 255, 0.55), transparent);
  filter: blur(14px);
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.fl-keys[data-active="true"]::before {
  opacity: 1;
}

.fl-keys:focus-visible {
  outline-offset: 6px;
}

.fl-key {
  --s: clamp(78px, 9.5vw, 108px);
  --depth: calc(var(--s) * 0.075);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: var(--s);
  height: var(--s);
  padding: calc(var(--s) * 0.13) calc(var(--s) * 0.14);
  border-radius: calc(var(--s) * 0.19);
  color: var(--fl-text);
  background: linear-gradient(180deg, #2e2443 0%, #211a33 55%, #1a1429 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -2px 3px rgba(0, 0, 0, 0.35),
    0 1px 0 #0d0818,
    0 var(--depth) 0 #0a0613,
    0 calc(var(--depth) + 1px) 0 rgba(236, 231, 245, 0.07),
    0 calc(var(--s) * 0.24) calc(var(--s) * 0.32) rgba(0, 0, 0, 0.6);
  transform: translateY(0);
  transition:
    transform 0.09s ease,
    box-shadow 0.09s ease;
}

.fl-key[data-down="true"],
.fl-keys:active .fl-key {
  transform: translateY(calc(var(--depth) * 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(113, 133, 255, 0.25),
    inset 0 -2px 3px rgba(0, 0, 0, 0.35),
    0 1px 0 #0d0818,
    0 calc(var(--depth) * 0.3) 0 #0a0613,
    0 0 calc(var(--s) * 0.45) rgba(113, 133, 255, 0.4),
    0 calc(var(--s) * 0.1) calc(var(--s) * 0.2) rgba(0, 0, 0, 0.55);
}

.fl-key-sym {
  font-family: var(--fl-display);
  font-size: calc(var(--s) * 0.27);
  line-height: 1;
}

.fl-key-word {
  align-self: flex-start;
  font-size: calc(var(--s) * 0.14);
  line-height: 1;
  color: var(--fl-text-2);
}

.fl-key--letter {
  align-items: center;
  justify-content: center;
}

.fl-key--letter .fl-key-sym {
  font-size: calc(var(--s) * 0.36);
  font-weight: 500;
}

.fl-keys-plus {
  font-size: 22px;
  color: var(--fl-text-3);
}

.fl-keys-hint {
  margin-top: 26px;
  font-size: 15px;
  color: var(--fl-text-2);
}

.fl-only-touch {
  display: none;
}

@media (hover: none) {
  .fl-only-fine {
    display: none;
  }
  .fl-only-touch {
    display: inline;
  }
}

.fl-gestures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 28px;
  width: min(820px, 100%);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--fl-line);
  text-align: left;
  font-size: 15px;
  color: var(--fl-text-2);
}

.fl-gestures li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fl-gesture-keys {
  display: inline-flex;
  gap: 4px;
  min-width: 48px;
}

.fl-kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-family: var(--fl-font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--fl-text);
  background: linear-gradient(180deg, #2a2140, #1d1630);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 1px 0 #0a0613,
    0 2px 0 #0a0613;
}

/* ── HUD ───────────────────────────────────────────────────────────────────── */

.fl-hud-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
}

.fl-hud-layer[data-mode="keys"] {
  pointer-events: none;
}

.fl-hud {
  --u: 1px;
  pointer-events: auto;
  max-width: 100%;
  overflow-x: auto;
  padding: 18px 14px 12px;
  border-radius: 26px;
  color: var(--fl-mx-text);
  text-align: left;
  background: rgba(30, 21, 46, 0.66);
  -webkit-backdrop-filter: blur(34px) saturate(1.8);
  backdrop-filter: blur(34px) saturate(1.8);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.5),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.14),
    0 30px 90px rgba(0, 0, 0, 0.6);
  animation: fl-hud-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

@keyframes fl-hud-in {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.97);
  }
}

.fl-hud-cols {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.fl-hud-sep {
  flex: none;
  width: 1px;
  margin: 10px 6px;
  background: var(--fl-mx-line);
}

.fl-hud-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: none;
  width: 104px;
  padding: 10px 8px;
  border-radius: 12px;
  transition: opacity 0.18s ease;
}

.fl-hud-col.is-selected {
  background: rgba(113, 133, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(113, 133, 255, 0.65);
}

.fl-hud-col.is-dim {
  opacity: 0.6;
}

.fl-hud-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
}

.fl-hud-name {
  display: -webkit-box;
  height: 32px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fl-hud-out {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.fl-hud-principal {
  font-size: 10px;
  color: var(--fl-accent-2);
}

.fl-hud-pct {
  height: 18px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fl-mx-2);
}

.fl-hud-pct.is-dim {
  color: var(--fl-mx-3);
}

.fl-hud-pct.is-boost {
  color: var(--fl-accent-2);
}

.fl-hud-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--fl-mx-line);
  font-size: 12px;
  color: var(--fl-mx-2);
}

.fl-hud-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fl-hud-legend .fl-kbd {
  height: 19px;
  min-width: 19px;
  font-size: 11px;
}

.fl-hud-close button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fl-mx-text);
}

/* ── Une ligne, tout le contrôle ───────────────────────────────────────────── */

.fl-anat {
  --anat-lines: 1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 56px;
  width: min(1120px, 100%);
  margin: 72px auto 0;
}

.fl-anat-lines {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.fl-anat-lines line {
  stroke: rgba(236, 231, 245, 0.28);
  stroke-width: 1;
}

.fl-anat-lines circle {
  fill: var(--fl-accent);
  stroke: var(--fl-bg);
  stroke-width: 2;
}

.fl-anat-notes {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fl-anat-notes--left {
  align-items: flex-end;
  text-align: right;
}

.fl-note {
  max-width: 15.5em;
}

.fl-note-title {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.fl-note p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fl-text-2);
}

.fl-anat-stage {
  --u: 1.5px;
  position: relative;
  z-index: 1;
}

.fl-anat-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30% -20%;
  background: radial-gradient(closest-side, rgba(113, 133, 255, 0.28), transparent 70%);
  filter: blur(10px);
}

.fl-anat-panel {
  width: calc(var(--u) * 300);
  padding: calc(var(--u) * 8);
  border-radius: calc(var(--u) * 20);
}

.fl-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: min(1120px, 100%);
  margin: 104px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--fl-line);
}

.fl-facts h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.fl-facts p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fl-text-2);
  text-wrap: pretty;
}

.fl-beta {
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: var(--fl-accent-2);
  background: rgba(113, 133, 255, 0.14);
}

/* ── Fin et pied de page ───────────────────────────────────────────────────── */

.fl-final {
  position: relative;
  padding: clamp(140px, 16vw, 200px) 16px 0;
  text-align: center;
}

.fl-final-title {
  font-family: var(--fl-display);
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.fl-final-stage {
  position: relative;
  height: clamp(260px, 30vw, 380px);
  margin: -24px -16px 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}

.fl-final-stage .fl-stage-light {
  bottom: 0;
}

.fl-footer {
  position: relative;
  padding: 36px 16px 56px;
  border-top: 1px solid var(--fl-line);
}

.fl-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  width: min(1060px, 100%);
  margin: 0 auto;
}

.fl-footer-brand p {
  max-width: 22em;
  margin-top: 12px;
  font-size: 14px;
  color: var(--fl-text-2);
}

.fl-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.fl-footer-links div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fl-footer-links h2 {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fl-text);
}

.fl-footer-links a {
  font-size: 14px;
  color: var(--fl-text-2);
  transition: color 0.15s ease;
}

.fl-footer-links a:hover {
  color: var(--fl-text);
}

/* ── Le seul moment orchestré : l'arrivée ──────────────────────────────────── */

@keyframes fl-arrive {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .fl-hero .fl-h1 {
    animation: fl-arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both;
  }
  .fl-hero .fl-lead {
    animation: fl-arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.17s both;
  }
  .fl-hero .fl-hero-actions {
    animation: fl-arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.29s both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fl *,
  .fl *::before,
  .fl *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .fl-glass,
  .fl-hud,
  .fl-menu,
  .fl-nav {
    background: #1f1630;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ── Écrans moyens et petits ───────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .fl-anat {
    --anat-lines: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 40px;
  }
  .fl-anat-stage {
    --u: 1.2px;
    order: -1;
  }
  .fl-anat-notes,
  .fl-anat-notes--left {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px 32px;
    width: min(640px, 100%);
    text-align: left;
  }
  .fl-anat-notes--right {
    margin-top: -16px;
  }
  .fl-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fl-menubar-extra {
    display: none;
  }
}

@media (max-width: 860px) {
  .fl-flow {
    --flow-vertical: 1;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 64px;
  }
  .fl-flow-col {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .fl-flow-col--apps,
  .fl-flow-col--devs {
    align-items: stretch;
  }
  .fl-flow-app,
  .fl-flow-dev {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 104px;
    padding: 12px 6px;
    text-align: center;
  }
  .fl-flow-app-text,
  .fl-flow-dev-text {
    align-items: center;
  }
  .fl-flow-app-name,
  .fl-flow-dev-name {
    font-size: 13px;
  }
  .fl-flow-app-dest {
    font-size: 11.5px;
  }
  .fl-flow-dev .fl-meter {
    display: none;
  }
  .fl-flow-hub-label {
    display: none;
  }
  .fl-flow-dev-sub {
    justify-content: center;
  }
  .fl-gestures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .fl-nav-hide-sm {
    display: none;
  }
  .fl-hero {
    padding-top: 128px;
  }
  .fl-lead {
    margin-top: 20px;
  }
  .fl-mac {
    margin-top: -90px;
    padding: 0 12px;
  }
  .fl-display {
    padding: 7px;
    border-radius: 24px;
  }
  .fl-screen {
    height: 640px;
    border-radius: 17px;
  }
  .fl-menubar {
    padding: 0 6px 0 14px;
  }
  .fl-menubar-left span {
    display: none;
  }
  .fl-status--wide {
    display: none;
  }
  .fl-clock {
    min-width: 0;
  }
  .fl-popover {
    right: 50%;
    margin-right: calc(var(--u) * -150);
    transform-origin: 50% 0;
  }
  .fl-popover[data-open="false"] {
    transform: translateY(-6px) scale(0.98);
  }
  .fl-anat-stage {
    --u: 1.05px;
  }
  /* Légendes et atouts : de petites cartes sur deux colonnes, plutôt qu'une longue
     colonne étroite collée à gauche. */
  .fl-anat {
    gap: 32px;
  }
  .fl-anat-notes,
  .fl-anat-notes--left {
    gap: 10px;
  }
  .fl-anat-notes--right {
    margin-top: -22px;
  }
  .fl-anat-notes .fl-note:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .fl-note,
  .fl-facts li {
    max-width: none;
    padding: 14px 14px 15px;
    border: 1px solid var(--fl-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
  }
  .fl-note-title,
  .fl-facts h3 {
    font-size: 15px;
  }
  .fl-note p,
  .fl-facts p {
    font-size: 14px;
  }
  .fl-facts {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 0;
    border-top: 0;
  }
  /* Les touches du HUD : une liste courte, centrée sous le clavier. */
  .fl-gestures {
    grid-template-columns: 1fr;
    width: fit-content;
    max-width: 100%;
    padding-inline: 4px;
  }
  .fl-footer-links {
    gap: 32px 48px;
  }
}

@media (max-width: 380px) {
  /* Trois cartes par ligne, sinon les fils du schéma traversent la carte qui passe dessous. */
  .fl-flow-col {
    gap: 8px;
  }
  .fl-flow-app,
  .fl-flow-dev {
    width: 96px;
  }
  .fl-anat-stage {
    --u: 0.98px;
  }
  .fl-mixer {
    --u: 0.98px;
  }
}

/* ── Pages intérieures ─────────────────────────────────────────────────────── */

.fl-pagehead {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(88px, 11vw, 140px) 16px 0;
  text-align: center;
}

.fl-page-title {
  font-family: var(--fl-display);
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.fl-page-lead {
  max-width: 34em;
  margin: 22px auto 0;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--fl-text-2);
  text-wrap: pretty;
}

.fl-page-lead a,
.fl-tip a,
.fl-prose a,
.fl-empty a {
  color: var(--fl-accent-2);
  text-decoration: underline;
  text-decoration-color: rgba(167, 179, 255, 0.4);
  text-underline-offset: 3px;
}

.fl-page-lead a:hover,
.fl-tip a:hover,
.fl-prose a:hover,
.fl-empty a:hover {
  text-decoration-color: currentColor;
}

.fl-page-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 0 16px;
}

.fl-pagebody {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 72px 16px 0;
}

.fl-pagebody--wide {
  width: min(1060px, 100%);
}

.fl-pagecta {
  margin-top: clamp(110px, 13vw, 160px);
  padding: 72px 16px 120px;
  border-top: 1px solid var(--fl-line);
  text-align: center;
  background: radial-gradient(60% 120% at 50% 0%, rgba(113, 133, 255, 0.12), transparent 70%);
}

.fl-pagecta-title {
  font-family: var(--fl-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.fl-pagecta .fl-hero-actions {
  margin-top: 30px;
}

/* Fonctionnalités : un thème à gauche, ses fonctions à droite. */
.fl-group {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px 48px;
  padding: 36px 0;
  border-top: 1px solid var(--fl-line);
}

.fl-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.fl-group-title {
  font-family: var(--fl-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fl-group-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}

.fl-group-items h3,
.fl-steps h2,
.fl-note-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.fl-group-items p,
.fl-steps p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fl-text-2);
  text-wrap: pretty;
}

/* FAQ. */
.fl-faq {
  border-top: 1px solid var(--fl-line);
}

.fl-qa {
  border-bottom: 1px solid var(--fl-line);
}

.fl-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}

.fl-qa summary::-webkit-details-marker {
  display: none;
}

.fl-qa summary:hover {
  color: #fff;
}

.fl-qa summary svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--fl-text-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform 0.2s ease;
}

.fl-qa[open] summary svg {
  transform: rotate(45deg);
}

.fl-qa p {
  max-width: 40em;
  padding: 0 4px 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fl-text-2);
  text-wrap: pretty;
}

/* Installation. */
.fl-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fl-steps li {
  display: flex;
  gap: 18px;
}

.fl-step-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fl-text);
  background: linear-gradient(180deg, #2a2140, #1d1630);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 1px 0 #0a0613,
    0 2px 0 #0a0613;
}

.fl-note-card {
  margin-top: 56px;
  padding: 26px 28px;
  border-radius: 20px;
  background: var(--fl-ink);
  border: 1px solid var(--fl-line);
}

.fl-note-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fl-text-2);
}

.fl-tip {
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fl-text-2);
}

/* Nouveautés. */
.fl-releases {
  display: flex;
  flex-direction: column;
}

.fl-releases > li {
  padding: 36px 0;
  border-top: 1px solid var(--fl-line);
}

.fl-releases > li:first-child {
  border-top: 0;
  padding-top: 0;
}

.fl-release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 14px;
}

.fl-release-head h2 {
  font-family: var(--fl-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fl-release-head time {
  font-size: 14px;
  color: var(--fl-text-2);
}

.fl-empty {
  text-align: center;
  color: var(--fl-text-2);
}

/* Texte courant (notes de version, pages légales). */
.fl-prose {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fl-text-2);
  text-wrap: pretty;
}

.fl-prose > * + *,
.fl-prose section + section {
  margin-top: 14px;
}

.fl-prose--legal section + section {
  margin-top: 36px;
}

.fl-prose h1,
.fl-prose h2,
.fl-prose h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--fl-text);
}

.fl-prose ul,
.fl-prose ol {
  padding-left: 20px;
}

.fl-prose ul {
  list-style: disc;
}

.fl-prose ol {
  list-style: decimal;
}

.fl-prose li + li {
  margin-top: 6px;
}

.fl-prose li::marker {
  color: var(--fl-text-3);
}

.fl-prose strong {
  font-weight: 600;
  color: var(--fl-text);
}

.fl-prose p + p {
  margin-top: 10px;
}

.fl-legal-date {
  font-size: 15px;
}

.fl-warning {
  margin-bottom: 32px;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 14px;
  color: #ffd9a8;
  background: rgba(255, 170, 60, 0.08);
  border: 1px solid rgba(255, 170, 60, 0.35);
}

.fl-nav-links > a[aria-current="page"] {
  color: var(--fl-text);
}

@media (max-width: 860px) {
  .fl-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fl-group-items {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .fl-note-card {
    padding: 22px;
  }
}

/* Une page qui se termine sans appel à télécharger garde de l'air avant le pied de page. */
.fl-page > .fl-pagebody:last-child,
.fl-page > .fl-page-actions:last-child {
  padding-bottom: clamp(96px, 12vw, 150px);
}

/* ── Nouveautés (journal des versions) ─────────────────────────────────────── */

.fl-log-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 100%);
  height: 42px;
  margin: 0 0 56px auto;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--fl-ink);
  border: 1px solid var(--fl-line);
  color: var(--fl-text-2);
}

.fl-log-search:focus-within {
  border-color: rgba(113, 133, 255, 0.55);
}

.fl-log-search svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.fl-log-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fl-text);
  font: inherit;
  font-size: 15px;
}

.fl-log-search input::placeholder {
  color: var(--fl-text-3);
}

.fl-log-list {
  display: flex;
  flex-direction: column;
}

.fl-log {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px 48px;
  padding: 48px 0;
  border-top: 1px solid var(--fl-line);
  scroll-margin-top: 90px;
}

.fl-log:first-child {
  padding-top: 0;
  border-top: 0;
}

.fl-log-meta {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--fl-text-2);
}

.fl-log-meta time {
  color: var(--fl-text);
  font-weight: 500;
}

.fl-log-body {
  max-width: 660px;
}

.fl-log-tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--fl-text-2);
  background: rgba(236, 231, 245, 0.07);
}

.fl-log-tag.is-latest {
  color: var(--fl-accent-2);
  background: rgba(113, 133, 255, 0.16);
}

.fl-log-title {
  margin-top: 14px;
  font-family: var(--fl-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.fl-log-cover {
  position: relative;
  overflow: hidden;
  height: 230px;
  margin-top: 24px;
  border-radius: 20px;
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(113, 133, 255, 0.2), transparent 70%), #110a1e;
  border: 1px solid var(--fl-line);
}

.fl-log-cover .fl-log-cover-light {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.fl-log-cover-version {
  position: absolute;
  left: 26px;
  top: 22px;
  font-family: var(--fl-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fl-text);
}

.fl-log-intro {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fl-text);
  text-wrap: pretty;
}

.fl-log-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.fl-log-items li {
  display: flex;
  gap: 14px;
}

.fl-log-items h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fl-text);
}

.fl-log-items p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fl-text-2);
  text-wrap: pretty;
}

/* Anciennes versions : une simple liste à puces. */
.fl-log-items:not(.is-told) {
  gap: 10px;
  padding-left: 18px;
  list-style: disc;
}

.fl-log-items:not(.is-told) li {
  display: list-item;
}

.fl-log-items:not(.is-told) li::marker {
  color: var(--fl-text-3);
}

.fl-log-items:not(.is-told) p {
  margin-top: 0;
}

/* La petite poignée lumineuse devant chaque nouveauté. */
.fl-log-knob {
  flex: none;
  width: 16px;
  height: 7px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--fl-text);
  box-shadow: 0 0 12px rgba(113, 133, 255, 0.8);
}

.fl-log-foot {
  margin-top: 26px;
}

.fl-log-foot button {
  font-size: 13px;
  color: var(--fl-text-3);
  transition: color 0.15s ease;
}

.fl-log-foot button:hover {
  color: var(--fl-text);
}

@media (max-width: 760px) {
  .fl-log {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fl-log-meta {
    position: static;
    flex-direction: row;
    gap: 10px;
  }
  .fl-log-search {
    margin-left: 0;
  }
  .fl-log-cover {
    height: 180px;
  }
}

/* Très petits iPhone (320 px) : le schéma et le clavier tiennent sur la largeur. */
@media (max-width: 340px) {
  .fl-flow-col {
    gap: 6px;
  }
  .fl-flow-app,
  .fl-flow-dev {
    width: 88px;
  }
  .fl-keys {
    padding-inline: 8px;
  }
  .fl-key {
    --s: 70px;
  }
}

/* ── Langue ────────────────────────────────────────────────────────────────── */

/* Sélecteur de la nav : deux lettres, plus discret que les liens de section. */
.fl-nav-links > a.fl-nav-lang {
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.fl-footer-brand .fl-footer-lang {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  font-size: 13px;
}

.fl-footer-lang a {
  color: var(--fl-text-2);
}

.fl-footer-lang a:hover {
  color: var(--fl-text);
}

.fl-footer-lang [aria-current] {
  color: var(--fl-text);
}
