@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

    #appcontent > * {
      -moz-box-ordinal-group: 3;
    }

    tabbrowser {
      -moz-box-ordinal-group: 2 !important;
    }

    statuspanel {
      margin-top: 0 !important;
    }

    .statuspanel-inner {
      -moz-box-align: start !important;
    }

    .statuspanel-label {
      border-top-style: none !important;
      border-bottom-style: solid !important;
      border-top-left-radius: 0 !important;
      border-top-right-radius: 0 !important;
    }

    .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
    .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
      border-bottom-right-radius: .3em; 
      border-right-style: solid;
    }

    .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
    .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
      border-bottom-left-radius: .3em;
      border-left-style: solid;
    }