/* v70 shared geometry. Only these tokens differ between Market and Garant. */
.mx-surface {
 --mx-bg:#0d121b;--mx-panel:#111823;--mx-panel-2:#151e2b;--mx-input:#192231;--mx-line:#253042;
 --mx-text:#e2e8f2;--mx-muted:#8591a5;--mx-accent:#6d9fff;--mx-accent-strong:#437fee;
 --mx-tint:#192b47;--mx-own:#1d3556;--mx-bubble:#1a2432;--mx-hover:#1c2839;--mx-danger:#ec8794;
 color:var(--mx-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 font-size:14px;line-height:1.5;color-scheme:dark;
}
/* v73 MARKET graphite: same neutral surfaces as the existing storefront.
   This theme is explicit: Garant tokens, dimensions and behavior stay untouched.
   The supplied solid-color reference is RGB(26, 30, 39), or #1a1e27. */
.mx-surface[data-mx-theme="market"] {
 --mx-bg:var(--bg,#14171e);
 --mx-panel:#1a1e27;
 --mx-panel-2:var(--surface2,#1d222b);
 --mx-input:var(--surface2,#1d222b);
 --mx-line:var(--line,#2a303b);
 --mx-text:var(--text,#f7f9fc);
 --mx-muted:var(--muted,#8e9aae);
 --mx-accent:var(--blue2,#74b4ff);
 --mx-accent-strong:var(--blue,#2587ff);
 --mx-tint:var(--surface3,#232934);
 --mx-own:var(--surface3,#232934);
 --mx-bubble:var(--surface2,#1d222b);
 --mx-hover:var(--surface3,#232934);
}
.mx-surface[data-mx-theme="market"] select :is(option,optgroup){
 background:var(--mx-input);
 color:var(--mx-text);
}
.mx-surface[data-mx-theme="guarantee"] {
 --mx-bg:#0c120f;--mx-panel:#101913;--mx-panel-2:#142019;--mx-input:#17241c;--mx-line:#25362b;
 --mx-text:#e0eae3;--mx-muted:#899e90;--mx-accent:#70c69c;--mx-accent-strong:#31895f;
 --mx-tint:#172e22;--mx-own:#203e2d;--mx-bubble:#1b2a21;--mx-hover:#203327;
}
.mx-surface * {box-sizing:border-box}
.mx-surface [hidden]{display:none!important}
.mx-surface button,.mx-surface input,.mx-surface textarea,.mx-surface select{font:inherit;box-shadow:none;letter-spacing:normal}
.mx-surface button{cursor:pointer}
.mx-surface button:disabled{opacity:.45;cursor:not-allowed}
.mx-surface button,.mx-surface a{-webkit-tap-highlight-color:transparent}
.mx-surface a{color:inherit;text-decoration:none}
.mx-surface :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--mx-accent);outline-offset:3px}
.mx-surface h1,.mx-surface h2,.mx-surface h3,.mx-surface p{margin:0}
.mx-surface .mx-icon{width:20px;height:20px;display:block;flex:none}
.mx-root {width:min(1120px,calc(100% - 40px));max-width:100%;min-width:0;margin:0 auto;padding:28px 0 24px;box-sizing:border-box}
.mx-page-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}
.mx-eyebrow{display:block;color:var(--mx-accent);font-size:10px;font-weight:700;letter-spacing:.12em}
.mx-page-top h1{display:flex;align-items:center;gap:12px;font-size:27px;letter-spacing:-.035em;line-height:1.25;margin-top:6px;font-weight:700}
.mx-page-top h1>span:empty{display:none}
.mx-page-top h1>span{font-size:12px;font-weight:600;letter-spacing:0;padding:3px 9px;border-radius:8px;background:var(--mx-tint);color:var(--mx-accent)}
.mx-help-link{display:flex;align-items:center;gap:10px;color:var(--mx-muted)!important;font-size:12px;border:1px solid var(--mx-line);padding:10px 14px;border-radius:10px}
.mx-help-link:hover{color:var(--mx-accent)!important;background:var(--mx-panel)}
.mx-shell{display:grid;grid-template-columns:316px minmax(0,1fr);height:clamp(320px,calc(100dvh - 242px),740px);width:100%;max-width:100%;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--mx-line);border-radius:16px;background:var(--mx-panel);box-shadow:none}
.mx-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--mx-panel);border-right:1px solid var(--mx-line)}
.mx-sidebar-top{display:flex;align-items:center;gap:8px;padding:22px 19px 16px}
.mx-sidebar-top h2{font-size:17px;line-height:1.2;font-weight:650;flex:1}
.mx-surface .mx-icon-btn{display:flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border:0;background:transparent;color:var(--mx-muted);border-radius:9px;padding:7px}
.mx-surface .mx-icon-btn:hover,.mx-surface .mx-icon-btn.selected{background:var(--mx-tint);color:var(--mx-accent)}
.mx-surface .mx-new-btn{display:flex;align-items:center;justify-content:center;flex:none;width:33px;height:33px;border:1px solid var(--mx-line);background:var(--mx-tint);color:var(--mx-accent);border-radius:10px}
.mx-search{display:flex;align-items:center;gap:10px;border:1px solid var(--mx-line);background:var(--mx-input);border-radius:10px;min-width:0;height:42px;padding:0 12px;color:var(--mx-muted)}
.mx-search>.mx-icon{width:17px;height:17px}
.mx-search input{background:transparent;border:0!important;outline:0!important;color:var(--mx-text);padding:0;width:100%;min-width:0;font-size:12px}
.mx-search input::placeholder{color:var(--mx-muted)}
.mx-sidebar>.mx-search{margin:0 19px 16px}
.mx-filters{display:flex;gap:5px;padding:0 19px 17px;border-bottom:1px solid var(--mx-line)}
.mx-filters button{flex:1;padding:7px 5px;min-height:32px;border:0;border-radius:7px;background:transparent;color:var(--mx-muted);font-size:11px;font-weight:600}
.mx-filters button:hover{color:var(--mx-text)}
.mx-filters button.active{background:var(--mx-tint);color:var(--mx-accent)}
.mx-chat-list{flex:1;min-height:0;overflow:auto;padding:9px 8px;scrollbar-width:thin;scrollbar-color:var(--mx-line) transparent}
.mx-chat-row{display:flex;width:100%;gap:11px;padding:13px 10px;background:transparent;border:1px solid transparent;border-radius:11px;color:var(--mx-text);text-align:left;align-items:center}
.mx-chat-row:hover{background:var(--mx-panel-2)}
.mx-chat-row.active{background:var(--mx-tint);border-color:var(--mx-line)}
.mx-avatar{width:44px;height:44px;position:relative;display:flex;align-items:center;justify-content:center;flex:none;border:1px solid var(--mx-line);border-radius:15px;color:var(--mx-accent);background:var(--mx-hover);font-size:16px;font-weight:650}
.mx-avatar.small{width:38px;height:38px;border-radius:12px;font-size:14px}
.mx-avatar.support{border-radius:14px;background:var(--mx-tint)}
.mx-avatar>i{width:10px;height:10px;border:2px solid var(--mx-panel);border-radius:50%;background:var(--mx-accent);position:absolute;right:-2px;bottom:-1px}
.mx-chat-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:5px}
.mx-chat-top,.mx-chat-bottom{display:flex;align-items:center;gap:7px;min-width:0}
.mx-chat-top>b{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:650}
.mx-chat-top>time{font-size:9px;color:var(--mx-muted);white-space:nowrap;flex:none;font-weight:400}
.mx-context-label{display:flex;align-items:center;gap:4px;font-size:9px;color:var(--mx-accent);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-context-label .mx-icon{width:11px;height:11px}
.mx-chat-bottom small{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:var(--mx-muted)}
.mx-chat-bottom>.mx-icon{width:12px;height:12px;color:var(--mx-muted)}
.mx-chat-bottom em,.help-ticket-end em{flex:none;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:10px;font-weight:700;min-width:18px;height:18px;padding:0 5px;border-radius:6px;background:var(--mx-accent-strong);color:white}
.mx-sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:44px;border-top:1px solid var(--mx-line);padding:11px 18px;font-size:8px;letter-spacing:.06em;color:var(--mx-muted)}
.mx-connection{display:flex;align-items:center;gap:6px;letter-spacing:normal;font-size:10px}
.mx-connection i{width:5px;height:5px;border-radius:50%;background:var(--mx-accent)}
.mx-connection.offline i{background:#c5a269}
.mx-dialog{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--mx-bg);position:relative;overflow:hidden}
.mx-welcome{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;flex:1;min-height:0;padding:30px}
.mx-welcome-symbol{width:94px;height:86px;margin-bottom:30px;position:relative;border:1px solid var(--mx-line);border-radius:27px;background:var(--mx-tint);display:flex;align-items:center;justify-content:center;color:var(--mx-accent);transform:rotate(-5deg)}
.mx-welcome-symbol>.mx-icon{width:45px;height:45px}
.mx-welcome-symbol>span{position:absolute;right:-9px;bottom:-8px;padding:6px;background:var(--mx-accent-strong);color:white;border:4px solid var(--mx-bg);border-radius:12px;transform:rotate(5deg)}
.mx-welcome-symbol>span .mx-icon{width:15px;height:15px}
.mx-welcome h2{font-size:29px;line-height:1.27;font-weight:650;letter-spacing:-.04em;margin:11px 0 16px}
.mx-welcome p{font-size:12px;line-height:1.9;color:var(--mx-muted);margin:0 0 24px}
.mx-welcome>small{font-size:10px;color:var(--mx-muted);margin-top:16px}
.mx-surface .mx-primary,.mx-surface .mx-secondary,.mx-surface .mx-danger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 17px;border-radius:10px;background:var(--mx-accent-strong);color:white;border:1px solid transparent;font-size:12px;font-weight:600;text-decoration:none}
.mx-surface .mx-primary:hover{filter:brightness(1.1)}
.mx-surface .mx-primary>.mx-icon{width:18px;height:18px}
.mx-surface .mx-secondary{background:var(--mx-input);border-color:var(--mx-line);color:var(--mx-text)}
.mx-surface .mx-danger{background:#60323c;color:#ffe3e7}
.mx-surface .mx-text-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:var(--mx-accent);padding:4px 0;font-size:12px;line-height:1.5}
.mx-text-btn .mx-icon{width:16px;height:16px}
.mx-empty-small{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:38px 20px;text-align:center;color:var(--mx-muted);font-size:12px}
.mx-empty-small>.mx-icon{width:29px;height:29px;opacity:.55}
.mx-empty-small>b{font-size:14px;color:var(--mx-text);font-weight:600}
.mx-dialog-header{display:flex;align-items:center;gap:12px;flex:none;min-height:77px;padding:16px 22px;border-bottom:1px solid var(--mx-line);background:var(--mx-panel)}
.mx-peer{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.mx-peer>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:650}
.mx-peer>span{font-size:10px;color:var(--mx-muted)}
.mx-peer>span.online{color:var(--mx-accent)}
.mx-dialog-tools{display:flex;align-items:center;gap:4px}
.mx-dialog-tools .mx-icon{width:19px;height:19px}
.mx-surface .mx-mobile-back{display:none}
.mx-context-banner{display:flex;gap:12px;align-items:center;min-width:0;flex:none;padding:12px 22px;border-bottom:1px solid var(--mx-line);background:var(--mx-panel-2);color:var(--mx-muted)!important}
.mx-context-banner>.mx-icon{color:var(--mx-accent);width:20px;height:20px}
.mx-context-banner>span:not(.mx-ticket-tag){display:flex;flex-direction:column;flex:1;min-width:0;gap:3px}
.mx-context-banner b{font-size:11px;font-weight:600;color:var(--mx-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mx-context-banner small{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mx-context-banner>span:last-child:not(:first-child){flex:none;font-size:10px;flex-direction:row;align-items:center;gap:7px;color:var(--mx-accent)}
.mx-context-banner>span:last-child>.mx-icon{width:14px;height:14px}
.mx-ticket-tag{font-size:9px;font-weight:650;padding:6px;border:1px solid var(--mx-line);border-radius:6px;color:var(--mx-accent)}
.mx-context-banner .mx-text-btn{font-size:10px;white-space:nowrap}
.mx-scroll-wrap{position:relative;flex:1;min-height:0;display:flex}
.mx-message-list{width:100%;height:100%;min-height:0;overflow:auto;padding:18px 27px 22px;scrollbar-width:thin;scrollbar-color:var(--mx-line) transparent;overscroll-behavior:contain;overflow-anchor:none}
.mx-day{display:flex;justify-content:center;margin:8px 0 24px}
.mx-day>span{font-size:10px;color:var(--mx-muted);border:1px solid var(--mx-line);border-radius:6px;padding:4px 9px}
.mx-message{display:flex;align-items:center;gap:7px;margin-bottom:12px;max-width:89%;min-width:0;width:fit-content}
.mx-message.own{margin-left:auto;flex-direction:row-reverse}
.mx-bubble{min-width:80px;padding:11px 13px 7px;background:var(--mx-bubble);border:1px solid var(--mx-line);border-radius:12px 12px 12px 3px;min-height:36px;overflow:hidden}
.mx-message.own .mx-bubble{background:var(--mx-own);border-color:transparent;border-radius:12px 12px 3px 12px}
.mx-bubble p{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.mx-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:4px;font-size:9px;color:var(--mx-muted)}
.mx-receipt{color:var(--mx-muted)}
.mx-receipt.read{color:var(--mx-accent)}
.mx-receipt .mx-icon{width:15px;height:15px}
.mx-message.deleted{color:var(--mx-muted)}
.mx-message.deleted .mx-bubble{background:transparent}
.mx-message-tools{display:flex;opacity:0;transition:opacity .15s}
.mx-message:hover .mx-message-tools,.mx-message:focus-within .mx-message-tools{opacity:1}
.mx-message-tools button{display:flex;align-items:center;justify-content:center;width:26px;height:29px;padding:4px;border:0;border-radius:7px;background:transparent;color:var(--mx-muted)}
.mx-message-tools button:hover{background:var(--mx-hover);color:var(--mx-accent)}
.mx-message-tools .mx-icon{width:15px;height:15px}
.mx-reply-preview{display:flex;flex-direction:column;width:100%;max-width:300px;min-width:0;margin-bottom:9px;padding:7px 9px;border:0;border-left:2px solid var(--mx-accent);border-radius:3px;background:var(--mx-tint);color:var(--mx-muted);text-align:left}
.mx-reply-preview>b{color:var(--mx-accent);font-size:10px}
.mx-reply-preview>span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.mx-sender-name{font-size:10px;font-weight:600;color:var(--mx-accent);margin-bottom:6px}
.mx-system{display:flex;justify-content:center;align-items:flex-start;gap:8px;font-size:10px;line-height:1.6;color:var(--mx-muted);text-align:center;margin:20px auto;max-width:90%}
.mx-system>.mx-icon{width:13px;height:13px;margin-top:2px}
.mx-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-width:340px;margin:0 0 8px}
.mx-attachments>button{display:block;min-width:0;padding:0;border:0;background:transparent;border-radius:7px;overflow:hidden}
.mx-attachments>button:only-child{grid-column:1/-1}
.mx-attachments img{display:block;width:100%;max-height:250px;object-fit:contain;border-radius:7px}
.mx-latest{position:absolute;right:20px;bottom:14px;display:flex;align-items:center;gap:6px;max-width:calc(100% - 40px);min-height:33px;padding:7px 11px;border:1px solid var(--mx-line);border-radius:9px;background:var(--mx-panel-2);color:var(--mx-accent);font-size:10px}
.mx-latest>.mx-icon{width:14px;height:14px}
.mx-load-older{display:block;margin:0 auto 14px;background:transparent;border:1px solid var(--mx-line);border-radius:8px;color:var(--mx-muted);font-size:10px;padding:7px 12px}
.mx-empty-conversation{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:200px;height:100%;text-align:center;color:var(--mx-muted)}
.mx-empty-conversation>.mx-icon{width:35px;height:35px;color:var(--mx-accent);margin-bottom:6px}
.mx-empty-conversation>b{font-size:16px;color:var(--mx-text);font-weight:600}
.mx-empty-conversation p{font-size:12px}
.mx-composer-wrap{position:relative;flex:none;padding:16px 22px 13px;background:var(--mx-panel);border-top:1px solid var(--mx-line)}
.mx-composer{display:flex;gap:6px;align-items:flex-end;padding:6px 7px;border:1px solid var(--mx-line);border-radius:12px;background:var(--mx-input)}
.mx-composer:focus-within{border-color:var(--mx-accent)}
.mx-composer textarea{resize:none;min-width:0;flex:1;min-height:35px;max-height:130px;padding:8px 5px;border:0;background:transparent;color:var(--mx-text);line-height:1.5;font-size:12px;outline:none!important;scrollbar-width:thin}
.mx-composer textarea::placeholder{color:var(--mx-muted)}
.mx-composer .mx-icon-btn{width:33px;height:35px;margin-bottom:1px}
.mx-composer .mx-icon{width:19px;height:19px}
.mx-send{display:flex;align-items:center;justify-content:center;flex:none;border:0;padding:9px;width:37px;height:37px;border-radius:9px;background:var(--mx-accent-strong);color:white}
.mx-send:disabled{opacity:.4}
.mx-composer-note{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--mx-muted);padding:9px 4px 0}
.mx-compose-mode{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:var(--mx-accent)}
.mx-compose-mode>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px;font-size:11px}
.mx-compose-mode small{color:var(--mx-muted);font-size:11px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.mx-compose-mode>b{font-size:11px}
.mx-file-previews{display:flex;flex-wrap:wrap;gap:9px;padding:4px 0 12px}
.mx-file-previews>span{position:relative;display:block;width:65px;height:55px;border:1px solid var(--mx-line);border-radius:9px;background:var(--mx-input)}
.mx-file-previews img{width:100%;height:100%;object-fit:cover;border-radius:9px}
.mx-file-previews button{position:absolute;right:-5px;top:-5px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid var(--mx-line);border-radius:50%;background:var(--mx-panel);color:var(--mx-text)}
.mx-file-previews .mx-icon{width:12px;height:12px}
.mx-error{padding:10px 12px;margin-bottom:12px;border-radius:8px;border:1px solid #79454d;background:#3b252c;color:#f3b2bb;font-size:12px;overflow-wrap:anywhere}
.mx-emoji-picker{position:absolute;bottom:calc(100% + 7px);right:22px;display:grid;grid-template-columns:repeat(6,1fr);padding:8px;border:1px solid var(--mx-line);background:var(--mx-panel-2);border-radius:12px;z-index:5}
.mx-emoji-picker>button{border:0;background:transparent;border-radius:6px;padding:7px;font-size:20px}
.mx-emoji-picker>button:hover{background:var(--mx-hover)}
.mx-in-search{position:absolute;top:76px;left:0;right:0;z-index:10;background:var(--mx-panel-2);border-bottom:1px solid var(--mx-line);padding:15px 20px}
.mx-in-search .mx-search{height:40px}
#mxSearchHits{max-height:210px;overflow:auto}
#mxSearchHits>small{display:block;padding:9px 0;color:var(--mx-muted);font-size:10px}
#mxSearchHits>button{display:flex;width:100%;align-items:center;gap:12px;text-align:left;border:0;border-top:1px solid var(--mx-line);padding:10px 2px;background:transparent;color:var(--mx-text)}
#mxSearchHits>button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
#mxSearchHits>button time{flex:none;font-size:9px;color:var(--mx-muted)}
.mx-highlight .mx-bubble{outline:2px solid var(--mx-accent);outline-offset:3px}
.mx-surface.mx-modal{width:min(460px,calc(100% - 32px));max-height:85dvh;margin:auto;border:1px solid var(--mx-line);border-radius:16px;background:var(--mx-panel);padding:0;box-shadow:none;color:var(--mx-text)}
.mx-modal::backdrop{background:rgba(0,0,0,.64)}
.mx-modal-inner{padding:23px}
.mx-modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}
.mx-modal-head h2{font-size:19px;letter-spacing:-.025em;font-weight:600}
.mx-modal-head .mx-eyebrow{margin-bottom:7px}
.mx-modal p{font-size:12px;line-height:1.8;color:var(--mx-muted);margin:12px 0}
.mx-modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.mx-action-list{display:flex;flex-direction:column;gap:5px}
.mx-action-list>button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:8px;background:transparent;padding:12px 9px;color:var(--mx-text);font-size:12px;text-align:left}
.mx-action-list>button:hover{background:var(--mx-hover)}
.mx-action-list>button.danger{color:var(--mx-danger)}
.mx-action-list .mx-icon{width:18px;height:18px}
.mx-full-image{display:block;max-width:100%;max-height:64dvh;object-fit:contain;margin:0 auto}
.mx-user-hits{max-height:330px;overflow:auto;margin-top:16px}
.mx-user-hits>button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:9px;padding:11px 5px;background:transparent;color:var(--mx-text);text-align:left}
.mx-user-hits>button:hover{background:var(--mx-hover)}
.mx-user-hits>button>span:not(.mx-avatar){flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.mx-user-hits b{font-size:12px;overflow-wrap:anywhere}
.mx-user-hits small{font-size:10px;color:var(--mx-muted)}
.mx-user-hits>button>.mx-icon{width:16px;height:16px;color:var(--mx-accent)}

/* Garant help center */
.help-root{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:28px 0 60px}
.help-root .garantBreadcrumb{margin-bottom:32px}
.help-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:5px 12px 35px 0}
.help-hero h1{font-size:40px;line-height:1.2;font-weight:650;letter-spacing:-.04em;margin:11px 0 16px}
.help-hero p{font-size:14px;line-height:1.85;color:var(--mx-muted)}
.help-hero-icon{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:100px;height:100px;background:var(--mx-tint);color:var(--mx-accent);border:1px solid var(--mx-line);border-radius:29px}
.help-hero-icon>.mx-icon{width:46px;height:46px}
.help-hero-icon i{position:absolute;right:-9px;bottom:-7px;border:5px solid var(--mx-bg);background:var(--mx-panel-2);border-radius:14px;padding:9px}
.help-hero-icon i>.mx-icon{width:22px;height:22px}
.help-nav{display:flex;align-items:center;gap:9px;margin-bottom:25px;padding:8px;border:1px solid var(--mx-line);border-radius:13px;background:var(--mx-panel)}
.help-nav>button,.help-nav>a{display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;background:transparent;color:var(--mx-muted);font-size:12px;padding:11px 15px}
.help-nav>button.active{background:var(--mx-tint);color:var(--mx-accent)}
.help-nav>.active>#helpCount{color:var(--mx-accent)}
.help-nav>a{margin-left:auto}
.help-nav .mx-icon{width:17px;height:17px}
#helpCount:empty{display:none}
#helpCount{padding:1px 5px;border:1px solid var(--mx-line);border-radius:5px;font-size:10px}
.help-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:23px}
.help-main{min-width:0}
.help-card{padding:29px;border:1px solid var(--mx-line);background:var(--mx-panel);border-radius:15px;min-width:0}
.help-card-title{display:flex;align-items:flex-start;gap:14px;margin-bottom:24px}
.help-step{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:1px solid var(--mx-line);border-radius:9px;background:var(--mx-panel-2);color:var(--mx-accent);font-size:10px}
.help-card-title h2{font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.02em;margin:3px 0 7px}
.help-card-title p{color:var(--mx-muted);font-size:12px;line-height:1.7}
.help-card-title .mx-eyebrow{margin-bottom:8px}
.help-field{display:flex;flex-direction:column;gap:9px;margin:0 0 21px;font-size:12px;color:var(--mx-text);font-weight:500;min-width:0}
.help-field>span b,.help-field>label b{color:var(--mx-accent);font-weight:500}
.help-field>span>small{color:var(--mx-muted);margin-left:5px;font-weight:400}
.help-field input,.help-field textarea,.help-field select,.help-history-tools>select{display:block;width:100%;min-width:0;border:1px solid var(--mx-line);border-radius:9px;background:var(--mx-input);padding:13px 14px;color:var(--mx-text);outline:none;min-height:45px;font-size:12px;line-height:1.5;font-weight:400}
.help-field input::placeholder,.help-field textarea::placeholder{color:var(--mx-muted)}
.help-field input:focus,.help-field textarea:focus,.help-field select:focus{border-color:var(--mx-accent)}
.help-field textarea{resize:vertical;min-height:150px;max-height:500px;line-height:1.8}
.help-field>small{font-size:10px;font-weight:400;color:var(--mx-muted);line-height:1.6}
.help-select-wrap{position:relative}
.help-select-wrap select{appearance:none;padding-right:42px}
.help-select-wrap>.mx-icon{position:absolute;right:15px;top:14px;width:17px;height:17px;pointer-events:none;color:var(--mx-muted)}
.help-counter{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.help-counter>span:last-child{white-space:nowrap}
.help-divider{height:1px;background:var(--mx-line);margin:28px 0}
.help-upload{display:flex;align-items:center;gap:15px;width:100%;min-height:79px;padding:17px;border:1px dashed var(--mx-line);border-radius:10px;background:var(--mx-panel-2);color:var(--mx-accent);text-align:left}
.help-upload:hover{border-color:var(--mx-accent)}
.help-upload>span{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.help-upload b{color:var(--mx-text);font-weight:500;font-size:12px}
.help-upload small{color:var(--mx-muted);font-size:10px;line-height:1.6}
.help-upload>.mx-icon{width:21px;height:21px}
.help-upload>.mx-icon:last-child{width:17px;height:17px}
.help-submit-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--mx-line);padding-top:22px;margin-top:25px}
.help-submit-row>span{display:flex;align-items:center;gap:9px;color:var(--mx-muted);font-size:10px;line-height:1.7}
.help-submit-row>span>.mx-icon{width:19px;height:19px;color:var(--mx-accent)}
.help-aside{display:flex;flex-direction:column;gap:16px;min-width:0}
.help-side-card{border:1px solid var(--mx-line);border-radius:13px;background:var(--mx-panel);padding:23px}
.help-side-icon{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid var(--mx-line);background:var(--mx-tint);color:var(--mx-accent);border-radius:10px;margin-bottom:17px}
.help-side-card h3{font-size:14px;font-weight:600;margin-bottom:12px}
.help-side-card p{font-size:12px;color:var(--mx-muted);line-height:1.9}
.help-side-card>.mx-text-btn{margin-top:17px;font-size:11px}
.help-steps{counter-reset:help-step;list-style:none;padding:0;margin:20px 0 0;display:flex;flex-direction:column;gap:23px}
.help-steps>li{position:relative;padding-left:31px;display:flex;flex-direction:column;gap:5px}
.help-steps>li:before{counter-increment:help-step;content:counter(help-step);position:absolute;top:0;left:0;width:20px;height:20px;border:1px solid var(--mx-line);border-radius:7px;display:flex;align-items:center;justify-content:center;color:var(--mx-accent);font-size:9px}
.help-steps b{font-size:11px;font-weight:600}
.help-steps span{font-size:11px;line-height:1.8;color:var(--mx-muted)}
.help-faq details{border-top:1px solid var(--mx-line);padding:13px 0}
.help-faq details:last-child{padding-bottom:0}
.help-faq summary{cursor:pointer;color:var(--mx-muted);font-size:11px}
.help-faq details p{font-size:11px;padding-top:10px}
.help-history-tools{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:20px}
.help-history-tools>.mx-search{flex:1}
.help-history-tools>select{width:150px;flex:none;font-size:10px;min-height:42px}
.help-ticket{display:flex;align-items:center;width:100%;text-align:left;padding:19px 2px;gap:13px;border:0;border-bottom:1px solid var(--mx-line);background:transparent;color:var(--mx-text)}
.help-ticket:hover{background:var(--mx-panel-2)}
.help-ticket-icon{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;background:var(--mx-tint);color:var(--mx-accent);border:1px solid var(--mx-line);border-radius:10px}
.help-ticket-copy{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.help-ticket-copy>span{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.help-ticket-copy b{font-size:12px;font-weight:600;overflow-wrap:anywhere}
.help-ticket-copy>small{font-size:9px;color:var(--mx-muted)}
.help-ticket-copy p{font-size:11px;color:var(--mx-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.help-status{padding:2px 7px;border:1px solid var(--mx-line);border-radius:5px;color:var(--mx-accent);font-size:9px;white-space:nowrap}
.help-status.waiting{color:#cfb379}
.help-status.resolved{color:var(--mx-muted)}
.help-ticket-end{display:flex;flex-direction:column;align-items:flex-end;gap:9px}
.help-ticket-end time{font-size:9px;color:var(--mx-muted);white-space:nowrap}
.help-ticket-end .mx-icon{width:15px;height:15px;color:var(--mx-accent)}
.help-success{display:flex;flex-direction:column;align-items:center;gap:16px;padding:35px 20px;text-align:center}
.help-success>.mx-icon{width:55px;height:55px;padding:13px;border:1px solid var(--mx-line);border-radius:17px;color:var(--mx-accent);background:var(--mx-tint)}
.help-success h2{font-size:24px;letter-spacing:-.03em}
.help-success p{color:var(--mx-muted);font-size:12px;line-height:1.8;max-width:340px}
.garantHelpHomeLink{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#7cbd98;background:#14221a;border:1px solid #2b3d30;border-radius:9px;padding:10px 15px;box-shadow:none;margin-top:16px}
.garantHelpHomeLink svg{width:18px;height:18px}
.mx-surface button{transition:background-color .15s,color .15s,border-color .15s}
@media(hover:none){.mx-message-tools{opacity:1}.mx-message-tools>[data-reply]{display:none}}
@media(max-width:980px){
 .mx-shell{grid-template-columns:280px minmax(0,1fr)}
 .mx-chat-row{gap:8px;padding:12px 7px}
 .mx-message-list{padding:18px}
 .help-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}
 .help-card{padding:22px}
 .help-side-card{padding:20px}
 .help-submit-row{flex-direction:column;align-items:stretch}
}
@media(max-width:720px){
 .mx-root{width:calc(100% - 24px);padding:19px 0 24px}
 .mx-page-top{margin-bottom:17px;gap:10px}
 .mx-page-top .mx-eyebrow{font-size:8px;letter-spacing:.06em}
 .mx-page-top h1{font-size:24px;margin-top:5px}
 .mx-help-link{padding:9px;font-size:10px;gap:6px}
 .mx-help-link>.mx-icon:last-child{display:none}
 .mx-help-link>.mx-icon{width:16px;height:16px}
 .mx-shell{display:block;height:clamp(300px,calc(100dvh - 222px),740px);border-radius:13px}
 .mx-sidebar{border:0;height:100%}
 .mx-dialog{display:none;height:100%}
 .mx-shell.has-chat .mx-sidebar{display:none}
 .mx-shell.has-chat .mx-dialog{display:flex}
 .mx-surface .mx-mobile-back{display:flex;width:26px;padding:3px}
 .mx-sidebar-top{padding:18px 19px 13px}
 .mx-dialog-header{gap:8px;min-height:68px;padding:13px 10px}
 .mx-dialog-tools{gap:0}
 .mx-dialog-tools .mx-icon-btn{width:29px;height:31px;padding:5px}
 .mx-peer>b{font-size:12px}
 .mx-peer>span{font-size:9px}
 .mx-context-banner{padding:11px 13px;gap:8px}
 .mx-context-banner>span:last-child:not(:first-child){font-size:0}
 .mx-context-banner>span:last-child .mx-icon{width:17px;height:17px}
 .mx-context-banner .mx-ticket-tag{font-size:8px}
 .mx-context-banner .mx-text-btn{font-size:9px}
 .mx-message-list{padding:13px 12px 18px}
 .mx-message{max-width:97%;gap:3px;margin-bottom:10px}
 .mx-message-tools{opacity:1}
 .mx-message-tools>[data-reply]{display:none}
 .mx-bubble{padding:9px 11px 6px}
 .mx-bubble p{font-size:12px}
 .mx-composer-wrap{padding:11px 10px 9px}
 .mx-composer{gap:2px;padding:5px}
 .mx-composer textarea{font-size:13px;padding:8px 3px}
 .mx-composer-note{font-size:8px;gap:6px}
 .mx-composer-note>span:first-child{max-width:250px}
 .mx-in-search{top:68px;padding:12px}
 .mx-modal-inner{padding:20px}
 .help-root{width:calc(100% - 28px);padding-top:22px}
 .help-root .garantBreadcrumb{margin-bottom:24px}
 .help-hero{padding:0 10px 26px 0;gap:14px}
 .help-hero h1{font-size:29px}
 .help-hero p{font-size:12px}
 .help-hero-icon{width:65px;height:65px;border-radius:20px}
 .help-hero-icon>.mx-icon{width:32px;height:32px}
 .help-hero-icon i{padding:5px;bottom:-10px;right:-10px;border-width:4px}
 .help-hero-icon i>.mx-icon{width:15px;height:15px}
 .help-layout{grid-template-columns:minmax(0,1fr)}
 .help-aside{display:grid;grid-template-columns:1fr 1fr}
 .help-faq{grid-column:1/-1}
 .help-nav{gap:3px;padding:6px;flex-wrap:wrap}
 .help-nav>button,.help-nav>a{font-size:10px;padding:9px 8px;gap:5px}
 .help-nav>a{margin-left:0}
 .help-card{padding:20px}
 .help-card-title{gap:10px}
 .help-card-title h2{font-size:18px}
 .help-card-title p{font-size:11px}
 .help-step{width:28px;height:28px;font-size:9px}
 .help-field input,.help-field textarea,.help-field select{font-size:13px}
 .help-history-tools{flex-wrap:wrap}
 .help-history-tools>.mx-search{flex-basis:100%}
 .help-history-tools>select{width:100%}
}
@media(max-width:420px){
 .help-aside{grid-template-columns:1fr}
 .help-faq{grid-column:auto}
 .help-hero h1{font-size:27px}
 .help-hero .mx-eyebrow{font-size:9px}
 .help-counter{font-size:9px!important}
 .help-ticket{gap:8px}
 .help-ticket-icon{width:30px;height:30px}
 .help-ticket-copy b{font-size:11px}
 .mx-composer-note>span:first-child{font-size:7px}
 .mx-help-link{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.mx-surface *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.gdealChatImages{display:flex;flex-wrap:wrap;gap:7px;margin:7px 0}.gdealChatImages a{display:block;max-width:160px}.gdealChatImages img{display:block;max-width:100%;max-height:180px;object-fit:contain;border-radius:8px}

/* v72: same width as the site's content, no viewport-wide or min-content expansion. */
.mx-root,.help-root{box-sizing:border-box}
.mx-root :is(.mx-dialog,.mx-scroll-wrap,.mx-message-list,.mx-composer-wrap,.mx-composer,.mx-bubble,.mx-chat-copy){min-width:0;max-width:100%}
.mx-root .mx-bubble{overflow-wrap:anywhere}
.mx-root :is(.mx-page-top>div,.mx-welcome){min-width:0}
.mx-root .mx-help-link{flex-shrink:0}
.mx-context-banner .mx-context-copy{flex:1;min-width:0}
.help-history-tools{flex-wrap:wrap}
.help-history-tools>.mx-search{flex:1;min-width:180px}
.help-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--mx-muted);font-size:13px;line-height:1.5;margin:0 0 28px}
.help-breadcrumb a:hover{color:var(--mx-accent)}
.help-breadcrumb [aria-current]{color:var(--mx-text)}
.help-guide-links{border-top:1px solid var(--mx-line);padding-top:14px;margin-top:10px;display:grid;gap:12px}
.help-guide-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--mx-accent)}
.help-guide-links .mx-icon{width:15px;height:15px}
.headerNav .headerNavTools{display:flex;align-items:center;gap:14px;flex:none;min-width:0;margin-left:auto}
.headerNavTools .headerLangSwitch{margin-left:0}
.headerNav a.marketSupportNav{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;min-height:32px;padding:4px 0;border:0;background:transparent;text-decoration:none;color:#98b0d0;font-size:12px;font-weight:600;box-shadow:none}
.headerNav a.marketSupportNav:hover,.headerNav a.marketSupportNav.active{color:#8ebdff}
.marketSupportNav .mx-icon{width:17px;height:17px;flex:none}
.headerNav a.marketSupportNav:focus-visible{outline:2px solid #8ebdff;outline-offset:3px;border-radius:5px}
@media(max-width:760px){
 .mx-root{width:calc(100% - 28px)}
 .headerNav>.container.headerNavInner{gap:12px!important}
 .headerNav .headerNavTools{gap:10px}
 .headerNav a.marketSupportNav{font-size:11px;gap:5px}
}
@media(max-width:420px){
 .mx-root{width:calc(100% - 28px)}
 .headerNav .headerNavTools{gap:8px}
 .headerNav a.marketSupportNav .mx-icon{display:none}
 .mx-page-top .mx-eyebrow{font-size:7px}
 .mx-page-top h1{font-size:23px}
 .mx-context-banner{flex-wrap:wrap}
}
@media(max-height:520px){
 .mx-root{padding-top:16px}
 .mx-page-top{margin-bottom:12px}
 .mx-shell{height:clamp(250px,calc(100dvh - 184px),360px)}
}

/* v73: header popovers use the same MARKET graphite, with the existing
   light transparency and no blur or shadows. No global or Garant overrides. */
.marketSocialHead{--pop-accent:var(--blue2,#74b4ff)}
.marketSocialHead .socialPopover{
 background:rgba(26,30,39,.88)!important;
 border-color:color-mix(in srgb,var(--line,#2a303b) 88%,transparent)!important;
 color:var(--text,#f7f9fc);
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
 box-shadow:none!important;
}
.marketSocialHead .socialPopHead{border-color:var(--line,#2a303b)}
.marketSocialHead .socialPopRow:hover,
.marketSocialHead .socialNotifIcon{background:var(--surface2,#1d222b)!important}
.marketSocialHead .socialAvatar{
 background:var(--surface3,#232934)!important;
 border-color:var(--line,#2a303b)!important;
 color:var(--blue2,#74b4ff)!important;
}
