.cdb-platform-toggle{
    display:none;
}

@media(min-width:901px){
    body.cdb-platform-menu-ready{
        padding-right:78px;
    }

    body.cdb-platform-menu-ready > .site-header{
        position:fixed;
        inset:0 0 0 auto;
        width:78px;
        height:100vh;
        height:100dvh;
        z-index:200;
        margin:0;
        padding:0;
        border:0;
        border-left:1px solid rgba(25,35,50,.08);
        background:rgba(255,255,255,.88);
        box-shadow:none;
        backdrop-filter:blur(22px);
        -webkit-backdrop-filter:blur(22px);
        overflow:visible;
        transition:
            width .28s ease,
            background .28s ease,
            box-shadow .28s ease;
    }

    body.cdb-platform-menu-ready > .site-header.cdb-menu-open{
        width:280px;
        background:rgba(255,255,255,.97);
        box-shadow:-20px 0 65px rgba(15,25,40,.12);
    }

    body.cdb-platform-menu-ready .site-header .header-inner{
        display:flex;
        flex-direction:column;
        flex-wrap:nowrap;
        align-items:stretch;
        justify-content:flex-start;
        gap:25px;
        width:100%;
        max-width:none;
        height:100%;
        min-height:0;
        margin:0;
        padding:28px 12px 24px;
        overflow-x:hidden;
        overflow-y:auto;
        overscroll-behavior:contain;
        scrollbar-width:thin;
    }

    body.cdb-platform-menu-ready .site-header .brand-lockup{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:14px;
        width:100%;
        min-width:0;
        flex:0 0 auto;
        margin:0;
        padding:0;
        text-decoration:none;
    }

    body.cdb-platform-menu-ready .site-header .cdb-brand-symbol{
        width:44px;
        height:44px;
        flex:0 0 44px;
        max-width:none;
        object-fit:contain;
        transition:width .28s ease,height .28s ease;
    }

    body.cdb-platform-menu-ready .site-header.cdb-menu-open .cdb-brand-symbol{
        width:76px;
        height:74px;
        flex-basis:74px;
    }

    body.cdb-platform-menu-ready .site-header .brand-copy{
        display:block;
        width:0;
        max-height:0;
        overflow:hidden;
        opacity:0;
        text-align:center;
        white-space:nowrap;
        transition:opacity .2s ease,max-height .28s ease;
    }

    body.cdb-platform-menu-ready .site-header.cdb-menu-open .brand-copy{
        width:100%;
        max-height:65px;
        opacity:1;
    }

    body.cdb-platform-menu-ready .site-header .brand-copy strong{
        display:block;
        font-size:16px;
        line-height:1.4;
        letter-spacing:-.025em;
        color:#252830;
    }

    body.cdb-platform-menu-ready .site-header .brand-copy small{
        display:block;
        margin-top:5px;
        font-size:10px;
        color:#7a828d;
    }

    body.cdb-platform-menu-ready .site-header .main-nav{
        display:flex;
        flex-direction:column;
        flex-wrap:nowrap;
        align-items:stretch;
        order:initial;
        gap:7px;
        width:100%;
        margin:0;
        padding:0;
        overflow:visible;
        flex:0 0 auto;
    }

    body.cdb-platform-menu-ready .site-header .main-nav a{
        position:relative;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        gap:0;
        width:100%;
        height:48px;
        min-height:48px;
        margin:0;
        padding:0 0 0 52px;
        border:0;
        border-radius:8px;
        background:transparent;
        color:#59616c;
        text-decoration:none;
        font-size:13px;
        font-weight:550;
        overflow:hidden;
        white-space:nowrap;
    }

    body.cdb-platform-menu-ready .site-header .main-nav a:before{
        content:attr(data-cdb-icon);
        position:absolute;
        inset:0 auto 0 0;
        display:flex;
        align-items:center;
        justify-content:center;
        width:52px;
        font-size:21px;
        font-weight:400;
        color:#59616c;
    }

    body.cdb-platform-menu-ready .site-header .main-nav a:hover,
    body.cdb-platform-menu-ready .site-header .main-nav a[aria-current="page"]{
        background:#eef1f5;
        color:#202124;
    }

    body.cdb-platform-menu-ready .site-header .main-nav a[aria-current="page"]{
        box-shadow:inset 3px 0 #4285F4;
    }

    body.cdb-platform-menu-ready .site-header .main-nav a:nth-child(4n+1)[aria-current="page"]{
        box-shadow:inset 3px 0 #EA4335;
    }

    body.cdb-platform-menu-ready .site-header .main-nav a:nth-child(4n+2)[aria-current="page"]{
        box-shadow:inset 3px 0 #34A853;
    }

    body.cdb-platform-menu-ready .site-header .main-nav a:nth-child(4n)[aria-current="page"]{
        box-shadow:inset 3px 0 #FBBC05;
    }

    body.cdb-platform-menu-ready .site-header .cdb-menu-label{
        display:inline-block;
        max-width:0;
        overflow:hidden;
        opacity:0;
        white-space:nowrap;
        transition:opacity .18s ease,max-width .28s ease;
    }

    body.cdb-platform-menu-ready .site-header.cdb-menu-open .cdb-menu-label{
        max-width:220px;
        opacity:1;
    }

    body.cdb-platform-menu-ready .site-header .header-actions{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:9px;
        width:100%;
        min-width:0;
        margin:auto 0 0;
        padding-top:20px;
        border-top:1px solid #e9edf2;
        flex:0 0 auto;
    }

    body.cdb-platform-menu-ready .site-header .header-account{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:8px;
        width:100%;
    }

    body.cdb-platform-menu-ready .site-header .header-search-link,
    body.cdb-platform-menu-ready .site-header .header-notification{
        display:flex;
        align-items:center;
        justify-content:flex-start;
        position:relative;
        width:100%;
        height:44px;
        min-height:44px;
        margin:0;
        padding:0 16px;
        border:0;
        border-radius:7px;
        background:#f2f4f7;
        color:#505965;
        text-decoration:none;
    }

    body.cdb-platform-menu-ready .site-header .header-search-link svg,
    body.cdb-platform-menu-ready .site-header .header-notification svg{
        display:block;
        flex:0 0 20px;
        width:20px;
        height:20px;
        margin:0;
    }

    body.cdb-platform-menu-ready .site-header.cdb-menu-open .header-search-link:after{
        content:"Rechercher un citoyen";
        padding-left:14px;
        font-size:12px;
        white-space:nowrap;
    }

    body.cdb-platform-menu-ready .site-header.cdb-menu-open .header-notification:after{
        content:"Mes notifications";
        padding-left:14px;
        font-size:12px;
        white-space:nowrap;
    }

    body.cdb-platform-menu-ready .site-header .header-notification__count{
        position:absolute;
        top:3px;
        right:3px;
        min-width:16px;
        height:16px;
        padding:0 3px;
        border-radius:10px;
        background:#EA4335;
        color:white;
        font-size:9px;
        line-height:16px;
        text-align:center;
    }

    body.cdb-platform-menu-ready .site-header .header-user-link,
    body.cdb-platform-menu-ready .site-header .header-actions .btn{
        position:relative;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        gap:0;
        width:100%;
        min-width:0;
        height:45px;
        min-height:45px;
        margin:0;
        padding:0 8px 0 52px;
        border-radius:7px;
        font-size:12px;
        overflow:hidden;
        white-space:nowrap;
        text-decoration:none;
    }

    body.cdb-platform-menu-ready .site-header .header-user-link{
        background:#f2f4f7;
        color:#505965;
    }

    body.cdb-platform-menu-ready .site-header .header-actions .btn:before,
    body.cdb-platform-menu-ready .site-header .header-user-link:before{
        content:attr(data-cdb-icon);
        position:absolute;
        left:0;
        top:0;
        display:flex;
        align-items:center;
        justify-content:center;
        width:52px;
        height:45px;
        font-size:20px;
    }

    body.cdb-platform-menu-ready .site-header .header-actions .btn-primary{
        background:#252830;
        border-color:#252830;
        color:#fff;
    }

    body.cdb-platform-menu-ready .site-header .header-actions .btn-ghost{
        background:#f2f4f7;
        border-color:transparent;
        color:#505965;
    }

    body.cdb-platform-menu-ready .site-header .header-logout-form{
        display:block;
        width:100%;
        margin:0;
    }

    body.cdb-platform-menu-ready .cdb-platform-toggle{
        position:absolute;
        left:-21px;
        top:50%;
        transform:translateY(-50%);
        display:flex;
        align-items:center;
        justify-content:center;
        width:42px;
        height:42px;
        margin:0;
        padding:0;
        border:1px solid rgba(30,40,55,.12);
        border-radius:50%;
        background:#fff;
        color:#252830;
        box-shadow:0 5px 20px rgba(15,25,40,.16);
        cursor:pointer;
        z-index:2;
    }

    body.cdb-platform-menu-ready .cdb-platform-toggle:hover{
        background:#f2f4f7;
    }

    body.cdb-platform-menu-ready .cdb-platform-toggle svg{
        display:block;
        width:20px;
        height:20px;
        transition:transform .28s ease;
    }

    body.cdb-platform-menu-ready .cdb-platform-toggle[aria-expanded="true"] svg{
        transform:rotate(180deg);
    }

    body.cdb-platform-menu-ready .site-header :focus-visible{
        outline:2px solid #4285F4;
        outline-offset:2px;
    }

    body.cdb-platform-menu-ready > .skip-link:focus{
        z-index:250;
    }
}

@media(prefers-reduced-motion:reduce){
    body.cdb-platform-menu-ready .site-header,
    body.cdb-platform-menu-ready .site-header *,
    body.cdb-platform-menu-ready .site-header *:before,
    body.cdb-platform-menu-ready .site-header *:after{
        transition:none!important;
    }
}
