/* Bot workbench: the markup and dynamic templates are rebuilt in sections/bots.py. */
html.mx-cabinet[data-page="dashboard"] body #botsView,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium,.bot-guide-modal{--bots-ink:#203529;--bots-green:#245b43;--bots-paper:#f7f7f1;--bots-muted:#68756a;--bots-line:#dce2d8;--bots-soft:#eef2e9;--bots-error:#984b3d;color:var(--bots-ink)}
html.mx-cabinet[data-page="dashboard"] body #botsView{padding:0!important;min-width:0!important;background:transparent!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-wrapper{width:100%!important;max-width:1240px!important;margin:0 auto!important;padding:30px 32px 56px!important;box-sizing:border-box!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;margin:0 0 24px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-header-left{display:block!important;min-width:0!important}
.bots-kicker{display:block;color:#68756a;font-size:10px;font-weight:700;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;margin:0 0 7px}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-title{color:var(--bots-ink)!important;font-size:32px!important;line-height:1.1!important;font-weight:650!important;letter-spacing:-1.1px!important;margin:0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-subtitle{color:var(--bots-muted)!important;font-size:13px!important;line-height:1.5!important;margin:10px 0 0!important;max-width:none!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-add-btn,html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:42px!important;padding:0 18px!important;border:1px solid var(--bots-green)!important;border-radius:7px!important;background:var(--bots-green)!important;color:#fff!important;box-shadow:none!important;transform:none!important;font-family:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;white-space:nowrap!important;cursor:pointer!important;letter-spacing:0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-add-btn>span{font-size:22px;line-height:1;font-weight:400}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-add-btn:hover,html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state-button:hover{background:#1b4934!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-filter-panel{border:1px solid var(--bots-line);border-radius:10px;background:#fcfcf8;margin-bottom:20px;padding:15px 17px}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-tabs{display:flex;align-items:center;gap:3px!important;padding:3px!important;border-radius:7px!important;background:var(--bots-soft)!important;border:0!important;flex-shrink:0}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-tab{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:8px 13px!important;min-height:33px!important;border:0!important;border-radius:5px!important;color:var(--bots-muted)!important;background:transparent!important;font-size:12px!important;font-weight:600!important;box-shadow:none!important;white-space:nowrap!important;cursor:pointer}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-tab.active{color:var(--bots-green)!important;background:#fff!important;box-shadow:0 1px 3px #2035290b!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-tab-count{color:inherit!important;background:transparent!important;padding:0!important;font-size:10px!important;min-width:0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-search-wrapper{display:flex!important;align-items:center!important;gap:10px!important;position:relative!important;flex:1 1 260px!important;min-width:120px!important;max-width:none!important;margin:0!important;padding:0 12px!important;height:40px!important;background:#fff!important;border:1px solid var(--bots-line)!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--bots-muted)!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-search-wrapper>svg{position:static!important;transform:none!important;flex:0 0 18px!important;color:var(--bots-muted)!important}
html.mx-cabinet[data-page="dashboard"] body #botsView #botsSearchInput{width:100%!important;min-width:0!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:var(--bots-ink)!important;font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important;text-overflow:ellipsis!important}
html.mx-cabinet[data-page="dashboard"] body #botsView #botsSearchInput::placeholder{color:#7b867c!important;opacity:1!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-filter-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-provider-filter{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-pfilter{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:7px 11px!important;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;color:var(--bots-muted)!important;font-size:11px!important;font-weight:500!important;line-height:1.2!important;box-shadow:none!important;cursor:pointer!important;white-space:nowrap}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-pfilter.active{background:#e8eee4!important;border-color:#dbe5d5!important;color:var(--bots-green)!important;font-weight:650!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-pfilter-count{display:inline!important;background:none!important;color:inherit!important;padding:0!important;min-width:0!important;font-size:10px!important;opacity:.7!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-result-count{font-size:11px!important;line-height:1.5;color:var(--bots-muted)!important;margin:0!important;white-space:nowrap}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-result-count strong{color:var(--bots-ink);font-weight:650}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-owners-bar{display:flex;align-items:center;gap:6px;overflow:auto!important;padding:12px 0 0!important;margin:12px 0 0!important;border-top:1px solid var(--bots-line)!important;background:none!important;scrollbar-width:thin;max-width:100%;box-sizing:border-box}
html.mx-cabinet[data-page="dashboard"] body #botsView .owner-pill{display:inline-flex!important;gap:8px!important;align-items:center!important;padding:6px 10px!important;border:1px solid var(--bots-line)!important;border-radius:5px!important;background:#fff!important;color:var(--bots-muted)!important;font-size:10px!important;white-space:nowrap!important;flex-shrink:0;cursor:pointer;box-shadow:none!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .owner-pill.active,html.mx-cabinet[data-page="dashboard"] body #botsView .owner-pill.active-clear{background:var(--bots-soft)!important;color:var(--bots-green)!important;border-color:#b8cbb4!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .owner-pill-count{font-size:10px!important;background:none!important;color:inherit!important;padding:0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView #botsList.bots-cards-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:start!important;align-content:start!important;width:100%!important;min-width:0!important;margin:0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-glass{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;height:auto!important;padding:20px 20px 0!important;border:1px solid var(--bots-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:0 3px 12px #20352903!important;cursor:default!important;transform:none!important;transition:border-color .16s ease!important;overflow:hidden!important;box-sizing:border-box!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-glass:hover{border-color:#aebfa7!important;box-shadow:0 3px 12px #20352903!important;transform:none!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-glass:before,html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-glass:after{display:none!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-header{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;margin:0 0 12px!important;padding:0!important;border:0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-channel-mark{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid #dce7d7;border-radius:10px;background:#f0f4ec;color:var(--bots-green);font-size:20px;font-weight:600}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-identity{flex:1;min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-provider-badge{display:block!important;width:fit-content!important;margin:0 0 4px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:var(--bots-muted)!important;font-size:9px!important;line-height:1!important;font-weight:650!important;letter-spacing:.05em!important;text-transform:uppercase!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-title{display:block!important;min-width:0!important;max-width:100%!important;margin:0!important;font-size:15px!important;line-height:1.35!important;font-weight:650!important;letter-spacing:-.25px!important;color:var(--bots-ink)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-status-toggle{position:relative!important;display:block!important;flex:0 0 31px!important;width:31px!important;height:18px!important;padding:0!important;border:1px solid #c8d0c4!important;border-radius:20px!important;background:#e4e8e0!important;cursor:pointer!important;transition:background .15s!important;box-shadow:none!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-status-toggle::after{position:absolute!important;content:""!important;top:2px!important;left:2px!important;width:12px!important;height:12px!important;border-radius:50%!important;background:#fff!important;transform:none!important;box-shadow:0 1px 2px #20352922!important;transition:transform .15s!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-status-toggle.active{border-color:var(--bots-green)!important;background:var(--bots-green)!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-status-toggle.active::after{left:2px!important;transform:translateX(13px)!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-status-toggle.is-pending{opacity:.5;pointer-events:none}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-status-line{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--bots-muted);margin:0 0 15px}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-health-dot{display:inline-block!important;position:static!important;width:6px!important;height:6px!important;flex:0 0 6px!important;border:0!important;border-radius:50%!important;box-shadow:none!important;animation:none!important;background:#9da69a!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-health-dot.is-running{background:var(--bots-green)!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-health-dot.is-starting{background:#aa8c43!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-health-dot.is-error{background:var(--bots-error)!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-error-line{margin:-3px 0 13px!important;padding:8px 10px!important;background:#faf0eb!important;border:1px solid #ead4ca!important;border-radius:5px!important;color:var(--bots-error)!important;font-size:10px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-organization{margin:0 0 17px;font-size:12px;line-height:1.5;color:var(--bots-ink);overflow-wrap:anywhere}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-organization.is-empty{color:#879082}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-metrics{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:10px;margin:0 0 18px;padding:15px 0 0;border-top:1px solid #edf0e8}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-metrics>div{min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-metrics dt{font-size:9px;line-height:1.4;color:var(--bots-muted);margin:0 0 5px;overflow-wrap:anywhere}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-metrics dd{font-size:18px;line-height:1.2;font-weight:600;letter-spacing:-.4px;color:var(--bots-ink);margin:0;overflow-wrap:anywhere}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-owner-row{display:flex;align-items:baseline;gap:8px;padding:0 0 15px;font-size:9px;min-width:0;color:var(--bots-muted)}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-owner-link{font-size:10px!important;color:var(--bots-green)!important;text-decoration:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #d1decb}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-footer{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:0 -20px;padding:10px 16px 10px 20px;border-top:1px solid var(--bots-line);background:#fcfdf9}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-edit-btn{display:flex;align-items:center;gap:18px;border:0;background:none;color:var(--bots-green);padding:7px 0;font-size:11px;font-weight:650;cursor:pointer}
html.mx-cabinet[data-page="dashboard"] body #botsView .delete-bot-btn{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;padding:0!important;margin:0!important;border:1px solid transparent!important;border-radius:5px!important;background:none!important;color:#8a9386!important;cursor:pointer!important;box-shadow:none!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .delete-bot-btn:hover{color:var(--bots-error)!important;background:#faf0eb!important;border-color:#ead4ca!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-show-more{grid-column:1/-1!important;justify-self:center!important;min-height:38px!important;padding:0 18px!important;border:1px solid var(--bots-line)!important;border-radius:6px!important;background:#fff!important;color:var(--bots-green)!important;font-size:12px!important;font-weight:600!important;cursor:pointer!important;margin:6px 0 0!important}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state,html.mx-cabinet[data-page="dashboard"] body #botsView .bots-loading{display:flex;grid-column:1/-1;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:278px;box-sizing:border-box;padding:35px 24px;border:1px dashed #cbd6c4;border-radius:10px;background:#fcfdf8;gap:0}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state-mark{display:grid;place-items:center;width:44px;height:44px;margin:0 0 18px;border:1px solid #d7e3d0;border-radius:12px;background:#eef4e8;color:var(--bots-green);font-size:25px;font-weight:400}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state h3{color:var(--bots-ink);font-size:18px;font-weight:600;letter-spacing:-.35px;line-height:1.35;margin:0 0 9px}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state p,html.mx-cabinet[data-page="dashboard"] body #botsView .bots-loading>span:last-child{font-size:12px;line-height:1.65;color:var(--bots-muted);max-width:370px;margin:0 0 20px}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state.is-error{border-color:#e5d2c6;background:#fdfaf5}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state.is-error .bots-state-mark{background:#f8ede5;border-color:#e7d0c2;color:var(--bots-error)}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-loading strong{margin-bottom:8px;font-size:15px;font-weight:600}
html.mx-cabinet[data-page="dashboard"] body #botsView .bot-loading-mark{width:24px;height:24px;border:2px solid #d4dece;border-top-color:var(--bots-green);border-radius:50%;margin-bottom:20px;animation:bot-workbench-spin 1s linear infinite}
@keyframes bot-workbench-spin{to{transform:rotate(360deg)}}

/* The editor is a single document with an always visible action bar. */
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium.bot-editor-modal{position:fixed!important;inset:0!important;z-index:100100!important;align-items:center!important;justify-content:center!important;padding:24px!important;background:#152d2280!important;backdrop-filter:blur(3px)!important;opacity:1!important;box-sizing:border-box!important;overflow:hidden!important}
body.bot-editor-lock{overflow:hidden!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-panel{display:flex!important;flex-direction:column!important;width:820px!important;max-width:100%!important;max-height:min(900px,calc(100dvh - 48px))!important;min-width:0!important;margin:0!important;border:1px solid #dbe1d5!important;border-radius:12px!important;background:var(--bots-paper)!important;color:var(--bots-ink)!important;box-shadow:0 24px 90px #102d2633!important;overflow:hidden!important;transform:none!important;box-sizing:border-box!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;flex:0 0 auto!important;padding:24px 28px 21px!important;background:var(--bots-paper)!important;border-bottom:1px solid var(--bots-line)!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-head h2{font-size:24px!important;line-height:1.2!important;letter-spacing:-.7px!important;font-weight:600!important;color:var(--bots-ink)!important;margin:0 0 6px!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-head p{font-size:12px!important;line-height:1.5!important;margin:0!important;color:var(--bots-muted)!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-close,.bot-guide-modal .modal-close{display:grid!important;place-items:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;padding:0!important;margin:0!important;border:1px solid var(--bots-line)!important;border-radius:6px!important;background:#fff!important;color:var(--bots-muted)!important;font-size:22px!important;line-height:1!important;box-shadow:none!important;cursor:pointer!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-form{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;flex:1 1 auto!important;margin:0!important;max-height:100%!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-grid{display:flex!important;flex-direction:column!important;gap:14px!important;padding:22px 28px 24px!important;min-width:0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-width:thin!important;scrollbar-gutter:stable!important;box-sizing:border-box!important;flex:1 1 auto!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-card{display:block!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;padding:20px!important;margin:0!important;background:#fff!important;border:1px solid var(--bots-line)!important;border-radius:8px!important;box-shadow:none!important;box-sizing:border-box!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-section-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:20px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-step-number{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;margin-top:1px;border:1px solid #d6e0d0;border-radius:6px;background:#f1f5ed;color:var(--bots-green);font-size:10px;font-weight:700}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-section-heading h3{font-size:14px;line-height:1.4;font-weight:650;letter-spacing:-.15px;margin:0 0 3px;color:var(--bots-ink)}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-section-heading p{font-size:11px;line-height:1.5;color:var(--bots-muted);margin:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-fieldset{border:0;min-width:0;padding:0;margin:0 0 8px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-label{display:block!important;float:none!important;font-size:11px!important;line-height:1.5!important;font-weight:650!important;color:var(--bots-ink)!important;margin:0 0 7px!important;padding:0!important;letter-spacing:0!important;text-transform:none!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-label>span{font-size:9px;font-weight:400;color:var(--bots-muted);margin-left:5px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-select{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:0!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-option{position:relative!important;display:grid!important;grid-template-columns:16px 1fr!important;align-items:center!important;column-gap:9px!important;row-gap:4px!important;min-width:0!important;margin:0!important;padding:13px!important;border:1px solid var(--bots-line)!important;border-radius:6px!important;background:#fff!important;color:var(--bots-ink)!important;box-shadow:none!important;transform:none!important;cursor:pointer!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-option.is-selected{border-color:var(--bots-green)!important;background:#f3f7ef!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-option input[type=radio]{appearance:auto!important;display:block!important;position:static!important;opacity:1!important;width:14px!important;height:14px!important;margin:0!important;accent-color:var(--bots-green)!important;grid-column:1;grid-row:1}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-option>span{font-size:12px;font-weight:650;grid-column:2;grid-row:1}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-option>small{font-size:9px;line-height:1.4;color:var(--bots-muted);grid-column:2;grid-row:2}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-field{min-width:0;margin-top:18px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-input{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:41px!important;height:41px!important;box-sizing:border-box!important;margin:0!important;padding:10px 12px!important;border:1px solid #d5ddcf!important;border-radius:5px!important;background:#fff!important;color:var(--bots-ink)!important;font-size:12px!important;line-height:1.5!important;box-shadow:none!important;outline:none!important;letter-spacing:0!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium input.bot-editor-input[type=password]{font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-input::placeholder{color:#8b9385!important;opacity:1!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-input:focus{border-color:var(--bots-green)!important;box-shadow:0 0 0 3px #245b4310!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-sub{font-size:10px!important;line-height:1.65!important;color:var(--bots-muted)!important;margin:7px 0 0!important;overflow-wrap:anywhere}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-link,.bot-guide-modal a{color:var(--bots-green)!important;font-weight:500!important;text-decoration:underline!important;text-decoration-color:#bacdb2!important;text-underline-offset:3px!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-max-info{padding:13px 14px!important;margin:13px 0 0!important;background:#f2f5ed!important;border:1px solid #dce6d4!important;border-radius:6px!important;color:#56684f!important;font-size:10px!important;line-height:1.65!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-max-info strong{color:var(--bots-ink);font-size:11px;font-weight:600}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-max-info ol{padding-left:17px;margin:8px 0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-max-info li+li{margin-top:4px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-max-info p{font-size:10px;margin:8px 0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-help-link{display:inline-block;margin:12px 0 0;padding:0;border:0;background:none;color:var(--bots-green);font-size:10px;line-height:1.5;font-weight:600;text-align:left;text-decoration:underline;text-decoration-color:#c6d8be;text-underline-offset:3px;cursor:pointer}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-fields .bot-field{margin-top:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details{padding:0!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details summary{display:flex;align-items:center;gap:11px;list-style:none;cursor:pointer;padding:18px 20px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details summary::-webkit-details-marker{display:none}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details summary>span:nth-child(2){flex:1;min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details summary strong{display:block;font-size:12px;font-weight:650;line-height:1.5;color:var(--bots-ink)}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details summary small{display:block;margin-top:2px;font-size:10px;color:var(--bots-muted);line-height:1.5}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-details-chevron{font-size:17px;color:var(--bots-muted)}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details[open] .bot-details-chevron{transform:rotate(180deg)}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-content{border-top:1px solid var(--bots-line);padding:20px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-section+.bot-access-section{border-top:1px solid var(--bots-line);margin-top:22px;padding-top:20px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-input-row{display:flex!important;align-items:stretch!important;gap:8px!important;margin:11px 0 0!important;min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-plus-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:83px!important;height:41px!important;padding:0 12px!important;border:1px solid #bdcdb5!important;border-radius:5px!important;background:#f0f5eb!important;color:var(--bots-green)!important;font-size:10px!important;font-weight:600!important;cursor:pointer!important;box-shadow:none!important;transform:none!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-list{display:flex!important;flex-direction:column!important;gap:8px!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:12px 0 0!important;border:0!important;background:none!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-list-empty{margin:0;padding:11px 12px;border:1px dashed #dce3d5;border-radius:5px;background:#fafbf7;color:#7c8874;font-size:10px;line-height:1.55}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-entry{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e0e6da;border-radius:6px;background:#fbfcf8;min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-group-entry{border:1px solid #e0e6da;border-radius:6px;background:#fbfcf8;overflow:hidden;min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-group-entry>.bot-access-entry{border:0;border-radius:0;background:none}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-entry-mark{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#edf3e8;color:var(--bots-green);font-size:11px;font-weight:650}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-entry-copy{flex:1;min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-entry-copy strong{display:block;color:var(--bots-ink);font-size:11px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-entry-copy span{display:block;color:var(--bots-muted);font-size:9px;line-height:1.6;overflow-wrap:anywhere}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-entry-copy a{color:var(--bots-green);text-decoration:none}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-entry.is-error,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-group-entry.is-error{border-color:#e7cfc3;background:#fcf4ee}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .is-error .bot-entry-mark{color:var(--bots-error);background:#f4e2d7}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .is-error .bot-entry-copy span{color:var(--bots-error)}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .btn-icon-remove{display:grid!important;place-items:center!important;width:25px!important;height:25px!important;flex:0 0 25px!important;margin:0!important;padding:0!important;border:1px solid transparent!important;border-radius:4px!important;background:transparent!important;color:#85927d!important;font-size:20px!important;line-height:1!important;cursor:pointer!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .btn-icon-remove:hover{border-color:#e3c9bc!important;background:#f8ede5!important;color:var(--bots-error)!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-forum-settings{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-top:1px solid #e0e6da;background:#f5f8f1;min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-forum-settings>div{min-width:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-forum-label{display:block;font-size:9px;color:var(--bots-muted);margin-bottom:5px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-selected-topics{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-topic-tag{display:block;padding:3px 6px;border:1px solid #d9e4d2;border-radius:3px;background:#fff;color:var(--bots-green);font-size:9px;line-height:1.5;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-topic-hint{font-size:10px;color:var(--bots-ink)}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .btn-forum-edit{flex-shrink:0;border:1px solid #cbdac2;border-radius:4px;background:#fff;padding:6px 9px;color:var(--bots-green);font-size:9px;font-weight:600;cursor:pointer}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .group-topics-panel{padding:12px;border-top:1px solid #e0e6da;background:#fff}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-topics-guide{font-size:10px;line-height:1.6;color:var(--bots-muted);margin:0 0 11px}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topics-inline-list{display:flex!important;flex-direction:column!important;gap:5px!important;max-height:230px!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topic-inline-item{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:36px!important;margin:0!important;padding:8px!important;border:1px solid #e1e7dc!important;border-radius:4px!important;background:#fff!important;color:var(--bots-ink)!important;font-size:10px!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topic-inline-item.checked{background:#eff5e9!important;border-color:#bfd0b4!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topic-inline-check{display:grid!important;place-items:center!important;width:14px!important;height:14px!important;flex:0 0 14px!important;box-sizing:border-box!important;border:1px solid #c7d4be!important;border-radius:3px!important;background:#fff!important;color:transparent!important;font-size:10px!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topic-inline-item.checked .topic-inline-check{background:var(--bots-green)!important;border-color:var(--bots-green)!important;color:#fff!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topic-inline-name{flex:1;min-width:0;font-size:10px!important;line-height:1.5!important;overflow-wrap:anywhere!important;white-space:normal!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topic-inline-id{font-size:9px!important;color:#899480!important;flex-shrink:0}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topics-inline-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;margin:12px 0 0!important;padding:0!important;border:0!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .btn-topic-cancel,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .btn-topic-apply{min-height:31px!important;padding:6px 11px!important;border:1px solid #d1deca!important;border-radius:4px!important;background:#fff!important;color:var(--bots-green)!important;font-size:10px!important;font-weight:600!important;cursor:pointer!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .btn-topic-apply{background:var(--bots-green)!important;border-color:var(--bots-green)!important;color:#fff!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topics-inline-loading,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topics-inline-empty,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topics-inline-error{font-size:10px!important;line-height:1.6!important;padding:10px 0!important;margin:0!important;color:var(--bots-muted)!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .topics-inline-error{color:var(--bots-error)!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-footer{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;gap:9px!important;padding:16px 28px!important;background:var(--bots-paper)!important;border-top:1px solid var(--bots-line)!important;box-shadow:none!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-save-note{flex:1;font-size:9px;line-height:1.5;color:var(--bots-muted);max-width:230px;margin-right:auto}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-btn-cancel,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-btn-save,.bot-guide-modal .bot-editor-btn-save{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:90px!important;width:auto!important;height:38px!important;min-height:38px!important;padding:0 16px!important;margin:0!important;border:1px solid #cbd7c4!important;border-radius:5px!important;background:#fff!important;color:var(--bots-green)!important;font-size:11px!important;line-height:1.3!important;font-weight:600!important;box-shadow:none!important;transform:none!important;cursor:pointer!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-btn-save,.bot-guide-modal .bot-editor-btn-save{background:var(--bots-green)!important;border-color:var(--bots-green)!important;color:#fff!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-btn-save:disabled{opacity:.6!important;cursor:wait!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-error{padding:12px 14px;border:1px solid #e5cbbd;border-radius:6px;background:#fcf0e9;color:var(--bots-error);font-size:11px;line-height:1.6;flex:0 0 auto}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium [hidden]{display:none!important}
html.mx-cabinet[data-page="dashboard"] body #botsView button:focus-visible,html.mx-cabinet[data-page="dashboard"] body #botsView a:focus-visible,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium button:focus-visible,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium summary:focus-visible,.bot-guide-modal button:focus-visible{outline:2px solid #245b43!important;outline-offset:3px!important}
.bot-guide-modal{position:fixed!important;inset:0!important;z-index:100110!important;align-items:center!important;justify-content:center!important;padding:24px!important;background:#152d2280!important;backdrop-filter:blur(3px)!important;box-sizing:border-box!important}
.bot-guide-modal .modal-content{display:flex!important;flex-direction:column!important;max-width:650px!important;width:100%!important;max-height:calc(100dvh - 48px)!important;margin:0!important;padding:0!important;border:1px solid var(--bots-line)!important;border-radius:10px!important;background:var(--bots-paper)!important;color:var(--bots-ink)!important;box-shadow:0 24px 90px #102d2633!important;overflow:hidden!important;box-sizing:border-box!important;transform:none!important}
.bot-guide-modal .modal-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;padding:24px!important;border-bottom:1px solid var(--bots-line)!important;background:none!important}
.bot-guide-modal .modal-header h2{font-size:22px!important;font-weight:600!important;letter-spacing:-.5px!important;line-height:1.25!important;color:var(--bots-ink)!important;margin:0!important}
.bot-guide-modal .modal-body{padding:24px!important;overflow:auto!important;min-height:0!important;flex:1!important}
.bot-guide-modal .modal-footer{display:flex!important;justify-content:flex-end!important;padding:16px 24px!important;border-top:1px solid var(--bots-line)!important;background:none!important}
.bot-guide-steps{list-style:none;counter-reset:bot-guide;margin:0;padding:0}
.bot-guide-steps li{position:relative;padding-left:36px;counter-increment:bot-guide}
.bot-guide-steps li+li{margin-top:23px}
.bot-guide-steps li:before{position:absolute;top:0;left:0;content:counter(bot-guide);display:grid;place-items:center;width:23px;height:23px;border:1px solid #d3dfcb;border-radius:6px;background:#eaf1e4;color:#245b43;font-size:10px;font-weight:700}
.bot-guide-steps h3{font-size:13px;line-height:1.5;font-weight:650;margin:0 0 7px;color:#203529}
.bot-guide-steps p{font-size:12px;line-height:1.7;color:#68756a;margin:0;overflow-wrap:anywhere}
.bot-guide-steps code{padding:2px 4px;border:1px solid #dce5d6;border-radius:3px;background:#eff4e9;color:#245b43;font-size:11px}

@media(max-width:1199px){html.mx-cabinet[data-page="dashboard"] body #botsView #botsList.bots-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-wrapper{padding:25px 24px 44px!important}}
@media(max-width:760px){html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-wrapper{padding:23px 18px 35px!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-header{align-items:flex-start!important;gap:16px!important;margin-bottom:20px!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-title{font-size:27px!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-subtitle{font-size:11px!important;max-width:210px!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-add-btn{min-height:38px!important;padding:0 13px!important;font-size:11px!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-filter-panel{padding:13px!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-filter-bottom{align-items:flex-start;flex-direction:column;gap:8px}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-result-count{font-size:10px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium.bot-editor-modal{padding:14px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-panel{max-height:calc(100dvh - 28px)!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-head{padding:20px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-grid{padding:17px 18px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-footer{padding:14px 20px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-save-note{max-width:160px}}
@media(max-width:560px){html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-header{display:flex!important;flex-wrap:wrap!important;gap:17px!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-header-left{flex:1 1 100%!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-page-subtitle{max-width:none!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-add-btn{width:100%!important;min-height:40px!important}html.mx-cabinet[data-page="dashboard"] body #botsView #botsList.bots-cards-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-tabs{width:100%!important;box-sizing:border-box!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-tab{flex:1!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-search-wrapper{flex-basis:100%!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state{min-height:265px;padding:28px 18px}html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state h3{font-size:17px}html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-glass{padding:18px 18px 0!important}html.mx-cabinet[data-page="dashboard"] body #botsView .bot-card-footer{margin:0 -18px;padding-left:18px}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium.bot-editor-modal{padding:0!important;align-items:stretch!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-panel{width:100%!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-head{padding:20px 18px 16px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-head h2{font-size:22px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-grid{padding:14px 12px 18px!important;gap:12px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-card{padding:16px 14px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-option{padding:11px 9px!important;column-gap:7px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-option>small{font-size:8px}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-fields{grid-template-columns:1fr;gap:16px}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-section-heading{margin-bottom:17px}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details{padding:0!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-details summary{padding:16px 14px;gap:9px}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-content{padding:16px 14px}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-plus-btn{min-width:70px!important;padding:0 9px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-input-row{gap:6px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-footer{flex-wrap:wrap!important;padding:12px 16px max(12px,env(safe-area-inset-bottom))!important;gap:8px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-save-note{flex:1 1 100%;max-width:none;font-size:9px}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-btn-cancel,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-btn-save{flex:1!important;min-width:0!important}.bot-guide-modal{padding:12px!important}.bot-guide-modal .modal-content{max-height:calc(100dvh - 24px)!important}.bot-guide-modal .modal-header{padding:20px 17px!important}.bot-guide-modal .modal-header h2{font-size:20px!important}.bot-guide-modal .modal-body{padding:20px 17px!important}.bot-guide-modal .modal-footer{padding:13px 17px!important}.bot-guide-steps p{font-size:11px}.bot-guide-steps li{padding-left:32px}}
/* Clear inherited padding from the old generic mobile modal and form rules. */
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-panel{padding:0!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-form{padding:0!important;margin:0!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-footer{position:static!important;inset:auto!important;margin:0!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium :is(button,input,select,label,summary),html.mx-cabinet[data-page="dashboard"] body #botsView button,.bot-guide-modal button{font-family:inherit!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .btn-forum-edit{width:auto!important;height:auto!important;min-height:30px!important;padding:6px 9px!important;margin:0!important;border:1px solid #cbdac2!important;border-radius:4px!important;background:#fff!important;color:#245b43!important;font-size:10px!important;font-weight:600!important;opacity:1!important;transform:none!important;box-shadow:none!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-section{padding:0!important;margin:0!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-access-section+.bot-access-section{padding-top:20px!important;margin-top:20px!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .group-topics-panel{margin:0!important;padding:12px!important;border:0!important;border-top:1px solid #e0e6da!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.bot-guide-modal .modal-content:before{display:none!important}
html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-max-info summary{font-size:11px;font-weight:600;cursor:pointer;color:#245b43}
html.mx-cabinet[data-page="dashboard"] body #botsView .bots-add-btn,html.mx-cabinet[data-page="dashboard"] body #botsView .bots-state-button{font-family:inherit!important;font-weight:600!important;font-size:12px!important;line-height:1.3!important}
html.mx-cabinet[data-page="dashboard"] body #botsView #botsSearchInput{font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important}
@media(max-width:560px){html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-input{font-size:14px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-sub{font-size:11px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-label{font-size:12px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-provider-option>small{font-size:9px!important}html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium .bot-editor-plus-btn{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){html.mx-cabinet[data-page="dashboard"] body #botsView *,html.mx-cabinet[data-page="dashboard"] body #botSettingsModalPremium *{animation:none!important;transition:none!important}}
