/* Briefing du Fondateur. Thème « Aube » (clair) par défaut ; thème « Nuit » quand le téléphone est en mode sombre (panneau sombre dans le cadre clair).
   Aucune couleur écrite ici : tout vient de tokens.css. Léger : pas de flou, pas d'image, pas de police ; animations = mouvement et transparence seulement,
   coupées en mode léger (classe executive-briefing--lite : animations réduites, économiseur de données, connexion lente, téléphone modeste). */
.executive-briefing{--bf-card:var(--color-surface);--bf-line:var(--color-border);--bf-text:var(--color-dashboard-ink);--bf-muted:var(--color-dashboard-muted);--bf-in:var(--color-dashboard-success);--bf-out:var(--color-dashboard-danger);--bf-pay:var(--color-dashboard-blue);--bf-point:var(--briefing-day-point);--bf-alert:var(--briefing-day-alert);--bf-chip:var(--color-dashboard-canvas);--bf-link:var(--color-dashboard-blue);width:100%;max-width:100%;min-width:0;display:grid;gap:var(--space-4);color:var(--bf-text)}
.executive-briefing *{min-width:0}
@media(prefers-color-scheme:dark){.executive-briefing{--bf-card:var(--briefing-night-card);--bf-line:var(--briefing-night-line);--bf-text:var(--briefing-night-text);--bf-muted:var(--briefing-night-muted);--bf-in:var(--briefing-night-in);--bf-out:var(--briefing-night-out);--bf-pay:var(--briefing-night-pay);--bf-point:var(--briefing-night-point);--bf-alert:var(--briefing-night-alert);--bf-chip:var(--briefing-night-chip);--bf-link:var(--briefing-night-link);padding:var(--space-3);border-radius:var(--radius-xl);background:var(--briefing-night-bg)}}

/* ---------- haut : bonjour, depuis quand, nombre de nouveautés, pastilles ---------- */
.executive-briefing__hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-4);align-items:start;padding:1.15rem 1.15rem 1rem;border-radius:var(--radius-lg);overflow:hidden;color:var(--briefing-hero-text);background:radial-gradient(120% 140% at 100% 0%,var(--briefing-hero-glow),transparent 55%),linear-gradient(160deg,var(--briefing-hero-top),var(--briefing-hero-bottom));box-shadow:0 0 0 .0625rem var(--briefing-hero-ring),var(--shadow-sm)}
.executive-briefing__hero:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,var(--briefing-hero-sheen) 50%,transparent 65%);transform:translateX(-100%);pointer-events:none}
.executive-briefing__hero>.executive-briefing__eyebrow,.executive-briefing__hero>h1,.executive-briefing__hero>p{grid-column:1/-1}
.executive-briefing__heading,.executive-briefing__hero>div{min-width:0}
.executive-briefing__eyebrow{display:block;margin-bottom:.4rem;color:var(--color-dashboard-amber);font-size:.67rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.executive-briefing__hero h1{max-width:32ch;margin:0;color:var(--briefing-hero-text);font-size:clamp(1.3rem,3vw,1.9rem);line-height:1.1;letter-spacing:-.02em;overflow-wrap:anywhere}
.executive-briefing__hero p{margin:.4rem 0 0;color:var(--briefing-hero-muted);font-size:.8rem;line-height:1.45;overflow-wrap:anywhere}
.executive-briefing__counter{flex:0 0 auto;min-width:4.6rem;padding:.55rem .65rem .5rem;border:.0625rem solid var(--briefing-hero-box-line);border-radius:var(--radius-md);background:var(--briefing-hero-box);text-align:center}
.executive-briefing__counter b{display:block;color:var(--briefing-hero-text);font-size:1.9rem;line-height:1;font-weight:900;font-variant-numeric:tabular-nums}
.executive-briefing__counter span{display:block;margin-top:.3rem;color:var(--briefing-hero-muted);font-size:.62rem;line-height:1.3}
.executive-briefing__live{display:inline-block;width:.45rem;height:.45rem;margin-right:.35rem;border-radius:50%;background:var(--briefing-live)}
.executive-briefing__chips{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.85rem}
.executive-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .65rem;border-radius:999px;background:var(--briefing-hero-box);color:var(--briefing-hero-text);font-size:.74rem;font-weight:650}
.executive-chip:before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--chip,var(--briefing-hero-muted))}
.executive-chip b{font-variant-numeric:tabular-nums}
.executive-chip--in{--chip:var(--briefing-night-in)}.executive-chip--out{--chip:var(--briefing-night-out)}.executive-chip--pay{--chip:var(--briefing-night-pay)}.executive-chip--point{--chip:var(--briefing-night-point)}

/* ---------- sections : l'argent en lignes compactes, les pointages en cartes par type ---------- */
.executive-briefing__columns{display:grid;gap:var(--space-4);min-width:0}
.executive-briefing__block{display:grid;gap:.6rem;align-content:start;min-width:0}
.executive-briefing__section{display:flex;align-items:center;gap:.5rem;margin:0;color:var(--bf-muted);font-size:.7rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.executive-briefing__section:after{content:"";flex:1;height:.0625rem;background:var(--bf-line)}
.executive-briefing__feed,.executive-briefing__points,.executive-briefing__grid{display:grid;gap:.55rem;min-width:0}
.executive-event{display:grid;grid-template-columns:.25rem minmax(0,1fr) auto;gap:.7rem;align-items:center;width:100%;padding:.7rem .9rem .7rem .7rem;border:.0625rem solid var(--bf-line);border-radius:var(--radius-md);background:var(--bf-card);content-visibility:auto;contain-intrinsic-size:auto 4rem}
.executive-event__marker{align-self:stretch;min-height:2.4rem;border-radius:999px;background:var(--tone,var(--bf-muted))}
.executive-event--entree{--tone:var(--bf-in)}.executive-event--sortie{--tone:var(--bf-out)}.executive-event--paie{--tone:var(--bf-pay)}.executive-event--pointage{--tone:var(--bf-point)}.executive-event--alerte{--tone:var(--bf-alert)}
.executive-event__main{min-width:0}
.executive-event__main h2{margin:0;color:var(--bf-text);font-size:.86rem;line-height:1.25;overflow-wrap:anywhere}
.executive-event__main p{margin:.15rem 0 0;color:var(--bf-muted);font-size:.74rem;line-height:1.3;overflow-wrap:anywhere}
.executive-event__side{text-align:right}
.executive-event__amount{display:block;color:var(--bf-text);font-size:1rem;line-height:1.15;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}
.executive-event time{display:block;margin-top:.15rem;color:var(--bf-muted);font-size:.66rem;white-space:nowrap}

/* ---------- pointages pendant votre absence ---------- */
.executive-point{position:relative;display:grid;gap:.1rem;padding:.9rem .95rem .75rem;border:.0625rem solid var(--bf-line);border-radius:var(--radius-lg);background:var(--bf-card);overflow:hidden}
.executive-point:before{content:"";position:absolute;inset:0 0 auto 0;height:.1875rem;background:linear-gradient(90deg,var(--bf-point),transparent 80%)}
.executive-point__head{display:flex;align-items:center;gap:.6rem}
.executive-point__icon{display:grid;place-items:center;flex:0 0 auto;width:1.9rem;height:1.9rem;border-radius:.65rem;background:var(--bf-chip);color:var(--bf-point)}
.executive-point__icon svg{width:1.05rem;height:1.05rem}
.executive-point h3{margin:0;color:var(--bf-text);font-size:.88rem;line-height:1.25;overflow-wrap:anywhere}
.executive-point__total{display:flex;align-items:baseline;gap:.45rem;margin:.65rem 0 .1rem;color:var(--bf-text)}
.executive-point__total b{font-size:2.1rem;line-height:1;font-weight:900;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.executive-point__total span{color:var(--bf-muted);font-size:.8rem;font-weight:650}
.executive-point__total--none{font-size:.95rem;font-weight:750;color:var(--bf-muted)}
.executive-point__meta,.executive-point__by,.executive-point__fix{margin:0;color:var(--bf-muted);font-size:.76rem;line-height:1.4;overflow-wrap:anywhere}
.executive-point__by{font-weight:650}
.executive-point__fix{margin-top:.25rem;font-size:.7rem}
.executive-point__foot{margin-top:.55rem;padding-top:.3rem;border-top:.0625rem solid var(--bf-line)}
.executive-point__open{display:inline-flex;align-items:center;gap:.4rem;min-height:var(--touch-target);padding:0 .1rem;border:0;background:transparent;color:var(--bf-text);font:inherit;font-size:.82rem;font-weight:850;cursor:pointer;white-space:nowrap}
.executive-point__open svg{width:.95rem;height:.95rem;transition:transform .2s}
.executive-point__open:hover svg{transform:translateX(.2rem)}

/* ---------- états de paie qui attendent l'accord du Fondateur ---------- */
.executive-sign{position:relative;display:grid;gap:.5rem;padding:.9rem .95rem .7rem;border:.0625rem solid var(--bf-line);border-radius:var(--radius-lg);background:var(--bf-card);overflow:hidden}
.executive-sign:before{content:"";position:absolute;inset:0 0 auto 0;height:.1875rem;background:linear-gradient(90deg,var(--bf-alert),transparent 80%)}
.executive-sign__head{display:flex;align-items:baseline;gap:.5rem;color:var(--bf-text)}
.executive-sign__head b{font-size:2rem;line-height:1;font-weight:900;font-variant-numeric:tabular-nums}
.executive-sign__head span{font-size:.86rem;font-weight:750}
.executive-sign__list{display:grid}
.executive-sign__row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:0 .8rem;align-items:center;padding:.5rem 0 .2rem;border-top:.0625rem solid var(--bf-line)}
.executive-sign__main{grid-row:1/3;align-self:start;padding-top:.15rem}
.executive-sign__main h3{margin:0;color:var(--bf-text);font-size:.86rem;line-height:1.25;overflow-wrap:anywhere}
.executive-sign__main p{margin:.12rem 0 0;color:var(--bf-muted);font-size:.74rem;line-height:1.3;overflow-wrap:anywhere}
.executive-sign__amount{align-self:end;justify-self:end;color:var(--bf-text);font-size:.98rem;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}
.executive-sign__row .executive-sign__open{grid-column:2;grid-row:2;justify-self:end}
.executive-sign__open{display:inline-flex;align-items:center;gap:.4rem;min-height:var(--touch-target);padding:0 .1rem;border:0;background:transparent;color:var(--bf-text);font:inherit;font-size:.82rem;font-weight:850;cursor:pointer;white-space:nowrap}
.executive-sign__open svg{width:.95rem;height:.95rem;transition:transform .2s}
.executive-sign__open:hover svg{transform:translateX(.2rem)}
.executive-sign__foot,.executive-sign__old{padding-top:.2rem;border-top:.0625rem solid var(--bf-line)}
.executive-sign__old{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.2rem .7rem}
.executive-sign__old p{margin:0;color:var(--bf-muted);font-size:.78rem;line-height:1.4}.executive-sign__old b{color:var(--bf-text);font-variant-numeric:tabular-nums}

/* ---------- bas de page, chargement, « à jour » ---------- */
.executive-briefing__more,.executive-briefing__device{margin:0;color:var(--bf-muted);font-size:.7rem;line-height:1.45;overflow-wrap:anywhere}
.executive-briefing__device{padding:.55rem .75rem;border-radius:var(--radius-md);background:var(--bf-chip)}
.executive-briefing__actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-3)}
.executive-briefing__history{min-height:var(--touch-target);border:0;background:transparent;color:var(--bf-link);font:inherit;font-size:.78rem;font-weight:850;cursor:pointer}
.executive-briefing__ack{min-height:3rem}
.executive-briefing__clear{display:flex;align-items:center;gap:.85rem;padding:1rem;border:.0625rem solid var(--bf-line);border-radius:var(--radius-lg);background:var(--bf-card)}
.executive-briefing__clear>span,.executive-briefing__clear-mark{display:grid;place-items:center;flex:0 0 auto;width:2.6rem;height:2.6rem;border-radius:.85rem;background:var(--color-dashboard-success-soft);color:var(--color-dashboard-success);font-weight:900}
.executive-briefing__clear strong{display:block;font-size:.9rem}.executive-briefing__clear p{margin:.2rem 0 0;color:var(--bf-muted);font-size:.78rem}
.executive-briefing__skeleton{min-height:12rem;border-radius:var(--radius-lg);background:linear-gradient(100deg,var(--bf-chip),var(--bf-card),var(--bf-chip));background-size:220% 100%;animation:executive-briefing-pulse 1.2s ease-in-out infinite}
.executive-briefing--desktop .executive-briefing__hero{padding:1.5rem 1.65rem 1.35rem}
.executive-briefing--desktop .executive-briefing__counter{min-width:7rem;padding:.8rem .8rem .7rem}
.executive-briefing--desktop .executive-briefing__counter b{font-size:2.4rem}
.executive-briefing--desktop .executive-briefing__columns{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:var(--space-5);align-items:start}
.executive-briefing--desktop .executive-briefing__columns:has(>.executive-briefing__block:only-child){grid-template-columns:minmax(0,1fr)}

/* ---------- animations très légères (mouvement + transparence) ---------- */
@keyframes executive-rise{from{opacity:0;transform:translateY(.5rem)}to{opacity:1;transform:none}}
@keyframes executive-sheen{to{transform:translateX(100%)}}
@keyframes executive-pulse{0%,100%{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.35)}}
@keyframes executive-briefing-pulse{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
.executive-briefing:not(.executive-briefing--lite) :is(.executive-briefing__hero,.executive-event,.executive-point,.executive-sign,.executive-briefing__actions){animation:executive-rise .34s ease-out both}
.executive-briefing:not(.executive-briefing--lite) .executive-briefing__hero:after{animation:executive-sheen 1.4s .25s ease-out 1 both}
.executive-briefing:not(.executive-briefing--lite) .executive-briefing__live{animation:executive-pulse 2.4s ease-in-out 3}
.executive-briefing:not(.executive-briefing--lite) :is(.executive-briefing__feed,.executive-briefing__points)>:nth-child(2){animation-delay:.06s}
.executive-briefing:not(.executive-briefing--lite) :is(.executive-briefing__feed,.executive-briefing__points)>:nth-child(3){animation-delay:.12s}
.executive-briefing:not(.executive-briefing--lite) :is(.executive-briefing__feed,.executive-briefing__points)>:nth-child(4){animation-delay:.18s}
.executive-briefing:not(.executive-briefing--lite) :is(.executive-briefing__feed,.executive-briefing__points)>:nth-child(n+5){animation-delay:.24s}
.executive-briefing--lite *{animation:none!important;transition:none!important}
.executive-briefing--lite .executive-briefing__hero:after{display:none}
@media(prefers-reduced-motion:reduce){.executive-briefing *{animation:none!important;transition:none!important}.executive-briefing__hero:after{display:none}}

/* ---------- tablette et téléphone ---------- */
@media(max-width:64rem){.executive-briefing--desktop .executive-briefing__columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:47.99rem){.executive-briefing--mobile{gap:.8rem;width:100%;max-width:100%;overflow-x:hidden}.executive-briefing--mobile .executive-briefing__hero{padding:1rem var(--space-4) 1rem}.executive-briefing--mobile .executive-briefing__hero h1{font-size:1.4rem}.executive-briefing--mobile .executive-briefing__counter b{font-size:1.7rem}
.executive-briefing__actions--mobile{position:static;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:var(--space-3);align-items:center}.executive-briefing__actions--mobile .executive-briefing__history{text-align:center}}
@media(max-width:22rem){.executive-sign__row{grid-template-columns:minmax(0,1fr)}.executive-sign__main{grid-row:auto}.executive-sign__amount,.executive-sign__row .executive-sign__open{grid-column:1;grid-row:auto;justify-self:start}.executive-briefing__actions--mobile{grid-template-columns:1fr}.executive-briefing__hero{grid-template-columns:minmax(0,1fr)}.executive-briefing__counter{justify-self:start}.executive-event{grid-template-columns:.25rem minmax(0,1fr)}.executive-event__side{grid-column:2;text-align:left}}
