
/* Shared actions keep button semantics and use the same appearance as references. */
body.wp-admin .acf-postbox.acf-postbox .acf-field.kunst-video-entry-block .kunst-video-add,
body.wp-admin .acf-postbox.acf-postbox .acf-field.kunst-video-entry-block .kunst-video-remove,
#kunst-konto-ulesande-vorm#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-add,
#kunst-konto-ulesande-vorm#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-remove {
    display:inline!important; width:auto!important; min-width:0!important;
    min-height:0!important; height:auto!important; padding:0!important; margin:0!important;
    border:0!important; border-radius:0!important; background:transparent!important;
    box-shadow:none!important; color:#315f41!important;
    font:400 var(--kunst-ui-text-size,13px)/1.45 var(--kunst-ui-font,system-ui,sans-serif)!important;
    text-decoration:underline!important; cursor:pointer!important;
}
.kunst-video-add:focus-visible, .kunst-video-remove:focus-visible {
    outline:2px solid #315f41!important; outline-offset:3px!important;
}
body.wp-admin .acf-postbox.acf-postbox .kunst-video-entry-block > .acf-input {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
    gap:8px; align-items:end;
}
body.wp-admin .acf-postbox.acf-postbox .kunst-video-title-nested {
    padding:0!important; margin:0!important; border:0!important;
    background:transparent!important; width:auto!important; float:none!important;
}
body.wp-admin .acf-postbox.acf-postbox .kunst-video-manager { display:contents; }
body.wp-admin .acf-postbox.acf-postbox .kunst-video-list {
    grid-column:1 / -1; display:flex; flex-direction:column; gap:4px; margin-top:8px;
}
body.wp-admin .acf-postbox.acf-postbox .kunst-video-item { display:flex; align-items:baseline; gap:8px; }
body.wp-admin .acf-postbox.acf-postbox .kunst-video-item-link {
    color:#315f41; font-size:13px; text-decoration:underline;
}
body.wp-admin .acf-postbox.acf-postbox .kunst-video-entry-block input[type="text"] { width:100%; }
body.wp-admin .acf-postbox.acf-postbox .kunst-video-link-label { font-size:13px; }
@media(max-width:650px) {
    body.wp-admin .acf-postbox.acf-postbox .kunst-video-entry-block > .acf-input { grid-template-columns:1fr; }
}

body.wp-admin .acf-postbox.acf-postbox .kunst-video-title-nested { display:block!important; }
body.wp-admin .acf-postbox.acf-postbox .kunst-video-title-nested > .acf-label { margin:0 0 8px!important; }
body.wp-admin .acf-postbox.acf-postbox .kunst-video-title-nested > .acf-label > label { font-size:13px!important; }

/* ACF can retain a tab-hidden flag on the nested title; the parent controls visibility. */
#kunst-konto-ulesande-vorm#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-title-nested,
body.wp-admin .acf-postbox.acf-postbox .kunst-video-entry-block .kunst-video-title-nested {
    display:block!important; visibility:visible!important;
}
