.bs-i18n-switcher{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;direction:ltr}
.auth-language-bar{margin:0 0 10px;padding:8px;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:rgba(15,23,42,.72)}
.app-language-bar{max-width:520px}
.bs-lang-btn,.bs-market-link{min-width:64px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid rgba(148,163,184,.38);border-radius:9px;background:#172033;color:#f8fafc;font:700 11px/1.1 system-ui,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
.bs-lang-btn.active{background:linear-gradient(135deg,#16a34a,#059669);border-color:#6ee7b7;box-shadow:0 0 0 1px rgba(110,231,183,.2)}
.bs-market-link{background:linear-gradient(135deg,#7c3aed,#9333ea);border-color:#c084fc;color:#fff!important}
.bs-market-link:hover{background:linear-gradient(135deg,#6d28d9,#7e22ce)}
html[dir="rtl"] body{text-align:right}
html[dir="rtl"] .sidebar{right:0;left:auto}
html[dir="rtl"] .module-nav button,html[dir="rtl"] .field label,html[dir="rtl"] th,html[dir="rtl"] td{text-align:right}
@media(max-width:1100px){.topbar{height:auto!important;min-height:64px;align-items:flex-start!important;flex-wrap:wrap;padding-top:8px!important;padding-bottom:8px!important}.topbar>.top-actions{width:100%;display:flex;flex-wrap:wrap!important}.app-language-bar{order:-1;width:100%;max-width:none;justify-content:flex-start}}
@media(max-width:700px){.auth-page{padding:0!important}.auth-card{width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:100dvh!important;border-radius:0!important}.auth-control-panel{padding:12px!important;min-width:0!important}.auth-language-bar{justify-content:center}.bs-lang-btn,.bs-market-link{min-width:58px;padding:7px 8px;font-size:10px}.auth-installer-center{min-width:0}.auth-device-grid,.login-installer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-shell{width:100%!important;max-width:100%!important;height:100dvh!important;margin:0!important;border-radius:0!important}.topbar>.top-actions{gap:5px!important}.app-language-bar{justify-content:center}.content{padding:10px!important}}

/* All Support VAT: responsive shared login and workspace */
#authView .auth-card.auth-split-card{width:min(1120px,calc(100vw - 24px))!important;min-width:0!important;max-width:calc(100vw - 24px)!important;min-height:0!important;height:min(840px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;grid-template-columns:1fr 1fr!important;border-color:#315e50!important;background:#0b1722!important}
#authView .auth-card.auth-split-card .auth-showcase{min-width:0;background:linear-gradient(125deg,#154d3e,#06211b)!important;overflow:auto!important}
#authView .auth-card.auth-split-card .auth-showcase-content{padding:34px!important;justify-content:flex-start!important;gap:12px!important;min-height:0!important}
.promo-brand{color:#ffda80!important;letter-spacing:2px!important;font-size:16px!important;margin-bottom:22px}.promo-tag{font-size:10px;letter-spacing:1.5px;color:#a9d0c3}
#authView .auth-card.auth-split-card .auth-showcase h1{font-size:37px!important;line-height:1.2!important;color:#fff!important;margin-top:10px!important}#authView .auth-card.auth-split-card .promo-slogan{color:#ffda80!important;font-size:29px!important;font-weight:800!important;line-height:1.2!important}.promo-intro{font-size:13px!important;line-height:1.8!important}.promo-perks{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.promo-perks span{border:1px solid #497862;border-radius:10px;padding:10px;font-size:12px}.auth-showcase h3{font-size:17px;margin:12px 0 0}.promo-support{border-top:1px solid #3c6655;padding-top:20px;margin-top:12px}.promo-contact a{font-size:21px!important;color:#ffda80!important;font-weight:800;text-decoration:none}.promo-plan{border:1px solid #645425;background:#332d17;color:#ffdc8d!important;padding:10px;border-radius:10px}
#authView .auth-control-panel{min-width:0!important;overflow:auto!important;padding:26px!important;background:#0b1722!important}.auth-installer-center[hidden]{display:none!important}.login-installer-grid{grid-template-columns:1fr!important}.login-installer-note{display:none!important}.auth-resize-handle{display:none}.local-note{font-size:11px!important;line-height:1.5!important}.license-badge{white-space:nowrap!important;border:1px solid #7e68bb!important;background:#35254e!important;color:#eddcff!important}.license-badge[data-mode=paid]{background:#123e30!important;color:#a0f7cd!important;border-color:#2caa7a!important}.workspace,.content{min-width:0;min-height:0}.table-wrap,.table-scroll{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.modal-card{min-width:0;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow:auto}.modal-body{min-width:0;overflow:auto}.form-grid>*{min-width:0}.field input,.field select,.field textarea{min-width:0;max-width:100%}
@media(max-width:800px){
 html,body{max-width:100%;overflow-x:hidden}#authView{padding:6px!important;min-height:100dvh;overflow:auto!important;align-items:flex-start!important}#authView .auth-card.auth-split-card{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:calc(100dvh - 12px)!important;border-radius:14px!important;position:relative!important;inset:auto!important;transform:none!important}#authView .auth-card.auth-split-card .auth-showcase{display:none!important}#authView .auth-control-panel{width:100%!important;padding:16px!important;overflow:visible!important}.auth-window-bar{width:100%;min-width:0;flex-wrap:wrap!important}.auth-window-title{min-width:0;max-width:calc(100% - 95px)}.window-size-indicator{display:none!important}.auth-language-bar{justify-content:flex-start!important;flex-wrap:wrap!important}.bs-lang-btn,.bs-market-link{min-width:48px;min-height:36px!important}.auth-form input{font-size:16px!important}.auth-form button{min-height:42px!important}
 .app-shell{width:100%!important;max-width:100%!important;min-width:0!important;height:100dvh!important;max-height:100dvh!important;left:0!important;top:0!important;border-radius:0!important}.workspace{width:100%;min-width:0;display:flex;flex-direction:column;height:100%}.topbar{flex:none;width:100%;min-width:0;gap:7px!important;padding:8px 10px!important}.topbar h2{font-size:17px!important;overflow-wrap:anywhere}.top-actions{max-width:100%;min-width:0;flex-wrap:wrap!important}.app-language-bar{max-width:100%;overflow:auto;flex-wrap:nowrap!important;justify-content:flex-start!important}.content{flex:1;min-height:0;height:auto!important;overflow:auto;padding:10px!important;padding-bottom:85px!important}.stats,.stats-grid,.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.form-grid,.settings-grid{grid-template-columns:minmax(0,1fr)!important}.form-grid .full,.settings-grid .full{grid-column:auto!important}.panel-head{flex-wrap:wrap;gap:8px}.panel-actions{max-width:100%;flex-wrap:wrap}.field input,.field select,.field textarea{font-size:16px!important}.form-actions{display:flex;flex-wrap:wrap;gap:8px}.form-actions button,.top-actions button{min-height:40px}.modal-head{position:sticky;top:0;background:#122131;z-index:5;gap:8px}.modal-body .form-actions{position:sticky;bottom:0;background:#122131;padding:10px 0}.sidebar{max-width:calc(100vw - 44px)!important;max-height:100dvh!important;overflow-y:auto!important}.sidebar .module-nav button{min-height:40px}.table-wrap table,.table-scroll table{min-width:620px}.daily-top-actions{width:100%}.daily-v14-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

#appView #licenseBadge{display:inline-flex!important;align-items:center;visibility:visible!important}

body.demo-offline #windowCloseBtn{display:inline-flex!important;pointer-events:auto!important;min-width:40px;min-height:36px}body.demo-offline .window-controls{display:flex!important}
