.popup--support .support-flow-options{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:8px;width:100%;margin:6px 0 14px;padding:0;border:0;max-height:none;overflow:visible;}
.popup--support .support-flow-options[hidden]{display:none}
.popup--support .support-flow-options button{display:inline-block;flex:0 1 auto;max-width:95%;margin:0;padding:11px 14px;border:1px solid #dedee3;border-radius:14px 14px 4px 14px;background:#dedee3;color:#25252a;font-family:inherit;font-size:14px;line-height:1.45;text-align:left;white-space:normal;overflow-wrap:anywhere;font-weight:400;cursor:pointer;transition:background .15s,border-color .15s;}
.popup--support .support-flow-options button:hover{background:#f3f3f5;border-color:#f3f3f5}.popup--support .support-flow-options button:disabled{opacity:.55;cursor:wait}
.popup--support .support-flow-options button:focus-visible{outline:2px solid #aaaab8;outline-offset:3px}
.popup--support .support-flow-ticket{width:100%;margin-top:6px;font-size:12px;line-height:1.5;text-align:right;color:#aaaab7}

/* Compact choices: two columns, long questions on a full row. */
.popup--support .support-flow-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:6px 0 12px;align-items:stretch;}
.popup--support .support-flow-options button{width:100%;max-width:100%;min-height:34px;padding:7px 10px;border-radius:10px 10px 3px 10px;font-size:12px;line-height:1.4;background:#d6d6dd;border-color:#d6d6dd;}
.popup--support .support-flow-options .support-flow-choice--wide,.popup--support .support-flow-ticket{grid-column:1 / -1;}
@media(max-width:360px){.popup--support .support-flow-options{gap:5px}.popup--support .support-flow-options button{font-size:12px;padding:8px;}}

/* Content-sized choices, aligned to the user's side. */
.popup--support .support-flow-options{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:6px;}
.popup--support .support-flow-options button{flex:0 1 auto;width:auto;max-width:95%;min-height:32px;padding:7px 10px;}
.popup--support .support-flow-toggle{display:flex!important;align-items:center;justify-content:flex-end;gap:8px;align-self:stretch;flex:0 0 auto;margin:0 20px 4px!important;padding:8px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#a7a7b4!important;font-size:12px!important;line-height:18px!important;min-height:34px!important;cursor:pointer;}
.popup--support .support-flow-toggle[hidden]{display:none!important}.popup--support .support-flow-toggle:hover{color:#e2e2e9!important}.popup--support .support-flow-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .15s;}
.popup--support .support-flow-toggle:focus-visible{outline:1px solid #aaaab8!important;outline-offset:3px;}
.popup--support .support-flow-options[hidden]{display:none!important;}

.popup--support .support-flow-back-row{display:flex;flex:0 0 100%;width:100%;justify-content:flex-end;margin-top:4px;}
.popup--support .support-flow-back-row button{width:auto;max-width:95%;}

.popup--support .support-flow-back-row{gap:6px;}

.popup--support .support-chat__identity{min-width:0;max-width:calc(100% - 40px)}.popup--support .support-chat__identity>div{min-width:0}.popup--support .support-chat__identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.popup--support .support-chat__identity .support-chat__avatar--operator{overflow:hidden;padding:0}.popup--support .support-chat__avatar--operator img{width:100%;height:100%;object-fit:cover;border-radius:50%}.popup--support .support-chat__identity small{display:block;margin-top:3px;color:#a6a6b2;font-size:11px;line-height:1.3;letter-spacing:.08em;text-transform:none!important}

/* Keep the close control inside the header on desktop and mobile. */
.popup.popup--support .popup__title{gap:12px;}
.popup.popup--support .popup__title>.support-chat__close{
 display:flex!important;align-items:center;justify-content:center;flex:0 0 44px!important;
 position:static!important;inset:auto!important;transform:none!important;
 width:44px!important;min-width:44px!important;max-width:44px!important;
 height:44px!important;min-height:44px!important;max-height:44px!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;
 background:rgba(255,255,255,.07)!important;box-shadow:none!important;color:#f4f4f5!important;
 cursor:pointer;opacity:1!important;visibility:visible!important;touch-action:manipulation;
}
.popup.popup--support .popup__title>.support-chat__close:hover{background:rgba(255,255,255,.13)!important;}
.popup.popup--support .popup__title>.support-chat__close:focus-visible{outline:2px solid #a5b4fc;outline-offset:2px;}
.popup.popup--support .popup__title>.support-chat__close svg{display:block!important;flex:none;width:20px!important;height:20px!important;pointer-events:none;}
.popup.popup--support .support-chat__identity{flex:1 1 auto;max-width:calc(100% - 56px);}
