:root{--bg:#F8F9FA;--surface:#FFFFFF;--text:#1E2A3E;--text-muted:#5B6C85;--accent:#2B7BEE;--accent-hover:#1A5FBF;--border:#E2E8F0;--header-fg:#FFFFFF;--shadow:rgba(30,42,62,0.12);--overlay:rgba(11,17,33,0.45);--transition:140ms ease;}[data-theme="dark"]{--bg:#0B1121;--surface:#172032;--text:#EDF2F7;--text-muted:#94A3B8;--accent:#3B82F6;--accent-hover:#60A5FA;--border:#1E293B;--header-fg:#EDF2F7;--shadow:rgba(0,0,0,0.35);--overlay:rgba(0,0,0,0.55);}.logo-avanta{font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:0.04em;color:var(--text)}.logo-avanta--lg{font-size:22px;display:block;margin-bottom:16px;text-align:center}.logo-v{color:#E91E8C}.logo-dash{color:var(--text-muted);font-weight:400}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:24px}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:32px 28px;width:100%;max-width:420px;box-shadow:0 4px 24px var(--shadow)}.login-card--saas{max-width:460px}.login-form{margin-top:16px}.login-link{color:var(--accent);cursor:pointer;font-size:12px;text-decoration:underline}.login-link:hover{color:var(--accent-hover)}.login-page .form input[type=text],.login-page .form input[type=password]{width:100%;box-sizing:border-box;margin:6px 0;padding:8px 10px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text);font-size:14px}.login-page .submit input[type=submit]{background:var(--accent);color:#fff;border:0;padding:10px 20px;cursor:pointer;font-family:Arial,sans-serif;font-size:14px;border-radius:4px}.crm-theme-toggle{position:absolute;right:12px;top:14px;width:32px;height:32px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);cursor:pointer;font-size:16px;line-height:30px;text-align:center;padding:0;transition:background var(--transition),border-color var(--transition),color var(--transition)}.crm-theme-toggle:hover{background:var(--bg);border-color:var(--accent);color:var(--accent)}[data-theme="dark"] .crm-theme-toggle::after{content:"\2600"}[data-theme="light"] .crm-theme-toggle::after,:root:not([data-theme="dark"]) .crm-theme-toggle::after{content:"\263E"}.crm-theme-toggle{font-size:0}.crm-search-wrap{display:inline-block;vertical-align:top}.crm-search{position:relative;display:inline-flex;align-items:center;gap:4px}.crm-search-form{display:inline-flex;align-items:center;gap:4px;margin:0}.crm-search-input{width:100%;min-width:220px;height:28px;padding:4px 8px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text);font-size:12px}.crm-search-btn{width:28px;height:28px;min-width:28px;padding:0;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:transparent;font-size:0;cursor:pointer;position:relative;transition:background var(--transition),border-color var(--transition)}.crm-search-btn:hover{border-color:var(--accent);background:var(--bg)}.crm-search-btn::after{content:"";position:absolute;inset:0;margin:auto;width:14px;height:14px;background:var(--accent);-webkit-mask:no-repeat center / contain;mask:no-repeat center / contain}.crm-search-btn--go::after{content:"5";background:none;color:var(--accent);font-size:16px;line-height:26px;width:auto;height:auto;-webkit-mask:none;mask:none}.crm-search-btn--filter::after{content:"\25BE";background:none;color:var(--accent);font-size:14px;width:auto;height:auto;-webkit-mask:none;mask:none}.crm-search-btn--clear::after{content:"\00D7";background:none;color:var(--accent);font-size:18px;line-height:26px;-webkit-mask:none;mask:none}.crm-search-filter{margin-top:4px}.nav-item{transition:color var(--transition)}*{padding:0px;margin:0px;font-family:Arial;font-size:12px}body{background:var(--bg);color:var(--text);padding-top:60px}.TOP{position:fixed;width:100%;z-index:99;top:0px;height:60px;overflow:hidden}.TOPP{width:1360px;height:60px;overflow:hidden}.ADMIN_INFO,.ADMIN_INFO a,.ADMIN_INFO select{color:#000000;font-family:Arial,Helvetica,sans-serif !important;font-size:12px}.ADMIN_INFO select{border-radius:0px !important;border-color:#000 !important;height:16px;background:#fff}#Yours_menu li{width:50px;cursor:pointer;display:block;height:50px;overflow:hidden;padding:10px 0px 0px 0px;float:left}#Yous{padding:10px 10px 0px 10px !important}#Yours_menu li#panel{line-height:30px;width:160px !important}#Yours_menu li#panel a{color:#fff !important}#Yours_menu li#Yous{color:#FFFFFF;white-space:nowrap;width:170px}#Yours_menu li#Yous .fio{white-space:normal}#Yours_menu li div.Yours_menu{display:none;color:#000}#Yours_menu li:hover{background:rgba(255,255,255,0.1)}div.Yours_menu{border-top:3px solid var(--accent);padding-top:8px;position:absolute;z-index:2}div.seven{border-bottom:3px solid var(--accent);padding-top:0px;padding-bottom:8px;position:absolute;z-index:2;bottom:30px}div.Yours_menu .Yours_menu_in{background:#fff;border-color:dadada;border-style:solid;border-width:0px 1px 1px 1px;text-align:left;padding:10px 10px 0px 10px}div.seven .Yours_menu_in{background:#fff;border-color:dadada;border-style:solid;border-width:1px 1px 0px 1px;text-align:left;padding:10px 10px 0px 10px}.Yours_menu_in select,.Yours_menu_in a{display:block;position:relative;color:black;line-height:20px}.Yours_menu_bot{background:#f2f2f2;width:90%;padding:3px 9%;margin-left:-12px;text-align:right}div.td{display:block;float:left;padding-top:10px}#header_menu div.td{height:50px}.ymtd1,.ymtd2,.ymtd3{text-align:center;padding:0 5px}.ymtd1 a{text-decoration:underline;white-space:nowrap}.sdnoviz{font-size:9px;position:relative;text-align:right;width:100%}.zellook{background:rgba(0,0,0,0.5);padding:10px 0px;text-align:right;color:#fff;font-weight:bold}div.roll{height:450px;overflow:auto;padding:5px}input.sub,button.sub,.kont .kont button.sub,a.sub{background:var(--accent);border-width:0px;color:#fff !important;border-radius:2px;height:25px;display:inline-block;padding:1px 6px !important;line-height:25px;font-family:Arial;font-weight:bold}.button{background:var(--accent);border:1px solid var(--accent-hover);color:#fff !important;border-radius:6px;height:30px;line-height:30px;font-family:Arial,sans-serif;box-shadow:none}.tabl button.button,.tdtable button.button{height:15px;color:#000 !important;box-shadow:0 0 0px;border-width:0px;border-radius:0px}.white{background:#fff;padding-top:10px;display:table;width:100%}a,a img{text-decoration:none;border:0px}input,select,.input{background:none repeat scroll 0 0 #FFFFFF;border:1px solid #333333;border-radius:0 0 0 0;color:#333333;display:inline-block}.inv{width:100%;height:100%;position:relative}.inv2{width:450px;height:180px;border-radius:0px;font-family:Arial;color:#fff;font-weight:bold;vertical-align:middle;text-align:center;padding:120px 0 20px 0px;box-shadow:1px 0 5px rgba(0,0,0,0.3);color:#333333;font-family:Arial;font-size:14px;font-weight:normal}.inv2 .form,table.inv2 td{color:#333333;font-family:Arial;font-size:14px;font-weight:normal;margin-right:30px;padding-left:30px;text-align:left}.inv2 .form span.submit{border-radius:0px;display:inline-block;background:#4c98ad;padding:0px 10px}.inv2 .form input[type=submit]{background:#4c98ad;border-radius:0px;font-size:25px;color:#fff;border:0px;font-family:Arial;padding:10px 0px;cursor:pointer}.inv2 .form input[type=text],.inv2 .form input[type=password]{background:none repeat scroll 0 0 #FFFFFF;border:1px solid #CCCCCC;border-radius:0 0 0 0;color:#333333;display:block;font-size:20px;margin-bottom:5px;margin-top:5px;padding:2px;width:100%}.inv2 .form legend{color:#E17C36}.inv2 .form select{display:inline;background:none repeat scroll 0 0 #FFFFFF;border:1px solid #CCCCCC;border-radius:0 0 0 0;color:#333333;font-size:30px;margin-bottom:10px;top:1px;padding:2px;text-transform:uppercase;width:50%;height:42px;position:relative}.Arrwor{color:#e13636;padding-left:15px}.ArrworOK{color:#e13636}#Arrwors{display:block;background:#4C98AD}#Arrwors .Arrwor{display:block;padding:10px;color:#fff;font-weight:bold;background:none}#Arrwors .Arrwor a{color:#E17C36;font-weight:bold;text-decoration:underline}#podmenu{background:none;height:auto;margin-bottom:0;margin-top:0;position:relative}#right_menu,.header_menu{width:220px;vertical-align:top;border-bottom:1px solid #dddedf}#right_menu{background:var(--surface);border-left:1px solid #dddedf}.header_menu{background:#f5f5f5;border-right:1px solid #dddedf}.TOP .straniz{padding:12px 5px 0;height:65px;margin-top:-25px;overflow:auto;text-align:right}.limit{background:none;border-radius:15px 15px 5px 5px;color:#333;display:inline;font-size:12px;margin-left:5px;padding:2px 0px;position:relative;top:-3px;text-align:center}.straniz{width:80%;line-height:25px;font-size:10px}.straniz a{color:#000;font-weight:bold;text-decoration:none;display:inline-block;padding:4px 7px 5px;font-size:11px;line-height:10px;text-align:center}.straniz a.sinka{color:#fff;background:#0088CC}.straniz a:hover,.straniz a.sinka:hover{padding:3px 6px 4px;border:1px solid}th.sin{text-align:right;color:#fff;padding:3px}#Qest .fileclose{top:0;right:0}#Qest{background:#eee;position:absolute;display:none;width:720px;z-index:99;text-align:left;left:320px;margin-top:-150px}#ardzon_MEssEmail_frame{border:0px;background:#fff}#podmenu div.option{display:inline-block;line-height:15px;margin:0px;padding:0px;float:right;width:110px}#Teh button img{height:auto}#Teh iframe{border:0px solid #ccc;border-radius:5px;background:#f4f4f4}#about_user_form{position:absolute;right:10px;top:10px}#podmenu a,#podmenu a.option,#podmenu a.search,.newdocs,#podmenu a,.newdocs{font-size:12px;background:none;color:#333;display:block;float:right;font-size:7.9pt !important;font-weight:bold;margin:5px 5px 5px 0;padding:1px;text-align:center;line-height:10px}#podmenu form a{padding:0px;display:inline;float:none;color:#000;font-weight:normal;text-decoration:underline;font-size:10px;margin:0}#podmenu a.allzd{padding-left:45px;float:right}#podmenu h1{float:right;margin:10px;font-size:18px;color:#000;font-family:Arial;font-style:italic}div#header_menu{text-align:right;padding-left:200px;height:60px}div#header_menu div.header_menu{display:inline-block;position:relative;left:10%}.black{background:var(--text);height:10px}div#header_menu div.header_menu .ionmenu a,.ionmenu td{color:#e2e2e2;font-size:12px;text-decoration:none;white-space:nowrap}div#header_menu div.header_menu td.nomenu{padding:0px}div#header_menu div.header_menu td.menu{padding:5px 5px 0 5px}#menu{float:right;line-height:12px;text-align:right;font-weight:bold;color:snow}#menu form,#menu form a{color:#FFFFFF;font-size:11px}#menu form a{text-decoration:underline;font-weight:normal !important;margin-right:15px}#menu form a.activ,#menu form input,#menu form{font-weight:bold !important}#menu form input{border-radius:5px;border:1px dotted #fff;border:0px dotted #fff;color:#fff !important;font-size:11px !important;background:none;margin-left:10px}.footer,.footers{background:var(--surface);color:#eee;padding:0px}div.menu,div.bmenu{width:auto;background:none;font-weight:bold;height:60px;max-height:60px;overflow:hidden}.menu a.logo{cursor:pointer;margin:0 0 0 10px;padding:0;position:absolute;top:0;left:0;width:auto !important;height:60px;max-height:60px;box-sizing:border-box;display:flex;align-items:center;line-height:0;overflow:hidden}.menu a.logo img{max-width:150px;max-height:60px;width:auto;height:auto;display:block;object-fit:contain;vertical-align:middle}.menu a,.bmenu a,#mess p a{color:#000;font-weight:bold;padding:5px}.menu a.logo,.bmenu a.logo{padding:0}.ionmenu .menu a,div.ionmenu div.menu span{color:var(--accent);font-weight:bold;padding:0px;padding-left:10px;line-height:45px;width:200px;display:block}div.ionmenu div.menu span{text-transform:uppercase;font-size:15px}.ionmenu .menu a{background-position:left;background-repeat:no-repeat;padding-left:40px;width:170px;position:relative}.ionmenu .menu a small{display:block;font-weight:normal;line-height:1px;margin:-10px 0;position:absolute}#mess p{display:block;border-top:1px solid #eee;width:200px;margin-top:10px;margin-left:5px;padding-top:5px}.menu a.activ,.bmenu a.activ{text-decoration:underline !important}.menu a div#newms,.menu a div#newdates,.bmenu a div#newms,.bmenu a div#newdates,.menu a div#newms span,.menu a div#newdates span,.bmenu a div#newms span,.bmenu a div#newdates span{text-decoration:none;display:inline;color:#fedb04}.menu a div#newzd,.bmenu a div#newzd,.bmenu a div#newlc,.menu a div#newlc{position:absolute;top:0;right:0;line-height:45px;padding:0px 10px;height:45px;background:#6799c5}yred{color:#CC0000;background:yellow;display:inline}.bmenu a div#newlc span,.bmenu a div#newzd span,.menu a div#newzd span,.menu a div#newlc span{font-weight:bold;color:#fff;text-align:center;font-size:25px}.menu a.admin,.bmenu a.admin{padding-top:3px;padding-bottom:17px;color:#CC0000}.menu a span.small,.bmenu a span.small{position:absolute;margin-top:12px;font-size:9px;color:#000}.menu a.adminactiv,.bmenu a.adminactiv{background:#fff;color:#CC0000}.main{border:0;width:100%;text-align:left}.main td{border:0;vertical-align:top;text-align:left;color:#000}fieldset{padding:10px}.vvv{height:80px;margin-right:10px;float:left;width:200px}fieldset span{display:block;font-weight:bold;float:left;width:150px}fieldset .RedForm span{display:inline;font-weight:normal;float:none;width:auto}legend{color:var(--accent);color:var(--accent);font-weight:bold;font-size:13px}.bigleg{background:none repeat scroll 0 0 #0462F4;color:#FFFFFF;padding:3px 5px;text-transform:uppercase;border:none}legend span.bigleg{color:#FFA500;color:#FFFFFF;display:inline;float:none}.shir input{width:250px}.shirr{width:400px}.shirr input{width:200px}.shirr .smailinp input{width:30px}.smailinp{text-align:left;padding-top:15px;border:1px dotted #ccc}input.sub,button.sub,a.sub{font-weight:bold;color:white;font-size:13px;font-family:Arial;display:inline-block}input#close,input#post{background-color:#2B2B2B;background-position:right;background-repeat:no-repeat;padding-right:30px;height:30px}table#KKK{background:#f4f4f4}table#KKK td{background:#ffffff;border:1px solid #cccccc;border-radius:10px;padding:5px}#KKK caption{text-align:left;color:blue;background:grey}#ardzon_text_container iframe,.inv2 iframe,textarea{border:1px solid #000;background:#fff}#ViD{border:1px dotted #ccc}.eMal{width:150px;text-align:right;white-space:nowrap}.inv3{width:400px;height:180px;border-radius:20px;background:#0462F4;color:#fff;font-weight:bold;vertical-align:middle;text-align:center}.inv3 legend{color:#f4f4f4;font-weight:bold;font-size:13px}.inv3 fieldset{border:1px dotted #ccc;margin:10px}#ViD fieldset{border:1px solid #ccc}.Cwet{width:15px;height:15px;border:1px solid #000;margin:3px;display:inline-block}.cm0{text-align:left;font-size:10px;width:50px}.cm0 div,.cm0 div span{text-align:left;font-size:10px}td.cm img.atte{width:16px;position:relative;top:2px}.img{position:relative;top:5px}th.cm img{width:20px}.redt th{border-left:1px solid #ccc;border-right:1px solid #f4f4f4;padding:2px 5px;border:0px}.adm,#ZADANIYA{height:400px}#ZADANIYA{margin-left:0px}.adm{text-align:center;vertical-align:top;padding-left:0px}.redt{border-top:1px solid #ccc;border-right:1px solid #ccc;border-bottom:1px solid #f4f4f4;border-left:1px solid #f4f4f4;background:#e8e8ed;width:100%;background:#fff;border:0px}.TH th{width:150px}.TH,#TOPHT{background:#eeeeee}.redt td{padding:5px;border-top:1px dotted #ccc}.redt td.zdtimes,.redt td.zdname{padding:2px;border-top:1px dotted #ccc;font-size:10px}.redt td .staruse td{padding:0 5px;border-top:0px dotted #ccc}table.staruse td{text-align:center;display:block;float:left;overflow:hidden}div#SDELKI table.staruse td{text-align:center;display:table-cell;float:none;overflow:visible}div.staruse{background:#fff;text-align:left;font-size:18px;margin-top:10px}button.stature{background:#e27e3a;border-radius:0px;color:#fff;width:80px;border:0px;font-weight:bold;width:227px;font-size:14px;margin-top:10px;margin-left:95px}.ButReq{background:#6997AB;cursor:pointer;border:0px;font-weight:bold;font-size:16px;font-weight:bold;width:227px;margin-right:50;float:right}.fff{background:#f7f7f7}.groups{font-size:11px;font-weight:bold}.groupsimg img,img.avatarimg{position:relative;width:32px;height:32px;float:left;padding-right:10px}.vkont img.avatarimg{float:right;padding-right:0px;padding-left:10px}img.avatarimg{width:45px;height:45px}td.avatarimg{width:45px}.now_online{font-size:10px;color:ffa500}.jobs .now_online{color:#009966}.jobs .no_online{font-family:Lucida Console}.gprim{background:#FFCC33;border-top:1px solid #996633;border-bottom:1px solid #996633;display:block;width:50px;padding:0 8px;color:#000;font-weight:bold}.titlezd,.titlezd div{font-family:Arial;padding:5 0px}.titlezd a{color:#660033}.jobs{font-size:11px;font-style:normal;font-weight:normal;white-space:nowrap;font-family:Trebuchet MS}.jobs .jobs{font-size:11px;font-style:normal;font-weight:normal;white-space:nowrap}.fileclose{float:right;background:none !important;width:22px !important;height:22px !important;margin-top:0px !important;border:none !important;position:relative;right:-4px;top:-8px;z-index:100px;cursor:pointer}.RedForm button,.RedForm input.button{height:20px;line-height:20px;margin-top:10px}.RedForm{box-shadow:0 1px 15px rgba(0,0,0,0.2);position:absolute;width:150px;border:1px solid #bdbdbd;background:#fff;border-radius:0px;padding:6px;margin-left:155px;margin-top:-125px;z-index:95}.Fr{margin-left:140px;position:absolute}u{text-decoration:none;border-bottom:1px dotted #000}.smallbla{font-size:9px;color:#000;white-space:nowrap;display:block;float:right}.smallblu{font-size:11px;color:var(--accent);font-family:Tahoma;white-space:nowrap}a.FiOns,span.FiOns{font-size:12px;color:var(--accent);text-align:left;float:left;text-decoration:underline;font-weight:bold;cursor:pointer}a.FiOns:hover{border-bottom:1px dashed #000}.FiOn{font-size:10px;border-bottom:1px dotted #000;color:#000}.FiOnNS{font-size:10px;border-bottom:1px dotted #000;color:#00;border-color:#FFFFFF;color:#FFFFFF;font-size:12px;white-space:nowrap}.FiOnR{font-size:12px;color:#CC0000;font-family:Sans-serif;font-weight:bold}.cm0 div span.FiOn{white-space:nowrap;position:absolute;margin-top:-3px;cursor:pointer;font-size:12px}.ch0{border-radius:0px;display:inline-block;float:none;font-size:11px;padding:1px 5px}.ch{color:#000;display:inline;float:none;text-align:center;white-space:nowrap;padding:0px;font-size:11px;font-weight:bold}.oob{display:inline;line-height:10px;margin-left:10px;margin-top:-3px;overflow:hidden;padding:0px}td.cm img.s_arr{width:16px;margin-left:3px;margin-right:3px;margin-top:5px}.uuu{font-size:10px;font-weight:bold}#KP{color:#CD5B45}.comps{font-size:11px;font-weight:bold;white-space:nowrap;text-align:left;padding-left:2px}.RED{cursor:pointer;text-decoration:underline;color:#0193d8}img.attach{margin-top:-5px;position:absolute}span.attach img{width:18px;cursor:pointer}span.attach img.del_attach,img.del_attach{margin-left:145px;width:18px;margin-top:-15px;position:absolute}span.attach{text-align:center;display:block;width:150px;border:1px dotted #cccccc;padding:5px 5px 5px 15px}span.attach span{color:grey;font-size:9px}span#chas{border:1px dashed #FFFFFF;color:#FFFFFF;display:block;float:left;font-family:Arial;font-size:12px;font-weight:normal;margin-right:30px;padding:5px}#VsegoPeriod{text-align:right;font-weight:bold;padding:5px}div#top_k{width:100%;background-color:#565656;padding:5px 15px 5px 7px;white-space:nowrap;text-align:right;margin-left:-12px;margin-top:-10px;margin-bottom:15px}#top_k button,button.button{background:none;border:none;box-shadow:0px 0px 0px;line-height:15px;font-size:11px;text-decoration:underline;color:#333;font-weight:bold}.small_calendary button.button{color:#333!important}button.button{color:#333;cursor:pointer}.ed{width:100%;height:300px}.kont{width:320px}.kont .kont button{background:transparent;border:0px;font-size:11px;cursor:pointer;text-decoration:underline}.kont table{border-collapse:collapse;width:100%}.td_mo_else{text-align:right;padding-right:30px}.editing{width:32px;text-align:center;display:inline-block;height:22px}.minus{width:22px;text-align:center;float:right;display:block;cursor:pointer;height:14px}.rowsklad .minus{position:absolute;top:0;right:0;float:none}.editing img{height:18px;position:relative;top:3px}.minus img{height:14px;position:relative;top:8px}span.fl{display:inline-block;padding:3px 0px;width:100px}.edits{cursor:text;padding:3px 5px;border-radius:5px;float:right;width:160px;height:14px;overflow:hidden;border:1px solid grey;background:#f9f9f9}.editeds{padding:0px;display:inline-block;width:160px;border:1px solid grey;background:#f9f9f9}.editeds input,.editeds select,.editeds textarea{width:160px;padding:2px;border:0px;background:#f9f9f9}.Sedits{cursor:text;padding:2px 5px;height:14px}.Sediteds{padding:2px 5px}.Sediteds input,.Sediteds select{width:160px;padding:2px 5px}.Sediteds,.Sedits{font-size:11px;width:160px;float:left;border-radius:5px;margin:2px;white-space:nowrap}.Sediteds span,.Sedits span,.FiOnSedits{border-bottom:1px dotted #0462F4;font-size:11px;border:1px solid #CCCCCC;border-radius:10px 10px 10px 10px;padding:1px 5px;background:#fff}div.free{width:300px;height:10px}span.fl,.edits,.editeds,.editing{margin-top:5px}body.new{background:#f2f9ff;padding:10px 5px;margin-top:30px}div#SOUND{position:absolute;left:-400px}.zel,.gzel{width:100%;position:absolute;left:0px}.zel{top:0px;height:30px}.gzel{background:grey;top:-100px;height:20px}.zel span,.gzel span{color:#fff;font-size:20px;margin:3px}.gzel button,.zel button{font-size:11px;color:#fff;margin:3px;float:right;background:none;border:0px;text-decoration:underline}td.activ,td.noactiv{width:50%;overflow:hidden;margin:0px;height:20px;text-align:center;padding:3px;font-weight:bold}#titan,#POPABS{position:fixed;background:rgba(0,0,0,0.3);top:0px;left:0px;width:100%;height:100%;z-index:94}#Podskazka{padding:10px;width:100%;height:100%}.eeetable td{border:1px solid #eee;padding:5px;vertical-align:top}.messing{color:#333;font-size:11px;padding:0px;margin-top:10px}.messing div button{color:#0880c0;border:0px;font-weight:normal;background:none;font-size:11px;margin-right:0px}.messing div button span{font-weight:normal;text-decoration:none;position:static !important;float:none !important}.messing div span{font-size:10px;color:#ccc;font-weight:normal !important}.messing div img{height:16px;position:relative;top:-5px}.messing div.lefting{border-bottom:1px solid #CCCCCC;border-right:0 solid #CCCCCC;display:block;margin-left:5px;padding-left:5px;text-align:center}.small_red{color:red;font-size:11px}.messing div.lefting span,.messing div.lefting img{float:none !important;position:static !important}.messing div.righting{display:block;vertical-align:top;border-bottom:0px solid #ccc;padding:0px;line-height:15px}.messing div.righting img{float:left:margin-left:10px;margin-bottom:5px;width:30px;height:30px;top:0px}.messing a{font-weight:normal;color:#ccc;font-size:10px;float:right;padding:0 5px}button.eprima,button.eprimapress{display:block;width:200px;margin:0px;border:0px;background:#f1f5f8;padding:10px;color:#333;font-size:11px;text-align:left;position:relative}.vkont button.eprima,.vkont button.eprimapress{text-align:right}.ogony{background:none repeat scroll 0 0 #ffa500;border-radius:50%;box-shadow:0 0 15px rgba(0,0,0,0.2);display:inline-block;font-size:10px;font-weight:bold;position:absolute;right:8%;top:35%}.vkont .ogony{right:auto;left:8%}table.podclass td,table.podclass td div,table.podclass td div span{text-align:left;font-weight:bold;font-size:11px}table.podclass td small{font-size:9px}table.podclass td select.noborder{font-size:10px;height:13px}.selarr{z-index:4;position:relative;padding:4px}.ogony span{margin:0 3px}#NemVmess{left:-5px;position:relative;width:500px;height:400px;background:#fff;border:1px solid;z-index:3;box-shadow:-5px 5px 10px rgba(0,0,0,0.5)}.Shadow_bor{background:#fff;box-shadow:0 0 5px rgba(0,0,0,0.3);border:1px solid #BDBDBD}a.Entertrue{text-decoration:underline;font-weight:bold}#MessEGe h1{color:#ccc;font-size:12px;text-align:center}#MessEGe{padding:10px;position:relative}#optionKonf{position:absolute;text-align:center;width:100%;top:0;left:0;background:#fff;box-shadow:0px 0px 5px rgba(255,255,255,0.3)}#optionKonf a,.optionKonf a{padding:0 5px;color:#0880C0}.optionKonf a{padding:5px}#MessEGeON{width:100%;height:250px;overflow:auto}#NEW_EMAIL a{color:#738fb6;padding:5px}#NEW_EMAIL{height:150px;width:100%;background:#f1f5f8;border-top:1px solid #c3d0d8}#PRIM{background:#fff;padding:10px;border:1px solid #BDBDBD;height:200px;overflow:hidden;width:320px}.PRIMa{position:absolute;margin-top:0px;width:330px;height:190px;overflow:auto}#NewPrim{position:relative;z-index:9}.note,.notezd{width:50%;text-align:left;border:0px;padding-left:35px;text-decoration:underline;height:35px;cursor:pointer}.statyse{background:none;border:0px;padding-top:0px;text-decoration:underline;cursor:pointer}.wrong{border:0px;padding-left:35px;height:35px;cursor:pointer;display:inline-block;width:100%;margin-left:15px;text-decoration:underline;font-size:10px;font-weight:bold;line-height:35px;color:#CD5B45}.wrong span{display:inline-block;text-decoration:inherit;font-size:inherit;font-weight:inherit;line-height:15px;color:inherit}div.primdel{position:relative;display:inline-block;position:relative;width:100%}div.primdel img.primechdel{position:absolute;top:0;right:0px}img.primechdel{visibility:visible;float:right;cursor:pointer;margin-right:7px;width:16px}span.primech{margin-bottom:10px}.trf{background:#F0F8FF}div.NewF{width:1px;height:1px;float:left}div.NewF img{float:left;height:24px !important;margin-left:-10px;margin-top:-17px;position:absolute;width:24px !important}#about_user table{margin:10px 50px 10px 30%}.zp{color:#CC0000;font-family:Arial;font-weight:bold;padding:0 5px}.TERIF{color:#0193d8;font-size:10px;margin-top:5px;font-weight:bold}.TERIF span{color:#CD5B45;font-size:11px;margin-left:5px;font-weight:bold}.job_us{display:inline-block;padding-left:18px;height:18px;line-height:16px;font-weight:bold;font-size:11px}td.delimtd{text-align:center;width:40px}td.delimtd img{width:16px;height:16px;cursor:pointer}.rred{color:#CC0000}table.small_calendary,table.small_calendary table{width:140px}table.small_calendary table td,table.small_calendary table td span{text-align:center;font-size:9px;vertical-align:middle}.menusmall,.menusmall_a{cursor:pointer;padding:0px;border:1px solid #fff;color:#000}.b_menusmall a,.menusmall a{text-decoration:underline;color:#000;font-size:9px}.menusmall select,.b_menusmall select{background:transparent;border:1px solid #fff;font-size:9px !important;width:auto !important;position:static !important}.menusmallr_a{border:0;background:#eee}.b_menusmall,.b_menusmall_a{cursor:pointer;padding:0px;border:1px solid #CC0000}#ATTA{border:1px solid #ace7f3;font-size:11px;font-weight:bold;border-radius:5px;margin-right:5px;padding:3px}.type_zd_active,.type_zd{display:inline-block;height:18px;float:left;margin-right:10px;line-height:18px;border-radius:5px;border:1px solid #ace7f3;font-size:11px;font-weight:bold;cursor:pointer;padding:2px 5px 2px 21px;background-color:none;background-position:5% 50%;background-repeat:no-repeat}.type_zd_actives{background-color:#f1f7f9}.type_zd_active{background-color:#ace7f3}div.text{width:100%;height:25px;font-weight:bold;font-size:11px}#ZADANIYA{margin-top:0;width:1000px}#calendar{margin-right:10px;margin-left:10px}#calendar table.small_calendary,#calendar td table.small_calendary table{width:155px}table.small_calendary td{border:0px dotted #CCCCCC;padding:0px}#calendar table.small_calendary table td{width:17%}#calendar table.small_calendary table td,#calendar table.small_calendary table td span{text-align:center;font-weight:bold;font-size:11px;vertical-align:middle}#calendar table.small_calendary table td a{font-size:11px;font-weight:bold;color:black;text-decoration:underline}#calendar table.small_calendary table td a.noviz{font-size:11px;font-weight:bold;text-decoration:underline}caption{text-align:center;font-size:16px;font-family:Arial;font-weight:bold}.GOD{box-shadow:0 1px 15px rgba(0,0,0,0.2);position:fixed;z-index:90;background:rgba(255,255,255,0.975)}.TboDer{box-shadow:0 1px 15px rgba(0,0,0,0.2);width:800px}#ZaDaNiYa_ELSE{box-shadow:1px 0 15px rgba(0,0,0,0.2);margin-top:10px}#YBEDa{position:fixed;z-index:99;overflow:auto;padding:15px}.YBED{color:#333;padding:10px;font-size:11px;line-height:25px;border:1px solid #aeaeae;border-radius:10px;box-shadow:0 1px 10px rgba(0,0,0,0.2);height:70px}.YBED span{display:block;border-bottom:1px dotted}.YBED a{color:var(--accent);text-decoration:underline}.newa{color:#fff;font-weight:bold;position:relative;top:-5px;white-space:nowrap;margin-right:35px}#vHody{border:1px solid #aeaeae;border-radius:5px 5px 0px 5px;box-shadow:0 1px 10px rgba(0,0,0,0.2);color:#333333;font-size:11px;line-height:20px;padding:5px 10px 0 5px;position:relative;right:-10px;text-align:right;top:-8px}#vHody .groupsimg img{position:relative;width:16px !important;height:16px !important;float:none}#vHody span{font-weight:bold}div#zp{display:inline-block;font-size:10px;height:16px;line-height:45px;line-height:15px;padding-left:18px;font-weight:bold;color:#777}#REFRESH,#Import,.Shadow_border{position:fixed;background:rgba(255,255,255,0.98);z-index:100;top:0px;left:0px;vertical-align:middle;text-align:center;line-height:20px;padding:10px;box-shadow:0 0 25px rgba(0,0,0,0.5);font-weight:bold;cursor:pointer}#REFRESH,#Import a{color:#333;text-decoration:none;font-weight:normal}#REFRESH,#Import a b{color:#CC0033;text-decoration:underline}#Import td,#Import th{padding:3px;text-align:center}button.noborder{border:0px;background:none}button.folder,button.nofolder{padding-left:40px;font-weight:bold;font-size:120%;color:black}.AnimTop{animation-name:fadeOut}.typ0{background:#CC3300;color:#fff}.typ1{background:#003399;color:#fff}.typ2{background:none;color:#660099}.typ3{background:none;color:#CC3300}.typ4{background:#006633;color:#fff}.tip0{background:#99ff99}.tip1{background:#d1dcff}.tip2{background:#ddadaf}.tip3{background:#ff6e6e}.tip4{background:#f3edce}.tabl{width:100%;border-collapse:collapse}.tabl td,.tabl th{text-align:center;padding:0px;border:1px solid #ccc;font-size:9px;vertical-align:middle}.history th{width:50px}td.FiOntd .FiOn{cursor:pointer;font-size:12px}td.FiOntd{padding-left:48px;height:48px}#Klist{text-align:center;width:100%}#TwoKL{width:240px;padding-right:20px}span.NewF{cursor:pointer;border-bottom:1px dashed #3399FF}#Klist{text-align:center;border:0px dashed}#neVse{font-size:21px;font-family:Sylfaen;line-height:15px;white-space:nowrap;margin-bottom:10px}#VseNe,.VseNe{padding:3px}#VseNe,.VseNe,.VseNe span{font-size:35px;font-family:Impact}.VseNe{background:#7099af;color:#fff;line-height:35px;font-size:35px}#Vse{padding:3px;white-space:nowrap;font-size:18px}.caption{font-family:Arial;font-size:16px;font-weight:bold;text-align:center}.Lo{border-top:1px dashed}.VseNe span{font-size:50px}#listK td#cap{font-family:Gill Sans;font-size:30px;border:0px}#listK td#capro{font-size:11px;vertical-align:bottom;text-align:right}#cap{height:35px;border-top:0px dashed}#capro{height:30px}div#ST{font-size:22px;font-family:Impact;padding:5px 10px}div#ST .noborderblack{font-size:22px;font-family:Impact;padding:5px 10px;height:35px}.small{font-size:10px;white-space:nowrap}#listK #PRIM{background:#fff;padding:10px;border:0px dashed;border-top:1px dashed;border-radius:0px;width:90%;height:auto;overflow:visible;margin-right:15px}#listK #PRIMa{position:static;height:auto;width:550px}.NNN{cursor:pointer;font-weight:bold;color:#000}#PRO{font-size:10px;color:#006666;cursor:pointer;font-family:Trebuchet MS}#Zaverzheno{color:#990000;font-family:Impact;font-size:25px;line-height:150px;margin-left:-300px;margin-top:-30px;position:absolute;text-align:center;width:150px}.WorD{width:1000px;height:500px;overflow:auto;text-align:left}.right_col{width:290px;vertical-align:top;padding-left:20px}.right_col select{border:1px solid #333333;border-radius:5px 5px 5px 5px;display:inline-block;font-size:10px;margin:2px;padding:0;position:relative;top:-4px;width:150px}.datatimes{border:1px solid rgb(51,51,51);padding:2px;display:inline-block;width:120px;border-radius:5px 5px 5px 5px;font-size:10px;background:none repeat scroll 0% 0% rgb(248,248,248);position:relative;top:-5px;left:2px}img.kalen{position:relative;top:-2px;cursor:pointer}button.kalen{position:relative;top:-2px;cursor:pointer;height:20px;padding:1px;padding-left:18px;color:var(--accent);font-size:11px;font-weight:bold;border:0px;cursor:pointer}span.right_col{display:block;float:left;font-weight:bold;width:110px}h1{color:#000;font-family:Arial;font-size:18px}td.inp{background:none repeat scroll 0 0 #F8F8F8;border:1px solid #CCCCCC;border-radius:5px 5px 5px 5px;color:#333333}td.pred_inp div{margin:20px 0px 0px 5px;padding:5px 3px;display:inline-block;position:relative;top:3px;cursor:pointer;border:1px solid #CCCCCC;border-radius:5px 5px 0px 0px;border-width:1px 1px 0px 1px;color:#333333}div.inp{background:none repeat scroll 0 0 #F8F8F8}.master,.master_c{white-space:nowrap;border-radius:0px 10px 10px 0px;border:1px solid #ccc;border-left:0px;margin-left:5px;padding:5px;background:#f1f1f1;text-align:center;color:#6997AB;cursor:pointer;display:block;margin:1px 0 0px;position:relative}.master_c{background:#fff;color:#E17C36;margin-left:-1px}#Zapisi{border-right:1px solid #ccc;width:90%}.izap{text-align:left;display:inline-block;width:80%;border-bottom:1px dashed #ccc;padding:3px}.izap_opis{text-align:left;display:inline-block;width:100%;padding:3px;font-size:10px}.izap_time,.izap_title{color:#E17C36;font-family:Arial;font-weight:bold;font-size:14px;display:inline}.izap_title{color:#6997AB;margin-left:10px}small,small b,small span{font-size:10px;font-family:Trebuchet MS}.main_admin{height:84px;padding:5px 10px;width:250px}.main_admin .newdocs,.main_admin a{float:none;display:block;color:#000;font-weight:bold;background:none;font-size:11px !important;line-height:12px;font-weight:bold;margin:0;padding:0px;text-align:left;cursor:pointer}.main_admin div.img{float:left;height:70px;position:relative;top:-5px;width:80px}#filter button.button{border:0;color:#fff;box-shadow:0px 0px 0px;height:15px;border:0px;border-radius:0}.box,.box-button{background:#f4f4f4;border:1px solid #ccc;background:#f6f6f6}a.box-button{color:#000 !important;cursor:pointer;display:inline-block;line-height:15px;text-align:center;padding:3px;text-decoration:none}a.box-button:hover{background:#e0e0e0}a.box-button:active{background:#ffffff}span.box,div.box{line-height:20px;padding:10px;margin:10px;display:block}.normspan{float:none;font-weight:normal;display:inline !important}.leftf{border:0;padding:0;text-align:left}.box h1{font-family:Arial;color:#333;text-align:left;white-space:nowrap}.box div h1{font-size:13px}.box textarea{background:#ffffff;width:650px;height:120px}.grayinput{border-color:#ccc;border-radius:5px;width:100%}.input{display:inline-block;height:15px;width:281px;padding:3px 1px}input.CK_input,.greyinput{border:1px solid #BFBFBF;box-shadow:0 1px 0 #FFFFFF inset;padding:3px;width:100%;margin-bottom:10px}.greyinput{width:350px;margin-left:50px}#step{background:#f6f6f6;width:100%;border-collapse:collapse}#step td{height:47px;vertical-align:middle;text-align:center;padding:0px 30px 0px 10px;font-weight:bold;font-size:20px;color:var(--accent)}#step td.action_step{color:#fff;background:#469ac8;border-radius:20px 20px 0px 0px}.box .input,.box select,.noborder,.noborderblack{border:0px;background:transparent;color:var(--accent);border-bottom:1px dotted #0462F4}.noborderblack{border:0px;color:#000}.box .sub{margin:5px}#Rez_sms_respond{background:#ffe45c;border:1px solid #fed22f;font-size:11px;padding:0px 5px;margin:10px 0px;border-radius:5px}.ctags,.ctag{cursor:pointer;color:#2b2b2b;font-size:11px;padding:2px 4px;float:left}.ctag,.ctag_bold{text-decoration:underline;color:#000}.ctag_bold{font-weight:bold;font-size:15px;text-decoration:none;white-space:nowrap}#Trial{position:fixed;bottom:-5px;width:100%;z-index:99}#Trial .Trial{border-radius:12px 12px 0 0;width:98%;line-height:35px;text-align:center;padding:0px;margin:0px 1%;box-shadow:0 0 15px #9c9c9c}.ymtd2 a{text-decoration:underline;display:inline}div.td3{width:auto}a.nobox,a.box2{position:relative;top:-10px;line-height:40px;text-decoration:none;width:100%;display:block}div.td4 a.nobox{color:#000;text-align:left;padding:0 10px}a.box2{color:#fff;padding:0 10px;text-align:left}div.td33 a.nobox,div.td3 a.nobox{margin-left:10px;color:#fff;text-align:left;padding:0 10px 0 20px;width:auto}div.td4{border-radius:10px 0 0 0}div.td33{border-radius:0px 10px 0 0;float:right;width:300px}.yellow .box2{color:#000}.blue{background:#327dbc}table.press_calc_table,table.press_calc_table_fp{border-collapse:collapse}div.press_calc_table{border:1px dashed grey;border-width:1px 1px 1px 1px}input:disabled,select:disabled{background:#dddddd;opacity:0.3}#logo_mess_akk{font-weight:normal;font-size:10px;color:#FFA500}a.logo:hover{text-decoration:none}.dushed{border-style:dotted}.undushed{border-width:0px;padding:10px 0px 0px 10px;margin-top:10px}#block_press_calc_stitch_more td,#block_press_calc_stitch td,#block_press_calc_get_list td{padding-top:10px}#block_block_press_calc_stitch_more td,#block_press_calc_stitch_glue td{padding-bottom:10px}.bindent,.sindent,.hindent{display:inline-block;position:relative;top:3px;left:5px;outline:1px solid black;height:12px;width:40px;background-color:#0088CC}.bindent{border-top:3px double red;height:10px;width:46px}.hindent{border-bottom:3px double red;height:10px;width:46px}.sindent{border-left:3px double red;border-right:3px double red}div.quet{border:1px solid;font-style:normal;margin:10px 0;padding:10px}#BOX{background:none repeat scroll 0 0 rgba(0,0,0,0.7);height:100%;left:0;top:0;position:fixed;width:100%;z-index:100}#MOD{background:#f1c40f;background:#ffffff;position:fixed;left:0;top:0;z-index:100;border-radius:5px}#MOD div,#MOD form{margin:25px;text-align:center}#MOD h1,#MOD p{margin:15px;text-align:center}#MOD h1{font-size:60px;margin-bottom:0px}#MOD h2{font-size:60px;margin:30px;margin-top:70px}#MOD p{font-size:30px;margin-top:0px;margin-bottom:40px}*{font-family:Arial,Helvetica,sans-serif}.TOPP{background:var(--surface);border-bottom:1px solid var(--border)}button.eprimapress,div.zel,#Trial .Trial,th.sin{background:var(--accent);color:var(--header-fg)}#right_menu{border-left:1px solid var(--border)}.header_menu{border-right:1px solid var(--border)}#Yours_menu li#panel a,#Yours_menu li#Yous,#menu form,#menu form a{color:var(--header-fg)}#header_menu div.header_menu .ionmenu a,.ionmenu td{color:var(--text-muted)}.footer,.footers{background:var(--surface);color:var(--text-muted);border-top:1px solid var(--border)}input,select,.input,textarea{accent-color:var(--accent);border-color:var(--border);color:var(--text);background:var(--surface)}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}.button,input.sub,button.sub,a.sub{background:var(--accent);border-color:var(--accent-hover);color:#fff;font-family:Arial,sans-serif;font-style:normal;box-shadow:none}.tabl td,.tabl th{border-color:var(--border)}.tabl thead th{position:sticky;top:0;background:var(--surface);z-index:1}.redt td{border-top-color:var(--border)}.white{background:var(--surface)}#titan,#POPABS{background:var(--overlay)}.box,.box-button,a.box-button{background:var(--bg);border-color:var(--border)}.inv2{background:var(--surface);color:var(--text);box-shadow:0 2px 12px var(--shadow)}.Yours_menu_bot{background:var(--bg)}.typ0,.typ1,.typ2,.typ3,.typ4{border:1px solid var(--border);border-radius:3px}.tip0,.tip1,.tip2,.tip3,.tip4{border:1px solid var(--border);border-radius:2px;opacity:0.95}h1,#podmenu h1,.titlezd,.izap_time,.izap_title{font-family:Arial,sans-serif;font-style:normal}.AnimTop{animation-name:fadeOut;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards}a,button,input,select,textarea,.button,.nav-item,.crm-search-btn,.crm-theme-toggle,.login-link{transition:background var(--transition),color var(--transition),border-color var(--transition),box-shadow var(--transition)}*{font-family:Arial,Helvetica,sans-serif}body{background:var(--bg);color:var(--text);padding-top:60px}div.TOP{background:var(--accent);border-bottom:1px solid var(--border)}.TOPP{background:var(--surface);border-bottom:1px solid var(--border)}button.eprimapress,div.zel,#Trial .Trial,th.sin{background:var(--accent);color:var(--header-fg)}#right_menu,.header_menu{background:var(--surface);border-color:var(--border)}#right_menu{border-left:1px solid var(--border)}.header_menu{border-right:1px solid var(--border)}.footer,.footers{background:var(--surface);color:var(--text-muted);border-top:1px solid var(--border)}input,select,.input,textarea{accent-color:var(--accent);border-color:var(--border);color:var(--text);background:var(--surface)}.button,input.sub,button.sub,a.sub{background:var(--accent);color:#fff;font-family:Arial,sans-serif;font-style:normal;box-shadow:none}.button:hover,input.sub:hover,button.sub:hover,a.sub:hover{background:var(--accent-hover)}.tabl td,.tabl th{border-color:var(--border)}.tabl thead th{position:sticky;top:0;background:var(--surface);z-index:1}#titan,#POPABS{background:var(--overlay)}.box,.box-button,a.box-button{background:var(--bg);border-color:var(--border)}.yellow{background:#ffea9e}.blue{background:var(--accent)}.typ0,.typ1,.typ2,.typ3,.typ4,.tip0,.tip1,.tip2,.tip3,.tip4{border:1px solid var(--border);border-radius:3px}h1,#podmenu h1,.titlezd,.izap_time,.izap_title{font-family:Arial,sans-serif;font-style:normal}.is-hidden{display:none}
.u-text-muted{color:var(--text-muted)!important}
.u-hidden{display:none!important}
.card-panel{border-radius:6px}
.btn-ghost{font-family:Arial,sans-serif}.TOPP{background:var(--surface);border-bottom:1px solid var(--border)}button.eprimapress,div.zel,#Trial .Trial{background:var(--accent);color:var(--header-fg)}.header_menu{background:var(--surface);border-right:1px solid var(--border)}.tabl td,.tabl th{border-color:var(--border)}.tabl thead th{position:sticky;top:0;background:var(--surface);z-index:1}input,select,.input,textarea,input[type=checkbox],input[type=radio]{accent-color:var(--accent);border-color:var(--border);background:var(--surface);color:var(--text)}.button,input.sub,button.sub,a.sub{background:var(--accent);color:#fff;font-family:Arial,sans-serif;font-style:normal;box-shadow:none}.footer,.footers{background:var(--surface);color:var(--text-muted);border-top:1px solid var(--border)}#titan,#POPABS{background:var(--overlay)}.typ0,.typ1,.typ2,.typ3,.typ4,.tip0,.tip1,.tip2,.tip3,.tip4{border:1px solid var(--border);border-radius:3px}.tip0,.tip1,.tip2,.tip3,.tip4{opacity:.95}a,button,input,select,textarea,.button,.nav-item,.crm-search-btn,.crm-theme-toggle,.login-link{transition:background var(--transition),color var(--transition),border-color var(--transition)}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.AnimTop{animation-name:fadeOut;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards}
/* Avanta final overrides */
.TOPP{position:relative;max-width:100%;width:100%}
#bmenu.menu{position:relative;display:flex;align-items:stretch;flex-wrap:nowrap}
.menu a.logo{position:relative!important;top:auto!important;left:auto!important;z-index:20!important;flex:0 0 auto!important;cursor:pointer!important;text-decoration:none!important}
.menu a.logo .logo-avanta{font-size:14px;line-height:1;padding:0 16px;display:flex;align-items:center;height:60px}
.menu a.logo .logo-avanta-img{display:block;max-width:150px;max-height:48px;width:auto;height:auto;margin:0 12px 0 16px;object-fit:contain;vertical-align:middle}
.ionmenu .menu a.nav-item{padding-left:12px;background-image:none!important;width:auto;min-width:120px}
.header_menu.crm-sidebar{width:236px!important;min-width:236px;background:var(--surface)!important;border-right:1px solid var(--border)!important;vertical-align:top}
.crm-sidebar__inner{display:block;padding:12px 0 20px}
table.crm-nav.ionmenu{width:100%;border:0;border-collapse:collapse;background:transparent}
.crm-nav__row td,.crm-nav__section-row td{border:0!important;padding:0!important;background:transparent!important}
.crm-nav-section{padding:18px 14px 8px}
.crm-nav-section__title{display:block;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);line-height:1.2;font-family:Arial,sans-serif}
.header_menu .crm-nav-link{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px;padding:9px 12px 9px 12px;margin:2px 8px;border-radius:8px;border-left:3px solid transparent;color:var(--text)!important;font-size:13px;font-weight:500;line-height:1.35!important;text-decoration:none!important;width:auto!important;min-width:0!important;background:none!important;background-image:none!important;position:relative;box-sizing:border-box;white-space:normal}
.header_menu .crm-nav-link:hover{background:var(--bg)!important;color:var(--accent)!important;text-decoration:none!important}
.header_menu .crm-nav-link.activ{background:var(--bg)!important;color:var(--accent)!important;font-weight:600;text-decoration:none!important;box-shadow:none!important;border-left-color:var(--accent)!important}
.header_menu .crm-nav-link__label{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1 1 auto;min-width:0}
.header_menu .crm-nav-link small{display:block!important;position:static!important;margin:3px 0 0!important;padding:0!important;line-height:1.25!important;font-size:10px!important;font-weight:500!important;color:var(--text-muted)!important;text-decoration:none!important}
.header_menu .crm-nav-link.activ small{color:var(--text-muted)!important}
.header_menu .crm-nav-link #newlc,.header_menu .crm-nav-link #newzd,.header_menu .menu a div#newlc,.header_menu .menu a div#newzd{position:static!important;top:auto!important;right:auto!important;float:none!important;height:auto!important;line-height:1!important;padding:0!important;margin:0!important;background:transparent!important}
.header_menu .crm-nav-link #newlc.is-hidden,.header_menu .crm-nav-link #newzd.is-hidden{display:none!important}
.header_menu .crm-nav-link #newlc:not(.is-hidden),.header_menu .crm-nav-link #newzd:not(.is-hidden){display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;min-width:18px;height:18px!important;padding:0 5px!important;background:var(--accent)!important;border-radius:999px}
.header_menu .crm-nav-link #newlc:not(.is-hidden):empty,.header_menu .crm-nav-link #newzd:not(.is-hidden):empty{display:none!important}
.header_menu .crm-nav-link #newlc span,.header_menu .crm-nav-link #newzd span{font-size:10px!important;color:#fff!important;font-weight:700!important;line-height:1!important;text-decoration:none!important}
.header_menu .crm-nav-link #newlc span:empty,.header_menu .crm-nav-link #newzd span:empty{display:none}
.header_menu.crm-sidebar .ionmenu .menu a.crm-nav-link,.header_menu.crm-sidebar .ionmenu .menu a.nav-item{color:var(--text)!important;font-weight:500!important;padding:9px 12px!important;line-height:1.35!important;width:auto!important;background-image:none!important}
.header_menu.crm-sidebar .ionmenu .menu a.crm-nav-link.activ,.header_menu.crm-sidebar .menu a.crm-nav-link.activ,.header_menu.crm-sidebar .bmenu a.crm-nav-link.activ{text-decoration:none!important}
.header_menu.crm-sidebar .ionmenu .menu a small,.header_menu.crm-sidebar .ionmenu .menu a.crm-nav-link small{position:static!important;margin:3px 0 0!important;line-height:1.25!important}
.header_menu.crm-sidebar .ionmenu .menu a,.header_menu.crm-sidebar div.ionmenu div.menu span{line-height:1.35!important;width:auto!important;padding:0!important;display:block}
div.Yours_menu .Yours_menu_in,.card-panel{background:var(--surface)!important;border:1px solid var(--border)!important;color:var(--text)!important}
.Yours_menu_in a{color:var(--accent)!important}
#about_user_form .btn-ghost{background:transparent;border:1px solid var(--border);color:var(--header-fg);padding:4px 10px;border-radius:4px;cursor:pointer;font-size:11px}
.crm-icon-btn{color:var(--header-fg);font-weight:bold;width:32px;text-align:center}
.crm-search-btn--go::after{content:"\2315";font-size:18px}
.Arrwor,.ArrworOK,.wrong,.rred,.zp,.small_red,.FiOnR{color:var(--accent)!important}
#Arrwors{background:var(--accent)!important}
#Arrwors .Arrwor{color:var(--header-fg)!important}
#Arrwors .Arrwor a{color:var(--header-fg)!important;text-decoration:underline}
.straniz a.sinka{background:var(--accent)!important;color:var(--header-fg)!important}
.RED,a.FiOns,legend,.smallblu{color:var(--accent)!important}
.smallbla,.FiOn,.ch,.NNN,.ctag,.ctag_bold,.gprim,.limit,.messing,u,.noborderblack,.noborderblackno,.caption,#PRO,.datatimes,span.right_col,.izap,.izap_opis,.ADMIN_INFO,.ADMIN_INFO a,.main_admin a,.main_admin .newdocs,#REFRESH a,#Import a,.menusmall,.menusmall_a,.b_menusmall a,.menusmall a,button.folder,button.nofolder,a.box-button,.box h1,td.pred_inp div,table.podclass td,table.podclass td div,table.podclass td span,table.press_calc_table td,table.press_calc_table_fp td,div.press_calc_table,.redt td,.redt td div,.redt th a,.tabl th a,#TOPHT th a,#podmenu a,#podmenu form a,.straniz a:not(.sinka),.menu a span.small,.bmenu a span.small,button.button,.tabl button.button,.tdtable button.button,button.eprima:not(.eprimapress){color:var(--text)!important}
.FiOn{border-bottom-color:var(--text-muted)!important}
a.FiOns span,.tabl a.FiOns span{color:inherit!important}
.redt th a,.tabl th a,#TOPHT th a{color:var(--accent)!important}
.menu a div#newzd,.menu a div#newlc,.bmenu a div#newzd,.bmenu a div#newlc{background:var(--accent)!important}
h1,#podmenu h1{color:var(--text)!important}
.main td,.menu a,.bmenu a,#mess p a{color:var(--text)}
.white,.redt,.div.staruse,div.staruse{background:var(--surface)!important}
.RedForm,.Shadow_bor,#PRIM,#NemVmess{background:var(--surface)!important;border-color:var(--border)!important}
#top_k{background:var(--text)!important;color:var(--header-fg)!important}
#top_k button{color:var(--header-fg)!important}
.jobs,.jobs .no_online,#neVse,div#ST,.caption{font-family:Arial!important}
.bigleg{background:var(--accent)!important}
.inv3{background:var(--accent)!important}
.master,.master_c{border-color:var(--border)!important;color:var(--accent)!important}
.master_c{color:var(--accent-hover)!important}
.izap_time,.izap_title{color:var(--accent)!important}
.yred{background:var(--surface)!important;color:var(--accent)!important;border:1px solid var(--border)}
.footer p{color:var(--text-muted)}
div#header_menu{display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;flex-wrap:nowrap!important;float:none!important;margin-left:200px!important;padding-left:12px!important;padding-right:12px;height:60px;box-sizing:border-box;gap:12px;position:relative;width:calc(100% - 200px)!important;max-width:calc(100% - 200px)!important;z-index:1!important}
.crm-header-left{display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;gap:16px!important;justify-content:flex-start!important}
.crm-header-right{display:flex!important;align-items:center!important;gap:10px;flex-shrink:0!important;margin-left:16px!important}
.crm-header-user{float:none!important}
#header_menu .crm-header-actions{display:flex!important;flex-direction:row!important;align-items:center!important;float:none!important;gap:12px!important;padding:0!important;margin:0!important;height:auto!important;flex-shrink:0!important}
#header_menu .crm-header-actions>a.button{margin:0!important;display:inline-block!important;border-radius:6px!important;white-space:nowrap!important}
#header_menu .crm-search-wrap{display:flex!important;align-items:center!important;float:none!important;padding:0!important;height:auto!important;flex:2 1 400px!important;min-width:320px!important;max-width:760px!important}
#header_menu .crm-search{width:100%!important;max-width:100%!important}
#header_menu .crm-search-form{flex:1 1 auto!important;min-width:0!important;width:100%!important}
#header_menu .crm-search-input{width:100%!important;min-width:320px!important;max-width:none!important;flex:1 1 auto!important;box-sizing:border-box!important;font-size:13px!important}
.crm-theme-toggle{position:static!important;right:auto!important;top:auto!important;width:36px!important;height:36px!important;flex-shrink:0;display:inline-flex!important;align-items:center;justify-content:center;background:var(--bg)!important;border:1px solid var(--border)!important;border-radius:8px!important;color:var(--text)!important;cursor:pointer;font-size:0!important;line-height:1!important;padding:0!important}
.crm-theme-toggle__icon{display:block;width:18px;height:18px;font-size:18px;line-height:18px;color:var(--text-muted)}
.crm-theme-toggle__icon::before{content:"\263E"}
[data-theme="dark"] .crm-theme-toggle__icon::before{content:"\2600"}
.crm-theme-toggle:hover{border-color:var(--accent)!important;background:var(--surface)!important}
.crm-theme-toggle:hover .crm-theme-toggle__icon{color:var(--accent)}
.crm-theme-toggle::after{display:none!important;content:none!important}
#REFRESH.crm-refresh-bar:empty{display:none!important}
#REFRESH.crm-refresh-bar:not(:empty){display:block!important;position:fixed;left:auto;right:16px;top:68px;max-width:280px;padding:8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:6px;color:var(--text);font-size:12px;box-shadow:0 2px 12px var(--shadow);z-index:98;cursor:pointer}
#Yours_menu li#panel:empty{display:none!important;width:0!important;padding:0!important;overflow:hidden}
.crm-trial-bar{height:40px}
.crm-trial-inner{position:relative}
div.select,div.selected{float:none;height:auto;background:var(--surface)}
div.select div{display:block}
div.selected div{display:block;position:relative;width:210px}
div.select span,div.selected span{background:var(--surface);display:block;white-space:nowrap;margin-right:15px;color:var(--text)}
div.selected span.selected{background:var(--accent);color:var(--header-fg)}

/* ===== Dark theme readability ===== */
[data-theme="dark"] body{background:var(--bg)!important;color:var(--text)!important}
[data-theme="dark"] .main,[data-theme="dark"] .main td,[data-theme="dark"] .main table{color:var(--text)!important}
[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3,[data-theme="dark"] legend,[data-theme="dark"] caption,[data-theme="dark"] label,[data-theme="dark"] fieldset,[data-theme="dark"] fieldset span,[data-theme="dark"] p,[data-theme="dark"] td,[data-theme="dark"] th,[data-theme="dark"] li,[data-theme="dark"] div,[data-theme="dark"] span,[data-theme="dark"] u,[data-theme="dark"] b,[data-theme="dark"] strong{color:var(--text)!important}
[data-theme="dark"] .tabl td,[data-theme="dark"] .tabl th,[data-theme="dark"] .history th{color:var(--text)!important;background:var(--surface)!important;border-color:var(--border)!important}
[data-theme="dark"] .tabl thead th,[data-theme="dark"] .TH th,[data-theme="dark"] #TOPHT{background:var(--surface)!important;color:var(--text)!important}
[data-theme="dark"] .tabl tbody tr:nth-child(even) td{background:var(--bg)!important}
[data-theme="dark"] .tabl tbody tr:nth-child(odd) td{background:var(--surface)!important}
[data-theme="dark"] .white,[data-theme="dark"] .redt,[data-theme="dark"] .fff,[data-theme="dark"] div.staruse,[data-theme="dark"] .adm,[data-theme="dark"] #ZADANIYA{background:var(--surface)!important;color:var(--text)!important}
[data-theme="dark"] .redt td,[data-theme="dark"] .redt th{border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] .header_menu,[data-theme="dark"] #right_menu,[data-theme="dark"] #podmenu{background:var(--surface)!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] .header_menu .crm-nav-section__title{color:var(--text-muted)!important}
[data-theme="dark"] .header_menu .crm-nav-link{color:var(--text)!important}
[data-theme="dark"] .header_menu .crm-nav-link:hover,[data-theme="dark"] .header_menu .crm-nav-link.activ{color:var(--accent)!important}
[data-theme="dark"] .menu a.activ,[data-theme="dark"] .bmenu a.activ{background:var(--bg)!important;color:var(--accent)!important}
[data-theme="dark"] #podmenu a,[data-theme="dark"] #podmenu h1,[data-theme="dark"] #podmenu a.option,[data-theme="dark"] .newdocs{color:var(--text)!important}
[data-theme="dark"] #podmenu a:hover{color:var(--accent)!important}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea,[data-theme="dark"] .input,[data-theme="dark"] td.inp,[data-theme="dark"] div.inp{background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:var(--text-muted)!important;opacity:1}
[data-theme="dark"] option{background:var(--surface)!important;color:var(--text)!important}
[data-theme="dark"] .menu a,[data-theme="dark"] .bmenu a,[data-theme="dark"] #mess p a{color:var(--text)!important}
[data-theme="dark"] #mess p{border-color:var(--border)!important}
[data-theme="dark"] .straniz a{color:var(--text)!important}
[data-theme="dark"] .straniz a.sinka{color:var(--header-fg)!important;background:var(--accent)!important}
[data-theme="dark"] .limit,[data-theme="dark"] .comps,[data-theme="dark"] .jobs,[data-theme="dark"] .uuu,[data-theme="dark"] .small,[data-theme="dark"] small,[data-theme="dark"] small span{color:var(--text-muted)!important}
[data-theme="dark"] .ch,[data-theme="dark"] .ch0{color:var(--text)!important}
[data-theme="dark"] .FiOn,[data-theme="dark"] .cm0,[data-theme="dark"] .cm0 div,[data-theme="dark"] .cm0 div span{color:var(--text)!important}
[data-theme="dark"] a.FiOns,[data-theme="dark"] span.FiOns,[data-theme="dark"] .smallblu,[data-theme="dark"] .RED,[data-theme="dark"] .TERIF,[data-theme="dark"] legend{color:var(--accent)!important}
[data-theme="dark"] .titlezd a{color:var(--accent-hover)!important}
[data-theme="dark"] .box,[data-theme="dark"] .box-button,[data-theme="dark"] a.box-button,[data-theme="dark"] span.box,[data-theme="dark"] div.box{background:var(--surface)!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] .box h1,[data-theme="dark"] .box div h1{color:var(--text)!important}
[data-theme="dark"] .box textarea{background:var(--bg)!important;color:var(--text)!important}
[data-theme="dark"] .RedForm,[data-theme="dark"] .Shadow_bor,[data-theme="dark"] #PRIM,[data-theme="dark"] #NemVmess,[data-theme="dark"] #NEW_EMAIL,[data-theme="dark"] #MessEGe,[data-theme="dark"] #optionKonf{background:var(--surface)!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] div.Yours_menu .Yours_menu_in,[data-theme="dark"] div.seven .Yours_menu_in{background:var(--surface)!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] .Yours_menu_in a,[data-theme="dark"] .Yours_menu_in select{color:var(--text)!important}
[data-theme="dark"] .Yours_menu_bot{background:var(--bg)!important;color:var(--text)!important}
[data-theme="dark"] .eeetable td{border-color:var(--border)!important;color:var(--text)!important;background:var(--surface)!important}
[data-theme="dark"] .messing,[data-theme="dark"] .messing div{color:var(--text)!important}
[data-theme="dark"] .messing div span{color:var(--text-muted)!important}
[data-theme="dark"] .messing a{color:var(--text-muted)!important}
[data-theme="dark"] .messing div button{color:var(--accent)!important}
[data-theme="dark"] button.eprima,[data-theme="dark"] button.eprimapress{background:var(--bg)!important;color:var(--text)!important}
[data-theme="dark"] button.eprimapress{background:var(--accent)!important;color:var(--header-fg)!important}
[data-theme="dark"] #top_k{background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--border)!important}
[data-theme="dark"] #top_k button,[data-theme="dark"] button.button,[data-theme="dark"] #filter button.button{color:var(--text)!important}
[data-theme="dark"] .master{background:var(--bg)!important;color:var(--text-muted)!important;border-color:var(--border)!important}
[data-theme="dark"] .master_c{background:var(--surface)!important;color:var(--accent)!important}
[data-theme="dark"] table#KKK{background:var(--bg)!important}
[data-theme="dark"] table#KKK td{background:var(--surface)!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] .footer,[data-theme="dark"] .footers{background:var(--surface)!important;color:var(--text-muted)!important}
[data-theme="dark"] .ADMIN_INFO,[data-theme="dark"] .ADMIN_INFO a,[data-theme="dark"] .ADMIN_INFO select{color:var(--text)!important}
[data-theme="dark"] .ADMIN_INFO select{background:var(--surface)!important;border-color:var(--border)!important}
[data-theme="dark"] #Yours_menu li#Yous,[data-theme="dark"] #Yours_menu li#Yous .fio,[data-theme="dark"] .u-text-muted{color:var(--text)!important}
[data-theme="dark"] #header_menu div.header_menu .ionmenu a,[data-theme="dark"] .ionmenu td{color:var(--text-muted)!important}
[data-theme="dark"] .gprim{color:var(--text)!important}
[data-theme="dark"] .wrong,[data-theme="dark"] .Arrwor,[data-theme="dark"] .rred,[data-theme="dark"] .zp,[data-theme="dark"] .FiOnR{color:var(--accent)!important}
[data-theme="dark"] .YBED,[data-theme="dark"] #vHody{background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
[data-theme="dark"] .YBED a{color:var(--accent)!important}
[data-theme="dark"] #calendar table.small_calendary table td a,[data-theme="dark"] #calendar table.small_calendary table td,[data-theme="dark"] #calendar table.small_calendary table td span{color:var(--text)!important}
[data-theme="dark"] .menusmall,[data-theme="dark"] .menusmall_a,[data-theme="dark"] .b_menusmall a,.menusmall a{color:var(--text)!important;border-color:var(--border)!important}
[data-theme="dark"] .menusmall select,[data-theme="dark"] .b_menusmall select{background:var(--surface)!important;color:var(--text)!important}
[data-theme="dark"] .main_admin a,[data-theme="dark"] .main_admin .newdocs{color:var(--text)!important}
[data-theme="dark"] #step{background:var(--bg)!important}
[data-theme="dark"] #step td{color:var(--accent)!important}
[data-theme="dark"] #step td.action_step{color:var(--header-fg)!important;background:var(--accent)!important}
[data-theme="dark"] .edits,[data-theme="dark"] .editeds,[data-theme="dark"] .Sedits,[data-theme="dark"] .Sediteds{background:var(--bg)!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] .editeds input,[data-theme="dark"] .editeds select,[data-theme="dark"] .Sediteds input{background:var(--surface)!important;color:var(--text)!important}
[data-theme="dark"] .GOD{background:rgba(11,17,33,0.95)!important}
[data-theme="dark"] .TboDer,[data-theme="dark"] #ZaDaNiYa_ELSE{background:var(--surface)!important;color:var(--text)!important}
[data-theme="dark"] #REFRESH.crm-refresh-bar:not(:empty){background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
[data-theme="dark"] div#zp{color:var(--text-muted)!important}
[data-theme="dark"] span.attach,[data-theme="dark"] span.attach span{border-color:var(--border)!important;color:var(--text-muted)!important}
[data-theme="dark"] .type_zd,[data-theme="dark"] .type_zd_active{border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] .type_zd_actives{background:var(--bg)!important}
[data-theme="dark"] .type_zd_active{background:var(--accent)!important;color:var(--header-fg)!important}
[data-theme="dark"] #ATTA{border-color:var(--border)!important;color:var(--text)!important}
[data-theme="dark"] .izap,[data-theme="dark"] .izap_opis{color:var(--text)!important;border-color:var(--border)!important}
[data-theme="dark"] .pred_inp div{background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}
[data-theme="dark"] .noborder,[data-theme="dark"] .noborderblack{color:var(--text)!important}
[data-theme="dark"] a,[data-theme="dark"] a:visited{color:var(--accent)}
[data-theme="dark"] a:hover{color:var(--accent-hover)}
[data-theme="dark"] #Qest{background:var(--surface)!important;color:var(--text)!important}
[data-theme="dark"] .trf{background:var(--bg)!important}
[data-theme="dark"] .VseNe{background:var(--accent)!important;color:var(--header-fg)!important}
[data-theme="dark"] #neVse,[data-theme="dark"] #Vse,[data-theme="dark"] #PRO{color:var(--text)!important}
[data-theme="dark"] div.td4 a.nobox,[data-theme="dark"] div.td33 a.nobox,[data-theme="dark"] div.td3 a.nobox{color:var(--text)!important}
[data-theme="dark"] .yellow .box2{color:var(--text)!important}
[data-theme="dark"] input:disabled,[data-theme="dark"] select:disabled{background:var(--border)!important;color:var(--text-muted)!important;opacity:0.6}
[data-theme="dark"] .crm-search-input{background:var(--surface)!important;color:var(--text)!important}
[data-theme="dark"] .smallbla,[data-theme="dark"] .tabl .smallbla,[data-theme="dark"] .staruse .smallbla,[data-theme="dark"] .tabl td .smallbla{color:var(--text)!important}
[data-theme="dark"] .groups,[data-theme="dark"] .tabl .groups,[data-theme="dark"] .tabl td .groups,[data-theme="dark"] .tabl td .groups span{color:var(--text)!important}
[data-theme="dark"] .FiOn,[data-theme="dark"] .tabl .FiOn,[data-theme="dark"] .tabl td .FiOn,[data-theme="dark"] .tabl td span.FiOn{color:var(--text)!important;border-bottom-color:var(--text-muted)!important}
[data-theme="dark"] .ch,[data-theme="dark"] .tabl .ch,[data-theme="dark"] .staruse .ch,[data-theme="dark"] .staruse .ch0 .ch,[data-theme="dark"] .staruse span.ch{color:var(--text)!important}
[data-theme="dark"] .tabl .comps,[data-theme="dark"] .staruse .comps{color:var(--text)!important}
[data-theme="dark"] .tabl tbody tr.f td,[data-theme="dark"] .tabl tbody tr.ff td,[data-theme="dark"] .tabl tbody tr[id^="Tr"] td{color:var(--text)!important}
[data-theme="dark"] .tabl tbody tr.f td span:not(.FiOnR):not(.RED),[data-theme="dark"] .tabl tbody tr[id^="Tr"] td span:not(.FiOnR):not(.RED){color:var(--text)!important}
[data-theme="dark"] a.FiOns,[data-theme="dark"] a.FiOns span{color:var(--accent)!important}
[data-theme="dark"] .tabl td[style] span.ch,[data-theme="dark"] .tabl .ch0 span{color:var(--text)!important}
[data-theme="dark"] .redt th a,[data-theme="dark"] .tabl th a,[data-theme="dark"] #TOPHT th a,[data-theme="dark"] .TH th a,[data-theme="dark"] .history th a{color:var(--accent)!important}
[data-theme="dark"] .NNN,[data-theme="dark"] .ctag,[data-theme="dark"] .ctag_bold,[data-theme="dark"] u,[data-theme="dark"] .noborderblackno,[data-theme="dark"] table.podclass td,[data-theme="dark"] table.podclass td div,[data-theme="dark"] table.podclass td span,[data-theme="dark"] table.press_calc_table td,[data-theme="dark"] table.press_calc_table_fp td,[data-theme="dark"] div.press_calc_table,[data-theme="dark"] .caption,[data-theme="dark"] .datatimes,[data-theme="dark"] span.right_col,[data-theme="dark"] .izap_time,[data-theme="dark"] .redt td div,[data-theme="dark"] .redt td a,[data-theme="dark"] #listK td,[data-theme="dark"] #listK td a,[data-theme="dark"] .WorD,[data-theme="dark"] .WorD td,[data-theme="dark"] .eeetable th,[data-theme="dark"] .foldersmall,[data-theme="dark"] .foldersmall_a,[data-theme="dark"] .ymtd1 a,[data-theme="dark"] .ymtd2 a,[data-theme="dark"] .sdnoviz,[data-theme="dark"] .eMal,[data-theme="dark"] .job_us,[data-theme="dark"] .note,[data-theme="dark"] .statyse,[data-theme="dark"] .primech,[data-theme="dark"] .FiOnSedits,[data-theme="dark"] .Sedits span,[data-theme="dark"] .edits span,[data-theme="dark"] #about_user table td,[data-theme="dark"] #about_user table,[data-theme="dark"] .inv2,[data-theme="dark"] .inv2 td,[data-theme="dark"] .inv2 .form,[data-theme="dark"] #podmenu form a,[data-theme="dark"] #podmenu a.search,[data-theme="dark"] button.folder,[data-theme="dark"] button.nofolder,[data-theme="dark"] a.box-button,[data-theme="dark"] #REFRESH a,[data-theme="dark"] #Import a,[data-theme="dark"] #Import td,[data-theme="dark"] #Import th,[data-theme="dark"] .greyinput,[data-theme="dark"] .CK_input,[data-theme="dark"] #MessEGe h1,[data-theme="dark"] #NEW_EMAIL a,[data-theme="dark"] .optionKonf a,[data-theme="dark"] #Klist,[data-theme="dark"] #TwoKL,[data-theme="dark"] .Lo,[data-theme="dark"] #ardzon_MEssEmail_frame,[data-theme="dark"] .zel span,[data-theme="dark"] .gzel span,[data-theme="dark"] .redt td.zdtimes,[data-theme="dark"] .redt td.zdname{color:var(--text)!important}
[data-theme="dark"] [style*="color:black"],[data-theme="dark"] [style*="color: black"],[data-theme="dark"] [style*="color:#000"],[data-theme="dark"] [style*="color: #000"],[data-theme="dark"] [style*="color:#333"],[data-theme="dark"] [style*="color: #333"],[data-theme="dark"] [style*="color:#333333"],[data-theme="dark"] [style*="color: #333333"]{color:var(--text)!important}
[data-theme="dark"] [style*="color:red"],[data-theme="dark"] [style*="color: red"],[data-theme="dark"] [style*="color:#993333"],[data-theme="dark"] [style*="color: #993333"]{color:#f87171!important}
[data-theme="dark"] a.FiOns,[data-theme="dark"] a.FiOns span,[data-theme="dark"] .RED,[data-theme="dark"] .smallblu,[data-theme="dark"] .TERIF,[data-theme="dark"] .titlezd a,[data-theme="dark"] .YBED a,[data-theme="dark"] .straniz a.sinka,[data-theme="dark"] .ionmenu .menu a,[data-theme="dark"] #podmenu a:hover{color:var(--accent)!important}
[data-theme="dark"] a.FiOns:hover,[data-theme="dark"] a:hover{color:var(--accent-hover)!important}
[data-theme="dark"] .wrong,[data-theme="dark"] .Arrwor,[data-theme="dark"] .rred,[data-theme="dark"] .zp,[data-theme="dark"] .FiOnR,[data-theme="dark"] .small_red,[data-theme="dark"] yred{color:var(--accent)!important}
[data-theme="dark"] button.button,[data-theme="dark"] .tabl button.button,[data-theme="dark"] .tdtable button.button,[data-theme="dark"] .small_calendary button.button,[data-theme="dark"] #top_k button,[data-theme="dark"] #filter button.button{color:var(--text)!important}
[data-theme="dark"] button.eprimapress,[data-theme="dark"] .type_zd_active,[data-theme="dark"] .VseNe,[data-theme="dark"] #step td.action_step,[data-theme="dark"] th.sin a{color:var(--header-fg)!important}
[data-theme="dark"] th.sin a[style*="color:white"],[data-theme="dark"] th.sin a[style*="color: white"],[data-theme="dark"] th.sin a[style*="color:#fff"]{color:var(--header-fg)!important}

/* ===== CRM messages (right panel) ===== */
.crm-mess-shell{display:flex;flex-direction:column;width:100%;min-height:0}
#mess .ionmenu{margin:0 0 8px}
#mess .ionmenu .menu span{display:block;padding:8px 12px;font-size:12px;font-weight:700;color:var(--header-fg);background:var(--accent);border-radius:8px 8px 0 0}
.crm-mess-users-panel{width:100%;padding:0;background:var(--bg);border:1px solid var(--border);border-radius:0 0 10px 10px;overflow:hidden}
.crm-mess-layout{width:100%;border-collapse:separate;border-spacing:0}
.crm-mess-users{width:100%;border-collapse:collapse}
.crm-mess-users__group{text-align:left!important;padding:8px 12px!important;font-size:11px!important;font-weight:700!important}
.crm-mess-users__marker{width:4px;padding:0!important;vertical-align:stretch}
.crm-mess-users__marker.noselarr{background:transparent}
.crm-mess-users__marker.selarr{background:var(--accent)}
.crm-mess-users__cell{padding:0!important;border-bottom:1px solid var(--border);vertical-align:top}
.crm-mess-user-btn{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:0!important;background:var(--surface)!important;color:var(--text)!important;text-align:left!important;cursor:pointer!important;position:relative!important;transition:background var(--transition),color var(--transition)}
.crm-mess-user-btn:hover{background:var(--bg)!important}
button.eprimapress.crm-mess-user-btn,.crm-mess-user-btn.eprimapress{background:var(--accent)!important;color:var(--header-fg)!important}
.crm-mess-user-btn.eprimapress .crm-mess-user__name,.crm-mess-user-btn.eprimapress .crm-mess-user__job{color:var(--header-fg)!important}
.crm-mess-user-btn.eprimapress .crm-mess-user__online,.crm-mess-user-btn.eprimapress .crm-mess-user__online .now_online,.crm-mess-user-btn.eprimapress .crm-mess-user__online .no_online,.crm-mess-user-btn.eprimapress .crm-mess-user__online span{color:rgba(255,255,255,.92)!important}
.crm-mess-user-btn.eprimapress .crm-mess-user__online .now_online{color:#d1fae5!important;font-weight:600}
.crm-mess-user__body{flex:1 1 auto;min-width:0;overflow:hidden}
.crm-mess-user__name{display:block;font-size:12px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit}
.crm-mess-user__job{display:block;font-size:10px;font-weight:400;color:var(--text-muted);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crm-mess-user__online{display:block;font-size:9px;color:var(--text-muted);margin-top:2px;line-height:1.35}
.crm-mess-user__online .now_online{color:#059669;font-weight:600}
.crm-mess-user__online .no_online{color:var(--text-muted)}
.crm-mess-user__aside{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:4px}
.crm-mess-user__aside img.avatarimg,.crm-mess-user-btn img.avatarimg{float:none!important;width:40px!important;height:40px!important;border-radius:50%!important;object-fit:cover!important;padding:0!important;margin:0!important}
.vkont img.avatarimg{float:none!important;padding:0!important}
.vkont .ogony{position:static!important;right:auto!important;left:auto!important}
.crm-mess-chat-panel{display:none!important}
.crm-mess-float{position:fixed;z-index:9500;width:min(400px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 24px));box-sizing:border-box}
.crm-mess-float.is-hidden{display:none!important;pointer-events:none}
body.crm-mess-dragging{user-select:none;cursor:grabbing!important}
body.crm-mess-dragging .crm-mess-float__header{cursor:grabbing!important}
.crm-mess-float__chrome{display:flex;flex-direction:column;max-height:inherit;background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 12px 40px var(--shadow),0 0 0 1px rgba(0,0,0,.04)}
.crm-mess-float__header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--accent);color:var(--header-fg);cursor:grab;flex-shrink:0}
.crm-mess-float__header:active{cursor:grabbing}
.crm-mess-float__title{flex:1 1 auto;min-width:0;font-size:14px;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crm-mess-float__close{flex:0 0 auto;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:8px;background:rgba(255,255,255,.2);color:var(--header-fg)!important;font-size:22px;line-height:1;cursor:pointer;transition:background var(--transition)}
.crm-mess-float__close:hover{background:rgba(255,255,255,.35)}
.crm-mess-float .crm-mess-chat{display:flex;flex-direction:column;min-height:320px;max-height:min(500px,calc(100vh - 120px));background:var(--surface);border:0;border-radius:0;box-shadow:none;overflow:hidden}
.crm-mess-thread-wrap{flex:1 1 auto;min-height:140px;overflow:auto;background:var(--bg);-webkit-overflow-scrolling:touch}
.crm-mess-thread{padding:0}
.crm-mess-thread table{width:100%;border-collapse:collapse}
#MessEGe h1{font-size:11px!important;font-weight:700!important;color:var(--text-muted)!important;padding:12px 12px 6px!important;margin:0!important;text-transform:uppercase;letter-spacing:.04em;background:transparent!important;font-family:Arial,sans-serif!important}
#optionKonf{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 12px;background:var(--surface);border-bottom:1px solid var(--border)}
#optionKonf a{display:inline-block;padding:5px 11px;font-size:11px;font-weight:600;color:var(--accent)!important;text-decoration:none!important;border-radius:999px;border:1px solid transparent;cursor:pointer;transition:background var(--transition),border-color var(--transition),color var(--transition)}
#optionKonf a:hover{background:var(--bg);border-color:var(--border)}
#optionKonf a[style*="underline"]{background:var(--accent)!important;color:var(--header-fg)!important;border-color:var(--accent)!important;text-decoration:none!important}
.crm-mess-thread .messing td{vertical-align:top;padding:10px 12px!important;border-bottom:1px solid var(--border)}
.crm-mess-thread td.avatarimg{width:48px;padding-right:8px!important}
.crm-mess-thread td.avatarimg img,.crm-mess-thread .avatarimg img{width:36px!important;height:36px!important;border-radius:50%!important;object-fit:cover;display:block}
.crm-mess-thread .righting{font-size:12px;line-height:1.5;color:var(--text)}
.crm-mess-thread .righting div span{color:var(--text-muted)!important;font-size:10px!important;font-weight:600!important}
.crm-mess-thread .righting div button{font-weight:600;color:var(--text);background:none;border:0;padding:0;cursor:default;font-size:12px}
.crm-mess-thread .messing a{font-size:10px;color:var(--text-muted)!important;margin-left:8px}
.crm-mess-thread .messing a:hover{color:var(--accent)!important}
.crm-mess-compose{flex:0 0 auto;padding:12px;background:var(--surface);border-top:1px solid var(--border)}
.crm-mess-compose__label{display:block;font-size:11px;font-weight:600;color:var(--text-muted);margin:0 0 6px}
.crm-mess-compose__textarea,#NEW_EMAIL #eTEXT{width:100%!important;min-height:72px;max-height:160px;margin:0 0 10px!important;padding:10px 12px!important;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--bg)!important;color:var(--text)!important;font-size:13px!important;font-family:Arial,sans-serif!important;resize:vertical;box-sizing:border-box}
.crm-mess-compose__textarea:focus,#NEW_EMAIL #eTEXT:focus{outline:none;border-color:var(--accent)!important;box-shadow:0 0 0 2px rgba(43,123,238,.15)}
.crm-mess-compose__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.crm-mess-compose__send{flex:1 1 auto;min-width:120px}
.crm-mess-compose__send{margin:0!important}
.crm-mess-compose__opt{font-size:11px;font-weight:600;color:var(--accent)!important;text-decoration:none!important;cursor:pointer}
.crm-mess-compose__opt:hover{color:var(--accent-hover)!important;text-decoration:underline!important}
.crm-mess-create-link{margin:8px 0 0;padding:0 8px}
.crm-mess-create-link__a{font-size:12px;font-weight:600;color:var(--accent)!important;text-decoration:none!important}
.crm-mess-create-link__a:hover{text-decoration:underline!important}
.crm-mess-modal{min-width:260px;max-width:320px;border-radius:8px!important;padding:14px!important;box-shadow:0 8px 28px var(--shadow)!important}
.crm-mess-modal__input{width:100%;box-sizing:border-box;margin-top:6px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font-size:12px}
#right_menu .crm-mess-layout td.eprima{padding:0!important;white-space:normal!important}
[data-theme="dark"] .crm-mess-user-btn:hover{background:var(--border)!important}
[data-theme="dark"] #optionKonf a[style*="underline"]{color:var(--header-fg)!important}
[data-theme="dark"] .crm-mess-float__chrome,[data-theme="dark"] .crm-mess-float .crm-mess-chat{background:var(--surface)!important}
[data-theme="dark"] .crm-mess-float__close{background:rgba(255,255,255,.12)!important}
[data-theme="dark"] .crm-mess-float__close:hover{background:rgba(255,255,255,.22)!important}
/* CRM press calculator */
#podmenu .crm-press-calc-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding:0}
#podmenu .crm-press-calc-tabs__link{display:inline-flex;align-items:center;padding:8px 16px;font-size:13px;font-weight:600;color:var(--text-muted)!important;text-decoration:none!important;border:1px solid var(--border);border-radius:8px;background:var(--surface);transition:background var(--transition),color var(--transition),border-color var(--transition),box-shadow var(--transition)}
#podmenu .crm-press-calc-tabs__link:hover{color:var(--accent)!important;border-color:var(--accent);background:var(--bg)}
#podmenu .crm-press-calc-tabs__link--active{color:var(--header-fg)!important;background:var(--accent)!important;border-color:var(--accent)!important;box-shadow:0 2px 8px var(--shadow)}
#podmenu .crm-press-calc-tabs__link--hidden{display:none!important}
.crm-press-calc-page{padding:4px 8px 24px}
.crm-press-calc-page__head{margin:0 0 20px;padding:0 4px}
.crm-press-calc-page__title{margin:0 0 4px;font-size:22px;font-weight:700;color:var(--text);font-family:Arial,sans-serif;font-style:normal;line-height:1.25}
.crm-press-calc-page__subtitle{margin:0;font-size:14px;font-weight:500;color:var(--text-muted);line-height:1.4}
.crm-press-calc-page .wrong{display:flex;align-items:center;gap:10px;margin:12px 0;padding:12px 14px;border-radius:8px;border:1px solid #f5c6c6;background:#fff5f5;color:#b42318!important;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none!important}
[data-theme="dark"] .crm-press-calc-page .wrong{border-color:#7f1d1d;background:#450a0a;color:#fca5a5!important}
.crm-press-calc__layout{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px}
.crm-press-calc__form-panel{flex:1 1 380px;min-width:320px;max-width:520px}
.crm-press-calc__form{display:flex;flex-direction:column;gap:16px}
.crm-press-calc__result{flex:1 1 360px;min-width:280px;align-self:stretch}
.crm-press-calc__grid--quad{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:16px;width:100%;max-width:100%;box-sizing:border-box;align-items:stretch}
.crm-press-calc__grid--quad .crm-press-calc__col--form{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:12px;min-width:0;align-self:stretch;height:100%}
.crm-press-calc__grid--quad .crm-press-calc__col--form>.crm-press-calc__cell{flex:0 0 auto;min-width:0;position:relative;overflow:visible}
.crm-press-calc__grid--quad .crm-press-calc__cell--postpress{grid-column:2;grid-row:1;min-width:0;align-self:stretch;display:flex;flex-direction:column;height:100%;position:relative;overflow:visible}
.crm-press-calc__grid--quad .crm-press-calc__cell--postpress>.crm-press-calc-postpress--stacked{flex:1 1 auto;width:100%;min-height:100%;justify-content:space-between;gap:12px}
.crm-press-calc__grid--quad .crm-press-calc__cell--result{grid-column:1/-1;grid-row:2;width:100%;max-width:min(800px,100%);justify-self:center;position:relative;z-index:2;clear:both;margin-top:0}
.crm-press-calc__panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px 18px;box-shadow:0 1px 8px var(--shadow);box-sizing:border-box;width:100%;max-width:100%}
.crm-press-calc__panel--params .crm-press-calc fieldset{margin:0;padding:0;border:0;box-shadow:none;background:transparent}
.crm-press-calc__panel--params>table,.crm-press-calc__panel--params table{width:100%;border-collapse:separate;border-spacing:0}
.crm-press-calc__panel--params>table>tbody>tr>td,.crm-press-calc__panel--params table>tbody>tr>td{padding:8px 12px 8px 0!important;vertical-align:middle!important}
.crm-press-calc__panel--params>table>tbody>tr+tr>td,.crm-press-calc__panel--params table>tbody>tr+tr>td{border-top:1px solid var(--border)}
.crm-press-calc__panel--params>table>tbody>tr>td:first-child,.crm-press-calc__panel--params table>tbody>tr>td:first-child{width:44%;font-weight:600;color:var(--text-muted);font-size:12px}
.crm-press-calc__panel--lamination{padding:0;border:0;background:transparent;box-shadow:none}
.crm-press-calc__panel--lamination .crm-press-calc-postpress__card--lamination{margin:0!important;padding:16px 18px!important;box-shadow:0 1px 8px var(--shadow)!important;border:1px solid var(--border)!important;background:var(--surface)!important;border-radius:12px!important}
.crm-press-calc__grid--quad .crm-press-calc-postpress__card{flex:0 0 auto!important;min-height:min-content!important;overflow:visible}
.crm-press-calc__grid--quad .crm-press-calc-postpress__body{flex-wrap:wrap;align-items:flex-start;justify-content:space-between;min-height:auto!important;overflow:visible}
.crm-press-calc__grid--quad .crm-press-calc-edge-preview{flex:0 0 auto;max-width:100%}
.crm-press-calc__grid--quad .crm-press-calc-edge-preview__shape{flex:0 0 auto!important}
.crm-press-calc__cell--result,.crm-press-calc__result-inner,.crm-press-calc__cell--result>center,.crm-press-calc__cell--result>div:first-child:not(.crm-press-calc__result-placeholder){min-height:180px;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 2px 12px var(--shadow);box-sizing:border-box;width:100%;max-width:100%;overflow-x:auto}
.crm-press-calc__result-placeholder{display:flex;align-items:center;justify-content:center;min-height:180px;padding:32px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-sizing:border-box;width:100%}
.crm-press-calc-result-preview{margin-bottom:12px;text-align:center}
.crm-press-calc-result-preview__title{margin-bottom:10px;font-size:13px;font-weight:600;color:var(--text);line-height:1.35}
.crm-press-calc-result-preview .press_calc_table{display:inline-table!important;margin:10px auto!important;border-collapse:separate!important;border-spacing:0!important}
.crm-press-calc-result-preview table.press_calc_table td,.crm-press-calc-result-preview .press_calc_table td{box-sizing:border-box!important;background:var(--bg)!important;border:2px dashed var(--accent)!important;color:var(--text)!important;font-weight:700!important;font-size:13px!important;vertical-align:middle!important;text-align:center!important;line-height:1.3!important;padding:4px!important;min-width:48px!important;min-height:32px!important}
.crm-press-calc-result-preview__sum{display:block;font-size:22px;font-weight:800;color:var(--accent)!important;line-height:1.25;margin-top:8px}
.crm-press-calc-result-total{margin-top:14px;padding-top:14px;border-top:2px solid var(--border);text-align:center}
.crm-press-calc-result-total__label{display:block;font-size:13px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.crm-press-calc-result-total__sum{display:block;font-size:30px;font-weight:800;color:var(--accent)!important;line-height:1.2;font-family:Arial,sans-serif}
.crm-press-calc__cell--result fieldset{margin:10px 0 0!important;padding:12px 14px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:var(--bg)!important;box-shadow:none!important}
.crm-press-calc__cell--result fieldset legend{font-size:12px!important;font-weight:700!important;color:var(--accent)!important}
#press_calc_resault table.press_calc_table,#press_calc_resault table.press_calc_table_fp,.crm-press-calc__cell--result table.press_calc_table,.crm-press-calc__cell--result table.press_calc_table_fp,.crm-press-calc__result table.press_calc_table,.crm-press-calc__result table.press_calc_table_fp{margin:12px auto;border-collapse:separate;border-spacing:0}
#press_calc_resault table.press_calc_table td,#press_calc_resault table.press_calc_table_fp td,.crm-press-calc__cell--result table.press_calc_table td,.crm-press-calc__cell--result table.press_calc_table_fp td,.crm-press-calc__result table.press_calc_table td,.crm-press-calc__result table.press_calc_table_fp td{box-sizing:border-box!important;background:var(--bg)!important;border:2px dashed var(--accent)!important;color:var(--text)!important;font-weight:600!important;font-size:12px!important;vertical-align:middle!important;text-align:center!important}
.crm-press-calc fieldset{margin:0 0 14px;padding:16px 18px 18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 1px 4px rgba(30,42,62,.04)}
.crm-press-calc fieldset:last-child{margin-bottom:0}
.crm-press-calc fieldset+fieldset,.crm-press-calc fieldset table+table{margin-top:0}
.crm-press-calc fieldset fieldset,.crm-press-calc fieldset.undushed{margin-top:12px;padding:12px 14px;background:var(--bg);box-shadow:none}
.crm-press-calc legend{padding:0 6px 0 0;font-size:13px;font-weight:700;color:var(--text);font-family:Arial,sans-serif}
.crm-press-calc legend .bigleg,.crm-press-calc .bigleg{font-size:13px;font-weight:700;color:var(--accent)!important;background:transparent!important;padding:0!important;text-transform:none}
.crm-press-calc legend input[type=checkbox],.crm-press-calc td input[type=checkbox]{width:15px;height:15px;margin:0 6px 0 0;vertical-align:middle;accent-color:var(--accent)}
.crm-press-calc table{width:100%;border-collapse:collapse}
.crm-press-calc table table{width:auto}
.crm-press-calc>table>tbody>tr>td,.crm-press-calc fieldset>table>tbody>tr>td,.crm-press-calc fieldset table>tbody>tr>td{padding:8px 10px 8px 0;vertical-align:middle;font-size:12px;color:var(--text);line-height:1.45}
.crm-press-calc fieldset>table>tbody>tr>td:first-child,.crm-press-calc fieldset table>tbody>tr>td:first-child{width:42%;font-weight:600;color:var(--text-muted);white-space:normal;padding-right:12px}
.crm-press-calc fieldset>table>tbody>tr+tr>td,.crm-press-calc fieldset table>tbody>tr+tr>td{padding-top:4px}
.crm-press-calc select,.crm-press-calc input[type=text],.crm-press-calc input[type=number]{min-height:32px;padding:6px 10px;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;color:var(--text)!important;font-size:12px!important;box-sizing:border-box;max-width:100%}
.crm-press-calc select{cursor:pointer;padding-right:28px}
.crm-press-calc select:focus,.crm-press-calc input[type=text]:focus{outline:none;border-color:var(--accent)!important;box-shadow:0 0 0 2px rgba(43,123,238,.12)}
.crm-press-calc button.bigleg,.crm-press-calc button.sub{margin-top:4px;padding:6px 12px!important;height:auto!important;line-height:1.3!important;border-radius:6px!important;font-size:12px!important}
.crm-press-calc #press_calc_group_block>div{margin-bottom:12px}
.crm-press-calc-postpress{width:100%;margin:0;box-sizing:border-box}
.crm-press-calc-postpress--stacked{display:flex;flex-direction:column;gap:10px;width:100%}
.crm-press-calc-postpress--stacked .crm-press-calc-postpress__card{margin:0!important;padding:16px 18px!important;min-width:0;width:100%;box-sizing:border-box}
.crm-press-calc-postpress__card{margin:0!important;padding:16px 18px 18px!important;min-width:0}
.crm-press-calc-postpress__body{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px 20px}
.crm-press-calc-postpress__card--pocket .crm-press-calc-postpress__body,.crm-press-calc-postpress__card--glue .crm-press-calc-postpress__body{justify-content:center}
.crm-press-calc-edge-picker{flex:0 0 auto}
.crm-press-calc-edge-picker__grid{border-collapse:separate;border-spacing:8px;margin:0}
.crm-press-calc-edge-picker__cell{text-align:center;vertical-align:middle;padding:0;width:52px;height:52px}
.crm-press-calc-edge-picker__empty{display:block;width:20px;height:20px}
.crm-press-calc-edge-picker__check{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;margin:0}
.crm-press-calc-edge-picker__check input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--accent);cursor:pointer}
.crm-press-calc-edge-picker__check-label{font-size:9px;font-weight:600;color:var(--text-muted);text-transform:uppercase;line-height:1}
.crm-press-calc-edge-preview{display:flex;align-items:center;justify-content:center;padding:4px}
.crm-press-calc-edge-preview__shape{display:block!important;line-height:1;background:var(--accent)!important;border:0!important;border-radius:6px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);max-width:140px!important;max-height:90px!important;width:auto!important;height:auto!important;box-sizing:border-box!important}
.crm-press-calc-postpress__fields{flex:1 1 200px;min-width:min(100%,200px);max-width:100%}
.crm-press-calc-postpress__fields-table{width:100%;border-collapse:collapse}
.crm-press-calc-postpress__fields-table th,.crm-press-calc-postpress__fields-table td{padding:8px 0;vertical-align:middle;font-size:12px;text-align:left}
.crm-press-calc-postpress__fields-table th{font-weight:600;color:var(--text-muted);padding-right:12px;white-space:normal;width:38%}
.crm-press-calc-postpress__fields-table--grid tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px 20px}
.crm-press-calc-postpress__fields-table--grid tr{display:contents}
.crm-press-calc-postpress__fields-table--grid th,.crm-press-calc-postpress__fields-table--grid td{padding:4px 0}
.crm-press-calc-postpress__select,.crm-press-calc-postpress__input{width:100%;max-width:100%;min-height:34px;box-sizing:border-box}
.crm-press-calc-postpress__field-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.crm-press-calc-postpress__input{flex:1 1 80px;max-width:120px;min-height:34px;padding:6px 10px;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;color:var(--text)!important;font-size:12px!important}
.crm-press-calc-postpress__unit{font-size:12px;font-weight:600;color:var(--text-muted);white-space:nowrap}
[data-theme="dark"] .crm-press-calc-edge-preview__shape{box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.crm-press-calc #Show_format td,.crm-press-calc #Showformat td{padding-top:4px}
.crm-press-calc__result center,.crm-press-calc__cell--result center,#press_calc_resault center{text-align:center}
.crm-press-calc-page table.press_calc_table td,.crm-press-calc-page div.press_calc_table{color:var(--text)!important}
.crm-press-calc-page #podmenu a.option{display:none}
.crm-press-calc-page--options .crm-press-calc-options-layout{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.crm-press-calc-page--options .crm-press-calc-options-layout>table{width:100%;border-collapse:collapse}
.crm-press-calc-page--options td.menu a{font-weight:600;color:var(--accent)!important;text-decoration:none!important;padding:4px 0;display:inline-block}
.crm-press-calc-page--options td.menu a:hover{text-decoration:underline!important}
.crm-press-calc-page--options th.sin{background:var(--accent)!important;border-radius:8px 8px 0 0;padding:10px 12px!important}
.crm-press-calc-page--options th.sin a{color:var(--header-fg)!important;font-weight:700;text-decoration:none!important}
.crm-press-calc-page--options fieldset{border:1px solid var(--border);border-radius:10px;padding:14px;background:var(--surface);margin-bottom:12px}
.crm-press-calc-page--options .white{background:var(--surface)!important;border:1px solid var(--border);border-radius:12px;padding:16px}
[data-theme="dark"] .crm-press-calc fieldset,[data-theme="dark"] .crm-press-calc__result-inner,[data-theme="dark"] .crm-press-calc__result-placeholder,[data-theme="dark"] .crm-press-calc-page--options .white{background:var(--surface)!important}
[data-theme="dark"] .crm-press-calc fieldset fieldset{background:var(--bg)!important}
/* CRM file storage (FTP) */
#admin_body.crm-ftp-host,.adm.crm-ftp-host{width:100%!important;max-width:none!important;text-align:left!important}
.crm-ftp-page{padding:4px 8px 28px;max-width:1200px}
.crm-ftp-page__head{margin:0 0 20px}
.crm-ftp-page__title{margin:0;font-size:22px;font-weight:700;color:var(--text);font-family:Arial,sans-serif;font-style:normal;line-height:1.25}
.crm-ftp-page__body{display:flex;flex-direction:column;gap:16px}
.crm-ftp-toolbar{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:4px}
.crm-ftp-toolbar--limit{width:100%}
.crm-ftp-card{flex:1 1 280px;min-width:260px;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 2px 10px var(--shadow)}
.crm-ftp-card__title{margin:0 0 12px;font-size:14px;font-weight:700;color:var(--text);font-family:Arial,sans-serif}
.crm-ftp-card__meta{font-size:11px;font-weight:600;color:var(--text-muted)}
.crm-ftp-form{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.crm-ftp-form--inline{flex-direction:row;flex-wrap:wrap;align-items:center;width:100%}
.crm-ftp-checkbox{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--text-muted);cursor:pointer}
.crm-ftp-checkbox input{margin:0;accent-color:var(--accent)}
.crm-ftp-file-input,.crm-ftp-text-input{max-width:100%;font-size:12px;color:var(--text)!important}
.crm-ftp-text-input{flex:1 1 160px;min-width:120px;min-height:34px;padding:6px 10px;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;box-sizing:border-box}
.crm-ftp-submit{margin:0!important}
.crm-ftp-alert{padding:12px 14px;border-radius:8px;font-size:13px;line-height:1.45;color:var(--text)!important}
.crm-ftp-alert--success{background:#ecfdf3;border:1px solid #a7f3d0}
.crm-ftp-alert--info{background:var(--bg);border:1px solid var(--border)}
.crm-ftp-alert--error{background:#fff5f5;border:1px solid #fecaca;color:#b42318!important}
.crm-ftp-alert__label{display:block;margin-top:8px;font-size:11px;font-weight:600;color:var(--text-muted)}
.crm-ftp-alert .crm-ftp-url-input{margin-top:6px}
.crm-ftp-alert code{background:var(--bg);padding:2px 6px;border-radius:4px;font-size:12px}
[data-theme="dark"] .crm-ftp-alert--success{background:#052e16;border-color:#166534}
[data-theme="dark"] .crm-ftp-alert--error{background:#450a0a;border-color:#7f1d1d;color:#fca5a5!important}
.crm-ftp-files{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 2px 12px var(--shadow)}
.crm-ftp-files__meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:var(--bg);border-bottom:1px solid var(--border)}
.crm-ftp-files__count{font-size:13px;color:var(--text-muted)}
.crm-ftp-files__count strong{color:var(--text)}
.crm-ftp-files__path{font-size:12px;color:var(--accent)!important;background:transparent;padding:0}
.crm-ftp-table-wrap{overflow-x:auto}
.crm-ftp-table{width:100%;border-collapse:collapse}
.crm-ftp-table thead th{position:sticky;top:0;z-index:1;padding:10px 12px!important;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)!important;background:var(--bg)!important;border-bottom:1px solid var(--border)!important;text-align:left;white-space:nowrap}
.crm-ftp-table tbody td{padding:10px 12px!important;border-bottom:1px solid var(--border)!important;vertical-align:middle!important;font-size:12px;color:var(--text)!important;background:var(--surface)!important}
.crm-ftp-table tbody tr:hover td{background:var(--bg)!important}
.crm-ftp-row--up td{background:var(--bg)!important}
.crm-ftp-up-link{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--accent)!important;text-decoration:none!important}
.crm-ftp-up-link:hover{text-decoration:underline!important}
.crm-ftp-icon{width:18px;height:18px;vertical-align:middle;margin-right:6px}
.crm-ftp-name-link{font-weight:600;color:var(--accent)!important;text-decoration:none!important;word-break:break-all}
.crm-ftp-name-link:hover{text-decoration:underline!important}
.crm-ftp-filename{font-weight:600;color:var(--text)}
.crm-ftp-url-input{display:block;width:100%;min-width:200px;max-width:360px;min-height:32px;padding:6px 10px;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;color:var(--text)!important;font-size:11px!important;box-sizing:border-box;cursor:pointer}
.crm-ftp-url-input:focus{outline:none;border-color:var(--accent)!important;box-shadow:0 0 0 2px rgba(43,123,238,.12)}
.crm-ftp-insert-actions{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}
.crm-ftp-insert-btn{font-size:11px!important;padding:4px 10px!important;height:auto!important;line-height:1.3!important}
.crm-ftp-thumb{max-height:48px;max-width:80px;border-radius:4px;border:1px solid var(--border);object-fit:cover;display:block}
.crm-ftp-view-link{font-weight:600;color:var(--accent)!important;text-decoration:none!important}
.crm-ftp-view-link:hover{text-decoration:underline!important}
.crm-ftp-del-form{margin:0}
.crm-ftp-del-btn{padding:5px 10px!important;height:auto!important;line-height:1.2!important;font-size:11px!important;font-weight:600!important;border-radius:6px!important;border:1px solid #fecaca!important;background:#fff5f5!important;color:#b42318!important;cursor:pointer}
.crm-ftp-del-btn:hover{background:#fee2e2!important;border-color:#f87171!important}
.crm-ftp-col-actions{width:90px;text-align:center!important}
.crm-ftp-col-actions img{width:14px;height:14px;opacity:.5}
.crm-ftp-col-size,.crm-ftp-col-date{white-space:nowrap;color:var(--text-muted)!important}
.crm-ftp-denied{margin:12px 0}
[data-theme="dark"] .crm-ftp-card,[data-theme="dark"] .crm-ftp-files{background:var(--surface)!important}
[data-theme="dark"] .crm-ftp-del-btn{background:#450a0a!important;border-color:#7f1d1d!important;color:#fca5a5!important}
[data-theme="dark"] .crm-ftp-del-btn:hover{background:#7f1d1d!important}
/* CRM SMS respond */
.crm-sms-page{padding:4px 8px 28px;max-width:1280px}
.crm-sms-page__head{margin:0 0 20px}
.crm-sms-page__title{margin:0;font-size:22px;font-weight:700;color:var(--text);font-family:Arial,sans-serif;font-style:normal;line-height:1.25}
.crm-sms-layout{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px}
.crm-sms-layout__main{flex:1 1 520px;min-width:320px;display:flex;flex-direction:column;gap:16px}
.crm-sms-layout__side{flex:1 1 320px;min-width:280px;max-width:400px;display:flex;flex-direction:column;gap:16px}
.crm-sms-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px 18px;box-shadow:0 2px 10px var(--shadow)}
.crm-sms-card__head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.crm-sms-card__title{display:flex;flex-direction:column;gap:2px}
.crm-sms-card__label{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}
.crm-sms-card__sender{font-size:15px;font-weight:700;color:var(--text)}
.crm-sms-card__heading{margin:0 0 12px;font-size:14px;font-weight:700;color:var(--text);font-family:Arial,sans-serif}
.crm-sms-card__actions{display:flex;flex-wrap:wrap;gap:8px}
.crm-sms-btn{margin:0!important;height:auto!important;line-height:1.3!important;padding:7px 12px!important;font-size:12px!important;border-radius:6px!important}
.crm-sms-btn--ghost{background:var(--bg)!important;color:var(--accent)!important;border:1px solid var(--border)!important}
.crm-sms-btn--primary{padding:10px 18px!important;font-size:13px!important}
.crm-sms-textarea{display:block;width:100%;min-height:120px;max-height:220px;margin:0 0 12px;padding:12px 14px;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--bg)!important;color:var(--text)!important;font-size:13px!important;font-family:Arial,sans-serif!important;line-height:1.45;resize:vertical;box-sizing:border-box}
.crm-sms-textarea:focus{outline:none;border-color:var(--accent)!important;box-shadow:0 0 0 2px rgba(43,123,238,.12)}
.crm-sms-compose__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.crm-sms-checkbox{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-muted);cursor:pointer}
.crm-sms-checkbox input{accent-color:var(--accent)}
.crm-sms-stats-wrap{margin-top:12px}
.crm-sms-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.crm-sms-stats__item{padding:10px 12px;background:var(--bg);border:1px solid var(--border);border-radius:8px}
.crm-sms-stats__label{display:block;font-size:10px;font-weight:600;color:var(--text-muted);margin-bottom:4px;line-height:1.3}
.crm-sms-stats__value{display:block;font-size:18px;font-weight:700;color:var(--accent);line-height:1.2}
.crm-sms-stats__suffix{font-size:12px;color:var(--text-muted)}
.crm-sms-page #Rez_sms_respond{background:transparent!important;border:0!important;padding:0!important;margin:0!important;font-size:inherit!important}
.crm-sms-compose__submit{margin-top:14px;text-align:right}
.crm-sms-schedule__row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px}
.crm-sms-schedule__row:last-child{margin-bottom:0}
.crm-sms-schedule__label{font-size:12px;font-weight:600;color:var(--text-muted);min-width:80px}
.crm-sms-date{display:inline-flex!important;align-items:center;justify-content:center;min-width:88px;min-height:32px;padding:6px 10px!important;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;color:var(--text)!important;cursor:pointer;line-height:1.2!important}
.crm-sms-select,.crm-sms-input{min-height:32px;padding:6px 10px;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;color:var(--text)!important;font-size:12px!important;box-sizing:border-box}
.crm-sms-input{width:100%}
.crm-sms-field-label{display:block;margin-bottom:6px;font-size:12px;font-weight:600;color:var(--text-muted)}
.crm-sms-filter-block{margin-bottom:14px}
.crm-sms-filter-block:last-child{margin-bottom:0}
.crm-sms-filter-block__title{margin:0 0 8px;font-size:12px;font-weight:700;color:var(--text)}
.crm-sms-filter-block__list{display:flex;flex-direction:column;gap:6px;max-height:200px;overflow-y:auto;padding-right:4px}
.crm-sms-filter-item{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer;transition:background var(--transition)}
.crm-sms-filter-item:hover{background:var(--bg)}
.crm-sms-filter-item__input{margin-top:2px;flex-shrink:0;accent-color:var(--accent)}
.crm-sms-filter-item__text{font-size:12px;line-height:1.35;color:var(--text);font-weight:500}
.crm-sms-recipients__list{max-height:320px;overflow:auto;padding:10px 12px;background:var(--bg);border:1px solid var(--border);border-radius:8px;font-size:12px;line-height:1.5;color:var(--text);word-break:break-all}
.crm-sms-history__list{min-height:80px}
.crm-sms-page .box{line-height:1.5;padding:0;margin:0;background:transparent;border:0;box-shadow:none}
.crm-sms-page h1,.crm-sms-page h2{font-family:Arial,sans-serif!important;font-style:normal!important;color:var(--text)!important}
.crm-sms-page .grayinput{border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important}
.crm-sms-page #ATTA{vertical-align:top;width:auto;padding:0;color:var(--text)!important}
[data-theme="dark"] .crm-sms-card,[data-theme="dark"] .crm-sms-stats__item,[data-theme="dark"] .crm-sms-recipients__list{background:var(--surface)!important}
[data-theme="dark"] .crm-sms-textarea,[data-theme="dark"] .crm-sms-select,[data-theme="dark"] .crm-sms-input,[data-theme="dark"] .crm-sms-date{background:var(--bg)!important}
/* CRM motivation / rating */
.crm-motivation-page{padding:4px 8px 28px;max-width:100%}
.crm-motivation-page__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.crm-motivation-page__intro{min-width:0}
.crm-motivation-page__title{margin:0;font-size:22px;font-weight:700;color:var(--text);font-family:Arial,sans-serif;font-style:normal;line-height:1.25}
.crm-motivation-page__period{margin:4px 0 0;font-size:13px;color:var(--text-muted);font-weight:500}
.crm-motivation-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.crm-motivation-toolbar__label{font-size:13px;font-weight:600;color:var(--text-muted);white-space:nowrap}
.crm-motivation-select{min-width:200px;min-height:34px;padding:6px 12px;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--surface)!important;color:var(--text)!important;font-size:13px!important;cursor:pointer}
.crm-motivation-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-bottom:20px}
.crm-motivation-kpi{padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 1px 6px var(--shadow)}
.crm-motivation-kpi--accent{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface))}
.crm-motivation-kpi__label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:6px;line-height:1.3}
.crm-motivation-kpi__value{display:block;font-size:22px;font-weight:700;color:var(--text);line-height:1.2}
.crm-motivation-kpi--accent .crm-motivation-kpi__value{color:var(--accent)}
.crm-motivation-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 2px 12px var(--shadow)}
.crm-motivation-page .crm-motivation-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface)!important;border:0!important}
.crm-motivation-page .crm-motivation-table #TOPHT th,.crm-motivation-page .crm-motivation-table thead th{position:sticky;top:0;z-index:2;padding:10px 8px!important;font-size:11px!important;font-weight:700!important;color:var(--text)!important;background:var(--bg)!important;border-bottom:1px solid var(--border)!important;border-top:0!important;text-align:center!important;vertical-align:middle!important;white-space:normal;line-height:1.3}
.crm-motivation-page .crm-motivation-table td{padding:10px 8px!important;border-bottom:1px solid var(--border)!important;border-top:0!important;font-size:12px!important;color:var(--text)!important;background:var(--surface)!important;text-align:center!important;vertical-align:middle!important}
.crm-motivation-page .crm-motivation-table td.groups,.crm-motivation-page .crm-motivation-table td.cm.groups{text-align:left!important;font-weight:600}
.crm-motivation-page .crm-motivation-table tbody tr:hover td{background:var(--bg)!important}
.crm-motivation-rank{display:inline-block;min-width:1.5em;font-weight:700;color:var(--accent)!important;margin-right:4px}
.crm-motivation-page .crm-motivation-table td.groups font,.crm-motivation-page .crm-motivation-table td.groups .crm-motivation-rank{color:var(--accent)!important}
.crm-motivation-page h1{font-family:Arial,sans-serif!important;font-style:normal!important;color:var(--text)!important;margin:0}
[data-theme="dark"] .crm-motivation-kpi,[data-theme="dark"] .crm-motivation-table-wrap,[data-theme="dark"] .crm-motivation-page .crm-motivation-table{background:var(--surface)!important}
[data-theme="dark"] .crm-motivation-kpi--accent{background:var(--bg)!important;border-color:var(--accent)!important}
[data-theme="dark"] .crm-motivation-page .crm-motivation-table #TOPHT th,[data-theme="dark"] .crm-motivation-page .crm-motivation-table thead th{background:var(--bg)!important}
/* CRM price list */
.crm-price-page{padding:4px 8px 28px;max-width:100%}
.crm-price-page__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px 20px;margin-bottom:16px}
.crm-price-page__title{margin:0;font-size:22px;font-weight:700;color:var(--text);font-family:Arial,sans-serif;font-style:normal;line-height:1.25}
.crm-price-page__meta{margin:0;font-size:13px;color:var(--text-muted);font-weight:500}
.crm-price-page__meta strong{color:var(--text);font-weight:700}
.crm-price-form-panel{margin-bottom:16px}
.crm-price-add-table{display:none;width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 20px var(--shadow);overflow:hidden}
.crm-price-add-table--open{display:table}
.crm-price-add-table th,.crm-price-add-table td{padding:10px 12px!important;border-bottom:1px solid var(--border)!important;font-size:12px!important;color:var(--text)!important;background:var(--surface)!important}
.crm-price-add-table th{font-weight:700;background:var(--bg)!important;text-align:left!important}
.crm-price-add-table input[type=text],.crm-price-add-table textarea,.crm-price-add-table select{box-sizing:border-box;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;color:var(--text)!important;font-size:12px!important;padding:6px 8px!important;max-width:100%}
.crm-price-add-table__actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;padding:4px 0}
.crm-price-add-table .sub,.crm-price-add-table .crm-price-btn{margin:0}
.crm-price-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 2px 12px var(--shadow);margin-bottom:16px}
.crm-price-page .crm-price-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface)!important;border:0!important}
.crm-price-page .crm-price-table #TOPHT th,.crm-price-page .crm-price-table thead th{position:sticky;top:0;z-index:2;padding:10px 8px!important;font-size:11px!important;font-weight:700!important;color:var(--text)!important;background:var(--bg)!important;border-bottom:1px solid var(--border)!important;border-top:0!important;text-align:center!important;vertical-align:middle!important;white-space:normal;line-height:1.3}
.crm-price-page .crm-price-table td{padding:8px!important;border-bottom:1px solid var(--border)!important;border-top:0!important;font-size:12px!important;color:var(--text)!important;background:var(--surface)!important;vertical-align:top!important}
.crm-price-page .crm-price-table tr.f td,.crm-price-page .crm-price-table tr.fff td{background:var(--surface)!important}
.crm-price-page .crm-price-table tr.f:hover td,.crm-price-page .crm-price-table tr.fff:hover td{background:var(--bg)!important}
.crm-price-page .crm-price-table td.delimtd{text-align:center!important;vertical-align:middle!important;width:44px}
.crm-price-page .crm-price-table td input[type=text],.crm-price-page .crm-price-table td textarea,.crm-price-page .crm-price-table td select{box-sizing:border-box;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;color:var(--text)!important;font-size:12px!important;padding:5px 8px!important}
.crm-price-page .crm-price-table td textarea{min-height:52px;resize:vertical;line-height:1.4}
.crm-price-page .crm-price-table td input[type=text]{min-height:30px}
.crm-price-page .crm-price-table td select{min-height:30px;cursor:pointer}
.crm-price-page .crm-price-table #Staff td div,.crm-price-page .crm-price-table [id^=Staff]{display:flex;flex-direction:column;gap:6px}
.crm-price-page .crm-price-table #Staff td div>div,.crm-price-page .crm-price-table [id^=Staff]>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.crm-price-empty{margin:16px 0;padding:20px;text-align:center;color:var(--text-muted);background:var(--bg);border:1px dashed var(--border);border-radius:10px;font-size:14px}
.crm-price-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;padding-top:4px}
.crm-price-btn{min-height:36px;padding:8px 16px!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;cursor:pointer}
.crm-price-btn--danger{background:color-mix(in srgb,#dc2626 12%,var(--surface))!important;border:1px solid color-mix(in srgb,#dc2626 35%,var(--border))!important;color:#b91c1c!important}
.crm-price-btn--danger:hover{background:color-mix(in srgb,#dc2626 18%,var(--surface))!important}
.crm-price-pagination .straniz{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--text-muted)}
.crm-price-pagination .straniz a{padding:6px 10px;border:1px solid var(--border);border-radius:6px;text-decoration:none!important;color:var(--text)!important;background:var(--surface);transition:background var(--transition),border-color var(--transition)}
.crm-price-pagination .straniz a:hover{border-color:var(--accent);color:var(--accent)!important}
.crm-price-pagination .straniz a.sinka{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important;font-weight:700}
.crm-price-page h1{font-family:Arial,sans-serif!important;font-style:normal!important;color:var(--text)!important;margin:0}
[data-theme="dark"] .crm-price-add-table,[data-theme="dark"] .crm-price-table-wrap,[data-theme="dark"] .crm-price-page .crm-price-table{background:var(--surface)!important}
[data-theme="dark"] .crm-price-page .crm-price-table #TOPHT th,[data-theme="dark"] .crm-price-page .crm-price-table thead th{background:var(--bg)!important}
[data-theme="dark"] .crm-price-btn--danger{color:#f87171!important}
/* CRM agent directory */
.crm-agent-page{padding:4px 8px 28px;max-width:100%}
.crm-agent-page__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px 20px;margin-bottom:16px}
.crm-agent-page__title{margin:0;font-size:22px;font-weight:700;color:var(--text);font-family:Arial,sans-serif;font-style:normal;line-height:1.25}
.crm-agent-page__meta{margin:0;font-size:13px;color:var(--text-muted);font-weight:500}
.crm-agent-page__meta strong{color:var(--text);font-weight:700}
.crm-agent-form-panel{margin-bottom:16px}
.crm-agent-form-table{display:none;width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 20px var(--shadow);overflow:hidden}
.crm-agent-form-table--open{display:table}
.crm-agent-form-row td{padding:10px 14px!important;border-bottom:1px solid var(--border)!important;vertical-align:top!important;background:var(--surface)!important}
.crm-agent-form-label{width:180px;font-size:12px;font-weight:700;color:var(--text-muted);text-align:right!important;white-space:nowrap}
.crm-agent-form-field{text-align:left!important}
.crm-agent-input,.crm-agent-textarea,.crm-agent-form-field select.crm-agent-select{box-sizing:border-box;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--bg)!important;color:var(--text)!important;font-size:13px!important;padding:8px 10px!important}
.crm-agent-input{min-width:min(280px,100%);min-height:34px}
.crm-agent-textarea{width:min(420px,100%);min-height:100px;resize:vertical;line-height:1.45}
.crm-agent-select{display:block;margin-top:8px;min-width:min(280px,100%);min-height:34px;cursor:pointer}
.crm-agent-form-actions{text-align:left!important;padding:14px 16px!important;background:var(--bg)!important}
.crm-agent-form-actions .crm-agent-btn{margin-right:8px}
.crm-agent-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 2px 12px var(--shadow);margin-bottom:16px}
.crm-agent-page .crm-agent-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface)!important;border:0!important}
.crm-agent-page .crm-agent-table #TOPHT th,.crm-agent-page .crm-agent-table thead th{position:sticky;top:0;z-index:2;padding:10px 10px!important;font-size:11px!important;font-weight:700!important;color:var(--text)!important;background:var(--bg)!important;border-bottom:1px solid var(--border)!important;border-top:0!important;text-align:left!important;vertical-align:middle!important;white-space:normal;line-height:1.3}
.crm-agent-page .crm-agent-table #TOPHT th a,.crm-agent-page .crm-agent-table thead th a{color:var(--accent)!important;text-decoration:none!important;font-weight:700!important}
.crm-agent-page .crm-agent-table #TOPHT th a:hover,.crm-agent-page .crm-agent-table thead th a:hover{text-decoration:underline!important}
.crm-agent-page .crm-agent-table td{padding:10px 12px!important;border-bottom:1px solid var(--border)!important;border-top:0!important;font-size:13px!important;color:var(--text)!important;background:var(--surface)!important;vertical-align:top!important;text-align:left!important}
.crm-agent-page .crm-agent-table tr.f td,.crm-agent-page .crm-agent-table tr.ff td{background:var(--surface)!important}
.crm-agent-page .crm-agent-table tr.f:hover td,.crm-agent-page .crm-agent-table tr.ff:hover td{background:var(--bg)!important}
.crm-agent-page .crm-agent-table td.delimtd{text-align:center!important;vertical-align:middle!important}
.crm-agent-table__check{width:44px;text-align:center!important}
.crm-agent-cell{line-height:1.45;word-break:break-word}
.crm-agent-name-link{color:var(--accent)!important;font-weight:600;text-decoration:none!important}
.crm-agent-name-link:hover{text-decoration:underline!important}
.crm-agent-page .crm-agent-table .izap_time{font-size:12px;color:var(--text-muted)}
.crm-agent-empty{margin:16px 0;padding:20px;text-align:center;color:var(--text-muted);background:var(--bg);border:1px dashed var(--border);border-radius:10px;font-size:14px}
.crm-agent-footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-top:4px}
.crm-agent-btn{min-height:36px;padding:8px 16px!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;cursor:pointer}
.crm-agent-btn--danger{background:color-mix(in srgb,#dc2626 12%,var(--surface))!important;border:1px solid color-mix(in srgb,#dc2626 35%,var(--border))!important;color:#b91c1c!important}
.crm-agent-btn--danger:hover{background:color-mix(in srgb,#dc2626 18%,var(--surface))!important}
.crm-agent-page h1{font-family:Arial,sans-serif!important;font-style:normal!important;color:var(--text)!important;margin:0}
#ZADANIYA.crm-agent-page,#ZADANIYA .crm-agent-page{border:0;background:transparent}
[data-theme="dark"] .crm-agent-form-table,[data-theme="dark"] .crm-agent-table-wrap,[data-theme="dark"] .crm-agent-page .crm-agent-table{background:var(--surface)!important}
[data-theme="dark"] .crm-agent-form-actions,[data-theme="dark"] .crm-agent-page .crm-agent-table #TOPHT th,[data-theme="dark"] .crm-agent-page .crm-agent-table thead th{background:var(--bg)!important}
[data-theme="dark"] .crm-agent-btn--danger{color:#f87171!important}
/* CRM tasks (zadaniya) */
.crm-zd-page{padding:4px 8px 28px;max-width:100%}
.crm-zd-page__head{margin-bottom:16px}
.crm-zd-page__title{margin:0;font-size:22px;font-weight:700;color:var(--text);font-family:Arial,sans-serif;font-style:normal;line-height:1.25}
.crm-zd-layout{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.crm-zd-main{flex:1 1 520px;min-width:0;max-width:100%}
.crm-zd-sidebar{flex:0 0 280px;width:280px;max-width:100%;display:flex;flex-direction:column;gap:12px}
.crm-zd-toolbar{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:12px}
.crm-zd-god{flex:1 1 100%;overflow-x:auto}
.crm-zd-god table.GOD{border-collapse:separate;border-spacing:8px}
.crm-zd-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:1 1 auto}
.crm-zd-filter select,.crm-zd-page .limit select{min-height:34px;padding:6px 10px!important;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--surface)!important;color:var(--text)!important;font-size:12px!important;cursor:pointer;max-width:220px}
.crm-zd-list-title{margin:0 0 12px;font-size:15px;font-weight:600;color:var(--text-muted);font-family:Arial,sans-serif;font-style:normal}
.crm-zd-list{min-height:120px}
.crm-zd-new:empty{display:none}
.crm-zd-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 2px 12px var(--shadow);margin-bottom:12px}
.crm-zd-page .crm-zd-table,.crm-zd-list .crm-zd-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface)!important;border:0!important}
.crm-zd-page .crm-zd-table #TOPHT th,.crm-zd-list .crm-zd-table #TOPHT th,.crm-zd-page .crm-zd-table thead th,.crm-zd-list .crm-zd-table thead th{position:sticky;top:0;z-index:2;padding:10px 8px!important;font-size:11px!important;font-weight:700!important;color:var(--text)!important;background:var(--bg)!important;border-bottom:1px solid var(--border)!important;text-align:center!important;vertical-align:middle!important}
.crm-zd-page .crm-zd-table td,.crm-zd-list .crm-zd-table td{padding:10px 8px!important;border-bottom:1px solid var(--border)!important;font-size:12px!important;color:var(--text)!important;background:inherit!important;vertical-align:middle!important;text-align:center!important}
.crm-zd-page .crm-zd-table tr.f:hover td,.crm-zd-list .crm-zd-table tr.f:hover td,.crm-zd-page .crm-zd-table tr.ff:hover td,.crm-zd-list .crm-zd-table tr.ff:hover td{filter:brightness(0.97)}
.crm-zd-page .crm-zd-table td.delimtd,.crm-zd-list .crm-zd-table td.delimtd{width:40px}
.crm-zd-page .crm-zd-table td a,.crm-zd-list .crm-zd-table td a{color:var(--accent)!important;font-weight:600;text-decoration:none!important}
.crm-zd-page .crm-zd-table td a:hover,.crm-zd-list .crm-zd-table td a:hover{text-decoration:underline!important}
.crm-zd-page .crm-zd-table .tip0,.crm-zd-page .crm-zd-table .tip1,.crm-zd-page .crm-zd-table .tip2,.crm-zd-page .crm-zd-table .tip3,.crm-zd-page .crm-zd-table .tip4,.crm-zd-list .crm-zd-table .tip0,.crm-zd-list .crm-zd-table .tip1,.crm-zd-list .crm-zd-table .tip2,.crm-zd-list .crm-zd-table .tip3,.crm-zd-list .crm-zd-table .tip4{display:inline-block;padding:4px 8px!important;border-radius:6px!important;font-size:11px!important;font-weight:600!important;border:1px solid var(--border)!important;background:var(--bg)!important;color:var(--text)!important}
.crm-zd-list-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.crm-zd-list-footer .straniz{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--text-muted)}
.crm-zd-list-footer .straniz a{padding:6px 10px;border:1px solid var(--border);border-radius:6px;text-decoration:none!important;color:var(--text)!important;background:var(--surface)}
.crm-zd-list-footer .straniz a.sinka{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important;font-weight:700}
.crm-zd-btn{min-height:36px;padding:8px 16px!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;cursor:pointer}
.crm-zd-btn--danger{background:color-mix(in srgb,#dc2626 12%,var(--surface))!important;border:1px solid color-mix(in srgb,#dc2626 35%,var(--border))!important;color:#b91c1c!important}
.crm-zd-empty{margin:0;padding:24px;text-align:center;color:var(--text-muted);background:var(--bg);border:1px dashed var(--border);border-radius:10px;font-size:14px}
.crm-zd-calendar-card{padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 2px 12px var(--shadow)}
.crm-zd-calendar-card #calendar table.small_calendary{width:100%;border-collapse:separate;border-spacing:2px}
.crm-zd-calendar-card #calendar td,.crm-zd-calendar-card #calendar th{font-size:12px;color:var(--text)!important}
.crm-zd-calendar-card #calendar .menusmall,.crm-zd-calendar-card #calendar .menusmall_a{cursor:pointer;border-radius:6px;transition:background var(--transition)}
.crm-zd-calendar-card #calendar .menusmall_a,.crm-zd-calendar-card #calendar td[style*="FFCC33"]{background:color-mix(in srgb,var(--accent) 25%,var(--surface))!important;font-weight:700}
.crm-zd-widget.box{padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 1px 8px var(--shadow);font-size:13px;line-height:1.45;color:var(--text)}
.crm-zd-widget.box table{width:100%;border-collapse:collapse}
.crm-zd-widget.box td{padding:4px 0;border:0!important;font-size:12px!important;color:var(--text)!important}
#Telo #podmenu a.crm-zd-tab{display:inline-flex;align-items:center;padding:8px 14px;margin:0 6px 6px 0;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text)!important;font-size:13px!important;font-weight:600;text-decoration:none!important;transition:background var(--transition),border-color var(--transition),color var(--transition)}
#Telo #podmenu a.crm-zd-tab:hover{border-color:var(--accent);color:var(--accent)!important}
#ZADANIYA.crm-zd-page{margin:0;width:auto;background:transparent!important;border:0}
[data-theme="dark"] .crm-zd-calendar-card,[data-theme="dark"] .crm-zd-widget.box,[data-theme="dark"] .crm-zd-table-wrap,[data-theme="dark"] .crm-zd-page .crm-zd-table{background:var(--surface)!important}
[data-theme="dark"] #Telo #podmenu a.crm-zd-tab{background:var(--surface)!important}
[data-theme="dark"] .crm-zd-btn--danger{color:#f87171!important}
/* CRM contacts / deals list (kontakty, sdelki) */
.crm-kont-page{padding:4px 8px 28px;max-width:100%}
.crm-kont-page__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px 20px;margin-bottom:16px}
.crm-kont-page__title{margin:0;font-size:22px;font-weight:700;color:var(--text);font-family:Arial,sans-serif;font-style:normal;line-height:1.25}
.crm-kont-page__meta{margin:0;font-size:13px;color:var(--text-muted);font-weight:500}
.crm-kont-page__meta strong{color:var(--text);font-weight:700}
.crm-kont-body{display:flex;flex-direction:column;gap:12px}
.crm-kont-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 2px 12px var(--shadow)}
.crm-kont-page .crm-kont-table,.crm-kont-page #KaKaK{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface)!important;border:0!important}
.crm-kont-page .crm-kont-table #TOPHT th,.crm-kont-page #KaKaK #TOPHT th,.crm-kont-page .crm-kont-table thead th{position:sticky;top:0;z-index:2;padding:10px 8px!important;font-size:11px!important;font-weight:700!important;color:var(--text)!important;background:var(--bg)!important;border-bottom:1px solid var(--border)!important;border-top:0!important;text-align:center!important;vertical-align:middle!important;white-space:normal;line-height:1.3}
.crm-kont-page .crm-kont-table #TOPHT th a,.crm-kont-page #KaKaK #TOPHT th a{color:var(--accent)!important;text-decoration:none!important;font-weight:700!important}
.crm-kont-page .crm-kont-table td,.crm-kont-page #KaKaK td{padding:10px 8px!important;border-bottom:1px solid var(--border)!important;font-size:12px!important;color:var(--text)!important;background:var(--surface)!important;vertical-align:top!important;text-align:left!important}
.crm-kont-page .crm-kont-table tr.f:hover td,.crm-kont-page .crm-kont-table tr.ff:hover td,.crm-kont-page #KaKaK tr.f:hover td,.crm-kont-page #KaKaK tr.ff:hover td{background:var(--bg)!important}
.crm-kont-page .crm-kont-table td.delimtd,.crm-kont-page #KaKaK td.delimtd{width:40px;text-align:center!important;vertical-align:middle!important}
.crm-kont-page .crm-kont-table td.cm,.crm-kont-page #KaKaK td.cm{text-align:left!important}
.crm-kont-page .FiOns,.crm-kont-page .FiOns span,.crm-kont-page #KaKaK .FiOns{color:var(--accent)!important;font-weight:600;text-decoration:none!important;cursor:pointer}
.crm-kont-page .FiOns:hover,.crm-kont-page .FiOns span:hover{text-decoration:underline!important}
.crm-kont-page .groups,.crm-kont-page .jobs,.crm-kont-page .smallbla,.crm-kont-page .smallblu{font-size:12px!important;line-height:1.4;color:var(--text)!important}
.crm-kont-page .NewF img{vertical-align:middle;margin-right:4px}
.crm-kont-summary{margin:8px 0 0;font-size:13px;color:var(--text-muted);line-height:1.5}
.crm-kont-summary table{border:0!important;background:transparent!important}
.crm-kont-summary td,.crm-kont-summary th{border:0!important;padding:2px 8px 2px 0!important;font-size:12px!important;color:var(--text)!important}
.crm-kont-empty{margin:0;padding:24px;text-align:center;color:var(--text-muted);background:var(--bg);border:1px dashed var(--border);border-radius:10px;font-size:14px}
.crm-kont-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;padding-top:4px}
.crm-kont-btn{min-height:36px;padding:8px 16px!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;cursor:pointer}
.crm-kont-btn--danger{background:color-mix(in srgb,#dc2626 12%,var(--surface))!important;border:1px solid color-mix(in srgb,#dc2626 35%,var(--border))!important;color:#b91c1c!important}
.crm-kont-pagination .straniz{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--text-muted)}
.crm-kont-pagination .straniz a{padding:6px 10px;border:1px solid var(--border);border-radius:6px;text-decoration:none!important;color:var(--text)!important;background:var(--surface);transition:border-color var(--transition),color var(--transition)}
.crm-kont-pagination .straniz a:hover{border-color:var(--accent);color:var(--accent)!important}
.crm-kont-pagination .straniz a.sinka{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important;font-weight:700}
#Telo #podmenu .crm-kont-podmenu__group,#Telo #podmenu .crm-kont-podmenu__actions{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin-right:12px}
#Telo #podmenu .crm-kont-podmenu__link{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text)!important;font-size:12px!important;font-weight:600;text-decoration:none!important}
#Telo #podmenu .crm-kont-podmenu__link:hover{border-color:var(--accent);color:var(--accent)!important}
#Telo #podmenu .limit select{min-height:34px;padding:6px 10px;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--surface)!important;color:var(--text)!important;font-size:12px!important}
.crm-kont-columns-panel{padding:14px 16px!important;border-radius:12px!important;border:1px solid var(--border)!important;background:var(--surface)!important;box-shadow:0 8px 24px var(--shadow)!important;font-size:12px!important;line-height:1.6;color:var(--text)!important;max-width:280px}
.crm-kont-columns-panel input[type=checkbox]{accent-color:var(--accent);margin-right:6px}
.crm-kont-page h1{font-family:Arial,sans-serif!important;font-style:normal!important;color:var(--text)!important;margin:0}
#ZADANIYA.crm-kont-page{margin:0;width:auto;background:transparent!important;border:0}
[data-theme="dark"] .crm-kont-table-wrap,[data-theme="dark"] .crm-kont-page .crm-kont-table,[data-theme="dark"] .crm-kont-page #KaKaK{background:var(--surface)!important}
[data-theme="dark"] .crm-kont-page .crm-kont-table #TOPHT th,[data-theme="dark"] .crm-kont-page #KaKaK #TOPHT th{background:var(--bg)!important}
[data-theme="dark"] .crm-kont-btn--danger{color:#f87171!important}
[data-theme="dark"] #Telo #podmenu .crm-kont-podmenu__link,[data-theme="dark"] .crm-kont-columns-panel{background:var(--surface)!important}

/* ===== CRM Unified UI (tables, forms, actions in main content) ===== */
:root{
--crm-radius:8px;
--crm-radius-lg:12px;
--crm-control-h:34px;
--crm-table-head-fs:11px;
--crm-table-body-fs:12px;
--crm-table-cell-pad:10px 8px;
}
#Telo{padding:4px 8px 28px;box-sizing:border-box}
#Telo>h1,#Telo>.crm-page-title,[class*="crm-"][class*="-page"] h1,[class*="crm-"][class*="-page__title"]{margin:0 0 16px!important;font-size:22px!important;font-weight:700!important;color:var(--text)!important;font-family:Arial,sans-serif!important;font-style:normal!important;line-height:1.25!important}
#Telo fieldset{border:1px solid var(--border)!important;border-radius:var(--crm-radius-lg)!important;background:var(--surface)!important;padding:14px 16px!important;margin:0 0 16px!important;box-shadow:0 1px 6px var(--shadow)}
#Telo legend{color:var(--accent)!important;font-size:13px!important;font-weight:700!important;padding:0 4px}
#Telo fieldset span:not(.bigleg):not(.RedForm span){float:none!important;width:auto!important;display:inline-block;font-weight:600;color:var(--text-muted);font-size:12px;margin-bottom:4px}
#Telo .wrong{display:flex!important;align-items:center;gap:10px;margin:12px 0!important;padding:12px 14px!important;height:auto!important;width:auto!important;border-radius:var(--crm-radius)!important;border:1px solid color-mix(in srgb,#dc2626 35%,var(--border))!important;background:color-mix(in srgb,#dc2626 8%,var(--surface))!important;color:#b91c1c!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important;text-decoration:none!important;cursor:default!important}
#Telo .wrong span{display:inline!important;line-height:inherit!important;color:inherit!important;text-decoration:none!important}
#Telo .crm-table-wrap,#Telo [class$="-table-wrap"]{overflow-x:auto;border:1px solid var(--border);border-radius:var(--crm-radius-lg);background:var(--surface);box-shadow:0 2px 12px var(--shadow);margin-bottom:16px}
#Telo .crm-list-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin-top:12px;padding-top:4px}
#Telo table.redt,#Telo table.tabl,#Telo table.redt.tabl,#Telo table#KaKa,#Telo table#KaKaK,#Telo .eeetable,#Telo [class*="crm-"][class*="-table"].redt,#Telo [class*="crm-"][class*="-table"].tabl{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:var(--surface)!important;border:0!important;margin:0!important}
#Telo tr#TOPHT th,#Telo #TOPHT th,#Telo .redt thead th,#Telo .tabl thead th,#Telo .TH th,#Telo .history thead th,#Telo tr#TOPHT td.th{position:sticky;top:0;z-index:2;padding:var(--crm-table-cell-pad)!important;font-size:var(--crm-table-head-fs)!important;font-weight:700!important;color:var(--text)!important;background:var(--bg)!important;border:0!important;border-bottom:1px solid var(--border)!important;text-align:center!important;vertical-align:middle!important;white-space:normal;line-height:1.3}
#Telo .redt td,#Telo .tabl td,#Telo table#KaKa td,#Telo table#KaKaK td,#Telo .eeetable td{padding:var(--crm-table-cell-pad)!important;border-top:0!important;border-bottom:1px solid var(--border)!important;border-left:0!important;border-right:0!important;font-size:var(--crm-table-body-fs)!important;color:var(--text)!important;background:var(--surface)!important;vertical-align:top!important}
#Telo .tabl td,#Telo .tabl th{text-align:center!important;vertical-align:middle!important}
#Telo .redt td.groups,#Telo .redt td.cm,#Telo .tabl td.groups,#Telo .tabl td.cm,#Telo table#KaKa td.groups,#Telo table#KaKaK td.groups{text-align:left!important}
#Telo .redt tbody tr.f:hover td,#Telo .redt tbody tr.ff:hover td,#Telo .tabl tbody tr.f:hover td,#Telo .tabl tbody tr.ff:hover td,#Telo table#KaKa tbody tr.f:hover td,#Telo table#KaKa tbody tr.ff:hover td,#Telo table#KaKaK tbody tr.f:hover td,#Telo table#KaKaK tbody tr.ff:hover td{background:var(--bg)!important}
#Telo .redt tbody tr:nth-child(even) td,#Telo .tabl tbody tr:nth-child(even) td,#Telo table#KaKa tbody tr:nth-child(even) td,#Telo table#KaKaK tbody tr:nth-child(even) td{background:var(--bg)!important}
#Telo .redt tbody tr:nth-child(even):hover td,#Telo .tabl tbody tr:nth-child(even):hover td{background:color-mix(in srgb,var(--accent) 6%,var(--bg))!important}
#Telo .redt td.delimtd,#Telo .tabl td.delimtd,#Telo table#KaKa td.delimtd,#Telo table#KaKaK td.delimtd{width:40px;text-align:center!important;vertical-align:middle!important}
#Telo #ZADANIYA,#Telo #SDELKI{width:100%!important;max-width:100%!important;margin:0!important;background:transparent!important}
#Telo input.sub,#Telo button.sub,#Telo a.sub,#Telo .button.sub,#Telo input[type=submit].sub,#Telo input[type=button].sub{min-height:var(--crm-control-h)!important;height:auto!important;line-height:1.3!important;padding:8px 16px!important;border-radius:var(--crm-radius)!important;border:0!important;font-size:13px!important;font-weight:600!important;cursor:pointer;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
#Telo input.sub:hover,#Telo button.sub:hover,#Telo a.sub:hover{background:var(--accent-hover)!important}
#Telo .tabl button.button,#Telo .tdtable button.button,#Telo button.button.noborder,#Telo #top_k button,#Telo #filter button.button,#Telo .small_calendary button.button,#Telo button.statyse,#Telo button.noborder:not(.sub){min-height:auto!important;height:auto!important;padding:4px 8px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:var(--accent)!important;font-size:12px!important;font-weight:600!important;text-decoration:underline!important;box-shadow:none!important;line-height:1.35!important;cursor:pointer}
#Telo .tabl button.button:hover,#Telo button.button:hover,#Telo button.statyse:hover{color:var(--accent-hover)!important;background:var(--bg)!important}
#Telo input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=image]),
#Telo select,#Telo textarea:not(.ed){min-height:var(--crm-control-h);padding:6px 10px!important;border:1px solid var(--border)!important;border-radius:var(--crm-radius)!important;background:var(--surface)!important;color:var(--text)!important;font-size:13px!important;box-sizing:border-box}
#Telo select{min-height:var(--crm-control-h);cursor:pointer}
#Telo textarea.ed{min-height:120px;border-radius:var(--crm-radius)!important;padding:10px 12px!important}
#Telo .limit{display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;background:transparent;border-radius:0;color:var(--text-muted);font-size:12px;top:0}
#Telo .limit select{min-height:var(--crm-control-h);padding:6px 10px;border:1px solid var(--border)!important;border-radius:var(--crm-radius)!important;background:var(--surface)!important;color:var(--text)!important;font-size:12px!important}
#Telo .straniz,#Telo .crm-pagination .straniz,#Telo [class*="pagination"] .straniz{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:auto;line-height:1.4;font-size:13px;color:var(--text-muted)}
#Telo .straniz a,#Telo .crm-pagination .straniz a{padding:6px 10px;border:1px solid var(--border);border-radius:var(--crm-radius);text-decoration:none!important;color:var(--text)!important;background:var(--surface);font-size:12px!important;font-weight:600;line-height:1.3;display:inline-flex;align-items:center;transition:border-color var(--transition),color var(--transition),background var(--transition)}
#Telo .straniz a:hover{border-color:var(--accent);color:var(--accent)!important;padding:6px 10px}
#Telo .straniz a.sinka{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important;padding:6px 10px}
#Telo #podmenu{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:0 0 12px;margin-bottom:4px;background:transparent!important;height:auto!important}
#Telo #podmenu h1{float:none!important;margin:0 12px 0 0!important;font-size:18px!important}
#Telo #podmenu a,#Telo #podmenu a.option,#Telo #podmenu a.search,#Telo #podmenu .newdocs{display:inline-flex!important;align-items:center;float:none!important;padding:6px 12px!important;margin:0!important;border:1px solid var(--border)!important;border-radius:var(--crm-radius)!important;background:var(--surface)!important;color:var(--text)!important;font-size:12px!important;font-weight:600!important;line-height:1.35!important;text-align:center;text-decoration:none!important;white-space:nowrap}
#Telo #podmenu a:hover,#Telo #podmenu a.option:hover{border-color:var(--accent)!important;color:var(--accent)!important}
#Telo #podmenu form a{padding:0;border:0;background:transparent;font-weight:600;text-decoration:underline!important}
#Telo .box,#Telo span.box,#Telo div.box{border:1px solid var(--border)!important;border-radius:var(--crm-radius-lg)!important;background:var(--surface)!important;padding:14px 16px!important;margin:0 0 16px!important;line-height:1.5;color:var(--text)!important;box-shadow:0 1px 6px var(--shadow)}
#Telo a.box-button,#Telo .box-button{display:inline-flex;align-items:center;padding:8px 14px!important;border:1px solid var(--border)!important;border-radius:var(--crm-radius)!important;background:var(--bg)!important;color:var(--text)!important;font-weight:600!important;text-decoration:none!important;line-height:1.3!important}
#Telo a.box-button:hover{background:var(--surface)!important;border-color:var(--accent)!important;color:var(--accent)!important}
#Telo .RedForm{border-radius:var(--crm-radius)!important;box-shadow:0 8px 24px var(--shadow)!important;padding:10px!important}
#Telo .type_zd,#Telo .type_zd_active{border-radius:var(--crm-radius)!important;border-color:var(--border)!important;padding:4px 10px 4px 24px!important;font-size:11px!important}
#Telo .type_zd_active{background:color-mix(in srgb,var(--accent) 15%,var(--surface))!important;border-color:var(--accent)!important}
#Telo .adm .redt,#Telo .adm table{width:100%!important}
#Telo .caption{font-size:15px!important;color:var(--text)!important}
#Telo .fff{background:var(--bg)!important}
#Telo .trf{background:color-mix(in srgb,var(--accent) 6%,var(--surface))!important}
#Telo .gprim{border-radius:4px;border-color:var(--border)!important;padding:2px 8px!important;font-size:11px!important}
#Telo .tip0,#Telo .tip1,#Telo .tip2,#Telo .tip3,#Telo .tip4,#Telo .typ0,#Telo .typ1,#Telo .typ2,#Telo .typ3,#Telo .typ4{border-radius:4px!important;padding:2px 6px!important;font-size:11px!important}
[data-theme="dark"] #Telo .wrong{border-color:#7f1d1d!important;background:#450a0a!important;color:#fca5a5!important}
[data-theme="dark"] #Telo [class$="-table-wrap"],[data-theme="dark"] #Telo fieldset,[data-theme="dark"] #Telo .box{background:var(--surface)!important}
[data-theme="dark"] #Telo tr#TOPHT th,[data-theme="dark"] #Telo #TOPHT th,[data-theme="dark"] #Telo .redt thead th,[data-theme="dark"] #Telo .tabl thead th{background:var(--bg)!important;color:var(--text)!important}
[data-theme="dark"] #Telo .redt td,[data-theme="dark"] #Telo .tabl td,[data-theme="dark"] #Telo table#KaKa td,[data-theme="dark"] #Telo table#KaKaK td{color:var(--text)!important;border-color:var(--border)!important}
[data-theme="dark"] #Telo .redt tbody tr:nth-child(even) td,[data-theme="dark"] #Telo .tabl tbody tr:nth-child(even) td{background:var(--bg)!important}
[data-theme="dark"] #Telo #podmenu a,[data-theme="dark"] #Telo #podmenu a.option{background:var(--surface)!important;color:var(--text)!important}
