@font-face {
  font-family: Inter;
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Space Grotesk;
  src: url("fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: JetBrains Mono;
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-titre: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --accent: #e8590c;
  --accent-rgb: 232, 89, 12;
  --accent-2: #7c5cff;
  --accent-2-rgb: 124, 92, 255;
  --accent-3: #14b8a6;
  --accent-3-rgb: 20, 184, 166;
  --ok: #2fbf71;
  --ok-rgb: 47, 191, 113;
  --warn: #f5a524;
  --warn-rgb: 245, 165, 36;
  --danger: #ff4d4f;
  --danger-rgb: 255, 77, 79;
  --rec: #ff3b30;
  --rec-rgb: 255, 59, 48;
  --r-s: 9px;
  --r-m: 14px;
  --r-l: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --rebond: cubic-bezier(.34, 1.56, .64, 1);
  --sidebar: 244px;
  --c0: #ff8a4c;
  --c0-rgb: 255, 138, 76;
  --c1: #7c9cff;
  --c1-rgb: 124, 156, 255;
  --c2: #3ddc97;
  --c2-rgb: 61, 220, 151;
  --c3: #ff6b9a;
  --c3-rgb: 255, 107, 154;
  --c4: #ffd24c;
  --c4-rgb: 255, 210, 76;
  --c5: #b48cff;
  --c5-rgb: 180, 140, 255;
  --c6: #4cd6ff;
  --c6-rgb: 76, 214, 255;
  --c7: #ff9f43;
  --c7-rgb: 255, 159, 67;
  --c8: #9be15d;
  --c8-rgb: 155, 225, 93;
  --c9: #f97ff0;
  --c9-rgb: 249, 127, 240;
}

html[data-mode="dark"] {
  --bg: #090b10;
  --bg-rgb: 9, 11, 16;
  --bg-2: #0e1117;
  --bg-2-rgb: 14, 17, 23;
  --surface: #13171f;
  --surface-rgb: 19, 23, 31;
  --surface-2: #191e28;
  --surface-2-rgb: 25, 30, 40;
  --surface-3: #212734;
  --surface-3-rgb: 33, 39, 52;
  --text: #eef1f6;
  --text-rgb: 238, 241, 246;
  --muted: #9aa3b5;
  --muted-rgb: 154, 163, 181;
  --faint: #687083;
  --faint-rgb: 104, 112, 131;
  --border: #232a37;
  --border-rgb: 35, 42, 55;
  --border-strong: #333b4d;
  --border-strong-rgb: 51, 59, 77;
  --shadow: 0 1px 0 #ffffff0a inset, 0 14px 36px -16px #000000bf;
  --shadow-hover: 0 1px 0 #ffffff0f inset, 0 26px 50px -18px #000000d9;
  --field: #0d1016;
  --field-rgb: 13, 16, 22;
  --accent-text: #ffb183;
  --accent-text-rgb: 255, 177, 131;
  --verre: #13171fb8;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

html[data-mode="light"] {
  --bg: #f4f1ea;
  --bg-rgb: 244, 241, 234;
  --bg-2: #ece8de;
  --bg-2-rgb: 236, 232, 222;
  --surface: #fff;
  --surface-rgb: 255, 255, 255;
  --surface-2: #faf8f3;
  --surface-2-rgb: 250, 248, 243;
  --surface-3: #f1ede4;
  --surface-3-rgb: 241, 237, 228;
  --text: #14161b;
  --text-rgb: 20, 22, 27;
  --muted: #596070;
  --muted-rgb: 89, 96, 112;
  --faint: #868c99;
  --faint-rgb: 134, 140, 153;
  --border: #e5e0d4;
  --border-rgb: 229, 224, 212;
  --border-strong: #d0c9b9;
  --border-strong-rgb: 208, 201, 185;
  --shadow: 0 1px 2px #1e190a0f, 0 12px 30px -16px #1e190a40;
  --shadow-hover: 0 2px 4px #1e190a12, 0 22px 44px -18px #1e190a59;
  --field: #fbfaf7;
  --field-rgb: 251, 250, 247;
  --accent-text: #b8430a;
  --accent-text-rgb: 184, 67, 10;
  --verre: #ffffffc7;
  --c0: #e8590c;
  --c0-rgb: 232, 89, 12;
  --c1: #3b5bdb;
  --c1-rgb: 59, 91, 219;
  --c2: #0f9f6e;
  --c2-rgb: 15, 159, 110;
  --c3: #d6336c;
  --c3-rgb: 214, 51, 108;
  --c4: #c78a00;
  --c4-rgb: 199, 138, 0;
  --c5: #7048e8;
  --c5-rgb: 112, 72, 232;
  --c6: #0c8599;
  --c6-rgb: 12, 133, 153;
  --c7: #d9480f;
  --c7-rgb: 217, 72, 15;
  --c8: #5c940d;
  --c8-rgb: 92, 148, 13;
  --c9: #ae3ec9;
  --c9-rgb: 174, 62, 201;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

*, :before, :after {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

body:before {
  content: "";
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(900px 520px at 88% -8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%),
    radial-gradient(800px 520px at -8% 108%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 60%),
    radial-gradient(600px 400px at 50% 50%, color-mix(in srgb, var(--accent-3) 4%, transparent), transparent 70%);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

svg.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  width: 20px;
  height: 20px;
}

svg.i.s {
  width: 16px;
  height: 16px;
}

svg.i.l {
  width: 28px;
  height: 28px;
}

svg.i.xl {
  width: 40px;
  height: 40px;
}

svg.i .plein {
  fill: currentColor;
  stroke: none;
}

a {
  color: var(--accent-text);
}

h1, h2, h3 {
  font-family: var(--font-titre);
  letter-spacing: -.015em;
  margin: 0;
}

h1 {
  font-size: 28px;
  font-weight: 650;
}

h2 {
  font-size: 18px;
  font-weight: 650;
}

h3 {
  font-size: 15px;
  font-weight: 650;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

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

.small {
  font-size: 13px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: rgba(var(--accent-rgb), 0.35);
  background: color-mix(in srgb, var(--accent) 35%, transparent);
}

[hidden] {
  display: none !important;
}

.shell {
  grid-template-columns: var(--sidebar) 1fr;
  min-height: 100vh;
  display: grid;
}

.side {
  border-right: 1px solid var(--border);
  background: rgba(var(--bg-2-rgb), 0.82);
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  z-index: 20;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  padding: 22px 14px;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.brand {
  color: inherit;
  align-items: center;
  gap: 12px;
  padding: 2px 8px 6px;
  text-decoration: none;
  display: flex;
}

.brand-logo {
  background: #fff;
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.brand-logo img {
  width: 34px;
  height: 34px;
}

.brand-logo:after {
  content: "";
  background: var(--accent);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  bottom: 3px;
  right: 3px;
  box-shadow: 0 0 0 2px #fff;
}

.brand b {
  font-family: var(--font-titre);
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.15;
  display: block;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.nav a {
  border-radius: var(--r-s);
  color: var(--muted);
  transition: background .2s, color .2s, transform .25s var(--ease);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-weight: 550;
  text-decoration: none;
  display: flex;
  position: relative;
}

.nav a:hover {
  background: var(--surface-2);
  color: var(--text);
  transform: translateX(3px);
}

.nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.nav a[aria-current="page"]:before {
  content: "";
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  width: 3px;
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -14px;
}

.nav a[aria-current="page"] svg {
  color: var(--accent);
}

.nav .compteur {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  place-items: center;
  min-width: 22px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  animation: 2s ease-in-out infinite pouls;
  display: grid;
}

.nav .l-court {
  display: none;
}

.side-foot {
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  display: flex;
}

.moteur-chip {
  border-radius: var(--r-m);
  background: var(--surface-2);
  border: 1px solid var(--border);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  display: flex;
}

.moteur-chip b {
  font-size: 13px;
  display: block;
}

.moteur-chip span {
  color: var(--muted);
}

.led {
  background: var(--ok);
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 3px rgba(var(--ok-rgb), 0.22);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
  border-radius: 50%;
  flex: none;
}

.led.off {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(var(--danger-rgb), 0.22);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent);
}

.led.busy {
  background: var(--warn);
  animation: 1.2s ease-in-out infinite pouls;
}

.modes {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  gap: 4px;
  padding: 4px;
  display: flex;
}

.modes button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 999px;
  flex: 1;
  place-items: center;
  padding: 6px;
  display: grid;
}

.modes button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.moi {
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 10px;
  padding: 10px 6px 0;
  display: flex;
}

.moi > div {
  flex: 1;
  min-width: 0;
}

.moi b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  display: block;
  overflow: hidden;
}

.moi span:not(.avatar) {
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  width: 34px;
  height: 34px;
  font: 700 13px var(--font-titre);
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.avatar.l {
  width: 48px;
  height: 48px;
  font-size: 17px;
}

.main {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.top {
  z-index: 15;
  background: rgba(var(--bg-rgb), 0.78);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(var(--border-rgb), 0.7);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.top h1 {
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 22px;
  overflow: hidden;
}

.top .spacer {
  flex: 1;
}

.content {
  width: 100%;
  max-width: 1480px;
  padding: 26px 30px 120px;
}

.vue-entree {
  animation: entree .45s var(--ease) both;
}

@keyframes entree {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.stagger > * {
  animation: entree .5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  display: grid;
}

.c-12 {
  grid-column: span 12;
}

.c-8 {
  grid-column: span 8;
}

.c-7 {
  grid-column: span 7;
}

.c-6 {
  grid-column: span 6;
}

.c-5 {
  grid-column: span 5;
}

.c-4 {
  grid-column: span 4;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
  min-width: 0;
  padding: 22px;
  position: relative;
}

.card-head {
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  display: flex;
}

.card-head h2 {
  flex: 1;
  min-width: 0;
}

.card-sub {
  color: var(--muted);
  margin: -6px 0 16px;
  font-size: 14px;
}

.ico {
  background: rgba(var(--accent-rgb), 0.14);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  width: 38px;
  height: 38px;
  color: var(--accent);
  border-radius: 12px;
  flex: none;
  place-items: center;
  display: grid;
}

.ico.v {
  background: rgba(var(--accent-2-rgb), 0.16);
  background: color-mix(in srgb, var(--accent-2) 16%, transparent);
  color: var(--accent-2);
}

.ico.t {
  background: rgba(var(--accent-3-rgb), 0.16);
  background: color-mix(in srgb, var(--accent-3) 16%, transparent);
  color: var(--accent-3);
}

.btn {
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font: 600 14px var(--font);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-flex;
}

.btn:hover {
  border-color: var(--faint);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(.97);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent));
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent-2)));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), 0.7);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
  border-color: #0000;
}

.btn.primary:hover {
  box-shadow: 0 14px 30px -10px rgba(var(--accent-rgb), 0.8);
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}

.btn.ghost {
  color: var(--muted);
  background: none;
  border-color: #0000;
}

.btn.ghost:hover {
  color: var(--text);
  background: var(--surface-2);
}

.btn.danger {
  color: var(--danger);
}

.btn.small {
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 13px;
}

.btn[disabled] {
  opacity: .45;
  pointer-events: none;
}

.icon-btn {
  width: 36px;
  height: 36px;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s var(--ease);
  background: none;
  border: 1px solid #0000;
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}

.icon-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.icon-btn:active {
  transform: scale(.92);
}

.icon-btn[aria-pressed="true"] {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.icon-btn[disabled] {
  opacity: .35;
  pointer-events: none;
}

.btn-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.field {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin-bottom: 14px;
  display: flex;
}

.field label, .lbl {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.field small {
  color: var(--faint);
  font-size: 12.5px;
}

.input {
  border: 1px solid var(--border-strong);
  background: var(--field);
  width: 100%;
  color: var(--text);
  font: 15px var(--font);
  border-radius: 12px;
  padding: 11px 13px;
  transition: border-color .2s, box-shadow .2s;
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
  outline: none;
}

textarea.input {
  resize: vertical;
  min-height: 74px;
  line-height: 1.5;
}

select.input {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 36px;
}

.input-wrap {
  position: relative;
}

.input-wrap .input {
  padding-right: 44px;
}

.input-wrap .peek {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
}

.recherche {
  flex: 1;
  min-width: 180px;
  max-width: 460px;
  position: relative;
}

.recherche svg {
  color: var(--faint);
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
}

.recherche .input {
  border-radius: 999px;
  padding-left: 40px;
}

.switch {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  display: flex;
}

.switch + .switch {
  border-top: 1px solid var(--border);
}

.switch > div {
  flex: 1;
  min-width: 0;
}

.switch b {
  font-size: 14.5px;
  display: block;
}

.switch span:not(.tog) {
  color: var(--muted);
  font-size: 13px;
}

.tog {
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  flex: none;
  width: 46px;
  height: 26px;
  transition: background .25s;
  position: relative;
}

.tog:after {
  content: "";
  width: 20px;
  height: 20px;
  transition: transform .35s var(--rebond);
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 2px 6px #0000004d;
}

.switch[aria-checked="true"] .tog {
  background: var(--accent);
  border-color: #0000;
}

.switch[aria-checked="true"] .tog:after {
  transform: translateX(20px);
}

.chips {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.chip {
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--muted);
  font: 600 13px var(--font);
  cursor: pointer;
  transition: all .2s var(--ease);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  display: inline-flex;
}

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

.chip[aria-pressed="true"] {
  background: rgba(var(--accent-rgb), 0.16);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-color: var(--accent);
  color: var(--text);
}

.badge {
  background: var(--surface-3);
  color: var(--muted);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
}

.badge svg {
  width: 13px;
  height: 13px;
}

.badge.accent {
  background: rgba(var(--accent-rgb), 0.16);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-text);
}

.badge.v {
  background: rgba(var(--accent-2-rgb), 0.18);
  background: color-mix(in srgb, var(--accent-2) 18%, transparent);
  color: var(--accent-2);
  color: color-mix(in srgb, var(--accent-2) 75%, var(--text));
}

.badge.t {
  background: rgba(var(--accent-3-rgb), 0.18);
  background: color-mix(in srgb, var(--accent-3) 18%, transparent);
  color: var(--accent-3);
  color: color-mix(in srgb, var(--accent-3) 70%, var(--text));
}

.badge.ok {
  background: rgba(var(--ok-rgb), 0.16);
  background: color-mix(in srgb, var(--ok) 16%, transparent);
  color: var(--ok);
}

.badge.bad {
  background: rgba(var(--danger-rgb), 0.16);
  background: color-mix(in srgb, var(--danger) 16%, transparent);
  color: var(--danger);
}

.badge.warn {
  background: rgba(var(--warn-rgb), 0.18);
  background: color-mix(in srgb, var(--warn) 18%, transparent);
  color: var(--warn);
}

.empty {
  text-align: center;
  color: var(--muted);
  place-items: center;
  gap: 10px;
  padding: 40px 16px;
  display: grid;
}

.empty svg {
  width: 44px;
  height: 44px;
  color: var(--faint);
}

.note {
  background: rgba(var(--warn-rgb), 0.12);
  background: color-mix(in srgb, var(--warn) 12%, transparent);
  color: var(--text);
  border-radius: 12px;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  display: flex;
}

.note svg {
  color: var(--warn);
  margin-top: 1px;
}

.note.bad {
  background: rgba(var(--danger-rgb), 0.12);
  background: color-mix(in srgb, var(--danger) 12%, transparent);
}

.note.bad svg {
  color: var(--danger);
}

.cols-2 {
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  display: grid;
}

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

.row {
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 2px;
  display: flex;
}

.row:first-child {
  border-top: 0;
}

.row .grow {
  flex: 1;
  min-width: 0;
}

.row .t {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  overflow: hidden;
}

.jauge {
  background: var(--surface-3);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.jauge i {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  height: 100%;
  transition: width .6s var(--ease);
  display: block;
}

.menu {
  z-index: 60;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  min-width: 220px;
  animation: menu .2s var(--ease);
  border-radius: 14px;
  padding: 6px;
  position: fixed;
  box-shadow: 0 24px 60px -20px #0009;
}

@keyframes menu {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(.97);
  }
}

.menu button {
  width: 100%;
  color: var(--text);
  font: 550 14px var(--font);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  display: flex;
}

.menu button:hover {
  background: var(--surface-2);
}

.menu hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 6px 4px;
}

.menu .lbl {
  padding: 6px 10px 2px;
  display: block;
}

.fab {
  z-index: 30;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px -10px rgba(var(--accent-rgb), 0.8);
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent);
  font: 600 13px var(--font);
  animation: monte .3s var(--rebond);
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  display: none;
  position: fixed;
  bottom: 24px;
  right: 18px;
}

.fab.visible {
  display: flex;
}

.mdp-provisoire {
  text-align: center;
  letter-spacing: .08em;
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  -webkit-user-select: all;
  user-select: all;
  border-radius: 14px;
  margin: 4px 0 18px;
  padding: 16px;
  font-size: 24px;
}

.cpt-row .cpt-badges {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  display: flex;
}

.cpt-row.inactif .grow, .cpt-row.inactif .avatar {
  opacity: .5;
}

select.input.cpt-role {
  width: auto;
  min-width: 160px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.raccourcis {
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 14px;
  display: grid;
}

kbd {
  font: 600 12px var(--font-mono);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 7px;
}

.login {
  place-items: center;
  min-height: 100vh;
  padding: 20px;
  display: grid;
}

.login-card {
  text-align: center;
  width: min(420px, 100%);
  padding: 34px 30px;
}

.login-card img {
  background: #fff;
  border-radius: 16px;
  width: 64px;
  height: 64px;
  padding: 6px;
}

.login-card h1 {
  margin: 14px 0 4px;
}

.login-card > p {
  color: var(--muted);
  margin: 0 0 22px;
}

.login-card form {
  text-align: left;
}

.login-card .onde-deco {
  opacity: .35;
  height: 70px;
}

.modal-bg {
  z-index: 80;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #05060999;
  place-items: center;
  padding: 18px;
  animation: .2s fondu;
  display: grid;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

@keyframes fondu {
  from {
    opacity: 0;
  }
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-l);
  width: min(480px, 100%);
  animation: monte .35s var(--rebond);
  padding: 24px;
  box-shadow: 0 30px 80px -20px #000000b3;
}

@keyframes monte {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97);
  }
}

.modal h2 {
  margin-bottom: 8px;
}

.modal p {
  color: var(--muted);
  margin: 0 0 18px;
}

.modal .btn-row {
  justify-content: flex-end;
  margin-top: 6px;
}

.toasts {
  z-index: 90;
  pointer-events: none;
  flex-direction: column;
  gap: 10px;
  max-width: min(420px, 100vw - 40px);
  display: flex;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.toast {
  pointer-events: auto;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  animation: monte .35s var(--rebond);
  border-radius: 14px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  display: flex;
  box-shadow: 0 18px 40px -14px #0009;
}

.toast.ok svg {
  color: var(--ok);
}

.toast.bad svg {
  color: var(--danger);
}

.toast.out {
  opacity: 0;
  transition: all .3s;
  transform: translateY(8px);
}

@keyframes pouls {
  50% {
    opacity: .45;
  }
}

.celebre {
  pointer-events: none;
  z-index: 95;
  width: 8px;
  height: 8px;
  animation: eclat 1s var(--ease) forwards;
  border-radius: 2px;
  position: fixed;
}

@keyframes eclat {
  to {
    transform: translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 0;
  }
}

:root {
  --piste-voix: #ff6b9a;
  --piste-voix-rgb: 255, 107, 154;
  --piste-batterie: #ff8a4c;
  --piste-batterie-rgb: 255, 138, 76;
  --piste-basse: #9b7bff;
  --piste-basse-rgb: 155, 123, 255;
  --piste-melodie: #2ed3b7;
  --piste-melodie-rgb: 46, 211, 183;
  --piste-autre: #ffd24c;
  --piste-autre-rgb: 255, 210, 76;
  --piste-guitare: #8bd450;
  --piste-guitare-rgb: 139, 212, 80;
  --piste-piano: #4c9bff;
  --piste-piano-rgb: 76, 155, 255;
  --piste-choeurs: #ff9ec4;
  --piste-choeurs-rgb: 255, 158, 196;
  --piste-percu: #ffb35c;
  --piste-percu-rgb: 255, 179, 92;
  --piste-synthe: #b46bff;
  --piste-synthe-rgb: 180, 107, 255;
  --piste-cordes: #e8a33d;
  --piste-cordes-rgb: 232, 163, 61;
  --piste-cuivres: #e0c341;
  --piste-cuivres-rgb: 224, 195, 65;
  --piste-bois: #7fc8a9;
  --piste-bois-rgb: 127, 200, 169;
  --piste-morceau: #8a93a6;
  --piste-morceau-rgb: 138, 147, 166;
  --sidebar: 236px;
}

.onde-deco {
  opacity: .55;
  pointer-events: none;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
  display: flex;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 15%, #000 85%, #0000);
  mask-image: linear-gradient(90deg, #0000, #000 15%, #000 85%, #0000);
  position: absolute !important;
}

.onde-deco i {
  width: 4px;
  height: calc(var(--h) * 1%);
  background: linear-gradient(to top, rgba(var(--accent-rgb), 0.6), rgba(var(--accent-2-rgb), 0.4));
  background: linear-gradient(to top, color-mix(in srgb, var(--accent) 60%, transparent), color-mix(in srgb, var(--accent-2) 40%, transparent));
  transform-origin: bottom;
  animation: 1.6s ease-in-out infinite alternate onde;
  animation-delay: calc(var(--d) * -1s);
  border-radius: 3px 3px 0 0;
}

@keyframes onde {
  from {
    transform: scaleY(.25);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes flotte {
  50% {
    transform: translateY(-7px) rotate(-2deg);
  }
}

@keyframes balaye {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes tourne {
  to {
    transform: rotate(270deg);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(.3);
  }
}

@keyframes aurore {
  0% {
    background-position: 0%;
  }

  50% {
    background-position: 100%;
  }

  100% {
    background-position: 0%;
  }
}

@keyframes eclat-bouton {
  from {
    transform: translateX(-120%) skewX(-20deg);
  }

  to {
    transform: translateX(260%) skewX(-20deg);
  }
}

@keyframes respire {
  50% {
    opacity: .75;
    transform: scale(1.06);
  }
}

.anneau {
  flex: none;
  width: 52px;
  height: 52px;
  position: relative;
}

.anneau svg {
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
}

.anneau circle {
  fill: none;
  stroke-width: 5px;
}

.anneau .fond {
  stroke: var(--surface-3);
}

.anneau .val {
  stroke: url("#degrade");
  stroke-linecap: round;
  transition: stroke-dashoffset .6s var(--ease);
}

.anneau b {
  font: 700 12.5px var(--font-mono);
  place-items: center;
  display: grid;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.anneau.indet svg {
  animation: 1.2s linear infinite tourne;
}

.brand-logo:after {
  background: var(--accent-3);
}

.top .sous-titre {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  overflow: hidden;
}

.creer {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
  align-items: start;
  gap: 22px;
  display: grid;
}

.composer {
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  box-shadow: 0 30px 80px -40px rgba(var(--accent-2-rgb), 0.7);
  box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--accent-2) 70%, transparent);
  background-size: 300% 300%;
  border-radius: 28px;
  padding: 2px;
  animation: 14s infinite aurore;
  position: relative;
}

.composer-in {
  background: var(--surface);
  border-radius: 26px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.composer-in:before {
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(var(--accent-2-rgb), 0.22), transparent 70%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%);
  border-radius: 50%;
  width: 360px;
  height: 360px;
  animation: 9s ease-in-out infinite respire;
  position: absolute;
  top: -120px;
  right: -80px;
}

.composer-in > * {
  position: relative;
}

.prompt-zone {
  background: var(--field);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}

.prompt-zone:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.16);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.prompt-zone textarea {
  resize: vertical;
  width: 100%;
  min-height: 118px;
  color: var(--text);
  font: 500 18px/1.5 var(--font);
  background: none;
  border: 0;
  padding: 16px 16px 4px;
  display: block;
}

.prompt-zone textarea:focus {
  outline: none;
}

.prompt-zone textarea::placeholder {
  color: var(--faint);
}

.prompt-outils {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 8px;
  display: flex;
}

.prompt-outils .compte {
  font: 600 12px var(--font-mono);
  color: var(--faint);
  margin-left: auto;
}

a.chip {
  text-decoration: none;
}

.choisis {
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 10px;
  display: flex;
}

.choisis button {
  cursor: pointer;
  font: 650 12.5px var(--font);
  background: rgba(var(--accent-rgb), 0.16);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-text);
  animation: pop .35s var(--rebond);
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 4px 11px;
  display: inline-flex;
}

.choisis button svg {
  opacity: .7;
  width: 14px;
  height: 14px;
}

.section-titre {
  font: 650 13px var(--font);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  align-items: center;
  gap: 8px;
  margin: 20px 0 10px;
  display: flex;
}

.section-titre .aide {
  margin-left: 2px;
}

.moteurs {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.moteur-carte {
  text-align: left;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s, background .2s;
  font: inherit;
  border-radius: 16px;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  display: flex;
}

.moteur-carte:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.moteur-carte[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--surface);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  box-shadow: 0 12px 30px -18px rgba(var(--accent-rgb), 0.8);
  box-shadow: 0 12px 30px -18px color-mix(in srgb, var(--accent) 80%, transparent);
}

.moteur-carte .mi {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}

.moteur-carte.sa .mi {
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
}

.moteur-carte b {
  font: 650 15px var(--font-titre);
  display: block;
}

.moteur-carte span {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.4;
  display: block;
}

.moteur-carte[disabled] {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.segment {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  gap: 4px;
  padding: 4px;
  display: inline-flex;
}

.segment button {
  color: var(--muted);
  font: 600 13.5px var(--font);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  transition: background .2s, color .2s;
  display: inline-flex;
}

.segment button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.reglages-grille {
  grid-template-columns: 1fr 1fr;
  gap: 6px 22px;
  display: grid;
}

.reglette {
  padding: 8px 0;
}

.reglette .tete {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
}

.reglette .tete .valeur {
  font: 700 13px var(--font-mono);
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  text-align: center;
  border-radius: 8px;
  min-width: 52px;
  margin-left: auto;
  padding: 2px 8px;
}

.reglette .bornes {
  color: var(--faint);
  justify-content: space-between;
  margin-top: 2px;
  font-size: 11.5px;
  display: flex;
}

.reglette.off {
  opacity: .45;
}

.reglette.off input {
  pointer-events: none;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  --p: 50%;
  background: none;
  width: 100%;
  height: 26px;
  margin: 0;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--accent) 0, var(--accent-2) var(--p), var(--surface-3) var(--p));
  border-radius: 999px;
  height: 6px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  box-shadow: 0 2px 8px #00000059, 0 0 0 4px rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 2px 8px #00000059, 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
  transition: transform .2s var(--rebond);
  background: #fff;
  border: 0;
  border-radius: 50%;
  margin-top: -8px;
}

input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.18);
}

input[type="range"]::-moz-range-track {
  background: var(--surface-3);
  border-radius: 999px;
  height: 6px;
}

input[type="range"]::-moz-range-progress {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  height: 6px;
}

input[type="range"]::-moz-range-thumb {
  background: #fff;
  border: 0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  box-shadow: 0 2px 8px #00000059;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px var(--accent);
}

.tirage {
  align-items: center;
  gap: 6px;
  display: flex;
}

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

.tiroirs {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

details.tiroir {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 14px;
  overflow: hidden;
}

details.tiroir summary {
  cursor: pointer;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 650;
  list-style: none;
  display: flex;
}

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

details.tiroir summary .n {
  color: var(--faint);
  font: 600 12px var(--font-mono);
}

details.tiroir summary .badge {
  margin-left: auto;
}

details.tiroir summary svg {
  transition: transform .25s var(--ease);
  color: var(--faint);
}

details.tiroir[open] summary svg.fl {
  transform: rotate(180deg);
}

details.tiroir .chips {
  -webkit-overflow-scrolling: touch;
  max-height: 210px;
  padding: 2px 12px 14px;
  overflow-y: auto;
}

.chip .n {
  font: 600 11px var(--font-mono);
  color: var(--faint);
}

.paroles-outils {
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  display: flex;
}

.paroles-outils .chip {
  font: 600 12px var(--font-mono);
  padding: 4px 10px;
}

.generer-barre {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  display: flex;
}

.generer {
  color: #fff;
  min-width: 220px;
  font: 700 17px var(--font-titre);
  letter-spacing: -.01em;
  cursor: pointer;
  background: linear-gradient(120deg, var(--accent), var(--accent), var(--accent-2));
  background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent-2)), var(--accent-2));
  box-shadow: 0 18px 40px -16px rgba(var(--accent-rgb), 0.85);
  box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--accent) 85%, transparent);
  transition: transform .25s var(--rebond), box-shadow .3s, background-position .6s;
  background-size: 200% 100%;
  border: 0;
  border-radius: 16px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

.generer:after {
  content: "";
  background: linear-gradient(90deg, #0000, #ffffff59, #0000);
  width: 40%;
  animation: 3.5s ease-in-out infinite eclat-bouton;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.generer:hover {
  box-shadow: 0 24px 50px -16px rgba(var(--accent-2-rgb), 0.85);
  box-shadow: 0 24px 50px -16px color-mix(in srgb, var(--accent-2) 85%, transparent);
  background-position: 100% 0;
  transform: translateY(-2px);
}

.generer:active {
  transform: scale(.97);
}

.generer[disabled] {
  opacity: .5;
  pointer-events: none;
}

.generer svg {
  width: 22px;
  height: 22px;
}

.nb-prises {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}

.nb-prises .segment button {
  font-family: var(--font-mono);
  padding: 7px 11px;
}

.flux {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.flux-titre {
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
  display: flex;
}

.flux-titre h2 {
  flex: 1;
  font-size: 17px;
}

.job {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: entree .45s var(--ease) both;
  border-radius: 18px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.job:after {
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  height: 2px;
  animation: 2s linear infinite balaye;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.job.erreur:after, .job.fini:after {
  display: none;
}

.job .corps {
  flex: 1;
  min-width: 0;
}

.job .t {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
  overflow: hidden;
}

.job .sous {
  color: var(--muted);
  margin-top: 2px;
  font-size: 13px;
}

.job .jauge {
  height: 6px;
  margin-top: 8px;
}

.job.erreur {
  border-color: rgba(var(--danger-rgb), 0.4);
  border-color: color-mix(in srgb, var(--danger) 40%, transparent);
}

.egaliseur {
  background: rgba(var(--accent-2-rgb), 0.14);
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  border-radius: 12px;
  flex: none;
  align-items: flex-end;
  gap: 3px;
  width: 44px;
  height: 40px;
  padding: 4px;
  display: flex;
}

.egaliseur i {
  background: linear-gradient(to top, var(--accent), var(--accent-2));
  transform-origin: bottom;
  border-radius: 2px;
  flex: 1;
  height: 100%;
  animation: .7s ease-in-out infinite alternate onde;
}

.egaliseur i:nth-child(2) {
  animation-delay: -.3s;
}

.egaliseur i:nth-child(3) {
  animation-delay: -.55s;
}

.egaliseur i:nth-child(4) {
  animation-delay: -.15s;
}

.egaliseur.attente i {
  opacity: .5;
  animation: none;
  transform: scaleY(.25);
}

.prise-carte {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: entree .45s var(--ease) both;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  border-radius: 18px;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  display: flex;
  position: relative;
}

.prise-carte:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.prise-carte.joue {
  border-color: rgba(var(--accent-rgb), 0.55);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

.prise-carte .haut {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.prise-carte .haut a {
  color: inherit;
  flex: 1;
  min-width: 0;
  text-decoration: none;
}

.prise-carte .t {
  font: 650 15.5px var(--font-titre);
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.prise-carte .sous {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  display: block;
  overflow: hidden;
}

.prise-carte .desc {
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13.5px;
  display: -webkit-box;
  overflow: hidden;
}

.prise-carte .actions {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.mini-play {
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  width: 44px;
  height: 44px;
  box-shadow: 0 8px 20px -8px var(--accent);
  transition: transform .25s var(--rebond);
  border: 0;
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.mini-play:hover {
  transform: scale(1.08);
}

.mini-play:active {
  transform: scale(.92);
}

.mini-play svg {
  width: 18px;
  height: 18px;
}

.onde {
  cursor: pointer;
  touch-action: none;
  border-radius: 10px;
  height: 56px;
  position: relative;
  overflow: hidden;
}

.onde canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.onde.grande {
  height: 110px;
}

.onde.petite {
  height: 34px;
}

.onde .tete {
  background: var(--text);
  width: 2px;
  box-shadow: 0 0 10px var(--accent);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.onde.active .tete {
  opacity: 1;
}

.onde .sec {
  border-left: 1px dashed rgba(var(--accent-3-rgb), 0.7);
  border-left: 1px dashed color-mix(in srgb, var(--accent-3) 70%, transparent);
  pointer-events: none;
  height: 100%;
  position: absolute;
  top: 0;
}

.onde .sec span {
  font: 650 10.5px var(--font);
  color: var(--accent-3);
  white-space: nowrap;
  position: absolute;
  top: 2px;
  left: 4px;
}

.grille-prises {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  display: grid;
}

.vide-flux {
  border: 1px dashed var(--border-strong);
  text-align: center;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 20px;
  padding: 34px 20px;
  position: relative;
  overflow: hidden;
}

.vide-flux .onde-deco {
  opacity: .35;
  height: 60px;
}

.lecteur-global {
  left: calc(var(--sidebar) + 16px);
  z-index: 35;
  background: var(--verre);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: monte .35s var(--rebond);
  border-radius: 18px;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  display: flex;
  position: fixed;
  bottom: 14px;
  right: 16px;
  box-shadow: 0 24px 60px -24px #000000b3;
}

.lecteur-global .info {
  width: 200px;
  min-width: 0;
}

.lecteur-global .info a {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.lecteur-global .info span {
  font: 600 12px var(--font-mono);
  color: var(--muted);
}

.lecteur-global .onde {
  flex: 1;
  height: 40px;
}

.lecteur-global .mini-play {
  width: 42px;
  height: 42px;
}

.content.avec-lecteur {
  padding-bottom: 130px;
}

.prise-hero {
  background: radial-gradient(500px 240px at 100% 0%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 70%),
  radial-gradient(400px 200px at 0% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 26px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  display: grid;
}

.prise-hero .gros-play {
  width: 72px;
  height: 72px;
}

.prise-hero .gros-play svg {
  width: 28px;
  height: 28px;
}

.prise-hero .droite {
  min-width: 0;
}

.prise-hero .temps {
  font: 600 12.5px var(--font-mono);
  color: var(--muted);
  justify-content: space-between;
  margin-top: 6px;
  display: flex;
}

.meta-chips {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  display: flex;
}

.meta-chips .badge {
  padding: 4px 10px;
  font-size: 12.5px;
}

.prise-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  display: flex;
}

.prise-desc {
  color: var(--text);
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.prise-desc .paroles {
  white-space: pre-line;
  color: var(--muted);
  border-left: 2px solid var(--accent-2);
  margin-top: 8px;
  padding-left: 12px;
  font-size: 14px;
}

.onglets {
  background: var(--surface-2);
  border: 1px solid var(--border);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  gap: 4px;
  padding: 4px;
  display: flex;
  overflow-x: auto;
}

.onglets::-webkit-scrollbar {
  display: none;
}

.onglets button {
  color: var(--muted);
  font: 600 14px var(--font);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 10px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  transition: background .2s, color .2s;
  display: flex;
  position: relative;
}

.onglets button[aria-selected="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.onglets button[aria-selected="true"] svg {
  color: var(--accent);
}

.onglets .point {
  background: var(--accent);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1.2s infinite pouls;
}

.panneau {
  animation: entree .35s var(--ease) both;
  margin-top: 16px;
}

.cta {
  text-align: center;
  border-radius: var(--r-l);
  border: 1px dashed var(--border-strong);
  background: var(--surface-2);
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 20px;
  display: flex;
}

.cta .gros-ico {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
  border-radius: 18px;
  place-items: center;
  width: 60px;
  height: 60px;
  animation: 4s ease-in-out infinite flotte;
  display: grid;
}

.cta .gros-ico svg {
  width: 28px;
  height: 28px;
}

.cta p {
  color: var(--muted);
  max-width: 460px;
  margin: 0;
}

.aide-texte {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
}

.mixeur {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.mixeur-barre {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  display: flex;
}

.mixeur-barre .temps {
  font: 600 13px var(--font-mono);
  color: var(--muted);
  margin-right: auto;
}

.tranche {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--col);
  border-radius: 14px;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  transition: opacity .25s, border-color .2s;
  display: grid;
}

.tranche.coupee {
  opacity: .45;
}

.tranche .nom {
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 650;
  display: flex;
}

.tranche .nom span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.tranche .nom .badge {
  font-size: 11px;
}

.tranche .commandes {
  align-items: center;
  gap: 4px;
  display: flex;
}

.tranche .ms {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  width: 32px;
  height: 32px;
  color: var(--muted);
  font: 800 12.5px var(--font-mono);
  cursor: pointer;
  border-radius: 9px;
  transition: all .15s;
}

.tranche .ms[aria-pressed="true"].m {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.tranche .ms[aria-pressed="true"].s {
  background: var(--warn);
  border-color: var(--warn);
  color: #111;
}

.tranche input[type="range"] {
  width: 90px;
}

.tranche .onde {
  height: 40px;
}

.ecoute {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.mesures {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.mesure {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.mesure .lbl {
  margin-bottom: 4px;
  display: block;
}

.mesure b {
  font: 700 22px var(--font-titre);
}

.mesure small {
  color: var(--faint);
  margin-top: 2px;
  font-size: 12px;
  display: block;
}

.mesure .jauge {
  margin-top: 8px;
}

.deroule {
  border-radius: 10px;
  gap: 2px;
  height: 34px;
  display: flex;
  overflow: hidden;
}

.deroule div {
  font: 650 11.5px var(--font);
  color: #fff;
  white-space: nowrap;
  place-items: center;
  min-width: 0;
  padding: 0 4px;
  display: grid;
  overflow: hidden;
}

.etiquettes {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.etiquettes .badge {
  padding: 4px 10px;
  font-size: 12.5px;
}

.etiquettes .badge i {
  opacity: .6;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
}

.description-ia {
  background: var(--surface);
  background: color-mix(in srgb, var(--accent-3) 9%, var(--surface));
  border: 1px solid rgba(var(--accent-3-rgb), 0.3);
  border: 1px solid color-mix(in srgb, var(--accent-3) 30%, transparent);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.65;
}

.carnet-tete {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  display: flex;
}

.carnet-tete .grow {
  flex: 1;
  min-width: 0;
}

.carnet {
  flex-direction: column;
  gap: 12px;
  padding-left: 26px;
  display: flex;
  position: relative;
}

.carnet:before {
  content: "";
  background: var(--border);
  border-radius: 2px;
  width: 2px;
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 9px;
}

.entree {
  background: var(--surface-2);
  border: 1px solid var(--border);
  animation: entree .4s var(--ease) both;
  border-radius: 14px;
  padding: 12px 14px;
  position: relative;
}

.entree:before {
  content: "";
  background: var(--kc);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 4px var(--bg);
  border-radius: 50%;
  position: absolute;
  top: 15px;
  left: -23px;
}

.entree.humain {
  --kc: var(--accent);
}

.entree.ia {
  --kc: var(--accent-2);
}

.entree.outil {
  --kc: var(--accent-3);
}

.entree .ligne {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.entree .ligne b {
  font-size: 14.5px;
}

.entree .ligne .quand {
  color: var(--faint);
  margin-left: auto;
  font-size: 12px;
}

.entree dl {
  grid-template-columns: max-content 1fr;
  gap: 3px 12px;
  margin: 8px 0 0;
  font-size: 13px;
  display: grid;
}

.entree dt {
  color: var(--faint);
}

.entree dd {
  color: var(--muted);
  word-break: break-word;
  margin: 0;
}

.entree .empreinte {
  font: 500 11px var(--font-mono);
  color: var(--faint);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 6px;
  overflow: hidden;
}

.kind {
  font: 800 10.5px var(--font);
  letter-spacing: .08em;
  color: #fff;
  background: var(--kc);
  border-radius: 6px;
  padding: 2px 7px;
}

.etape-num {
  align-items: flex-start;
  gap: 14px;
  display: flex;
}

.etape-num > .n {
  width: 32px;
  height: 32px;
  font: 700 14px var(--font-mono);
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.etape-num > div {
  flex: 1;
  min-width: 0;
}

.coches {
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
  display: flex;
}

.coche {
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 550;
  display: inline-flex;
}

.coche input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.depot-mini {
  border: 1.5px dashed var(--border-strong);
  background: var(--surface-2);
  cursor: pointer;
  border-radius: 16px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  transition: border-color .2s, background .2s;
  display: flex;
}

.depot-mini:hover, .depot-mini.survol {
  border-color: var(--accent);
  background: var(--surface-2);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface-2));
}

.depot-mini .gros-ico {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  display: grid;
}

.depot-mini b {
  display: block;
}

.depot-mini span {
  color: var(--muted);
  font-size: 13px;
}

.logiciels {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 10px;
  display: grid;
}

.logiciels div {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
}

.logiciels b {
  color: var(--text);
  margin-bottom: 2px;
  font-size: 14px;
  display: block;
}

.sacem-tete {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  display: flex;
}

.sacem-tete .grow {
  flex: 1;
  min-width: 220px;
}

.etapes-sacem {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

details.etape-s {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color .2s;
  overflow: hidden;
}

details.etape-s[open] {
  border-color: var(--border-strong);
  background: var(--surface);
}

details.etape-s summary {
  cursor: pointer;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  list-style: none;
  display: flex;
}

details.etape-s summary::-webkit-details-marker {
  display: none;
}

details.etape-s summary .n {
  width: 30px;
  height: 30px;
  font: 700 13px var(--font-mono);
  background: var(--surface-3);
  color: var(--muted);
  transition: all .3s var(--rebond);
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

details.etape-s.fait summary .n {
  background: var(--ok);
  color: #fff;
}

details.etape-s summary b {
  flex: 1;
  font-size: 15px;
}

details.etape-s summary .compte {
  font: 600 12px var(--font-mono);
  color: var(--faint);
}

details.etape-s .corps {
  padding: 0 16px 16px 58px;
}

details.etape-s .pourquoi {
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 14px;
}

.case {
  cursor: pointer;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  display: flex;
}

.case input {
  width: 19px;
  height: 19px;
  accent-color: var(--ok);
  flex: none;
  margin-top: 2px;
}

.case.cochee span {
  color: var(--muted);
  text-decoration: line-through;
  -webkit-text-decoration-color: rgba(var(--ok-rgb), 0.6);
  -webkit-text-decoration-color: color-mix(in srgb, var(--ok) 60%, transparent);
  text-decoration-color: rgba(var(--ok-rgb), 0.6);
  text-decoration-color: color-mix(in srgb, var(--ok) 60%, transparent);
}

.encadre {
  border-radius: 12px;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
}

.encadre svg {
  flex: none;
  margin-top: 1px;
}

.encadre.aide {
  background: rgba(var(--accent-3-rgb), 0.1);
  background: color-mix(in srgb, var(--accent-3) 10%, transparent);
}

.encadre.aide svg {
  color: var(--accent-3);
}

.encadre.astuce {
  background: rgba(var(--accent-2-rgb), 0.1);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
}

.encadre.astuce svg {
  color: var(--accent-2);
}

.encadre.attention {
  background: rgba(var(--danger-rgb), 0.1);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
}

.encadre.attention svg {
  color: var(--danger);
}

.parts {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.parts ul {
  color: var(--muted);
  flex-direction: column;
  gap: 5px;
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 14px;
  display: flex;
}

.partage {
  border-radius: 10px;
  height: 30px;
  margin-top: 8px;
  display: flex;
  overflow: hidden;
}

.partage div {
  color: #fff;
  font: 700 12px var(--font);
  white-space: nowrap;
  place-items: center;
  display: grid;
  overflow: hidden;
}

.pipeline {
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
  display: flex;
}

.pipeline span {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--faint);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
}

.pipeline span.fait {
  color: var(--ok);
  border-color: rgba(var(--ok-rgb), 0.4);
  border-color: color-mix(in srgb, var(--ok) 40%, transparent);
}

.pipeline span.cours {
  color: var(--text);
  border-color: var(--accent);
}

.pipeline span.cours:before {
  content: "";
  background: var(--accent);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1s infinite pouls;
}

.chiffres {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
  display: grid;
}

.chiffres div {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.chiffres b {
  font: 700 22px var(--font-titre);
  display: block;
}

.chiffres span {
  color: var(--muted);
  font-size: 12.5px;
}

.style-carte {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-top: 12px;
  padding: 16px;
}

.style-carte.ready {
  border-color: rgba(var(--ok-rgb), 0.45);
  border-color: color-mix(in srgb, var(--ok) 45%, transparent);
}

.style-carte.retired {
  opacity: .6;
}

.style-carte .ligne {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.style-carte .ligne b {
  font: 650 16px var(--font-titre);
  flex: 1;
  min-width: 0;
}

.lettre {
  white-space: pre-wrap;
  font: 13.5px/1.55 var(--font-mono);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  max-height: 50vh;
  padding: 16px;
  overflow: auto;
}

.modal.large {
  width: min(720px, 100%);
}

.lexique {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 16px;
  display: grid;
}

.mot {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: entree .4s var(--ease) both;
  border-radius: 16px;
  padding: 14px 16px;
}

.mot b {
  font: 650 15.5px var(--font-titre);
}

.mot i {
  font-style: normal;
  font: 600 12px var(--font-mono);
  color: var(--accent-text);
  margin: 2px 0 6px;
  display: block;
}

.mot p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.aide {
  border: 1px solid var(--border-strong);
  width: 20px;
  height: 20px;
  color: var(--faint);
  font: 700 11.5px var(--font);
  cursor: pointer;
  background: none;
  border-radius: 50%;
  flex: none;
  place-items: center;
  padding: 0;
  display: inline-grid;
}

.aide:hover, .aide[aria-expanded="true"] {
  color: var(--accent);
  border-color: var(--accent);
}

.bulle-aide {
  color: var(--muted);
  background: var(--surface-2);
  background: color-mix(in srgb, var(--accent-2) 8%, var(--surface-2));
  border: 1px solid rgba(var(--accent-2-rgb), 0.25);
  border: 1px solid color-mix(in srgb, var(--accent-2) 25%, transparent);
  animation: entree .3s var(--ease);
  text-transform: none;
  letter-spacing: 0;
  border-radius: 12px;
  margin: 6px 0 4px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 450;
  line-height: 1.5;
}

.calculs-btn {
  position: relative;
}

.calculs-btn .compteur {
  background: var(--accent);
  color: #fff;
  min-width: 18px;
  height: 18px;
  font: 700 11px var(--font);
  border-radius: 999px;
  place-items: center;
  padding: 0 5px;
  animation: 2s ease-in-out infinite pouls;
  display: grid;
  position: absolute;
  top: -4px;
  right: -4px;
}

.tiroir-droit {
  z-index: 70;
  background: var(--surface);
  border-left: 1px solid var(--border-strong);
  width: min(420px, 100%);
  animation: glisse .3s var(--ease);
  flex-direction: column;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  box-shadow: -30px 0 80px -30px #0009;
}

@keyframes glisse {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
}

.tiroir-droit header {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 10px;
  padding: 18px 18px 12px;
  display: flex;
}

html.app .tiroir-droit header {
  padding-top: calc(18px + env(safe-area-inset-top));
}

.tiroir-droit header h2 {
  flex: 1;
}

.tiroir-droit .liste {
  -webkit-overflow-scrolling: touch;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 14px 16px 30px;
  display: flex;
  overflow-y: auto;
}

.tiroir-droit .job {
  box-shadow: none;
}

.voile-tiroir {
  z-index: 69;
  background: #05060959;
  animation: .2s fondu;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.cartes-gpu {
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  display: flex;
}

.gpu {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.gpu .ligne {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13.5px;
  display: flex;
}

.moteur-ligne {
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  display: flex;
}

.moteur-ligne:first-child {
  border-top: 0;
}

.moteur-ligne .grow {
  flex: 1;
  min-width: 0;
}

.moteur-ligne b {
  display: block;
}

.moteur-ligne span {
  color: var(--muted);
  font-size: 13px;
}

table.banc {
  border-collapse: collapse;
  width: 100%;
  margin-top: 10px;
  font-size: 13px;
}

table.banc th, table.banc td {
  text-align: left;
  border-top: 1px solid var(--border);
  padding: 7px 8px;
}

table.banc th {
  color: var(--faint);
  font-weight: 600;
}

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

html.app .side, html.app .nav, html.app .top, html.app .btn, html.app .chip, html.app .moteur-carte, html.app .generer {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

html.app .top {
  padding-top: calc(16px + env(safe-area-inset-top));
}

html.app .side {
  padding-top: calc(22px + env(safe-area-inset-top));
}

html.app .login {
  padding-top: calc(24px + env(safe-area-inset-top));
}

@media (max-width: 1240px) {
  .creer {
    grid-template-columns: minmax(0, 1fr);
  }

  .mesures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .c-8, .c-7, .c-6, .c-5, .c-4 {
    grid-column: span 12;
  }

  .chiffres {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .side {
    height: auto;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-right: 0;
    border-top: 1px solid var(--border);
    background: var(--verre);
    -webkit-backdrop-filter: blur(16px);
    z-index: 40;
    flex-direction: row;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .brand, .side-foot {
    display: none;
  }

  .nav {
    flex-direction: row;
    gap: 2px;
    width: 100%;
  }

  .nav a {
    text-align: center;
    flex-direction: column;
    flex: 1;
    gap: 3px;
    min-width: 0;
    padding: 7px 2px;
    font-size: 11px;
  }

  .nav a:hover {
    transform: none;
  }

  .nav a[aria-current="page"]:before {
    border-radius: 0 0 3px 3px;
    width: auto;
    height: 3px;
    top: -6px;
    bottom: auto;
    left: 30%;
    right: 30%;
  }

  .nav .l-long {
    display: none;
  }

  .nav .l-court {
    display: block;
  }

  .nav .compteur {
    min-width: 18px;
    height: 16px;
    margin: 0;
    font-size: 10px;
    position: absolute;
    top: 2px;
    right: calc(50% - 22px);
  }

  .top {
    padding: 12px 16px;
  }

  html.app .top {
    padding-top: calc(12px + env(safe-area-inset-top));
  }

  html.app .side {
    padding-top: 6px;
  }

  .top h1 {
    font-size: 19px;
  }

  .content {
    padding: 18px 16px 110px;
  }

  .content.avec-lecteur {
    padding-bottom: 180px;
  }

  .toasts {
    max-width: none;
    bottom: 86px;
    left: 12px;
    right: 12px;
  }

  .lecteur-global {
    left: 10px;
    right: 10px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    gap: 10px;
    padding: 8px 10px;
  }

  .lecteur-global .info {
    width: 120px;
  }

  .composer-in {
    padding: 16px;
  }

  .prise-hero {
    gap: 12px;
    padding: 16px;
  }

  .prise-hero .gros-play {
    width: 54px;
    height: 54px;
  }

  .prise-hero .onde.grande {
    height: 80px;
  }
}

@media (max-width: 560px) {
  .cols-2, .reglages-grille, .moteurs, .parts, .grille-prises {
    grid-template-columns: 1fr;
  }

  .mesures {
    grid-template-columns: 1fr 1fr;
  }

  .tranche {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tranche .onde {
    grid-area: 2 / 1 / auto / -1;
  }

  .tranche input[type="range"] {
    width: 70px;
  }

  .lecteur-global .onde {
    display: none;
  }

  .lecteur-global .info {
    flex: 1;
    width: auto;
  }

  details.etape-s .corps {
    padding-left: 16px;
  }

  .prompt-zone textarea {
    font-size: 16px;
  }

  .generer-barre {
    flex-direction: column;
    align-items: stretch;
  }

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

  .generer {
    width: 100%;
    min-width: 0;
  }

  .nav a.secondaire[data-v="lexique"] {
    display: none;
  }

  select.input.cpt-role {
    flex: 1;
    min-width: 0;
    margin-left: 46px;
  }

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

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

.modal {
  -webkit-overflow-scrolling: touch;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}

.voix-choix {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.voix-choix .moteur-carte {
  align-items: center;
  padding: 12px;
}

.moteur-carte .mi.avatar-voix {
  font: 700 14px var(--font-titre);
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
}

.voix-ligne.revoked {
  opacity: .62;
}

.marque {
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 220px;
  display: inline-flex;
}

.voix-ligne .t .badge {
  vertical-align: 1px;
  margin-left: 4px;
}

.repliques {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  display: grid;
}

.repliques .prise-carte .haut .badge {
  flex: none;
  align-items: center;
  gap: 4px;
  display: inline-flex;
}

.attestation {
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  cursor: pointer;
  border-radius: 12px;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  display: flex;
}

.attestation input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: none;
  margin-top: 3px;
}

.input.mini {
  font-size: 13px;
  font-family: var(--font-mono);
  padding: 6px 8px;
}

pre.modele {
  white-space: pre-wrap;
  background: var(--surface-2);
  border: 1px solid var(--border);
  -webkit-user-select: all;
  user-select: all;
  border-radius: 12px;
  max-height: 52vh;
  padding: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  overflow: auto;
}

@media (max-width: 640px) {
  .repliques, .voix-choix {
    grid-template-columns: 1fr;
  }
}

.mode-creation {
  margin: 14px 0 4px;
}

.mode-creation .badge {
  margin-left: 6px;
  font-size: 10.5px;
}

.apres {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 6px;
  display: flex;
}

.apres .lbl {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.familles {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.familles .chip {
  border-left: 3px solid var(--col, var(--border-strong));
}

.jeux {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  display: flex;
}

.jeux .n {
  opacity: .65;
  font-variant-numeric: tabular-nums;
}

.pistes-ia .ia-cols {
  align-items: start;
  gap: 24px;
}

@media (max-width: 760px) {
  .pistes-ia .ia-cols {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ replis Safari < 14.1 (gap en flex) */
.sans-gap .side > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .side > * + * { margin-top: 20px; margin-left: 0; }
.sans-gap .brand > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .brand > * + * { margin-left: 12px; margin-top: 0; }
.sans-gap .brand > svg.i:first-child { margin-right: 12px; }
.sans-gap .brand > svg.i:first-child + * { margin-left: 0; }
.sans-gap .nav > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .nav > * + * { margin-top: 4px; margin-left: 0; }
.sans-gap .nav a > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .nav a > * + * { margin-left: 12px; margin-top: 0; }
.sans-gap .nav a > svg.i:first-child { margin-right: 12px; }
.sans-gap .nav a > svg.i:first-child + * { margin-left: 0; }
.sans-gap .side-foot > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .side-foot > * + * { margin-top: 12px; margin-left: 0; }
.sans-gap .moteur-chip > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .moteur-chip > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .moteur-chip > svg.i:first-child { margin-right: 10px; }
.sans-gap .moteur-chip > svg.i:first-child + * { margin-left: 0; }
.sans-gap .modes > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .modes > * + * { margin-left: 4px; margin-top: 0; }
.sans-gap .modes > svg.i:first-child { margin-right: 4px; }
.sans-gap .modes > svg.i:first-child + * { margin-left: 0; }
.sans-gap .moi > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .moi > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .moi > svg.i:first-child { margin-right: 10px; }
.sans-gap .moi > svg.i:first-child + * { margin-left: 0; }
.sans-gap .top > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .top > * + * { margin-left: 14px; margin-top: 0; }
.sans-gap .top > svg.i:first-child { margin-right: 14px; }
.sans-gap .top > svg.i:first-child + * { margin-left: 0; }
.sans-gap .card-head > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .card-head > * + * { margin-left: 12px; margin-top: 0; }
.sans-gap .card-head > svg.i:first-child { margin-right: 12px; }
.sans-gap .card-head > svg.i:first-child + * { margin-left: 0; }
.sans-gap .btn > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .btn > * + * { margin-left: 8px; margin-top: 0; }
.sans-gap .btn > svg.i:first-child { margin-right: 8px; }
.sans-gap .btn > svg.i:first-child + * { margin-left: 0; }
.sans-gap .btn-row > * { margin-right: 10px; margin-bottom: 10px; }
.sans-gap .btn-row > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .field > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .field > * + * { margin-top: 6px; margin-left: 0; }
.sans-gap .switch > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .switch > * + * { margin-left: 14px; margin-top: 0; }
.sans-gap .switch > svg.i:first-child { margin-right: 14px; }
.sans-gap .switch > svg.i:first-child + * { margin-left: 0; }
.sans-gap .chips > * { margin-right: 8px; margin-bottom: 8px; }
.sans-gap .chips > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .chip > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .chip > * + * { margin-left: 6px; margin-top: 0; }
.sans-gap .chip > svg.i:first-child { margin-right: 6px; }
.sans-gap .chip > svg.i:first-child + * { margin-left: 0; }
.sans-gap .badge > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .badge > * + * { margin-left: 5px; margin-top: 0; }
.sans-gap .badge > svg.i:first-child { margin-right: 5px; }
.sans-gap .badge > svg.i:first-child + * { margin-left: 0; }
.sans-gap .note > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .note > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .note > svg.i:first-child { margin-right: 10px; }
.sans-gap .note > svg.i:first-child + * { margin-left: 0; }
.sans-gap .row > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .row > * + * { margin-left: 12px; margin-top: 0; }
.sans-gap .row > svg.i:first-child { margin-right: 12px; }
.sans-gap .row > svg.i:first-child + * { margin-left: 0; }
.sans-gap .menu button > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .menu button > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .menu button > svg.i:first-child { margin-right: 10px; }
.sans-gap .menu button > svg.i:first-child + * { margin-left: 0; }
.sans-gap .cpt-row .cpt-badges > * { margin-right: 6px; margin-bottom: 6px; }
.sans-gap .cpt-row .cpt-badges > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .toasts > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .toasts > * + * { margin-top: 10px; margin-left: 0; }
.sans-gap .toast > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .toast > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .toast > svg.i:first-child { margin-right: 10px; }
.sans-gap .toast > svg.i:first-child + * { margin-left: 0; }
.sans-gap .onde-deco > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .onde-deco > * + * { margin-left: 4px; margin-top: 0; }
.sans-gap .onde-deco > svg.i:first-child { margin-right: 4px; }
.sans-gap .onde-deco > svg.i:first-child + * { margin-left: 0; }
.sans-gap .prompt-outils > * { margin-right: 6px; margin-bottom: 6px; }
.sans-gap .prompt-outils > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .choisis > * { margin-right: 6px; margin-bottom: 6px; }
.sans-gap .choisis > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .choisis button > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .choisis button > * + * { margin-left: 4px; margin-top: 0; }
.sans-gap .choisis button > svg.i:first-child { margin-right: 4px; }
.sans-gap .choisis button > svg.i:first-child + * { margin-left: 0; }
.sans-gap .section-titre > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .section-titre > * + * { margin-left: 8px; margin-top: 0; }
.sans-gap .section-titre > svg.i:first-child { margin-right: 8px; }
.sans-gap .section-titre > svg.i:first-child + * { margin-left: 0; }
.sans-gap .moteur-carte > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .moteur-carte > * + * { margin-left: 12px; margin-top: 0; }
.sans-gap .moteur-carte > svg.i:first-child { margin-right: 12px; }
.sans-gap .moteur-carte > svg.i:first-child + * { margin-left: 0; }
.sans-gap .segment > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .segment > * + * { margin-left: 4px; margin-top: 0; }
.sans-gap .segment > svg.i:first-child { margin-right: 4px; }
.sans-gap .segment > svg.i:first-child + * { margin-left: 0; }
.sans-gap .segment button > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .segment button > * + * { margin-left: 6px; margin-top: 0; }
.sans-gap .segment button > svg.i:first-child { margin-right: 6px; }
.sans-gap .segment button > svg.i:first-child + * { margin-left: 0; }
.sans-gap .reglette .tete > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .reglette .tete > * + * { margin-left: 6px; margin-top: 0; }
.sans-gap .reglette .tete > svg.i:first-child { margin-right: 6px; }
.sans-gap .reglette .tete > svg.i:first-child + * { margin-left: 0; }
.sans-gap .tirage > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .tirage > * + * { margin-left: 6px; margin-top: 0; }
.sans-gap .tirage > svg.i:first-child { margin-right: 6px; }
.sans-gap .tirage > svg.i:first-child + * { margin-left: 0; }
.sans-gap .tiroirs > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .tiroirs > * + * { margin-top: 8px; margin-left: 0; }
.sans-gap details.tiroir summary > * { margin-right: 0; margin-bottom: 0; }
.sans-gap details.tiroir summary > * + * { margin-left: 8px; margin-top: 0; }
.sans-gap details.tiroir summary > svg.i:first-child { margin-right: 8px; }
.sans-gap details.tiroir summary > svg.i:first-child + * { margin-left: 0; }
.sans-gap .paroles-outils > * { margin-right: 6px; margin-bottom: 6px; }
.sans-gap .paroles-outils > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .generer-barre > * { margin-right: 12px; margin-bottom: 12px; }
.sans-gap .generer-barre > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .generer > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .generer > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .generer > svg.i:first-child { margin-right: 10px; }
.sans-gap .generer > svg.i:first-child + * { margin-left: 0; }
.sans-gap .nb-prises > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .nb-prises > * + * { margin-left: 4px; margin-top: 0; }
.sans-gap .nb-prises > svg.i:first-child { margin-right: 4px; }
.sans-gap .nb-prises > svg.i:first-child + * { margin-left: 0; }
.sans-gap .flux > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .flux > * + * { margin-top: 14px; margin-left: 0; }
.sans-gap .flux-titre > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .flux-titre > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .flux-titre > svg.i:first-child { margin-right: 10px; }
.sans-gap .flux-titre > svg.i:first-child + * { margin-left: 0; }
.sans-gap .job > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .job > * + * { margin-left: 14px; margin-top: 0; }
.sans-gap .job > svg.i:first-child { margin-right: 14px; }
.sans-gap .job > svg.i:first-child + * { margin-left: 0; }
.sans-gap .egaliseur > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .egaliseur > * + * { margin-left: 3px; margin-top: 0; }
.sans-gap .egaliseur > svg.i:first-child { margin-right: 3px; }
.sans-gap .egaliseur > svg.i:first-child + * { margin-left: 0; }
.sans-gap .prise-carte > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .prise-carte > * + * { margin-top: 10px; margin-left: 0; }
.sans-gap .prise-carte .haut > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .prise-carte .haut > * + * { margin-left: 12px; margin-top: 0; }
.sans-gap .prise-carte .haut > svg.i:first-child { margin-right: 12px; }
.sans-gap .prise-carte .haut > svg.i:first-child + * { margin-left: 0; }
.sans-gap .prise-carte .actions > * { margin-right: 6px; margin-bottom: 6px; }
.sans-gap .prise-carte .actions > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .lecteur-global > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .lecteur-global > * + * { margin-left: 14px; margin-top: 0; }
.sans-gap .lecteur-global > svg.i:first-child { margin-right: 14px; }
.sans-gap .lecteur-global > svg.i:first-child + * { margin-left: 0; }
.sans-gap .meta-chips > * { margin-right: 6px; margin-bottom: 6px; }
.sans-gap .meta-chips > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .prise-actions > * { margin-right: 8px; margin-bottom: 8px; }
.sans-gap .prise-actions > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .onglets > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .onglets > * + * { margin-left: 4px; margin-top: 0; }
.sans-gap .onglets > svg.i:first-child { margin-right: 4px; }
.sans-gap .onglets > svg.i:first-child + * { margin-left: 0; }
.sans-gap .onglets button > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .onglets button > * + * { margin-left: 7px; margin-top: 0; }
.sans-gap .onglets button > svg.i:first-child { margin-right: 7px; }
.sans-gap .onglets button > svg.i:first-child + * { margin-left: 0; }
.sans-gap .cta > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .cta > * + * { margin-top: 12px; margin-left: 0; }
.sans-gap .mixeur > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .mixeur > * + * { margin-top: 8px; margin-left: 0; }
.sans-gap .mixeur-barre > * { margin-right: 10px; margin-bottom: 10px; }
.sans-gap .mixeur-barre > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .tranche .nom > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .tranche .nom > * + * { margin-left: 8px; margin-top: 0; }
.sans-gap .tranche .nom > svg.i:first-child { margin-right: 8px; }
.sans-gap .tranche .nom > svg.i:first-child + * { margin-left: 0; }
.sans-gap .tranche .commandes > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .tranche .commandes > * + * { margin-left: 4px; margin-top: 0; }
.sans-gap .tranche .commandes > svg.i:first-child { margin-right: 4px; }
.sans-gap .tranche .commandes > svg.i:first-child + * { margin-left: 0; }
.sans-gap .ecoute > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .ecoute > * + * { margin-top: 16px; margin-left: 0; }
.sans-gap .deroule > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .deroule > * + * { margin-left: 2px; margin-top: 0; }
.sans-gap .deroule > svg.i:first-child { margin-right: 2px; }
.sans-gap .deroule > svg.i:first-child + * { margin-left: 0; }
.sans-gap .etiquettes > * { margin-right: 6px; margin-bottom: 6px; }
.sans-gap .etiquettes > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .carnet-tete > * { margin-right: 10px; margin-bottom: 10px; }
.sans-gap .carnet-tete > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .carnet > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .carnet > * + * { margin-top: 12px; margin-left: 0; }
.sans-gap .entree .ligne > * { margin-right: 8px; margin-bottom: 8px; }
.sans-gap .entree .ligne > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .etape-num > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .etape-num > * + * { margin-left: 14px; margin-top: 0; }
.sans-gap .etape-num > svg.i:first-child { margin-right: 14px; }
.sans-gap .etape-num > svg.i:first-child + * { margin-left: 0; }
.sans-gap .coches > * { margin-right: 8px; margin-bottom: 8px; }
.sans-gap .coches > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .coche > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .coche > * + * { margin-left: 8px; margin-top: 0; }
.sans-gap .coche > svg.i:first-child { margin-right: 8px; }
.sans-gap .coche > svg.i:first-child + * { margin-left: 0; }
.sans-gap .depot-mini > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .depot-mini > * + * { margin-left: 14px; margin-top: 0; }
.sans-gap .depot-mini > svg.i:first-child { margin-right: 14px; }
.sans-gap .depot-mini > svg.i:first-child + * { margin-left: 0; }
.sans-gap .sacem-tete > * { margin-right: 16px; margin-bottom: 16px; }
.sans-gap .sacem-tete > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .etapes-sacem > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .etapes-sacem > * + * { margin-top: 10px; margin-left: 0; }
.sans-gap details.etape-s summary > * { margin-right: 0; margin-bottom: 0; }
.sans-gap details.etape-s summary > * + * { margin-left: 12px; margin-top: 0; }
.sans-gap details.etape-s summary > svg.i:first-child { margin-right: 12px; }
.sans-gap details.etape-s summary > svg.i:first-child + * { margin-left: 0; }
.sans-gap .case > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .case > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .case > svg.i:first-child { margin-right: 10px; }
.sans-gap .case > svg.i:first-child + * { margin-left: 0; }
.sans-gap .encadre > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .encadre > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .encadre > svg.i:first-child { margin-right: 10px; }
.sans-gap .encadre > svg.i:first-child + * { margin-left: 0; }
.sans-gap .parts ul > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .parts ul > * + * { margin-top: 5px; margin-left: 0; }
.sans-gap .pipeline > * { margin-right: 6px; margin-bottom: 6px; }
.sans-gap .pipeline > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .pipeline span > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .pipeline span > * + * { margin-left: 6px; margin-top: 0; }
.sans-gap .pipeline span > svg.i:first-child { margin-right: 6px; }
.sans-gap .pipeline span > svg.i:first-child + * { margin-left: 0; }
.sans-gap .style-carte .ligne > * { margin-right: 10px; margin-bottom: 10px; }
.sans-gap .style-carte .ligne > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .tiroir-droit header > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .tiroir-droit header > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .tiroir-droit header > svg.i:first-child { margin-right: 10px; }
.sans-gap .tiroir-droit header > svg.i:first-child + * { margin-left: 0; }
.sans-gap .tiroir-droit .liste > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .tiroir-droit .liste > * + * { margin-top: 10px; margin-left: 0; }
.sans-gap .cartes-gpu > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .cartes-gpu > * + * { margin-top: 10px; margin-left: 0; }
.sans-gap .gpu .ligne > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .gpu .ligne > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .gpu .ligne > svg.i:first-child { margin-right: 10px; }
.sans-gap .gpu .ligne > svg.i:first-child + * { margin-left: 0; }
.sans-gap .moteur-ligne > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .moteur-ligne > * + * { margin-left: 12px; margin-top: 0; }
.sans-gap .moteur-ligne > svg.i:first-child { margin-right: 12px; }
.sans-gap .moteur-ligne > svg.i:first-child + * { margin-left: 0; }
.sans-gap .marque > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .marque > * + * { margin-left: 6px; margin-top: 0; }
.sans-gap .marque > svg.i:first-child { margin-right: 6px; }
.sans-gap .marque > svg.i:first-child + * { margin-left: 0; }
.sans-gap .repliques .prise-carte .haut .badge > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .repliques .prise-carte .haut .badge > * + * { margin-left: 4px; margin-top: 0; }
.sans-gap .repliques .prise-carte .haut .badge > svg.i:first-child { margin-right: 4px; }
.sans-gap .repliques .prise-carte .haut .badge > svg.i:first-child + * { margin-left: 0; }
.sans-gap .attestation > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .attestation > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .attestation > svg.i:first-child { margin-right: 10px; }
.sans-gap .attestation > svg.i:first-child + * { margin-left: 0; }
.sans-gap .apres > * { margin-right: 14px; margin-bottom: 10px; }
.sans-gap .apres > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .familles > * { margin-right: 8px; margin-bottom: 8px; }
.sans-gap .familles > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .jeux > * { margin-right: 8px; margin-bottom: 8px; }
.sans-gap .jeux > * + * { margin-top: 0; margin-left: 0; }
.sans-gap .nav .compteur { margin-left: auto !important; }
.sans-gap .side-foot { margin-top: auto !important; }
.sans-gap .prompt-outils .compte { margin-left: auto !important; }
.sans-gap .reglette .tete .valeur { margin-left: auto !important; }
.sans-gap details.tiroir summary .badge { margin-left: auto !important; }
.sans-gap .mixeur-barre .temps { margin-right: auto !important; }
.sans-gap .entree .ligne .quand { margin-left: auto !important; }
@media (max-width: 860px) {
.sans-gap .side > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .side > * + * { margin-left: 20px; margin-top: 0; }
.sans-gap .side > svg.i:first-child { margin-right: 20px; }
.sans-gap .side > svg.i:first-child + * { margin-left: 0; }
.sans-gap .nav > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .nav > * + * { margin-left: 2px; margin-top: 0; }
.sans-gap .nav > svg.i:first-child { margin-right: 2px; }
.sans-gap .nav > svg.i:first-child + * { margin-left: 0; }
.sans-gap .nav a > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .nav a > * + * { margin-top: 3px; margin-left: 0; }
.sans-gap .lecteur-global > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .lecteur-global > * + * { margin-left: 10px; margin-top: 0; }
.sans-gap .lecteur-global > svg.i:first-child { margin-right: 10px; }
.sans-gap .lecteur-global > svg.i:first-child + * { margin-left: 0; }
}
@media (max-width: 560px) {
.sans-gap .generer-barre > * { margin-right: 0; margin-bottom: 0; }
.sans-gap .generer-barre > * + * { margin-top: 12px; margin-left: 0; }
}

/* ------------------------------------------------------------------ replis Safari < 15 (aspect-ratio) */
@supports not (aspect-ratio: 1 / 1) {
  .lecteur .art { min-height: 220px; }
}
