/* r607: laatste afwerking van de gedeelde Windows-popup. */

/* Het witte schrijfvlak sluit direct aan op werkbalk en footer. */
#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-editor-content,
#form-posts #bioEdit.status-window-dialog .profile-bio-editor-content {
    padding: 0 !important;
    background: #fff !important;
}

#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-editor-field,
#form-posts #bioEdit.status-window-dialog .profile-bio-editor-field {
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-editor-field:focus,
#form-posts #bioEdit.status-window-dialog .profile-bio-editor-field:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* De lintondertitels blijven bij beide composers zichtbaar. */
#guestbookFormContainer #guestbookForm .profile-bio-ribbon-label,
#form-posts #bioEdit .profile-bio-ribbon-label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* De sluitknop van Prikbordbericht plaatsen reageert hetzelfde als bij Gastenboek. */
#form-posts #bioEdit .status-window-close:hover,
#form-posts #bioEdit .status-window-close:focus {
    color: #fff !important;
    border-color: #973b34 !important;
    background: linear-gradient(180deg, #d96a61, #b94139) !important;
}

/* Afbeeldings-emoji behouden hun eigen transparantie; geen tweede vlak in de tegel. */
#guestbookFormContainer #guestbookForm .emoji-grid button img,
#form-posts #bioEdit .emoji-grid button img,
.status-comment-composer .emoji-grid button img,
.status-comment-edit-box .emoji-grid button img {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

#guestbookFormContainer #guestbookForm .emoji-grid button.is-image-emoji,
#form-posts #bioEdit .emoji-grid button.is-image-emoji,
.status-comment-composer .emoji-grid button.is-image-emoji,
.status-comment-edit-box .emoji-grid button.is-image-emoji {
    background-image: none !important;
}

@media (max-width: 700px) {
    #guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-editor-content,
    #form-posts #bioEdit.status-window-dialog .profile-bio-editor-content {
        padding: 0 !important;
    }
}


/* Geen grijze tussenlaag: het witte werkvlak loopt van werkbalk tot footer. */
#guestbookFormContainer #guestbookForm.guestbook-window-dialog,
#form-posts #bioEdit.status-window-dialog {
    --snoeten-editor-workspace: #fff;
}

#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-editor-content,
#form-posts #bioEdit.status-window-dialog .profile-bio-editor-content {
    margin: 0 !important;
    border: 0 !important;
    border-inline: 0 !important;
    box-shadow: none !important;
}

#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-editor-field,
#form-posts #bioEdit.status-window-dialog .profile-bio-editor-field {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 24px !important;
}

/* Oude profiel-CSS tekende soms nog een tweede fotokader met ::before. */
html body #profile #guestbookContainer .profile-guestbook-avatar-wrapper::before,
html body .notification-detail-dialog #profile.notification-detail-profile-scope #guestbookContainer .profile-guestbook-avatar-wrapper::before {
    content: none !important;
    display: none !important;
}

/* Ook op de volledige gastenboekpagina is de puntjesknop een normale .button. */
html body #profile #guestbookContainer .profile-guestbook-menu-trigger.button {
    display: inline-flex !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}


/* r609: het sluitkruis van Prikbordbericht plaatsen wordt aantoonbaar rood bij hover. */
html body #form-posts #bioEdit.status-window-dialog .status-window-controls > button.status-window-control.status-window-close:hover,
html body #form-posts #bioEdit.status-window-dialog .status-window-controls > button.status-window-control.status-window-close:focus-visible {
    color: #fff !important;
    border-color: #8f2f29 !important;
    background-color: #c7473e !important;
    background-image: linear-gradient(180deg, #e16a61 0%, #c7473e 54%, #ad352f 100%) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.28), 0 0 0 1px rgba(104,25,21,.12) !important;
    text-shadow: 0 1px rgba(65,12,9,.45) !important;
}


/* r610: bij Gastenboekbericht plaatsen staan de groepsnamen onder de knoppen. */
#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-ribbon {
    align-items: flex-end !important;
}

#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-ribbon-group {
    display: grid !important;
    grid-template-columns: minmax(0, auto) !important;
    grid-template-rows: 32px 14px !important;
    align-items: center !important;
    justify-items: center !important;
    row-gap: 4px !important;
    min-height: 50px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-ribbon-buttons {
    grid-row: 1 !important;
    align-self: center !important;
}

#guestbookFormContainer #guestbookForm.guestbook-window-dialog .profile-bio-ribbon-label {
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #555 !important;
    font: 600 10px/14px "Segoe UI", Tahoma, Arial, sans-serif !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
