html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}@font-face{font-family:Arimo;src:url(/report-fonts/Arimo.ttf)format("truetype");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:Cousine;src:url(/report-fonts/Cousine-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Inter;src:url(/report-fonts/Inter.ttf)format("truetype");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:Lato;src:url(/report-fonts/Lato-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Noto Sans;src:url(/report-fonts/NotoSans.ttf)format("truetype");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:Open Sans;src:url(/report-fonts/OpenSans.ttf)format("truetype");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:Oswald;src:url(/report-fonts/Oswald.ttf)format("truetype");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:PT Sans;src:url(/report-fonts/PTSans-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:PT Sans;src:url(/report-fonts/PTSans-Bold.ttf)format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:PT Serif;src:url(/report-fonts/PTSerif-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:PT Serif;src:url(/report-fonts/PTSerif-Bold.ttf)format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Roboto;src:url(/report-fonts/Roboto.ttf)format("truetype");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:Tinos;src:url(/report-fonts/Tinos-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Tinos;src:url(/report-fonts/Tinos-Bold.ttf)format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Ubuntu;src:url(/report-fonts/Ubuntu-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Ubuntu;src:url(/report-fonts/Ubuntu-Bold.ttf)format("truetype");font-weight:700;font-style:normal;font-display:swap}html,body,#root{min-height:100%}body{background:#edf1f5;margin:0}*{box-sizing:border-box}.auth-shell{background:linear-gradient(135deg,#1890ff14,#52c41a14),#f4f6f8;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-panel{width:min(420px,100%)}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.page-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.project-title-link{color:inherit;text-decoration:none}.project-title-link:hover{color:#1677ff}.header-control-link{color:inherit;align-items:center;gap:8px;text-decoration:none;display:inline-flex}.header-control-link:hover{color:#1677ff}.user-menu-button{align-items:center;gap:8px;max-width:240px;display:inline-flex}.user-menu-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.content-stack{flex-direction:column;gap:16px;display:flex}.app-theme{min-height:100vh}.app-theme-light{background:#edf1f5}.app-theme-dark{background:#111827}.settings-section{background:#0f172a06;border:1px solid #64748b38;border-radius:6px;padding:16px}.app-theme-dark .settings-section{background:#ffffff09;border-color:#94a3b838}.settings-section-title{margin-bottom:12px}.telegram-settings-grid{grid-template-columns:minmax(360px,.95fr) minmax(460px,1.25fr);align-items:start;gap:14px;display:grid}.telegram-binding-row{grid-template-columns:minmax(160px,220px) minmax(240px,1fr);align-items:end;gap:12px;display:grid}.telegram-bind-command{width:100%}.report-setup-grid{grid-template-columns:minmax(520px,1.35fr) minmax(360px,.85fr);align-items:start;gap:14px;display:grid}.inline-create-form{align-items:end;gap:10px;display:grid}.inline-create-panel{background:#ffffff7a;border:1px solid #64748b33;border-radius:6px;margin-top:14px;padding:12px}.app-theme-dark .inline-create-panel{background:#ffffff09;border-color:#94a3b82e}.inline-create-form .ant-form-item{margin-bottom:0}.inline-create-form-metric{grid-template-columns:minmax(150px,1.1fr) minmax(120px,140px) minmax(180px,1fr) auto}.inline-create-form-template{grid-template-columns:minmax(180px,1fr) auto}.inline-create-form-department{grid-template-columns:minmax(220px,1fr) auto}.managers-top-grid{grid-template-columns:minmax(260px,360px) minmax(420px,760px);align-items:start;gap:14px;display:grid}.managers-layout{grid-template-columns:minmax(0,1fr) 420px;align-items:start;gap:14px;display:grid}.managers-side-panel{grid-area:1/2;gap:14px;display:grid}.managers-card{grid-area:1/1}.department-create-compact{width:auto;max-width:420px}.department-create-compact .ant-input{flex:0 0 230px;width:230px}.department-create-compact .ant-btn{white-space:nowrap;flex:none}.departments-card .ant-card-body{padding-top:0}.departments-list{flex-direction:column;display:flex}.departments-list-row{border-bottom:1px solid #64748b29;grid-template-columns:minmax(90px,1fr) 42px minmax(150px,190px) auto;align-items:center;gap:10px;min-height:36px;display:grid}.departments-list-row:last-child{border-bottom:0}.department-name-text{min-width:0}.department-managers-count{text-align:right;font-variant-numeric:tabular-nums}.department-template-select{width:100%}.manager-create-compact{grid-template-columns:150px minmax(0,1fr);gap:8px;width:auto;max-width:680px;display:grid}.manager-create-telephony{flex:0 0 150px;width:150px}.manager-create-user{flex:auto;width:100%;min-width:0}.manager-create-compact .ant-btn{white-space:nowrap;flex:none;grid-column:1/-1;justify-self:start}.dashboard-filter-grid{grid-template-columns:repeat(auto-fit,minmax(150px,max-content));justify-content:start;align-items:end;gap:10px;display:grid}.dashboard-filter-grid .ant-form-item{margin-bottom:0}.dashboard-filter-grid .ant-input,.dashboard-filter-grid .ant-picker{width:150px}.dashboard-filter-grid .ant-select{width:190px}.dashboard-filter-grid .ant-btn{white-space:nowrap;margin-bottom:0}.metric-entries-main-grid{grid-template-columns:minmax(0,1fr) minmax(300px,360px);align-items:start;gap:14px;display:grid}.metric-entries-table-card{min-width:0}.metric-entries-table-card .ant-table-cell{vertical-align:middle}.metric-entries-table-card .ant-table-thead>tr>th{white-space:nowrap}.metric-entries-side-panel{flex-direction:column;gap:14px;max-height:calc(100vh - 32px);display:flex;position:sticky;top:16px;overflow:auto}.metric-entries-side-panel .ant-collapse{background:#ffffff9e;border-radius:6px}.app-theme-dark .metric-entries-side-panel .ant-collapse{background:#ffffff09}.metric-entry-create-form{grid-template-columns:1fr;gap:10px;display:grid}.metric-entry-create-form .ant-form-item{margin-bottom:0}.metric-entry-create-form .ant-picker,.metric-entry-create-form .ant-select,.metric-entry-create-form .ant-input-number,.metric-entry-create-form .ant-input{width:100%}.metric-entry-create-form .ant-btn{justify-self:start;margin-top:2px}.metric-entry-filter-form{grid-template-columns:1fr;gap:10px;display:grid}.metric-entry-filter-form .ant-picker,.metric-entry-filter-form .ant-select{width:100%;margin-top:4px;display:block}.metric-entry-filter-form .ant-btn{justify-self:start;margin-top:2px}.dashboard-number-bar{background:#64748b1a;border-radius:3px;min-width:92px;height:20px;position:relative;overflow:hidden}.dashboard-number-bar-fill{background:#64748b57;position:absolute;inset:0 auto 0 0}.dashboard-number-bar-value{z-index:1;text-align:right;font-variant-numeric:tabular-nums;padding:1px 6px;display:block;position:relative}.managers-card .ant-card-body{padding-top:0}.manager-create-card .ant-card-body{padding-top:12px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.report-design-layout{grid-template-columns:minmax(280px,420px) minmax(360px,1fr);align-items:start;gap:14px;display:grid}.report-design-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;display:grid}.report-design-controls .ant-form-item{margin-bottom:4px}.report-preview-stack{flex-direction:column;gap:10px;display:flex}.color-swatch-input{cursor:pointer;background:0 0;border:0;width:28px;height:24px;padding:0}.report-preview{border:1px solid #64748b38;border-radius:6px;padding:12px;overflow-x:auto}.report-preview-image-shell{flex-direction:column;gap:8px;display:flex}.report-preview-image{max-width:100%;height:auto;display:block}.report-preview-title{margin-bottom:8px;font-size:18px;font-weight:700;display:block}.report-preview-table{border-radius:4px;min-width:620px;display:grid;overflow:hidden}.report-preview-row{grid-template-columns:minmax(160px,1.35fr);display:grid}.report-preview-row span{min-height:0;padding:var(--report-preview-row-padding-y,8px) 10px;border-bottom:1px solid;border-right:1px solid;border-color:inherit;white-space:normal;align-items:center;line-height:1.15;display:flex}.report-preview-header span,.report-preview-total span{font-weight:700}.fixed-total-column{background:#fbbf241a;border:1px dashed #b4530973;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:12px 14px;display:flex}.report-table-builder{background:#ffffff7a;border:1px solid #64748b38;border-radius:6px;padding:12px;overflow-x:auto}.app-theme-dark .report-table-builder{background:#ffffff09}.column-settings-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;display:grid}.column-settings-layout-open{grid-template-columns:minmax(520px,1fr) minmax(360px,420px)}.column-settings-layout-open .report-table-builder{min-width:0}.report-builder-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:720px}.report-builder-table th,.report-builder-table td{vertical-align:middle;background:#fff;border:1px solid #64748b47;padding:10px}.app-theme-dark .report-builder-table th,.app-theme-dark .report-builder-table td{background:#111827e6}.report-builder-table th{background:#23405c1a;min-width:180px}.app-theme-dark .report-builder-table th{background:#94a3b81f}.report-builder-manager-cell{width:220px}.report-builder-table .report-builder-insert-cell,.report-builder-table .report-builder-spacer-cell{text-align:center;background:0 0;border-left-style:dashed;border-right-style:dashed;width:42px;min-width:42px;max-width:42px;padding:4px}.report-builder-cell-content{flex-direction:column;align-items:flex-start;gap:6px;min-height:96px;display:flex}.column-card{border-radius:6px;flex-direction:column;justify-content:space-between;gap:8px;display:flex}.app-theme-dark .column-card{background:#111827e6}.column-card-fixed{background:#fbbf241a;border-style:dashed}.column-card-main{flex-direction:column;gap:4px;display:flex}.column-insert-button{flex:none;align-self:center}.column-insert-form{background:#0f172a06;border:1px solid #64748b38;border-radius:6px;margin-top:0;padding:14px;position:sticky;top:12px}.column-form-grid{grid-template-columns:1fr;gap:12px;display:grid}.formula-help{min-width:0}.formula-token-groups{flex-direction:column;gap:6px;max-height:320px;margin-top:8px;padding-right:4px;display:flex;overflow-y:auto}.formula-token-group{background:#ffffff73;border:1px solid #64748b38;border-radius:6px;padding:8px}.app-theme-dark .formula-token-group{background:#0f172a73}.formula-token-group-title{justify-content:space-between;gap:8px;margin-bottom:6px;display:flex}.formula-token-list{flex-direction:column;gap:6px;display:flex}.formula-token-list .ant-btn{text-align:left;width:100%;height:auto;padding:5px 8px}.formula-token-list .ant-btn>span{white-space:normal;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.25;display:flex}@media (width<=760px){.page-header{flex-direction:column}.page-actions{justify-content:flex-start}.form-grid,.telegram-settings-grid,.telegram-binding-row,.report-setup-grid,.inline-create-form-metric,.inline-create-form-template,.inline-create-form-department,.report-design-layout,.report-design-controls,.managers-layout,.managers-top-grid,.metric-entries-main-grid,.column-settings-layout,.column-form-grid{grid-template-columns:1fr}.column-insert-form{position:static}.metric-entries-side-panel{max-height:none;position:static;overflow:visible}.managers-side-panel,.managers-card{grid-area:auto}.department-create-compact{width:100%}.department-create-compact .ant-input{flex:auto;width:100%}.departments-list-row{grid-template-columns:1fr 42px auto}.department-template-select{grid-column:1/-1}.manager-create-compact{grid-template-columns:1fr;gap:8px;width:100%;display:grid}.manager-create-telephony,.manager-create-user{flex:auto;width:100%}}
