
.ng-comment-form-toggle {
    display: inline-flex;
    min-height: 42px;
    margin-top: 12px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 15px;
    border: 1px solid var(--ng-accent);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ng-accent);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ng-comment-form-toggle__icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    font-size: 1.05rem;
    line-height: 1;
}


.ng-comment-form[hidden] {
    display: none !important;
}

body.ng-comment-composer-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.ng-comment-form {
    position: fixed;
    z-index: 5000;
    top: var(--ng-comment-vv-top, 0px);
    left: var(--ng-comment-vv-left, 0px);
    right: auto;
    bottom: auto;
    display: grid;
    grid-template-rows: 64px minmax(0, 1fr);
    width: var(--ng-comment-vv-width, 100vw);
    height: var(--ng-comment-vv-height, 100dvh);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    color: #111111;
    box-shadow: none;
    overscroll-behavior: none;
}

.ng-comment-composer__header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(64px, 1fr) minmax(120px, 2fr) minmax(64px, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 64px;
    padding: 0 12px;
    border-bottom: 1px solid #e7e7e7;
    background: #ffffff;
}

.ng-comment-composer__cancel,
.ng-comment-composer__submit {
    min-height: 42px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ng-comment-composer__cancel {
    justify-self: start;
    color: #333333;
    padding: 8px 6px;
}

.ng-comment-composer__submit {
    justify-self: end;
    min-width: 62px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ng-accent);
    color: #ffffff;
}

.ng-comment-composer__submit:disabled {
    opacity: 0.55;
    cursor: wait;
}

.ng-comment-composer__title {
    min-width: 0;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ng-comment-composer__body {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    padding: 0;
    background: #ffffff;
}

.ng-comment-form__textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    resize: none;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: #ffffff;
    color: #111111;
    padding: 22px 18px 30px;
    font: inherit;
    font-size: 18px;
    line-height: 1.65;
    caret-color: var(--ng-accent);
    -webkit-overflow-scrolling: touch;
}

.ng-comment-form__textarea:focus {
    border: 0;
    box-shadow: none;
}

.ng-comment-form__status {
    min-height: 0;
    padding: 0 18px max(10px, env(safe-area-inset-bottom, 0px));
    color: #666666;
    background: #ffffff;
    font-size: 0.78rem;
    line-height: 1.35;
}

.ng-comment-form__status:empty {
    display: none;
}

.ng-comment-form__status.is-error {
    color: #a3003f;
}

@media (max-width: 359px) {
    .ng-comment-form {
        grid-template-rows: 60px minmax(0, 1fr);
    }

    .ng-comment-composer__header {
        min-height: 60px;
        grid-template-columns: minmax(54px, 0.8fr) minmax(110px, 1.8fr) minmax(58px, 0.8fr);
        gap: 4px;
        padding-inline: 8px;
    }

    .ng-comment-composer__cancel,
    .ng-comment-composer__submit {
        font-size: 0.84rem;
    }

    .ng-comment-composer__submit {
        min-width: 56px;
        padding-inline: 11px;
    }

    .ng-comment-form__textarea {
        padding-inline: 14px;
        font-size: 17px;
    }
}
