/* ─ RIBBON TABLEAU DE BORD ─ */
#dashboard-ribbon {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 996;
    background: linear-gradient(45deg,#294e5f,#4d8aa7);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
#dashboard-ribbon .ribbon-tabs {
    display: flex;
    padding: 0 8px;
    align-items: stretch;
    min-height: 32px;
}
#dashboard-ribbon .ribbon-tab {
    border: none;
    background: 0;
    color: rgba(255,255,255,.9);
    padding: 5px 11px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px 4px 0 0;
    transition: .2s;
}
#dashboard-ribbon .ribbon-tab i { font-size: 14px; }
#dashboard-ribbon .ribbon-tab:hover { background: rgba(255,255,255,.15); color: #fff; }
#dashboard-ribbon .ribbon-title {
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 700;
    padding: 0 12px;
    display: flex;
    align-items: center;
    letter-spacing: .3px;
}
main { padding-top: 32px; }
main.full-height { height: 100dvh; }

/* Sidenav is pinned open (sidenav-fixed) on large screens, like the old top navbar:
   shift the ribbon right instead of overlapping it, and drop the now-redundant menu button. */
@media only screen and (min-width: 993px) {
    #dashboard-ribbon { left: 300px; }
    #dashboard-ribbon .sidenav-trigger { display: none; }
    #dashboard-ribbon .ribbon-title { padding-left: 24px; }
}
