.editor-actions {
    max-width: 700px;
    margin-top: 22px;
}

.download-button {
    background: linear-gradient(135deg, #17833b, #087a82);
    box-shadow: 0 5px 12px #167a3a33;
}

.download-button:hover {
    box-shadow: 0 8px 18px #167a3a40;
}

.file-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.file-actions form { margin: 0; }

#release-upload-form input[type="file"] {
    padding: 7px;
    border-style: dashed;
    background: #f7fbff;
    cursor: pointer;
}

#release-upload-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #0958b7, #087a82);
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

#release-upload-form input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #074b9d, #076b72);
}

.file-picker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    margin-top: -8px;
    padding: 8px 12px;
    border: 1px dashed #78a5bd;
    border-radius: 10px;
    background: #f7fbff;
    cursor: pointer;
}

.file-picker input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.file-picker-button {
    padding: 8px 12px;
    border-radius: 7px;
    background: linear-gradient(135deg, #0958b7, #087a82);
    color: #fff;
    font-weight: 750;
    box-shadow: 0 3px 8px #0758a426;
}

.file-picker-name {
    overflow: hidden;
    color: #385774;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 650px) {
    .actions > .button {
        flex: 1;
        text-align: center;
    }
}

.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: #eef6f8;
    border: 1px solid #bfd2dd;
    border-radius: 9px;
    box-shadow: none;
}

.mobile-nav-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #07569f;
    border-radius: 2px;
}

@media (max-width: 650px) {
    header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 120px;
    }

    .brand span {
        padding-left: 9px;
        font-size: .82rem;
    }

    .mobile-nav-toggle {
        display: block;
        margin-left: auto;
    }

    header nav {
        display: none !important;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 8px;
        border-top: 1px solid #d8e5ec;
    }

    header.nav-open nav {
        display: flex !important;
    }

    header nav > a,
    header nav summary {
        display: block;
        width: 100%;
        padding: 11px 12px !important;
    }

    header nav .language-link {
        margin-left: 0;
        border-left: 0;
        border-top: 1px solid #d8e5ec;
        border-radius: 8px !important;
    }

    .account-menu div {
        position: static;
        margin-top: 4px;
        box-shadow: none;
    }

    .actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .actions > .button,
    .actions > form,
    .actions > form button {
        width: 100%;
        min-width: 0;
    }
}
