.ru-workflow-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #cbd8e8;border-radius:0;background:#fff;color:#172b4d;font:15px/1.7 Arial,"Microsoft YaHei",sans-serif;overflow:auto}
.ru-workflow-dialog::backdrop{background:rgba(10,20,36,.55);backdrop-filter:blur(5px)}
.ru-workflow-dialog>header{position:sticky;top:0;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 24px;background:#111b2d;color:#fff}
.ru-workflow-dialog #ruWorkflowHeading{color:#fff!important;font-family:inherit!important}
.ru-workflow-dialog h3{font-family:inherit!important}
.ru-workflow-dialog h2{margin:0;font-size:20px;overflow-wrap:anywhere}.ru-workflow-dialog .ru-workflow-close{flex:0 0 auto;color:#fff;background:transparent;border:1px solid #8297b6;padding:5px 10px;cursor:pointer}
.ru-workflow-body{padding:0 24px 24px}.ru-workflow-status{margin:16px 24px;color:#214aa5;white-space:pre-wrap;overflow-wrap:anywhere}.ru-workflow-status:empty{display:none}
.ru-workflow-section{padding:16px 0;border-bottom:1px solid #dce4ef}.ru-workflow-section h3,.ru-workflow-actions h3{margin:0 0 8px;font-size:16px}.ru-workflow-section p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.ru-workflow-section ul{margin:0;padding-left:22px}
.ru-workflow-section li{overflow-wrap:anywhere}.ru-workflow-dialog .ru-workflow-total{margin-top:10px;font-weight:700;font-size:18px}.ru-workflow-actions{padding-top:18px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.ru-workflow-actions p{margin:0;overflow-wrap:anywhere}
.ru-workflow-dialog .ru-workflow-button{padding:10px 18px;border:1px solid #2d5dd7;border-radius:0;background:#2d5dd7;color:#fff;font:inherit;cursor:pointer;min-height:44px;max-width:100%}.ru-workflow-dialog .ru-workflow-button.secondary{background:transparent;color:#214aa5}.ru-workflow-dialog button:disabled{opacity:.55;cursor:not-allowed}
.ru-workflow-check{display:flex;gap:9px;align-items:flex-start}.ru-workflow-check input{flex:0 0 auto;margin:7px 0 0;width:18px;height:18px;accent-color:#2d5dd7}
.ru-workflow-qr-slot{max-width:100%}.ru-workflow-qr{display:block;max-width:min(280px,100%);max-height:320px;background:#fff;padding:8px;border:1px solid #cbd8e8;box-sizing:border-box;object-fit:contain}.ru-workflow-help{font-size:13px;color:#53647c}
.ru-workflow-qr-slot{width:100%}.ru-workflow-qr-shell{display:block;width:min(280px,100%);padding:22px;background:#fff;border:1px solid #cbd8e8;box-sizing:border-box}.ru-workflow-qr-window{position:relative;display:block;width:100%;overflow:hidden;background:#fff;box-sizing:border-box}.ru-workflow-dialog .ru-workflow-qr-source{position:absolute;display:block;max-width:none!important;max-height:none!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;object-fit:fill;filter:none!important}.ru-workflow-dialog .ru-workflow-merchant{font-weight:700;line-height:1.7}
.ru-workflow-field{display:flex;flex-direction:column;gap:6px;margin:16px 0}.ru-workflow-field textarea,.ru-workflow-field select{box-sizing:border-box;width:100%;padding:10px;border:1px solid #aabbd0;border-radius:0;color:#172b4d;background:#fff;font:inherit}.ru-workflow-field textarea{resize:vertical;min-height:110px}
.ru-workflow-dialog :focus-visible{outline:3px solid #527ff0;outline-offset:2px}
html[data-ru-theme=dark] .ru-workflow-dialog{background:#18263c;color:#e6edf9;border-color:#40536f;color-scheme:dark}
html[data-ru-theme=dark] .ru-workflow-dialog .ru-workflow-status,html[data-ru-theme=dark] .ru-workflow-dialog .ru-workflow-button.secondary{color:#aec7ff}
html[data-ru-theme=dark] .ru-workflow-dialog .ru-workflow-help{color:#b6c4da}html[data-ru-theme=dark] .ru-workflow-dialog .ru-workflow-section{border-color:#40536f}
html[data-ru-theme=dark] .ru-workflow-dialog .ru-workflow-field textarea,html[data-ru-theme=dark] .ru-workflow-dialog .ru-workflow-field select{background:#111b2d;color:#e6edf9;border-color:#657894}
@media(max-width:480px){.ru-workflow-dialog>header{padding:16px}.ru-workflow-body{padding:0 16px 18px}.ru-workflow-status{margin:12px 16px}.ru-workflow-dialog h2{font-size:18px}.ru-workflow-dialog .ru-workflow-button{width:100%}}
:is(.ru-service-business,.ru-message-business) .ru-workflow-button{box-sizing:border-box;max-width:100%;min-height:44px;padding:10px 14px;border:1px solid #2d5dd7;border-radius:0;background:#2d5dd7;color:#fff;font:700 13px/1.6 Arial,"Microsoft YaHei",sans-serif;cursor:pointer;overflow-wrap:anywhere}
:is(.ru-service-business,.ru-message-business) .ru-workflow-button.secondary{background:transparent;color:#214aa5}
:is(.ru-service-business,.ru-message-business) .ru-workflow-status,:is(.ru-service-business,.ru-message-business) .ru-workflow-help{margin:12px 0;color:#53647c;font:13px/1.7 Arial,"Microsoft YaHei",sans-serif}
:is(.ru-service-business,.ru-message-business) .ru-workflow-button:disabled{opacity:.55;cursor:not-allowed}
:is(.ru-service-business,.ru-message-business) .ru-workflow-button:focus-visible{outline:3px solid #527ff0;outline-offset:2px}
html[data-ru-theme=dark] :is(.ru-service-business,.ru-message-business) .ru-workflow-button.secondary{color:#b7ceff;border-color:#7a9ad5}
html[data-ru-theme=dark] :is(.ru-service-business,.ru-message-business) .ru-workflow-status,html[data-ru-theme=dark] :is(.ru-service-business,.ru-message-business) .ru-workflow-help{color:#b9cbe4}
html.visitor-v2[data-ru-theme=dark] .ru-workflow-dialog .ru-workflow-field{--ui-surface:#111b2d;--ui-ink:#e6edf9;--ui-line:#657894;color-scheme:dark}
