/* Shared dock dimensions: tune these values together with the 418px rail breakpoint. */
:root {
 --dock-size: 64px;
 --dock-pane-size: 290px;
 --dock-pane-padding: 5px;
 --dock-button-size: 56px;
 --dock-icon-size: 24px;
 --dock-bottom-gap: 75px;
 --dock-bottom-clearance: calc(var(--dock-size) + var(--dock-bottom-gap) + env(safe-area-inset-bottom, 0px));
 --dock-open-size: calc(var(--dock-size) + var(--dock-pane-size));
}
/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Html body response to dock
 */
html body
{

}

.float-to-page
{
    width: 100%;
}

/* HTML body margin for nav dock top */
html body.dock-top #dock-front,
html body.dock-top #dock-back,
html body.dock-top
{
    /*margin-top: calc(var(--dock-size) + var(--sync-offset, 0px)); This created overflow of var(--dock-size) */
    padding-top: calc(var(--dock-size) + var(--sync-offset, 0px));
    min-height: calc(100% - var(--dock-size));
}
    html body.dock-top .float-to-page
    {
        margin-top: calc(var(--dock-size) + var(--sync-offset, 0px));
    }


/* HTML body margin for nav dock bottom */
html body.dock-bottom #dock-front,
html body.dock-bottom #dock-back,
html body.dock-bottom
{
    /* Reserve the bar itself plus breathing room after the final page control. */
    padding-bottom: var(--dock-bottom-clearance);
    min-height: calc(100% - var(--dock-size));
}
    html body.dock-bottom .float-to-page
    {
        margin-bottom: var(--dock-bottom-clearance);
    }

/* HTML body adjust height for top and bottom panes */
html body.dock-top.dock-bottom #dock-front,
html body.dock-top.dock-bottom #dock-back,
html body.dock-top.dock-bottom
{
    min-height: calc(100% - var(--dock-size) - var(--dock-size));
}

/* HTML body does not shift for left dock until screen is a laptop or larger */
@media only screen and (min-width: 1024px)
{
    /* HTML body margin for nav dock left */
    html body.dock-left .float-to-page,
    html body.dock-left #dock-front,
    html body.dock-left #dock-back,
    html body.dock-left
    {
        margin-left: var(--dock-open-size);
        width: calc(100% - var(--dock-open-size));
    }


    /* HTML body margin for nav dock left */
    html body.dock-right .float-to-page,
    html body.dock-right #dock-front,
    html body.dock-right #dock-back,
    html body.dock-right
    {
        margin-right: var(--dock-open-size);
        width: calc(100% - var(--dock-open-size));
    }

        /* Right dock cannot be open when left dock is unless on desktop+ */
        html body.dock-right.dock-left .float-to-page,
        html body.dock-right.dock-left #dock-front,
        html body.dock-right.dock-left #dock-back,
        html body.dock-right.dock-left
        {
            margin-right: 0;
            width: calc(100% - var(--dock-open-size));
        }

}

/* Right dock cannot be open when left dock is unless on desktop+ */
@media only screen and (min-width: 1366px)
{
    /* HTML body adjust height for left and right panes */
    html body.dock-right.dock-left .float-to-page,
    html body.dock-right.dock-left #dock-front,
    html body.dock-right.dock-left #dock-back,
    html body.dock-right.dock-left
    {
        margin-right: var(--dock-open-size);
        width: calc(100% - var(--dock-open-size) - var(--dock-open-size));
    }
}

/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Dock lightbox
 */
#dock-lb
{
    z-index: 102;
}

/* position lightbox dependent on top dock */
html body.dock-top #dock-lb
{
    top: calc(var(--dock-size) + var(--sync-offset, 0px));
}

/* position lightbox dependent on bottom dock */
html body.dock-bottom #dock-lb
{
    bottom: var(--dock-size);
}

/* OUTER Lightbox only visible for mobile and tablet */
@media only screen and (max-width: 1023px)
{
    /* position lightbox dependent on left dock */
    html body.dock-left #dock-lb
    {
        left: var(--dock-open-size);
        opacity: 1;
        width: auto;
        height: auto;
    }

    /* position lightbox dependent on right dock */
    html body.dock-right #dock-lb
    {
        right: var(--dock-open-size);
        opacity: 1;
        width: auto;
        height: auto;
    }
}

/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Dock top
 */
html body ul#dock-top
{
    position: fixed;
    top: calc(-1 * var(--dock-size));
    right: var(--dock-size);
    left: var(--dock-size);
    width: auto;
    height: var(--dock-size);
    background-color: var(--dialog-background-normal);
    border-bottom: 2px solid var(--dialog-border-fade);
    overflow: hidden;
    z-index: 103;
    -webkit-transition: top 1s ease-in-out;
    -moz-transition: top 1s ease-in-out;
    transition: top 1s ease-in-out;
}

    /* Shift top node into view */
    html body.dock-top ul#dock-top
    {
        top: 0;
        text-align: right;
    }

    body ul#dock-top > li
    {
        box-sizing: border-box;
        margin: calc((var(--dock-size) - var(--dock-button-size)) / 2);
        padding: 0;
        width: var(--dock-button-size);
        height: var(--dock-button-size);
        font-size: var(--dock-icon-size);
        text-align: center;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        vertical-align: top;
    }

        ul#dock-top li:active
        {
            background-color: var(--dialog-background-highlight);
            border-radius: 5px;
        }


        ul#dock-top li::before
        {

        }

    body.dock-top ul#dock-top li.dock-top-history
    {
        float: left;
    }

        body.dock-top ul#dock-top li.dock-top-history::before
        {
            font-family: "Font Awesome 6 Pro", serif;
            font-weight: bold;
            content: "\f1da";
        }

/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Dock right
 */
html body div#dock-right
{
    position: fixed;
    top: calc(var(--dock-size) + var(--sync-offset, 0px));
    bottom: var(--dock-size);
    right: calc(-1 * var(--dock-pane-size));
    width: var(--dock-pane-size);
    background-color: var(--dialog-background-normal);
    border-left: 1px solid var(--dialog-border-normal);
    z-index: 103;
    -webkit-transition:1s ease-in-out;
    -moz-transition:1s ease-in-out;
    -o-transition:1s ease-in-out;
    transition:1s ease-in-out;
}

/* Shift right node into view */
html body.dock-right div#dock-right
{
    top: 0;
    bottom: 0;
    right: var(--dock-size);
}

/* Shift right node into view according to top dock */
html body.dock-right.dock-top div#dock-right
{
    top: calc(var(--dock-size) + var(--sync-offset, 0px));
}

/* Shift right node into view according to bottom dock */
html body.dock-right.dock-bottom div#dock-right
{
    bottom: var(--dock-size);
}

    /* Right dock cannot be open when left dock is unless on desktop+ */
    @media only screen and (max-width: 1366px)
    {
        html body.dock-left.dock-right div#dock-right
        {
            right:calc(-1 * var(--dock-pane-size));
        }

        html body.dock-left.dock-right ul#dock-right-tabs
        {
            height: var(--dock-size);
            background: none;
            border: none;
            overflow: hidden;
        }

    }

html body.dock-right div#dock-right > form
{
    margin: 0;
    border-radius: 0;
}

/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Dock bottom
 */
html body ul#dock-bottom
{
    position: fixed;
    bottom: calc(-1 * var(--dock-size));
    right: 0;
    left: 0;
    height: var(--dock-size);
    z-index: 103;
    background-color: var(--dialog-background-normal);
    border-top: 2px solid var(--dialog-border-fade);
    -webkit-transition: bottom 1s ease-in-out;
    -moz-transition: bottom 1s ease-in-out;
    transition: bottom 1s ease-in-out;
}

    /* Shift bottom node to the right when left-dock is open */
    html body.dock-bottom.dock-left ul#dock-bottom
    {
        left: var(--dock-size);
    }

    /* Shift bottom node into view */
    html body.dock-bottom ul#dock-bottom
    {
        bottom: 0;
        padding: 0;
        margin: 0;
        text-align: center;
        justify-content: space-between;
        display: flex;
        list-style: none;
    }

        ul#dock-bottom li
        {
            margin: 3px;
            padding: 13px;
            width: var(--dock-button-size);
            height: var(--dock-button-size);
            text-align: center;
            font-size: 18px;
            cursor: pointer;
            flex: 1; /* Ensures all `<li>` elements take equal width */
        }

            ul#dock-bottom li:active
            {
                background-color: var(--dialog-background-highlight);
                border-radius: 5px;
            }


            ul#dock-bottom li::before
            {
                /* font: var(); */
            }

/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Dock left
 */
html body div#dock-left
{
    position: fixed;
    top: calc(var(--dock-size) + var(--sync-offset, 0px));
    bottom: var(--dock-size);
    left: calc(-1 * var(--dock-pane-size));
    width: var(--dock-pane-size);
    background-color: var(--dialog-background-normal);
    border-right: 1px solid var(--dialog-border-normal);
    z-index: 103;
    -webkit-transition:1s ease-in-out;
    -moz-transition:1s ease-in-out;
    -o-transition:1s ease-in-out;
    transition:1s ease-in-out;
}

/* Style bottom dock _List node */
html body.dock-left div#dock-left
{
    top: 0;
    bottom: 0;
    left: var(--dock-size);
}


/* Shift left node into view according to top dock */
html body.dock-left.dock-top div#dock-left
{
    top: calc(var(--dock-size) + var(--sync-offset, 0px));
}

/* Shift left node into view according to bottom dock */
html body.dock-left.dock-bottom div#dock-left
{
    bottom: var(--dock-size);
}

    div#dock-left div#dock-left-search,
    div#dock-left div#dock-left-active-members,
    div#dock-left div#dock-left-explore,
    div#dock-left div#dock-left-page,
    div#dock-left div#dock-left-member,
    div#dock-left div#dock-left-printers
    {
        display: none;
    }

    div#dock-left.search div#dock-left-search,
    div#dock-left.active div#dock-left-active-members,
    div#dock-left.explore div#dock-left-explore,
    div#dock-left.page div#dock-left-page,
    div#dock-left.member div#dock-left-member,
    div#dock-left.printers div#dock-left-printers
    {
        display: block;
    }

/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Dock front and back
 */
#dock-front,
#dock-back
{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: none;
    -webkit-transition: margin 1s ease-in-out, width 1s ease-in-out, height 1s ease-in-out, opacity 2s ease-in-out;
    -moz-transition: margin 1s ease-in-out, width 1s ease-in-out, height 1s ease-in-out, opacity 2s ease-in-out;
    transition: margin 1s ease-in-out, width 1s ease-in-out, height 1s ease-in-out, opacity 2s ease-in-out;
}

/* Front page will be for common users to rate, comment, subscribe, author, copy write */
#dock-front
{
    background-color: var(--body-background-normal);
    z-index: 100;
}

/* Backpage will be for admin toggling page settings that are saved in databases */
#dock-back
{
    background-color: var(--dialog-background-normal);
    z-index: 101;
}

/* Display the page */
html body.dock-front #dock-front,
html body.dock-back #dock-back
{
    display: block;
}

/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Dock left tabs
 */
ul#dock-left-tabs
{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--dock-size);
    height: var(--dock-size);
    border-right: none;
    color: var(--dialog-color-normal);
    overflow: hidden;
    z-index: 104;
}

        html body.dock-left ul#dock-left-tabs
        {
            height: auto;
            background-color: var(--dialog-background-normal);
            border-right: 2px solid var(--dialog-border-fade);
            overflow: auto;
        }

            /* Remove radius when dock-top is open */
            html body.dock-top ul#dock-left-tabs
            {
                background-color: var(--dialog-background-normal);
                border-bottom: 2px solid var(--dialog-border-fade);
            }

        /* Overflow for phones that are horizontal */
        @media only screen and (max-height: 400px)
        {
            ul#dock-left-tabs
            {
                overflow: scroll;
            }
        }

    /* Dock left tab _List items */
    ul#dock-left-tabs li
    {
        position: relative;
        margin: 5px auto;
        width: var(--dock-button-size);
        height: var(--dock-button-size);
        line-height: var(--dock-button-size);
        background-color: var(--dialog-background-highlight);
        border: 2px solid var(--dialog-border-fade);
        border-radius: 5px;
        font-size: 18px;
        text-align: center;
        display: block;
        cursor: pointer;
    }

        /* Dock left tab _List items when active or hovered */
        ul#dock-left-tabs li:active,
        ul#dock-left-tabs li:hover
        {
            border: 1px solid var(--dialog-border-highlight);
            color: var(--dialog-color-highlight);
        }

        /* Explore tab ON */
        ul#dock-left-tabs.search li#dock-left-tab-search,
        ul#dock-left-tabs.explore li#dock-left-tab-explore,
        ul#dock-left-tabs.page li#dock-left-tab-page,
        ul#dock-left-tabs.member li#dock-left-tab-member
        {
            border: 2px solid var(--dialog-border-highlight);
            color: var(--dialog-color-highlight);
            font-weight: bold;
        }

/**
 *
 * ██╗  ██╗██╗███╗   ██╗ ██████╗ ██████╗  ██████╗ ███╗   ███╗
 * ██║ ██╔╝██║████╗  ██║██╔════╝ ██╔══██╗██╔═══██╗████╗ ████║
 * █████╔╝ ██║██╔██╗ ██║██║  ███╗██║  ██║██║   ██║██╔████╔██║
 * ██╔═██╗ ██║██║╚██╗██║██║   ██║██║  ██║██║   ██║██║╚██╔╝██║
 * ██║  ██╗██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝██║ ╚═╝ ██║
 * ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝     ╚═╝
 *
 * Dock right tabs
 */
ul#dock-right-tabs
{
    position: fixed;
    top: 0;
    bottom: var(--dock-size);
    right: 0;
    width: var(--dock-size);
    height: var(--dock-size);
    border-right: none;
    color: var(--dialog-color-normal);
    overflow: hidden;
    z-index: 104;
        -webkit-transition: top 1s ease-in-out;
        -moz-transition: top 1s ease-in-out;
        transition: top 1s ease-in-out;
}

    html body.dock-right ul#dock-right-tabs
    {
        height: auto;
        bottom: 0;
        background-color: var(--dialog-background-normal);
        border-left: 2px solid var(--dialog-border-fade);
        overflow: auto;
    }

    html body.dock-right.dock-bottom ul#dock-right-tabs
    {
        bottom: var(--dock-size);
    }

    /* Remove radius when dock-top is open */
    html body.dock-top ul#dock-right-tabs
    {
        background-color: var(--dialog-background-normal);
        border-bottom: 2px solid var(--dialog-border-fade);
    }

/* Overflow for phones that are horizontal */
@media only screen and (max-height: 400px)
{
    ul#dock-right-tabs
    {
        overflow: scroll;
    }
}

    /* Dock right tab _List items */
    ul#dock-right-tabs li
    {
        position: relative;
        margin: 5px auto;
        padding: 10px;
        width: var(--dock-button-size);
        height: var(--dock-button-size);
        background-color: var(--dialog-background-highlight);
        border: 2px solid var(--dialog-border-fade);
        border-radius: 5px;
        font-size: 18px;
        text-align: center;
        display: block;
        cursor: pointer;
    }

        /* Dock right tab _List items when active or hovered */
        ul#dock-right-tabs li:active,
        ul#dock-right-tabs li:hover
        {
            border: 1px solid var(--dialog-border-highlight);
            color: var(--dialog-color-highlight);
        }

/* Hide tabs if screen is too small to have a side menu open */
@media only screen and (max-width: 418px)
{
    html body.dock-left ul#dock-right-tabs
    {
        display: none;
    }

    html body.dock-right ul#dock-left-tabs
    {
        display: none;
    }

    html body.dock-right.dock-top ul#dock-left-tabs
    {
        display: block;
    }

}

/* Keep account controls at the foot of the open rail; short screens can scroll. */
html body.dock-left ul#dock-left-tabs
{
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
}
ul#dock-left-tabs > li
{
    flex-shrink: 0;
}
html body.dock-left ul#dock-left-tabs > .dock-account-anchor
{
    margin-top: auto;
}
ul#dock-left-tabs.printers #dock-left-tab-printers,
ul#dock-left-tabs.member #dock-left-tab-login
{
    border-color: var(--dialog-border-highlight);
    color: var(--dialog-color-highlight);
}
#dock-left-printers
{
    padding: 20px 16px;
    box-sizing: border-box;
    text-align: left;
    overflow-wrap: anywhere;
}
#dock-left-printers h2 { margin: 0 0 16px; }
#dock-left-printers p { margin: 12px 0; line-height: 1.5; }
#dock-left-printers label { display: block; margin-top: 24px; }
#dock-left-printers select,
#dock-left-printers button:not([data-type="button"])
{
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: var(--dock-button-size);
    margin: 10px 0;
}
#dock-left-printers .printer-panel-note { font-size: 13px; }

/* Each side pane owns its vertical scroll, including short landscape viewports. */
html body div#dock-left,
html body div#dock-right
{
    max-width: calc(100vw - var(--dock-size));
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    overflow-wrap: anywhere;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
html body.dock-left ul#dock-left-tabs,
html body.dock-right ul#dock-right-tabs
{
    overflow-x: hidden;
    overscroll-behavior-y: contain;
}
ul#dock-left-tabs > .dock-account-anchor:focus-visible
{
    outline: 2px solid var(--dialog-border-highlight);
    outline-offset: -4px;
}

/* Center the decorative icon independently of Font Awesome's inline baseline. */
ul#dock-left-tabs > li.dock-account-anchor
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}
ul#dock-left-tabs > li.dock-account-anchor > i
{
    position: static;
    margin: 0;
    padding: 0;
    line-height: 1;
    pointer-events: none;
}

/* Shared article panels reuse the right dock's sizing and scrolling. */
#dock-right > [data-right-panel][hidden] { display:none !important; }
#dock-right > #dock-right-post { min-width:0; padding:12px; box-sizing:border-box; }
#dock-right .dm-create-mount { width:100%; min-width:0; }
#dock-right .dm-create-mount form { max-width:100%; box-sizing:border-box; }
#dock-right-tabs li[aria-pressed="true"] { color:var(--dialog-color-highlight); border-color:var(--dialog-border-highlight); }

/* Consistent touch targets; all offsets above share the same dimensions. */
html body ul#dock-left-tabs li,
html body ul#dock-right-tabs li,
html body ul#dock-bottom li {
 box-sizing: border-box;
 height: var(--dock-button-size);
 padding: 0;
 line-height: var(--dock-button-size);
 font-size: var(--dock-icon-size);
}
html body ul#dock-left-tabs li,
html body ul#dock-right-tabs li {
 margin: calc((var(--dock-size) - var(--dock-button-size)) / 2) auto;
}
html body ul#dock-bottom li {
 margin: calc((var(--dock-size) - var(--dock-button-size)) / 2);
}
html body div#dock-left,
html body div#dock-right {
 padding: var(--dock-pane-padding);
 padding-bottom: max(var(--dock-pane-padding), env(safe-area-inset-bottom, 0px));
}

/* Icon-font shorthands reset line-height; retain the shared button centering. */
html body ul#dock-top > li::before {
 line-height: 1;
 vertical-align: top;
}
html body ul#dock-top > li {
 line-height: 1;
 vertical-align: top;
}

/* Some dock icons are links inside the button, rather than li pseudo-elements. */
html body ul#dock-top > li > a {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 100%;
 height: 100%;
 box-sizing: border-box;
 padding: 0;
 line-height: 1;
 text-decoration: none;
}
