/* L’aide reprend le papier, l’encre et le vert de studio.css. */
.help-page { line-height: 1.5; }
.help-page .brand { text-decoration: none; color: var(--ink); }
.help-skip { position: fixed; top: 8px; left: 12px; z-index: 50; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.help-skip:focus { transform: translateY(0); }
.help-page :is(a, button, summary):focus-visible { outline: 3px solid var(--prof); outline-offset: 5px; }
.help-main { width: min(1240px, 100%); margin: 0 auto; padding: 64px 32px 32px; }
.help-main :is(section, article, details, dl > div)[id] { scroll-margin-top: 90px; }
.help-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.help-eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; line-height: 1.5; }
.help-intro h1 { font-size: clamp(46px, 5.6vw, 76px); line-height: .98; letter-spacing: -.035em; margin: 22px 0; }
.help-intro h1 em { color: var(--prof); font-style: normal; }
.help-lead { font-size: 21px; color: var(--muted); max-width: 390px; }
.help-jumps { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 26px; }
.help-jumps a { display: flex; align-items: center; gap: 18px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.help-jumps a:hover { text-decoration-color: var(--prof); text-decoration-thickness: 2px; }
.help-preview { min-width: 0; padding: 22px; background: var(--ink); color: var(--paper); border-radius: 20px; border: 1px solid var(--ink); }
.help-preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.help-preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--prof-bright); }
.help-switches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 20px; }
.help-switches[hidden] { display: none; }
.help-switches button { min-height: 44px; font: inherit; font-weight: 600; font-size: 15px; border: 1px solid var(--faint); border-radius: 8px; background: transparent; color: var(--paper); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.help-switches button:hover { border-color: var(--prof-bright); }
.help-switches button[aria-pressed="true"] { background: var(--prof-bright); color: var(--ink); border-color: var(--prof-bright); }
.help-preview :is(a, button):focus-visible { outline-color: var(--prof-bright); }
.help-scene { display: block; width: 100%; height: auto; margin: 6px 0; }
.help-scene [hidden] { display: none; }
.scene-paper { fill: var(--paper); stroke: var(--paper); stroke-width: 2; }
.scene-rule { stroke: var(--muted); stroke-width: 1; opacity: .35; }
.scene-margin { stroke: var(--prof); stroke-width: 2; }
.scene-ink, .scene-dark-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.scene-hole { fill: var(--ink); }
.scene-outline { fill: none; stroke: var(--faint); stroke-width: 2; }
.scene-selected { fill: var(--prof-bright); }
.scene-arrow { fill: none; stroke: var(--prof-bright); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scene-soft-line { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; }
.scene-label { fill: var(--paper); font: 600 10px var(--mono); letter-spacing: 1px; }
.scene-small { fill: var(--paper); font: 16px var(--font-proxima); }
.scene-button-label { fill: var(--ink); font: 600 17px var(--font-proxima); }
.scene-highlight { fill: var(--prof-bright); opacity: .75; }
.help-preview-caption { min-height: 48px; padding-top: 13px; border-top: 1px solid var(--muted); font-size: 16px; }
.help-section { margin-top: 84px; }
.help-section-head { margin-bottom: 26px; }
.help-section h2 { font-size: clamp(29px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; margin-top: 10px; }
.help-section-head > p:last-child:not(.help-eyebrow) { margin-top: 12px; color: var(--muted); font-size: 18px; }
.help-processes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--paper); }
.help-process { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.help-process + .help-process { border-left: 1px solid var(--line2); }
.help-step-number { font: 600 14px var(--mono); color: var(--prof); }
.help-process h3 { font-size: 26px; margin: 15px 0 10px; letter-spacing: -.02em; }
.help-process > p { font-size: 18px; }
.help-in-session { border-left: 3px solid var(--prof); padding-left: 14px; margin: 22px 0; }
.help-in-session > span { font: 600 10px var(--mono); letter-spacing: .08em; color: var(--prof); }
.help-in-session p { font-size: 16px; color: var(--muted); margin-top: 6px; }
.help-text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; margin-top: auto; color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.help-text-link:hover { color: var(--prof); }
.help-terms { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; }
.help-term { background: var(--paper); border: 1px solid var(--line2); border-radius: 12px; overflow: clip; }
.help-term[open] { border-color: var(--prof); }
.help-term summary { display: grid; grid-template-columns: 40px 1fr 18px; gap: 16px; align-items: start; list-style: none; padding: 22px; cursor: pointer; }
.help-term summary::-webkit-details-marker { display: none; }
.help-term summary:hover { background: var(--bg); }
.help-term summary:focus-visible { outline-offset: -4px; }
.help-term-mark { display: grid; place-items: center; width: 40px; height: 44px; border: 1px solid var(--prof); border-radius: 7px; font: 600 16px var(--mono); color: var(--prof); }
.help-term strong { display: block; font-size: 22px; line-height: 1.15; }
.help-definition { display: block; font-size: 17px; color: var(--muted); margin-top: 7px; }
.help-chevron { font-size: 25px; line-height: 1; transition: transform .15s; }
.help-term[open] .help-chevron { transform: rotate(45deg); }
.help-term-body { border-top: 1px solid var(--line2); padding: 20px 22px; font-size: 17px; }
.help-term-body p + p { margin-top: 12px; }
.help-example { border-left: 3px solid var(--prof); padding-left: 12px; font-weight: 600; }
.help-screens { border-top: 1px solid var(--ink); }
.help-screens > div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line2); }
.help-screens dt { font-size: 22px; font-weight: 600; }
.help-screens dd { font-size: 18px; color: var(--muted); align-self: center; }
.help-screens a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; color: var(--ink); text-underline-offset: 5px; }
.help-screens a:hover { text-decoration-color: var(--prof); text-decoration-thickness: 2px; }
.help-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px; margin-top: 64px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.help-footer .help-eyebrow { color: var(--prof-bright); }
.help-footer h2 { font-size: 32px; line-height: 1.15; margin: 10px 0; }
.help-footer a { display: inline-flex; flex-shrink: 0; align-items: center; gap: 18px; min-height: 48px; padding: 12px 20px; border: 2px solid var(--prof-bright); border-radius: 9px; color: var(--ink); background: var(--prof-bright); font-size: 18px; font-weight: 600; text-decoration: none; }
.help-footer a:hover { background: var(--paper); border-color: var(--paper); }
.help-footer a:focus-visible { outline-color: var(--prof-bright); }
@media (max-width: 960px) {
  .help-main { padding-top: 42px; }
  .help-hero { gap: 26px; }
  .help-process { padding: 20px; }
}
@media (max-width: 760px) {
  .help-main { padding: 32px 20px 20px; }
  .help-hero { grid-template-columns: 1fr; gap: 28px; }
  .help-intro h1 { font-size: clamp(48px, 9vw, 70px); }
  .help-lead { max-width: 520px; }
  .help-jumps { gap: 2px; margin-top: 18px; }
  .help-preview { max-width: 560px; width: 100%; }
  .help-section { margin-top: 52px; }
  .help-processes, .help-terms { grid-template-columns: 1fr; }
  .help-process { padding: 24px; }
  .help-process + .help-process { border-left: 0; border-top: 1px solid var(--line2); }
  .help-footer { flex-direction: column; align-items: flex-start; padding: 26px; }
  .help-screens > div { grid-template-columns: 130px 1fr; gap: 16px; }
}
@media (max-width: 380px) {
  .help-main { padding-left: 16px; padding-right: 16px; }
  .help-page .topbar-in { padding: 0 12px; gap: 8px; }
  .help-page .brand .boost { font-size: 18px; }
  .help-page .help-link { padding: 8px; font-size: 13px; }
  .help-preview { padding: 16px; }
  .help-switches { gap: 5px; }
  .help-switches button { font-size: 13px; }
  .help-term summary { padding: 18px 14px; grid-template-columns: 34px 1fr 16px; gap: 12px; }
  .help-term-mark { width: 34px; }
  .help-screens > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .help-page *, .help-page *::before, .help-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .help-switches button[aria-pressed="true"], .help-term[open] { outline: 2px solid Highlight; }
}
