/* Блок «Авторский раздел» для неавторизованных (заглушка) */
.authors-stub {
    max-width: 640px;
    margin: 0 auto 2rem;
    padding: 2rem 1.5rem;
    background: #f8fcfc;
    border: 1px solid #e0f0f0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 166, 171, 0.08);
}
.authors-stub__title {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a3c3e;
}
.authors-stub__text {
    margin: 0 0 1.5rem;
    line-height: 1.6;
    color: #333;
    font-size: 1rem;
}
.authors-stub__actions {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}
.authors-stub__actions .bluebtn2 {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #0fa6ab;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.05s;
}
.authors-stub__actions .bluebtn2:hover {
    background: #0d9599;
}
.authors-stub__actions .bluebtn2:active {
    transform: scale(0.98);
}
.faq-desc,.faq-title{font-size:14px;padding:5px}.faq,.important{display:flex;gap:10px}#author_form{border:2px solid orange;border-radius:20px;padding:20px}.faq{flex-direction:column}.faq-item{border:1px solid #0fa6ab;border-radius:10px;cursor:pointer}.faq-title{border-radius:10px;margin:0;font-weight:500}.faq-desc{display:none}.control,.files{display:flex;gap:20px}.important p{font-weight:300;font-size:16px}.important .fa-exclamation{padding:15px;font-size:40px;color:red}#author_form textarea{width:100%;margin-top:20px;min-height:30px}.control{margin:10px auto;justify-content:center}.control a{border:2px solid orange;padding:12px 25px;border-radius:10px;font-size:18px;background-color:#0fa6ab;color:#fff}#progressbar,.file{border-radius:20px}#progressbar{width:40%;overflow:hidden;background:#f0f0f0;margin:auto 0;height:19px}#progressbar div{background:#0fa6ab;height:100%;width:0}.steps{display:flex;overflow:hidden}.step{min-width:100%;width:100%;padding:0 8px;height:fit-content}.viewdoc{box-sizing:border-box;width:100%;height:auto;overflow:visible;padding:22px 24px;border:1px solid #dce7e8;border-radius:8px;background:#fff;box-shadow:none;color:#242424;font-size:16px;line-height:1.65;text-align:left;white-space:normal}.files{width:100%;justify-content:space-between}.file{width:20%;text-align:center;background:#0fa6ab;color:#fff!important;padding:10px 0;font-weight:600}#finance_form input{background:#fff;border-color:#0fa6ab}#error_authors{margin:auto;color:red;width:fit-content}#authors_submission_status{margin:10px auto 0;color:#0fa6ab;width:fit-content;font-weight:600;text-align:center}.control a.is-loading{opacity:.7}#author_form .control a.is-loading{cursor:default;pointer-events:none}#author_form .control a.is-loading::after{content:""}#author_form .control a.is-loading,#author_form .control a.is-loading:hover{text-decoration:none}@media (min-width:480px){.authors-content-text{padding:0 80px}}.info-plate{background:#eef7f7;border:1px solid #0fa6ab;padding:15px;border-radius:5px;margin-bottom:20px}.info-plate p{margin:0;font-size:14px}#finance_form h4{margin-top:20px;margin-bottom:15px;border-bottom:1px solid #ccc;padding-bottom:5px;font-weight:700}.fa-question-circle{color:#0fa6ab;cursor:help;margin-left:5px}
#author_form input,
#author_form select,
#author_form textarea {
    box-sizing: border-box;
    max-width: 100%;
}
#author_form #proofmsg {
    min-height: 104px;
    height: auto;
    overflow-y: hidden;
    resize: none;
    line-height: 1.35;
}
#author_form select.w866 {
    width: 100% !important;
    background: #fff;
    border-color: #0fa6ab;
}
#proof-message .important{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:start;
    column-gap:10px;
    row-gap:8px
}
#proof-message .important .fa-exclamation{
    grid-row:1/span 2;
    padding:6px 10px 0 0;
    line-height:1
}
#proof-message .important p{
    margin:0;
    min-width:0;
    overflow-wrap:break-word;
    word-break:normal
}
@media (max-width:640px){
    #proof-message .important{
        grid-template-columns:1fr
    }
    #proof-message .important .fa-exclamation{
        grid-row:auto;
        padding:0
    }
}
.offer_docs h4 {
    margin: 0 0 14px;
    line-height: 1.25;
}
.offer_docs .files {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}
.offer_docs .file {
    width: auto;
    min-width: 104px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 18px;
    border-radius: 999px;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
}
.author-contract-actions {
    display: none;
}
.author-contract-expand,
.author-contract-collapse {
    border: 0;
    border-radius: 8px;
    background: #0fa6ab;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
}
.author-contract-expand {
    min-height: 44px;
    padding: 10px 16px;
}
.author-contract-collapse {
    display: none;
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 0 12px auto;
    padding: 10px 14px;
}
.author-contract-viewer {
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.65;
    white-space: pre-line;
    overflow-wrap: break-word;
}
.viewdoc p,
.viewdoc ol,
.viewdoc ul {
    margin-top: 0;
    margin-bottom: 1em;
}
.viewdoc li {
    margin-bottom: 0.55em;
}
.viewdoc .ji {
    line-height: inherit;
}
.author-contract-viewer.is-fullscreen {
    position: fixed;
    z-index: 10050;
    inset: 0;
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 18px;
    overflow: auto;
    background: #fff;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
}
.author-contract-viewer.is-fullscreen .author-contract-collapse {
    display: block;
}
body.author-contract-open {
    overflow: hidden;
}
@media (max-width:640px) {
    #author_form {
        padding: 14px 10px;
        border-radius: 14px;
    }
    .offer_docs .files {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .offer_docs .file {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 9px 10px;
        font-size: 14px;
        line-height: 1.1;
    }
    .author-contract-actions {
        justify-content: stretch;
    }
    .author-contract-expand {
        width: 100%;
    }
    .author-contract-viewer {
        height: auto;
        padding: 16px 14px;
        font-size: 15px;
        line-height: 1.6;
    }
    .author-contract-viewer.is-fullscreen {
        height: 100dvh;
        max-height: 100dvh;
        padding: 14px;
    }
}