/* Dashboard navigation to the two election-night publishing pages. */
.site-header {
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 12px;
}

.beacon-dashboard-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-left: auto;
}

.beacon-dashboard-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid #89b8c1;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1fbfc;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    min-height: 38px;
    white-space: nowrap;
    transition: background-color 120ms ease, border-color 120ms ease;
}

.beacon-dashboard-links a:hover {
    background: #245360;
    border-color: #c4e3e7;
}

.beacon-dashboard-links a:focus-visible {
    outline: 3px solid #c4e3e7;
    outline-offset: 3px;
}

@media (max-width: 960px) {
    .beacon-dashboard-links {
        order: 3;
        flex: 0 0 100%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .beacon-dashboard-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .beacon-dashboard-links a {
        padding: 10px 7px;
        white-space: normal;
        text-align: center;
    }
}

/* Keep publishing navigation out of any legacy full-dashboard iframe. */
body.beacon-embed .beacon-dashboard-links {
    display: none;
}
