/* Prepare native mobile layouts; page transitions belong to Sagace Loading. */
@media(max-width:767px) {
  
  
  
  
  
  
  /* Match native closed mobile groups before their controls are mounted.
     The existing bounded prepaint lifecycle releases every rule on failure. */
  html[data-sg-mobile-prepaint="internal"] :is(#sagace-edu-v4 .agents-panel:not(*),#sagace-vie-v4 .agents-panel:not(*),#sagace-coaching-v5 .coaches-panel):not(.smu-collapsible)>:is(.agents-grid,.coaches-grid,p,.agent-choice-hint,.coach-choice-hint),
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible) :is(.uni-head,.uni-sub,.uni-doors,.uni-follow,.uni-ref,.uni-note) {display:none!important}
  html[data-sg-mobile-prepaint="internal"] :is(#sagace-edu-v4 .agents-panel:not(*),#sagace-vie-v4 .agents-panel:not(*),#sagace-coaching-v5 .coaches-panel):not(.smu-collapsible)::after {content:"";display:block;height:44px;margin:10px 0}
  
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible){grid-template-columns:72px minmax(0,1fr)}
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible) .uni-visual{height:auto;min-height:144px}
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible) .uni-body{padding:12px;gap:6px}
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible) .uni-body h3{font-size:20px;line-height:1.2;margin:0}
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible) .uni-body h3::after{content:"";display:block;height:44px;margin-top:6px}
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible) .uni-all{margin:0;font-size:13px;padding:8px 10px}
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible) .uni-symbol{width:32px;height:32px;left:8px;top:8px;font-size:19px}
  html[data-sg-mobile-prepaint="internal"] #sagace-coaching-v5 .uni:not(.smu-collapsible) .uni-flag{top:48px;left:4px;right:4px;padding:4px 2px;font-size:10px;white-space:normal;text-align:center}
  html[data-sg-mobile-prepaint="studio"] #sgx-services .sgx-hero { padding:14px!important; gap:12px!important; grid-template-columns:minmax(0,1fr)!important; }
  html[data-sg-mobile-prepaint="studio"] #sgx-services .sgx-showcase { width:min(100%,320px)!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px!important; justify-self:center; align-items:start; }
  html[data-sg-mobile-prepaint="studio"] #sgx-services .sgx-example-image { display:flex!important; flex-direction:column!important; min-width:0!important; margin:0!important; border-width:3px!important; border-radius:12px!important; transform:none!important; box-shadow:none!important; background:#fff!important; }
  html[data-sg-mobile-prepaint="studio"] #sgx-services .sgx-example-image img { display:block!important; width:100%!important; height:auto!important; aspect-ratio:1!important; max-height:none!important; object-fit:contain!important; border-radius:8px!important; }
  html[data-sg-mobile-prepaint="studio"] #sgx-services .sgx-example-image figcaption { position:static!important; inset:auto!important; box-sizing:border-box!important; display:block!important; width:100%!important; max-width:100%!important; min-width:0!important; margin:0!important; padding:6px 1px 4px!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:#173a5d!important; font-size:12px!important; font-weight:650!important; line-height:1.3!important; letter-spacing:0!important; text-align:center!important; white-space:normal!important; overflow-wrap:anywhere; word-break:normal; hyphens:auto; }
  html[data-sg-mobile-prepaint="studio"] #sgx-services .sgx-hero h1 { font-size:25px!important; line-height:1.2!important; margin:0!important; }
  html[data-sg-mobile-prepaint="chat"] #sagace-chat-libre-v7-4 .hero h1 { font-size:28px!important; line-height:1.15!important; }
  html[data-sg-mobile-prepaint="chat"] #sagace-chat-libre-v7-4 .chat-shell { display:block!important; min-height:0!important; }
  html[data-sg-mobile-prepaint="chat"] #sagace-chat-libre-v7-4 .composer textarea { min-width:0!important; font-size:16px!important; }
}

/* Shared application shell. All legacy suppression is gated after JS mount. */
body.sagace-unified-app { --sgmn-dock: 0px; --sgmn-top-height: 74px; }
body.sagace-unified-app :is(#masthead,header.site-header,.sgc-nav,.sagace-site-nav-shell,[data-sagace-site-nav],.sgp-nav,.msp-top,.scd-top,.svv-top,.svp-top,.sva-top,.svs-top,.svq-top,.svb-top,.svl-top,.svf-top,.svn-top,.svd-top,.ac-nav):not(.sgmn-top) { display: none !important; }
body.sagace-unified-app .sgc-discovery-bar { display: none !important; }
#sg-unified-nav, #sg-unified-nav * { box-sizing: border-box; }
#sg-unified-nav[data-sg-mobile-only] .sgmn-top { display:none!important; }
html body #sg-unified-nav[data-sg-public-route] .sgmn-bottom,
html body #sg-unified-nav[data-sg-public-route] .sgmn-bottom[data-eyes-nav] { display:none!important; }
html body:is(.sagace-unified-app,.sagace-mobile-navigation):has(#sg-unified-nav[data-sg-public-route]) { --sgmn-dock:0px!important; --sgmn-dock-size:0px!important; padding-bottom:0!important; }
@media(max-width:767px) {
  body.sagace-mobile-navigation { --sgmn-dock:calc(92px + env(safe-area-inset-bottom,0px)); padding-bottom:var(--sgmn-dock); }
  body.sagace-mobile-navigation.sgmn-keyboard #sg-unified-nav .sgmn-bottom { display:none!important; }
}
@media print { #sg-unified-nav[data-sg-mobile-only] { display:none!important; } }
#sg-unified-nav { position: relative; z-index: 1000; color: #16355b; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.35; isolation: isolate; }
#sg-unified-nav :is(a,button) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#sg-unified-nav :is(a,button,summary):focus-visible { outline: 3px solid #1975d2; outline-offset: 3px; }
#sg-unified-nav button { appearance: none; margin: 0; font-family: inherit; font-weight: 650; cursor: pointer; text-transform: none; letter-spacing: normal; }
#sg-unified-nav [hidden] { display: none !important; }
#sg-unified-nav .sgmn-top { --ink:#09172f; --soft:#44586f; --muted:#6e7f96; --line:#dbe4f0; --blue:#1266f1; --cyan:#38bdf8; --navy:#173a5d; --teal:#267c9a; position: relative; top: auto; z-index: 1000; width: 100%; margin: 0; color: #09172f; font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; background: rgba(255,255,255,.86); border-bottom: 1px solid rgba(219,228,240,.9); box-shadow: 0 18px 50px -42px rgba(7,27,58,.6); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
#sg-unified-nav .sgmn-top-inner { max-width: 1500px; width: 100%; min-height: 74px; padding: 12px 22px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
#sg-unified-nav .sgmn-brand-hub { display: flex; align-items: center; flex: 0 0 auto; min-width: 0; overflow: visible; }
#sg-unified-nav .sgmn-brand-hub .sg-lang-row { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; overflow: visible; }
#sg-unified-nav .sgmn-brand { display: inline-flex; align-items: center; gap: 9px; color: #09172f!important; text-decoration: none; font-family: "Space Grotesk",Inter,-apple-system,sans-serif; font-weight: 700; font-size: 25px; letter-spacing: -.03em; line-height: 1.2; flex: 0 0 auto; white-space: nowrap; }
#sg-unified-nav .sgmn-brand b { display: grid; place-items: center; width: 35px; height: 35px; padding: 0; background: linear-gradient(135deg,#1266f1,#38bdf8); color: white; border-radius: 11px; font-size: 14px; font-weight: 700; letter-spacing: normal; box-shadow: 0 10px 24px -10px rgba(18,102,241,.9),inset 0 1px 0 rgba(255,255,255,.35); }
#sg-unified-nav .sgmn-desktop { display: flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; margin-inline-start: auto; gap: 16px; }
#sg-unified-nav .sgmn-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 12px; min-height: 44px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; line-height: 1.25; color: #36506e; background: transparent; text-decoration: none; font-weight: 650; text-align: center; }
#sg-unified-nav .sgmn-link:is(:hover,[aria-current="page"],[aria-expanded="true"]) { color: #0c2f63; background: #edf5fc; border-color: #dceaf7; }
#sg-unified-nav .sgmn-icon { display: block; width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
#sg-unified-nav .sgmn-tools { display: none; align-items: center; gap: 7px; margin-inline-start: auto; }
#sg-unified-nav .sgc-track { display: flex; align-items: center; flex: 0 0 auto; gap: 2px; margin: 0; padding: 4px; border: 1px solid #e2e9f3; border-radius: 999px; background: #eef2f8; }
#sg-unified-nav .sgc-track .sgmn-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 6px 13px; margin: 0; border: 0; border-radius: 999px; color: #44586f!important; background: transparent; font-size: 12.8px; font-weight: 650; line-height: 1.35; white-space: nowrap; transition: background .16s,color .16s,box-shadow .16s; }
#sg-unified-nav .sgc-track .sgmn-link:hover { color: #13294d!important; background: rgba(255,255,255,.7); }
#sg-unified-nav .sgc-track .sgmn-link[aria-current="page"] { color: #09172f!important; background: #fff; box-shadow: 0 6px 16px -10px rgba(7,27,58,.8),0 0 0 1px rgba(219,228,240,.9); }
#sg-unified-nav .sgc-track .sgmn-icon { width: 16px; height: 16px; flex: 0 0 16px; color: var(--c); stroke-width: 1.8; opacity: .9; }
#sg-unified-nav .sgc-util { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; margin: 0; padding: 0; padding-inline-start: 16px; border: 0; border-inline-start: 1px solid #dbe4f0; }
#sg-unified-nav .sgc-util .sgc-link { gap: 7px; min-height: 40px; padding: 8px 12px; border: 1px solid transparent; border-radius: 999px; color: #13294d!important; background: transparent; font-size: 13px; font-weight: 650; white-space: nowrap; }
#sg-unified-nav .sgc-util .sgc-link:hover { background: #fff; border-color: #d6e6ff; }
#sg-unified-nav .sgc-util .sgc-link[aria-current="page"] { background: #fff; border-color: #cfe0f7; }
#sg-unified-nav .sgc-util .sgmn-icon { width: 17px; height: 17px; flex: 0 0 17px; stroke-width: 1.8; }
#sg-unified-nav .sgc-util .sgc-account { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; color: #fff!important; background: linear-gradient(120deg,#173a5d,#267c9a); font-size: 12.8px; font-weight: 800; white-space: nowrap; box-shadow: 0 14px 30px -16px rgba(23,58,93,.9); transition: transform .16s,box-shadow .16s; }
#sg-unified-nav .sgc-util .sgc-account:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -18px rgba(23,58,93,.95); }
#sg-unified-nav .sgc-util .sgc-account .sgmn-icon { width: 16px; height: 16px; flex-basis: 16px; color: #fff; }
#sg-unified-nav .sgmn-desktop svg.sg-ui-vector { width: 20px!important; height: 20px!important; flex: 0 0 20px!important; }
#sg-unified-nav.sgmn-compact-msg [data-sgmn-desktop-text="messages"],#sg-unified-nav.sgmn-compact-follow [data-sgmn-desktop-text="follow"],#sg-unified-nav.sgmn-compact-pricing [data-sgmn-desktop-text="pricing"] { position: absolute!important; width: 1px!important; height: 1px!important; margin: -1px!important; padding: 0!important; border: 0!important; overflow: hidden!important; clip: rect(0 0 0 0)!important; clip-path: inset(50%)!important; white-space: nowrap!important; }
#sg-unified-nav .sgmn-context { max-width: 1500px; margin: 0 auto; padding: 10px 22px; }
#sg-unified-nav .sgmn-top .sgmn-mobile-back { display: none; }
#sg-unified-nav .sgc-discovery-bar { display: flex!important; max-width: 1500px; margin: 0 auto 12px; padding: 0 22px; }
#sg-unified-nav .sgmn-back { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 44px; padding: 8px 9px; color: #385775; border: 1px solid #dae5ef; border-radius: 11px; background: #fff; font-size: 12px; }
#sg-unified-nav[dir="rtl"] .sgmn-back .sgmn-icon { transform: scaleX(-1); }
#sg-unified-nav .sgmn-language { position: relative; flex: 0 0 auto; }
#sg-unified-nav .sgmn-language .sg-lang { display: inline-flex !important; position: relative !important; inset: auto !important; margin: 0 !important; }
#sg-unified-nav .sgmn-language-fallback { position: relative; }
#sg-unified-nav .sgmn-language-fallback summary { display: flex; align-items: center; gap: 4px; cursor: pointer; min-height: 44px; padding: 7px; font-size: 12px; list-style: none; }
#sg-unified-nav .sgmn-language-fallback summary::-webkit-details-marker { display: none; }
#sg-unified-nav .sgmn-language-fallback > div { position: absolute; top: 100%; inset-inline-start: 0; width: 150px; padding: 6px; border: 1px solid #dce6f1; border-radius: 12px; background: white; box-shadow: 0 12px 30px #16355b22; }
#sg-unified-nav .sgmn-language-fallback a { display: block; min-height: 40px; padding: 9px; color: #16355b; text-decoration: none; font-size: 14px; }
#sg-unified-nav .sgmn-language-fallback a:hover { background: #edf5fc; }
#sg-unified-nav .sgmn-bottom, #sg-unified-nav .sgmn-tablet-menu { display: none; }
#sg-unified-nav .sgmn-badge { position: absolute; inset-block-start: 1px; inset-inline-end: 3px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; background: #b42332; border: 2px solid white; color: white; font-size: 11px; line-height: 1; font-weight: 800; }
#sg-unified-nav .sgmn-dialog { color: #16355b; width: min(520px, calc(100vw - 32px)); max-height: min(80vh, 720px); max-height: min(80dvh, 720px); padding: 20px; margin: auto; border: 1px solid #dce6f1; border-radius: 22px; background: #fff; box-shadow: 0 20px 80px #082a5a30; overscroll-behavior: contain; overflow: auto; }
#sg-unified-nav .sgmn-dialog:not([open]) { display: none; }
#sg-unified-nav .sgmn-dialog::backdrop { background: #071b3da6; backdrop-filter: blur(3px); }
#sg-unified-nav .sgmn-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
#sg-unified-nav .sgmn-dialog-head h2 { margin: 0; color: #0c2f63; font-size: 22px; font-weight: 750; line-height: 1.3; }
#sg-unified-nav .sgmn-close { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid #dce6f1; border-radius: 50%; background: #f7fafd; color: #16355b; }
#sg-unified-nav .sgmn-dialog-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#sg-unified-nav .sgmn-dialog-link { justify-content: flex-start; text-align: start; padding: 16px 12px; min-height: 68px; background: #f6f9fd; border-color: #e2eaf3; font-size: 14px; gap: 12px; }
body.sgmn-dialog-open { overscroll-behavior: none; }
body.sgmn-dialog-open :is(#sgc-help-dock,.shv46-fm-trigger) { visibility: hidden !important; pointer-events: none !important; }
@media(min-width:1281px) and (max-width:1300px) {
  #sg-unified-nav .sgc-track .sgmn-link { padding-inline: 11px; font-size: 12.4px; gap: 6px; }
  #sg-unified-nav .sgmn-brand { font-size: 23px; }
}
#sg-unified-nav.sgmn-desktop-overflow .sgmn-desktop { display: none; }
#sg-unified-nav.sgmn-desktop-overflow .sgmn-tools { display: flex; }
#sg-unified-nav.sgmn-desktop-overflow .sgmn-tablet-menu { display: inline-flex; }
@media(max-width:1280px) {
  #sg-unified-nav .sgmn-desktop { display: none; }
  #sg-unified-nav .sgmn-tools { display: flex; }
  #sg-unified-nav .sgmn-tablet-menu { display: inline-flex; }
  #sg-unified-nav .sgc-discovery-bar { display: none!important; }
  #sg-unified-nav .sgmn-dialog-body { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(min-width:768px) and (max-width:1280px) {
  #sg-unified-nav .sgmn-tablet-menu { min-width: 80px; }
}
@media(max-width:767px) {
  body.sagace-unified-app { --sgmn-dock: var(--sgmn-dock-size,calc(68px + env(safe-area-inset-bottom,0px))); --sgmn-top-height: 60px; padding-bottom: var(--sgmn-dock) !important; }
  #sg-unified-nav .sgmn-top-inner { min-height: 60px; gap: 8px; padding: 7px max(12px,env(safe-area-inset-left,0px)) 7px max(12px,env(safe-area-inset-right,0px)); }
  #sg-unified-nav .sgmn-brand { font-size: 20px; gap: 5px; }
  #sg-unified-nav .sgmn-brand b { width: 31px; height: 31px; font-size: 13px; padding: 0; border-radius: 9px; }
  #sg-unified-nav .sgmn-tools { gap: 4px; }
  #sg-unified-nav .sgmn-context { display: none; }
  #sg-unified-nav .sgmn-top .sgmn-mobile-back { display: inline-flex; }
  #sg-unified-nav .sgmn-back { gap: 0; min-width: 44px; padding: 7px 5px; border-color: transparent; }
  #sg-unified-nav .sgmn-back span { font-size: 12px; }
  #sg-unified-nav .sgmn-tablet-menu { display: none; }
  #sg-unified-nav .sgmn-bottom { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); position: fixed; inset-inline: 0; bottom: 0; z-index: 1000; min-height: calc(68px + env(safe-area-inset-bottom,0px)); padding: 5px max(5px,env(safe-area-inset-right,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(5px,env(safe-area-inset-left,0px)); background: #fffffff7; border-top: 1px solid #dbe5ef; box-shadow: 0 -4px 18px #0c2f630b; backdrop-filter: blur(14px); }
  #sg-unified-nav .sgmn-bottom .sgmn-link { flex-direction: column; gap: 4px; min-width: 0; min-height: 56px; padding: 6px 1px; font-size: 12px; border-radius: 10px; line-height: 1.15; overflow-wrap: anywhere; }
  #sg-unified-nav .sgmn-bottom .sgmn-icon { width: 22px; height: 22px; flex-basis: 22px; }
  #sg-unified-nav .sgmn-bottom .sgmn-badge { inset-inline-end: calc(50% - 23px); inset-block-start: 0; }
  #sg-unified-nav .sgmn-dialog { width: calc(100vw - 16px); max-height: calc(90vh - env(safe-area-inset-top,0px)); max-height: calc(90dvh - env(safe-area-inset-top,0px)); margin: auto 8px max(8px,env(safe-area-inset-bottom,0px)); border-radius: 20px; padding: 18px 14px max(18px,env(safe-area-inset-bottom,0px)); }
  #sg-unified-nav .sgmn-dialog-head h2 { font-size: 20px; }
  #sg-unified-nav .sgmn-dialog-link { font-size: 14px; gap: 8px; padding: 12px; }
  body.sagace-unified-app :is(.spt-mbar,.sct-mbar) { bottom: calc(var(--sgmn-dock) + 12px) !important; }
  body.sagace-unified-app :is(#sagace-pro-tunnel-v1 .spt-shell.tunnel,#sagace-coaching-tunnel-v1 .sct-shell) { padding-bottom: 96px !important; }
  body.sagace-unified-app #sagace-revision .bbar { bottom: var(--sgmn-dock) !important; z-index: 990 !important; }
  body.sagace-unified-app:has(#sagace-revision .bbar) { padding-bottom: calc(var(--sgmn-dock) + 86px) !important; }
  body.sagace-unified-app #sgc-help-dock { bottom: calc(var(--sgmn-dock) + 12px) !important; }
  body.sagace-unified-app .shv46-fm-trigger { bottom: calc(var(--sgmn-dock) + 12px) !important; }
  body.sagace-unified-app .msv-toast { bottom: calc(var(--sgmn-dock) + 12px) !important; }
  body.sagace-unified-app.sgmn-keyboard #sg-unified-nav .sgmn-bottom { display: none !important; }
  body.sagace-unified-app.sgmn-keyboard { --sgmn-dock: 0px; }
}
@media(prefers-reduced-motion:reduce) { #sg-unified-nav *, #sg-unified-nav *::before, #sg-unified-nav *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { #sg-unified-nav { display:none!important; } body.sagace-unified-app { padding-bottom:0!important; } }

/* Exact official Sagace wordmark and IA badge, from active custom CSS 107. */
#sg-unified-nav{--sg-official-wordmark:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDUgODMiIGZpbGw9IiMwMDAiPjxwYXRoIGQ9Ik0yMiAwIEw3MyAwIEw3MyAxNCBMMjggMTQgTDI4IDE1IEwyMyAxNSBMMjMgMTYgTDE5IDE3IEwxOCAyMCBMMTcgMjAgTDE3IDIzIEwxNiAyMyBMMTYgMjUgTDE3IDI1IEwxNyAyOSBMMTggMjkgTDIwIDMyIEwyMiAzMiBMMjIgMzMgTDI1IDMzIEwyNSAzNCBMNTkgMzQgTDU5IDM1IEw2MiAzNSBMNjIgMzYgTDY3IDM3IEw2OCAzOSBMNzAgMzkgTDcwIDQwIEw3NSA0NCBMNzUgNDYgTDc2IDQ2IEw3NiA0OCBMNzcgNDggTDc3IDUwIEw3OCA1MCBMNzkgNjEgTDc4IDYxIEw3OCA2NSBMNzcgNjUgTDc3IDY4IEw3NiA2OCBMNzUgNzIgTDc0IDcyIEw2OSA3OCBMNjcgNzggTDY3IDc5IEw2NSA3OSBMNjUgODAgTDYzIDgwIEw2MyA4MSBMNTkgODEgTDU5IDgyIEw5IDgyIEw5IDgzIEwyIDgzIEwxIDY4IEw1NSA2OCBMNTUgNjcgTDU4IDY3IEw1OCA2NiBMNjIgNjMgTDYyIDYxIEw2MyA2MSBMNjMgNTQgTDYyIDU0IEw2MiA1MiBMNjEgNTIgTDYwIDUwIEw1NiA0OSBMNTYgNDggTDIxIDQ4IEwyMSA0NyBMMTcgNDcgTDE3IDQ2IEwxNSA0NiBMMTUgNDUgTDkgNDMgTDkgNDIgTDQgMzggTDQgMzYgTDIgMzUgTDIgMzIgTDEgMzIgTDEgMjcgTDAgMjcgTDIgMTQgTDMgMTQgTDMgMTIgTDYgMTAgTDYgOCBMOSA3IEwxMSA0IEwxMyA0IEwxMyAzIEwxNSAzIEwxNSAyIEwxOCAyIEwxOCAxIEwyMiAxIFoiLz48cGF0aCBkPSJNMTU2IDAgTDE1OCAwIEwxNTggMSBMMTYwIDIgTDE2MCA0IEwxNjIgNSBMMTYzIDkgTDE2NSAxMCBMMTY2IDE0IEwxNjggMTUgTDE2OCAxNyBMMTcwIDE4IEwxNzIgMjQgTDE3NCAyNSBMMTc0IDI3IEwxNzYgMjggTDE3NiAzMCBMMTc4IDMxIEwxODAgMzcgTDE4MiAzOCBMMTgzIDQyIEwxODUgNDMgTDE4NSA0NSBMMTg3IDQ2IEwxODggNTAgTDE5MCA1MSBMMTkxIDU1IEwxOTMgNTYgTDE5NCA2MCBMMTk2IDYxIEwxOTcgNjUgTDE5OSA2NiBMMjAwIDcwIEwyMDIgNzEgTDIwMyA3NSBMMjA1IDc2IEwyMDUgNzggTDIwNiA3OCBMMjA2IDgwIEwyMDcgODAgTDIwOCA4MiBMMTkyIDgyIEwxOTIgODMgTDE5MSA4MyBMMTkxIDgyIEwxODkgODEgTDE4OCA3NyBMMTg2IDc2IEwxODUgNzIgTDE4MyA3MSBMMTgyIDY3IEwxODAgNjYgTDE3OSA2MiBMMTc3IDYxIEwxNzYgNTcgTDE3NCA1NiBMMTczIDUyIEwxNzEgNTEgTDE3MCA0NyBMMTY4IDQ2IEwxNjggNDQgTDE2NiA0MyBMMTY1IDM5IEwxNjMgMzggTDE2MyAzNiBMMTYyIDM2IEwxNjIgMzQgTDE2MCAzMyBMMTYwIDMxIEwxNTkgMzEgTDE1OCAyOCBMMTU3IDI4IEwxNTcgMjkgTDE1NSAzMCBMMTU1IDMyIEwxNTMgMzMgTDE1MiAzNyBMMTUxIDM3IEwxNTAgNDAgTDE0OCA0MSBMMTQ3IDQ1IEwxNDUgNDYgTDE0NCA1MCBMMTQyIDUxIEwxNDEgNTUgTDE0MCA1NSBMMTM5IDU4IEwxMzcgNTkgTDEzNiA2MyBMMTM0IDY0IEwxMzQgNjYgTDEzMiA2NyBMMTMxIDcxIEwxMzAgNzEgTDEyOSA3NCBMMTI3IDc1IEwxMjYgNzkgTDEyNCA4MCBMMTI0IDgyIEwxMjMgODIgTDEyMyA4MyBMMTIyIDgzIEwxMjIgODIgTDEwNiA4MiBMMTA2IDgxIEwxMDggODAgTDEwOSA3NiBMMTExIDc1IEwxMTIgNzEgTDExNCA3MCBMMTE1IDY2IEwxMTcgNjUgTDExNyA2MyBMMTE5IDYyIEwxMTkgNjAgTDEyMSA1OSBMMTIxIDU3IEwxMjIgNTcgTDEyMyA1MyBMMTI1IDUyIEwxMjYgNDggTDEyNyA0OCBMMTI4IDQ1IEwxMzAgNDQgTDEzMSA0MCBMMTMyIDQwIEwxMzMgMzcgTDEzNSAzNiBMMTM2IDMyIEwxMzcgMzIgTDEzOCAyOSBMMTQwIDI4IEwxNDEgMjQgTDE0MiAyNCBMMTQzIDIxIEwxNDUgMjAgTDE0NSAxOCBMMTQ2IDE4IEwxNDYgMTYgTDE0OCAxNSBMMTQ5IDExIEwxNTAgMTEgTDE1MSA4IEwxNTMgNyBMMTUzIDUgTDE1NCA1IEwxNTQgMyBMMTU1IDMgWiIvPjxwYXRoIGQ9Ik0yNzEgMCBMMzA5IDAgTDMwOSAxIEwzMTUgMSBMMzE1IDMgTDMxNCAzIEwzMTMgOSBMMzEyIDkgTDMxMiAxMSBMMzExIDExIEwzMTEgMTQgTDMwNyAxNCBMMzA3IDE1IEwzMDIgMTUgTDMwMiAxNCBMMjk0IDE0IEwyOTQgMTUgTDI4MiAxNSBMMjgyIDE0IEwyNzYgMTQgTDI3NiAxNSBMMjcwIDE1IEwyNzAgMTYgTDI2NSAxNyBMMjY1IDE4IEwyNjMgMTggTDI2MiAyMCBMMjYwIDIwIEwyNjAgMjEgTDI1NyAyMyBMMjU3IDI1IEwyNTQgMjcgTDI1NCAyOSBMMjUzIDI5IEwyNTMgMzEgTDI1MiAzMSBMMjUyIDM0IEwyNTEgMzQgTDI1MSAzOSBMMjUwIDM5IEwyNTAgNDUgTDI1MSA0NSBMMjUxIDQ5IEwyNTIgNDkgTDI1MiA1MiBMMjUzIDUyIEwyNTQgNTYgTDI1NSA1NiBMMjU1IDU3IEwyNTggNTkgTDI1OCA2MSBMMjYwIDYxIEwyNjIgNjQgTDI2NCA2NCBMMjY0IDY1IEwyNjYgNjUgTDI2NiA2NiBMMjY4IDY2IEwyNjggNjcgTDI3MiA2NyBMMjcyIDY4IEwzMDMgNjggTDMwMyA0OSBMMjc5IDQ5IEwyNzkgNDYgTDI4MCA0NiBMMjgxIDQwIEwyODIgNDAgTDI4MiAzNyBMMjgzIDM3IEwyODMgMzUgTDMxOCAzNSBMMzE4IDM2IEwzMTcgMzYgTDMxNyA3MSBMMzE4IDcxIEwzMTcgODIgTDMwMSA4MiBMMzAxIDgzIEwyOTUgODMgTDI5NSA4MiBMMjc5IDgyIEwyNzkgODMgTDI3NSA4MyBMMjc1IDgyIEwyNjcgODIgTDI2NyA4MSBMMjYxIDgwIEwyNjEgNzkgTDI1OSA3OSBMMjU5IDc4IEwyNTMgNzYgTDI1MyA3NSBMMjUyIDc1IEwyNTEgNzMgTDI0OSA3MyBMMjQ5IDcyIEwyNDMgNjcgTDI0MyA2NSBMMjQxIDY0IEwyNDEgNjIgTDI0MCA2MiBMMjM4IDU2IEwyMzcgNTYgTDIzNyA1MyBMMjM2IDUzIEwyMzYgNDkgTDIzNSA0OSBMMjM1IDM1IEwyMzYgMzUgTDIzNiAzMSBMMjM3IDMxIEwyMzggMjUgTDIzOSAyNSBMMjQwIDIxIEwyNDIgMjAgTDI0MiAxOCBMMjQ0IDE3IEwyNDQgMTUgTDI0NSAxNSBMMjUwIDkgTDI1MiA5IEwyNTMgNyBMMjU1IDcgTDI1NiA1IEwyNTggNSBMMjU4IDQgTDI2MCA0IEwyNjAgMyBMMjY2IDIgTDI2NiAxIEwyNzEgMSBaIi8+PHBhdGggZD0iTTM5NCAwIEwzOTcgMCBMMzk5IDYgTDQwMSA3IEw0MDIgMTEgTDQwNCAxMiBMNDA0IDE0IEw0MDUgMTQgTDQwNSAxNiBMNDA3IDE3IEw0MDggMjEgTDQxMCAyMiBMNDExIDI2IEw0MTIgMjYgTDQxMyAyOSBMNDE1IDMwIEw0MTYgMzQgTDQxOCAzNSBMNDE5IDM5IEw0MjEgNDAgTDQyMiA0NCBMNDI0IDQ1IEw0MjUgNDkgTDQyNyA1MCBMNDI4IDU0IEw0MzAgNTUgTDQzMSA1OSBMNDMzIDYwIEw0MzQgNjQgTDQzNiA2NSBMNDM3IDY5IEw0MzkgNzAgTDQzOSA3MiBMNDQwIDcyIEw0NDAgNzQgTDQ0MiA3NSBMNDQyIDc3IEw0NDMgNzcgTDQ0MyA3OSBMNDQ0IDc5IEw0NDUgODIgTDQyOCA4MyBMNDI4IDgxIEw0MjcgODEgTDQyNiA3OCBMNDI1IDc4IEw0MjUgNzYgTDQyNCA3NiBMNDIzIDczIEw0MjEgNzIgTDQyMCA2OCBMNDE4IDY3IEw0MTcgNjMgTDQxNSA2MiBMNDEzIDU2IEw0MTEgNTUgTDQxMCA1MSBMNDA4IDUwIEw0MDcgNDYgTDQwNSA0NSBMNDA0IDQxIEw0MDIgNDAgTDQwMSAzNiBMNDAwIDM2IEwzOTkgMzMgTDM5NyAzMiBMMzk2IDI4IEwzOTQgMjggTDM5NCAzMCBMMzkzIDMwIEwzOTIgMzMgTDM5MCAzNCBMMzg5IDM4IEwzODcgMzkgTDM4NiA0MyBMMzg0IDQ0IEwzODMgNDggTDM4MSA0OSBMMzgxIDUxIEwzODAgNTEgTDM3OSA1NCBMMzc4IDU0IEwzNzggNTYgTDM3NyA1NiBMMzc2IDU5IEwzNzQgNjAgTDM3MyA2NCBMMzcxIDY1IEwzNzAgNjkgTDM2OSA2OSBMMzY4IDcyIEwzNjYgNzMgTDM2NSA3NyBMMzYzIDc4IEwzNjIgODIgTDM0NCA4MyBMMzQ0IDgxIEwzNDYgODAgTDM0NiA3OCBMMzQ3IDc4IEwzNDcgNzYgTDM0OSA3NSBMMzUwIDcxIEwzNTIgNzAgTDM1MyA2NiBMMzU1IDY1IEwzNTYgNjEgTDM1OCA2MCBMMzU5IDU2IEwzNjAgNTYgTDM2MSA1MyBMMzYzIDUyIEwzNjQgNDggTDM2NiA0NyBMMzY3IDQzIEwzNjkgNDIgTDM2OSA0MCBMMzcxIDM5IEwzNzMgMzMgTDM3NCAzMyBMMzc1IDMwIEwzNzcgMjkgTDM3OCAyNSBMMzgwIDI0IEwzODEgMjAgTDM4MyAxOSBMMzg0IDE1IEwzODUgMTUgTDM4NiAxMiBMMzg4IDExIEwzODkgNyBMMzkxIDYgTDM5MSA0IEwzOTIgNCBMMzkyIDIgTDM5MyAyIFoiLz48cGF0aCBkPSJNNTA0IDAgTDU0MiAwIEw1NDIgMSBMNTQ1IDEgTDU0NSAxMiBMNTQ0IDEyIEw1NDQgMTQgTDU0MCAxNCBMNTQwIDE1IEw1MjkgMTUgTDUyOSAxNCBMNTI3IDE0IEw1MjcgMTUgTDUyMiAxNSBMNTIyIDE0IEw1MjAgMTQgTDUyMCAxNSBMNTAzIDE1IEw1MDMgMTYgTDUwMCAxNiBMNTAwIDE3IEw0OTYgMTggTDQ5NSAyMCBMNDkzIDIwIEw0OTMgMjEgTDQ4OSAyNCBMNDg5IDI2IEw0ODcgMjcgTDQ4NyAyOSBMNDg2IDI5IEw0ODYgMzEgTDQ4NSAzMSBMNDg1IDMzIEw0ODQgMzMgTDQ4NCAzNyBMNDgzIDM3IEw0ODMgNDcgTDQ4NCA0NyBMNDg0IDUxIEw0ODUgNTEgTDQ4NiA1NSBMNDg4IDU2IEw0ODggNTggTDQ4OSA1OCBMNDkzIDYzIEw0OTUgNjMgTDQ5NSA2NCBMNDk4IDY1IEw0OTggNjYgTDUwNCA2NyBMNTA0IDY4IEw1NDUgNjggTDU0NSA4MiBMNTQ0IDgyIEw1NDQgODMgTDU0MyA4MyBMNTQzIDgyIEw1MDAgODIgTDUwMCA4MSBMNDkzIDgwIEw0OTMgNzkgTDQ4NyA3NyBMNDg1IDc0IEw0ODMgNzQgTDQ4MyA3MyBMNDgyIDczIEw0ODIgNzIgTDQ4MSA3MiBMNDgxIDcxIEw0NzUgNjYgTDQ3NSA2NCBMNDczIDYzIEw0NzMgNjEgTDQ3MiA2MSBMNDcyIDU5IEw0NzEgNTkgTDQ3MSA1NyBMNDcwIDU3IEw0NjkgNTEgTDQ2OCA1MSBMNDY4IDMzIEw0NjkgMzMgTDQ2OSAyOSBMNDcwIDI5IEw0NzAgMjYgTDQ3MSAyNiBMNDczIDIwIEw0NzQgMjAgTDQ3NSAxNyBMNDc2IDE3IEw0NzYgMTYgTDQ3NyAxNiBMNDc3IDE1IEw0NzggMTUgTDQ3OCAxNCBMNDc5IDE0IEw0ODQgOCBMNDg2IDggTDQ4NyA2IEw0ODkgNiBMNDg5IDUgTDQ5NSAzIEw0OTUgMiBMNTA0IDEgWiIvPjxwYXRoIGQ9Ik01ODIgMCBMNjQ0IDAgTDY0NCAxIEw2NDUgMSBMNjQ1IDIgTDY0NCAyIEw2NDQgMyBMNjQ1IDMgTDY0NSAxMiBMNjQ0IDEyIEw2NDUgMTQgTDYwOSAxNCBMNjA5IDE1IEw2MDIgMTUgTDYwMiAxNCBMNTk5IDE1IEw1OTkgMTQgTDU5OCAxNCBMNTk4IDE1IEw1OTcgMTUgTDU5NyAzNCBMNjM4IDM0IEw2MzggNDcgTDYzNyA0NyBMNjM3IDQ4IEw1OTcgNDggTDU5NyA2OCBMNjQ0IDY4IEw2NDQgNjkgTDY0NSA2OSBMNjQ1IDc4IEw2NDQgNzggTDY0NCA4MiBMNjE2IDgyIEw2MTYgODMgTDYwOCA4MyBMNjA4IDgyIEw1ODQgODMgTDU4NCA4MiBMNTgzIDgyIEw1ODMgODMgTDU4MiA4MyBaIi8+PC9zdmc+");--sg-official-ia:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJibHVlIiB4Mj0iMSIgeTI9IjEiPjxzdG9wIHN0b3AtY29sb3I9IiMxMjY2ZjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMzOGJkZjgiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSI5IiBmaWxsPSJ1cmwoI2JsdWUpIi8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTkuMyAxMC42aDIuM3YxMC44SDkuM3pNMTcuMSAxMC42aDIuNmw0IDEwLjhoLTIuNWwtLjgtMi4zaC00LjJsLS44IDIuM2gtMi40em0tLjMgNi42aDNsLTEuNS00LjR6IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=");}
@supports ((mask-image:linear-gradient(#000,#000)) or (-webkit-mask-image:linear-gradient(#000,#000))){
#sg-unified-nav .sgmn-brand{
  display:inline-flex!important;position:relative!important;align-items:center!important;
  justify-content:flex-start!important;flex:0 0 auto!important;gap:8px!important;
  width:auto!important;min-width:0!important;max-width:100%!important;
  height:36px!important;min-height:36px!important;padding:0!important;
  font-size:0!important;line-height:1!important;letter-spacing:0!important;
  white-space:nowrap!important;text-indent:0!important;text-decoration:none!important;
  direction:ltr!important;unicode-bidi:isolate!important;
}
#sg-unified-nav .sgmn-brand > :is(span,b,i,small,strong,img,svg){
  position:absolute!important;width:1px!important;height:1px!important;
  min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;border:0!important;box-shadow:none!important;
}
#sg-unified-nav .sgmn-brand::after{
  content:""!important;position:static!important;display:block!important;order:1!important;
  flex:0 0 auto!important;width:var(--sg-official-logo-width,130px)!important;
  height:20px!important;margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;transform:none!important;
  background:currentColor!important;opacity:1!important;
  -webkit-mask-image:var(--sg-official-wordmark)!important;mask-image:var(--sg-official-wordmark)!important;
  -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;mask-position:center!important;
  -webkit-mask-size:contain!important;mask-size:contain!important;
}
#sg-unified-nav .sgmn-brand::before{
  content:""!important;position:static!important;display:block!important;order:2!important;
  flex:0 0 var(--sg-official-badge-size,32px)!important;
  width:var(--sg-official-badge-size,32px)!important;height:var(--sg-official-badge-size,32px)!important;
  min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;
  background:var(--sg-official-ia) center/contain no-repeat!important;opacity:1!important;
  -webkit-mask:none!important;mask:none!important;
}
@media(max-width:600px){#sg-unified-nav .sgmn-brand{--sg-official-logo-width:114px;--sg-official-badge-size:28px;gap:7px!important}}
@media(forced-colors:active){
#sg-unified-nav .sgmn-brand{font-size:20px!important;gap:6px!important}
#sg-unified-nav .sgmn-brand > :is(span,b,i,small,strong){position:static!important;width:auto!important;height:auto!important;margin:0!important;clip:auto!important;clip-path:none!important;overflow:visible!important;font-size:inherit!important}
#sg-unified-nav .sgmn-brand::after,#sg-unified-nav .sgmn-brand::before{display:none!important}
}
}

/* Optional mobile content layer. Desktop content remains in its original layout. */
.smc-toggle,.smc-pagination{display:none!important}
@media(max-width:767px){
  body.sagace-unified-app .smc-toggle,body.sagace-unified-app .smc-page-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #cad9e9;border-radius:12px;background:#fff;color:#123a62;font:600 14px/1.35 Inter,system-ui,sans-serif;text-align:center;white-space:normal;cursor:pointer;box-sizing:border-box}
  body.sagace-unified-app .smc-toggle{margin:10px 0;gap:8px}
  body.sagace-unified-app .smc-toggle::after{content:'+';font-size:20px;line-height:1}
  body.sagace-unified-app .smc-toggle[aria-expanded=true]::after{content:'−'}
  body.sagace-unified-app [data-smc-disclosure]:not(.smc-expanded) .smc-detail{display:none!important}
  body.sagace-unified-app .smc-toggle:focus-visible,body.sagace-unified-app .smc-page-button:focus-visible{outline:3px solid #1266f1;outline-offset:3px}
  body.sagace-unified-app .smc-pagination{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin:14px 0;direction:inherit}
  body.sagace-unified-app .smc-pagination[hidden]{display:none!important}
  body.sagace-unified-app .smc-page-button{flex:0 1 auto;min-width:84px}
  body.sagace-unified-app .smc-page-button:disabled{opacity:.45;cursor:default}
  body.sagace-unified-app .smc-page-status{font:600 14px/1.4 Inter,system-ui,sans-serif;color:#44586f;text-align:center;white-space:nowrap}
  body.sagace-unified-app [data-smc-page-hidden]{display:none!important}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  body.sagace-unified-app #sagace-mon-suivi-v1 .msv-hero{gap:12px;margin-bottom:18px}
  body.sagace-unified-app #sagace-mon-suivi-v1 .msv-section{margin-top:22px;margin-bottom:22px}
  body.sagace-unified-app #sagace-mon-suivi-v1 .msv-sechead{gap:8px;margin-bottom:12px}
}

/* Dashboard history only; all original content remains visible on desktop. */
#sagace-coaching-tunnel-v1 .sjc-toggle{display:none!important}
@media(max-width:767px){
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sjc-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;margin:10px 0 0;padding:10px 14px;border:1px solid #c6d8e7;border-radius:12px;background:#fff;color:#123a62;font:600 14px/1.4 Inter,system-ui,sans-serif;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer;box-sizing:border-box}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sjc-toggle:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sjc-toggle::after{content:'+';flex:0 0 auto;font-size:20px;line-height:1}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sjc-toggle[aria-expanded=true]::after{content:'−'}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sjc-journal:not(.sjc-expanded) > .sjc-older-entry{display:none!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sjc-why:not(.sjc-expanded) > .sjc-why-text{display:none!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sjc-why .sjc-toggle{margin:0 0 10px}
}

/* Education session rows: the existing progress and resume action share a row. */
@media(max-width:767px){
  body.sagace-unified-app #sagace-mon-suivi-v1 #msv-education .msv-row{
    grid-template-columns:32px minmax(0,1fr) minmax(80px,44%);
    grid-template-rows:auto auto;
    align-items:center;
    gap:6px 8px;
    padding:10px;
  }
  body.sagace-unified-app #sagace-mon-suivi-v1 #msv-education .msv-row>.msv-av{
    grid-column:1;grid-row:1;align-self:start;
    width:32px;height:32px;border-radius:10px;
  }
  body.sagace-unified-app #sagace-mon-suivi-v1 #msv-education .msv-row>div:nth-child(2){
    grid-column:2/-1;grid-row:1;min-width:0;
  }
  body.sagace-unified-app #sagace-mon-suivi-v1 #msv-education .msv-row b.msv-titre{
    white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;
    font-size:14px;line-height:1.35;
  }
  body.sagace-unified-app #sagace-mon-suivi-v1 #msv-education .msv-row>.msv-prog{
    grid-column:2;grid-row:2;justify-items:start;
    width:100%;min-width:0;font-size:11px;line-height:1.3;
  }
  body.sagace-unified-app #sagace-mon-suivi-v1 #msv-education .msv-row>.msv-acts{
    grid-column:3;grid-row:2;justify-content:flex-end;
    min-width:0;margin:0;padding:0;
  }
  body.sagace-unified-app #sagace-mon-suivi-v1 #msv-education .msv-row .msv-btn{
    min-height:44px;max-width:100%;padding:9px 12px;
    white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.35;
  }
}

/* Mobile application shell v3. Desktop navigation and official brand remain unchanged. */
@media(max-width:767px) {
  body.sagace-unified-app #sg-unified-nav .sgmn-top,
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom { background:#fff!important; backdrop-filter:none!important; -webkit-backdrop-filter:none!important; }
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom { grid-template-columns:repeat(6,minmax(0,1fr)); padding-inline:max(2px,env(safe-area-inset-left,0px)); box-shadow:0 -2px 14px #1535520b; }
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link { gap:5px; font-size:12px; font-weight:700; border:0; border-radius:13px; white-space:normal; overflow-wrap:normal; }
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link span:not(.sgmn-badge) { color:inherit!important; }
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link[aria-current] { color:#0c2f63; background:#edf5fc; }
  body.sagace-unified-app #sg-unified-nav[data-mobile-panel] .sgmn-bottom .sgmn-link[aria-current]:not([aria-expanded=true]) { background:transparent; color:#36506e; }
  body.sagace-unified-app #sg-unified-nav .sgmn-dialog, #sg-unified-nav .sgmn-dialog[data-panel=universes] { width:calc(100% - 16px); max-width:500px; max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); margin:auto; padding:0; border-radius:22px; overscroll-behavior:contain; scroll-behavior:auto; }
  body.sagace-unified-app #sg-unified-nav .sgmn-dialog::backdrop, #sg-unified-nav .sgmn-dialog[data-panel=universes]::backdrop { backdrop-filter:none; background:#071b3d99; }
  body.sagace-unified-app #sg-unified-nav .sgmn-dialog-head, #sg-unified-nav .sgmn-dialog[data-panel=universes] .sgmn-dialog-head { position:sticky; top:0; z-index:2; padding:14px 16px 10px; margin:0; background:#fff; border-bottom:1px solid #edf2f8; }
  body.sagace-unified-app #sg-unified-nav .sgmn-dialog-head h2, #sg-unified-nav .sgmn-dialog[data-panel=universes] .sgmn-dialog-head h2 { font-size:21px; line-height:1.25; }
  body.sagace-unified-app #sg-unified-nav .sgmn-dialog-body, #sg-unified-nav .sgmn-dialog[data-panel=universes] .sgmn-dialog-body { display:block; padding:14px 16px 18px; }
  body.sagace-unified-app #sg-unified-nav .sgmn-dialog[data-panel=menu] .sgmn-dialog-body { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
  body.sagace-unified-app #sg-unified-nav .sgmn-dialog-link { min-height:54px; width:100%; padding:12px 14px; font-size:15px; text-align:start; }
  #sg-unified-nav .sgmn-service-search { display:block; margin:0 0 12px; }
  #sg-unified-nav .sgmn-service-search input { box-sizing:border-box; width:100%; min-width:0; min-height:48px; padding:10px 14px; border:1px solid #d8e3ee; border-radius:13px; background:#f7fafd; color:#193c60; font:inherit; font-size:16px; }
  #sg-unified-nav .sgmn-service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #sg-unified-nav .sgmn-service-card { display:block; overflow:hidden; min-width:0; border:1px solid #dfe8f0; border-radius:16px; background:#fff; color:#183b60!important; text-decoration:none; box-shadow:0 3px 10px #12345b06; }
  #sg-unified-nav .sgmn-universe-view { position:relative; display:block; width:100%; aspect-ratio:1.58; padding:0!important; overflow:hidden; isolation:isolate; border-radius:var(--sgmn-frame-radius,3px); background:#0c1216; direction:ltr; }
  #sg-unified-nav .sgmn-universe-view img { position:absolute; inset:0; display:block; width:100%; height:100%; max-width:none; aspect-ratio:auto; object-fit:fill; margin:0; padding:0; border:0; border-radius:0; transform-origin:0 0; user-select:none; }
  #sg-unified-nav .sgmn-universe-clean { position:absolute; right:.6%; top:1.3%; width:8.4%; height:10.6%; z-index:1; pointer-events:none; mask-image:linear-gradient(90deg,transparent,#000 8%,#000 96%,transparent),linear-gradient(transparent,#000 10%,#000 92%,transparent); -webkit-mask-composite:source-in; mask-composite:intersect; }
  #sg-unified-nav .sgmn-universe-clean img { right:auto; bottom:auto; }
  #sg-unified-nav .sgmn-service-chat { grid-column:1/-1; display:flex; align-items:center; gap:12px; min-height:64px; padding:12px 14px; }
  #sg-unified-nav .sgmn-service-chat>.sgmn-icon { width:28px; height:28px; flex:0 0 28px; }
  #sg-unified-nav .sgmn-service-chat>.sgmn-service-copy { padding:0; }
  #sg-unified-nav .sgmn-service-card[hidden] { display:none!important; }
  #sg-unified-nav .sgmn-service-copy { display:block; padding:10px 11px 12px; }
  #sg-unified-nav .sgmn-service-card strong { display:block; color:#183b60!important; font-size:clamp(12px,3.6vw,14px)!important; font-weight:750; line-height:1.3; overflow-wrap:normal; word-break:normal; }
  #sg-unified-nav .sgmn-service-card small { display:block; margin-top:4px; color:#587087!important; font-size:12px; line-height:1.35; }
  #sg-unified-nav .sgmn-service-empty { margin:12px 0 0; color:#47627c; }
  #sg-unified-nav .sgmn-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
  /* This fixed parent previously intercepted taps over Menu even with its child shifted up. */
  
  body.sagace-unified-app #sgc-help-dock { bottom:calc(var(--sgmn-dock) + 10px)!important; }
}

/* Mobile welcome v4. Native orientation nodes and the global button finish stay authoritative. */
#sg-mobile-home { display:none; }
@media(max-width:767px) {
  
  
  
  
  
  
  body.sagace-unified-app #sg-mobile-home * { box-sizing:border-box; }
  body.sagace-unified-app #sg-mobile-home [hidden] { display:none!important; }
  body.sagace-unified-app #sg-mobile-home :is(button,a,input) { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
  body.sagace-unified-app #sg-mobile-home svg { width:21px; height:21px; flex:0 0 21px; stroke:currentColor; stroke-width:1.7; stroke-linejoin:round; stroke-linecap:round; fill:none; }
  body.sagace-unified-app #sg-mobile-home .sgmh-intro { display:flex; flex-direction:column; align-items:stretch; gap:16px; margin:0 0 18px; }
  body.sagace-unified-app #sg-mobile-home h1 { margin:0; color:#153754!important; font:750 26px/1.15 Inter,system-ui,sans-serif; letter-spacing:-.025em; }
  body.sagace-unified-app #sg-mobile-home .sgmh-intro p { margin:8px 0 0; color:#526b82; font-size:14px; line-height:1.45; }
  body.sagace-unified-app #sg-mobile-home .sgmh-hero-photo { order:-1; display:block; width:100%; height:auto; aspect-ratio:3/1; object-fit:cover; object-position:center 58%; border-radius:18px; }
  body.sagace-unified-app #sg-mobile-home :is(.sgmh-voice,.sgmh-action,.sgmh-more,.sgmh-resume) { font-family:inherit; text-transform:none; letter-spacing:normal; text-decoration:none; appearance:none; cursor:pointer; margin:0; min-height:48px; line-height:1.25; }
  body.sagace-unified-app #sg-mobile-home .sgmh-voice { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:52px; font-size:16px; text-align:center; white-space:normal; text-decoration:none; }
  body.sagace-unified-app #sg-mobile-home .sgmh-voice { padding:12px 18px; border:1px solid #225b8a; background:linear-gradient(115deg,#173e69,#25618e); color:#fff; }
  body.sagace-unified-app #sg-mobile-home .sgmh-voice:not([data-sgv]) { border-radius:16px; }
  body.sagace-unified-app #sg-mobile-home .sgmh-voice :is(span,strong,svg) { color:inherit!important; -webkit-text-fill-color:currentColor; }
  body.sagace-unified-app #sg-mobile-home .sgmh-voice strong { font-size:16px; line-height:1.25; font-weight:700; }
  body.sagace-unified-app #sg-mobile-home .sgmh-voice-help { margin:7px 0 14px; color:#526b82; font-size:12px; text-align:center; }
  body.sagace-unified-app #sg-mobile-home .sgmh-secondary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0 0 14px; }
  body.sagace-unified-app #sg-mobile-home .sgmh-action { display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; text-align:center; font-size:13px; }
  body.sagace-unified-app #sg-mobile-home .sgmh-action { padding:10px 8px; border:1px solid #dce5ee; background:#fff; color:#244e73; }
  body.sagace-unified-app #sg-mobile-home .sgmh-action:not([data-sgv]) { border-radius:13px; }
  body.sagace-unified-app #sg-mobile-home .sgmh-action>span { min-width:0; }
  body.sagace-unified-app #sg-mobile-home .sgmh-action strong { font-size:13px; line-height:1.25; font-weight:650; color:inherit; }
  body.sagace-unified-app #sg-mobile-home .intent { padding:0!important; margin:0!important; border:0!important; border-radius:0!important; background:none!important; box-shadow:none!important; backdrop-filter:none!important; }
  body.sagace-unified-app #sg-mobile-home .intent>:is(.intent-label,.intent-guide,.intent-examples-heading,.intent-examples-more,.chat-direct) { display:none!important; }
  body.sagace-unified-app #sg-mobile-home:not(.sgmh-writing) .intent-field { display:none!important; }
  body.sagace-unified-app #sg-mobile-home .intent-field { display:flex!important; flex-wrap:wrap; align-items:stretch; gap:8px; margin-bottom:12px; }
  body.sagace-unified-app #sg-mobile-home .intent-input { min-width:0; flex:1 1 180px; display:flex; border:1px solid #d1dfed; border-radius:13px; background:#fff; padding:0 12px; }
  body.sagace-unified-app #sg-mobile-home .intent-input>svg { display:none!important; }
  body.sagace-unified-app #sg-mobile-home [data-intent-input] { font-size:16px!important; min-width:0; width:100%; min-height:50px; padding:9px 0!important; color:#193c60!important; border:0; background:transparent; }
  body.sagace-unified-app #sg-mobile-home [data-intent-go] { flex:1 1 100%; display:flex; align-items:center; justify-content:center; min-width:0; min-height:48px; font-size:14px; }
  body.sagace-unified-app #sg-mobile-home .intent>.intent-shortcuts { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0!important; }
  body.sagace-unified-app #sg-mobile-home .intent>.intent-shortcuts>button:not([data-intent-key=email]):not([data-intent-key=homework]) { display:none!important; }
  body.sagace-unified-app #sg-mobile-home .intent>.intent-shortcuts>button { min-height:44px; font-size:12px; line-height:1.35; }
  body.sagace-unified-app #sg-mobile-home .sagace-orientation-results:not([hidden]) { margin:14px 0!important; }
  body.sagace-unified-app #sg-mobile-home .sgmh-resume { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:16px; font-size:14px; font-weight:650; }
  body.sagace-unified-app #sg-mobile-home .sgmh-resume { padding:12px 14px; border:1px solid #dae6ef; background:#fff; color:#244e73; }
  body.sagace-unified-app #sg-mobile-home .sgmh-resume:not([data-sgv]) { border-radius:14px; }
  body.sagace-unified-app #sg-mobile-home .sgmh-discover { margin:18px 0 4px; padding:14px; border:1px solid #d6e3ee; border-radius:18px; background:#eef4fa; }
  body.sagace-unified-app #sg-mobile-home button.sgmh-more { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:52px; margin:0; padding:13px 16px; border:1px solid #225b8a; background:linear-gradient(115deg,#173e69,#25618e); color:#fff; font-size:15px; font-weight:700; line-height:1.3; white-space:normal; text-align:center; }
  body.sagace-unified-app #sg-mobile-home button.sgmh-more:not([data-sgv]) { border-radius:14px; }
  body.sagace-unified-app #sg-mobile-home .sgmh-more :is(span,svg) { color:inherit!important; -webkit-text-fill-color:currentColor; }
  body.sagace-unified-app #sg-mobile-home .sgmh-more .sgmh-expand-icon { flex:0 0 20px; width:20px; height:20px; stroke-width:2.4; }
  body.sagace-unified-app #sg-mobile-home .sgmh-more[aria-expanded="true"] .sgmh-expand-icon { transform:rotate(180deg); }
  body.sagace-unified-app #sg-mobile-home .sgmh-more-help { margin:9px 0 0; color:#526b82; font-size:12px; line-height:1.4; text-align:center; }
  body.sagace-unified-app #sg-mobile-home .sgmh-more:focus-visible { outline:3px solid #65a5e9; outline-offset:4px; }
  body.sagace-unified-app #sg-mobile-home .sgmh-feedback { padding:12px; margin:12px 0; border-radius:12px; background:#fff5df; color:#724d12; font-size:14px; line-height:1.45; }
  body.sagace-unified-app #sg-mobile-home[dir=rtl] .sgmh-resume>svg { transform:scaleX(-1); }
}

/* Sagace mobile universes 1.0.0. All original desktop layouts and native hidden states stay authoritative. */
.smu-controls,.smu-pagination,.smu-empty,.smu-disclosure{display:none!important}
@media(max-width:767px){
body.sagace-unified-app .smu-controls{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:16px 0 12px;min-width:0;direction:inherit}
body.sagace-unified-app .smu-search{width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid #bdcfe2;border-radius:12px;background:#fff;color:#143451;font:400 16px/1.4 Inter,system-ui,sans-serif;box-sizing:border-box}
body.sagace-unified-app .smu-button,body.sagace-unified-app .smu-disclosure{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #bdcfe2;border-radius:12px;background:#fff;color:#173a5d;font:600 14px/1.4 Inter,system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;text-align:center;cursor:pointer;box-sizing:border-box}
body.sagace-unified-app .smu-pagination{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;margin:14px 0 22px}
body.sagace-unified-app .smu-status{max-width:125px;text-align:center;font:600 13px/1.4 Inter,system-ui,sans-serif;color:#44586f}
body.sagace-unified-app .smu-button:disabled{opacity:.45;cursor:default}
body.sagace-unified-app .smu-empty{display:block!important;padding:16px;border:1px dashed #bdcfe2;border-radius:12px;font-size:15px;line-height:1.5}
body.sagace-unified-app .smu-disclosure{margin:10px 0}
body.sagace-unified-app .smu-controls[hidden],body.sagace-unified-app .smu-pagination[hidden],body.sagace-unified-app .smu-empty[hidden],body.sagace-unified-app [data-smu-hidden],body.sagace-unified-app .smu-description:not(.smu-open){display:none!important}
body.sagace-unified-app .smu-collapsible:not(.smu-open) [data-smu-detail]{display:none!important}
body.sagace-unified-app .smu-button:focus-visible,body.sagace-unified-app .smu-disclosure:focus-visible,body.sagace-unified-app .smu-search:focus-visible{outline:3px solid #1266f1;outline-offset:3px}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .hero {grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:22px}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .hero-main {padding:12px 0}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) h1 {font-size:30px;line-height:1.15;margin-bottom:14px;overflow-wrap:anywhere}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .intro,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .hero-main>p {font-size:16px;line-height:1.5;margin-bottom:14px}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .agents-panel,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .coaches-panel {padding:14px;border-radius:18px}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .agents-grid,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .coaches-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .agent-mini,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .coach-mini {display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;gap:0 8px;align-items:center;padding:9px;min-height:78px;min-width:0}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .agent-photo,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .coach-mini .photo {grid-row:1/3;width:44px;height:44px;aspect-ratio:1;border-radius:12px;margin:0}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .agent-mini strong,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .coach-mini strong {padding:0;font-size:15px;line-height:1.3;min-width:0}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .agent-mini small,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .coach-mini small {padding:3px 0 0;min-height:0;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .profile-heading,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .section-heading,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .popular-heading {margin:18px 0 12px}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .education-value-band,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .coaching-value-band,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .method-band {padding:16px;margin:18px 0;border-radius:18px}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .profile-grid,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .cat-grid,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .uni-grid {grid-template-columns:minmax(0,1fr);gap:12px}
body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .profile-card,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .cat-card,body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) .uni {min-width:0;border-radius:18px;min-height:0;opacity:1;transform:none;filter:none}



/* Native profile tags used 8.2px uppercase pills on phones. Keep the complete
   label readable without creating an oval when a translation wraps. */
















body.sagace-unified-app #sagace-coaching-v5 .uni{grid-template-columns:minmax(0,1fr)}
body.sagace-unified-app #sagace-coaching-v5 .uni-visual{height:112px;min-height:0;aspect-ratio:auto}
body.sagace-unified-app #sagace-coaching-v5 .uni-body{padding:14px;min-width:0}
/* The native nowrap label competed with nonshrinking coach avatars. Let the
   avatars move to the next row instead of clipping the universe label. */
body.sagace-unified-app #sagace-coaching-v5 .uni-head{min-width:0;flex-wrap:wrap;align-items:flex-start}
body.sagace-unified-app #sagace-coaching-v5 .uni-head .uni-tag{box-sizing:border-box;max-width:100%;min-width:0;min-height:0;padding:4px 7px;border-radius:6px;font-size:12px;line-height:1.3;letter-spacing:0;text-transform:none;white-space:normal;overflow:visible;overflow-wrap:anywhere}
body.sagace-unified-app #sagace-coaching-v5 .uni-body h3{font-size:23px;line-height:1.2}
body.sagace-unified-app #sagace-coaching-v5 .uni-sub{display:block;font-size:14px;line-height:1.45;-webkit-line-clamp:unset;overflow:visible}
body.sagace-unified-app #sagace-coaching-v5 .uni-doors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body.sagace-unified-app #sagace-coaching-v5 .uni-doors a,body.sagace-unified-app #sagace-coaching-v5 .uni-all,body.sagace-unified-app #sagace-coaching-v5 .uni-ref,body.sagace-unified-app #sagace-coaching-v5 .uni-av{min-height:44px;white-space:normal;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
body.sagace-unified-app #sagace-coaching-v5 .uni-av:nth-child(n){display:inline-flex;min-width:44px;margin-inline-start:0}
body.sagace-unified-app #sagace-coaching-v5 .uni-team{gap:6px;padding-inline-start:0;flex-wrap:wrap}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible:not(.smu-open){grid-template-columns:72px minmax(0,1fr)}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible:not(.smu-open) .uni-visual{height:auto;min-height:144px}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible .uni-body{padding:12px;gap:6px}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible .uni-body h3{font-size:20px;line-height:1.2;margin:0}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible .uni-body>.smu-disclosure{margin:0;align-self:stretch;font-size:13px;padding:7px 10px}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible .uni-all{margin:0;font-size:13px;padding:8px 10px}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible .uni-symbol{width:32px;height:32px;left:8px;top:8px;font-size:19px}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible:not(.smu-open) .uni-flag{top:48px;left:4px;right:4px;padding:4px 2px;font-size:10px;white-space:normal;text-align:center}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible .uni-ref{height:auto;max-width:calc(100% - 24px);text-overflow:clip;overflow:visible}
body.sagace-unified-app #sagace-coaching-v5 .uni.smu-collapsible .uni-note{font-size:13px;line-height:1.45;margin:4px 0 0}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-hero{grid-template-columns:minmax(0,1fr) 76px;gap:12px;margin-bottom:16px;align-items:start}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-hero-img-card{width:76px;max-width:100%;min-height:0;aspect-ratio:1;margin:0}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-hero-img-card img{width:76px;height:76px;object-fit:cover}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-hero h1{font-size:28px;line-height:1.15}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-hero-main p{font-size:15px;line-height:1.5}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services{grid-template-columns:minmax(0,1fr);gap:10px}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-service-card,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-service-card.ed-featured{grid-template-columns:68px minmax(0,1fr);min-height:118px;grid-column:auto;min-width:0;padding:0;border-radius:15px}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-service-card .ed-card-img{min-height:118px;max-height:none;aspect-ratio:auto}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-service-card .ed-card-copy{padding:13px 12px;min-width:0}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-card-copy strong{font-size:17px;line-height:1.3}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-card-copy small{font-size:13px;line-height:1.45}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .smu-catalogue>.ed-services-separator{display:none}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-tunnel-head{padding:14px;margin-bottom:14px}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-tunnel-title-row{gap:10px;min-width:0}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-tunnel-avatar{width:44px;height:44px;flex-basis:44px}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-tunnel h2{font-size:23px;line-height:1.25;overflow-wrap:anywhere}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-tunnel-grid,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-form-grid{grid-template-columns:minmax(0,1fr);gap:12px}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-tunnel-grid>*,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-field{min-width:0;max-width:100%}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-field select,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-field textarea{font-size:16px;max-width:100%;min-width:0;box-sizing:border-box}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-back,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-back-services,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-submit,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-card-secondary,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-mini-action{min-height:44px;white-space:normal;line-height:1.4;max-width:100%}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-tunnel-guide{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-guide-step{min-width:0;padding:8px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}





























body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-top{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px;margin-bottom:12px}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-topacts{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-topacts .sct-btn,body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-q-foot .sct-btn,body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-q-foot .sct-link{min-height:44px;white-space:normal;line-height:1.4;max-width:100%}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-steps{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-width:100%;min-width:0;gap:6px;scrollbar-width:thin;overscroll-behavior-inline:contain;padding-block:4px}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-step{flex:0 0 auto;min-height:44px;font-size:12px;line-height:1.3}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-q{padding:16px 14px;min-width:0;max-width:100%}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-q :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea){min-width:0;max-width:100%;font-size:16px;box-sizing:border-box}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-q :is(.sct-chip,.sct-obj,.sct-choice,.sct-link){min-height:44px;max-width:100%;white-space:normal;line-height:1.4}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-q-foot{gap:8px;flex-wrap:wrap;margin-top:14px}


body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-coachcard small{white-space:normal;max-width:100%;overflow-wrap:anywhere}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-intents{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-intent{grid-template-columns:minmax(0,1fr);padding:12px;gap:7px;min-width:0}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-intent .sct-oi{grid-row:auto;width:34px;height:34px}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-intent strong{font-size:15px;line-height:1.3}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-intent small{font-size:13px;line-height:1.4}
body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-porte,body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-uni,body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-choice-nav .sct-btn{min-height:44px;white-space:normal;line-height:1.4}
body.sagace-unified-app #sagace-classe-v1 [data-view=onboarding] .sgcl-etape{padding:12px 0;margin-bottom:14px;min-width:0;max-width:100%}
body.sagace-unified-app #sagace-classe-v1 [data-view=onboarding] .sgcl-etape-tete{font-size:16px;line-height:1.4;flex-wrap:wrap;gap:6px}
body.sagace-unified-app #sagace-classe-v1 [data-view=onboarding] :is(.sgcl-choix,.sgcl-chapitre,.sgcl-sugg,.sgcl-mini-btn,.sgcl-btn-principal){min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
body.sagace-unified-app #sagace-classe-v1 [data-view=onboarding] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),textarea,select){font-size:16px;max-width:100%;min-width:0;box-sizing:border-box}
body.sagace-unified-app #sagace-classe-v1 [data-view=sheet]>.sgcl-retour{min-height:44px;font-size:14px;white-space:normal}
body.sagace-unified-app #sagace-tutor-smart .st-header{margin-bottom:16px}
body.sagace-unified-app #sagace-tutor-smart .st-header h1{font-size:28px;line-height:1.2}
body.sagace-unified-app #sagace-tutor-smart .st-screen{padding:14px}
body.sagace-unified-app #sagace-tutor-smart .st-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.sagace-unified-app #sagace-tutor-smart .st-card{min-height:0;padding:12px;min-width:0}
body.sagace-unified-app #sagace-tutor-smart .st-card-img{width:44px;height:44px;margin-bottom:8px}
body.sagace-unified-app #sagace-tutor-smart .st-card strong{font-size:16px;line-height:1.3}
body.sagace-unified-app #sagace-tutor-smart .st-choice-grid,body.sagace-unified-app #sagace-tutor-smart .st-form-grid{grid-template-columns:minmax(0,1fr);gap:10px}
body.sagace-unified-app #sagace-tutor-smart .st-choice{min-height:76px;min-width:0;padding:12px;gap:10px}
body.sagace-unified-app #sagace-tutor-smart .st-choice-img{width:44px;height:44px}
body.sagace-unified-app #sagace-tutor-smart .st-back,body.sagace-unified-app #sagace-tutor-smart .st-btn{min-height:44px;max-width:100%;white-space:normal;line-height:1.4}
body.sagace-unified-app #sagace-tutor-smart .st-field :is(input,textarea,select){font-size:16px;min-width:0;max-width:100%;box-sizing:border-box}
body.sagace-unified-app #sagace-tutor-smart .st-topbar{gap:8px;flex-wrap:wrap;padding:12px}
body.sagace-unified-app #sagace-tutor-smart .st-actions-right{flex-wrap:wrap;gap:8px}
body.sagace-unified-app #sagace-homeschool-smart .sh-header{margin-bottom:16px}
body.sagace-unified-app #sagace-homeschool-smart .sh-header h1{font-size:28px;line-height:1.2}
body.sagace-unified-app #sagace-homeschool-smart .sh-screen{padding:14px}
body.sagace-unified-app #sagace-homeschool-smart .sh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.sagace-unified-app #sagace-homeschool-smart .sh-card{min-height:0;padding:12px;min-width:0}
body.sagace-unified-app #sagace-homeschool-smart .sh-card-img{width:44px;height:44px;margin-bottom:8px}
body.sagace-unified-app #sagace-homeschool-smart .sh-card strong{font-size:16px;line-height:1.3}
body.sagace-unified-app #sagace-homeschool-smart .sh-choice-grid,body.sagace-unified-app #sagace-homeschool-smart .sh-form-grid{grid-template-columns:minmax(0,1fr);gap:10px}
body.sagace-unified-app #sagace-homeschool-smart .sh-choice{min-height:76px;min-width:0;padding:12px;gap:10px}
body.sagace-unified-app #sagace-homeschool-smart .sh-choice-img{width:44px;height:44px}
body.sagace-unified-app #sagace-homeschool-smart .sh-back,body.sagace-unified-app #sagace-homeschool-smart .sh-btn{min-height:44px;max-width:100%;white-space:normal;line-height:1.4}
body.sagace-unified-app #sagace-homeschool-smart .sh-field :is(input,textarea,select){font-size:16px;min-width:0;max-width:100%;box-sizing:border-box}
body.sagace-unified-app #sagace-homeschool-smart .sh-topbar{gap:8px;flex-wrap:wrap;padding:12px}
body.sagace-unified-app #sagace-homeschool-smart .sh-actions-right{flex-wrap:wrap;gap:8px}
body.sagace-unified-app #sagace-revision-smart .srv-header{margin-bottom:16px}
body.sagace-unified-app #sagace-revision-smart .srv-header h1{font-size:28px;line-height:1.2}
body.sagace-unified-app #sagace-revision-smart .srv-screen{padding:14px}
body.sagace-unified-app #sagace-revision-smart .srv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.sagace-unified-app #sagace-revision-smart .srv-card{min-height:0;padding:12px;min-width:0}
body.sagace-unified-app #sagace-revision-smart .srv-card-img{width:44px;height:44px;margin-bottom:8px}
body.sagace-unified-app #sagace-revision-smart .srv-card strong{font-size:16px;line-height:1.3}
body.sagace-unified-app #sagace-revision-smart .srv-choice-grid,body.sagace-unified-app #sagace-revision-smart .srv-form-grid{grid-template-columns:minmax(0,1fr);gap:10px}
body.sagace-unified-app #sagace-revision-smart .srv-choice{min-height:76px;min-width:0;padding:12px;gap:10px}
body.sagace-unified-app #sagace-revision-smart .srv-choice-img{width:44px;height:44px}
body.sagace-unified-app #sagace-revision-smart .srv-back,body.sagace-unified-app #sagace-revision-smart .srv-btn{min-height:44px;max-width:100%;white-space:normal;line-height:1.4}
body.sagace-unified-app #sagace-revision-smart .srv-field :is(input,textarea,select){font-size:16px;min-width:0;max-width:100%;box-sizing:border-box}
body.sagace-unified-app #sagace-revision-smart .srv-topbar{gap:8px;flex-wrap:wrap;padding:12px}
body.sagace-unified-app #sagace-revision-smart .srv-actions-right{flex-wrap:wrap;gap:8px}
body.sagace-unified-app #sagace-memory-smart .smm-header{margin-bottom:16px}
body.sagace-unified-app #sagace-memory-smart .smm-header h1{font-size:28px;line-height:1.2}
body.sagace-unified-app #sagace-memory-smart .smm-screen{padding:14px}
body.sagace-unified-app #sagace-memory-smart .smm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.sagace-unified-app #sagace-memory-smart .smm-card{min-height:0;padding:12px;min-width:0}
body.sagace-unified-app #sagace-memory-smart .smm-card-img{width:44px;height:44px;margin-bottom:8px}
body.sagace-unified-app #sagace-memory-smart .smm-card strong{font-size:16px;line-height:1.3}
body.sagace-unified-app #sagace-memory-smart .smm-choice-grid,body.sagace-unified-app #sagace-memory-smart .smm-form-grid{grid-template-columns:minmax(0,1fr);gap:10px}
body.sagace-unified-app #sagace-memory-smart .smm-choice{min-height:76px;min-width:0;padding:12px;gap:10px}
body.sagace-unified-app #sagace-memory-smart .smm-choice-img{width:44px;height:44px}
body.sagace-unified-app #sagace-memory-smart .smm-back,body.sagace-unified-app #sagace-memory-smart .smm-btn{min-height:44px;max-width:100%;white-space:normal;line-height:1.4}
body.sagace-unified-app #sagace-memory-smart .smm-field :is(input,textarea,select){font-size:16px;min-width:0;max-width:100%;box-sizing:border-box}
body.sagace-unified-app #sagace-memory-smart .smm-topbar{gap:8px;flex-wrap:wrap;padding:12px}
body.sagace-unified-app #sagace-memory-smart .smm-actions-right{flex-wrap:wrap;gap:8px}

/* Live education pages use important catalogue variants; override only catalogue geometry. */
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card.ed-featured{grid-template-columns:68px minmax(0,1fr)!important;min-height:118px!important;padding:0!important;grid-column:auto!important}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card .ed-card-img{width:68px!important;height:100%!important;min-height:118px!important;max-height:none!important;margin:0!important;aspect-ratio:auto!important;border-radius:0!important}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card .ed-card-img img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card .ed-card-copy{min-width:0;padding:13px 12px!important}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-hero-img-card,body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-hero-img-card img{min-height:0!important;max-height:76px!important;width:76px!important;height:76px!important}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card.ed-featured:after{position:static!important;grid-column:2;justify-self:start;max-width:calc(100% - 24px);margin:0 12px 12px;min-height:0!important;white-space:normal;font-size:12px!important;line-height:1.4!important}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card .ed-card-copy strong{font-size:17px!important;line-height:1.3!important}
body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card .ed-card-copy small{font-size:13px!important;line-height:1.45!important}
}

/* Own injected controls must honor hidden even when theme button styles override it. */
body.sagace-unified-app #sagace-chat-libre-v7-4 :is(.sgmsc-about,.sgmsc-photo-prompt)[hidden]{display:none!important}
body.sagace-unified-app #sgx-services :is(.sgmsc-tile,.sgmsc-detail,.sgmsc-category-name,.sgmsc-browse-project){display:none}
body.sagace-unified-app #sgx-services :is(.sgmsc-detail,.sgmsc-resume,.sgmsc-catalog-toggle,.sgmsc-browse-project)[hidden]{display:none!important}
body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-chat-short{display:none}
/* Native page styling changes apply only to the mounted internal application on phones. */
@media(max-width:767px){
  body.sagace-unified-app #sgx-services{padding:0 12px 20px!important;min-height:0!important}
  body.sagace-unified-app #sgx-services[data-ready]>main.sgx-main{padding:10px 0 0!important}
  body.sagace-unified-app #sgx-services .sgx-crumb{gap:5px;margin-bottom:9px;font-size:12px}
  body.sagace-unified-app #sgx-services .sgx-hero{padding:16px;gap:14px;border-radius:19px;grid-template-columns:minmax(0,1fr)}
  body.sagace-unified-app #sgx-services .sgx-studio-identity{gap:9px;margin-bottom:9px}
  body.sagace-unified-app #sgx-services .sgx-studio-identity img{width:38px;height:38px}
  body.sagace-unified-app #sgx-services h1{font-size:28px;line-height:1.15;margin-bottom:9px}
  body.sagace-unified-app #sgx-services .sgx-lead{font-size:14px;line-height:1.45}
  body.sagace-unified-app #sgx-services .sgx-actions{gap:8px;margin:12px 0 8px}
  body.sagace-unified-app #sgx-services .sgx-actions :is(a,button){min-height:44px;padding:9px 12px;font-size:13px;white-space:normal}
  body.sagace-unified-app #sgx-services .sgx-showcase{width:min(100%,300px);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;justify-self:center}
  body.sagace-unified-app #sgx-services .sgx-example-image{margin:0}
  body.sagace-unified-app #sgx-services .sgx-example-image img{aspect-ratio:1;width:100%;max-height:138px;object-fit:contain}
  body.sagace-unified-app #sgx-services .sgx-example-image figcaption{padding:6px 2px;font-size:12px}
  body.sagace-unified-app #sgx-services .sgx-small{font-size:12px;margin:7px 0 0}
  body.sagace-unified-app #sgx-services .sgx-catalog{margin-top:20px;scroll-margin-top:14px}
  body.sagace-unified-app #sgx-services .sgx-cat-head{gap:10px;margin-bottom:12px}
  body.sagace-unified-app #sgx-services .sgx-cat-head h2{font-size:23px;margin-bottom:5px}
  body.sagace-unified-app #sgx-services .sgx-cat-head p{font-size:13px;margin:0}
  body.sagace-unified-app #sgx-services .sgx-search{min-height:46px;font-size:16px}
  body.sagace-unified-app #sgx-services .sgx-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.sagace-unified-app #sgx-services .sgx-filter{grid-template-columns:minmax(0,1fr) 18px;gap:7px;min-height:70px;padding:10px;border-radius:13px}
  body.sagace-unified-app #sgx-services .sgx-filter-copy{gap:4px}
  body.sagace-unified-app #sgx-services .sgx-filter-copy strong{font-size:14px}
  body.sagace-unified-app #sgx-services .sgx-filter-copy>span{font-size:12px}
  body.sagace-unified-app #sgx-services .sgx-catalog-results{margin-top:18px}
  body.sagace-unified-app #sgx-services .sgx-result-heading{gap:9px;padding-bottom:12px;margin-bottom:12px}
  body.sagace-unified-app #sgx-services .sgx-result-copy h3{font-size:21px;margin-bottom:5px}
  body.sagace-unified-app #sgx-services .sgx-result-copy p{font-size:13px;line-height:1.4}
  body.sagace-unified-app #sgx-services .sgx-grid{grid-template-columns:minmax(0,1fr);gap:12px;scroll-margin-top:14px}
  body.sagace-unified-app #sgx-services .sgx-grid>[data-sgmsc-page-hidden]{display:none!important}
  body.sagace-unified-app #sgx-services .sgx-visual-card{display:grid;grid-template-columns:106px minmax(0,1fr);gap:11px;padding:10px;border-radius:16px;align-items:start}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-shot{aspect-ratio:1;border-radius:10px}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-shot>img{border-radius:10px}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-shot-before{inset-inline-start:4px;bottom:4px;min-width:44px;width:42%;padding:3px;border-radius:7px}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-shot-before figcaption{font-size:12px;padding-top:2px}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-shot-after{top:5px;inset-inline-end:5px;font-size:12px;padding:3px 6px}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-card-body{padding:2px 0 0;min-height:0}
  body.sagace-unified-app #sgx-services .sgx-card-title{font-size:18px;line-height:1.24;margin:0 0 7px}
  body.sagace-unified-app #sgx-services .sgx-card-labels{margin-bottom:6px}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-card-kind{font-size:12px;line-height:1.35}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-card-description{font-size:13px;line-height:1.45;margin-bottom:10px}
  body.sagace-unified-app #sgx-services .sgx-visual-card .sgx-text-button{min-height:44px;padding:8px;font-size:13px;line-height:1.3;white-space:normal;text-align:start}
  body.sagace-unified-app #sgx-services .sgmsc-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:0 0 12px;padding:8px;border:1px solid var(--sgx-line);border-radius:13px;background:#fff}
  body.sagace-unified-app #sgx-services .sgmsc-pagination[hidden]{display:none!important}
  body.sagace-unified-app #sgx-services .sgmsc-pagination>span{font-size:12px;font-weight:700;text-align:center}
  body.sagace-unified-app #sgx-services .sgmsc-page-button{min-height:44px;padding:8px;border:1px solid #d6e2ef;border-radius:10px;background:#f1f6fc;color:#173a5d;font-size:13px;white-space:normal}
  body.sagace-unified-app #sgx-services .sgmsc-page-button:disabled{opacity:.4}
  body.sagace-unified-app #sgx-services .sgx-dialog{gap:13px;padding-top:10px;grid-template-columns:minmax(0,1fr);scroll-margin-top:10px}
  body.sagace-unified-app #sgx-services .sgx-dialog-top{padding:9px;gap:8px}
  body.sagace-unified-app #sgx-services .sgx-close{min-height:44px}
  body.sagace-unified-app #sgx-services .sgx-service-heading h2{font-size:25px;margin:4px 0 7px}
  body.sagace-unified-app #sgx-services .sgx-service-heading p{font-size:14px;line-height:1.45}
  body.sagace-unified-app #sgx-services .sgx-form{padding:17px 13px;border-radius:18px}
  body.sagace-unified-app #sgx-services .sgx-step-pane{gap:13px}
  body.sagace-unified-app #sgx-services .sgx-step-heading h3{font-size:20px}
  body.sagace-unified-app #sgx-services .sgx-field :is(input,textarea,select){min-height:46px;font-size:16px}
  body.sagace-unified-app #sgx-services .sgx-field textarea{min-height:84px}
  body.sagace-unified-app #sgx-services .sgx-format-choice{min-height:76px;gap:7px;padding:10px 6px}
  body.sagace-unified-app #sgx-services .sgx-compare-wrap{padding:13px;border-radius:18px;max-width:360px}
  body.sagace-unified-app #sgx-services .sgx-result{padding:17px 13px;border-radius:18px;scroll-margin-top:12px}
  body.sagace-unified-app #sgx-services .sgx-generated,body.sagace-unified-app #sgx-services .sgx-canvas{max-width:100%;height:auto;object-fit:contain}
  body.sagace-unified-app #sgx-services .sgx-result-tools{gap:8px}
  body.sagace-unified-app #sgx-services .sgx-result-tools :is(a,button){min-height:44px;max-width:100%;white-space:normal}
  body.sagace-unified-app #sgx-services .sgx-status{bottom:calc(var(--sgmn-dock,68px) + 10px)}
  body.sagace-unified-app #sgx-services .sgx-next{padding:16px;margin-top:20px;gap:13px}
  body.sagace-unified-app #sgx-services .sgx-next h2{font-size:20px}
  body.sagace-unified-app #sgx-services[dir=rtl] :is(.sgx-card-title,.sgx-card-description){line-height:1.5;letter-spacing:0}
  body.sagace-unified-app #sgx-services .sgdt-layout{grid-template-columns:minmax(0,1fr);gap:15px}
  body.sagace-unified-app #sgx-services .sgdt-editor,body.sagace-unified-app #sgx-services .sgdt-result{padding:16px 12px;border-radius:17px}
  body.sagace-unified-app #sgx-services .sgdt-fields{gap:11px;grid-template-columns:minmax(0,1fr)}
  body.sagace-unified-app #sgx-services .sgdt-field :is(input,textarea,select),body.sagace-unified-app #sgx-services .sgdt-page textarea{font-size:16px;min-height:46px}
  body.sagace-unified-app #sgx-services .sgdt .sgdt-choices{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.sagace-unified-app #sgx-services .sgdt-choices>button.sgx-pill{padding:10px 8px;min-height:78px;grid-template-columns:28px minmax(0,1fr);gap:5px 7px}
  body.sagace-unified-app #sgx-services .sgdt-choices>button>svg{width:28px;height:28px;padding:5px}
  body.sagace-unified-app #sgx-services .sgdt-choices>button>strong{font-size:13px}
  body.sagace-unified-app #sgx-services .sgdt-upload{padding:13px;gap:12px}
  body.sagace-unified-app #sgx-services .sgdt-photo{padding:9px;gap:10px}
  body.sagace-unified-app #sgx-services .sgdt-photo-frame{width:58px;height:72px}
  body.sagace-unified-app #sgx-services .sgdt-photo-frame img{max-width:52px!important;max-height:64px!important}
  body.sagace-unified-app #sgx-services .sgdt-photo-actions .sgx-pill{min-height:44px}
  body.sagace-unified-app #sgx-services .sgdt-page summary{min-height:44px;display:flex;align-items:center}
  body.sagace-unified-app #sgx-services .sgdt-downloads :is(a,button){min-height:44px}

  body.sagace-unified-app #sagace-chat-libre-v7-4{min-height:0!important;padding:0 8px 12px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-about{display:block;min-height:44px;margin:0 0 8px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);font-size:13px;font-weight:650}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-chat-about:not(.sgmsc-about-open){display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .hero{margin-bottom:10px}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .hero-main,body.sagace-unified-app #sagace-chat-libre-v7-4 .hero-side{padding:15px!important;border-radius:18px}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .hero h1{font-size:28px;line-height:1.15}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .hero p{font-size:13px}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .chat-shell{display:block!important;min-height:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .main,body.sagace-unified-app #sagace-chat-libre-v7-4 .main.chat-empty{display:flex!important;flex-direction:column!important;height:var(--sgmsc-chat-height,calc(100dvh - 180px))!important;min-height:0!important;max-height:none!important;border-radius:19px!important;overflow:hidden!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .main-top{flex:0 0 auto!important;gap:6px!important;padding:8px 10px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .main-left{gap:8px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .main-right{gap:6px!important;padding:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .main-right :is(.icon-btn,.model-btn){min-height:44px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .titlebox small{font-size:12px;line-height:1.3}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .content,body.sagace-unified-app #sagace-chat-libre-v7-4 .main.chat-empty .content{flex:1 1 auto!important;min-height:90px!important;overflow-y:auto!important;overscroll-behavior-y:contain;scroll-padding-block:12px}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .thread,body.sagace-unified-app #sagace-chat-libre-v7-4 .main.chat-empty .thread{width:calc(100% - 20px)!important;min-height:0!important;height:auto!important;padding:13px 0 18px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .empty{min-height:0!important;padding:8px 0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .empty h2{font-size:24px!important;margin:9px 0 7px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .empty p{font-size:14px!important;line-height:1.4!important;margin-bottom:12px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .empty-agent-image{width:58px!important;height:58px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .suggestions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .suggestion{min-height:84px!important;padding:10px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .suggestion strong{font-size:14px!important;line-height:1.35!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .suggestion small{font-size:12px!important;line-height:1.35!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .message{gap:6px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .message-avatar{width:28px!important;height:28px!important;flex-basis:28px!important;margin-top:23px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .message-content-wrap{min-width:0!important;max-width:calc(100% - 34px)!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .message-body{font-size:14px!important;line-height:1.55!important;padding:11px 12px!important;overflow-wrap:anywhere}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .message-body :is(img,video){max-width:100%;height:auto;object-fit:contain}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .message-body pre{max-width:100%;overflow-x:auto;white-space:pre}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-zone{position:relative!important;inset:auto!important;flex:0 0 auto!important;min-height:0!important;padding:7px!important;border-radius:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .agent-picker{margin-bottom:6px!important;padding:0!important;border-radius:13px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .agent-picker-summary{gap:7px!important;padding:5px 7px!important;align-items:center!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .selected-agent-photo{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:10px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .selected-agent-copy{min-width:0}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .selected-agent-copy strong{font-size:14px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .selected-agent-copy>small{font-size:12px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .selected-agent-copy>span{font-size:12px!important;line-height:1.2!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .agent-picker-toggle{min-height:44px!important;padding:6px 8px!important;font-size:13px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;padding:7px!important;border-radius:14px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-main{display:contents!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-tools{grid-column:1/-1!important;grid-row:1!important;gap:6px!important;flex-wrap:nowrap!important;overflow-x:auto!important;min-height:44px!important;padding:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-tools :is(.tool-btn,.voice-chat-btn){height:44px!important;min-height:44px!important;flex-shrink:0!important;font-size:13px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .input-wrap{grid-column:1!important;grid-row:2!important;min-height:54px!important;padding:0 8px!important;border-radius:11px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .input-wrap textarea{min-height:54px!important;max-height:116px!important;padding:13px 0!important;font-size:16px!important;line-height:1.4!important;resize:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-bottom{display:contents!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-hint{grid-column:1/-1!important;grid-row:3!important;min-width:0!important;font-size:9px!important;line-height:1.3!important;flex:1 1 auto!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .send-btn{grid-column:2!important;grid-row:2!important;align-self:center!important;width:auto!important;min-width:82px!important;min-height:44px!important;height:44px!important;padding:7px 10px!important;flex:0 0 auto!important;font-size:13px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .files.active{max-height:116px;overflow-y:auto;margin-bottom:6px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .file-chip{min-width:0!important;max-width:100%!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .agent-picker-panel{bottom:calc(var(--sgmn-dock,68px) + 8px)!important;max-height:calc(var(--sgmsc-vh,100dvh) - var(--sgmn-dock,68px) - 30px)!important;inset-inline:8px!important;width:auto!important;padding:12px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .chat-toast{bottom:calc(var(--sgmn-dock,68px) + 10px)!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-photo-prompt{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;padding-block:9px;padding-inline:10px 45px;margin-bottom:6px;border:1px solid #b6d9f5;border-radius:12px;background:#eff8ff;color:#173a5d}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-photo-prompt[hidden]{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-photo-prompt p{font-size:13px;line-height:1.4;margin:0}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-photo-add{min-height:44px;padding:7px 9px;border-radius:10px;background:#173a5d;color:#fff;font-size:13px;font-weight:700}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-photo-close{position:absolute;inset-inline-end:0;top:0;width:44px;min-height:44px;font-size:23px;color:#173a5d}
  body.sagace-unified-app.sgmn-keyboard #sagace-chat-libre-v7-4 .main-top{padding-block:5px!important}
  body.sagace-unified-app.sgmn-keyboard #sagace-chat-libre-v7-4 .composer-hint{font-size:12px!important}
}

/* v4 compact Studio catalog. Tile exceptions are local; every action stays attached to the site button engine. */
@media(max-width:767px){
  body.sagace-unified-app #sgx-services .sgx-crumb{display:none}
  body.sagace-unified-app #sgx-services .sgx-hero{padding:14px;gap:12px}
  body.sagace-unified-app #sgx-services .sgx-hero :is(.sgx-studio-identity,.sgx-lead,.sgx-small,.sgx-actions){display:none}
  body.sagace-unified-app #sgx-services .sgx-hero h1{font-size:25px;line-height:1.2;margin:0}
  /* On phones, translated captions belong below the whole image. The native
     absolute caption + 999px radius created tall pills inside a narrow photo. */
  body.sagace-unified-app #sgx-services .sgx-showcase{width:min(100%,320px);gap:8px;align-items:start}
  body.sagace-unified-app #sgx-services .sgx-example-image{display:flex;flex-direction:column;min-width:0;margin:0;border-width:3px;border-radius:12px;transform:none;box-shadow:none;background:#fff}
  body.sagace-unified-app #sgx-services .sgx-example-image img{display:block;aspect-ratio:1;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:8px}
  body.sagace-unified-app #sgx-services .sgx-example-image figcaption{position:static;inset:auto;box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;margin:0;padding:6px 1px 4px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#173a5d;font-size:12px;font-weight:650;line-height:1.3;letter-spacing:0;text-align:center;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
  body.sagace-unified-app #sgx-services .sgx-cat-head{gap:10px;margin-bottom:12px}
  body.sagace-unified-app #sgx-services .sgx-cat-head h2{font-size:20px;line-height:1.2;margin:0}
  body.sagace-unified-app #sgx-services :is(.sgx-cat-head p,.sgx-result-copy p,.sgx-next){display:none}
  body.sagace-unified-app #sgx-services[data-sgmsc-expanded=false] :is(.sgx-category-chooser,.sgx-search,.sgx-result-heading){display:none}
  body.sagace-unified-app #sgx-services .sgx-catalog-results{margin-top:12px}
  body.sagace-unified-app #sgx-services .sgx-category-chooser-head{gap:6px;align-items:center;margin-bottom:8px}
  body.sagace-unified-app #sgx-services .sgx-category-chooser-head h3{font-size:14px;margin:0}
  body.sagace-unified-app #sgx-services .sgx-all-services{font-size:12px;min-height:44px}
  body.sagace-unified-app #sgx-services .sgx-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  body.sagace-unified-app #sgx-services .sgx-filter{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:6px;font-size:11px}
  body.sagace-unified-app #sgx-services .sgx-filter :is(.sgx-filter-copy,.sgx-filter-indicator,img,svg){display:none}
  body.sagace-unified-app #sgx-services .sgmsc-category-name{display:block;font-size:13px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
  body.sagace-unified-app #sgx-services .sgx-result-heading{margin-bottom:10px;padding-bottom:8px;gap:6px}
  body.sagace-unified-app #sgx-services .sgx-result-copy h3{font-size:17px;margin:0}
  body.sagace-unified-app #sgx-services .sgx-service-count{font-size:11px}
  body.sagace-unified-app #sgx-services .sgx-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 7px}
  body.sagace-unified-app #sgx-services .sgx-visual-card{display:block;min-width:0;padding:0;border:0;box-shadow:none;background:transparent}
  body.sagace-unified-app #sgx-services .sgx-visual-card>:is(.sgx-shot,.sgx-card-body){display:none}
  body.sagace-unified-app #sgx-services .sgmsc-tile{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;min-width:0;min-height:104px;margin:0;padding:0;border:0;background:transparent;color:var(--sgx-ink,#173a5d);text-align:center;font:inherit;touch-action:manipulation}
  body.sagace-unified-app #sgx-services .sgmsc-tile .sgmsc-tile-visual{position:relative;display:block;aspect-ratio:1;width:100%;min-width:0;min-height:0;padding:0;border:1px solid var(--sgx-line,#dbe5f0);border-radius:12px;background:#f5f8fc;overflow:hidden}
  body.sagace-unified-app #sgx-services .sgmsc-tile-visual>:is(img,svg){display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center;border-radius:11px}
  body.sagace-unified-app #sgx-services .sgmsc-tile-name{text-align:center;display:block;font-size:13px;line-height:1.3;font-weight:700;white-space:normal;overflow-wrap:anywhere;hyphens:auto;min-height:34px}
  body.sagace-unified-app #sgx-services .sgmsc-tile:focus-visible{outline:3px solid #1b70d1;outline-offset:3px;border-radius:12px}
  body.sagace-unified-app #sgx-services .sgmsc-pagination{margin:12px 0 8px;padding:5px;gap:5px}
  body.sagace-unified-app #sgx-services .sgmsc-page-button{font-size:12px;min-height:44px;padding:7px}
  body.sagace-unified-app #sgx-services .sgmsc-catalog-toggle{display:block;width:100%;min-height:46px;margin:12px 0 0;font-size:13px;line-height:1.3}
  body.sagace-unified-app #sgx-services .sgmsc-resume{display:block;min-height:48px;width:100%;margin-bottom:12px;font-size:14px}
  body.sagace-unified-app #sgx-services[data-sgmsc-detail]>.sgx-main,body.sagace-unified-app #sgx-services[data-sgmsc-detail]>.sgx-dialog{display:none!important}
  body.sagace-unified-app #sgx-services .sgmsc-detail{display:flex;flex-direction:column;gap:14px;padding:14px 0 24px;scroll-margin-top:14px}
  body.sagace-unified-app #sgx-services .sgmsc-detail>h2{text-align:center;font-size:25px;line-height:1.2;margin:0;color:var(--sgx-ink,#173a5d)}
  body.sagace-unified-app #sgx-services .sgmsc-detail>p{font-size:14px;line-height:1.5;margin:0}
  body.sagace-unified-app #sgx-services .sgmsc-detail .sgmsc-detail-visual{width:100%;max-width:330px;align-self:center;aspect-ratio:1;min-height:0;padding:0;overflow:hidden;border-radius:16px}
  body.sagace-unified-app #sgx-services .sgmsc-detail-visual>img,body.sagace-unified-app #sgx-services .sgmsc-detail-visual>svg{width:100%;height:100%;object-fit:cover;object-position:center}
  body.sagace-unified-app #sgx-services .sgmsc-detail-visual .sgx-shot-before{position:absolute;bottom:10px;inset-inline-start:10px;width:25%;min-width:76px;max-width:96px;box-sizing:border-box;margin:0;padding:4px;border:1px solid #d5e1ee;background:#fff;border-radius:9px}
  body.sagace-unified-app #sgx-services .sgmsc-detail-visual .sgx-shot-before img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
  body.sagace-unified-app #sgx-services .sgmsc-detail-visual .sgx-shot-before figcaption{position:static;padding:4px 0 0;font-size:12px;line-height:1.3;text-align:center;white-space:normal;overflow-wrap:anywhere;border-radius:0}
  body.sagace-unified-app #sgx-services .sgmsc-detail-visual .sgx-shot-after{position:absolute;top:9px;inset-inline-end:9px;box-sizing:border-box;max-width:calc(100% - 18px);padding:4px 7px;border-radius:7px;background:#fff;color:#173a5d;font-size:12px;line-height:1.3;font-weight:650;white-space:normal;overflow-wrap:anywhere}
  /* Informational labels are not touch controls: no button-size minimums or
     capsule styling. Keep the native comparison slider itself unchanged. */
  body.sagace-unified-app #sgx-services .sgx-compare-label{box-sizing:border-box;max-width:calc(50% - 16px);min-width:0;min-height:0;top:8px;padding:4px 6px;border-radius:6px;font-size:12px;line-height:1.3;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;text-align:center}
  body.sagace-unified-app #sgx-services .sgx-compare-label-before{left:8px}
  body.sagace-unified-app #sgx-services .sgx-compare-label-after{right:8px}
  body.sagace-unified-app #sgx-services .sgmsc-detail-back{align-self:flex-start;min-height:44px;font-size:13px}
  body.sagace-unified-app #sgx-services .sgmsc-start{min-height:50px;font-size:15px}
  body.sagace-unified-app #sgx-services .sgmsc-browse-project{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
  body.sagace-unified-app #sgx-services[dir=rtl] .sgmsc-tile-name{line-height:1.5;letter-spacing:0}
  body.sagace-unified-app #sgx-services .sgx-grid>.sgx-empty{grid-column:1/-1}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-chat-full{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .sgmsc-chat-short{display:inline;font-size:13px;line-height:1.3;font-weight:650}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .suggestion{min-height:48px!important;padding:10px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .suggestion :is(small,.suggestion-badge){display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .selected-agent-copy>:is(small,span){display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-hint{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-tools{display:grid!important;grid-template-columns:44px 44px minmax(0,1fr)!important;overflow-x:visible!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-tools .tool-btn{width:44px!important;min-width:44px!important;justify-content:center!important;gap:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-tools .tool-btn span:not(.ico){display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4 .composer-tools .voice-chat-btn{min-width:0!important;width:100%!important;justify-content:center!important;gap:5px!important}
}

/* Native PC orientation dialog, adapted only for the internal mobile app.
 * Keep the existing DOM, agent photos, costs, authentication and event handlers.
 */
@media (max-width: 767px) {
  body.sagace-unified-app #sagace-voice-orientation-modal {
    padding: 0 !important;
    align-items: stretch !important;
    animation: none !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    animation: none !important;
    box-shadow: none !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-header {
    gap: 10px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) calc(62px + env(safe-area-inset-right, 0px)) 10px calc(14px + env(safe-area-inset-left, 0px)) !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-agent-photo {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    border-radius: 12px !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-header h2 {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-header small {
    font-size: 10px !important;
    letter-spacing: .02em !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-header p {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-close {
    width: 44px !important;
    height: 44px !important;
    top: calc(10px + env(safe-area-inset-top, 0px)) !important;
    right: calc(10px + env(safe-area-inset-right, 0px)) !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px calc(14px + env(safe-area-inset-right, 0px)) 12px calc(14px + env(safe-area-inset-left, 0px)) !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    scroll-behavior: auto !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-body > * {
    flex-shrink: 0 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-stage {
    order: 0 !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 8px 10px !important;
    padding: 0 !important;
    text-align: start !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-voice-visual {
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    grid-row: auto !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-voice-core { inset: 7px !important; }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-voice-core svg { width: 22px !important; height: 22px !important; }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-voice-ring { inset: 2px !important; }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-wave { bottom: 1px !important; }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-state-copy > strong {
    margin-top: 0 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-state-copy > p {
    margin: 4px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-disclosure {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: start !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-results { order: 1 !important; }
  /* One main scrolling area. Preserve the complete transcript below services. */
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-transcript {
    order: 2 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-line {
    width: 94% !important;
    overflow-wrap: anywhere !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-line strong { font-size: 12px !important; }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-card-photo {
    width: 48px !important;
    height: 48px !important;
    align-self: start !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-card-copy small {
    font-size: 11px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-card-copy h3 {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-card-copy p {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-card > button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal :is(button, a) {
    min-height: 44px !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    touch-action: manipulation;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal :is(.sagace-voice-orientation-card > button, .sagace-voice-orientation-confirm button, .sagace-voice-orientation-results-action) {
    font-size: 13px !important;
    line-height: 1.35 !important;
    padding: 10px 12px !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-confirm {
    padding: 12px !important;
    gap: 12px !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-confirm-actions { grid-template-columns: minmax(0, 1fr) !important; }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-footer {
    padding: 10px calc(14px + env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) calc(14px + env(safe-area-inset-left, 0px)) !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-main {
    width: 100% !important;
    min-height: 48px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-written {
    margin-top: 8px !important;
    padding-top: 8px !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-written label { font-size: 12px !important; }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-written > div {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) !important;
    gap: 8px !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-written input {
    font-size: 16px !important;
    min-height: 48px !important;
    padding: 10px !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-written button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    font-size: 13px !important;
    padding: 9px !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-guest {
    max-height: none !important;
    overflow: visible !important;
  }
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-guest p { font-size: 12px !important; }
}
/* A short viewport or open keyboard must not clip login/cost/action controls. */
@media (max-width: 767px) and (max-height: 560px) {
  body.sagace-unified-app #sagace-voice-orientation-modal .sagace-voice-orientation-footer {
    max-height: 50vh !important;
    max-height: 50dvh !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
  }
}

/* Mobile-only professional navigation; real actions keep the site's button decorator. */
.sgmp-index-intro,.sgmp-role,.sgmp-short,.sgmp-index-toggle,.sgmp-pagination,.sgmp-space-toggle,.sgmp-agents-link,.sgmp-detail{display:none!important}
@media(max-width:767px){
































































}

/* Geometry only: snippet 2308 continues to own Capsule / Verre / Off.
 * New controls declare data-sg-mobile-control="action|icon|tab|tile".
 * A tile is one image + its short label; place separate CTAs outside the tile.
 * Do not force data-sgv tags, shadows, radius, pseudo-elements or knob padding.
 */
@media (max-width:767px) {
  body.sagace-unified-app [data-sg-mobile-control] {
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
    min-height:44px;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
  }
  body.sagace-unified-app [data-sg-mobile-control="action"] {
    white-space:normal;
    overflow-wrap:break-word;
    line-height:1.3;
    text-align:center;
  }
  body.sagace-unified-app [data-sg-mobile-control="icon"] {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    min-width:44px;
    min-height:44px;
  }
  body.sagace-unified-app [data-sg-mobile-control="tab"] {
    min-height:48px;
    white-space:normal;
    overflow-wrap:normal;
    line-height:1.2;
  }
  body.sagace-unified-app [data-sg-mobile-control="tile"] {
    white-space:normal;
    overflow-wrap:break-word;
    line-height:1.2;
  }
  body.sagace-unified-app [data-sg-mobile-control] > :is(span,strong,small) {
    min-width:0;
  }
  body.sagace-unified-app [data-sg-mobile-control="icon"] > svg {
    flex-shrink:0;
  }
}

/* Chat libre on phones: one conversation viewport, native controls and button materials. */
#sagace-chat-libre-v7-4 .sgcf-options-toggle,#sagace-chat-libre-v7-4 .sgcf-empty-copy{display:none}
@media(max-width:767px){
  /* Available in the document head, before runtime enhancement, so the four welcome cards never flash. */
  #sagace-chat-libre-v7-4 .main.chat-empty .empty .suggestions,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .empty .suggestions{display:none!important}
  html.sgcf-mobile:not(.sgcf-fallback),body.sagace-unified-app.sgcf-mobile:not(.sgcf-fallback){height:100%!important;overflow:hidden!important;overscroll-behavior-y:none}
  body.sagace-unified-app.sgcf-mobile{padding-bottom:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile{position:fixed!important;top:var(--sgcf-top,60px)!important;inset-inline:0!important;bottom:auto!important;z-index:90!important;width:100%!important;height:var(--sgcf-height,calc(100dvh - 128px))!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;background:var(--panel-strong,#fff)!important;overflow:hidden!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile :is(.hero,.sgmsc-about,.sgc-nav){display:none!important}
  body.sagace-unified-app.sgcf-mobile :is(#colophon,.site-footer,#sgc-help-dock){display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile :is(.wrap,.chat-shell,.main,.main-top,.composer-zone,.agent-picker){transform:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;perspective:none!important;contain:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile>.wrap,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .chat-shell{height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main.chat-empty{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;box-shadow:none!important;background:var(--panel-strong,#fff)!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main-top{position:relative!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px!important;min-height:54px!important;padding:5px 8px!important;border-bottom:1px solid var(--line)!important;background:var(--panel-strong,#fff)!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main-left{flex:0 0 44px!important;width:44px!important;gap:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .titlebox{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile :is(#menuBtn,.sgcf-options-toggle){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;flex:0 0 44px!important;color:var(--ink)!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sgcf-options-toggle svg{display:block;width:22px;height:22px;fill:currentColor;stroke:none}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main-top>.agent-picker{flex:1 1 auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .agent-picker-summary{display:flex!important;gap:4px!important;padding:0!important;min-width:0!important;flex-wrap:nowrap!important;background:transparent!important;border:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .selected-agent-card{flex:1 1 auto!important;min-width:0!important;gap:6px!important;padding:0!important;border:0!important;background:transparent!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .selected-agent-photo{width:30px!important;height:30px!important;flex-basis:30px!important;min-width:30px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .selected-agent-copy{min-width:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .selected-agent-copy strong{font-size:14px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .selected-agent-copy>:is(small,span){display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile #agentPickerToggle{flex:0 0 auto!important;min-width:44px!important;min-height:44px!important;padding:5px 8px!important;gap:4px!important;font-size:12px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main-right{display:none!important;position:absolute!important;top:calc(100% + 4px)!important;inset-inline-end:8px!important;width:min(300px,calc(100vw - 16px))!important;max-height:calc(var(--sgcf-height) - 68px)!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:120!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--panel-strong,#fff)!important;box-shadow:0 12px 36px #09172f26!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-options-open .main-right{display:grid!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main-right .model{grid-column:1/-1!important;min-width:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main-right :is(.model-btn,.icon-btn){width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:8px 10px!important;gap:6px!important;font-size:13px!important;white-space:normal!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main-right .btn-label{display:inline!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .model-menu{position:static!important;inset:auto!important;width:100%!important;max-height:none!important;box-shadow:none!important;margin-top:6px!important;padding:4px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .content,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main.chat-empty .content{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;scroll-behavior:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .thread,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .main.chat-empty .thread{width:calc(100% - 28px)!important;min-height:100%!important;height:auto!important;max-height:none!important;padding:14px 0!important;display:flex!important;flex-direction:column!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;flex:1 0 auto!important;min-height:0!important;margin:auto 0!important;padding:14px 0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .empty>:is(h2,p),body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .empty-agent-role{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .empty-agent-visual{margin:0!important;gap:8px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .empty-agent-image{width:66px!important;height:66px!important;flex-basis:66px!important;box-shadow:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .empty-agent-name{font-size:14px!important;line-height:1.2!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sgcf-empty-copy{display:block!important;text-align:center!important;max-width:300px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sgcf-empty-copy h2{font-size:24px!important;line-height:1.2!important;letter-spacing:-.025em!important;font-weight:750!important;margin:16px 0 8px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sgcf-empty-copy p{font-size:13px!important;line-height:1.4!important;margin:0!important;color:var(--muted)!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .message{flex-shrink:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .message-body{font-size:15px!important;line-height:1.55!important;max-height:none!important;overflow-wrap:anywhere!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .composer-zone{position:relative!important;flex:0 0 auto!important;inset:auto!important;padding:8px max(8px,env(safe-area-inset-left,0px)) 8px max(8px,env(safe-area-inset-right,0px))!important;min-height:0!important;background:var(--panel-strong,#fff)!important;border:0!important;border-top:1px solid var(--line)!important;box-shadow:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .composer-wrap{width:100%!important;margin:0!important;min-height:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .composer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;padding:6px!important;min-height:0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile :is(.composer-main,.composer-bottom){display:contents!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .input-wrap{grid-column:1!important;grid-row:1!important;min-height:44px!important;height:auto!important;padding:0 8px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile #chatInput{min-height:44px!important;max-height:96px!important;padding:11px 0!important;font-size:16px!important;line-height:22px!important;overflow-y:auto!important;resize:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile #sendBtn{grid-column:2!important;grid-row:1!important;width:auto!important;min-width:82px!important;height:44px!important;min-height:44px!important;padding:6px 10px!important;align-self:end!important;font-size:13px!important;white-space:nowrap!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .composer-tools{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:44px 44px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;width:100%!important;min-height:44px!important;padding:0!important;overflow:visible!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .composer-tools :is(.tool-btn,.voice-chat-btn){height:44px!important;min-height:44px!important;font-size:13px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .composer-hint{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .files.active{max-height:76px!important;overflow-y:auto!important;margin-bottom:6px!important;overscroll-behavior:contain}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile :is(.agent-picker-panel,.chat-tools-popover){position:fixed!important;top:calc(var(--sgcf-top) + 58px)!important;bottom:auto!important;inset-inline:8px!important;max-height:calc(var(--sgcf-height) - 66px)!important;height:auto!important;min-height:0!important;width:auto!important;margin:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;transform:none!important;z-index:180!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sagace-agent-picker-backdrop{position:fixed!important;top:var(--sgcf-top)!important;bottom:auto!important;inset-inline:0!important;height:var(--sgcf-height)!important;z-index:170!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .agent-picker-panel[hidden],body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .chat-tools-popover[hidden]{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sidebar{position:fixed!important;top:var(--sgcf-top)!important;bottom:auto!important;inset-inline-start:8px!important;width:min(330px,calc(100vw - 56px))!important;height:var(--sgcf-height)!important;max-height:var(--sgcf-height)!important;z-index:200!important;visibility:hidden!important;pointer-events:none!important;transition:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sidebar-open .sidebar{visibility:visible!important;pointer-events:auto!important;transform:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .overlay{position:fixed!important;top:var(--sgcf-top)!important;bottom:auto!important;height:var(--sgcf-height)!important;z-index:190!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .chat-toast{top:auto!important;bottom:calc(100dvh - var(--sgcf-top) - var(--sgcf-height) + 120px)!important;z-index:210!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sgmsc-photo-prompt{padding:4px 40px 4px 8px!important;grid-template-columns:minmax(0,1fr)!important;min-height:44px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sgmsc-photo-prompt p{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile .sgmsc-photo-add{width:100%!important;min-height:44px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-small .empty-agent-visual,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-small .sgcf-empty-copy p{display:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-small .empty{padding:6px 0!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-small .sgcf-empty-copy h2{margin:4px 0!important;font-size:19px!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-small .thread{padding-block:6px!important}
  /* At browser zoom or an exceptionally short viewport, let the page scroll instead of cropping controls. */
  html.sgcf-mobile.sgcf-fallback,body.sagace-unified-app.sgcf-mobile.sgcf-fallback{height:auto!important;overflow-y:auto!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-fallback{position:relative!important;top:auto!important;height:auto!important;overflow:visible!important;padding-bottom:var(--sgmn-dock,0px)!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-fallback .main,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-fallback .main.chat-empty{height:auto!important;min-height:0!important;overflow:visible!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-fallback .content,body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-fallback .main.chat-empty .content{flex:none!important;height:160px!important;min-height:80px!important;max-height:none!important}
  body.sagace-unified-app #sagace-chat-libre-v7-4.sgcf-mobile.sgcf-fallback :is(.agent-picker-panel,.chat-tools-popover){top:calc(var(--sgcf-view-top) + 8px)!important;max-height:calc(var(--sgcf-view-height) - 16px)!important}
}

/* Scoped details for the native orientation error, never the audio controls. */
#sagace-voice-orientation-modal .sgorh-diagnostic p {
  font-size:14px;line-height:1.5;margin:10px 0;overflow-wrap:anywhere;
}
#sagace-voice-orientation-modal .sgorh-diagnostic button {
  min-height:44px;max-width:100%;padding:8px 12px;font-size:14px;line-height:1.3;
}

/* Mobile component contract. Main actions continue to use snippet 2308. */
.sgmc-arrow{display:none}
@media(max-width:767px){
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom{gap:0!important;padding-top:3px!important;padding-bottom:max(4px,env(safe-area-inset-bottom,0px))!important}
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:relative!important;min-width:0!important;min-height:54px!important;width:100%!important;padding:5px 0!important;gap:4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#52657c!important;font:600 10.5px/1.25 system-ui,sans-serif!important;text-decoration:none!important;transform:none!important}
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link>svg{width:22px!important;height:22px!important;margin:0!important;padding:0!important;flex:none!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link>span:not(.sgmn-badge){white-space:nowrap!important;letter-spacing:-.02em!important}
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link:is([aria-current],[aria-expanded=true]){color:#1262d2!important}
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link::before{content:none!important}
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link::after{content:none!important}
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-link:is([aria-current],[aria-expanded=true])::after{content:""!important;position:absolute!important;top:0!important;left:calc(50% - 10px)!important;width:20px!important;height:2px!important;background:#1262d2!important;border-radius:2px!important;box-shadow:none!important}
  body.sagace-unified-app #sg-unified-nav .sgmn-bottom .sgmn-badge{position:absolute;top:1px;right:6px;min-width:14px!important;font-size:9px!important}

  /* Only the catalogue itself scrolls horizontally, never the document. */
  body.sagace-unified-app .sgmc-wrap{position:relative;min-width:0;max-width:100%;width:100%;box-sizing:border-box}
  body.sagace-unified-app :is(#sagace-pro-tunnel-v1:not(*),#sgx-services,#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-vie-tunnel-v1:not(*),#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .sgmc-track.sgmc-track {display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-template-rows:auto!important;grid-auto-columns:88%!important;gap:12px 8px!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:0;scrollbar-width:thin;scrollbar-color:#b9cce0 transparent;padding:2px 0 10px!important;margin-inline:0!important;box-sizing:border-box!important;align-items:stretch!important}
  body.sagace-unified-app :is(#sagace-pro-tunnel-v1:not(*),#sgx-services) .sgmc-compact .sgmc-track.sgmc-track {grid-template-rows:repeat(2,auto)!important;grid-auto-columns:calc((100% - 36px)/3)!important}
  body.sagace-unified-app .sgmc-track>*{min-width:0!important;max-width:100%!important;grid-column:auto!important;scroll-snap-align:start;box-sizing:border-box}
  body.sagace-unified-app .sgmc-arrow{display:grid;place-items:center;position:absolute;z-index:3;top:calc(50% - 28px);width:44px!important;height:48px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#153b65!important;box-shadow:none!important;touch-action:manipulation;cursor:pointer}
  body.sagace-unified-app .sgmc-arrow svg{width:20px;height:20px;box-sizing:content-box;padding:4px;background:#ffffffdb;border-radius:50%;box-shadow:0 1px 7px #173e6933;pointer-events:none}
  body.sagace-unified-app .sgmc-arrow:disabled{opacity:0;pointer-events:none}
  body.sagace-unified-app .sgmc-previous{inset-inline-start:0}
  body.sagace-unified-app .sgmc-next{inset-inline-end:0}
  body.sagace-unified-app [dir=rtl] .sgmc-arrow svg{transform:scaleX(-1)}
  body.sagace-unified-app :is(.sgmc-arrow,.sgmn-link,.sct-cell,.sgx-filter):focus-visible{outline:3px solid #2075dc!important;outline-offset:-3px}
  
  
  
  body.sagace-unified-app #sgx-services .sgmsc-tile-name{font-size:12px!important;line-height:1.3!important;min-height:3.9em;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;padding:0 4px!important}
  body.sagace-unified-app #sgx-services .sgx-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.sagace-unified-app #sgx-services .sgx-filter{min-height:46px!important;width:100%!important;min-width:0!important;padding:10px!important;border:1px solid #d1ddeb!important;border-radius:10px!important;background:#f6f9fd!important;color:#294667!important;box-shadow:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
  body.sagace-unified-app #sgx-services .sgx-filter:is(.is-active,[aria-pressed=true]){background:#e8f1fe!important;color:#0b52ad!important;border-color:#8bb7ef!important}
  body.sagace-unified-app #sgx-services .sgx-filter::before,body.sagace-unified-app #sgx-services .sgx-filter::after{content:none!important}
  body.sagace-unified-app #sgx-services .sgmsc-category-name{font-size:13px!important;line-height:1.3!important;overflow-wrap:normal!important;word-break:normal!important;white-space:nowrap!important}

  /* Native glyphs on phones: the plugin retains textContent; no transparent text waiting on artwork. Desktop keeps 3D artwork. Slots fit their authored column. */
  body.sagace-unified-app :is(#sagace-coaching-v5,#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-tunnel-v1,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),[id^="sagace-"]) .sagace-icon-slot {--sgml-icon:32px;display:inline-flex!important;width:var(--sgml-icon)!important;height:var(--sgml-icon)!important;min-width:var(--sgml-icon)!important;min-height:var(--sgml-icon)!important;max-width:var(--sgml-icon)!important;max-height:var(--sgml-icon)!important;flex:0 0 var(--sgml-icon)!important;align-items:center!important;justify-content:center!important;padding:0!important;overflow:visible!important;font-size:24px!important;line-height:1!important;isolation:isolate}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-carte .sct-ico{--sgml-icon:24px;left:11px!important;top:11px!important;font-size:20px!important}
  body.sagace-unified-app :is(#sagace-coaching-v5,#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-tunnel-v1,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),[id^="sagace-"]) .sagace-icon-slot > :is(span.sagace-emoji-3d,img.sagace-emoji-3d-image) {position:static!important;inset:auto!important;width:var(--sgml-icon)!important;height:var(--sgml-icon)!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;opacity:1!important;visibility:visible!important;object-fit:contain!important;box-shadow:none!important;transform:none!important;filter:none!important}
  body.sagace-unified-app :is(#sagace-coaching-v5,#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-tunnel-v1,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),[id^="sagace-"]) .sagace-icon-slot > span.sagace-emoji-3d {display:inline-block!important;background-color:transparent!important;background-image:none!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;font-size:24px!important;line-height:var(--sgml-icon)!important;color:#183b60!important;-webkit-text-fill-color:currentColor!important}
  body.sagace-unified-app :is(#sagace-coaching-v5,#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-tunnel-v1,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),[id^="sagace-"]) .sagace-icon-slot > span.sagace-emoji-3d.is-ready[style*="--sagace-emoji-image"] {background-image:none!important;color:#183b60!important;-webkit-text-fill-color:currentColor!important}

  body.sagace-unified-app :is(#sagace-coaching-tunnel-v1,#sagace-pro-tunnel-v1:not(*)) .sgml-inline-program {position:static!important;inset:auto!important;display:flex!important;z-index:auto!important;width:100%!important;box-sizing:border-box!important;margin:8px 0 14px!important;padding:10px 12px!important;border-radius:12px!important;box-shadow:none!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 :is(.sct-shell,.sct-cols,.sct-seance,.sct-q,.sct-q-body){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-shell{padding-bottom:16px!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability{grid-template-columns:42px repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:100%!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability>*{grid-row:var(--sgml-row)!important;grid-column:var(--sgml-col)!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability .sct-gh{height:44px!important;font-size:11px!important;letter-spacing:0!important;align-self:center}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability .sct-gl{font-size:11px!important;line-height:1.3!important;text-align:center!important;align-items:center!important;padding:0!important;overflow-wrap:normal!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability .sct-gl small{display:block!important;font-size:9px!important;line-height:1.25!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability .sct-cell{display:grid!important;place-items:center!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;border:1px solid #b6c8d9!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;transform:none!important;touch-action:manipulation}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability .sct-cell::before{content:none!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability .sct-cell::after{content:none!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability .sct-cell.on{background:#0c6370!important;border-color:#0c6370!important}
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgml-availability .sct-cell.on::after{content:"✓"!important;display:block!important;position:static!important;background:none!important;color:#fff!important;font:700 19px/1 system-ui!important;transform:none!important;box-shadow:none!important}
}
@media(max-width:767px) and (forced-colors:active){body.sagace-unified-app .sagace-icon-slot>span.sagace-emoji-3d.is-ready{background-image:none!important;color:CanvasText!important;-webkit-text-fill-color:currentColor!important}}

/* Scoped to marked service/agent cards. Conversation avatars and form controls stay native. */
.sgmi-picture{display:none}
@media(max-width:767px){
body.sagace-unified-app :is(#sagace-vie-v4:not(*),#sagace-vie-tunnel-v1:not(*),#sagace-edu-v4:not(*),#sagace-coaching-v5,#sagace-pro-v4:not(*),#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux,#sagace-tutor-smart,#sagace-homeschool-smart,#sagace-revision-smart,#sagace-memory-smart) [data-sg-picture-card][data-sg-picture-card] {display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;min-width:0!important;min-height:0!important;padding:0!important;gap:0!important;overflow:hidden!important;border-radius:14px!important;text-align:center!important}
body.sagace-unified-app :is(#sagace-vie-v4:not(*),#sagace-vie-tunnel-v1:not(*),#sagace-edu-v4:not(*),#sagace-coaching-v5,#sagace-pro-v4:not(*),#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux,#sagace-tutor-smart,#sagace-homeschool-smart,#sagace-revision-smart,#sagace-memory-smart) [data-sg-picture-slot][data-sg-picture-slot] {position:relative!important;inset:auto!important;display:block!important;order:-1!important;grid-row:auto!important;grid-column:auto!important;flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important;margin:0!important;padding:0!important;border-radius:0!important;overflow:hidden!important;background:#edf5f7!important;object-fit:cover!important;object-position:center!important;box-sizing:border-box!important}
body.sagace-unified-app :is(#sagace-vie-v4:not(*),#sagace-vie-tunnel-v1:not(*),#sagace-edu-v4:not(*),#sagace-coaching-v5,#sagace-pro-v4:not(*),#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux,#sagace-tutor-smart,#sagace-homeschool-smart,#sagace-revision-smart,#sagace-memory-smart) [data-sg-picture-slot][data-sg-picture-slot] img {position:static!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;transform:none!important}
body.sagace-unified-app :is(#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-edu-v4:not(*),#sagace-pro-v4:not(*)) [data-sg-picture-slot="portrait"][data-sg-picture-slot] {aspect-ratio:1!important}
body.sagace-unified-app :is(#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-edu-v4:not(*),#sagace-pro-v4:not(*)) [data-sg-picture-slot="portrait"][data-sg-picture-slot] img {object-fit:cover!important;object-position:center 20%!important}












body.sagace-unified-app #sagace-coaching-v5 .uni[data-sg-picture-card] .uni-flag{inset:auto 8px 8px!important;width:max-content!important;max-width:calc(100% - 16px)!important;padding:4px 8px!important;white-space:normal!important;font-size:11px!important}
body.sagace-unified-app :is(#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-edu-v4:not(*),#sagace-pro-v4:not(*)) [data-sg-picture-card="portrait"]>strong {margin:9px 8px 3px!important;text-align:center!important;font-size:14px!important;line-height:1.3!important}
body.sagace-unified-app :is(#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-edu-v4:not(*),#sagace-pro-v4:not(*)) [data-sg-picture-card="portrait"]>:is(small,.sgmp-role) {margin:0 8px 10px!important;padding:0!important;text-align:center!important;font-size:12px!important;line-height:1.35!important}



body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .ed-services .ed-service-card[data-sg-picture-card]::after{grid-column:auto!important}
body.sagace-unified-app :is(#sagace-tutor-smart,#sagace-homeschool-smart,#sagace-revision-smart,#sagace-memory-smart) [data-sg-picture-card]>:not([data-sg-picture-slot]){margin:8px 12px!important;min-width:0!important}
}

/* Structural safeguard: applies before JS repositions the original access bar.
   It must never be fixed while a late renderer rebuilds a Coaching question. */
@media(max-width:767px){
#sagace-coaching-tunnel-v1 .sct-mbar {position:static!important;inset:auto!important;z-index:auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:10px 0 14px!important;box-shadow:none!important;transform:none!important}
#sagace-coaching-tunnel-v1 .sct-prog:not(.ouvert){visibility:hidden!important;pointer-events:none!important}
}

/* Card artwork fills the available width, with proportional centered cropping. */
@media(max-width:767px){
body.sagace-unified-app [data-sg-picture-card] > :is(h2,h3,strong),
body.sagace-unified-app [data-sg-picture-card] :is(.cat-copy>strong,.profile-title,.uni-body>h3,.ed-card-copy>strong,.st-card-title,.sh-card-title,.srv-card-title,.smm-card-title){text-align:center!important}
}

/* Smartphone progress and visual previews. The desktop retains native styling.
 * Main actions continue to be styled by the button owner, snippet 2308. */
@media(max-width:767px){
body.sagace-unified-app :is(#sgx-services,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),#sagace-coaching-tunnel-v1) :is(.sgx-steps,.svt-steps,.spt-steps,.sct-steps) {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:5px 0!important;border:0!important;box-shadow:none!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none}
body.sagace-unified-app :is(#sgx-services,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),#sagace-coaching-tunnel-v1) :is(.sgx-step,.svt-step,.spt-step,.sct-step) {position:relative!important;display:block!important;flex:1 1 0!important;min-width:0!important;min-height:30px!important;height:auto!important;max-width:100%!important;margin:0!important;padding:7px 3px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;box-shadow:none!important;transform:none!important;font-family:inherit!important;font-weight:600!important;font-size:11px!important;line-height:1.35!important;color:#718198!important;-webkit-text-fill-color:currentColor!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-decoration:none!important;letter-spacing:0!important}
body.sagace-unified-app :is(#sgx-services,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),#sagace-coaching-tunnel-v1) [data-sg-mobile-progress="scroll"]>:is(.sgx-step,.svt-step,.spt-step,.sct-step) {flex:0 0 auto!important;max-width:130px!important;padding-inline:6px!important}
body.sagace-unified-app :is(#sgx-services,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),#sagace-coaching-tunnel-v1) :is(.sgx-step[aria-current="step"],.svt-step.on,.spt-step.on,.sct-step.on) {color:#1464c4!important;border-bottom-color:#1464c4!important;opacity:1!important}
body.sagace-unified-app :is(#sgx-services,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),#sagace-coaching-tunnel-v1) :is(.sgx-step,.svt-step,.spt-step,.sct-step)::before,
  body.sagace-unified-app :is(#sgx-services,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),#sagace-coaching-tunnel-v1) :is(.sgx-step,.svt-step,.spt-step,.sct-step)::after {display:none!important}
body.sagace-unified-app :is(#sgx-services,#sagace-vie-tunnel-v1:not(*),#sagace-pro-tunnel-v1:not(*),#sagace-coaching-tunnel-v1) :is(.sgx-step>span,.svt-step>i,.spt-step>i,.sct-step>i) {display:inline-grid!important;place-items:center!important;vertical-align:middle!important;width:15px!important;height:15px!important;min-width:15px!important;margin:0 4px 0 0!important;padding:0!important;border:1px solid currentColor!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font-size:10px!important;font-style:normal!important;line-height:1!important}
body.sagace-unified-app #sgx-services .sgx-step>strong{display:inline!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-size:inherit!important;line-height:inherit!important}
body.sagace-unified-app .ed-guide-step{padding:5px 7px!important;min-height:28px!important;font-size:11px!important;line-height:1.35!important;border-radius:4px!important;box-shadow:none!important}

/* The native comparator is already before the form in DOM order. */
body.sagace-unified-app #sgx-services .sgx-dialog{display:flex!important;flex-direction:column!important;gap:10px!important;padding-top:0!important}
body.sagace-unified-app #sgx-services .sgx-dialog>*{order:0!important;min-width:0!important}
body.sagace-unified-app #sgx-services .sgx-dialog[hidden],body.sagace-unified-app #sgx-services[data-sgmsc-detail]>.sgx-dialog{display:none!important}
body.sagace-unified-app #sgx-services .sgx-dialog-top{padding:8px 10px 2px!important;gap:5px!important;margin:0!important;border-radius:12px!important;box-shadow:none!important;min-height:0!important}
body.sagace-unified-app #sgx-services .sgx-dialog-top :is(.sgx-close,.sgmsc-browse-project){display:none!important}
body.sagace-unified-app #sgx-services .sgx-agent{font-size:14px!important;line-height:1.3!important;gap:7px!important}
body.sagace-unified-app #sgx-services .sgx-agent img{width:28px!important;height:28px!important}
body.sagace-unified-app #sgx-services .sgx-service-heading{margin:0!important;padding:0 2px!important}
body.sagace-unified-app #sgx-services .sgx-service-heading .sgx-eyebrow{font-size:10px!important;margin-bottom:3px!important}
body.sagace-unified-app #sgx-services .sgx-service-heading h2{font-size:20px!important;line-height:1.2!important;margin:3px 0!important}
body.sagace-unified-app #sgx-services .sgx-service-heading p{font-size:12px!important;line-height:1.4!important;margin:4px 0 0!important}
body.sagace-unified-app #sgx-services .sgx-dialog>.sgx-compare-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:8px!important;border-radius:12px!important;box-sizing:border-box!important}
body.sagace-unified-app #sgx-services .sgx-source-preview>.sgx-eyebrow{display:block!important;font-size:10px!important;line-height:1.3!important;margin:0 0 5px!important;text-align:center!important}
body.sagace-unified-app #sgx-services .sgx-source-preview .sgx-comparison{margin:0!important}
body.sagace-unified-app #sgx-services .sgx-source-preview .sgx-compare{width:164px!important;max-width:100%!important;height:164px!important;max-height:164px!important;margin:auto!important;border-radius:9px!important}
body.sagace-unified-app #sgx-services .sgx-source-preview .sgx-compare-label{max-width:45%!important;font-size:9px!important;line-height:1.2!important;white-space:nowrap!important;padding:3px 5px!important}
body.sagace-unified-app #sgx-services .sgx-source-preview .sgx-comparison figcaption{font-size:10px!important;line-height:1.35!important;margin:5px 0 0!important;text-align:center!important}
body.sagace-unified-app #sgx-services .sgx-source-preview:has(.sgx-comparison):has(.sgx-source-empty)>.sgx-source-images,
body.sagace-unified-app #sgx-services .sgx-source-preview:has(.sgx-comparison):has(.sgx-source-empty)>.sgx-eyebrow:not(:first-child),
body.sagace-unified-app #sgx-services .sgx-source-preview:has(.sgx-comparison):has(.sgx-source-empty)>.sgx-small{display:none!important}
body.sagace-unified-app #sgx-services .sgx-dialog[data-step="3"]>.sgx-compare-wrap{display:none!important}
body.sagace-unified-app #sgx-services .sgx-step-heading{gap:4px!important;margin-bottom:8px!important}
body.sagace-unified-app #sgx-services .sgx-question-number{display:none!important}
body.sagace-unified-app #sgx-services .sgx-step-heading h3{grid-column:1/-1!important;font-size:17px!important;line-height:1.25!important;margin:0!important}
body.sagace-unified-app #sgx-services .sgx-step-heading p{grid-column:1/-1!important;font-size:12px!important;line-height:1.4!important;margin:2px 0!important}
body.sagace-unified-app #sgx-services .sgx-step-pane{padding:12px!important;gap:10px!important}
body.sagace-unified-app #sgx-services .sgx-step-pane[data-step="2"] .sgx-actions>button:first-child{display:none!important}













/* These category photos contain their title. A taller frame shows the whole
 * image, with narrower artwork when necessary; no title cropping or stretch. */


}

/* One compact explanation for a confirmed access denial. No page-wide rules. */
#sagace-access-feedback {
  box-sizing:border-box; color:#142b48; font-family:inherit; font-size:15px; line-height:1.45;
  background:#fff; border:1px solid #cbd9e9; border-inline-start:4px solid #2364ce;
  border-radius:16px; padding:18px 50px 18px 18px; text-align:start;
  box-shadow:0 10px 32px rgba(23,47,82,.16); overflow-wrap:break-word;
}
#sagace-access-feedback *, #sagace-access-feedback *::before, #sagace-access-feedback *::after {box-sizing:border-box;}
#sagace-access-feedback [hidden] {display:none!important;}
#sagace-access-feedback.sgaf-floating {position:fixed;z-index:2147483000;top:calc(86px + env(safe-area-inset-top,0px));inset-inline:12px;width:calc(100% - 24px);max-width:480px;margin-inline:auto;}
#sagace-access-feedback.sgaf-in-dialog {position:sticky;top:0;z-index:20;flex:none;width:auto;max-width:100%;margin:12px;}
#sagace-access-feedback .sgaf-title {display:block;font-size:18px;font-weight:750;line-height:1.3;}
#sagace-access-feedback .sgaf-description {font-size:15px;line-height:1.45;margin:7px 0 14px;color:#465c74;}
#sagace-access-feedback .sgaf-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;}
#sagace-access-feedback .sgaf-pricing {display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 16px;border-radius:12px;background:#154f98;color:#fff!important;font-size:15px;line-height:1.3;font-weight:700;text-decoration:none;text-align:center;white-space:normal;word-break:normal;}
#sagace-access-feedback .sgaf-account {display:inline-flex;align-items:center;min-height:44px;max-width:100%;font-size:14px;line-height:1.3;color:#245f9c;text-underline-offset:3px;}
#sagace-access-feedback .sgaf-close {position:absolute;inset-inline-end:5px;top:5px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;box-shadow:none;color:#53667c;}
#sagace-access-feedback .sgaf-close::before,#sagace-access-feedback .sgaf-close::after {content:none!important;}
#sagace-access-feedback a:focus-visible,#sagace-access-feedback button:focus-visible {outline:3px solid #3285ed;outline-offset:3px;}
#sagace-access-feedback.sgaf-inline {position:relative;border:0;border-radius:0;box-shadow:none;background:transparent;padding:12px 0;margin:0;max-width:100%;}
#sagace-access-feedback.sgaf-inline .sgaf-actions {justify-content:center;}
#sagace-voice-orientation-modal[data-sagace-access-blocked] .sgorh-diagnostic {display:none!important;}
@media(max-width:767px) {
  #sagace-access-feedback {padding:14px 45px 14px 14px;border-radius:14px;}
  #sagace-access-feedback.sgaf-floating {top:calc(68px + env(safe-area-inset-top,0px));}
  #sagace-access-feedback .sgaf-title {font-size:17px;}
  #sagace-access-feedback .sgaf-description {font-size:14px;}
  #sagace-access-feedback.sgaf-inline {padding:10px 0;}
}

/* Sagace choice panels — shared desktop/mobile drawer.
 * Only the adapter's explicit markers hide native choice groups. Native input
 * state, validation and tunnel layout remain owned by their original engines.
 * The adapter opts structural controls out of 2308 with data-sgv-skip;
 * .sgcp-apply remains eligible for the site's existing button finish. */
[data-sgcp-native] { display:none!important; }

.sgcp-summary[data-sgcp-open],
#sgcp-dialog.sgcp-dialog {
  --sgcp-ink:#173453;
  --sgcp-muted:#60728a;
  --sgcp-blue:#1763c1;
  --sgcp-line:#d9e3ee;
  --sgcp-tint:#eef5ff;
  --sgcp-paper:#fff;
  box-sizing:border-box;
  color:var(--sgcp-ink);
  font-family:inherit;
  line-height:1.4;
  text-align:start;
  -webkit-text-size-adjust:100%;
}
.sgcp-summary[data-sgcp-open] *,
#sgcp-dialog.sgcp-dialog * { box-sizing:border-box; }
.sgcp-summary[data-sgcp-open][hidden],
.sgcp-summary[data-sgcp-open] [hidden],
#sgcp-dialog.sgcp-dialog[hidden],
#sgcp-dialog.sgcp-dialog [hidden] { display:none!important; }

/* A full-width, compact field keeps the selected values beside their question. */
button.sgcp-summary[data-sgcp-open] {
  display:flex!important;
  align-items:center;
  gap:10px;
  inline-size:100%!important;
  min-inline-size:0!important;
  max-inline-size:100%!important;
  min-block-size:60px!important;
  block-size:auto!important;
  margin:6px 0 0!important;
  padding:11px 13px!important;
  border:1.5px solid #7d9ec8!important;
  border-radius:14px!important;
  background:linear-gradient(115deg,#f3f8ff,#e9f2ff)!important;
  box-shadow:0 2px 6px rgba(23,63,111,.09),inset 0 1px 0 rgba(255,255,255,.9)!important;
  color:var(--sgcp-ink)!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.4!important;
  text-align:start!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  white-space:normal!important;
  overflow:visible;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.sgcp-summary[data-sgcp-open] .sgcp-summary-copy {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:3px;
  min-inline-size:0;
}
.sgcp-summary[data-sgcp-open] .sgcp-summary-value {
  display:block;
  color:var(--sgcp-ink);
  font-size:14px!important;
  font-weight:650!important;
  line-height:1.4!important;
  overflow-wrap:anywhere;
  word-break:normal;
}
.sgcp-summary[data-sgcp-open] .sgcp-summary-meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 6px;
  min-inline-size:0;
}
.sgcp-summary[data-sgcp-open] .sgcp-summary-hint {
  display:block;
  color:#496481;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.4!important;
  overflow-wrap:anywhere;
}
.sgcp-summary[data-sgcp-open] .sgcp-count {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-inline-size:19px;
  min-block-size:19px;
  padding:1px 5px;
  border-radius:6px;
  background:#d8e8fc;
  color:var(--sgcp-blue);
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.3!important;
}
/* Author display styles override the browser's default [hidden] rule.
 * This guard fixes the empty count tile in Pro/Vie and on future pages. */
.sgcp-summary[data-sgcp-open] .sgcp-count[hidden],
.sgcp-summary[data-sgcp-open] .sgcp-count:empty { display:none!important; }
.sgcp-summary[data-sgcp-open] .sgcp-summary-action {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-block-size:34px;
  padding:8px 10px;
  border-radius:10px;
  background:#175ca9;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  white-space:nowrap;
  line-height:1.2!important;
}
.sgcp-summary[data-sgcp-open] .sgcp-action-label {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.2!important;
}
.sgcp-summary[data-sgcp-open] .sgcp-chevron {
  display:block;
  flex:0 0 15px;
  inline-size:15px!important;
  block-size:15px!important;
  color:#fff!important;
}
.sgcp-summary[data-sgcp-open][aria-expanded="true"] { border-color:var(--sgcp-blue)!important; }
.sgcp-summary[data-sgcp-open][aria-expanded="true"] .sgcp-chevron { transform:rotate(180deg); }
.sgcp-summary[data-sgcp-open]:disabled,
.sgcp-summary[data-sgcp-open][aria-disabled="true"] { cursor:not-allowed; opacity:.6; }

/* Native dialog top layer avoids collisions with site navigation and modals.
 * Keep the closed state intact: a dialog never becomes visible via CSS alone. */
#sgcp-dialog.sgcp-dialog {
  position:fixed;
  inset:0;
  inline-size:calc(100% - 32px);
  max-inline-size:520px;
  min-inline-size:0;
  block-size:auto;
  max-block-size:calc(100vh - 32px);
  max-block-size:min(85dvh,720px);
  margin:auto;
  padding:0;
  border:1px solid var(--sgcp-line);
  border-radius:16px;
  background:var(--sgcp-paper);
  box-shadow:0 16px 52px rgba(15,38,68,.2);
  overflow:hidden;
  overscroll-behavior:contain;
  font-size:14px;
}
#sgcp-dialog.sgcp-dialog:not([open]) { display:none!important; }
#sgcp-dialog.sgcp-dialog[open] { display:flex; flex-direction:column; }
#sgcp-dialog.sgcp-dialog::backdrop { background:rgba(16,35,60,.45); }
#sgcp-dialog.sgcp-dialog .sgcp-shell {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-inline-size:0;
  min-block-size:0;
  max-block-size:inherit;
  overflow:hidden;
}

/* Header and footer are flex siblings of the only scrollable region. They
 * stay visible without sticky positioning or additional page scroll locks. */
#sgcp-dialog .sgcp-header {
  position:relative;
  flex:0 0 auto;
  min-inline-size:0;
  padding:20px 20px 15px;
  padding-inline-end:70px;
  border-block-end:1px solid var(--sgcp-line);
  background:var(--sgcp-paper);
}
#sgcp-dialog .sgcp-eyebrow {
  display:block;
  margin:0 0 5px;
  color:var(--sgcp-blue);
  font-size:11px;
  font-weight:650;
  line-height:1.4;
  letter-spacing:.04em;
}
#sgcp-dialog #sgcp-title {
  margin:0;
  padding:0;
  color:var(--sgcp-ink);
  font:inherit;
  font-size:20px;
  font-weight:700;
  line-height:1.25;
  text-align:start;
  text-transform:none;
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
#sgcp-dialog #sgcp-help {
  margin:7px 0 0;
  padding:0;
  color:var(--sgcp-muted);
  font-size:13px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
#sgcp-dialog .sgcp-close {
  position:absolute;
  inset-block-start:14px;
  inset-inline-end:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  inline-size:44px;
  min-inline-size:44px;
  block-size:44px;
  min-block-size:44px;
  margin:0;
  padding:10px;
  border:1px solid transparent;
  border-radius:12px;
  background:#f2f6fb;
  box-shadow:none;
  color:var(--sgcp-ink);
  font:inherit;
  font-size:24px;
  font-weight:400;
  line-height:1;
  cursor:pointer;
  touch-action:manipulation;
}
#sgcp-dialog .sgcp-close svg { display:block; inline-size:20px; block-size:20px; }
#sgcp-dialog .sgcp-list {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:4px;
  min-inline-size:0;
  min-block-size:0;
  margin:0;
  padding:12px;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#acbed3 transparent;
  scroll-padding-block:8px;
  -webkit-overflow-scrolling:touch;
}
#sgcp-dialog .sgcp-option {
  display:flex;
  flex:0 0 auto;
  align-items:flex-start;
  gap:11px;
  min-inline-size:0;
  min-block-size:48px;
  margin:0;
  padding:12px 11px;
  border:1px solid transparent;
  border-radius:11px;
  background:var(--sgcp-paper);
  color:var(--sgcp-ink);
  font-size:14px;
  font-weight:400;
  line-height:1.4;
  text-align:start;
  text-transform:none;
  letter-spacing:normal;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
#sgcp-dialog .sgcp-option.is-selected,
#sgcp-dialog .sgcp-option:has(input:checked) {
  border-color:#cbdcf4;
  background:var(--sgcp-tint);
}
#sgcp-dialog .sgcp-option > input:is([type="checkbox"],[type="radio"]) {
  appearance:auto;
  -webkit-appearance:auto;
  position:static;
  display:block;
  flex:0 0 18px;
  inline-size:18px;
  min-inline-size:18px;
  block-size:18px;
  min-block-size:18px;
  margin:1px 0 0;
  padding:0;
  opacity:1;
  accent-color:var(--sgcp-blue);
  cursor:inherit;
}
#sgcp-dialog .sgcp-option-copy {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:3px;
  min-inline-size:0;
}
#sgcp-dialog .sgcp-option-title {
  display:block;
  color:var(--sgcp-ink);
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  overflow-wrap:anywhere;
  word-break:normal;
}
#sgcp-dialog .sgcp-option-description {
  display:block;
  color:var(--sgcp-muted);
  font-size:12px;
  font-weight:400;
  line-height:1.45;
  overflow-wrap:anywhere;
}
#sgcp-dialog .sgcp-option.is-disabled,
#sgcp-dialog .sgcp-option:has(input:disabled) { opacity:.58; cursor:not-allowed; }

/* Input text stays at 16px to prevent iOS zoom. Focus is controlled by JS only
 * following a deliberate tap; CSS never opens the keyboard or a search field. */
#sgcp-dialog .sgcp-other {
  flex:0 0 auto;
  min-inline-size:0;
  margin:0;
  padding:8px 20px 12px;
}
#sgcp-dialog .sgcp-other label {
  display:block;
  margin:0 0 5px;
  color:var(--sgcp-muted);
  font-size:13px;
  line-height:1.4;
}
#sgcp-dialog .sgcp-other input,
#sgcp-dialog input.sgcp-search {
  appearance:none;
  -webkit-appearance:none;
  display:block;
  inline-size:100%;
  min-inline-size:0;
  max-inline-size:100%;
  min-block-size:44px;
  margin:0;
  padding:10px 12px;
  border:1px solid var(--sgcp-line);
  border-radius:10px;
  background:var(--sgcp-paper);
  box-shadow:none;
  color:var(--sgcp-ink);
  font:inherit;
  font-size:16px;
  line-height:1.4;
  text-align:start;
}
#sgcp-dialog input.sgcp-search { flex:0 0 auto; margin-block:0 8px; }
#sgcp-dialog :is(.sgcp-other input,input.sgcp-search)::placeholder { color:#738297; opacity:1; }
#sgcp-dialog .sgcp-status {
  flex:0 0 auto;
  min-inline-size:0;
  margin:0;
  padding:6px 20px 10px;
  color:var(--sgcp-muted);
  font-size:12px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
#sgcp-dialog .sgcp-status:empty { display:none; }
#sgcp-dialog .sgcp-footer {
  display:grid!important;
  flex:0 0 auto;
  grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);
  align-items:stretch;
  gap:10px;
  margin:0;
  padding:14px 20px 18px;
  border-block-start:1px solid var(--sgcp-line);
  background:var(--sgcp-paper);
}
#sgcp-dialog :is(.sgcp-cancel,.sgcp-apply) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-inline-size:0;
  max-inline-size:100%;
  min-block-size:46px;
  block-size:auto;
  margin:0;
  padding:11px 14px;
  border:1px solid var(--sgcp-line);
  border-radius:12px;
  background:var(--sgcp-paper);
  color:var(--sgcp-ink);
  font:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  white-space:normal;
  overflow-wrap:break-word;
  text-align:center;
  text-transform:none;
  letter-spacing:normal;
  cursor:pointer;
  touch-action:manipulation;
}
#sgcp-dialog .sgcp-cancel { box-shadow:none; }
#sgcp-dialog .sgcp-apply { border-color:var(--sgcp-blue); background:var(--sgcp-blue); color:#fff; }
#sgcp-dialog :is(.sgcp-cancel,.sgcp-apply) svg { flex-shrink:0; inline-size:17px; block-size:17px; }
#sgcp-dialog :is(.sgcp-close,.sgcp-cancel,.sgcp-apply):disabled { opacity:.55; cursor:not-allowed; }

/* Older engines without showModal do not create ::backdrop. The explicit
 * fallback dialog supplies the scrim itself, leaving a real clickable area
 * around its shell for the same cancel handler as the native dialog. */
#sgcp-dialog.sgcp-dialog.sgcp-fallback[open] {
  z-index:2147483646;
  display:grid;
  place-items:center;
  inset:0;
  inline-size:100%;
  max-inline-size:none;
  block-size:100vh;
  block-size:100dvh;
  max-block-size:none;
  margin:0;
  padding:16px;
  border:0;
  border-radius:0;
  background:rgba(16,35,60,.45);
  box-shadow:none;
}
#sgcp-dialog.sgcp-dialog.sgcp-fallback .sgcp-shell {
  inline-size:100%;
  max-inline-size:520px;
  max-block-size:calc(100vh - 32px);
  max-block-size:min(85dvh,720px);
  border:1px solid var(--sgcp-line);
  border-radius:16px;
  background:var(--sgcp-paper);
  box-shadow:0 16px 52px rgba(15,38,68,.2);
}

/* Visible keyboard focus; logical properties also keep the same order in RTL. */
.sgcp-summary[data-sgcp-open]:focus-visible,
#sgcp-dialog :is(button,input):focus-visible {
  outline:3px solid #76a9eb;
  outline-offset:3px;
}
#sgcp-dialog .sgcp-option:focus-within { outline:2px solid #76a9eb; outline-offset:1px; }
@media(hover:hover) {
  .sgcp-summary[data-sgcp-open]:hover:not(:disabled):not([aria-disabled="true"]) { border-color:#1763c1!important; background:#e5efff!important; }
  #sgcp-dialog .sgcp-option:hover:not(.is-disabled):not(:has(input:disabled)) { background:#f3f7fd; }
  #sgcp-dialog .sgcp-option.is-selected:hover:not(.is-disabled),
  #sgcp-dialog .sgcp-option:has(input:checked):hover:not(.is-disabled) { background:#e7f0fe; }
  #sgcp-dialog .sgcp-close:hover { background:#e7eef8; }
  #sgcp-dialog .sgcp-cancel:hover { background:#f5f8fc; }
}

@media(max-width:767px) {
  #sgcp-dialog.sgcp-dialog {
    inset-block-start:auto;
    inset-block-end:0;
    inset-inline:0;
    inline-size:100%;
    max-inline-size:none;
    max-block-size:85vh;
    max-block-size:min(85dvh,720px);
    margin:0;
    border-inline:0;
    border-block-end:0;
    border-radius:16px 16px 0 0;
  }
  #sgcp-dialog .sgcp-header { padding-block:17px 13px; padding-inline-start:16px; padding-inline-end:64px; }
  #sgcp-dialog #sgcp-title { font-size:19px; }
  #sgcp-dialog .sgcp-list { padding:10px; }
  #sgcp-dialog .sgcp-other { padding-inline:16px; }
  #sgcp-dialog .sgcp-status { padding-inline:16px; }
  #sgcp-dialog .sgcp-footer {
    gap:9px;
    padding:12px 16px 14px;
    padding-block-end:calc(14px + env(safe-area-inset-bottom,0px));
    /* Safe-area insets describe physical screen edges, including in RTL. */
    padding-left:max(16px,env(safe-area-inset-left,0px));
    padding-right:max(16px,env(safe-area-inset-right,0px));
  }
  #sgcp-dialog.sgcp-dialog.sgcp-fallback[open] { align-items:end; padding:0; }
  #sgcp-dialog.sgcp-dialog.sgcp-fallback .sgcp-shell {
    max-inline-size:none;
    max-block-size:85vh;
    max-block-size:min(85dvh,720px);
    border-inline:0;
    border-block-end:0;
    border-radius:16px 16px 0 0;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .sgcp-summary[data-sgcp-open] .sgcp-chevron { transition:transform .15s ease; }
  #sgcp-dialog .sgcp-option { transition:background-color .12s ease,border-color .12s ease; }
}
@media(prefers-reduced-motion:reduce) {
  .sgcp-summary[data-sgcp-open],
  .sgcp-summary[data-sgcp-open] *,
  #sgcp-dialog.sgcp-dialog,
  #sgcp-dialog.sgcp-dialog * { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Shared app header: one compact return row, never stacked discovery/back rows.
 * CSS grid keeps the discovery owner's real node and its placement retries.
 * This is gated on a successfully mounted app shell; public pages keep theirs. */
body.sagace-unified-app #sg-unified-nav {
  display:grid;
  grid-template-columns:minmax(22px,1fr) minmax(0,1456px) minmax(22px,1fr);
  grid-template-rows:auto auto;
  gap:0;
  background:#fff;
}
#sg-unified-nav > .sgmn-top { grid-column:1/-1; grid-row:1; }
#sg-unified-nav > .sgmn-context {
  grid-column:2; grid-row:2;
  justify-self:start; align-self:center;
  display:flex; align-items:center;
  min-width:0; max-width:100%;
  margin:0!important; padding:0!important;
  border:0!important; background:transparent!important; box-shadow:none!important;
}
#sg-unified-nav > .sgc-discovery-bar {
  grid-column:2; grid-row:2;
  justify-self:end; align-self:center;
  display:flex!important; align-items:center!important; justify-content:flex-end;
  width:auto!important; max-width:calc(100% - 130px)!important;
  min-height:44px!important;
  margin:0!important; padding:0!important;
  border:0!important; background:transparent!important; box-shadow:none!important;
}
#sg-unified-nav .sgmn-back {
  min-height:44px!important; padding:6px 8px!important;
  gap:5px!important; border:0!important; border-radius:8px!important;
  background:transparent!important; box-shadow:none!important;
  color:#294b70!important; -webkit-text-fill-color:currentColor!important;
  font-size:13px!important; line-height:1.3!important;
  white-space:nowrap!important;
}
#sg-unified-nav .sgmn-back span { font-size:inherit!important; }
#sg-unified-nav .sgmn-back::before,#sg-unified-nav .sgmn-back::after { content:none!important; }
#sg-unified-nav .sgmn-back:hover { background:#edf4fc!important; }
#sg-unified-nav .sgmn-back .sgmn-icon { width:18px; height:18px; flex-basis:18px; }
@media(max-width:1280px) {
  #sg-unified-nav > .sgc-discovery-bar { display:none!important; }
}
@media(max-width:767px) {
  body.sagace-unified-app #sg-unified-nav { display:block; }
  #sg-unified-nav > .sgmn-context { display:none!important; }
}

/* Header-only return duplicates. Do not hide result/export action groups or
 * inline previous-step controls. Their original callbacks stay in the DOM. */
body.sagace-unified-app #sagace-vie-tunnel-v1 .svt-top > .svt-topacts,
  body.sagace-unified-app #sagace-pro-tunnel-v1 .spt-top > .spt-topacts,
  body.sagace-unified-app #sagace-coaching-tunnel-v1:has([data-role="question"]) .sct-top > .sct-topacts,
  body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-top > .sct-topacts > a[href*="/ia-coaching"],
  body.sagace-unified-app #sgx-services .sgx-dialog-top > :is(.sgx-close,.sgmsc-browse-project),
  body.sagace-unified-app #sgx-services .sgmsc-detail-back,
  body.sagace-unified-app #sgx-services .sgx-crumb,
  body.sagace-unified-app #sagace-pro-secretariat .spc-crumb,
  body.sagace-unified-app #sagace-chat-libre-v7-4 a.back-link,
  body.sagace-unified-app #sagace-classe-v1 .sgcl-board-title > .sgcl-lien-univers,
  body.sagace-unified-app #sagace-classe-v1 [data-view="sheet"] > .sgcl-retour[data-action="retour"],
  body.sagace-unified-app :is(#sagace-tutor-smart,#sagace-homeschool-smart,#sagace-revision-smart,#sagace-memory-smart) :is(.st-back,.sh-back,.srv-back,.smm-back),
  body.sagace-unified-app .ed-top-nav > a.ed-back,
  body.sagace-unified-app .ed-tunnel-head > button.ed-back-services[data-back-services] { display:none!important; }

/* Remove the unused third header column after the catalog links disappear. */
body.sagace-unified-app #sagace-pro-tunnel-v1 .spt-top,
body.sagace-unified-app #sagace-vie-tunnel-v1 .svt-top,
body.sagace-unified-app #sagace-coaching-tunnel-v1:has([data-role="question"]) .sct-top {
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:10px 16px!important;
}
body.sagace-unified-app .ed-top-nav:has(> a.ed-back):not(:has(> :not(a.ed-back))) { display:none!important; }
@media(max-width:980px) {
  body.sagace-unified-app #sagace-coaching-tunnel-v1:has([data-role="question"]) .sct-top { grid-template-columns:minmax(0,1fr)!important; }
}
@media print { body.sagace-unified-app #sg-unified-nav { display:none!important; } }

/* Only the primary desktop bar is fixed. Discovery belongs to home content. */
body.sagace-unified-app #sg-unified-nav {
  display:block; background:transparent;
  padding-top:var(--sgmn-fixed-header-height,75px);
}
body.sagace-unified-app { --sgmn-admin-offset:0px; }
body.sagace-unified-app.admin-bar { --sgmn-admin-offset:32px; }
body.sagace-unified-app #sg-unified-nav > .sgmn-top {
  position:fixed!important; top:var(--sgmn-admin-offset)!important;
  inset-inline:0!important; width:100%!important; z-index:1000;
}
body.sagace-unified-app #sg-unified-nav > .sgmn-context,
body.sagace-unified-app #sg-unified-nav .sgmn-mobile-back,
body.sagace-unified-app #sg-unified-nav > .sgc-discovery-bar,
body.sagace-unified-app .sgc-discovery-bar,
body.sagace-unified-app .sgc-hub-menu { display:none!important; }
/* The discovery owner also adds these beside old Education/utility returns.
 * Their contents are only the old Back and the presentation link. */
body.sagace-unified-app .sgc-hub-context,
body.sagace-unified-app .sgc-hub-contextbar { display:none!important; }
body.sagace-unified-app .ed-top-nav:has(> .sgc-hub-contextbar):not(:has(> :not(.sgc-hub-contextbar))) { display:none!important; }
body.sagace-unified-app .sgmn-contextual-back {
  display:inline-flex!important; position:static!important; align-items:center!important;
  justify-content:flex-start!important; justify-self:start; grid-column:1/-1;
  gap:5px!important; width:auto!important; max-width:100%!important;
  min-height:36px!important; height:auto!important; padding:6px 2px!important;
  margin:0 0 4px!important; border:0!important; border-radius:6px!important;
  background:transparent!important; box-shadow:none!important; transform:none!important;
  color:#294b70!important; -webkit-text-fill-color:currentColor!important;
  font:600 13px/1.35 Inter,system-ui,sans-serif!important;
  text-align:start!important; text-transform:none!important; letter-spacing:normal!important;
  white-space:normal!important; cursor:pointer;
}
body.sagace-unified-app .sgmn-contextual-back svg {
  display:block!important; width:18px!important; height:18px!important;
  flex:0 0 18px!important; fill:none; stroke:currentColor; stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round;
}
body.sagace-unified-app .sgmn-contextual-back[dir="rtl"] svg { transform:scaleX(-1)!important; }
body.sagace-unified-app .sgmn-contextual-back span { font:inherit!important; }
body.sagace-unified-app .sgmn-contextual-back::before,
body.sagace-unified-app .sgmn-contextual-back::after { content:none!important; }
body.sagace-unified-app .sgmn-contextual-back:hover { color:#1266f1!important; text-decoration:underline; }
body.sagace-unified-app .sgmn-contextual-back:focus-visible { outline:2px solid #1266f1!important; outline-offset:3px; }
body.sagace-unified-app .sgmn-contextual-back:disabled { opacity:.5; cursor:wait; }
body.sagace-unified-app [data-sg-context-native-back] { display:none!important; }
/* Keep the return inside the existing compact journey header. */
body.sagace-unified-app :is(.spt-top,.svt-top,.sct-top):has(> .sgmn-contextual-back) { row-gap:2px!important; }
body.sagace-unified-app .sgx-dialog-top > .sgmn-contextual-back { flex:0 0 100%; }
@media(min-width:768px) {
  html:has(body.sagace-unified-app) { scroll-padding-top:calc(var(--sgmn-fixed-header-height,75px) + 48px); }
  body.sagace-unified-app :is(.spt-top,.svt-top,.sct-top,.sgx-dialog-top,.sgcl-board-title),
  body.sagace-unified-app main :is(h1,h2,h3,input,textarea,select,[tabindex="-1"]) { scroll-margin-top:calc(var(--sgmn-fixed-header-height,75px) + var(--sgmn-admin-offset) + 12px); }
}
@media(min-width:981px) {
  body.sagace-unified-app :is(#sagace-pro-tunnel-v1 .spt-prev,#sagace-coaching-tunnel-v1 .sct-prog,#sagace-vie-tunnel-v1 .svt-recap,#sagace-vie-tunnel-v1 .svt-res-side) { top:calc(var(--sgmn-fixed-header-height,75px) + var(--sgmn-admin-offset) + 12px)!important; }
}
@media(min-width:768px) and (max-width:782px) {
  body.sagace-unified-app.admin-bar { --sgmn-admin-offset:46px; }
}
@media(max-width:767px) {
  /* The existing six-entry dock stays fixed; the brand row scrolls away. */
  body.sagace-unified-app #sg-unified-nav { padding-top:0; }
  body.sagace-unified-app #sg-unified-nav > .sgmn-top { position:relative!important; top:auto!important; }
  body.sagace-unified-app .sgmn-contextual-back { min-height:44px!important; }
}
@media print {
  body.sagace-unified-app #sg-unified-nav,body.sagace-unified-app .sgmn-contextual-back { display:none!important; }
}

/* The link sits on the home's existing background, without a header strip.
 * Button finishes remain owned by 2308; these rules define only the fallback. */
body.sagace-unified-app #sagace-home-v4 > .wrap:has(> .sg-home-discovery) { display:flow-root; }
body.sagace-unified-app #sagace-home-v4 > .wrap > .sg-home-discovery {
  display:flex; align-items:center; justify-content:center; gap:7px;
  width:fit-content; max-width:100%; min-height:34px; box-sizing:border-box;
  margin:12px 0 0 auto; padding:7px 12px;
  color:#285877; background:rgba(255,255,255,.72);
  border:1px solid #d6e4ef; border-radius:999px;
  box-shadow:0 2px 8px rgba(23,58,93,.06);
  font:600 13px/1.35 Inter,system-ui,sans-serif;
  text-decoration:none; text-align:center; cursor:pointer; touch-action:manipulation;
}
body.sagace-unified-app #sagace-home-v4 > .wrap > .sg-home-discovery svg {
  display:block; width:16px; height:16px; flex:0 0 16px;
  fill:none; stroke:currentColor; stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round;
}
body.sagace-unified-app #sagace-home-v4 > .wrap > .sg-home-discovery span { font:inherit; }
body.sagace-unified-app #sagace-home-v4 > .wrap > .sg-home-discovery:hover { color:#1266f1; border-color:#9dc4f2; }
body.sagace-unified-app #sagace-home-v4 > .wrap > .sg-home-discovery:focus-visible { outline:2px solid #1266f1; outline-offset:3px; }
body.sagace-unified-app #sagace-home-v4 > .wrap > .sg-home-discovery[dir="rtl"] { margin-right:auto; margin-left:0; }
@media(max-width:767px) {
  
}

/* Source-rendered shell: geometry exists before any client script executes. */
body.sagace-server-navigation { --sgmn-fixed-header-height:75px; }
body.sagace-server-navigation #wpadminbar { position:fixed; }
@media(max-width:782px) {
  body.sagace-server-navigation.admin-bar { --sgmn-admin-offset:46px; }
}
@media(max-width:767px) {
  body.sagace-server-navigation { --sgmn-fixed-header-height:calc(60px + env(safe-area-inset-top,0px)); }
  body.sagace-server-navigation #sg-unified-nav {
    padding-top:var(--sgmn-fixed-header-height)!important;
  }
  body.sagace-server-navigation #sg-unified-nav > .sgmn-top {
    position:fixed!important; top:var(--sgmn-admin-offset)!important;
    padding-top:env(safe-area-inset-top,0px);
  }
  body.sagace-server-navigation #sg-unified-nav .sgmn-tools { display:flex!important; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-tablet-menu {
    display:inline-flex!important; width:44px!important; min-width:44px!important;
    height:44px!important; min-height:44px!important; padding:10px!important;
    border:0!important; border-radius:10px!important; background:transparent!important;
    color:#294b70!important; box-shadow:none!important;
  }
  body.sagace-server-navigation #sg-unified-nav .sgmn-tablet-menu > span { display:none!important; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-tablet-menu > svg { width:24px; height:24px; flex:0 0 24px; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-dialog[data-panel="menu"] {
    inset:0; width:min(360px,92vw); max-width:92vw;
    height:100vh; height:100dvh; max-height:100dvh;
    margin:0 0 0 auto; border-radius:20px 0 0 20px;
    padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);
  }
  body.sagace-server-navigation #sg-unified-nav[dir="rtl"] .sgmn-dialog[data-panel="menu"] { margin:0 auto 0 0; border-radius:0 20px 20px 0; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-dialog[data-panel="menu"] .sgmn-dialog-link { min-height:44px; }
  body.sagace-server-navigation main :is(h1,h2,h3,input,textarea,select,[tabindex="-1"]) {
    scroll-margin-top:calc(var(--sgmn-fixed-header-height) + var(--sgmn-admin-offset) + 12px);
  }
}
/* Fully useful fallback if client JavaScript is disabled. */
#sg-unified-nav .sgmn-noscript { padding:12px; background:#fff; }
#sg-unified-nav .sgmn-noscript a { display:inline-block; padding:10px; }
#sg-unified-nav .sgmn-language-fallback summary { width:44px; justify-content:center; border:1px solid #dbe4f0; border-radius:50%; background:#fff; }
#sg-unified-nav .sgmn-language-fallback summary > span { font-size:24px; line-height:1; }
#sg-unified-nav .sgmn-language-fallback summary svg { width:22px; height:16px; display:block; }
#sg-unified-nav .sgmn-language-fallback > div { z-index:1001; }

/* Stable desktop layout: all links exist and fit before fonts and JS finish.
 * Medium screens use two balanced rows; Suivi is never collapsed into Menu. */
@media(min-width:768px) {
  body.sagace-server-navigation #sg-unified-nav .sgmn-desktop { display:flex!important; min-width:0; flex:1 1 auto; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-tools { display:none!important; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-top-inner { max-width:1900px; gap:12px; padding-inline:20px; }
  body.sagace-server-navigation #sg-unified-nav .sgc-track { flex:1 1 auto; justify-content:space-between; min-width:0; }
  body.sagace-server-navigation #sg-unified-nav .sgc-track .sgmn-link { padding-inline:clamp(5px,.55vw,13px); gap:5px; font-size:13px!important; }
  body.sagace-server-navigation #sg-unified-nav .sgc-track .sgmn-link > span { font-size:inherit!important; }
  body.sagace-server-navigation #sg-unified-nav .sgc-util { padding-inline-start:10px; gap:4px; }
  body.sagace-server-navigation #sg-unified-nav .sgc-util .sgmn-link { padding-inline:8px; font-size:13px!important; }
  body.sagace-server-navigation #sg-unified-nav .sgc-util .sgmn-link > span { font-size:inherit!important; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-link > .sgmn-icon { width:18px!important; height:18px!important; flex:0 0 18px!important; }
  body.sagace-server-navigation #sg-unified-nav .sgc-msg > [data-sgmn-desktop-text] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
}
@media(min-width:768px) and (max-width:1279px) {
  body.sagace-server-navigation { --sgmn-fixed-header-height:116px; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-top-inner { display:grid; grid-template-columns:auto 1fr; gap:6px 12px; padding:9px 16px; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-brand-hub { grid-row:1; grid-column:1; }
  body.sagace-server-navigation #sg-unified-nav .sgmn-desktop { display:contents!important; }
  body.sagace-server-navigation #sg-unified-nav .sgc-util { grid-column:2; grid-row:1; justify-content:flex-end; border:0; }
  body.sagace-server-navigation #sg-unified-nav .sgc-track { grid-column:1/-1; grid-row:2; width:100%; }
  body.sagace-server-navigation #sg-unified-nav .sgc-track .sgmn-link { flex:1 1 auto; padding-inline:4px; }
}

/* SAGACE MOBILE REBUILD 2026-09-27 v1.0 — BEGIN */
/* SAGACE MOBILE HOME 3.0.0 — compact dispatch, native orientation preserved. */
#sg-mobile-home.sgmh-app { display:none; }
@media(max-width:767px) {
  
  
  
  html body.sagace-unified-app #sg-mobile-home.sgmh-app { display:block; color:#183b60; font-family:inherit; line-height:1.4; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app * { box-sizing:border-box; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app [hidden] { display:none!important; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app :is(a,button,input) { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app :is(a,button):focus-visible { outline:3px solid #1764ed; outline-offset:3px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-intro { display:block; margin:0 0 14px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app h1 { margin:0; color:#153754!important; font-size:clamp(24px,6.4vw,29px); line-height:1.1; letter-spacing:-.025em; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-intro p { margin:6px 0 0; color:#526b82; font-size:13px; line-height:1.35; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-areas { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; padding:0; margin:0 0 16px; border:0; background:none; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area {
    --sgmh-accent:#197aca; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:4px;
    min-width:0; min-height:112px; margin:0; padding:10px 4px 9px; border:1px solid #dce5ee; border-radius:18px;
    background:linear-gradient(160deg,#fff,#f7faff); color:#183b60!important; text-decoration:none; text-align:center;
    box-shadow:0 3px 12px #12345605; transform:none!important; white-space:normal; overflow-wrap:normal;
  }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area-education { --sgmh-accent:#855acb; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area-practical { --sgmh-accent:#179e90; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area-coaching { --sgmh-accent:#e67764; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area-studio { --sgmh-accent:#8b61d7; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area-chat { --sgmh-accent:#ed7662; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area-art { display:grid; place-items:center; width:45px; height:45px; flex:0 0 45px; margin:0 0 2px; border-radius:13px; background:color-mix(in srgb,var(--sgmh-accent) 8%,white); }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area-art svg { display:block; width:36px; height:36px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area>strong { display:block; width:100%; margin:0; color:inherit!important; font-size:13px; font-weight:650; line-height:1.15; letter-spacing:0; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area>small { display:block; width:100%; margin:auto 0 0; color:#60738a; font-size:11px; line-height:1.2; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-orient { padding:12px; border:1px solid #dce5ee; border-radius:18px; background:#fff; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app :is(.sgmh-voice,.sgmh-action,.sgmh-more,.sgmh-resume) { font-family:inherit; text-transform:none; letter-spacing:normal; text-decoration:none; appearance:none; cursor:pointer; line-height:1.25; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-voice { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:50px; margin:0; padding:11px 12px; border:1px solid #225b8a; background:linear-gradient(115deg,#173e69,#25618e); color:#fff; text-align:center; white-space:normal; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-voice:not([data-sgv]) { border-radius:12px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-voice :is(span,strong,svg) { color:inherit!important; -webkit-text-fill-color:currentColor; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-voice strong { font-size:15px; font-weight:650; line-height:1.25; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-voice-help { margin:7px 0 10px; color:#60738a; font-size:12px; line-height:1.35; text-align:center; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-secondary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-action { display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:44px; margin:0; padding:9px 7px; border:1px solid #dce5ee; background:#f7f9fc; color:#244e73; font-size:12px; text-align:center; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-action:not([data-sgv]) { border-radius:11px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-action strong { font-size:12px; line-height:1.25; font-weight:600; color:inherit; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app :is(.sgmh-action,.sgmh-voice,.sgmh-resume,.sgmh-more)>svg { width:19px; height:19px; flex:0 0 19px; stroke:currentColor; stroke-width:1.7; stroke-linejoin:round; stroke-linecap:round; fill:none; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .intent { padding:0!important; margin:0!important; border:0!important; border-radius:0!important; background:none!important; box-shadow:none!important; backdrop-filter:none!important; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .intent>:is(.intent-label,.intent-guide,.intent-examples-heading,.intent-examples-more,.chat-direct) { display:none!important; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app:not(.sgmh-writing) .intent-field,
  html body.sagace-unified-app #sg-mobile-home.sgmh-app:not(.sgmh-writing) .intent>.intent-shortcuts { display:none!important; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app.sgmh-writing .intent-field { display:flex!important; flex-wrap:wrap; align-items:stretch; gap:8px; margin:12px 0 8px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .intent-input { min-width:0; flex:1 1 180px; display:flex; border:1px solid #bdcfe2; border-radius:12px; background:#fff; padding:0 11px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .intent-input>svg { display:none!important; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app [data-intent-input] { font-size:16px!important; min-width:0; width:100%; min-height:48px; padding:9px 0!important; color:#193c60!important; border:0; background:transparent; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app [data-intent-go] { flex:1 1 100%; display:flex; align-items:center; justify-content:center; min-width:0; min-height:46px; font-size:14px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app.sgmh-writing .intent>.intent-shortcuts { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0!important; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .intent>.intent-shortcuts>button:not([data-intent-key=email]):not([data-intent-key=homework]) { display:none!important; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .intent>.intent-shortcuts>button { min-height:44px; font-size:12px; line-height:1.3; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sagace-orientation-results:not([hidden]) { margin:12px 0 0!important; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-resume { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:44px; margin:9px 0 0; padding:10px 3px; border:0; border-radius:0; background:transparent; box-shadow:none; color:#244e73; font-size:13px; font-weight:600; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-discover { margin:0; padding:0; border:0; border-top:1px solid #dce5ee; border-radius:0; background:transparent; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app button.sgmh-more { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:44px; margin:0; padding:10px 3px; border:0; border-radius:0; background:transparent; box-shadow:none; color:#244e73; font-size:13px; font-weight:600; text-align:start; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-more-help { margin:0 3px 8px; color:#60738a; font-size:11px; line-height:1.3; text-align:start; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-feedback { padding:10px; margin:12px 0; border-radius:10px; background:#fff5df; color:#724d12; font-size:13px; line-height:1.4; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app[dir=rtl] .sgmh-resume>svg { transform:scaleX(-1); }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-more[aria-expanded=true] .sgmh-expand-icon { transform:rotate(180deg); }
}
@media(max-width:359px) {
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-areas { gap:6px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area { padding-inline:3px; }
  html body.sagace-unified-app #sg-mobile-home.sgmh-app .sgmh-area>strong { font-size:12px; }
}

/* SAGACE MOBILE CATALOGUES 2026-09-27 v5.1 — native content, touch layouts. */
.sgmc-controls,.smu-detail-dialog{display:none}
@media(max-width:767px){
  html body.sagace-unified-app .sgmc-wrap{width:100%!important;min-width:0!important;max-width:100%!important}
  html body.sagace-unified-app .sgmc-wrap .sgmc-track.sgmc-track.sgmc-track{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-template-rows:auto!important;grid-auto-columns:88%!important;gap:10px 8px!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:0;scrollbar-width:thin;scrollbar-color:#9fb8d4 transparent;padding:2px 0 8px!important;margin-inline:0!important;box-sizing:border-box!important;align-items:stretch!important}
  html body.sagace-unified-app :is(#sagace-pro-v4:not(*),#sagace-pro-tunnel-v1:not(*),#sgx-services,#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-vie-tunnel-v1:not(*),#sagace-coaching-tunnel-v1,#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .sgmc-wrap.sgmc-compact .sgmc-track.sgmc-track.sgmc-track {grid-template-rows:repeat(2,auto)!important;grid-auto-columns:calc((100% - 16px)/3)!important}
  html body.sagace-unified-app .sgmc-compact .sgmc-track.sgmc-track>*{grid-row:var(--sgmc-row,auto)!important;grid-column:var(--sgmc-column,auto)!important;min-width:0!important;max-width:100%!important;scroll-snap-align:start;box-sizing:border-box}
  html body.sagace-unified-app .sgmc-controls{display:flex!important;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:2px 0 10px;direction:inherit}
  html body.sagace-unified-app .sgmc-controls[hidden]{display:none!important}
  html body.sagace-unified-app .sgmc-controls .sgmc-arrow{position:static!important;display:grid!important;place-items:center;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;margin:0!important;border:1px solid #c6d5e5!important;border-radius:12px!important;background:#fff!important;color:#123d6b!important;box-shadow:none!important;transform:none!important;touch-action:manipulation}
  html body.sagace-unified-app .sgmc-controls .sgmc-arrow:disabled{opacity:.35!important;pointer-events:none}
  html body.sagace-unified-app .sgmc-controls .sgmc-arrow svg{width:20px!important;height:20px!important;padding:0!important;background:none!important;border-radius:0!important;box-shadow:none!important}
  html[dir=rtl] body.sagace-unified-app .sgmc-arrow svg{transform:scaleX(-1)!important}
  html body.sagace-unified-app .sgmc-status{font:600 12px/1.4 "IBM Plex Sans",system-ui,sans-serif;color:#516b85;min-width:70px;text-align:center;font-variant-numeric:tabular-nums}
  html body.sagace-unified-app .sgmc-track:focus-visible{outline:3px solid #2075dc;outline-offset:3px}

  /* Compact categories: large hit areas, square media, complete short titles. */
  html body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-vie-tunnel-v1:not(*)) .sgmc-compact :is(.profile-card,.cat-card,.uni,.svt-tcard)[data-sg-picture-card] {display:flex!important;flex-direction:column!important;position:relative!important;padding:0!important;min-height:0!important;gap:0!important;border-radius:12px!important;box-shadow:none!important;transform:none!important;text-align:center!important;overflow:hidden!important}
  html body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-vie-tunnel-v1:not(*)) .sgmc-compact [data-sg-picture-slot][data-sg-picture-slot] {width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1!important;flex:none!important;position:relative!important;margin:0!important;border-radius:0!important}
  html body.sagace-unified-app .sgmc-compact .uni-visual>.uni-media{position:static!important;display:block!important;width:100%!important;height:100%!important}
  html body.sagace-unified-app .sgmc-compact :is(.cat-copy,.profile-body,.uni-body){padding:8px 6px!important;display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;flex:1 1 auto!important}
  html body.sagace-unified-app .sgmc-compact :is(.cat-copy>strong,.profile-body>h3,.uni-body>h3,.svt-tcard>strong){display:block!important;min-height:3.9em!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.3!important;font-weight:700!important;white-space:normal!important;overflow:visible!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;color:#173b60!important;letter-spacing:0!important}
  html body.sagace-unified-app .sgmc-compact :is(.cat-card>.cat-badge,.cat-copy>.agent-chip,.cat-copy>.service-list,.cat-copy>small,.profile-body>.profile-tag,.uni-symbol,.uni-flag){display:none!important}
  html body.sagace-unified-app .sgmc-compact .cat-copy>.warning{font-size:12px!important;line-height:1.35!important;margin:0!important;letter-spacing:0!important;overflow-wrap:break-word!important}
  html body.sagace-unified-app .sgmc-compact .profile-card>.profile-links{padding:0 6px 8px!important;width:100%!important;margin-top:auto!important}
  html body.sagace-unified-app .sgmc-compact :is(.profile-primary,.uni-all){display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;margin:0!important;padding:7px 4px!important;font-size:11px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:break-word!important;border-radius:8px!important;text-align:center!important;box-sizing:border-box!important}
  html body.sagace-unified-app .sgmc-compact :is(.profile-primary,.uni-all)[data-smu-entry-label]{font-size:0!important;gap:0!important}
  html body.sagace-unified-app .sgmc-compact :is(.profile-primary,.uni-all)[data-smu-entry-label]::after{content:attr(data-smu-entry-label)!important;font-size:12px!important;line-height:1.3!important;position:static!important;transform:none!important;background:none!important;width:auto!important;height:auto!important;margin:0!important}
  html body.sagace-unified-app .sgmc-compact :is(.profile-body,.uni-body){position:static!important}
  html body.sagace-unified-app .sgmc-compact :is(.profile-body,.uni-body)>.smu-disclosure{position:absolute!important;inset-inline-end:4px!important;top:4px!important;z-index:2!important;width:44px!important;height:44px!important;min-height:44px!important;padding:4px 2px!important;margin:0!important;font-size:10px!important;line-height:1.3!important;border:1px solid #c4d4e4!important;border-radius:10px!important;background:#fffffff2!important;color:#173b60!important;box-shadow:0 2px 8px #1234561a!important}
  html body.sagace-unified-app .sgmc-compact .uni-body>.uni-all{margin-top:auto!important}
  
  
  
  
  
  html body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .sgmc-compact .ed-service-card{display:flex!important;flex-direction:column!important;padding:0!important;min-height:0!important;border-radius:12px!important;overflow:hidden!important;gap:0!important}
  html body.sagace-unified-app :is(#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .sgmc-compact .ed-card-img{width:100%!important;height:auto!important;aspect-ratio:1!important;min-height:0!important}
  html body.sagace-unified-app .sgmc-compact .ed-card-copy{padding:8px 6px!important;min-width:0!important}
  html body.sagace-unified-app .sgmc-compact .ed-card-copy>strong{font-size:12px!important;line-height:1.3!important;min-height:3.9em!important;white-space:normal!important;overflow-wrap:break-word!important}
  html body.sagace-unified-app .sgmc-compact .ed-card-copy>small{font-size:11px!important;line-height:1.3!important}
  html body.sagace-unified-app .sgmc-compact .ed-service-card::after{display:none!important}

  /* Only the native Coaching catalogue pagination is visually superseded. Its
     sct-hidden state is untouched, ready to resume on desktop. No field matches. */
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-portes.sgmc-track>.sct-porte.sct-hidden[data-sgmc-page-visible]:not([hidden]):not([aria-hidden=true]):not([data-smu-hidden]):not([style*="display: none"]):not([style*="display:none"]){display:flex!important}
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sct-q:has(>.sgmc-wrap>.sct-portes.sgmc-track)>.sct-choice-nav{display:none!important}
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgmc-compact :is(.sct-uni,.sct-porte){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;min-height:132px!important;padding:10px 6px!important;gap:8px!important;border-radius:12px!important;text-align:center!important;transform:none!important;overflow-wrap:break-word!important}
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgmc-compact .sct-uni .sct-avatar{width:56px!important;height:56px!important;aspect-ratio:1!important;border-radius:12px!important;flex:none!important}
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgmc-compact .sct-uni strong{font-size:12px!important;line-height:1.3!important;min-height:3.9em!important}
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgmc-compact :is(.sct-uni small,.sct-porte small){font-size:10px!important;line-height:1.3!important;white-space:normal!important}
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgmc-compact .sct-porte>span:last-child{font-size:12px!important;line-height:1.3!important;white-space:normal!important}
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgmc-compact .sct-porte>.sct-emo{min-height:40px;display:grid!important;place-items:center}

  /* Dialog stays in the owner DOM: all existing delegated handlers keep working. */
  html body.sagace-unified-app .smu-detail-dialog[open]{display:block!important;position:fixed!important;inset:0!important;margin:auto!important;width:calc(100% - 24px)!important;max-width:500px!important;max-height:calc(100svh - 32px)!important;padding:0!important;border:1px solid #d5e1ed!important;border-radius:22px!important;background:#fff!important;color:#173b60!important;box-shadow:0 20px 60px #0b254c4d!important;text-align:start!important;overflow:auto!important;overscroll-behavior:contain;box-sizing:border-box!important}
  html body.sagace-unified-app .smu-detail-dialog::backdrop{background:#0b254c99;backdrop-filter:none}
  html body.sagace-unified-app .smu-detail-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#fff;border-bottom:1px solid #e3ebf3}
  html body.sagace-unified-app .smu-detail-header h3{margin:0!important;font-size:22px!important;line-height:1.2!important;min-height:0!important;text-align:start!important}
  html body.sagace-unified-app .smu-detail-close{min-width:44px!important;min-height:44px!important;padding:8px!important;border:1px solid #c9d7e7!important;border-radius:12px!important;background:#f5f8fc!important;color:#173b60!important;font-size:24px!important;line-height:1!important}
  html body.sagace-unified-app .smu-detail-body{display:flex;flex-direction:column;gap:14px;padding:16px}
  html body.sagace-unified-app .smu-detail-dialog [data-smu-detail]{display:revert!important;font-size:15px!important;line-height:1.5!important;margin:0!important;position:static!important;width:auto!important;max-width:100%!important;min-height:0!important;text-align:start!important;white-space:normal!important}
  html body.sagace-unified-app .smu-detail-dialog :is(.uni-head,.uni-team,.profile-secondary){display:flex!important;flex-wrap:wrap!important;gap:10px!important}
  html body.sagace-unified-app .smu-detail-dialog :is(.uni-ref,.profile-secondary a,.uni-doors a){min-height:44px!important;display:flex!important;align-items:center!important;padding:10px 12px!important;font-size:14px!important;line-height:1.4!important;border:1px solid #d3dfec!important;border-radius:10px!important;box-sizing:border-box!important}
  html body.sagace-unified-app .smu-detail-dialog .uni-doors{display:grid!important;grid-template-columns:1fr!important;padding:0!important;list-style:none!important;gap:10px!important}
  html body.sagace-unified-app .smu-detail-dialog .uni-av{width:52px!important;height:52px!important;min-width:52px!important;padding:0!important}
  html body.sagace-unified-app .smu-detail-dialog .profile-bullets{padding-inline-start:20px!important}
  /* Native filters and inactive branches always win over tile presentation. */
  html body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5,#sagace-vie-tunnel-v1:not(*),#sagace-coaching-tunnel-v1,#sagace-pro-tunnel-v1:not(*),#sgx-services,#sagace-eleve-tunnel-v2-1-ux,#sagace-langues-tunnel-v5-ux-live,#sagace-adulte-reprise-tunnel-v2-ux,#sagace-enseignant-formateur-tunnel-v2-ux,#sagace-candidat-examen-tunnel-v2-ux) .sgmc-wrap .sgmc-track.sgmc-track>:is([hidden],[aria-hidden=true],[data-smu-hidden],[data-sgmsc-page-hidden],.spt-hidden,.svt-hidden,.ed-hidden,.is-hidden,[style*="display: none"],[style*="display:none"]),
  html body.sagace-unified-app #sagace-coaching-tunnel-v1 .sgmc-wrap .sgmc-track.sgmc-track>.sct-hidden:not([data-sgmc-page-visible]) {display:none!important}
}

/* SAGACE HOME PREPAINT 3.0.0 — bounded by the existing prepaint lifecycle.
 * Six static placeholders reserve the app dispatch while the native module mounts.
 * No page overlay, animation, text, interaction or persistent hiding is introduced.
 */
@media(max-width:767px) {
  
  
  
  
  
  
}
@media(max-width:359px) {
  
}

/* SAGACE MOBILE CATALOGUES PREPAINT 2026-09-27 — bounded by the existing boot marker.
   Exact static catalogues: 6 Education profiles, 12 Vie categories, 8 Coaching universes.
   No root/card is hidden; optional details match the native closed state only. */
@media(max-width:767px){
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) {position:relative!important;display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-template-rows:repeat(2,auto)!important;grid-auto-columns:calc((100% - 16px)/3)!important;gap:10px 8px!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#9fb8d4 transparent;padding:76px 0 8px!important;margin-inline:0!important;margin-bottom:82px!important;box-sizing:border-box!important;align-items:stretch!important}
  /* 74px anticipates the native search row; 56px anticipates controls below. */
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>* {grid-row:var(--sgmc-pre-row,auto)!important;grid-column:var(--sgmc-pre-col,auto)!important;min-width:0!important;max-width:100%!important;scroll-snap-align:start;box-sizing:border-box!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(1) {--sgmc-pre-row:1;--sgmc-pre-col:1}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(2) {--sgmc-pre-row:1;--sgmc-pre-col:2}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(3) {--sgmc-pre-row:1;--sgmc-pre-col:3}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(4) {--sgmc-pre-row:2;--sgmc-pre-col:1}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(5) {--sgmc-pre-row:2;--sgmc-pre-col:2}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(6) {--sgmc-pre-row:2;--sgmc-pre-col:3}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(7) {--sgmc-pre-row:1;--sgmc-pre-col:4}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(8) {--sgmc-pre-row:1;--sgmc-pre-col:5}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(9) {--sgmc-pre-row:1;--sgmc-pre-col:6}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(10) {--sgmc-pre-row:2;--sgmc-pre-col:4}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(11) {--sgmc-pre-row:2;--sgmc-pre-col:5}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(12) {--sgmc-pre-row:2;--sgmc-pre-col:6}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(13) {--sgmc-pre-row:1;--sgmc-pre-col:7}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(14) {--sgmc-pre-row:1;--sgmc-pre-col:8}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(15) {--sgmc-pre-row:1;--sgmc-pre-col:9}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(16) {--sgmc-pre-row:2;--sgmc-pre-col:7}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(17) {--sgmc-pre-row:2;--sgmc-pre-col:8}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(18) {--sgmc-pre-row:2;--sgmc-pre-col:9}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(19) {--sgmc-pre-row:1;--sgmc-pre-col:10}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(20) {--sgmc-pre-row:1;--sgmc-pre-col:11}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(21) {--sgmc-pre-row:1;--sgmc-pre-col:12}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(22) {--sgmc-pre-row:2;--sgmc-pre-col:10}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(23) {--sgmc-pre-row:2;--sgmc-pre-col:11}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:nth-child(24) {--sgmc-pre-row:2;--sgmc-pre-col:12}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:is(.profile-card,.cat-card,.uni) {display:flex!important;flex-direction:column!important;position:relative!important;padding:0!important;min-height:0!important;gap:0!important;border-radius:12px!important;box-shadow:none!important;transform:none!important;filter:none!important;opacity:1!important;text-align:center!important;overflow:hidden!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-image,.cat-img,.uni-visual)[data-sg-picture-slot] {width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;flex:none!important;position:relative!important;display:block!important;margin:0!important;border-radius:0!important;overflow:hidden!important;padding:0!important;order:-1!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-image,.cat-img,.uni-media)>img {display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;transform:none!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) .cat-img>img {object-fit:contain!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) .uni-visual>.uni-media {position:static!important;display:block!important;width:100%!important;height:100%!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.cat-copy,.profile-body,.uni-body) {position:static!important;padding:8px 6px!important;display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;flex:1 1 auto!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.cat-copy>strong,.profile-body>h3,.uni-body>h3) {display:block!important;min-height:3.9em!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.3!important;font-weight:700!important;white-space:normal!important;overflow:visible!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;color:#173b60!important;letter-spacing:0!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-title,.profile-text,.profile-bullets,.profile-secondary,.uni-head,.uni-sub,.uni-doors,.uni-follow,.uni-ref,.cat-card>.cat-badge,.cat-copy>.agent-chip,.cat-copy>.service-list,.cat-copy>small,.profile-body>.profile-tag,.uni-symbol,.uni-flag) {display:none!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) .cat-copy>.warning {display:block!important;font-size:12px!important;line-height:1.35!important;margin:0!important;letter-spacing:0!important;overflow-wrap:break-word!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) .profile-card>.profile-links {padding:0 6px 8px!important;width:100%!important;margin-top:auto!important;box-sizing:border-box!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-primary,.uni-all) {display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;margin:0!important;padding:7px 4px!important;font-size:0!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:break-word!important;border-radius:8px!important;text-align:center!important;box-sizing:border-box!important;gap:0!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-primary,.uni-all)::after {content:"Ouvrir"!important;font-size:12px!important;line-height:1.3!important;position:static!important;transform:none!important;background:none!important;width:auto!important;height:auto!important;margin:0!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) .uni-body>.uni-all {margin-top:auto!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) .profile-card .profile-body::after {content:none!important;display:none!important;height:0!important;margin:0!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) .uni .uni-body>h3::after {content:none!important;display:none!important;height:0!important;margin:0!important}
  html[data-sg-mobile-prepaint="internal"] body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track)>:is([hidden],[aria-hidden=true],.is-hidden,[style*="display: none"],[style*="display:none"]) {display:none!important}
  html[data-sg-mobile-prepaint="internal"]:is(:lang(en),[data-sagace-lang="en"]) body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-primary,.uni-all)::after {content:"Open"!important}
  html[data-sg-mobile-prepaint="internal"]:is(:lang(es),[data-sagace-lang="es"]) body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-primary,.uni-all)::after {content:"Abrir"!important}
  html[data-sg-mobile-prepaint="internal"]:is(:lang(de),[data-sagace-lang="de"]) body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-primary,.uni-all)::after {content:"Öffnen"!important}
  html[data-sg-mobile-prepaint="internal"]:is(:lang(pt),[data-sagace-lang="pt"]) body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-primary,.uni-all)::after {content:"Abrir"!important}
  html[data-sg-mobile-prepaint="internal"]:is(:lang(ar),[data-sagace-lang="ar"]) body :is(#sagace-edu-v4 .profile-grid:not(*),#sagace-vie-v4 .cat-grid:not(*),#sagace-coaching-v5 .uni-grid):not(.sgmc-track) :is(.profile-primary,.uni-all)::after {content:"فتح"!important}
}


/* Compact mobile catalogues 5.1.1: share six-item pages with professional services. */
@media(max-width:767px){
 html body.sagace-unified-app :is(#sagace-edu-v4:not(*),#sagace-vie-v4:not(*),#sagace-coaching-v5) :is(.agents-panel,.coaches-panel).smu-collapsible:not(.smu-open)>.smu-controls {display:none!important}
 html body.sagace-unified-app .sgmc-track>.rv{opacity:1!important;visibility:visible!important;filter:none!important;transform:none!important;transition:none!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact :is(.spec,.popular-card){display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:0!important;gap:0!important;min-height:0!important;border-radius:12px!important;overflow:hidden!important;text-align:center!important;box-shadow:none!important;transform:none!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact .spec>.photo{width:100%!important;height:auto!important;aspect-ratio:1!important;margin:0!important;border-radius:0!important;min-height:0!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact .spec>strong{font-size:13px!important;line-height:1.3!important;margin:8px 4px 2px!important;padding:0!important;white-space:normal!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact .spec>small{font-size:11px!important;line-height:1.3!important;padding:0 5px 8px!important;min-height:34px!important;white-space:normal!important;overflow-wrap:break-word!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact .popular-card>.popular-icon{display:grid!important;place-items:center!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1!important;margin:0!important;border-radius:0!important;font-size:42px!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact .popular-card>.popular-from{font-size:10px!important;line-height:1.3!important;margin:8px 5px 4px!important;letter-spacing:0!important;white-space:normal!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact .popular-card>strong{font-size:12px!important;line-height:1.3!important;min-height:3.9em!important;margin:0 6px 6px!important;white-space:normal!important;overflow-wrap:break-word!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact .popular-card>small{display:none!important}
 html body.sagace-unified-app #sagace-coaching-v5 .sgmc-compact .popular-card>.popular-link{display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;line-height:1.3!important;min-height:44px!important;margin:auto 5px 5px!important;white-space:normal!important;overflow-wrap:break-word!important}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
}

/* SAGACE MOBILE REBUILD 2026-09-27 v1.0 — END */
