.ieum-edit-scope-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.ieum-edit-scope-badge.is-partial {
    border-color: #c9dcff;
    background: #eef5ff;
    color: #175dc8;
}

.ieum-edit-scope-badge.is-locked {
    border-color: #ffd0d0;
    background: #fff2f2;
    color: #d92d20;
}

.ieum-edit-scope-badge.is-view {
    min-height: 30px;
    padding: 5px 13px;
    font-size: .82rem;
}

.ieum-edit-scope-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    margin: 10px 0 3px;
}

.ieum-edit-scope-card-meta .ieum-promo-card-author,
.ieum-edit-scope-card-meta .ieum-notice-card-author {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
}

.ieum-promo-gallery.ieum-promo-category-author-spacing:not(.ieum-promo-gallery-all) .ieum-edit-scope-card-meta,
.ieum-notice-gallery.ieum-notice-category-author-spacing:not(.ieum-notice-gallery-all) .ieum-edit-scope-card-meta {
    margin-bottom: 5px;
}

.board-view .board-view-info .ieum-edit-scope-statuses {
    position: absolute;
    top: 20px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.board-view .board-view-info .ieum-edit-scope-statuses .status-label {
    position: static;
    top: auto;
    right: auto;
}

.ieum-edit-scope-write {
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
}

.ieum-video-notice-body > .ieum-edit-scope-badge {
    margin-top: 10px;
}

.ieum-video-list .webzine-info > .ieum-edit-scope-badge {
    margin-left: auto;
}

.ieum-edit-scope-control {
    min-width: 0;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

.eyoom-form .ieum-edit-scope-control > legend:not(.sound_only),
.ieum-edit-scope-inline-label {
    position: static;
    display: block;
    float: none;
    width: 100% !important;
    max-width: none;
    margin: 0 0 8px;
    padding: 0;
    opacity: 1;
    overflow: visible;
    text-indent: 0;
    color: #101827;
    font-size: .875rem;
    font-weight: 800;
    line-height: 1.35;
}

.eyoom-form .ieum-edit-scope-control > legend.sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ieum-edit-scope-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ieum-edit-scope-option {
    position: relative;
    display: flex;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.ieum-edit-scope-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.ieum-edit-scope-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px 10px 14px;
    border: 1px solid #d7dfeb;
    border-radius: 8px;
    background: #fff;
    color: #475467;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.25;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.ieum-edit-scope-choice::after {
    content: '';
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border: 1px solid #b8c4d4;
    border-radius: 50%;
    background: #fff;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.ieum-edit-scope-option.is-partial .ieum-edit-scope-choice {
    border-color: #c9dcff;
    background: #f7faff;
    color: #175dc8;
}

.ieum-edit-scope-option.is-locked .ieum-edit-scope-choice {
    border-color: #ffd0d0;
    background: #fff8f8;
    color: #d92d20;
}

.ieum-edit-scope-option input:checked + .ieum-edit-scope-choice {
    border-color: #101827;
    background: #f1f4f8;
    color: #101827;
    box-shadow: 0 0 0 2px rgba(16, 24, 39, .12);
}

.ieum-edit-scope-option input:checked + .ieum-edit-scope-choice::after {
    content: '\2713';
    border-color: #101827;
    background: #101827;
    box-shadow: 0 0 0 3px rgba(16, 24, 39, .08);
}

.ieum-edit-scope-option.is-partial input:checked + .ieum-edit-scope-choice {
    border-color: #175dc8;
    background: #eaf3ff;
    box-shadow: 0 0 0 2px rgba(23, 93, 200, .14);
}

.ieum-edit-scope-option.is-partial input:checked + .ieum-edit-scope-choice::after {
    border-color: #175dc8;
    background: #175dc8;
    box-shadow: 0 0 0 3px rgba(23, 93, 200, .10);
}

.ieum-edit-scope-option.is-locked input:checked + .ieum-edit-scope-choice {
    border-color: #d92d20;
    background: #ffeded;
    box-shadow: 0 0 0 2px rgba(217, 45, 32, .12);
}

.ieum-edit-scope-option.is-locked input:checked + .ieum-edit-scope-choice::after {
    border-color: #d92d20;
    background: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .09);
}

.ieum-edit-scope-option input:focus-visible + .ieum-edit-scope-choice {
    outline: 3px solid rgba(31, 100, 216, .22);
    outline-offset: 2px;
}

.ieum-edit-scope-help {
    margin: 8px 0 0;
    color: #667085;
    font-size: .8rem;
    line-height: 1.45;
}

@media (min-width: 992px) {
    .eyoom-form .ieum-edit-scope-toolbar-row .ieum-edit-scope-host {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: start;
        column-gap: 14px;
    }

    .eyoom-form .ieum-edit-scope-toolbar-row .ieum-edit-scope-flags {
        display: flex;
        align-items: center;
        min-height: 46px;
        margin: 0;
        white-space: nowrap;
    }

    .eyoom-form .ieum-edit-scope-toolbar-row .ieum-edit-scope-write {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        grid-template-areas:
            'scope-label scope-options'
            '. scope-help';
        align-items: start;
        column-gap: 14px;
        margin-top: 0;
    }

    .eyoom-form .ieum-edit-scope-toolbar-row .ieum-edit-scope-inline-label {
        grid-area: scope-label;
        align-self: center;
        width: auto !important;
        margin: 0;
        white-space: nowrap;
    }

    .ieum-edit-scope-toolbar-row .ieum-edit-scope-options {
        grid-area: scope-options;
    }

    .ieum-edit-scope-toolbar-row .ieum-edit-scope-help {
        grid-area: scope-help;
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .ieum-edit-scope-options {
        gap: 6px;
    }

    .ieum-edit-scope-option,
    .ieum-edit-scope-choice {
        width: 100%;
    }

    .ieum-edit-scope-choice {
        position: relative;
        justify-content: flex-start;
        min-height: 44px;
        gap: 0;
        padding: 8px 25px 8px 7px;
        font-size: .75rem;
        letter-spacing: -.04em;
        white-space: nowrap;
    }

    .ieum-edit-scope-choice::after {
        position: absolute;
        top: 50%;
        right: 6px;
        transform: translateY(-50%);
        flex-basis: 18px;
        width: 18px;
        height: 18px;
        font-size: .68rem;
    }

    .ieum-edit-scope-badge.is-view {
        min-height: 28px;
        padding: 4px 11px;
        font-size: .78rem;
    }

    .board-view .board-view-info .ieum-edit-scope-statuses {
        position: relative;
        top: auto;
        right: auto;
        justify-content: flex-start;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .eyoom-form .ieum-edit-scope-host {
        width: 100% !important;
        margin-top: 12px;
    }

    .ieum-edit-scope-write {
        margin-top: 0;
    }
}
