/* Продовское оформление отзыва поверх собственного dialog; поля, отправка и лимиты остаются прежними. */
/* Review Form Start */
[data-ef-workflow-dialog][data-ef-presentation="review"] {
    
    width: min(100%, 520px);
    min-width: unset;
    padding: 36px 34px 30px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(13, 12, 34, .22);
}

[data-ef-workflow-dialog][data-ef-presentation="review"],
[data-ef-workflow-dialog][data-ef-presentation="review"] * {
    box-sizing: border-box;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] .hp-modal__title {
    margin: 0 34px 10px;
    color: #0D0C22;
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-review-modal__lead {
    max-width: 390px;
    margin: 0 auto 18px;
    color: #667085;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-review-modal__listing-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #E6EAF2;
    border-radius: 14px;
    background: #fff;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-review-modal__listing-image {
    display: flex;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #E6EAF2;
    border-radius: 50%;
    background: #F4F7FF;
    color: #0554F2;
    font-size: 15px;
    font-weight: 800;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-review-modal__listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-review-modal__listing-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-review-modal__listing-copy strong {
    overflow: hidden;
    color: #0D0C22;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-review-modal__listing-copy span {
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] {
    margin: 0;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field {
    margin: 0;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__label,
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-field__label {
    margin: 0 0 8px;
    color: #4B5565;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 2px 0 0;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--rating .hp-form__label {
    margin-bottom: 2px;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-rating-stars {
    display: inline-flex;
    gap: 7px;
    color: #D0D5DD;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-rating-stars i {
    margin: 0;
    color: #D0D5DD;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: color .15s ease, transform .15s ease;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-rating-stars i.active,
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-rating-stars i:hover,
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-rating-stars i:hover ~ i.active {
    color: #FFB020;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-rating-stars i:hover {
    transform: translateY(-1px);
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] textarea {
    display: block;
    width: 100%;
    min-height: 116px;
    resize: vertical;
    padding: 14px 16px;
    outline: none;
    border: 1px solid #CDD5E1;
    border-radius: 9px;
    background: #fff;
    color: #0D0C22;
    font: 500 14px/1.45 'Open Sans', sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] textarea::placeholder {
    color: #98A2B3;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] textarea:focus {
    border-color: #0554F2;
    box-shadow: 0 0 0 3px rgba(5, 84, 242, .12);
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 112px));
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-row:empty {
    display: none;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-row > div {
    position: relative;
    width: 112px !important;
    max-width: 112px !important;
    flex: 0 0 112px !important;
    height: 112px;
    overflow: hidden;
    border-radius: 10px;
    background: #F4F7FF;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-row > div > div {
    width: 100%;
    height: 100%;
    padding-top: 0 !important;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-row img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-row .hp-field__button {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 12, 34, .68);
    color: #fff;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .ef-review-upload-preview span {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .62);
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .ef-review-upload-preview.is-loading span {
    display: flex;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .ef-review-upload-preview span::before {
    content: "";
    width: 30px;
    height: 30px;
    border: 3px solid rgba(5, 84, 242, .16);
    border-top-color: #0554F2;
    border-radius: 50%;
    animation: ef-review-upload-spin .8s linear infinite;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label {
    position: relative;
    display: flex;
    float: none;
    width: 100% !important;
    min-height: 76px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 18px 16px 72px;
    border: 1px dashed #D6DCE8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label.is-uploading {
    border-color: #0554F2;
    background: #F7FAFF;
    pointer-events: none;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label.is-uploading::before {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(5, 84, 242, .16);
    border-top-color: #0554F2;
    border-radius: 50%;
    background: none;
    animation: ef-review-upload-label-spin .8s linear infinite;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label:hover {
    border-color: #0554F2;
    background: #F7FAFF;
}

@keyframes ef-review-upload-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ef-review-upload-label-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 50%;
    width: 34px;
    height: 34px;
    background: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 16l-4-4-4 4M12 12v9' stroke='%230554F2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20.39 18.39A5 5 0 0018 9h-1.26A8 8 0 103 16.3' stroke='%230554F2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translateY(-50%);
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label::after {
    content: "JPG, JPEG või PNG";
    display: block;
    margin-top: 3px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label .hp-field__button,
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label button {
    display: block;
    width: auto;
    height: auto;
    min-height: unset;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0D0C22;
    box-shadow: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    pointer-events: none;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__field--attachment-upload .hp-field--attachment-upload > label input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__messages {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.35;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer::before {
    content: "Sinu tagasiside jõuab modereerimisele enne avaldamist.";
    grid-column: 1 / -1;
    padding-left: 28px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z' stroke='%2398A2B3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-4' stroke='%2398A2B3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 18px 18px no-repeat;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer button,
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer .hp-form__button {
    display: flex;
    width: 100%;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid #FF804D;
    border-radius: 9px;
    background-color: #FF804D;
    color: #fff;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, transform .15s ease;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer button::before,
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer .hp-form__button::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 2L11 13' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M22 2l-7 20-4-9-9-4 20-7z' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer .ef-review-modal__cancel {
    border-color: #CDD5E1;
    background: #fff;
    color: #344054;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer .ef-review-modal__cancel::before {
    display: none;
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer button:hover,
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer .hp-form__button:hover {
    background-color: #e96f3e;
    border-color: #e96f3e;
    transform: translateY(-1px);
}

[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer .ef-review-modal__cancel:hover {
    border-color: #B8C2D2;
    background: #F8FAFC;
    color: #0D0C22;
}

@media (max-width: 576px) {
    [data-ef-workflow-dialog][data-ef-presentation="review"] {
        width: calc(100vw - 24px);
        padding: 30px 18px 22px;
        border-radius: 16px;
    }

    [data-ef-workflow-dialog][data-ef-presentation="review"] .hp-modal__title {
        margin-inline: 32px;
        font-size: 24px;
    }

    [data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Эти блоки доступны только в визуальном режиме соответствующей прежней операции. */
.ef-workflow-review-only,.ef-workflow-report-only{display:none}
[data-ef-presentation="review"] .ef-workflow-review-only{display:block}
[data-ef-presentation="report"] .ef-workflow-report-only{display:block}
[data-ef-presentation="review"],[data-ef-presentation="report"]{border:0;max-width:calc(100vw - 12px);max-height:calc(100dvh - 24px);color:#0d0c22}
[data-ef-presentation="review"]::backdrop,[data-ef-presentation="report"]::backdrop{background:rgba(0,0,0,.75)}
[data-ef-presentation="review"] [data-ef-workflow-context],[data-ef-presentation="report"] [data-ef-workflow-context]{display:none}
[data-ef-presentation="review"] [data-ef-workflow-form]{display:block;gap:0}
[data-ef-presentation="review"] [data-ef-field]{gap:0}
[data-ef-presentation="review"] [data-ef-field]>label{display:block;margin:0 0 8px;color:#4b5565;font:700 13px/1.3 'Open Sans',sans-serif}
[data-ef-presentation="review"] [data-ef-field="rating"]>label{margin-bottom:2px}
[data-ef-presentation="review"] #ef-workflow-rating{position:absolute;width:1px;height:1px;padding:0;opacity:0;pointer-events:none}
[data-ef-presentation="review"] .hp-rating-stars button{background:transparent;border:0;padding:0!important;line-height:1!important;min-height:0;cursor:pointer;color:#d0d5dd}
[data-ef-presentation="review"] .hp-rating-stars button[aria-pressed="true"] i{color:#ffb020}
[data-ef-presentation="review"] .hp-rating-stars button:focus-visible{outline:2px solid #0554f2;outline-offset:3px}
[data-ef-presentation="review"] .ef-workflow-upload-zone>span{color:#0d0c22;font-size:14px;font-weight:800;line-height:1.35}
[data-ef-presentation="review"] [data-ef-field="file"] .ef-workflow-upload-zone input[type="file"]{inset:0;width:100%;height:100%;cursor:pointer;pointer-events:auto}
[data-ef-presentation="review"] .ef-workflow-file-limit{display:none}
[data-ef-presentation="review"] [data-ef-workflow-file-name]:empty,[data-ef-presentation="review"] .hp-field--attachment-upload:has([data-ef-workflow-file-name]:empty) [data-ef-workflow-file-clear]{display:none}
[data-ef-presentation="review"] [data-ef-workflow-status]:empty,[data-ef-presentation="report"] [data-ef-workflow-status]:empty{display:none}
[data-ef-presentation="review"] .ef-workflow-close,[data-ef-presentation="report"] .ef-workflow-close{padding:10px!important;width:44px;height:44px;right:0;top:0;line-height:24px!important;color:#333;font-weight:300;border-radius:0!important;box-shadow:none}
/* Жалоба: прежнее текстовое поле и прежний submit в продовской геометрии. */
[data-ef-presentation="report"]{width:600px;border-radius:18px;padding:36px 40px 30px;background:#fff}
[data-ef-presentation="report"] h2{font:700 34px/1.2 'Open Sans',sans-serif;text-align:center;margin:0 0 28px;color:#0d0c22}
[data-ef-presentation="report"] .ef-workflow-report-lead{font-size:18px;line-height:1.4;color:#8b8b8b;margin:0 0 28px}
[data-ef-presentation="report"] [data-ef-workflow-form]{display:block}
[data-ef-presentation="report"] [data-ef-field="text"]{gap:8px}
[data-ef-presentation="report"] [data-ef-field="text"] label{font-size:18px;line-height:1.4;color:#8b8b8b}
[data-ef-presentation="report"] textarea{border:1px solid #d9d9d9;border-radius:5px;min-height:130px;line-height:1.4;padding:14px;font:inherit}
[data-ef-presentation="report"] .hp-form__footer{margin-top:30px;text-align:center}
[data-ef-presentation="report"] [data-ef-workflow-submit]{background:transparent;color:#8b8b8b;border:0;padding:12px 18px;line-height:1.4;border-radius:0}
@media(max-width:576px){[data-ef-presentation="review"] .hp-rating-stars i{font-size:28px!important}[data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer button{border-radius:9px!important;line-height:1!important}[data-ef-presentation="report"]{width:calc(100vw - 12px);padding:40px;border-radius:18px}[data-ef-presentation="report"] h2{font-size:28px}}
/* Нативный dialog центрируется по viewport, как продовская оболочка окна. */
[data-ef-workflow-dialog][data-ef-presentation="review"],[data-ef-workflow-dialog][data-ef-presentation="report"]{position:fixed;inset:auto;left:50vw;top:50dvh;transform:translate(-50%,-50%);margin:0;max-height:100dvh}
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] textarea{height:116px}
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-rating-stars{gap:14px}
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-rating-stars button[aria-pressed="true"] i{color:#ffb020}
[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-workflow-close,[data-ef-workflow-dialog][data-ef-presentation="report"] .ef-workflow-close{font-size:0}
[data-ef-presentation="review"] .ef-workflow-close::before,[data-ef-presentation="report"] .ef-workflow-close::before{content:"";display:block;width:24px;height:24px;background:linear-gradient(45deg,transparent calc(50% - 1px),#333 calc(50% - 1px),#333 calc(50% + 1px),transparent calc(50% + 1px)),linear-gradient(-45deg,transparent calc(50% - 1px),#333 calc(50% - 1px),#333 calc(50% + 1px),transparent calc(50% + 1px))}
/* Размеры пустой жалобы повторяют продовскую форму при тех же полях. */
[data-ef-workflow-dialog][data-ef-presentation="report"]{width:max-content;max-width:calc(100vw - 88px);padding:40px;border-radius:20px;color:#797979;font:400 16px/1.4 'Open Sans',sans-serif}
[data-ef-workflow-dialog][data-ef-presentation="report"] h2{font:700 28px/1.4 'Open Sans',sans-serif;color:#000;margin:0 0 16px}
[data-ef-workflow-dialog][data-ef-presentation="report"] .ef-workflow-report-lead{font:inherit;color:inherit;margin:0 0 24px}
[data-ef-workflow-dialog][data-ef-presentation="report"] [data-ef-field="text"]{display:block;margin:0}
[data-ef-workflow-dialog][data-ef-presentation="report"] [data-ef-field="text"] label{display:block;font:inherit;color:inherit;margin:0 0 8px}
[data-ef-workflow-dialog][data-ef-presentation="report"] textarea{display:inline-block;height:128px;min-height:128px;padding:0;border:1px solid #767676;border-radius:8px;font:13.3333px monospace;line-height:normal;color:#000}
[data-ef-workflow-dialog][data-ef-presentation="report"] .hp-form__fields{margin-bottom:32px}
[data-ef-workflow-dialog][data-ef-presentation="report"] .hp-form__footer{display:flex;margin:0}
[data-ef-workflow-dialog][data-ef-presentation="report"] [data-ef-workflow-submit]{display:block;width:100%;padding:0;margin:0;font:inherit;color:inherit;border-radius:8px;background:transparent}
[data-ef-workflow-dialog][data-ef-presentation="report"] .ef-workflow-close{padding:18px!important}
@media(max-width:576px){[data-ef-workflow-dialog][data-ef-presentation="report"]{max-width:calc(100vw - 12px)}}
/* Адаптивные кнопки и загрузочная зона сохраняют размеры продовских контролов. */
[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-workflow-close,[data-ef-workflow-dialog][data-ef-presentation="report"] .ef-workflow-close{width:60px;height:60px;padding:10px!important}
[data-ef-presentation="review"] .ef-workflow-close::before,[data-ef-presentation="report"] .ef-workflow-close::before{width:40px;height:40px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:576px){
[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-workflow-upload-zone{min-height:85.3333px}
[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-workflow-upload-zone>span{display:block;padding:8px 14px;font-size:14px;line-height:1.2}
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer button{padding:8px 14px;line-height:1.2!important;border-radius:8px!important}
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-form] .hp-form__footer .ef-review-modal__cancel{border-radius:16px!important}
[data-ef-workflow-dialog][data-ef-presentation="review"] .ef-workflow-close,[data-ef-workflow-dialog][data-ef-presentation="report"] .ef-workflow-close{padding:8px 14px!important}
[data-ef-presentation="review"] .ef-workflow-close::before,[data-ef-presentation="report"] .ef-workflow-close::before{width:32px;height:44px}
}
@media(max-width:576px){[data-ef-workflow-dialog][data-ef-presentation="report"] [data-ef-workflow-submit]{padding:8px 14px;font-size:14px;line-height:1.2}}
/* Мобильный ввод жалобы сохраняет продовский 16px monospace и не увеличивает страницу при фокусе. */
@media(max-width:576px){[data-ef-workflow-dialog][data-ef-presentation="report"] textarea{font:16px monospace}}
/* Открытая модальная форма блокирует прокрутку фона, как оболочка на проде. */
/* У основной кнопки отзыва на десктопе тот же радиус, что у продовского submit. */
[data-ef-workflow-dialog][data-ef-presentation="review"] [data-ef-workflow-submit]{border-radius:8px!important}
html:has([data-ef-workflow-dialog][open][data-ef-presentation="review"]),html:has([data-ef-workflow-dialog][open][data-ef-presentation="report"]){overflow:hidden}

/* Удаление: продовская оболочка и типографика; обязательное подтверждение остаётся видимым. */
[data-ef-workflow-dialog][data-ef-presentation="delete"]{box-sizing:border-box;position:fixed;inset:auto;left:50vw;top:50dvh;transform:translate(-50%,-50%);margin:0;width:576px;max-width:calc(100vw - 88px);max-height:100dvh;padding:40px;border:0;border-radius:20px;color:#797979;background:#fff;font:400 16px/1.4 'Open Sans',sans-serif}
[data-ef-presentation="delete"] h2{margin:0 0 16px;font:700 28px/1.4 'Open Sans',sans-serif;color:#000}
[data-ef-presentation="delete"] [data-ef-workflow-context]{margin:0 0 16px;color:inherit;font:inherit}
[data-ef-presentation="delete"] [data-ef-workflow-form]{display:block}
[data-ef-presentation="delete"] [data-ef-field="confirmation"]{margin-bottom:24px}
[data-ef-presentation="delete"] [data-ef-field="password"]{margin-bottom:16px}
[data-ef-presentation="delete"] [data-ef-workflow-status]:empty{display:none}
[data-ef-presentation="delete"] .hp-form__footer{margin:0;display:flex}
[data-ef-presentation="delete"] [data-ef-workflow-submit]{width:100%;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit}
[data-ef-presentation="delete"] .ef-workflow-close{width:60px;height:60px;top:0;right:0;padding:10px!important;font-size:0;border:0;border-radius:0!important;background:transparent;box-shadow:none}
[data-ef-presentation="delete"] .ef-workflow-close::before{content:"";display:block;width:40px;height:40px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z'/%3E%3C/svg%3E") center/contain no-repeat}
html:has([data-ef-workflow-dialog][open][data-ef-presentation="delete"]){overflow:hidden}
@media(max-width:576px){
    [data-ef-workflow-dialog][data-ef-presentation="delete"]{max-width:calc(100vw - 12px)}
    [data-ef-presentation="delete"] [data-ef-workflow-submit]{padding:8px 14px;font-size:14px;line-height:1.2}
    [data-ef-presentation="delete"] .ef-workflow-close{padding:8px 14px!important}
    [data-ef-presentation="delete"] .ef-workflow-close::before{width:32px;height:44px}
}
