/* Extrait de templates/_pc_bar.html : fichier mis en cache par le navigateur. */
  .pcb { display: none; }
  @media (min-width: 1024px) {
    .pcb { display: flex; align-items: center; gap: 22px; position: sticky; top: 0; z-index: 60; height: 66px; padding: 0 max(28px, calc((100vw - 1180px) / 2));
      background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
      border-bottom: 1px solid #E7ECF3; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
    .pcb a { text-decoration: none; }
    .pcb-brand img { display: block; height: 34px; width: auto; }
    .pcb-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
    .pcb-nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px;
      color: #334155; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s ease, color .2s ease; }
    .pcb-nav a svg { width: 18px; height: 18px; flex: none; }
    .pcb-nav a:hover { background: #F1F5FD; color: #155EEF; }
    .pcb-nav a.on { background: #EEF4FF; color: #155EEF; }
    .pcb-nav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -13px; height: 3px; border-radius: 3px 3px 0 0; background: #155EEF; }
    .pcb-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #EF4444; color: #fff; font-size: 11px; font-weight: 800;
      display: inline-flex; align-items: center; justify-content: center; }
    .pcb-right { display: flex; align-items: center; gap: 10px; }
    .pcb-ic { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #E7ECF3; background: #fff; color: #0F172A;
      display: flex; align-items: center; justify-content: center; transition: border-color .2s ease, color .2s ease; }
    .pcb-ic:hover { border-color: #BFD3FB; color: #155EEF; }
    .pcb-ic svg { width: 19px; height: 19px; }
    .pcb-ic .pcb-n { position: absolute; top: -4px; right: -4px; border: 2px solid #fff; }
    .pcb-me { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 4px; border-radius: 999px; border: 1px solid #E7ECF3; background: #fff;
      color: #0F172A; font-size: 13.5px; font-weight: 700; }
    .pcb-me.on, .pcb-me:hover { border-color: #BFD3FB; background: #F5F8FF; }
    .pcb-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #EEF4FF; color: #155EEF; display: flex; align-items: center;
      justify-content: center; font-weight: 800; }
    .pcb-av img { width: 100%; height: 100%; object-fit: cover; }
    .pcb-login { height: 42px; padding: 0 18px; border-radius: 999px; background: #155EEF; color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }
    /* Sur ordinateur, la barre du haut remplace les barres du bas des pages du compte. */
    .ct-tabbar, .p-nav, .cm-nav, .l-nav { display: none !important; }
    :root[data-theme="dark"] .pcb { background: rgba(15,33,63,.94); border-bottom-color: rgba(255,255,255,.08); }
    :root[data-theme="dark"] .pcb-nav a { color: #CBD5E1; }
    :root[data-theme="dark"] .pcb-nav a:hover, :root[data-theme="dark"] .pcb-nav a.on { background: rgba(59,130,246,.18); color: #fff; }
    :root[data-theme="dark"] .pcb-ic, :root[data-theme="dark"] .pcb-me { background: #1E293B; border-color: rgba(255,255,255,.12); color: #fff; }
    :root[data-theme="dark"] .pcb-brand img { filter: brightness(0) invert(1); }
  }
  @media (min-width: 1024px) and (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pcb { background: rgba(15,33,63,.94); border-bottom-color: rgba(255,255,255,.08); }
    :root:not([data-theme="light"]) .pcb-nav a { color: #CBD5E1; }
    :root:not([data-theme="light"]) .pcb-nav a:hover, :root:not([data-theme="light"]) .pcb-nav a.on { background: rgba(59,130,246,.18); color: #fff; }
    :root:not([data-theme="light"]) .pcb-ic, :root:not([data-theme="light"]) .pcb-me { background: #1E293B; border-color: rgba(255,255,255,.12); color: #fff; }
    :root:not([data-theme="light"]) .pcb-brand img { filter: brightness(0) invert(1); }
  }
