.onlineoffice-editor-page {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.onlineoffice-editor-shell {
    position: relative;
}

.onlineoffice-editor-page .fichecenter,
.onlineoffice-editor-page .fiche {
    width: 100%;
}

.onlineoffice-editor-title {
    padding-left: 56px;
}

.onlineoffice-editor-dock {
    position: absolute;
    top: 4px;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
}

.onlineoffice-editor-dock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    background: #fff;
    color: #444;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.onlineoffice-editor-dock-btn:hover,
.onlineoffice-editor-dock-btn:focus {
    color: #222;
    text-decoration: none;
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.onlineoffice-editor-dock-btn .fas {
    font-size: 14px;
}

.onlineoffice-editor-frame {
    display: block;
    width: 100%;
    height: calc(100vh - 170px);
    min-height: 78vh;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.onlineoffice-config-preview {
    white-space: pre-wrap;
    padding: 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    border-radius: 6px;
    box-sizing: border-box;
}

.onlineoffice-doceditor-container {
    display: block;
    width: 100%;
    height: calc(100vh - 170px);
    min-height: 78vh;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.inline-block {
    display: inline-block;
}

@media only screen and (max-width: 991px) {
    .onlineoffice-editor-title {
        padding-left: 0;
        padding-top: 46px;
    }

    .onlineoffice-editor-dock {
        top: 0;
    }

    .onlineoffice-editor-frame,
    .onlineoffice-doceditor-container {
        height: calc(100vh - 145px);
        min-height: 72vh;
    }
}
