/* Navigation mobile et commandes tactiles. */
.mobile-brand-row{display:flex;align-items:center;width:100%;min-width:0}.mobile-brand-row .brand{min-width:0}.mobile-menu-toggle{display:none}.top-help{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:12px;color:#76558c}.top-help:hover{background:#f2ebf7}.workspace,.panel,.page,.page-head>div{min-width:0}
@media(max-width:780px){
.layout{display:block;min-height:100dvh}.sidebar,.compact .sidebar{position:sticky!important;inset:auto!important;top:0!important;width:100%!important;z-index:30;padding:10px 16px!important;background:#fff;border-right:0;border-bottom:1px solid var(--line);display:block;overflow:visible;height:auto}.mobile-brand-row{justify-content:space-between;gap:14px}.sidebar .brand,.compact .sidebar .brand{padding:0!important;margin:0!important;width:auto!important;max-width:calc(100% - 98px);overflow:hidden;min-height:44px}.sidebar .brand .repere-full-logo,.compact .sidebar .brand .repere-full-logo{display:block!important;width:144px;max-width:100%;height:auto}.sidebar .brand .repere-compact-mark,.compact .sidebar .brand .repere-compact-mark{display:none!important}.mobile-menu-toggle{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;font-size:14px;background:#fff}.mobile-menu-toggle[aria-expanded="true"]{background:#f2ebf7;color:#65447c}.sidebar #repereNavigation{display:none!important;position:absolute;top:100%;left:12px;right:12px;margin:7px 0 0!important;padding:10px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 32px #252b3820;max-height:calc(100dvh - 90px);overflow-y:auto;overflow-x:hidden}.mobile-menu-open .sidebar #repereNavigation{display:flex!important;flex-direction:column;gap:4px}.sidebar .nav,.compact .sidebar .nav{width:100%;min-height:48px;flex-shrink:0;justify-content:flex-start;text-align:left;gap:12px;padding:12px!important;font-size:15px;white-space:normal}.sidebar .nav span,.compact .sidebar .nav span,.compact .sidebar-settings>summary span{display:inline!important}.sidebar .nav .message-badge[hidden]{display:none!important}.sidebar-settings{width:100%}.sidebar-settings>summary{min-height:44px;display:flex;gap:12px;align-items:center;padding:12px}.sidebar-bottom,.compact .sidebar-bottom{display:none}.workspace,.compact .workspace{margin-left:0!important;width:100%!important}.topbar{height:auto;min-height:62px;gap:10px;padding:8px 16px}.topbar #compactMenu{display:none}.topbar-start{min-width:0;flex:1}.breadcrumb{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.identity{gap:6px;flex-shrink:0}.identity .btn,.top-messages,.identity-profile{min-width:44px;min-height:44px}.identity-profile{padding:4px}.identity-profile>span:not(.avatar):not(.avatar-shell){display:none}.top-help,.top-messages,#logoutTop{padding:10px}.page{padding:22px 16px 32px;max-width:100%}.page-head{display:flex;flex-direction:column;align-items:stretch;gap:16px}.page-head h1{font-size:clamp(26px,7vw,36px)}.page-head>.btn,.page-head>.btn-row{align-self:flex-start}.page-head p{font-size:15px;line-height:1.65}.page-head .btn-row{margin:0}.learning-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:8px 16px;gap:6px}.learning-tabs button{min-height:44px;white-space:nowrap;flex-shrink:0}.input,input,textarea,select{font-size:16px!important;max-width:100%}.filter-row>.input:first-of-type{min-width:0}.filter-row{flex-wrap:wrap}.editor-row{flex-wrap:wrap}.editor-row .input{min-width:0}.btn{min-height:44px;white-space:normal}.field-grid,.profile-fields,.course-grant-grid,.bulk-grid{grid-template-columns:1fr!important}.btn-row,.panel-top,.filterbar{flex-wrap:wrap}.btn-row{gap:9px}.panel{padding:20px}.course-layout{grid-template-columns:minmax(0,1fr)}.course-layout aside{display:block}.course-body,.course-content{overflow-wrap:anywhere}.course-body img,.course-content img{max-width:100%;height:auto}.course-body table,.course-content table{display:block;max-width:100%;overflow:auto}.course-body pre,.course-content pre{white-space:pre-wrap;overflow-wrap:anywhere}.table-wrap,.table-scroll,.panel:has(>table){max-width:100%;overflow-x:auto}.site-options,.member-picker,.cohort-member-list{max-width:100%}.learning-accordion>summary{min-height:50px}.learning-accordion>summary>span{min-width:0;overflow-wrap:anywhere}.cohort-card,.course-card,.path-card{min-width:0}.cohort-card h2,.course-card h2,.path-card h2{overflow-wrap:anywhere}.cohort-card .btn-row{flex-wrap:wrap}.dialog-close{width:44px;height:44px;min-width:44px;min-height:44px}dialog{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px);padding:22px 18px;overflow-y:auto;border-radius:18px}dialog h2{padding-right:28px}dialog .field-grid{grid-template-columns:1fr!important}dialog .input{width:100%}input[type=file]{width:100%;white-space:normal}input[type=checkbox],input[type=radio]{min-width:20px;min-height:20px}.check,.site-option,.cohort-day{min-height:44px}button:focus-visible,a:focus-visible{outline-offset:2px}
.messenger{min-height:0!important;max-width:100%;overscroll-behavior:contain}.messenger-list,.messenger-main,.message-pane{min-width:0}.messenger-list-tabs>button,.conversation-tab,.thread-back{min-height:44px}.conversation-tab .chat-tab-close{min-width:44px;min-height:44px}.thread-header{gap:8px;min-width:0;padding:8px 10px;min-height:60px}.thread-person{flex:1;min-width:0}.thread-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-actions{gap:2px}.thread-actions .btn{min-width:44px;min-height:44px;padding:8px;font-size:12px}.thread-actions #threadOptions span{display:none}.thread-actions #expandChat{display:none}.thread-actions #threadFiles{font-size:0;gap:0}.thread-actions #threadFiles .icon{width:21px;height:21px}.thread-messages{min-height:0;padding:12px 10px;overscroll-behavior:contain}.message-row{max-width:100%}.message-bubble{max-width:100%;overflow-wrap:anywhere}.message-bubble>p{font-size:15px}.message-compose{padding:9px 8px calc(9px + env(safe-area-inset-bottom));flex-shrink:0}.compose-row{gap:4px;align-items:flex-end}.message-compose textarea{font-size:16px!important;min-height:44px;max-height:100px;padding:11px 8px}.attach-button,.emoji-compose{min-width:40px;min-height:44px;padding:8px}.compose-row .btn{min-width:44px;min-height:44px;padding:10px}.compose-row .btn span{display:none}.compose-tip{font-size:11px;line-height:1.45;display:block;margin-top:6px}.messenger.is-expanded{inset:auto 8px auto 8px;top:calc(var(--chat-viewport-top,0px) + 8px);height:calc(var(--chat-viewport-height,100dvh) - 16px)!important;max-height:calc(var(--chat-viewport-height,100dvh) - 16px)}
.auth-layout{min-height:100dvh}.auth-form .field-grid{grid-template-columns:1fr 1fr!important}.auth-card,.auth-form{min-width:0;max-width:100%}.auth-form .input{min-width:0}.auth-form .btn{min-height:48px}.auth-support{flex-wrap:wrap}.auth-logo-card{max-width:100%}
}
@media(max-width:420px){.breadcrumb{display:none}.topbar-start{flex:0}.identity{margin-left:auto;width:100%;justify-content:flex-end}.page{padding:18px 12px 26px}.panel{padding:18px 15px}.hero{padding:23px 19px}.hero h1{font-size:30px}.hero-actions{gap:9px}.hero-actions .btn{width:100%}.auth-form .field-grid{grid-template-columns:1fr!important}.profile-stats,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.thread-header .group-avatar{display:none}.guide-article-tools{gap:4px}.guide-steps li{gap:10px}.guide-visual{padding:15px}}
@media(prefers-reduced-motion:reduce){.mobile-menu-toggle,.sidebar #repereNavigation{transition:none;animation:none}}
