html,
body {
    background: #050607;
    display: flex;
    flex-direction: column;
    height: 100vh;
        height: 100svh;
    overflow: hidden;
    position: relative;
    width: 100vw;
}

body.notReady {
    display: flex;
}

#dashboard-nav {
    align-items: center;
    background:
        linear-gradient(180deg, rgb(255 255 255 / 2%), transparent),
        #07090b;
    border-bottom: 1px solid rgb(148 166 164 / 16%);
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    overflow-x: hidden;
    padding: 8px 14px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
}

#dashboard-nav > span {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
}

#dashboard-nav .logo {
    padding: 0 2px 0 0;
    width: 32px;
}

#dashboard-nav .logo > img {
    display: block;
    width: 32px;
}

#dashboard-nav .brandName {
    color: #f1f8f5;
    font-size: 14px;
    font-weight: 600;
    margin-inline-end: 12px;
    white-space: nowrap;
}

.tabButton {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #aeb9b7;
    fill: #aeb9b7;
    font-family: var(--font-family);
    font-size: 14px;
    min-height: 34px;
    padding: 0 14px;
    text-decoration: none;
    white-space: nowrap;
}

.tabButton:focus {
    outline: 0;
}

.tabButton.selected {
    background: #10151a;
    border-color: rgb(100 214 176 / 35%);
    color: #eef5f2;
    fill: #eef5f2;
}

iframe {
    background: #050607;
    border: 0;
    flex-grow: 1;
    margin: 0;
    padding: 0;
    width: 100%;
}

#unsavedWarning {
    display: none;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 20;
}

#unsavedWarning.on {
    display: initial;
}

#unsavedWarning > div:first-of-type {
    padding: 0.5em;
}

#unsavedWarning > div:last-of-type {
    height: 100vh;
        height: 100svh;
    position: absolute;
    width: 100vw;
}

body .tabButton[data-pane="no-dashboard.html"],
body.noDashboard #dashboard-nav {
    display: none;
}

:root.desktop .tabButton {
    cursor: default;
}

:root.desktop .tabButton:not(.selected) {
    cursor: pointer;
}

:root.desktop .tabButton:not(.selected):hover {
    background: #0e1216;
    border-color: #263039;
    color: #dfe8e5;
}

@media (max-width: 520px) {
    #dashboard-nav {
        padding: 8px;
    }

    #dashboard-nav .logo {
        display: none;
    }

    #dashboard-nav .brandName {
        display: none;
    }

    .tabButton {
        padding: 0 10px;
    }
}
