/* Clean, compact chat skin. Keeps the legacy widget structure and settings-driven position. */
#ok_consultant {
    width: 340px;
    height: 356px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 16px;
    background: #f8fafc;
    color: #172033;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .24);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
#ok_main {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #f8fafc;
}
#operator_olya {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    height: 62px;
    min-height: 62px;
    padding: 8px 42px 8px 12px;
    float: none;
    color: #fff;
    background: linear-gradient(120deg, #172554, #2563eb);
}
#avatar_olya {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.68);
    border-radius: 50%;
    background: rgba(255,255,255,.18);
}
#avatar_olya img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
#name_olya {
    flex: 1 1 auto;
    width: auto;
    height: auto;
    padding: 0;
    float: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-shadow: none;
}
#name_olya span { display: inline; }
#otdel {
    width: auto;
    padding: 3px 0 0;
    float: none;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.2;
}
#ok_sound {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0 0 0 auto;
    border-radius: 50%;
    background-position: center;
    background-color: rgba(255,255,255,.16);
}
#ok_close_chat {
    top: 8px;
    right: 8px;
    display: flex;
    width: auto;
    height: 22px;
    gap: 7px;
    z-index: 3;
}
#ok_close_chat .ok_turn_off,
#ok_close_chat #ok_close {
    position: static;
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
    float: none;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 7px;
    background: rgba(255,255,255,.14);
    cursor: pointer;
}
#ok_close_chat .ok_turn_off { background-image: none; }
#ok_close_chat .ok_turn_off::after {
    content: "–";
    display: block;
    color: #fff;
    font: 700 18px/18px Arial, sans-serif;
    text-align: center;
}
#ok_close_chat #ok_close { background-image: none; }
#ok_close_chat #ok_close::after {
    content: "×";
    display: block;
    color: #fff;
    font: 400 18px/20px Arial, sans-serif;
    text-align: center;
}
#ok_padding {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    height: auto;
    float: none;
    padding: 0;
    background: #f1f5f9;
}
#masseg_olya {
    flex: 1 1 auto;
    min-height: 0;
    width: auto;
    height: 205px;
    margin: 0;
    padding: 10px 12px;
    overflow: auto;
    border: 0;
    border-radius: 0;
    background: #f1f5f9;
    box-sizing: border-box;
    font-size: 13px;
}
#masseg_olya .jspContainer { width: 100% !important; }
#masseg_olya .jspPane { width: 100% !important; }
#ok_messages_list { min-height: 100%; }
.message_guest,
.message_operator {
    display: block;
    width: auto;
    max-width: 88%;
    margin: 0 0 8px;
    float: none;
    clear: both;
}
.message_guest { margin-left: auto; }
.message_operator { margin-right: auto; }
.message_guest_t,
.message_operator_t,
.message_guest_b,
.message_operator_b { display: none !important; }
.message_guest_s,
.message_operator_s {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 8px 10px;
    float: none;
    overflow-wrap: anywhere;
    border: 0;
    border-radius: 13px;
    box-shadow: none;
    font: 13px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.message_guest_s {
    color: #fff;
    background: #2563eb;
    border-bottom-right-radius: 4px;
}
.message_operator_s {
    color: #172033;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}
.message_guest_i,
.message_operator_i {
    display: flex;
    width: 100%;
    margin: 0 0 4px;
    float: none;
    gap: 12px;
}
.message_guest_n,
.message_operator_n {
    width: auto;
    flex: 1 1 auto;
    float: none;
    color: inherit;
    font-size: 10px;
    font-weight: 700;
    opacity: .72;
}
.message_guest_v,
.message_operator_v {
    width: auto;
    float: none;
    color: inherit;
    font-size: 10px;
    opacity: .62;
}
#ok_typing {
    flex: 0 0 auto;
    max-height: none;
    min-height: 0;
    margin: 0;
    padding: 4px 12px;
    float: none;
    color: #64748b;
    background: #f1f5f9;
    font: 11px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
#masseg_olya_send {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    float: none;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}
#masseg_olya_send textarea {
    flex: 1 1 auto;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    height: 38px;
    max-height: 72px;
    margin: 0;
    padding: 9px 11px;
    float: none;
    resize: none;
    border: 1px solid #d7dfeb;
    border-radius: 11px;
    outline: none;
    color: #172033;
    background: #f8fafc;
    box-shadow: none;
    font: 13px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
#masseg_olya_send textarea:focus,
#ok_group input:focus,
#ok_group textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59,130,246,.14);
}
#ok_enter {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    float: none;
    border: 0;
    border-radius: 11px;
    background: #2563eb;
    box-shadow: 0 3px 8px rgba(37,99,235,.24);
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, opacity .15s ease;
}
#ok_enter::after {
    content: "➤";
    display: block;
    color: #fff;
    font: 16px/38px Arial, sans-serif;
    text-align: center;
}
#ok_enter:hover { background: #1d4ed8; transform: translateY(-1px); }
#ok_enter.is-sending { opacity: .55; pointer-events: none; }
#ok_send_status {
    flex: 0 0 auto;
    min-height: 0;
    padding: 0 12px;
    color: #b91c1c;
    background: #fff;
    font-size: 11px;
    line-height: 1.35;
}
#consultant_web { display: none !important; }
#ok_group {
    position: absolute;
    z-index: 1100;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 18px 16px 14px;
    overflow: hidden;
    color: #172033;
    background: linear-gradient(145deg, #fff, #f1f5f9);
}
#ok_group_center { width: 100%; height: auto; margin: 0 auto; }
.ok_group_h4 {
    margin: 2px 32px 16px 0;
    color: #172554;
    font: 700 17px/1.25 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-shadow: none;
}
#ok_close_group { top: 12px; right: 12px; width: 22px; height: 22px; z-index: 2; }
#ok_close_group .ok_turn_off {
    width: 22px; height: 22px; float: none; border: 1px solid #e2e8f0;
    border-radius: 7px; background: #fff; background-image: none;
}
#ok_close_group .ok_turn_off::after { content: "×"; display:block; color:#64748b; font:18px/20px Arial,sans-serif; text-align:center; }
#ok_user_name_input {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}
#ok_user_name_input input,
#ok_group textarea {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
    outline: none;
    color: #172033;
    background: #fff;
    box-shadow: none;
    font: 13px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
#ok_user_name_input input { height: 40px; padding: 0 12px; }
#ok_group_select {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0 0 10px;
    border: 0;
}
.ok_select_background {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 10px 38px 10px 12px;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
    color: #172033;
    background: #fff;
    font: 13px/18px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    cursor: pointer;
}
.ok_select_background::after {
    content: "⌄";
    position: absolute;
    top: 8px;
    right: 12px;
    color: #64748b;
    font-size: 18px;
}
#ok_select_select {
    position: absolute;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    max-height: 130px;
    margin: 4px 0 0;
    padding: 4px;
    overflow: auto;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,23,42,.14);
}
#ok_select_select li { padding: 9px 10px; border-radius: 7px; color:#172033; cursor:pointer; }
#ok_select_select li:hover { background:#eff6ff; }
#ok_group_text { width:100%; margin:0 0 8px; }
#ok_group textarea { display:block; width:100%; height:88px; min-height:88px; max-height:88px; padding:10px 12px; overflow-y:hidden; resize:none; }
#ok_group_message { min-height:18px; margin:0 0 6px; color:#b91c1c; font-size:12px; }
#ok_group_submit {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin: 0;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #2563eb;
    box-shadow: 0 4px 10px rgba(37,99,235,.2);
    font: 700 14px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    cursor: pointer;
}
#ok_group_submit:hover { background: #1d4ed8; }
#ok_group_submit span { padding: 0; color: inherit; font: inherit; }
#ok_loading {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: rgba(15,23,42,.78);
    backdrop-filter: blur(3px);
}
#ok_loading span { padding: 145px 18px 0; color: #fff; font-size: 14px; text-align: center; }
.ok_windows {
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15,23,42,.2);
}
.ok_windows span { color: #172033; font: 600 13px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.ok_close_window { border-radius: 50%; }
@media (max-width: 420px) {
    #ok_consultant { width: min(340px, calc(100vw - 16px)); }
    #ok_group { padding: 16px 14px 12px; }
}
/* File upload controls in the modern chat skin */
#ok_upload_file {
    box-sizing: border-box;
    width: 280px;
    min-height: 136px;
    height: auto;
    margin-left: -140px;
    margin-top: -68px;
    padding: 18px 16px 14px;
    color: #172033;
    background: #fff;
}
#ok_upload_file > span {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    float: none;
    color: #172554;
    font: 700 15px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: center;
}
#ok_close_file {
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
}
#ok_close_file::after {
    content: "×";
    display: block;
    color: #64748b;
    font: 18px/21px Arial, sans-serif;
    text-align: center;
}
#uploadButton.button {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 228px;
    min-height: 46px;
    margin: 18px auto 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #2563eb;
    box-shadow: 0 4px 10px rgba(37,99,235,.22);
    text-align: center;
    cursor: pointer;
}
#uploadButton.button:hover { background: #1d4ed8; }
#uploadButton.button:active { transform: translateY(1px); }
#uploadButton #ok_change_file {
    display: block;
    margin: 0;
    padding: 12px 16px;
    border: 0;
    color: #fff;
    font: 700 13px/20px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: center;
    text-decoration: none;
}
#uploadButton #ok_file_img_hide { position: absolute !important; inset: 0; margin: auto; width: 24px; height: 24px; }
#uploadButton #ok_file_img_hide img { display: block; width: 24px; height: 24px; }
#ok_upload_status {
    min-height: 16px;
    margin-top: 8px;
    color: #64748b;
    font: 12px/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: center;
}
#upload_file_input {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
#uploadButton.button:focus-visible {
    outline: 3px solid rgba(96,165,250,.55);
    outline-offset: 3px;
}
#uploadButton.button.is-uploading {
    opacity: .7;
    cursor: progress;
    pointer-events: none;
}

/* Modern widget tab and offline form */
#ok_button.ok_online_button,
#ok_button.ok_offline_button {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.68) !important;
    color: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,.25), inset 0 1px 0 rgba(255,255,255,.2);
    cursor: pointer;
    transition: box-shadow .18s ease, filter .18s ease, transform .18s ease;
}
#ok_button.ok_online_button {
    background: linear-gradient(145deg,#3b82f6,#1d4ed8) !important;
}
#ok_button.ok_offline_button {
    background: linear-gradient(145deg,#64748b,#334155) !important;
}
#ok_button.ok_online_button:hover,
#ok_button.ok_offline_button:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 28px rgba(15,23,42,.3), inset 0 1px 0 rgba(255,255,255,.24);
}
#ok_button.ok_online_button:active,
#ok_button.ok_offline_button:active { transform: translateY(1px); }
#ok_button.ok_button_horizontal {
    width: 138px !important;
    height: 42px !important;
    border-radius: 13px !important;
}
#ok_button.ok_button_horizontal::before {
    content: "Консультант";
    padding-left: 13px;
    color: #fff;
    font: 700 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    letter-spacing: .01em;
    white-space: nowrap;
}
#ok_button.ok_button_vertical {
    width: 42px !important;
    height: 148px !important;
    border-radius: 0 14px 14px 0 !important;
}
#ok_button.ok_button_vertical::before {
    content: "Консультант";
    color: #fff;
    font: 700 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    letter-spacing: .02em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}
#ok_button.ok_online_button::after,
#ok_button.ok_offline_button::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}
#ok_button.ok_offline_button::after {
    background: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(203,213,225,.16);
}
#ok_button.ok_button_horizontal::after { left: 12px; top: 50%; margin-top: -6px; }
#ok_button.ok_button_vertical::after { top: 10px; left: 50%; margin-left: -6px; }

#ok_consultant > #iframe {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
#ok_padding { min-height: 0; overflow: hidden; }
#masseg_olya {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none;
}
#masseg_olya::-webkit-scrollbar { display: none; width: 0; height: 0; }
#masseg_olya .jspVerticalBar { display: none !important; }
#masseg_olya_send { position: relative; z-index: 2; flex-shrink: 0; }

#ok_consultant #iframe .nocons {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 12px;
    overflow: hidden;
    border-radius: inherit;
    color: #172033;
    background: linear-gradient(145deg,#fff,#f1f5f9);
    box-shadow: none;
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
#ok_consultant #iframe .nocons #pad {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    float: none;
}
#ok_consultant #iframe .nocons .ok_form_info {
    display: flex;
    flex: 0 0 86px;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    height: 86px;
    min-height: 86px;
    float: none;
}
#ok_consultant #iframe .nocons #ok_form_img {
    flex: 0 0 52px;
    box-sizing: border-box;
    width: 52px;
    height: 74px;
    margin: 0;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 13px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 5px 12px rgba(15,23,42,.16);
}
#ok_consultant #iframe .nocons #ok_form_mess {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-height: 86px;
    min-height: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 9px 11px;
    float: none;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15,23,42,.08);
}
#ok_consultant #iframe .nocons #ok_form_mess::before {
    top: 20px;
    left: -5px;
    width: 9px;
    height: 9px;
    background: #fff;
}
#ok_consultant #iframe .nocons #ok_form_mess p {
    max-height: 66px;
    color: #334155;
    font: 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
#ok_consultant #iframe .nocons #ok_forma {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    float: none;
}
#ok_consultant #iframe .nocons #consult_form {
    position: static;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    grid-template-rows: repeat(3,34px) minmax(64px,1fr) 36px;
    gap: 7px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
}
#ok_consultant #iframe .nocons #consult_form .ok_field {
    position: relative;
    grid-column: 1 / -1;
    box-sizing: border-box;
    width: 100%;
    height: 34px;
    min-width: 0;
}
#ok_consultant #iframe .nocons #consult_form input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 0 11px 0 46px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    outline: none;
    color: #334155;
    background: #fff;
    box-shadow: none;
    font: 13px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    text-shadow: none;
}
#ok_consultant #iframe .nocons .img_class {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 36px;
    height: 34px;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(145deg,#dbeafe,#bfdbfe);
}
#ok_consultant #iframe .nocons .img_class img {
    width: 23px;
    height: 23px;
    margin: 0;
    object-fit: contain;
}
#ok_consultant #iframe .nocons #consult_text {
    grid-column: 1 / -1;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 64px;
    max-height: none;
    margin: 0;
    padding: 10px 11px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    outline: none;
    color: #334155;
    background: #fff;
    box-shadow: none;
    font: 13px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    text-shadow: none;
}
#ok_consultant #iframe .nocons #ok_submit {
    display: flex;
    grid-column: 2;
    grid-row: 5;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    margin: 0;
    padding: 0;
    float: none;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg,#3b82f6,#1d4ed8);
    box-shadow: 0 4px 10px rgba(37,99,235,.2);
    font: 700 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
#ok_consultant #iframe .nocons #ok_close_chat {
    position: static;
    display: flex;
    grid-column: 1;
    grid-row: 5;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    margin: 0;
    float: none;
}
#ok_consultant #iframe .nocons #ok_turn_off {
    margin: 0;
    float: none;
    color: #64748b;
    font: 600 12px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    text-decoration: none;
}
#ok_consultant #iframe .nocons #ok_turn_off:hover { color: #1d4ed8; }

/* Email transcript dialog */
#ok_send_mess_email {
    z-index: 20;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    width: 300px;
    max-width: calc(100% - 24px);
    height: auto;
    margin: 0;
    padding: 20px 18px 14px;
    transform: translate(-50%,-50%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    color: #172033;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.25);
}
#ok_send_mess_email > span {
    display: block;
    margin: 0 28px 16px 0 !important;
    color: #172554;
    font: 700 15px/1.35 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    text-align: left;
}
#ok_send_mess_email #ok_close_email {
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
}
#ok_send_mess_email #ok_close_email::after {
    content: "×";
    display: block;
    color: #64748b;
    font: 18px/23px Arial,sans-serif;
    text-align: center;
}
#ok_send_mess_email #ok_email_hide {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0;
}
#ok_send_mess_email #ok_send_email {
    flex: 1 1 auto;
    box-sizing: border-box;
    width: 0;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
    outline: none;
    color: #172033;
    background: #f8fafc;
    box-shadow: none;
    font: 13px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
#ok_send_mess_email #ok_send_email:focus {
    border-color: #60a5fa;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,.14);
}
#ok_send_mess_email #ok_send_email.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
#ok_send_mess_email #ok_enter_email {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    float: none;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg,#3b82f6,#1d4ed8);
    box-shadow: 0 4px 10px rgba(37,99,235,.22);
    cursor: pointer;
}
#ok_send_mess_email #ok_enter_email::after {
    content: "➤";
    color: #fff;
    font: 17px/1 Arial,sans-serif;
}
#ok_send_mess_email #ok_enter_email:hover { background: linear-gradient(135deg,#2563eb,#1e40af); }
#ok_send_mess_email #ok_enter_email:disabled,
#ok_send_mess_email #ok_enter_email.is-sending {
    opacity: .65;
    cursor: progress;
}
#ok_send_mess_email #ok_message_email {
    min-height: 18px;
    margin: 10px 0 0;
    color: #64748b;
    font: 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    overflow-wrap: anywhere;
}
#ok_send_mess_email #ok_message_email.is-error { color: #b91c1c; }
#ok_send_mess_email #ok_message_email.is-success { color: #047857; }
