/* Only adapt the embedded service content and JeMimba brand. Navigation layout is Covoizin's. */
.jemimba-inherited-shell>.didac-webapp-content>header.bar{display:none}
.jemimba-inherited-shell>.didac-webapp-content>main{max-width:none;margin:0;padding:0}
.jm-search-page .jemimba-inherited-shell>.didac-webapp-content>.jm-search-main{width:min(1200px,calc(100% - 60px));max-width:1200px;margin-inline:auto;padding:30px 0 56px}
.jemimba-inherited-shell .didac-webapp-company-logo{object-fit:contain}
.jemimba-inherited-shell .didac-webapp-content h1{font-size:clamp(28px,3vw,40px)}
.jemimba-inherited-shell .didac-webapp-content .panel{border-radius:16px}
.jemimba-inherited-shell .didac-webapp-menu-link{color:inherit}
.jemimba-inherited-shell .didac-webapp-menu-heading{list-style:none}
.jemimba-inherited-shell .didac-webapp-content .dashboard-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.jemimba-inherited-shell .dashboard-cards a{display:block;text-decoration:none}
.didac-webapp-sidebar{--blue:#103c68;--orange:#f86608}
.didac-webapp-shell .didac-webapp-sidebar{background:linear-gradient(180deg,#103c68 0%,#0d3257 55%,#071d32 100%)!important}
.jemimba-kyc-shell .didac-webapp-kicker{color:#a53e00!important}
.jemimba-kyc-shell .didac-kyc-document-submit{background:#103c68!important;border-color:#103c68!important;color:#fff!important}
.didac-webapp-shell.jemimba-kyc-shell .didac-webapp-desktop-toggle{background:#f86608!important;color:#fff!important}
.didac-webapp-shell.jemimba-kyc-shell .didac-webapp-mobile-toggle{background:#103c68!important;color:#fff!important}
.didac-webapp-desktop-toggle{background:#f86608}
.didac-auth-shell .didac-auth-primary{background:#103c68;border-color:#103c68}
.didac-auth-shell .didac-auth-title,.didac-auth-shell .didac-register-panel-heading h3{color:#103c68}
.didac-auth-shell .didac-register-role-options label:has(input:checked){border-color:#f86608;background:#fff5ed}
@media(max-width:760px){.jemimba-inherited-shell>.didac-webapp-content>main{padding:0}}
@media(max-width:760px){.jm-search-page .jemimba-inherited-shell>.didac-webapp-content>.jm-search-main{width:calc(100% - 32px);padding:76px 0 36px}}

.jemimba-inherited-shell .didac-webapp-content .panel{overflow-wrap:anywhere}
.didac-auth-shell.didac-auth-shell--entry{--didac-auth-green:#103c68;--didac-auth-green-dark:#0d3257;--didac-auth-orange:#f86608}
.didac-auth-shell.didac-auth-shell--entry .didac-auth-visual{background-image:var(--didac-auth-bg-image)!important;background-position:center top}
.didac-auth-shell.didac-auth-shell--entry .didac-auth-primary{background:#103c68!important;border-color:#103c68!important}
.didac-auth-shell.didac-auth-shell--entry .didac-register-role-options label:has(input:checked){border-color:#f86608!important;background:#fff5ed!important}
.jemimba-inherited-shell .jm-dashboard-content{padding:30px;min-width:0}
.jm-dashboard-content .didac-webapp-grid>section{min-width:0}
.jm-dashboard-content .didac-auth-secondary{margin:8px 8px 0 0}
.jm-dashboard-missions{list-style:none;padding:0;margin:0 0 20px}
.jm-dashboard-missions li{display:grid;gap:6px;padding:14px 0;border-bottom:1px solid #dce5ed;overflow-wrap:anywhere}
.jm-dashboard-missions span,.jm-dashboard-missions time{font-size:14px;color:#53697a}
.jm-dashboard-journey{margin-top:20px}
.jm-dashboard-journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.jm-dashboard-journey-grid>div{min-width:0;padding:20px;border:1px solid #dce5ed;border-radius:14px;background:#f8fbfd}
.jm-dashboard-journey-grid h3{margin:0 0 10px;color:#103c68}
.jm-dashboard-journey-grid p{line-height:1.6;overflow-wrap:anywhere}
.jm-dashboard-journey-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.jm-dashboard-journey-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #c6d6e5;border-radius:9px;color:#103c68;font-weight:700;text-decoration:none}
.jm-dashboard-journey-links a:hover{background:#eaf1f9}
.jm-dashboard-skip{position:absolute;top:-100px;left:16px;z-index:9999;padding:12px;background:white;color:#103c68}
.jm-dashboard-skip:focus{top:12px}
body.jemimba-dashboard{margin:0;background:#f5f8fb}
.jemimba-inherited-shell .didac-auth-primary{background:#103c68;border-color:#103c68}
.jemimba-inherited-shell .didac-webapp-kicker,.jemimba-inherited-shell .didac-dashboard-shortcuts strong{color:#103c68}
.jemimba-inherited-shell .didac-dashboard-shortcuts a>span{background:#fff0e5;color:#f86608}
@media(max-width:760px){.jemimba-inherited-shell .jm-dashboard-content{padding:76px 16px 20px}.jm-dashboard-content .didac-dashboard-toolbar{flex-wrap:wrap}.jm-dashboard-journey-grid{grid-template-columns:1fr}}

/* Retain the inherited chat layout and controls, with the JeMimba palette. */
.didac-webapp-shell .didac-chat-tabs a.is-active,.didac-webapp-shell .didac-chat-composer .didac-auth-primary,.didac-webapp-shell .didac-chat-search button{background:#103c68!important;border-color:#103c68!important;color:#fff!important}
.didac-webapp-shell .didac-chat-header{flex-wrap:wrap}
.didac-webapp-shell .didac-chat-header-main{flex:1 1 180px;min-width:0}
.didac-webapp-shell .didac-chat-header-main p{overflow-wrap:anywhere}
.didac-webapp-shell .didac-chat-message.is-mine .didac-chat-message-bubble{background:#103c68}
.jemimba-inherited-shell .cvi-member-inbox{box-sizing:border-box;width:100%;min-width:0;overflow-wrap:anywhere}
.jemimba-inherited-shell .cvi-member-inbox nav a,.jemimba-inherited-shell .cvi-member-inbox button{color:#103c68!important;border-color:#103c68!important}
@media(max-width:760px){.jemimba-inherited-shell .cvi-member-inbox{padding:76px 16px 20px;margin:0}.didac-webapp-shell .didac-chat-header-main{flex-basis:160px}}

/* UX 2026-09: shared Covoizin shells, JeMimba colours and accessible controls. */
.didac-auth-shell.didac-auth-shell--entry{background:#f5f8fb!important}
body.didac-webapp-page .didac-auth-shell.didac-auth-shell--entry,body.didac-webapp-page .didac-webapp-shell{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
.didac-auth-shell.didac-auth-shell--entry .didac-auth-form-panel{background:#f5f8fb!important;min-width:0}
.jm-auth-language{display:flex;justify-content:flex-end;gap:4px;margin:0 0 12px}
.didac-bo-auth .didac-bo-auth-card h2{color:#103c68!important}
.didac-bo-auth .didac-bo-form button{background:#103c68!important;min-height:48px}
.didac-bo-auth :is(input,button){font-size:16px!important}
.didac-bo-auth :is(input,button,summary):focus-visible{outline:3px solid #a53e00;outline-offset:3px}
.didac-webapp-shell .didac-webapp-desktop-toggle{background:#a53e00!important;color:#fff}
.didac-backoffice-shell .didac-webapp-user-code{color:#103c68!important}
.didac-backoffice-shell .didac-webapp-menu-link-icon{background:#ffb47b!important}
.didac-backoffice-shell .didac-webapp-menu-heading-icon:before{border-color:#fff!important}
.didac-backoffice-shell .didac-webapp-user-avatar{color:#103c68!important}
.jm-auth-language a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #c5d2df;border-radius:8px;color:#103c68;text-decoration:none;font-size:14px;font-weight:700}
.jm-auth-language a[aria-current=true]{background:#103c68;border-color:#103c68;color:#fff}
.didac-auth-shell .didac-auth-field input,.didac-auth-shell .didac-auth-field select{font-size:16px!important}
.didac-auth-shell .didac-auth-field input:focus,.didac-auth-shell .didac-auth-field select:focus{border-color:#103c68!important;box-shadow:0 0 0 3px #103c6826!important}
.didac-auth-shell .didac-password-toggle{min-width:64px;min-height:44px;color:#103c68!important}
.didac-auth-shell .didac-auth-inline-link,.didac-auth-shell .didac-register-login a{color:#103c68!important;text-underline-offset:3px}
.didac-auth-shell .covoizin-social-button:disabled{filter:grayscale(1);opacity:.6;cursor:not-allowed}
.didac-auth-shell .didac-auth-field-help,.didac-auth-shell .didac-register-confidential{color:#526579!important;line-height:1.6}
.didac-auth-shell .didac-register-panel-heading h3{color:#103c68!important}
.didac-auth-shell .didac-register-selected-role{color:#103c68;background:#eaf1f9;border-color:#d7dfe8}
.jm-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;min-width:42px;min-height:42px;border-radius:50%;background:#eaf1f9;color:#103c68;font-size:14px;font-weight:800}
.didac-webapp-shell .didac-webapp-mobile-toggle{background:#103c68!important;color:#fff!important;min-width:44px;min-height:44px}
.didac-webapp-shell .didac-webapp-sidebar{max-width:calc(100vw - 32px)}
.didac-webapp-shell .didac-webapp-menu-link{min-height:44px;line-height:1.45}
.didac-webapp-shell .didac-webapp-menu-heading{min-height:48px;line-height:1.45}
.didac-webapp-shell .didac-webapp-user-name{overflow-wrap:anywhere}
.didac-webapp-shell .didac-webapp-content{min-width:0}
.didac-webapp-shell .didac-dashboard-toolbar h2{overflow-wrap:anywhere;min-width:0}
.didac-webapp-shell .didac-dashboard-user-chip{max-width:100%;min-width:0}
.didac-webapp-shell .didac-dashboard-user-chip>div{min-width:0;overflow-wrap:anywhere}
.didac-auth-shell :is(a,button,input,select,summary):focus-visible,.didac-webapp-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #a53e00!important;outline-offset:3px}
.didac-webapp-sidebar :is(a,button,summary):focus-visible{outline-color:#ffb47b!important;outline-offset:-4px}
.didac-backoffice-shell .didac-backoffice-logo-frame{width:72px;flex-basis:72px}
.didac-backoffice-shell .didac-webapp-company-logo{width:68px!important;height:52px!important}
.didac-backoffice-shell .didac-webapp-menu-link.is-active{color:#103c68!important;background:#fff}
.didac-backoffice-shell .didac-webapp-menu-link.is-active .didac-webapp-menu-link-icon{background:#a53e00;box-shadow:0 0 0 4px #fff0e5}
.didac-backoffice-shell .didac-bo-quick-grid a{color:#103c68;border-color:#d7dfe8;background:#f5f8fb}
.didac-backoffice-shell .didac-bo-access-card{background:linear-gradient(145deg,#103c68,#071d32)}
@media(max-width:760px){
 .didac-auth-shell.didac-auth-shell--entry .didac-auth-card{padding:22px 18px!important}
 .didac-auth-shell.didac-auth-shell--entry .didac-auth-title{font-size:28px!important;line-height:1.2!important}
 .jm-auth-language{margin-bottom:16px}
 .didac-webapp-shell .didac-webapp-menu-heading{font-size:12px}
 .didac-webapp-shell .didac-webapp-menu-link{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.didac-auth-shell *,.didac-webapp-shell *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* MU-02: shared inherited member navigation; blue/orange JeMimba identity. */
.jm-member-navigation .didac-webapp-menu-heading,
.jm-member-navigation .jm-menu-direct{font-family:Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;color:#fff!important;gap:12px;min-height:52px}
.jm-member-navigation .jm-menu-direct{padding:16px 20px!important;border-bottom:1px solid #ffffff26;display:flex;align-items:center;text-decoration:none}
.jm-member-navigation .didac-webapp-menu-link{font-family:Arial,sans-serif!important;font-size:14px;gap:12px;color:#eaf1f9!important;padding:12px 18px 12px 28px!important;min-height:46px;box-sizing:border-box;text-decoration:none;overflow-wrap:anywhere}
.jm-member-navigation .didac-webapp-menu-link>span:last-child{min-width:0}
.jm-member-navigation .didac-webapp-menu-heading:hover,
.jm-member-navigation .didac-webapp-menu-link:hover{background:#ffffff14!important;color:#fff!important}
.jm-member-navigation .didac-webapp-menu-link[aria-current=page]{background:#fff0e5!important;color:#103c68!important;box-shadow:inset 4px 0 #f86608;font-weight:700}
.jm-member-navigation .didac-webapp-menu-link[aria-current=page] .didac-webapp-menu-link-icon{color:#a53e00!important}
.jm-member-navigation .didac-webapp-menu-heading-icon,
.jm-member-navigation .didac-webapp-menu-link-icon{display:inline-flex!important;flex:0 0 20px!important;width:20px!important;height:20px!important;background:none!important;color:inherit!important;box-shadow:none!important}
.jm-member-navigation :is(.didac-webapp-menu-heading-icon,.didac-webapp-menu-link-icon)::before{display:none!important}
.jm-member-navigation :is(.didac-webapp-menu-heading-icon,.didac-webapp-menu-link-icon) svg{display:block;width:20px;height:20px}
.jm-member-navigation .didac-webapp-menu-heading-caret{margin-left:auto;color:#ffb47b}
.jm-member-navigation .didac-webapp-menu-section[open]>.didac-webapp-menu-heading{background:#ffffff0a}
.didac-webapp-sidebar:has(.jm-member-navigation){overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8ba9c4 #103c68}
.didac-webapp-sidebar:has(.jm-member-navigation) .didac-webapp-sidebar-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}
@media(min-width:1121px){
 .jemimba-inherited-shell :is(.didac-webapp-mobile-toggle,.didac-webapp-sidebar-close,.didac-webapp-mobile-account,.didac-webapp-mobile-overlay){display:none!important}
}
@media(max-width:1120px){
 .didac-webapp-sidebar:has(.jm-member-navigation){height:100dvh!important;padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}
 body.didac-webapp-menu-open:has(.jm-member-navigation){overflow:hidden}
 .jm-member-navigation .didac-webapp-menu-heading{min-height:52px!important}
}

.jm-communication-context{display:flex;flex-wrap:wrap;gap:12px;padding:14px 18px;background:#f0f5fa;border:1px solid #d8e2ed;border-radius:12px;overflow-wrap:anywhere}.jm-communication-context a{color:#103c68;font-weight:700;text-decoration:underline}.jm-communication-context a:focus-visible{outline:3px solid #f86608;outline-offset:3px}

.didac-webapp-shell .didac-webapp-sidebar .didac-webapp-text-logo{background:transparent!important;border-radius:0;box-shadow:none;flex:0 0 156px;width:156px;height:70px;align-items:center}
.didac-webapp-shell .didac-webapp-sidebar .didac-webapp-text-logo .didac-webapp-company-logo{width:100%!important;height:100%!important;object-fit:contain;transform:none!important}
