
/* Centre d'aide BillXpert — parcours vérifiés sur le logiciel réel. */

.bx-help-center{--bx-help-line:rgba(96,165,250,.28)}
.bx-help-hero{padding-bottom:54px}
.bx-help-hero .site-page-lead{max-width:850px}
.bx-help-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}
.bx-help-hero-meta span{padding:7px 10px;border:1px solid var(--bx-border-subtle);border-radius:999px;background:var(--bx-accent-pale);color:var(--bx-text-dim);font-size:.78rem;font-weight:700}

.bx-help-map-section{padding-top:30px;padding-bottom:46px}
.bx-help-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bx-help-map a{position:relative;display:flex;min-height:142px;flex-direction:column;gap:8px;padding:20px;border:1px solid var(--bx-border-subtle);border-radius:var(--bx-radius-card);background:var(--bx-surface);color:var(--bx-text);box-shadow:var(--bx-shadow-card);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.bx-help-map a:hover{transform:translateY(-2px);border-color:var(--bx-border-accent);background:var(--bx-surface-soft)}
.bx-help-map strong{font-size:1.03rem}
.bx-help-map span{color:var(--bx-text-dim);font-size:.86rem;line-height:1.55}
.bx-help-map small{margin-top:auto;color:var(--bx-accent-soft);font-weight:760}

.bx-help-section-heading{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);align-items:end;gap:28px}
.bx-help-section-heading>p{margin:0;color:var(--bx-text-dim);line-height:1.7}

.bx-help-guides{display:grid;gap:14px;margin-top:32px}
.bx-help-guide{overflow:hidden;border:1px solid var(--bx-border-subtle);border-radius:var(--bx-radius-card);background:var(--bx-surface);box-shadow:0 12px 34px rgba(0,0,0,.12)}
.bx-help-guide[open]{border-color:var(--bx-border-accent)}
.bx-help-guide summary{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) 28px;align-items:center;gap:14px;min-height:78px;padding:15px 20px;cursor:pointer;list-style:none;user-select:none}
.bx-help-guide summary::-webkit-details-marker{display:none}
.bx-help-guide summary::after{content:"+";display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--bx-border-subtle);border-radius:8px;color:var(--bx-link);font-size:1.25rem;line-height:1;transition:transform .18s ease}
.bx-help-guide[open] summary::after{content:"−"}
.bx-help-guide summary:hover{background:var(--bx-accent-pale)}
.bx-help-guide summary>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:5px}
.bx-help-guide summary strong{font-size:1rem;color:var(--bx-text)}
.bx-help-guide summary small{color:var(--bx-text-muted);font-size:.78rem;font-weight:600;line-height:1.45}
.bx-help-guide-number{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--bx-accent-pale);color:var(--bx-accent-soft);font-size:.75rem;font-weight:850;letter-spacing:.06em}

.bx-help-guide-body{padding:18px 24px 28px 86px;border-top:1px solid var(--bx-border-subtle);color:var(--bx-text-dim)}
.bx-help-guide-body>p{line-height:1.75}
.bx-help-guide-body ol{display:grid;gap:9px;margin:16px 0 0;padding-left:22px}
.bx-help-guide-body li{padding-left:5px;line-height:1.65}
.bx-help-guide-body li::marker{color:var(--bx-accent-soft);font-weight:800}
.bx-help-guide-body strong{color:var(--bx-text)}
.bx-help-guide-body code{padding:2px 6px;border:1px solid var(--bx-border-subtle);border-radius:6px;background:var(--bx-input);color:var(--bx-link);font-size:.88em}
.bx-help-guide-body a{color:var(--bx-link);text-decoration:none}
.bx-help-guide-body a:hover{color:var(--bx-link-hover);text-decoration:underline}

.bx-help-path{display:inline-flex;flex-wrap:wrap;gap:5px;margin:14px 0 2px;padding:8px 11px;border:1px solid var(--bx-border-subtle);border-radius:9px;background:var(--bx-bg-soft);color:var(--bx-text-dim);font-size:.84rem}
.bx-help-proof-link{display:inline-flex;margin-top:15px;font-size:.85rem;font-weight:760}
.bx-help-small{font-size:.86rem;color:var(--bx-text-muted)}

.bx-help-note{margin-top:18px;padding:14px 16px;border-left:3px solid var(--bx-accent-soft);border-radius:0 10px 10px 0;background:var(--bx-bg-soft)}
.bx-help-note strong{display:block;margin-bottom:5px}
.bx-help-note p{margin:0;color:var(--bx-text-dim);line-height:1.65}
.bx-help-note--safe{border-left-color:var(--bx-success)}
.bx-help-note--warning{border-left-color:var(--bx-warning)}

.bx-help-example{margin-top:16px;padding:16px;border:1px solid var(--bx-border-subtle);border-radius:12px;background:var(--bx-bg-soft)}
.bx-help-example h3{margin:0 0 10px;color:var(--bx-text);font-size:.92rem}
.bx-help-example p{margin:0;line-height:1.7}
.bx-help-table-wrap{overflow-x:auto}
.bx-help-mini-table{width:100%;border-collapse:collapse;font-size:.84rem}
.bx-help-mini-table th,.bx-help-mini-table td{padding:9px 10px;border-bottom:1px solid var(--bx-border-subtle);text-align:left;white-space:nowrap}
.bx-help-mini-table th{color:var(--bx-text)}
.bx-help-mini-table td{color:var(--bx-text-dim)}
.bx-help-mini-table tfoot th{border-bottom:0}


.bx-help-support-bridge{padding-top:46px;padding-bottom:54px}
.bx-help-support-bridge .site-callout{grid-template-columns:minmax(0,1.2fr) auto;align-items:end;gap:48px;padding:42px 44px}
.bx-help-support-bridge .site-callout .site-actions{justify-content:flex-end;align-items:flex-end;flex-wrap:wrap;padding-top:18px}

/* Keep long anchors visible below the sticky public header. */
.bx-help-center section[id],.bx-help-center details[id]{scroll-margin-top:96px}

/* Messaging is the single support entry point from the public help center. */
.bx-help-center #support{border-top:1px solid var(--bx-border-subtle)}

@media(max-width:980px){
  .bx-help-map{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bx-help-section-heading{grid-template-columns:1fr;gap:10px}
  .bx-help-support-bridge .site-callout{grid-template-columns:1fr;padding:34px}
  .bx-help-support-bridge .site-callout .site-actions{justify-content:flex-start;padding-top:8px}
}

@media(max-width:680px){
  .bx-help-hero{padding-bottom:34px}
  .bx-help-map{grid-template-columns:1fr}
  .bx-help-map a{min-height:auto}
  .bx-help-guide summary{grid-template-columns:42px minmax(0,1fr) 26px;gap:10px;padding:13px 14px}
  .bx-help-guide-number{width:36px;height:36px;border-radius:9px}
  .bx-help-guide-body{padding:16px 15px 22px}
  .bx-help-path{display:flex}
}
