#crm-portal-preferences-toggle{position:fixed;right:18px;bottom:118px;z-index:2147483000;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid #6b87ad;border-radius:12px;background:#0d2342;color:#fff;font:700 14px/1.2 Arial,sans-serif;box-shadow:0 6px 24px rgba(0,0,0,.28);cursor:pointer}
#crm-portal-preferences-toggle:hover{background:#173b69}
#crm-portal-preferences-toggle:focus-visible,#crm-portal-preferences-panel button:focus-visible,#crm-portal-preferences-panel a:focus-visible{outline:3px solid #f5c542;outline-offset:2px}
#crm-portal-preferences-panel{position:fixed;right:18px;bottom:170px;z-index:2147483000;width:min(360px,calc(100vw - 36px));max-height:min(72vh,680px);overflow:auto;padding:18px;border:1px solid #315779;border-radius:16px;background:#0b1c2c;color:#f1f7fb;font:14px/1.45 Arial,sans-serif;box-shadow:0 16px 50px rgba(0,0,0,.45)}
#crm-portal-preferences-panel[hidden]{display:none!important}
#crm-portal-preferences-panel h2{margin:0 0 14px;color:#f1f7fb;font-size:18px}
#crm-portal-preferences-panel h3{margin:0 0 8px;color:#9fdfff;font-size:13px;text-transform:uppercase;letter-spacing:.06em}
#crm-portal-preferences-panel .crm-pref-section{padding:12px 0;border-top:1px solid #284a60}
#crm-portal-preferences-panel .crm-pref-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#crm-portal-preferences-panel button{min-height:36px;padding:7px 11px;border:1px solid #6b87ad;border-radius:8px;background:#173b69;color:#fff;font:700 14px/1.2 Arial,sans-serif;cursor:pointer}
#crm-portal-preferences-panel button:hover{background:#24558f}
#crm-portal-preferences-panel .crm-size-value{min-width:3.5em;text-align:center;font-variant-numeric:tabular-nums}
#crm-portal-preferences-panel .crm-pref-close{float:right;min-width:34px;padding:7px}
#crm-portal-preferences-panel .crm-pref-note{margin:5px 0 0;color:#b6c9d8;font-size:12px}
#crm-portal-preferences-panel .bqm-lang-switch,#crm-language-slot .crm-pref-lang-controls{display:flex;gap:8px;margin:0;padding:0}
#crm-portal-preferences-panel .bqm-lang-switch a,#crm-language-slot .crm-pref-lang-controls a,#crm-language-slot .crm-pref-lang-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:36px;padding:6px 12px;border:1px solid #6b87ad;border-radius:8px;background:#173b69;color:#fff;text-decoration:none;font-weight:800}
#crm-portal-preferences-panel .bqm-lang-switch a.active{background:#28b8ff;border-color:#28b8ff;color:#06121e}
#crm-portal-preferences-panel #bqm-home-notifications,#crm-portal-preferences-panel #bqm-restored-notifications{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:10px!important;white-space:normal!important;overflow:visible!important;border-radius:9px!important;line-height:1.45!important}
#crm-portal-preferences-panel #bqm-home-notifications br,#crm-portal-preferences-panel #bqm-restored-notifications br{display:block!important}
@media(max-width:1023px){#crm-portal-preferences-toggle,#crm-portal-preferences-panel{display:none!important}}
