/* Alex · barre et onglets de la charte (extrait de charte-base.css) pour les pages annexes. */
.barre,.onglets{
            --ag: #4F46E5; --ag2: #818CF8; --ag-dp: #3730A3; --ag-lt: #E0E7FF; --ag-rgb: 79,70,229;
            --ag-txt: #3730A3;
            --ink: #0B1220;
            --ink-2: #394357;
            --muted: #586176;
            --line: rgba(11,18,32,.08);
            --line-2: rgba(11,18,32,.13);
            --bg: #F5F8FC;
            --carte: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.52) 58%, rgba(238,240,255,.62));
            --carte-bord: rgba(255,255,255,.78);
            --ombre: 0 22px 46px -24px rgba(20,50,140,.45), 0 3px 10px -5px rgba(11,18,40,.10);
            --ok: #10B981;   --ok-lt: #D1FAE5;   --ok-txt: #047857;
            --warn: #F59E0B; --warn-lt: #FEF3C7; --warn-txt: #A34A08;
            --crit: #EF4444; --crit-lt: #FEE2E2; --crit-txt: #B91C1C;
            --info: #2F6BFF; --info-lt: #E0E9FF; --info-txt: #1F54DD;
            --rayon: 22px;
            --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
            --mono: ui-monospace, "SF Mono", Menlo, "Cascadia Mono", "Roboto Mono", monospace;
            --ease: cubic-bezier(.16,1,.3,1);
            /* alias de l'ancienne page (sécurité pour d'éventuels styles en ligne) */
            --kai: var(--ag); --kai-light: var(--ag-dp); --kai-soft: rgba(79,70,229,.08); --kai-tint: rgba(79,70,229,.18);
            --panel: #fff; --panel-2: #F3F7FB; --body-c: var(--ink-2); --line-soft: rgba(11,18,32,.06);
        ; font-family:var(--sans)}
.hold { max-width: 1280px; margin: 0 auto; padding-inline: clamp(16px, 3.4vw, 40px); }
.barre {
            position: relative; z-index: 40; background: rgba(255,255,255,.58);
            -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
            border-bottom: 1px solid rgba(var(--ag-rgb),.14); box-shadow: 0 1px 0 rgba(var(--ag-rgb),.05);
        }
.barre-in { display: flex; align-items: center; gap: 10px; height: 62px; }
.marque { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; min-width: 0; }
.marque .wm { font-size: 1.12rem; font-weight: 650; letter-spacing: -.045em; color: var(--ink); }
.marque .wm .s { color: #2A62F2; }
.marque .fil { color: var(--muted); font-size: .95rem; }
.barre-liens { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.barre-lien { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; font-size: .86rem; color: var(--ink-2); transition: background .2s, color .2s; white-space: nowrap; }
.barre-lien:hover { background: rgba(var(--ag-rgb),.08); color: var(--ag-dp); }
.barre-lien.retour { border: 1px solid rgba(11,18,32,.10); background: rgba(255,255,255,.7); margin-left: 6px; }
.barre-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 16%; background: #fff; margin-left: 6px;
            box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ag), 0 6px 16px -6px rgba(var(--ag-rgb),.6); }
#ancre-onglets { height: 0; }
.onglets {
            position: sticky; top: 0; z-index: 30; margin-top: clamp(24px,3vw,36px);
            background: rgba(245,248,252,.74); -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7);
            border-top: 1px solid rgba(var(--ag-rgb),.10); border-bottom: 1px solid rgba(var(--ag-rgb),.14);
        }
.onglets-in { display: flex; align-items: center; }
.onglets-defil {
            position: relative; display: flex; gap: 3px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 9px 12px; margin-inline: -12px; min-width: 0; flex: 1;
            -webkit-mask: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
        }
.onglets-defil::-webkit-scrollbar { display: none; }
.tab-btn {
            display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 9px 13px; border-radius: 999px; border: 1px solid transparent;
            background: none; cursor: pointer; font: 600 .84rem/1 var(--sans); letter-spacing: -.01em; color: var(--ink-2); white-space: nowrap;
            transition: background .2s, color .2s, box-shadow .25s, border-color .2s;
        }
.tab-btn svg.ic { width: 16px; height: 16px; opacity: .7; }
.tab-btn:hover { background: rgba(255,255,255,.75); color: var(--ink); }
.tab-btn.active {
            background: linear-gradient(180deg, #fff, rgba(255,255,255,.86)); color: var(--ag-dp); border-color: rgba(var(--ag-rgb),.24);
            box-shadow: inset 0 1px 0 #fff, 0 8px 20px -10px rgba(var(--ag-rgb),.6), 0 0 0 3px rgba(var(--ag-rgb),.08);
        }
.tab-btn.active svg.ic { opacity: 1; color: var(--ag); }
.tab-badge {
            min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
            font: 700 .68rem/1 var(--sans); font-variant-numeric: tabular-nums; color: #fff;
            background: linear-gradient(180deg, #F87171, var(--crit)); box-shadow: 0 3px 8px -3px rgba(239,68,68,.7);
        }
.tab-badge.zero { background: rgba(11,18,32,.07); color: var(--muted); box-shadow: none; }
.barre{position:sticky;top:0}
.barre *,.onglets *{box-sizing:border-box}
.barre a,.onglets a{text-decoration:none}
.barre-lien svg.ic{width:17px;height:17px}
.tab-btn svg.ic{width:16px;height:16px}
@media(max-width:760px){.barre-lien .txt{display:none}.barre-lien{padding:9px}}
svg.ic{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tab-btn svg.ic,.barre-lien svg.ic{width:16px;height:16px}
