:root{
  --bm-help-accent:#6f62d9;
  --bm-help-accent-2:#5548bb;
  --bm-help-ink:#29263c;
  --bm-help-muted:#77738a;
  --bm-help-line:rgba(58,51,91,.12);
  --bm-help-soft:#f7f6fb;
  --bm-help-surface:#fff;
}

#dashboardHelpBtn{position:relative;display:none}
#dashboardHelpBtn.bmHelpVisible{display:inline-flex}
#dashboardHelpBtn .bmHelpQuestionIcon{width:19px;height:19px;display:block}
#dashboardHelpBtn .bmHelpQuestionIcon circle,#dashboardHelpBtn .bmHelpQuestionIcon path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#dashboardHelpBtn .bmHelpNewDot{position:absolute;right:2px;top:2px;width:6px;height:6px;border-radius:50%;background:#7868ed;box-shadow:0 0 0 2px #fff}

.bmHelpModal{position:fixed;inset:0;z-index:2147482100;display:none;align-items:center;justify-content:center;padding:24px}
.bmHelpModal.open{display:flex}
.bmHelpBackdrop{position:absolute;inset:0;background:rgba(25,22,42,.42);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.bmHelpWindow{position:relative;width:min(1060px,calc(100vw - 32px));height:min(760px,calc(100vh - 40px));min-height:520px;display:grid;grid-template-columns:300px minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.7);border-radius:26px;background:rgba(255,255,255,.97);box-shadow:0 30px 90px rgba(34,28,64,.28);color:var(--bm-help-ink)}
.bmHelpSidebar{display:flex;min-width:0;flex-direction:column;padding:24px 18px 18px;background:linear-gradient(180deg,#f8f7fc 0%,#f2f0f8 100%);border-right:1px solid var(--bm-help-line)}
.bmHelpBrandRow{display:flex;align-items:center;gap:12px;padding:0 6px 18px}
.bmHelpBrandIcon{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,var(--bm-help-accent),var(--bm-help-accent-2));box-shadow:0 10px 25px rgba(93,78,198,.24)}
.bmHelpBrandIcon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bmHelpBrandTitle{font-size:18px;font-weight:800;letter-spacing:-.025em}
.bmHelpBrandSub{margin-top:2px;font-size:12px;color:var(--bm-help-muted)}
.bmHelpSearch{position:relative;margin:0 4px 14px}
.bmHelpSearch svg{position:absolute;left:13px;top:50%;width:17px;height:17px;transform:translateY(-50%);fill:none;stroke:#8a859d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.bmHelpSearch input{width:100%;height:42px;padding:0 13px 0 39px;border:1px solid rgba(64,56,98,.11);border-radius:13px;background:rgba(255,255,255,.78);font:600 13px/1.2 Manrope,sans-serif;color:var(--bm-help-ink);outline:none;box-sizing:border-box}
.bmHelpSearch input:focus{border-color:rgba(111,98,217,.5);box-shadow:0 0 0 3px rgba(111,98,217,.10);background:#fff}
.bmHelpNav{flex:1;min-height:0;overflow:auto;padding:2px 3px 12px;scrollbar-width:thin}
.bmHelpNavBtn{width:100%;display:flex;align-items:center;gap:11px;padding:11px 12px;margin:2px 0;border:0;border-radius:13px;background:transparent;color:#5f5a73;text-align:left;font:700 13px/1.25 Manrope,sans-serif;cursor:pointer;transition:.18s ease}
.bmHelpNavBtn:hover{background:rgba(255,255,255,.72);color:#373249}
.bmHelpNavBtn.active{background:#fff;color:var(--bm-help-accent-2);box-shadow:0 5px 18px rgba(48,38,84,.08)}
.bmHelpNavBtn svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bmHelpSidebarBottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 5px 0;border-top:1px solid rgba(55,48,85,.09)}
.bmHelpLang{display:flex;padding:3px;border-radius:11px;background:rgba(55,48,85,.07)}
.bmHelpLang button{height:29px;min-width:38px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:#777287;font:800 11px Manrope,sans-serif;cursor:pointer}
.bmHelpLang button.active{background:#fff;color:var(--bm-help-accent-2);box-shadow:0 3px 9px rgba(48,38,84,.09)}
.bmHelpVersion{font-size:10px;color:#9b97a9}
.bmHelpMain{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}
.bmHelpTop{height:72px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:1px solid var(--bm-help-line)}
.bmHelpTopTitle{font-size:15px;font-weight:800;color:#3b374d}
.bmHelpClose{width:38px;height:38px;border:1px solid rgba(52,46,78,.10);border-radius:12px;background:#f8f7fa;color:#625d73;font-size:22px;line-height:1;cursor:pointer;transition:.16s ease}
.bmHelpClose:hover{background:#f0eef7;color:#312c44;transform:translateY(-1px)}
.bmHelpContent{flex:1;min-height:0;overflow:auto;padding:26px 30px 34px;scrollbar-width:thin}
.bmHelpHero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px;align-items:center;padding:24px;border:1px solid rgba(105,90,204,.13);border-radius:20px;background:linear-gradient(135deg,#f8f7ff,#f1effc);overflow:hidden}
.bmHelpHero:after{content:"?";position:absolute;right:32px;top:-42px;font-size:170px;font-weight:800;color:rgba(102,87,199,.06);pointer-events:none}
.bmHelpHeroKicker{display:inline-flex;align-items:center;gap:7px;color:var(--bm-help-accent-2);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.bmHelpHeroKicker svg{width:14px;height:14px;flex:0 0 auto}
.bmHelpHero h2{margin:8px 0 7px;font-size:25px;line-height:1.15;letter-spacing:-.035em;color:#2d2940}
.bmHelpHero p{max-width:520px;margin:0;color:#6f6a81;font-size:13px;line-height:1.55}
.bmHelpTourBtn{position:relative;z-index:1;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 18px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--bm-help-accent),var(--bm-help-accent-2));box-shadow:0 12px 28px rgba(93,78,198,.24);color:#fff;font:800 13px Manrope,sans-serif;cursor:pointer;transition:.18s ease}
.bmHelpTourBtn:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(93,78,198,.29)}
.bmHelpTourBtn svg{width:17px;height:17px;fill:currentColor;stroke:none}
.bmHelpSectionHead{display:flex;align-items:center;justify-content:space-between;margin:27px 2px 13px}
.bmHelpSectionHead h3{margin:0;font-size:15px;letter-spacing:-.015em}
.bmHelpTopicCount{font-size:11px;color:#9893a5}
.bmHelpCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bmHelpCard{display:flex;align-items:flex-start;gap:13px;min-width:0;padding:16px;border:1px solid var(--bm-help-line);border-radius:16px;background:#fff;text-align:left;cursor:pointer;transition:.18s ease}
.bmHelpCard:hover{transform:translateY(-2px);border-color:rgba(102,87,199,.25);box-shadow:0 12px 28px rgba(47,39,79,.08)}
.bmHelpCardIcon{width:39px;height:39px;flex:0 0 auto;display:grid;place-items:center;border-radius:13px;background:var(--bm-help-soft);color:var(--bm-help-accent-2)}
.bmHelpCardIcon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bmHelpCardText{min-width:0;display:flex;flex-direction:column;gap:5px}
.bmHelpCardTitle{display:block;font-size:13px;font-weight:800;line-height:1.35;color:#393448}
.bmHelpCardSummary{display:block;color:#817c8f;font-size:11px;line-height:1.5}
.bmHelpEmpty{padding:56px 20px;text-align:center;color:#827d90;font-size:13px}
.bmHelpArticleBack{display:inline-flex;align-items:center;gap:7px;margin:0 0 18px;padding:0;border:0;background:none;color:var(--bm-help-accent-2);font:800 12px Manrope,sans-serif;cursor:pointer}
.bmHelpArticleBack:before{content:'←';font-size:16px}
.bmHelpArticleHead{display:flex;align-items:flex-start;gap:15px;padding-bottom:22px;border-bottom:1px solid var(--bm-help-line)}
.bmHelpArticleIcon{width:52px;height:52px;flex:0 0 auto;display:grid;place-items:center;border-radius:17px;color:#fff;background:linear-gradient(145deg,var(--bm-help-accent),var(--bm-help-accent-2));box-shadow:0 10px 25px rgba(93,78,198,.2)}
.bmHelpArticleIcon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bmHelpArticleHead h2{margin:2px 0 7px;font-size:24px;line-height:1.2;letter-spacing:-.035em}
.bmHelpArticleHead p{margin:0;color:#7b7689;font-size:13px;line-height:1.5}
.bmHelpArticleSection{margin-top:24px}
.bmHelpArticleSection h3{margin:0 0 13px;font-size:14px}
.bmHelpStepList{display:grid;gap:10px;counter-reset:helpstep}
.bmHelpStepItem{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start;padding:14px 15px;border:1px solid var(--bm-help-line);border-radius:15px;background:#fcfbfd;color:#565166;font-size:13px;line-height:1.55;counter-increment:helpstep}
.bmHelpStepItem:before{content:counter(helpstep);width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#eeebfb;color:var(--bm-help-accent-2);font-weight:800}
.bmHelpTip{display:flex;align-items:flex-start;gap:11px;padding:15px 16px;border-radius:15px;background:#f2effd;color:#514a75;font-size:12px;line-height:1.5}
.bmHelpTip:before{content:'✦';color:var(--bm-help-accent);font-size:16px}

.bmTourRoot{position:fixed;inset:0;z-index:2147483000;display:none;pointer-events:none}
.bmTourRoot.open{display:block}
.bmTourSpotlight{position:fixed;border:2px solid rgba(255,255,255,.95);border-radius:16px;box-shadow:0 0 0 9999px rgba(23,20,38,.69),0 0 0 5px rgba(111,98,217,.42),0 18px 55px rgba(19,15,40,.28);transition:top .32s ease,left .32s ease,width .32s ease,height .32s ease,border-radius .2s ease;pointer-events:none}
.bmTourPulse{position:absolute;inset:-8px;border:2px solid rgba(137,121,255,.46);border-radius:inherit;animation:bmHelpPulse 1.9s ease-out infinite}
@keyframes bmHelpPulse{0%{opacity:.72;transform:scale(.985)}70%,100%{opacity:0;transform:scale(1.045)}}
.bmTourCard{position:fixed;width:min(380px,calc(100vw - 28px));padding:19px;border:1px solid rgba(255,255,255,.65);border-radius:20px;background:rgba(255,255,255,.98);box-shadow:0 24px 70px rgba(20,16,40,.32);color:var(--bm-help-ink);pointer-events:auto;transition:top .28s ease,left .28s ease}
.bmTourHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.bmTourIconTitle{display:flex;align-items:flex-start;gap:12px;min-width:0}
.bmTourIcon{width:40px;height:40px;flex:0 0 auto;display:grid;place-items:center;border-radius:13px;background:#f0edfc;color:var(--bm-help-accent-2)}
.bmTourIcon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bmTourTitleWrap{min-width:0}
.bmTourCounter{margin-bottom:4px;color:#938da3;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.075em}
.bmTourTitle{font-size:16px;font-weight:800;line-height:1.25;letter-spacing:-.02em;word-break:break-word}
.bmTourClose{width:30px;height:30px;flex:0 0 auto;border:0;border-radius:9px;background:#f5f3f8;color:#716b80;font-size:19px;cursor:pointer}
.bmTourText{margin:14px 1px 16px;color:#666174;font-size:12px;line-height:1.58}
.bmTourProgress{height:4px;margin-bottom:16px;border-radius:999px;background:#eeecf3;overflow:hidden}
.bmTourProgress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--bm-help-accent),var(--bm-help-accent-2));transition:width .25s ease}
.bmTourActions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bmTourSkip{padding:8px 4px;border:0;background:none;color:#8b8698;font:700 11px Manrope,sans-serif;cursor:pointer}
.bmTourNavBtns{display:flex;gap:8px}
.bmTourNavBtn{height:38px;padding:0 14px;border:1px solid rgba(63,56,94,.13);border-radius:11px;background:#fff;color:#514b61;font:800 11px Manrope,sans-serif;cursor:pointer}
.bmTourNavBtn:disabled{opacity:.4;cursor:default}
.bmTourNavBtn.primary{border-color:transparent;background:linear-gradient(135deg,var(--bm-help-accent),var(--bm-help-accent-2));color:#fff;box-shadow:0 8px 20px rgba(93,78,198,.2)}
.bmTourKeyboard{margin-top:12px;text-align:center;color:#aaa5b3;font-size:9px}
body.bmHelpTourActive{overscroll-behavior:contain}
body.bmHelpTourActive .bmHelpModal{display:none!important}

@media(max-width:900px){
  .bmHelpWindow{grid-template-columns:245px minmax(0,1fr)}
  .bmHelpSidebar{padding-left:13px;padding-right:13px}
  .bmHelpContent{padding:22px}
  .bmHelpHero{grid-template-columns:1fr}
  .bmHelpTourBtn{justify-self:start}
}
@media(max-width:700px){
  .bmHelpModal{padding:0;align-items:stretch}
  .bmHelpWindow{width:100%;height:100%;min-height:0;border:0;border-radius:0;display:flex;flex-direction:column}
  .bmHelpSidebar{flex:0 0 auto;padding:12px 14px 10px;border-right:0;border-bottom:1px solid var(--bm-help-line)}
  .bmHelpBrandRow{padding:0 2px 10px}
  .bmHelpBrandIcon{width:36px;height:36px;border-radius:12px}
  .bmHelpBrandTitle{font-size:16px}
  .bmHelpBrandSub,.bmHelpVersion{display:none}
  .bmHelpSearch{margin:0 0 8px}
  .bmHelpNav{display:flex;gap:5px;overflow-x:auto;overflow-y:hidden;padding:0 0 4px}
  .bmHelpNavBtn{width:auto;flex:0 0 auto;padding:8px 10px;margin:0;white-space:nowrap}
  .bmHelpNavBtn svg{width:16px;height:16px}
  .bmHelpSidebarBottom{position:absolute;z-index:3;right:60px;top:15px;padding:0;border:0}
  .bmHelpMain{flex:1;min-height:0}
  .bmHelpTop{height:60px;padding:0 15px}
  .bmHelpContent{padding:17px 15px 28px}
  .bmHelpHero{padding:19px;border-radius:17px}
  .bmHelpHero h2{font-size:21px}
  .bmHelpCards{grid-template-columns:1fr}
  .bmHelpCard{padding:14px}
  .bmTourCard{padding:17px;border-radius:18px}
}
@media(max-width:520px){
  #dashboardHelpBtn{width:38px;height:38px}
  .bmHelpBrandSub{display:none}
  .bmHelpHero{grid-template-columns:1fr}
  .bmHelpTourBtn{width:100%}
  .bmHelpArticleHead h2{font-size:21px}
  .bmTourCard{width:calc(100vw - 20px)}
}

/* Help Center scrolling and short-screen safety */
.bmHelpWindow{min-height:0}
.bmHelpSidebar{min-height:0;overflow:hidden}
.bmHelpBrandRow,.bmHelpSearch,.bmHelpSidebarBottom{flex:0 0 auto}
.bmHelpSidebarBottom{position:relative;z-index:2;background:inherit}
@media(max-height:620px) and (min-width:701px){
  .bmHelpModal{padding:8px}
  .bmHelpWindow{height:calc(100vh - 16px);min-height:0}
  .bmHelpSidebar{padding-top:16px;padding-bottom:12px}
  .bmHelpBrandRow{padding-bottom:12px}
  .bmHelpTop{height:60px}
  .bmHelpContent{padding-top:18px;padding-bottom:24px}
}
.bmHelpSidebar{max-height:100%;box-sizing:border-box}
.bmHelpNav{overscroll-behavior:contain}

/* Visual tour editor */
.bmTourEditorToolbar,.bmTourEditorHint,.bmTourEditorPosition,.bmTourEditorActions{display:none}
.bmTourRoot.editor .bmTourCard{width:min(470px,calc(100vw - 24px));padding:14px 17px 16px;border-color:rgba(111,96,214,.34)}
.bmTourRoot.editor .bmTourEditorToolbar{display:flex;align-items:center;gap:8px;margin:-3px -3px 13px;padding:7px;border-radius:13px;background:#f4f1ff;border:1px solid rgba(105,88,207,.13)}
.bmTourEditorDrag{min-width:0;display:flex;align-items:center;gap:7px;height:32px;padding:0 8px;border:0;border-radius:9px;background:transparent;color:#5547b9;font:800 11px Manrope,sans-serif;cursor:grab;touch-action:none;white-space:nowrap}
.bmTourEditorDrag:active,.bmTourCard.dragging .bmTourEditorDrag{cursor:grabbing}
.bmTourEditorDrag span{font-size:18px;line-height:1}
.bmTourEditorStepSelect{min-width:0;flex:1;height:32px;border:1px solid rgba(65,55,111,.13);border-radius:9px;background:#fff;color:#3d374f;padding:0 8px;font:700 10px Manrope,sans-serif;outline:none}
.bmTourEditorLang{display:flex;gap:2px;padding:2px;border-radius:9px;background:#e9e5f8}
.bmTourEditorLang button{height:27px;min-width:31px;padding:0 7px;border:0;border-radius:7px;background:transparent;color:#706a80;font:800 9px Manrope,sans-serif;cursor:pointer}
.bmTourEditorLang button.active{background:#fff;color:#5547b9;box-shadow:0 2px 7px rgba(46,37,86,.1)}
.bmTourEditorExitIcon{width:30px;height:30px;flex:0 0 auto;border:0;border-radius:9px;background:#fff;color:#716b80;font-size:18px;cursor:pointer}
.bmTourRoot.editor .bmTourClose{display:none}
.bmTourRoot.editor .bmTourTitle,.bmTourRoot.editor .bmTourText{border:1px dashed transparent;border-radius:8px;outline:none;transition:.15s ease}
.bmTourRoot.editor .bmTourTitle{min-height:22px;padding:2px 5px;margin-left:-5px}
.bmTourRoot.editor .bmTourText{min-height:54px;padding:7px 8px;margin:8px -8px 10px;white-space:pre-wrap}
.bmTourRoot.editor .bmTourTitle:hover,.bmTourRoot.editor .bmTourText:hover{border-color:rgba(101,84,202,.26);background:#faf9ff}
.bmTourRoot.editor .bmTourTitle:focus,.bmTourRoot.editor .bmTourText:focus{border-style:solid;border-color:rgba(101,84,202,.48);background:#fff;box-shadow:0 0 0 3px rgba(101,84,202,.08)}
.bmTourRoot.editor [contenteditable="true"]:empty:before{content:attr(data-placeholder);color:#aaa4b7;pointer-events:none}
.bmTourRoot.editor .bmTourEditorHint{display:block;margin:-5px 0 11px;color:#9b95a8;font-size:9px;line-height:1.4}
.bmTourRoot.editor .bmTourEditorPosition{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 12px;padding:9px;border-radius:12px;background:#faf9fc;border:1px solid rgba(63,55,90,.09)}
.bmTourEditorBtn{height:31px;padding:0 10px;border:1px solid rgba(64,55,95,.12);border-radius:9px;background:#fff;color:#514a61;font:800 9px Manrope,sans-serif;cursor:pointer}
.bmTourEditorBtn:hover{background:#f1eefb;color:#5547b9}
.bmTourEditorBtn.off{color:#b55b67;background:#fff7f8}
.bmTourEditorPositionStatus{min-width:120px;flex:1;text-align:right;color:#8c8698;font-size:9px;line-height:1.3}
.bmTourRoot.editor .bmTourActions{display:none}
.bmTourRoot.editor .bmTourEditorActions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.bmTourRoot.editor .bmTourKeyboard{margin-top:9px}
.bmTourRoot.editor .bmTourProgress{margin-bottom:11px}
.bmTourRoot.editor .bmTourPulse{animation:none;opacity:.35}
body.bmHelpTourEditorActive{user-select:auto}
body.bmHelpTourEditorActive .bmTourCard.dragging{user-select:none}

@media(max-width:650px){
  .bmTourRoot.editor .bmTourCard{width:calc(100vw - 16px);padding:11px 13px 14px}
  .bmTourRoot.editor .bmTourEditorToolbar{flex-wrap:wrap}
  .bmTourEditorDrag{flex:1}
  .bmTourEditorStepSelect{order:3;flex-basis:100%}
  .bmTourEditorPositionStatus{flex-basis:100%;text-align:left}
}
