/* Accueil public seulement : une hiérarchie courte adaptée à tous les écrans. */
#app.mb83-home{max-width:none;min-height:100dvh;background:#f5f6fa;color:#17283c}#app.mb83-home .ege-shared-header{background:#c81038!important;background-image:none!important;min-height:60px!important;height:auto!important;width:min(100% - 24px,576px)!important;margin:12px auto 0!important;border-radius:15px!important;padding:9px 16px!important;box-shadow:0 4px 13px #bd103626;justify-content:flex-start!important}#app.mb83-home .ege-shared-header .brand{gap:10px;color:white!important}#app.mb83-home .ege-shared-header .brandmark{width:36px;height:36px;flex-basis:36px}#app.mb83-home .ege-shared-header .brandname{font-size:18px;color:white!important}#app.mb83-home .ege-shared-header .brand-sub{display:block!important;font-size:10px;color:#fff!important;max-width:none!important;line-height:1.3;margin-top:2px}#app.mb83-home .ege-header-actions{display:none!important}#app.mb83-home .app-body{min-height:0!important}#app.mb83-home .main.intro-main{background:transparent!important;padding:13px 12px max(10px,env(safe-area-inset-bottom))!important;min-height:0!important}#app.mb83-home .screen{max-width:576px;margin:0 auto!important;min-height:0!important}.mb83-welcome{display:grid;gap:10px;max-width:576px;margin:auto}.mb83-welcome h1{font-size:clamp(20px,5vw,25px);line-height:1.2;letter-spacing:-.45px;text-align:center;margin:1px 0 3px;color:#17283c;font-weight:850}.mb83-modes{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:white;border:1px solid #e3e6ed;padding:4px;border-radius:12px}.mb83-modes button{border:0;background:white;color:#b81035;border-radius:9px;min-height:43px;padding:8px 5px;font-weight:750;font-size:14px;cursor:pointer}.mb83-modes button[aria-pressed=true]{background:#c81038;color:white;box-shadow:0 2px 5px #b9103620}.mb83-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mb83-role{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#fff;border:1px solid #e3e7ef;border-radius:15px;padding:12px 8px;min-height:108px;box-shadow:0 3px 10px #17283c08;color:#17283c;cursor:pointer}.mb83-role-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:13px;color:#c81038;background:#fae9ed}.mb83-enseignant .mb83-role-icon{background:#e4f2eb;color:#087454}.mb83-role-icon svg{width:29px;height:29px;stroke-width:1.8}.mb83-role strong{font-size:16px;line-height:1.25;font-weight:800}.mb83-role small{font-size:11px;color:#64748b}.mb83-role:hover{border-color:#c4ccd7}.mb83-directory,.mb83-ad-content{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:10px;align-items:center;border:0;text-align:left;text-decoration:none;color:#17283c;font:inherit;cursor:pointer}.mb83-directory{border:1px solid #e3e7ef;border-radius:13px;padding:11px;background:white;min-height:65px}.mb83-directory-icon,.mb83-ad-placeholder{width:40px;height:40px;display:grid;place-items:center;background:#e4f2eb;border-radius:11px;color:#087454}.mb83-directory-icon svg,.mb83-ad-placeholder svg{width:23px;height:23px}.mb83-directory strong,.mb83-directory small,.mb83-ad-content strong,.mb83-ad-content small{display:block;overflow-wrap:anywhere}.mb83-directory strong,.mb83-ad-content strong{font-weight:800;font-size:14px;line-height:1.25}.mb83-directory small,.mb83-ad-content small{font-size:12px;color:#65758a;margin-top:4px;line-height:1.25}.mb83-directory>svg,.mb83-ad-content>svg{width:17px;height:17px;color:#8494a5}.mb83-banner{width:100%;display:block;background:linear-gradient(135deg,#eef9f2,#e4f2eb);border:1px solid #d9e9df;border-radius:14px;overflow:hidden;margin:0!important;min-height:0!important;box-shadow:none}.mb83-ad-content{grid-template-columns:60px minmax(0,1fr) 17px;min-height:78px;background:none;padding:10px}.mb83-ad-content img{width:60px;height:60px;object-fit:cover;border-radius:10px;background:white}.mb83-ad-content .mb83-ad-placeholder{width:60px;height:60px;background:white}.mb83-premium{display:inline-block;width:max-content;color:#805411;background:#fff0c8;padding:2px 6px;border-radius:5px;font-size:10px;font-weight:800;margin-bottom:4px}.mb83-ad-content strong,.mb83-ad-content small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mb83-ad-nav{display:flex;justify-content:center;align-items:center;gap:10px;font-size:10px;color:#567265;height:34px;border-top:1px solid #d9e9df}.mb83-ad-nav button{min-width:48px;min-height:34px;background:transparent;border:0;color:#087454;font-weight:750;font-size:22px;line-height:1;cursor:pointer}.mb83-links{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin:0}.mb83-links button{display:inline-flex;align-items:center;gap:5px;background:transparent;border:0;color:#5b6b80;font-size:12px;line-height:1.25;font-weight:650;padding:6px 2px;min-height:40px;cursor:pointer}.mb83-links button[hidden]{display:none!important}.mb83-links svg{width:15px;height:15px}.mb83-welcome button:focus-visible,.mb83-welcome a:focus-visible{outline:3px solid #c81038;outline-offset:2px}#app.mb83-home .privacy-footer{border:0!important;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:2px 10px;margin:4px 0 0!important;padding:0!important;line-height:1.3}#app.mb83-home .ege-footer-identity{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}#app.mb83-home .privacy-footer p{display:inline;margin:0!important;font-size:10px!important;color:#65758a}#app.mb83-home .privacy-footer .ege-copyright{font-size:10px!important}#app.mb83-home .privacy-footer a{min-height:30px;font-size:10px;text-decoration:none;color:#65758a}#app.mb83-home .privacy-footer a:hover{text-decoration:underline}.mb83-neutral .mb83-ad-content{min-height:74px}.mb83-neutral .mb83-ad-placeholder{width:60px;height:54px}@media(min-width:680px){#app.mb83-home .ege-shared-header{margin-top:24px!important}#app.mb83-home .main.intro-main{padding-top:20px!important}.mb83-welcome{gap:13px}.mb83-role{min-height:130px;padding:18px}.mb83-role-icon{width:52px;height:52px}.mb83-directory{padding:12px 15px}.mb83-ad-content{padding:12px 15px}.mb83-ad-nav{height:36px}}@media(max-width:360px){#app.mb83-home .main.intro-main{padding-top:10px!important}.mb83-welcome{gap:8px}.mb83-modes button{font-size:13px}.mb83-role{min-height:98px;padding:9px 5px}.mb83-role-icon{width:40px;height:40px}.mb83-role-icon svg{width:25px;height:25px}.mb83-directory{min-height:60px;padding:8px}.mb83-links{gap:8px}.mb83-links button{font-size:11px}}
