/* Béringer Helpcenter. Toutes les classes sont préfixées hc- pour pouvoir vivre dans un gabarit HubSpot. */

:root {
  --hc-black: #0a0a0b;
  --hc-ink: #17131a;
  --hc-muted: #5e5559;
  --hc-red: #c8121c;
  --hc-red-deep: #9c0c15;
  --hc-red-tint: #fbe7e8;
  --hc-ground: #f7f5f5;
  --hc-rose: #f8eeee;
  --hc-card: #ffffff;
  --hc-line: #e7dfe0;
  --hc-shadow: 0 1px 1px rgba(40, 8, 12, .04), 0 2px 6px -2px rgba(40, 8, 12, .08), 0 14px 32px -18px rgba(40, 8, 12, .22);
  --hc-shadow-lift: 0 1px 1px rgba(40, 8, 12, .05), 0 6px 14px -6px rgba(120, 10, 20, .16), 0 26px 44px -22px rgba(120, 10, 20, .38);
  --hc-radius: 12px;
  --hc-bar: 64px;
  --hc-gutter: clamp(16px, 4vw, 32px);
  --hc-ease: cubic-bezier(.16, 1, .3, 1);
  --hc-wrap: 1180px;
  --hc-font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* La barre haute reste collée : une ancre (#SB-028) ne doit pas se glisser dessous. */
  scroll-padding-top: calc(var(--hc-bar) + 56px);
  scrollbar-color: #c2b2b5 #f7f5f5;
}

body.hc {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--hc-ground);
  color: var(--hc-ink);
  font-family: var(--hc-font);
  font-size: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  accent-color: var(--hc-red);
  caret-color: var(--hc-red);
}

.hc ::selection { background: var(--hc-red); color: #fff; }

:where(.hc) a { color: inherit; text-decoration: none; }

.hc :focus-visible {
  outline: 2px solid var(--hc-red);
  outline-offset: 3px;
  border-radius: 4px;
}
.hc-bar :focus-visible, .hc-hero :focus-visible, .hc-foot :focus-visible { outline-color: #fff; }

.hc-wrap {
  width: 100%;
  max-width: var(--hc-wrap);
  margin-inline: auto;
  /* Encoches et bords arrondis des téléphones en paysage */
  padding-left: max(var(--hc-gutter), env(safe-area-inset-left));
  padding-right: max(var(--hc-gutter), env(safe-area-inset-right));
}

.hc-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: #fff;
  color: var(--hc-ink);
  font-weight: 600;
  border-radius: 6px;
}
.hc-skip:focus { top: 12px; }

.hc-skip-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Barre haute ---------- */

.hc-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--hc-black);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .09);
}
.hc-bar .hc-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--hc-bar);
}
.hc-logo { display: inline-flex; align-items: center; }
/* Couleur et graisse du texte de remplacement si le logo ne se charge pas */
.hc-logo img { display: block; height: 38px; width: auto; color: #fff; font-size: 15px; font-weight: 700; }
.hc-bar nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.hc-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #d9d2d3;
  transition: color .2s var(--hc-ease);
}
.hc-bar-link:hover { color: #fff; }
.hc-bar-link svg { width: 12px; height: 12px; opacity: .7; }
.hc-signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: background-color .2s var(--hc-ease), color .2s var(--hc-ease), border-color .2s var(--hc-ease);
}
.hc-signin svg { width: 16px; height: 16px; }
.hc-signin:hover { background: #fff; border-color: #fff; color: var(--hc-black); }

/* ---------- Bandeau ---------- */

.hc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: #0a0a0b;
  background-image:
    radial-gradient(52% 130% at 30% -22%, rgba(222, 22, 34, .92), rgba(150, 10, 20, .35) 55%, transparent 72%),
    radial-gradient(38% 95% at 104% 112%, rgba(200, 16, 28, .6), transparent 68%);
  /* Filet rouge qui ferme le bandeau */
  box-shadow: inset 0 -1px 0 rgba(255, 96, 96, .28);
}
.hc-hero canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  animation: hc-network-in 1.6s var(--hc-ease) both;
}
@keyframes hc-network-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hc-hero::before, .hc-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 96, 96, .75);
  box-shadow: 0 0 22px 1px rgba(255, 40, 50, .55), inset 0 0 22px 1px rgba(255, 40, 50, .3);
  pointer-events: none;
}
.hc-hero::before { width: 760px; height: 760px; right: -330px; top: 150px; }
.hc-hero::after { width: 1100px; height: 1100px; right: -180px; top: 232px; opacity: .55; }

.hc-hero .hc-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding-block: 48px;
}
.hc-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hc-hero p {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #f3d9db;
}

.hc-hero--slim .hc-wrap { min-height: 208px; padding-block: 32px 40px; }
.hc-hero--slim h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.hc-hero--slim p { max-width: 58ch; }

.hc-crumbs { margin: 0 0 20px; font-size: 14px; color: #f3d9db; }
.hc-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hc-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .45); }
.hc-crumbs a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.hc-crumbs a:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- Sections ---------- */

.hc-main { flex: 1; display: flex; flex-direction: column; }
.hc-main > :last-child { flex: 1; }

.hc-section { padding-block: clamp(40px, 6vw, 64px) clamp(36px, 5vw, 56px); }
.hc-section--rose { background: var(--hc-rose); border-top: 1px solid var(--hc-line); }

.hc-title {
  margin: 0 0 clamp(24px, 3.5vw, 36px);
  text-align: center;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hc-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: var(--hc-red);
}
.hc-title--left { margin-bottom: 20px; text-align: left; }
.hc-title--left::after { margin-left: 0; }

/* ---------- Portes de la base de connaissances ---------- */

.hc-doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hc-door {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 20px 16px 20px 18px;
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  transition: transform .35s var(--hc-ease), box-shadow .35s var(--hc-ease), border-color .35s var(--hc-ease);
}
/* Un nom long (traduction) doit pouvoir passer à la ligne sans pousser le chevron hors de la carte. */
.hc-door > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.hc-door:active { transform: scale(.99); }
/* Les effets de survol ne concernent que les appareils qui survolent : au doigt, ils resteraient collés. */
@media (hover: hover) {
  .hc-door:hover { transform: translateY(-3px); box-shadow: var(--hc-shadow-lift); border-color: #e3b9bd; }
  .hc-door:hover .hc-icon { background: var(--hc-red); color: #fff; }
  .hc-door:hover .hc-chevron, .hc-btn:hover .hc-chevron { transform: translateX(4px); }
}

.hc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hc-red-tint);
  color: var(--hc-red);
  transition: background-color .35s var(--hc-ease), color .35s var(--hc-ease);
}
.hc-icon svg { width: 25px; height: 25px; }

.hc-door-name { display: block; font-size: 1.06rem; font-weight: 700; line-height: 1.25; }
.hc-door-text { display: block; margin-top: 4px; font-size: .875rem; color: var(--hc-muted); }
.hc-chevron { width: 18px; height: 18px; color: var(--hc-red); transition: transform .35s var(--hc-ease); }

/* ---------- Support ---------- */

.hc-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(16px, 3vw, 40px);
  max-width: 860px;
  margin-inline: auto;
}
.hc-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 26px;
  text-align: center;
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
}
.hc-panel h3 { margin: 16px 0 6px; font-size: 1.06rem; font-weight: 700; }
.hc-panel p { margin: 0 0 20px; max-width: 26ch; font-size: .9rem; color: var(--hc-muted); text-wrap: balance; }
/* Même largeur pour les deux boutons, quel que soit leur libellé */
.hc-panel .hc-btn { margin-top: auto; min-width: min(100%, 236px); }
.hc-panel .hc-icon { width: 60px; height: 60px; }
.hc-panel .hc-icon svg { width: 28px; height: 28px; }
.hc-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .8rem; color: var(--hc-muted); }
.hc-hint svg { width: 13px; height: 13px; }

.hc-or {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
}
.hc-or::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 1px;
  background: #dccfd0;
}
.hc-or span {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 10px 18px 10px 26px;
  border: 0;
  border-radius: 8px;
  background: var(--hc-red);
  color: #fff;
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 16px -10px rgba(156, 12, 21, .75);
  transition: background-color .2s var(--hc-ease), transform .2s var(--hc-ease);
}
.hc-btn:active { transform: translateY(1px); }
.hc-btn .hc-chevron { color: #fff; }
.hc-btn:hover { background: var(--hc-red-deep); }
.hc-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.hc-btn--ghost:hover { background: #fff; color: var(--hc-black); }
.hc-btn--ghost:hover .hc-chevron { color: var(--hc-black); }

/* ---------- Pied ---------- */

.hc-foot { background: var(--hc-black); color: #b9b0b2; font-size: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09); }
.hc-foot .hc-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 28px max(28px, env(safe-area-inset-bottom));
}
.hc-foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.hc-foot a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.hc-foot a:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- Liste des Advisories & Service Bulletins ---------- */

.hc-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 16px;
}
.hc-seg {
  display: inline-flex;
  padding: 4px;
  background: #ece6e7;
  border-radius: 8px;
}
.hc-seg button {
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--hc-muted);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--hc-ease), color .2s var(--hc-ease);
}
.hc-seg button:hover { color: var(--hc-ink); }
.hc-seg button[aria-pressed="true"] { background: #fff; color: var(--hc-ink); box-shadow: 0 1px 2px rgba(40, 8, 12, .14); }
.hc-seg b { margin-left: 6px; font-weight: 500; color: var(--hc-muted); font-variant-numeric: tabular-nums; }

.hc-find { position: relative; flex: 1 1 280px; max-width: 420px; }
.hc-find svg {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--hc-muted);
  pointer-events: none;
}
.hc-find input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid #d5cacc;
  border-radius: 8px;
  background: #fff;
  color: var(--hc-ink);
  font: inherit;
  font-size: 1rem;
}
.hc-find input::placeholder { color: #6c6266; }
.hc-find input:focus-visible { outline-offset: 0; border-color: var(--hc-red); border-radius: 8px; }

.hc-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--hc-muted); cursor: pointer; }
.hc-check input { width: 18px; height: 18px; margin: 0; }

.hc-count { margin: 0 0 12px; font-size: .9rem; color: var(--hc-muted); font-variant-numeric: tabular-nums; }

.hc-table-box {
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  /* clip et non hidden : l'en-tête du tableau reste collé sous la barre haute pendant le défilement */
  overflow: clip;
}
.hc-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hc-table th, .hc-table td { padding: 14px 16px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.hc-table thead th {
  background: var(--hc-black);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}
.hc-table tbody tr { border-top: 1px solid var(--hc-line); transition: background-color .2s var(--hc-ease); }
.hc-table tbody tr:hover { background: #fdf6f6; }
.hc-table tbody tr:target { background: var(--hc-red-tint); }
.hc-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-table .hc-c-rev { text-align: center; }

.hc-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.hc-sort svg { width: 12px; height: 12px; opacity: .45; transition: transform .2s var(--hc-ease), opacity .2s var(--hc-ease); }
.hc-sort:hover svg { opacity: 1; }
th[aria-sort="ascending"] .hc-sort svg { opacity: 1; }
th[aria-sort="descending"] .hc-sort svg { opacity: 1; transform: rotate(180deg); }
.hc-table thead :focus-visible { outline-color: #fff; }

.hc-ref {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--hc-red-deep);
  text-decoration: underline;
  text-decoration-color: rgba(156, 12, 21, .3);
  text-underline-offset: 3px;
  font-variant-numeric: tabular-nums;
}
a.hc-ref:hover { text-decoration-color: currentColor; }
.hc-ref svg { width: 18px; height: 18px; flex: none; }
span.hc-ref { color: var(--hc-muted); text-decoration: none; }
span.hc-ref svg { opacity: .55; }

.hc-tag {
  display: table;
  margin: 6px 0 0 26px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ece6e7;
  color: #4f474a;
  font-size: .74rem;
  font-weight: 600;
  vertical-align: 1px;
}
.hc-note { display: block; margin-top: 4px; font-size: .86rem; color: var(--hc-muted); }
.hc-note a { color: var(--hc-red-deep); text-decoration: underline; text-underline-offset: 3px; }
.hc-row--obsolete td { color: var(--hc-muted); }

.hc-more { display: inline; }
.hc-more summary {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--hc-red-tint);
  color: var(--hc-red-deep);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.hc-more summary::-webkit-details-marker { display: none; }
.hc-more summary:hover { background: #f6d3d6; }
.hc-more[open] summary { margin: 0 0 6px; }
.hc-more[open] summary .hc-more-open, .hc-more:not([open]) summary .hc-more-close { display: none; }
.hc-more > span { display: block; }

.hc-empty { padding: 48px 24px; text-align: center; color: var(--hc-muted); }
.hc-empty strong { display: block; margin-bottom: 6px; font-size: 1.05rem; color: var(--hc-ink); }
.hc-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--hc-red-deep);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hc [hidden] { display: none !important; }

/* ---------- Tech Tips ---------- */

.hc-video {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--hc-radius);
  background:
    radial-gradient(60% 160% at 0% 0%, rgba(200, 16, 28, .55), transparent 62%),
    var(--hc-black);
  color: #fff;
  box-shadow: var(--hc-shadow);
}
.hc-video .hc-icon { width: 72px; height: 72px; background: #fff; color: var(--hc-red); }
.hc-video .hc-icon svg { width: 36px; height: 36px; }
.hc-video h2 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.2; }
.hc-video p { margin: 6px 0 0; max-width: 52ch; color: #f3d9db; }

.hc-sample {
  margin: 0 0 44px;
  padding: 12px 16px;
  border: 1px dashed #d3b9bc;
  border-radius: 8px;
  background: #fff;
  font-size: .9rem;
  color: var(--hc-muted);
}
.hc-sample strong { color: var(--hc-ink); }

.hc-list { margin: 0; padding: 0; list-style: none; background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: var(--hc-radius); box-shadow: var(--hc-shadow); overflow: hidden; }
.hc-list li + li { border-top: 1px solid var(--hc-line); }
.hc-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 24px;
  padding: 18px 22px;
  transition: background-color .2s var(--hc-ease);
}
.hc-item:hover { background: #fdf6f6; }
.hc-item-name { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.hc-item-text { grid-column: 1; margin: 0; font-size: .92rem; color: var(--hc-muted); max-width: 70ch; }
.hc-item-meta { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--hc-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hc-item-meta svg { width: 18px; height: 18px; color: var(--hc-red); }

.hc-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }

/* ---------- Adaptation ---------- */

@media (max-width: 900px) {
  .hc-doors { grid-template-columns: 1fr; }
  .hc-cols { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 700px) {
  .hc-bar-link { display: none; }
  .hc-hero {
    background-image:
      radial-gradient(108% 118% at 14% -30%, rgba(222, 22, 34, .8), rgba(150, 10, 20, .2) 46%, transparent 86%),
      radial-gradient(46% 60% at 106% 112%, rgba(200, 16, 28, .42), transparent 100%);
  }
  /* Sur mobile, les deux arcs ferment seulement le coin bas droit, sous le texte. */
  .hc-hero::before { width: 200px; height: 200px; right: -120px; top: auto; bottom: -150px; }
  .hc-hero::after { width: 320px; height: 320px; right: -150px; top: auto; bottom: -270px; }
  .hc-hero .hc-wrap { min-height: 220px; padding-block: 36px 60px; }
  .hc-hero--slim .hc-wrap { min-height: 0; }
  .hc-support { grid-template-columns: 1fr; }
  .hc-or { width: 100%; height: 44px; }
  .hc-or::before { inset: 50% 0 auto 0; width: auto; height: 1px; }
  .hc-video { grid-template-columns: 1fr; }
  .hc-video .hc-btn { justify-self: start; }
  .hc-item { grid-template-columns: 1fr; }
  .hc-item-meta { grid-row: auto; grid-column: 1; }
  .hc-find { max-width: none; flex-basis: 100%; }
  .hc-seg { width: 100%; }
  .hc-seg button { flex: 1 1 auto; padding-inline: 8px; font-size: .84rem; white-space: nowrap; }
}

@media (min-width: 861px) {
  .hc-table thead th { position: sticky; top: var(--hc-bar); z-index: 2; }
  .hc-table th:nth-child(3), .hc-table td:nth-child(3) { width: 22%; }
  .hc-table th:nth-child(4), .hc-table td:nth-child(4) { width: 19%; }
}

/* Tableau en fiches sous 860 px */
@media (max-width: 860px) {
  .hc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hc-table, .hc-table tbody, .hc-table tr, .hc-table td { display: block; width: 100%; }
  .hc-table tbody tr { padding: 14px 16px; }
  .hc-table tbody tr:first-child { border-top: 0; }
  .hc-table td { padding: 3px 0; }
  .hc-table td:empty { display: none; }
  .hc-table td[data-label] { position: relative; padding-left: 104px; }
  .hc-table td[data-label]::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 5px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--hc-muted);
  }
  .hc-table .hc-c-rev { text-align: left; }
  .hc-table .hc-c-desc { padding-block: 4px 6px; font-weight: 500; }
}

/* Au doigt : cibles de 44 px au moins */
@media (pointer: coarse) {
  .hc-signin { min-height: 44px; padding-inline: 18px; }
  .hc-seg button, .hc-check, .hc-sort { min-height: 44px; }
  .hc-more summary { padding: 6px 12px; }
  .hc-foot a, .hc-crumbs a, .hc-note a { display: inline-block; padding-block: 10px; }
}

/* Sans JavaScript, la liste reste lisible : on retire seulement les commandes qui ne répondraient pas. */
html:not(.hc-js) .hc-tools, html:not(.hc-js) .hc-count, html:not(.hc-js) .hc-sort svg { display: none; }

/* Contraste élevé de Windows : les fonds disparaissent, les contours prennent le relais. */
@media (forced-colors: active) {
  .hc-seg button[aria-pressed="true"] { outline: 2px solid; }
  .hc-icon, .hc-btn, .hc-tag, .hc-or span { border: 1px solid; }
}

/* Impression de la liste des documents pour l'atelier */
@media print {
  .hc-bar nav, .hc-skip, .hc-hero canvas, .hc-hero::before, .hc-hero::after, .hc-tools, .hc-count, .hc-foot ul, .hc-chevron { display: none !important; }
  body.hc, .hc-section--rose { background: #fff; }
  .hc-bar { position: static; }
  .hc-hero { background: none; color: #000; box-shadow: none; }
  .hc-hero p, .hc-crumbs { color: #000; }
  .hc-hero .hc-wrap { min-height: 0; padding-block: 16px; }
  .hc-table-box, .hc-door, .hc-panel, .hc-list { box-shadow: none; }
  .hc-table thead th { position: static; background: none; color: #000; border-bottom: 2px solid #000; }
  .hc-table tbody tr { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hc-hero canvas { animation: none; }
  .hc *, .hc *::before, .hc *::after { transition-duration: .01ms !important; }
}
