/* Flip is isolated. Retain ghe-live-strip.css for the working avatar and
   topbar sizing — removing that stylesheet caused the giant-image regression. */
.hc-home-top-nav[data-header-compact] .ghe-premium-stage {
  box-sizing:border-box;width:min(100%,560px);max-width:100%;min-width:0;
  margin:8px auto 12px;perspective:1400px;isolation:isolate;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-track {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%;min-width:0;transform-style:preserve-3d;
  transition:transform .6s cubic-bezier(.22,.74,.2,1);
}
.hc-home-top-nav[data-header-compact] .ghe-premium-stage[data-side="back"] .ghe-premium-track {transform:rotateY(180deg);}
.hc-home-top-nav[data-header-compact] .ghe-premium-face{
  grid-row:1;grid-column:1;position:relative;
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  max-width:100%!important;margin:0!important;
  min-height:220px;padding:12px!important;
  border-radius:20px!important;backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;overflow:hidden!important;
  display:flex!important;flex-direction:column;gap:10px!important;
  transform-style:preserve-3d;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front{
  border:1px solid #bddfe8!important;
  background:linear-gradient(155deg,#fff,#f3fbfc 65%,#eaf7fb)!important;
  box-shadow:0 8px 24px #15435a18,inset 0 1px 0 #fff!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front-kicker{
  display:flex;justify-content:space-between;align-items:center;gap:8px;
  color:#24849b;font:900 .65rem/1.15 system-ui,sans-serif;letter-spacing:.09em;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front-kicker small{
  color:#75929b;font-size:.64rem;letter-spacing:normal;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .hc-home-identity{
  display:block!important;min-width:0!important;width:100%!important;
  box-sizing:border-box!important;margin:0!important;padding:0!important;
  border:0!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .hc-profile-section{
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  padding:0!important;margin:0!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card,
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card.is-self.hc-id-card{
  box-sizing:border-box!important;max-width:100%!important;width:100%!important;
  min-width:0!important;margin:0!important;padding:4px 0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-avatar,
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-avatar.hc-avatar{
  flex:0 0 60px!important;width:60px!important;height:60px!important;
  min-width:60px!important;min-height:60px!important;max-width:60px!important;
  max-height:60px!important;overflow:hidden!important;border-radius:15px!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-avatar img{
  display:block!important;width:100%!important;max-width:100%!important;
  height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front-footer{
  display:flex;align-items:center;gap:9px;justify-content:space-between;
  margin-top:auto;min-width:0;border-top:1px solid #d6e8ed;padding-top:10px;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front-footer .hc-header-shortcuts-wrap{
  flex:1 1 auto!important;display:flex!important;min-width:0!important;
  max-width:58%!important;width:auto!important;padding:0!important;margin:0!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front-footer .hc-header-shortcuts{
  width:100%!important;min-height:43px!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-turn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  flex:0 1 auto;min-width:112px;max-width:48%;padding:8px 10px;
  color:#fff;border:2px solid #ff6e8b;border-radius:13px;
  background:linear-gradient(145deg,#ff345b,#d90c3b);
  box-shadow:0 4px 0 #b20e34,0 6px 15px #e91d4c42;
  font:950 .79rem/1 system-ui,sans-serif;white-space:nowrap;cursor:pointer;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-button-dot{
  display:inline-block;width:8px;height:8px;border-radius:50%;
  background:#fff;box-shadow:0 0 0 3px #ffffff46;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-turn b{font-size:1rem;}
.hc-home-top-nav[data-header-compact] .ghe-premium-back{
  transform:rotateY(180deg);border:1px solid #fa92a6!important;
  background:linear-gradient(145deg,#fff9fa,#fff 62%,#fff1f4)!important;
  box-shadow:0 9px 26px #d3234b25,inset 0 1px 0 #fff!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back:before{
  content:"";position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#e91947,#ff7793,#e91947);
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back-head{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  color:#b5264c;font:900 .64rem/1.1 system-ui,sans-serif;letter-spacing:.1em;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back-head button{
  min-height:34px;border:1px solid #f2cbd4;border-radius:9px;
  background:#fff;color:#ac3150;padding:6px 11px;
  font:900 .74rem/1 system-ui,sans-serif;cursor:pointer;letter-spacing:normal;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back-body{min-width:0;}
.hc-home-top-nav[data-header-compact] .ghe-premium-live{
  display:flex;flex-direction:column;gap:9px;min-width:0;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-live-title{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  color:#c4123e;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-live-title strong{
  font:950 1rem/1.1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-live-title small{
  font:.67rem/1.1 system-ui,sans-serif;color:#9b7280;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-live-led{
  display:inline-block;flex:0 0 10px;width:10px;height:10px;
  border-radius:50%;background:#ef1548;box-shadow:0 0 0 4px #ffd6e0;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-live-hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:9px;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-total{
  display:flex;align-items:center;gap:7px;min-width:0;padding:10px;
  border:1px solid #f7cbd4;border-radius:12px;
  background:linear-gradient(135deg,#ffeff3,#fff);
}
.hc-home-top-nav[data-header-compact] .ghe-premium-total b{
  color:#cb1a4a;font:950 clamp(1.5rem,6vw,2.1rem)/1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-total span{
  color:#8e5d6d;font:800 .64rem/1.15 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-distribution{
  display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;
  padding:9px 10px;border:1px solid #e2e9ec;border-radius:12px;background:#fff;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-distribution small{
  color:#718690;font:800 .66rem/1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-shifts{
  display:flex;flex-wrap:wrap;align-items:center;gap:4px;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-shift{
  --shift:#81929a;display:inline-flex;align-items:center;gap:4px;
  padding:4px 6px;border:1px solid #e3e9ec;border-radius:8px;
  background:#f7f9fa;font:900 .67rem/1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-shift b{color:var(--shift);}
.hc-home-top-nav[data-header-compact] .ghe-premium-shift span{color:#536b77;}
.hc-home-top-nav[data-header-compact] .shift-m{--shift:var(--stip-shift-m,#1985f7);}
.hc-home-top-nav[data-header-compact] .shift-j{--shift:var(--stip-shift-j,#00af69);}
.hc-home-top-nav[data-header-compact] .shift-j4{--shift:var(--stip-shift-j4,#ff9600);}
.hc-home-top-nav[data-header-compact] .shift-s{--shift:var(--stip-shift-s,#ffd400);}
.hc-home-top-nav[data-header-compact] .shift-n{--shift:var(--stip-shift-n,#111);}
.hc-home-top-nav[data-header-compact] .ghe-premium-all{
  display:flex;align-items:center;justify-content:space-between;width:100%;
  min-height:34px;padding:8px 10px;border:1px solid #f4c2cd;border-radius:10px;
  background:#fff;color:#bd2249;font:900 .76rem/1.2 system-ui,sans-serif;
  cursor:pointer;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-activity{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-activity button{
  display:flex;gap:6px;align-items:center;justify-content:space-between;
  min-width:0;padding:8px;border:1px solid #e0e9ed;border-radius:10px;
  background:white;color:#446573;font:800 .71rem/1.1 system-ui,sans-serif;
  cursor:pointer;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-activity button span{
  white-space:nowrap;text-overflow:ellipsis;overflow:hidden;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-activity button b{color:#c3214e;}
.hc-home-top-nav[data-header-compact] .ghe-premium-disclaimer{
  margin:0;text-align:center;color:#99828b;font:.59rem/1.15 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-empty{
  color:#65808c;font:.67rem/1.25 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-stage button:focus-visible{
  outline:3px solid #178da9;outline-offset:3px;
}
@media (max-width:365px) {
  .hc-home-top-nav[data-header-compact] .ghe-premium-face{padding:9px!important;}
  .hc-home-top-nav[data-header-compact] .ghe-premium-live-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);}
}
@media (prefers-reduced-motion:reduce) {
  .hc-home-top-nav[data-header-compact] .ghe-premium-track{transition:none!important;}
}


/* Flat, non-raised surfaces; 3D rotation remains strictly for switching faces. */
.hc-home-top-nav[data-header-compact] .ghe-premium-front,
.hc-home-top-nav[data-header-compact] .ghe-premium-back {
  box-shadow:none!important;
  background:#f8fcfd!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back {
  background:#fff9fb!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-turn {
  box-shadow:none!important;
  background:#e51447!important;
  border:1px solid #d81041!important;
  transform:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card,
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-avatar,
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-ghe {
  box-shadow:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-total,
.hc-home-top-nav[data-header-compact] .ghe-premium-distribution,
.hc-home-top-nav[data-header-compact] .ghe-premium-activity button {
  box-shadow:none!important;
  background:#fff!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front-footer {
  justify-content:flex-end!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front-footer .ghe-premium-turn {
  flex:0 0 auto!important;max-width:100%!important;
}

/* Home toolbar: drawer launcher left, notifications right. */
.hc-home-top-nav[data-header-compact] .hc-home-top-tools.ghe-home-topbar{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  width:100%!important;max-width:100%!important;
  justify-content:stretch!important;align-items:center!important;
  column-gap:8px!important;min-height:68px!important;
  margin:0 auto 8px!important;padding:3px 6px!important;
  background:transparent!important;box-shadow:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-home-topbar .hc-profile-bell.ghe-home-bell{
  grid-column:2;grid-row:1;justify-self:end!important;
  box-sizing:border-box!important;width:60px!important;height:60px!important;
  min-width:60px!important;min-height:60px!important;
  border:0!important;border-radius:50%!important;padding:0!important;
  background:transparent!important;box-shadow:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-home-topbar .hc-profile-bell.ghe-home-bell>span{
  font-size:2.08rem!important;line-height:1!important;filter:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-home-topbar .hc-profile-bell.ghe-home-bell>b{
  top:1px!important;right:-2px!important;
}
.hc-home-top-nav[data-header-compact] .ghe-home-topbar .ghe-home-tools-right{
  display:none!important; /* Empty former utility slot: drawer now owns these shortcuts. */
}
.hc-home-top-nav[data-header-compact].ghe-home-clean-header {
  box-shadow:none!important;border:0!important;background:transparent!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-stage,
.hc-home-top-nav[data-header-compact] .ghe-premium-track,
.hc-home-top-nav[data-header-compact] .ghe-premium-face,
.hc-home-top-nav[data-header-compact] .ghe-premium-front,
.hc-home-top-nav[data-header-compact] .ghe-premium-back {
  box-shadow:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front,
.hc-home-top-nav[data-header-compact] .ghe-premium-back{
  border:1px solid #dce9ed!important;
  background:#f9fcfd!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back{
  background:#fffafb!important;
}
@media(max-width:365px){
  .hc-home-top-nav[data-header-compact] .hc-home-top-tools.ghe-home-topbar{
    column-gap:3px!important;padding:3px 2px!important;
  }
  .hc-home-top-nav[data-header-compact] .ghe-home-topbar .hc-profile-bell.ghe-home-bell{
    width:55px!important;height:55px!important;min-width:55px!important;min-height:55px!important;
  }
}

/* Three-line shortcut access, no Shopify Menu title or drawer. */
body:not(.ghe-smart-active) .hc-home-top-nav[data-header-compact] .hc-home-top-tools.ghe-home-topbar .ghe-shortcuts-hamburger{
  box-sizing:border-box!important;grid-column:1;grid-row:1;
  justify-self:start;align-self:center;display:inline-flex!important;
  align-items:center;justify-content:center;flex:0 0 48px;
  width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
  margin:0!important;padding:9px!important;border:0!important;border-radius:9px!important;
  background:transparent!important;color:#1f5265!important;
  box-shadow:none!important;filter:none!important;
  cursor:pointer;touch-action:manipulation;
}
.hc-home-top-nav[data-header-compact] .ghe-shortcuts-lines{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:5px;width:26px;height:26px;
}
.hc-home-top-nav[data-header-compact] .ghe-shortcuts-lines i{
  box-sizing:border-box;display:block;width:26px;height:3px;
  border-radius:3px;background:currentColor;transform:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-shortcuts-hamburger:focus-visible{
  outline:3px solid #2393a8!important;outline-offset:2px!important;
}
.hc-admin-shortcuts-dialog.ghe-shortcuts-popup,
.hc-admin-shortcuts-dialog.ghe-shortcuts-popup .hc-admin-shortcuts-card{
  box-shadow:none!important;
}
@media(max-width:365px){
 .hc-home-top-nav[data-header-compact] .ghe-shortcuts-hamburger{
   width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 }
}

/* GHE 360° — scoped layout refinement; no effect on Aujourd'hui/Demain. */
.hc-home-top-nav[data-header-compact] .ghe-premium-track{
  display:block!important;position:relative;height:220px;
  transition:transform .6s cubic-bezier(.22,.74,.2,1),height .3s ease;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-face{
  position:absolute!important;top:0;left:0;grid-row:auto;grid-column:auto;
  height:auto!important;min-height:190px!important;
  padding:15px!important;gap:13px!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front{
  background:linear-gradient(145deg,#fff,#f3fafc)!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back{
  background:linear-gradient(155deg,#fff,#f5fbfd)!important;
  border-color:#d4e6ec!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back::before{
  height:2px;background:linear-gradient(90deg,#d3eaf0,#75b9d0,#d3eaf0);
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card,
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card.is-self.hc-id-card{
  display:grid!important;grid-template-columns:clamp(96px,29vw,112px) minmax(0,1fr) clamp(57px,16vw,83px)!important;
  align-items:center!important;gap:clamp(5px,1.5vw,12px)!important;
  min-height:136px!important;padding:5px 0!important;overflow:visible!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-avatar,
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-avatar.hc-avatar,
.hc-home-top-nav[data-header-compact] .ghe-premium-front .hc-id-card .hc-avatar{
  grid-column:1!important;grid-row:1!important;position:static!important;
  box-sizing:border-box!important;width:100%!important;height:auto!important;
  aspect-ratio:4 / 5!important;min-width:0!important;min-height:0!important;
  max-width:100%!important;max-height:none!important;
  border:1px solid #dbe6e9!important;border-radius:16px!important;
  background:#f4f8f9!important;overflow:hidden!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-copy{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;grid-column:2!important;grid-row:1!important;
  min-width:0!important;gap:4px!important;text-align:left!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-name{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;width:100%!important;max-width:100%!important;
  gap:0!important;white-space:normal!important;text-align:left!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-first,
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-last{
  display:block!important;width:100%!important;max-width:100%!important;overflow:hidden!important;
  white-space:nowrap!important;text-overflow:ellipsis!important;
  font-size:clamp(1.03rem,4.1vw,1.7rem)!important;line-height:1.08!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-email{
  font-size:clamp(.62rem,2.2vw,.81rem)!important;max-width:100%!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-phone{
  font-size:clamp(.77rem,2.7vw,1.06rem)!important;max-width:100%!important;
  overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-ghe{
  grid-column:3!important;grid-row:1!important;position:static!important;
  width:100%!important;min-width:0!important;min-height:76px!important;
  padding:4px!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  background:#eaf7fa!important;border-radius:12px!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .stip-person-card-ghe strong{
  font-size:clamp(1.6rem,5.5vw,2.25rem)!important;line-height:1.05!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front-footer{
  margin-top:3px!important;padding-top:10px!important;justify-content:flex-end!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-turn,
.hc-home-top-nav[data-header-compact] .ghe-premium-back-head button{
  min-height:34px!important;padding:7px 12px!important;min-width:0!important;
  border:1px solid #cde3e9!important;border-radius:99px!important;
  background:#ebf6f9!important;color:#28677c!important;
  font:850 .75rem/1.1 system-ui,sans-serif!important;box-shadow:none!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-button-dot{
  background:#e82550;box-shadow:0 0 0 3px #fce0e7;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back-head,
.hc-home-top-nav[data-header-compact] .ghe-premium-live-title{color:#245b70!important}
.hc-home-top-nav[data-header-compact] .ghe-premium-live-title small,
.hc-home-top-nav[data-header-compact] .ghe-premium-disclaimer{color:#708994!important}
.hc-home-top-nav[data-header-compact] .ghe-premium-total{
  border-color:#d5e7ed!important;background:#fff!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-total b{color:#16708b!important}
.hc-home-top-nav[data-header-compact] .ghe-premium-total span{color:#4e7180!important}
.hc-home-top-nav[data-header-compact] .ghe-premium-all{
  border-color:#cfe4eb!important;background:#fff!important;color:#206e89!important;
}
/* GHE 360° only: EN DIRECT is the only reverse-side heading. */
.hc-home-top-nav[data-header-compact] .ghe-premium-live-title{
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
  gap:10px!important;min-width:0!important;width:100%!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-live-title>strong{
  min-width:0!important;white-space:nowrap!important;color:#245b70!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back-turn{
  box-sizing:border-box!important;margin-left:auto!important;flex:0 0 38px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  padding:0!important;border:1px solid #cfe3ea!important;border-radius:12px!important;
  background:#f0f8fa!important;color:#286b80!important;cursor:pointer!important;
  font:850 1.2rem/1 system-ui,sans-serif!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back-turn:focus-visible{
  outline:3px solid #178da9!important;outline-offset:2px!important;
}



/* En direct : seulement les shifts réellement actifs ; pas de dépliage dans le 360°. */
.hc-home-top-nav[data-header-compact] .ghe-premium-face{
  height:100%!important;min-height:0!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-front .hc-home-identity{
  margin-block:auto!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-back-body{
  display:block!important;flex:1 1 auto;min-width:0;min-height:0;
  overflow:hidden!important;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now{
  display:grid;align-content:start;gap:8px;
  width:100%;min-width:0;color:#173f50;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-summary{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;min-width:0;min-height:44px;
  width:100%;font:inherit;text-align:left;cursor:pointer;
  padding:7px 11px;border:1px solid #f1c4cf;border-radius:12px;
  background:linear-gradient(110deg,#fff0f3,#fff);
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-kicker{
  display:inline-flex;align-items:center;gap:7px;min-width:0;
  color:#9f2549;font:900 clamp(.65rem,2.45vw,.78rem)/1.12 system-ui,sans-serif;
  letter-spacing:.015em;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-kicker i{
  display:block;flex:0 0 8px;width:8px;height:8px;
  border-radius:50%;background:#e71d4d;box-shadow:0 0 0 3px #ffd9e3;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-headcount{
  flex:0 0 auto;display:flex;align-items:baseline;gap:4px;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-headcount strong{
  color:#a61940;font:950 1.3rem/1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-headcount span{
  color:#6e5360;font:800 .67rem/1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-groups{
  display:grid;align-content:start;gap:5px;
  min-width:0;min-height:0;overflow:visible!important;
  padding:0!important;scrollbar-width:none;
}
.hc-home-top-nav[data-header-compact] button.ghe-premium-now-group{
  --shift:#708a98;--shift-ink:#fff;
  box-sizing:border-box;display:grid;
  grid-template-columns:32px minmax(0,1fr) 34px 14px;
  align-items:center;gap:8px;min-width:0;width:100%;min-height:45px;
  margin:0;padding:5px 7px 5px 8px;text-align:left;
  appearance:none;-webkit-appearance:none;
  border:1px solid color-mix(in srgb,var(--shift) 30%,#d9e4e8);
  border-left:5px solid var(--shift);border-radius:12px;
  background:linear-gradient(105deg,color-mix(in srgb,var(--shift) 14%,white),#fff 87%);
  cursor:pointer;touch-action:manipulation;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-group.shift-m{--shift:var(--stip-shift-m,#1985f7);}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-group.shift-j{--shift:var(--stip-shift-j,#00af69);}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-group.shift-j4{--shift:var(--stip-shift-j4,#ff9600);}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-group.shift-s{--shift:var(--stip-shift-s,#ffd400);--shift-ink:#28333d;}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-group.shift-n{--shift:var(--stip-shift-n,#111);}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-group.shift-chief{--shift:#8060b6;--shift-ink:#fff;}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-group:focus-visible{
  outline:3px solid #1988b0;outline-offset:2px;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-group:active{filter:brightness(.97);}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-code{
  display:grid;place-items:center;width:32px;height:32px;border-radius:9px;
  background:var(--shift);color:var(--shift-ink);
  font:950 1rem/1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-shift-label{
  display:grid;align-content:center;gap:2px;min-width:0;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-shift-label strong{
  display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#183c50;font:900 clamp(.82rem,3.3vw,1rem)/1.1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-shift-label small{
  display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#506b78;font:750 clamp(.63rem,2.6vw,.78rem)/1.1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-shift-count{
  display:grid;place-items:center;width:34px;min-height:28px;
  border-radius:99px;background:var(--shift);color:var(--shift-ink);
  font:950 1.06rem/1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-shift-arrow{
  color:#38576a;font:900 1.35rem/1 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-empty{
  margin:0;padding:12px;border:1px solid #d7e8eb;border-radius:12px;
  color:#416371;background:#fff;font:750 .85rem/1.3 system-ui,sans-serif;
}
.hc-home-top-nav[data-header-compact] .ghe-premium-now-source{
  margin:0;color:#617a85;text-align:center;
  font:650 .65rem/1.15 system-ui,sans-serif;
}
@media(max-width:365px){
  .hc-home-top-nav[data-header-compact] button.ghe-premium-now-group{
    grid-template-columns:30px minmax(0,1fr) 31px 10px;gap:6px;padding-inline:5px;
  }
  .hc-home-top-nav[data-header-compact] .ghe-premium-now-code{width:30px;height:30px;}
  .hc-home-top-nav[data-header-compact] .ghe-premium-now-shift-count{width:31px;}
}

/* Les collègues sont uniquement affichés dans un véritable dialogue hors carte. */
dialog.ghe-premium-now-dialog{
  position:fixed;inset:0;box-sizing:border-box;
  width:min(94vw,510px);max-width:94vw;max-height:min(84dvh,720px);
  margin:auto;padding:0;border:1px solid #bed6df;border-radius:22px;
  background:#f9fcfd;color:#193c4e;
  box-shadow:0 18px 70px #122e4450;overflow:hidden;
}
dialog.ghe-premium-now-dialog::backdrop{background:#0f263766;backdrop-filter:blur(2px);}
.ghe-premium-now-modal{
  box-sizing:border-box;display:flex;flex-direction:column;min-height:0;
  max-height:min(84dvh,720px);padding:15px;
}
.ghe-premium-now-modal-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  flex:0 0 auto;padding:3px 2px 13px;border-bottom:1px solid #dce7eb;
}
.ghe-premium-now-modal-head div{min-width:0;}
.ghe-premium-now-modal-head small{
  color:#b5214d;font:900 .7rem/1.1 system-ui,sans-serif;letter-spacing:.055em;
}
.ghe-premium-now-modal-head h2{
  margin:6px 0 3px;color:#153f53;font:950 clamp(1.25rem,5vw,1.6rem)/1.1 system-ui,sans-serif;
}
.ghe-premium-now-modal-head p{
  margin:0;color:#607a86;font:750 .8rem/1.2 system-ui,sans-serif;
}
.ghe-premium-now-modal-head button{
  display:grid;place-items:center;flex:0 0 42px;
  width:42px;height:42px;border:1px solid #dbe6eb;border-radius:13px;
  background:white;color:#21465b;font:850 1.7rem/1 system-ui,sans-serif;
  cursor:pointer;
}
.ghe-premium-now-modal-content{
  display:grid;align-content:start;gap:7px;min-height:0;
  overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;
  padding:12px 2px;touch-action:pan-y;
}
.ghe-premium-now-modal-content .ghe-premium-now-person{
  display:grid;grid-template-columns:36px minmax(0,1fr) 14px;
  align-items:center;gap:9px;min-width:0;width:100%;min-height:58px;
  padding:8px 10px;border:1px solid #dfe9ed;border-radius:12px;
  text-align:left;background:#fff;color:#244b5c;cursor:pointer;
  appearance:none;-webkit-appearance:none;
}
.ghe-premium-now-modal-content .ghe-premium-now-person-static{
  grid-template-columns:36px minmax(0,1fr);cursor:default;
}
.ghe-premium-now-modal-content .ghe-premium-now-avatar{
  display:grid;place-items:center;width:36px;height:36px;border-radius:10px;
  background:#edf3f6;color:#31556a;font:900 .82rem/1 system-ui,sans-serif;
}
.ghe-premium-now-modal-content .ghe-premium-now-identity{display:grid;gap:4px;min-width:0;}
.ghe-premium-now-modal-content .ghe-premium-now-identity strong{
  font:900 .94rem/1.1 system-ui,sans-serif;color:#173d50;overflow-wrap:anywhere;
}
.ghe-premium-now-modal-content .ghe-premium-now-identity small{
  font:750 .79rem/1.12 system-ui,sans-serif;color:#627d89;
}
.ghe-premium-now-modal-content .ghe-premium-now-chevron{
  font:900 1.35rem/1 system-ui,sans-serif;color:#6f8d9d;
}
.ghe-premium-now-modal-content .ghe-premium-now-empty{
  margin:0;padding:14px;color:#526d7c;font:750 .85rem/1.4 system-ui,sans-serif;
}
.ghe-premium-now-modal-source{
  margin:0;padding:10px 0 0;border-top:1px solid #e2ecef;
  color:#66808a;text-align:center;font:650 .7rem/1.3 system-ui,sans-serif;
}
.ghe-premium-now-modal button:focus-visible{outline:3px solid #1687ac;outline-offset:2px;}
@media(prefers-reduced-motion:reduce){
  .hc-home-top-nav[data-header-compact] .ghe-premium-now-group{transition:none!important;}
}

.ghe-premium-now-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit;}

/* Le profil reste une simple carte ; aucun bouton ni seconde face 360. */
.hc-home-top-nav[data-header-compact] .ghe-profile-static .ghe-premium-track{box-sizing:border-box!important;position:relative!important;display:block!important;height:auto!important;min-height:0!important;transform:none!important;transition:none!important;transform-style:flat!important}
.hc-home-top-nav[data-header-compact] .ghe-profile-static .ghe-premium-front{box-sizing:border-box!important;display:block!important;position:relative!important;left:auto!important;top:auto!important;grid-row:auto!important;grid-column:auto!important;height:auto!important;min-height:165px!important;overflow:visible!important;transform:none!important;backface-visibility:visible!important;padding:13px!important}
.hc-home-top-nav[data-header-compact] .ghe-profile-static{perspective:none!important;margin-bottom:13px}
.hc-home-top-nav[data-header-compact] .ghe-profile-static .ghe-premium-front-footer,.hc-home-top-nav[data-header-compact] .ghe-profile-static .ghe-premium-back{display:none!important}
.hc-home-top-nav[data-header-compact] .ghe-home-topbar .ghe-home-live-launch{box-sizing:border-box!important;grid-column:1;grid-row:1;justify-self:center;align-self:center;display:inline-flex!important;align-items:center;gap:9px;min-height:43px;padding:10px 17px;border:1px solid #ce153e;border-radius:999px;background:linear-gradient(130deg,#ed254f,#bd123b);color:#fff;font:900 15px/1 system-ui,sans-serif;box-shadow:0 6px 17px #c81f483f;cursor:pointer;white-space:nowrap;touch-action:manipulation}
.hc-home-top-nav[data-header-compact] .ghe-home-live-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px #ffffff4f}
@media(max-width:365px){.hc-home-top-nav[data-header-compact] .ghe-home-topbar .ghe-home-live-launch{padding:9px 12px;font-size:13px}}
dialog.ghe-home-live-modal{position:fixed;inset:0;box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:min(87dvh,870px);margin:auto;padding:0;border:1px solid #e5b8c5;border-radius:23px;background:#fff;color:#1b4053;box-shadow:0 23px 65px #102b3f66;overflow:hidden}
dialog.ghe-home-live-modal::backdrop{background:#152c4180;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.ghe-home-live-modal .ghe-home-live-sheet{box-sizing:border-box;display:flex;flex-direction:column;width:100%;max-width:100%;max-height:min(87dvh,870px);margin:0;padding:0}
.ghe-home-live-modal .ghe-home-live-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;background:#fff8fa;border-bottom:1px solid #f0dbe1}
.ghe-home-live-modal .ghe-home-live-head small{font-size:11px;font-weight:800;letter-spacing:.08em;color:#956676}
.ghe-home-live-modal .ghe-home-live-head h2{display:flex;align-items:center;gap:9px;font-size:22px;color:#ba1741;margin:5px 0 0}
.ghe-home-live-modal .ghe-home-live-head h2 i{width:10px;height:10px;border-radius:50%;background:#ef244e;box-shadow:0 0 0 4px #ffd5df}
.ghe-home-live-modal [data-home-live-close]{flex:none;width:42px;height:42px;border:1px solid #ebcdd7;border-radius:13px;background:#fff;font-size:25px;color:#9b2e4d;cursor:pointer}
.ghe-home-live-modal .ghe-home-live-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px 18px}
.ghe-home-live-modal .ghe-premium-now{box-sizing:border-box;width:100%;max-width:100%;gap:12px}
.ghe-home-live-modal .ghe-premium-now-groups{overflow:visible!important;max-height:none!important}

/* Trois emplacements explicites : ☰ à gauche, En direct au centre, cloche à droite. */
.hc-home-top-nav[data-header-compact] .hc-home-top-tools.ghe-home-topbar{
 grid-template-columns:minmax(0,48px) minmax(0,1fr) minmax(0,60px)!important;
}
.hc-home-top-nav[data-header-compact] .ghe-home-topbar .ghe-shortcuts-hamburger{
 grid-column:1!important;grid-row:1!important;justify-self:start!important;
}
.hc-home-top-nav[data-header-compact] .ghe-home-topbar .ghe-home-live-launch{
 grid-column:2!important;grid-row:1!important;justify-self:center!important;
 transform:translateX(-clamp(92px,28vw,132px))!important;
}
.hc-home-top-nav[data-header-compact] .ghe-home-topbar .hc-profile-bell.ghe-home-bell{
 grid-column:3!important;grid-row:1!important;justify-self:end!important;
}
@media(max-width:370px){
 .hc-home-top-nav[data-header-compact] .hc-home-top-tools.ghe-home-topbar{
  grid-template-columns:minmax(0,44px) minmax(0,1fr) minmax(0,53px)!important;
 }
 .hc-home-top-nav[data-header-compact] .ghe-home-topbar .ghe-home-live-launch{
  min-height:41px!important;padding:9px 10px!important;font-size:12px!important;
 }
}
