@charset "UTF-8";
:root{--ink:#16343c;--muted:#64787e;--teal:#008c83;--mint:#52ddbb;--nav:#07383f;--line:#e3ebed;--surface:#fff;--canvas:#f2f6f6;--orange:#ef9159;--blue:#518bce;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.6}a{color:inherit}button,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #217ec5}button{transition:background .18s,box-shadow .18s}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.1px;line-height:1.2;font-weight:650}h2{font-size:18px;letter-spacing:-.4px;font-weight:650}svg{display:block}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-100px;left:20px;padding:14px;background:white;z-index:100}.skip:focus{top:10px}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:linear-gradient(155deg,#08504f 0%,#07343e 55%,#092d3b 100%);color:#e9f7f5;padding:34px 20px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;padding:0 8px;font-size:25px;font-weight:760;letter-spacing:1.3px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;font-weight:500;color:#acd0d0;margin-top:2px}.brandmark{width:40px;height:40px;background:#4cdfb8;color:#084743;display:grid;place-items:center;border-radius:12px;font-size:35px;line-height:1;letter-spacing:-4px;padding-right:3px}.workspace{display:flex;align-items:center;gap:9px;border:1px solid #ffffff1c;border-radius:10px;padding:11px 9px;margin:33px 0;font-size:10px;white-space:nowrap}.workspace small{display:block;color:#adcccf}.workspace-icon{border:1px solid #ffffff35;width:28px;height:30px;display:grid;place-items:center;border-radius:7px}.workspace-dot{width:5px;height:5px;border-radius:50%;background:#5ee3bd;margin-left:auto}.nav-label{font-size:10px;letter-spacing:1.8px;color:#a1c5c7;padding:0 14px;margin-bottom:12px}.nav-item{border:0;background:none;color:#c1dadb;width:100%;min-height:48px;border-radius:10px;text-align:left;padding:12px 14px;display:flex;align-items:center;gap:12px;margin-bottom:6px;font-weight:550;font-size:13px}.nav-item.active{color:#073e39;background:#5ee0bd;box-shadow:0 5px 24px #031d231b}.nav-item:not(.active):hover{background:#ffffff0d;color:white}.nav-arrow{margin-left:auto;font-size:20px}.nav-item:not(.active) .nav-arrow{display:none}.service-symbol{font-weight:650;font-size:19px;width:20px;text-align:center}.service-symbol.vk{font-size:15px;letter-spacing:-1px}.side-bottom{margin-top:auto;padding-top:45px}.side-note{padding:18px 14px 5px;border-top:1px solid #ffffff18}.overline{font-size:9px;letter-spacing:1.6px;font-weight:650;color:var(--muted);display:block;margin-bottom:5px}.side-note .overline{color:#8db8bb;font-size:8px;letter-spacing:1.2px}.side-note h3{font-size:21px;line-height:1.35;letter-spacing:-.5px;font-weight:500;margin:10px 0 22px}.side-note svg{width:100%;height:56px}.side-note p{font-size:11px;color:#b3cecf;margin:13px 0 20px;line-height:1.7}.side-help{width:100%;background:transparent;border:0;border-top:1px solid #ffffff18;display:flex;align-items:center;gap:10px;padding:19px 10px;color:#d8e9e9;font-size:11px}.side-help span:last-child{margin-left:auto}.side-footer{border-top:1px solid #ffffff18;padding:20px 9px 0;display:flex;align-items:center;gap:10px;font-size:11px}.side-footer small{display:block;font-size:10px;color:#a5c4c7;margin-top:2px}.avatar{width:31px;height:31px;border-radius:50%;background:#ffffff16;display:grid;place-items:center;font-weight:600}.app{margin-left:238px}.topbar{height:72px;background:#ffffffc9;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:14px}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{padding:0 12px;color:#bdcacc}.breadcrumb strong{font-weight:500;color:var(--ink)}.top-right{display:flex;align-items:center;gap:17px}.real-badge{font-size:10px;color:#12665e;display:flex;align-items:center;gap:7px;background:#e6f5ef;border-radius:6px;padding:5px 8px}.real-badge i,.status-dot{width:6px;height:6px;border-radius:50%;background:#2f9b77;display:inline-block}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:white;display:grid;place-items:center}.icon-button:hover{background:#eff5f4}main{padding:32px 36px 15px;max-width:1800px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#647e83;font-weight:650;margin-bottom:10px}.eyebrow span{margin-left:10px;color:#81979b}.heading p{font-size:12px;color:var(--muted);margin-top:10px}.button{height:40px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d5e0e1;border-radius:9px;background:white;font-size:11px;font-weight:550;padding:0 14px;white-space:nowrap}.button:hover{background:#eaf3f0}.button .icon{width:16px;height:16px}.export-button{background:#0b5554;border-color:#0b5554;color:white;box-shadow:0 3px 6px #103d3810}.export-button:hover{background:#073d42}.connection-strip{display:flex;align-items:center;gap:20px;font-size:10px;color:#536c71;margin-bottom:22px;flex-wrap:wrap}.connection-strip>span{display:flex;align-items:center;gap:6px}.connection-strip .pending{padding-left:18px;border-left:1px solid #d1dddf;color:#717f85}.pending i{width:6px;height:6px;border-radius:50%;background:#a5b1b5}.connection-strip button{margin-left:auto;border:0;background:none;color:#647e83;font-size:10px}.connection-strip button span{padding-left:5px}.filters{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:12px;padding:12px 15px}.filters label,.advanced label{display:flex;flex-direction:column;gap:4px;font-size:9px;color:var(--muted);flex:1;min-width:120px}.filters select,.advanced select{border:0;outline-offset:1px;color:var(--ink);background:transparent;font-size:11px;height:26px;width:100%;min-width:0;padding-right:10px}.date-field{flex:1.5!important;min-width:246px!important}.date-field div{display:flex;align-items:center;gap:5px}.date-field input{border:0;background:none;min-width:0;width:112px;font-size:11px;color:var(--ink);height:26px;padding:0}.date-field input::-webkit-calendar-picker-indicator{width:12px;opacity:.55}.filter-more{background:#f8fafa;border-color:var(--line);margin-left:auto;height:38px}.reset{display:grid;place-items:center;border:0;background:none;width:28px;height:36px;color:#778d91}.advanced{display:flex;align-items:center;gap:24px;background:#e8f0ef;padding:15px;border-radius:0 0 12px 12px}.advanced label{max-width:250px}.advanced p{font-size:11px;color:#5c7278;max-width:420px}.filter-error{padding:12px;color:#9d362d;background:#fce8e5;border-radius:8px;margin-top:8px}.selection-line{display:flex;justify-content:space-between;gap:15px;min-height:37px;align-items:center;font-size:9px;color:#678086}.kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:23px}.kpi{background:white;border:1px solid var(--line);border-radius:12px;padding:16px 15px;min-height:132px;position:relative;overflow:hidden}.kpi.primary{background:linear-gradient(120deg,#006d68,#084b53);color:white;border-color:transparent}.kpi.mint{background:#dbf3e9;border-color:#cdeadd}.kpi-label{display:flex;align-items:center;justify-content:space-between;gap:3px;font-size:10px;white-space:nowrap}.kpi-label .icon{width:14px;height:14px;opacity:.75}.kpi-value{display:block;font-size:25px;font-weight:650;letter-spacing:-.9px;margin-top:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.kpi-value small{font-size:16px;letter-spacing:0}.kpi-foot{font-size:9px;color:#637b7e;margin-top:7px;display:flex;gap:5px;flex-wrap:wrap}.primary .kpi-foot{color:#b8dbd5}.delta{font-weight:600;color:#18705b}.primary .delta{color:#8ef4ce}.neutral-delta{color:#647b80}.primary .neutral-delta{color:#b8dbd5}.kpi.pending-kpi{background:repeating-linear-gradient(135deg,#fcfdfd,#fcfdfd 8px,#f7fafa 8px,#f7fafa 9px)}.charts-row{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(260px,1fr);gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);min-width:0;box-shadow:0 4px 12px #193f4902}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 0}.chart-select select{font-size:10px;border:1px solid var(--line);padding:7px 10px;border-radius:7px;background:white;color:var(--ink);max-width:140px}.chart-headline{display:flex;align-items:center;gap:8px;margin:17px 24px 0;flex-wrap:wrap}.chart-headline>strong{font-size:29px;font-weight:600;letter-spacing:-1px}.chart-headline>span{font-size:10px;color:var(--muted);align-self:center}.legend{display:flex;gap:12px;font-size:9px;color:var(--muted);margin-left:auto}.legend span{display:flex;align-items:center;gap:5px}.legend i,.mix-legend i{width:7px;height:7px;border-radius:50%;display:inline-block;flex:none}.teal-dot{background:#079c91}.gray-dot{background:#b6c7ce}.trend{padding:4px 15px 0;min-height:220px}.trend svg{width:100%;height:218px;overflow:visible}.chart-caption{display:flex;justify-content:space-between;align-items:center;margin:4px 24px 19px;font-size:9px;color:var(--muted);gap:8px}.text-button{border:0;background:none;color:#087e77;padding:4px 0;font-size:10px;font-weight:550;min-height:28px}.text-button:hover{text-decoration:underline}.small-icon{color:#66848a}.donut-wrap{position:relative;width:182px;height:182px;margin:14px auto 10px}.donut-wrap svg{width:100%;height:100%;transform:rotate(-90deg)}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-center strong{font-size:27px;font-weight:600;letter-spacing:-1px}.donut-center span{font-size:9px;color:var(--muted)}.mix-legend{padding:0 25px 20px;display:grid;gap:8px}.mix-legend button{display:flex;align-items:center;gap:8px;border:0;background:none;padding:0;font-size:10px;min-height:22px;text-align:left}.mix-legend button:hover{text-decoration:underline}.mix-legend button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mix-legend strong{margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}.mix-legend .legend-value{color:var(--muted);font-size:9px;margin-left:4px;min-width:34px;text-align:right}.insight{display:flex;gap:14px;align-items:center;background:#e6f2ed;border:1px solid #d7e8e0;border-radius:10px;padding:14px 18px;margin:18px 0 25px}.insight-icon{width:31px;height:31px;border-radius:9px;background:#d0eadd;display:grid;place-items:center;color:#146b5e;flex:none}.insight strong{font-size:11px;font-weight:650}.insight p{font-size:10px;color:#486b64;margin-top:2px}.insight .insight-tag{margin-left:auto;padding:4px 8px;border:1px solid #bfdccc;border-radius:5px;font-size:8px;letter-spacing:.4px;white-space:nowrap;color:#426b5d}.data-panel .panel-heading{padding-bottom:18px}.search{border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:8px;padding:8px 11px;max-width:230px}.search .icon{width:14px;height:14px;color:#71888d}.search input{border:0;outline:0;font-size:10px;width:100%;min-width:0;color:var(--ink);background:none}.search:focus-within{outline:2px solid #217ec5;outline-offset:2px}.table-toolbar{display:flex;justify-content:space-between;align-items:center;padding:0 24px 14px;gap:10px}.segments{display:flex;gap:4px;padding:3px;background:#eff4f4;border-radius:7px;flex-wrap:wrap}.segments button{border:0;background:transparent;color:#61777d;border-radius:5px;padding:7px 12px;font-size:10px}.segments button.active{background:white;color:#126e66;box-shadow:0 1px 4px #243e4012}.table-toolbar>span{font-size:9px;color:var(--muted)}.table-scroll{overflow-x:auto;width:100%;border-top:1px solid var(--line)}table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;white-space:nowrap}th{text-align:right;background:#f7f9f9;font-size:9px;color:#6b7e83;font-weight:500;border-bottom:1px solid var(--line);padding:12px 15px}th:first-child,td:first-child{text-align:left;padding-left:24px}th button{padding:0;background:none;border:0;font-size:inherit;color:inherit;display:inline-flex;align-items:center;gap:5px;min-height:22px}th:first-child{min-width:230px}th[aria-sort] button{color:#285d5d}td{padding:14px 15px;font-size:11px;text-align:right;border-bottom:1px solid #edf2f2;color:#24434b}tbody tr:hover{background:#f4faf8}td:first-child{max-width:420px}td .row-open{border:0;background:none;text-align:left;display:flex;align-items:center;gap:10px;padding:0;font-size:11px;font-weight:550;max-width:100%;min-height:28px}.row-open .source-name{max-width:310px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.row-open>span:last-child{color:#93a7aa;font-size:14px;padding-left:4px}.source-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:var(--source-bg,#e9f3f0);color:var(--source-color,#287465);font-size:12px;font-weight:600;flex:none}.share-cell{display:flex;align-items:center;justify-content:flex-end;gap:8px}.share-track{width:38px;height:3px;background:#e6efed;border-radius:3px}.share-track i{height:100%;background:#43ae9e;display:block;border-radius:3px}tfoot{font-weight:650;background:#f6f9f8}tfoot td{font-size:10px;padding-top:15px;padding-bottom:15px}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:9px;color:var(--muted);padding:13px 24px}.empty-cell{text-align:center!important;padding:40px!important;color:var(--muted)}.crm-section{margin:26px 0 20px;padding:24px;border:1px solid #dce6e6;border-radius:var(--radius);background:linear-gradient(110deg,#e9f1f0,#f7f9f7)}.crm-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.crm-heading p{font-size:11px;color:var(--muted);margin-top:5px}.crm-heading .overline{font-size:8px}.crm-stages{display:flex;align-items:center;gap:14px;margin-top:25px}.crm-stages>div{flex:1;min-width:0}.crm-stages>div>span{font-size:9px;color:#6b9592}.crm-stages h3{font-size:12px;font-weight:550;margin:4px 0}.crm-stages strong{font-size:27px;font-weight:400;color:#768e90;display:block}.crm-stages p{font-size:9px;color:var(--muted)}.crm-stages>b{color:#a8bdbc;font-size:18px;font-weight:400;padding-right:15px}.crm-note{margin-top:22px;border-top:1px solid #dae5e3;padding-top:12px;display:flex;align-items:center;gap:7px;font-size:9px;color:#6b8185}.crm-note .icon{width:12px;height:12px;flex:none}.footer{display:flex;justify-content:space-between;padding:9px 0 13px;font-size:9px;color:#799094}.footer b{padding:0 10px;font-weight:400;color:#b4c1c4}dialog{width:min(640px,calc(100vw - 32px));max-height:85vh;border:1px solid #d7e5e1;border-radius:18px;padding:25px;box-shadow:0 24px 100px #0025263b;color:var(--ink)}dialog::backdrop{background:#072e3b80;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}dialog h2{font-size:23px;overflow-wrap:anywhere;line-height:1.3}#dialogBody{margin-top:18px;font-size:13px;color:#536f76;line-height:1.8}#dialogBody p{margin-bottom:14px}#dialogBody h3{font-size:14px;color:var(--ink);margin:18px 0 5px}#dialogBody table{white-space:normal}#dialogBody td,#dialogBody th{padding:10px;font-size:11px}#dialogBody li{margin-bottom:8px}.detail-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:15px 0}.detail-stats div{padding:12px;background:#eff5f3;border-radius:8px;font-size:11px}.detail-stats strong{display:block;font-size:20px;color:var(--ink)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#123f43;color:white;padding:12px 20px;border-radius:10px;font-size:12px;box-shadow:0 6px 25px #123f4330;z-index:100;pointer-events:none;opacity:0;transition:opacity .15s}.toast.visible{opacity:1}.no-data{display:grid;place-items:center;min-height:210px;color:var(--muted);font-size:12px;text-align:center;padding:25px}
@media(min-width:1600px){main{padding:38px 48px}.topbar{padding-inline:48px}.kpi-value{font-size:30px}.kpi{padding:20px}.trend svg{height:255px}.trend{min-height:255px}.donut-wrap{width:205px;height:205px}}
@media(max-width:1250px){.sidebar{width:205px;padding-inline:14px}.app{margin-left:205px}main{padding:26px 24px}.topbar{padding-inline:24px}.workspace{font-size:9px}.brand{font-size:22px}.brand small{font-size:7px}.filters{gap:8px;padding-inline:12px;flex-wrap:wrap}.filter-more{font-size:10px}.date-field{min-width:236px!important}.kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi{min-height:120px}.kpi-value{font-size:28px}.charts-row{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.panel-heading{padding-inline:18px}.chart-headline{margin-inline:18px}.legend{margin-left:0}.crm-stages{gap:8px}.crm-stages>b{padding:0}.crm-stages p{font-size:8px}.connection-strip{gap:12px}.connection-strip .pending{padding-left:10px}}
@media(max-width:1000px){.sidebar{width:78px;padding:25px 12px}.brand{padding:0;justify-content:center}.brand>span:not(.brandmark),.workspace,.nav-label,.side-bottom{display:none}.nav-item{font-size:0;justify-content:center;padding:12px;margin-top:12px}.nav-item .icon{width:22px;height:22px}.nav-item .nav-arrow{display:none}.sidebar nav{margin-top:36px}.app{margin-left:78px}.charts-row{grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr)}.heading p{max-width:400px}.filters label{min-width:150px}.filter-more{margin-left:0}.crm-stages h3{font-size:11px}.crm-heading .button{font-size:10px}.legend{font-size:8px}.trend{padding-inline:8px}.mix-legend{padding-inline:18px}.connection-strip button{margin-left:0}.chart-caption{margin-inline:18px}.chart-select select{max-width:110px}.panel-heading h2{font-size:16px}}
@media(max-width:760px){.charts-row{grid-template-columns:1fr}.mix-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center}.mix-panel .panel-heading{grid-column:1/-1;padding-bottom:5px}.donut-wrap{margin:8px auto 18px}.mix-legend{padding-top:6px}.crm-stages{flex-wrap:wrap;gap:16px}.crm-stages>div{flex:1 1 25%;min-width:100px}.crm-stages>b{display:none}.crm-heading{align-items:flex-start}.crm-heading .button{white-space:normal;max-width:135px;height:auto;padding:10px}.heading p{max-width:290px}.breadcrumb span{padding:0 7px}.real-badge{font-size:9px}.top-right{gap:8px}.topbar{height:60px}.selection-line{min-height:43px;font-size:8px}.advanced{flex-wrap:wrap}.advanced p{max-width:none}.kpi-label{font-size:9px}.table-toolbar{padding-inline:18px}.search{max-width:180px}h1{font-size:29px}}
@media(max-width:540px){.sidebar{position:sticky;top:0;width:100%;height:62px;flex-direction:row;padding:8px 12px;align-items:center;gap:18px}.brandmark{width:31px;height:31px;font-size:28px;border-radius:9px}.sidebar nav{display:flex;margin:0;gap:5px;flex:1;justify-content:flex-end}.nav-item{width:auto;margin:0;min-height:42px;height:42px;padding:8px 12px;font-size:0;border-radius:8px}.nav-item.active{font-size:10px;gap:6px}.nav-item .icon{width:17px;height:17px}.nav-item .service-symbol{font-size:16px;width:18px}.nav-item .service-symbol.vk{font-size:13px}.app{margin:0}.topbar{padding:0 17px;height:47px}.breadcrumb{font-size:9px}.breadcrumb strong{display:none}.breadcrumb span:last-of-type{display:none}.top-right .icon-button{display:none}.top-right{gap:0}.real-badge{font-size:8px}main{padding:24px 16px 8px}.heading{align-items:flex-start;gap:10px;margin-bottom:19px}.eyebrow{font-size:8px;letter-spacing:1.2px}.heading h1{font-size:28px}.heading p{font-size:11px;max-width:250px;margin-top:8px}.export-button{font-size:0;width:38px;height:38px;padding:0;margin-top:24px}.export-button .icon{width:18px;height:18px}.connection-strip{gap:9px 13px;font-size:9px;margin-bottom:17px}.connection-strip .pending{padding-left:0;border:0}.connection-strip button{font-size:9px}.filters{padding:12px;gap:10px}.filters label{flex:1 1 40%;min-width:115px}.date-field{flex:1 1 100%!important;min-width:0!important;border-bottom:1px solid var(--line);padding-bottom:8px}.date-field div{gap:9px}.date-field input{width:130px;font-size:12px;height:30px}.filters select{font-size:11px;height:32px}.filter-more{width:calc(100% - 45px);font-size:11px;margin-top:0}.reset{width:32px}.selection-line{align-items:flex-start;flex-direction:column;justify-content:center;gap:2px;min-height:45px;font-size:9px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:17px}.kpi{min-height:120px;padding:14px 13px}.kpi-label{font-size:10px}.kpi-value{font-size:25px;margin-top:13px}.kpi-foot{font-size:9px}.panel-heading{padding:19px 16px 0;gap:9px}.chart-headline{margin:14px 16px 0}.chart-headline>strong{font-size:27px}.chart-headline .legend{width:100%;gap:13px;font-size:8px}.trend svg{height:190px}.trend{min-height:190px;padding-inline:8px}.chart-caption{font-size:8px;margin-inline:16px}.text-button{font-size:9px}.mix-panel{grid-template-columns:46% 54%}.donut-wrap{width:145px;height:145px;margin:12px auto 18px}.donut-center strong{font-size:24px}.mix-legend{padding:8px 16px 15px 0;gap:7px}.mix-legend button{font-size:9px;gap:5px}.mix-legend .legend-value{display:none}.mix-legend strong{font-size:10px}.insight{padding:12px;align-items:flex-start;gap:10px;margin:15px 0 20px}.insight .insight-tag{display:none}.insight p{font-size:10px}.insight strong{font-size:11px}.data-panel .panel-heading{flex-wrap:wrap;padding-bottom:12px}.search{max-width:none;width:100%;padding:9px 11px}.search input{font-size:12px}.table-toolbar{padding:0 12px 12px;gap:6px}.segments button{font-size:9px;padding:7px 8px}.table-toolbar>span{font-size:8px}.table-footer{padding:12px 16px;font-size:8px}th:first-child,td:first-child{padding-left:16px}.crm-section{padding:18px 16px;margin-top:20px}.crm-heading{flex-direction:column;gap:12px}.crm-heading h2{font-size:17px}.crm-heading .button{max-width:none;padding:8px 11px;font-size:10px}.crm-stages{gap:18px 15px;margin-top:20px}.crm-stages>div{flex:1 1 38%;min-width:90px}.crm-stages h3{font-size:12px}.crm-stages p{font-size:9px}.crm-note{align-items:flex-start;font-size:9px}.crm-note .icon{margin-top:2px}.footer{flex-direction:column;gap:4px;font-size:8px}.advanced{gap:12px}.advanced label{max-width:none;width:100%}.advanced p{font-size:10px}.toast{width:calc(100% - 32px);text-align:center;font-size:11px;bottom:16px}dialog{padding:20px}dialog h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.filters,.advanced,.export-button,.search,.crm-heading button,.table-footer button,.connection-strip button,.text-button,.footer{display:none!important}.app{margin:0}main{padding:0}.panel,.kpi,.crm-section{break-inside:avoid}.table-scroll{overflow:visible}body{font-size:11px;background:white}.kpis{grid-template-columns:repeat(3,1fr)}.charts-row{grid-template-columns:1.7fr 1fr}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* Readability pass: subdued text remains legible on tinted surfaces. */
:root{--muted:#526970}
.eyebrow,.eyebrow span,.connection-strip .pending,.connection-strip button,.selection-line,.footer,.crm-note,.crm-stages p,.crm-stages>div>span{color:#506970}
.kpi-foot,.neutral-delta,.segments button,th,.table-toolbar>span{color:#506970}
.primary .kpi-foot,.primary .neutral-delta{color:#c2e5df}.primary .delta{color:#8ef4ce}
.heading p{font-size:13px}.breadcrumb,.connection-strip,.connection-strip button{font-size:11px}
.filters label,.advanced label{font-size:11px}.filters select,.advanced select,.date-field input{font-size:12px}
.kpi-label{font-size:11px}.kpi-foot{font-size:10px}.selection-line{font-size:10px}
.table-scroll td,.row-open,.search input{font-size:12px!important}th,.segments button{font-size:11px}
.mix-legend button{font-size:11px}.mix-legend .legend-value{font-size:10px}.mix-legend button{min-height:26px}
.insight strong{font-size:12px}.insight p{font-size:11px}.table-footer{font-size:10px}
.crm-stages p,.crm-note,.footer{font-size:10px}.crm-stages>div>span{font-size:10px}
@media(max-width:540px){.connection-strip,.connection-strip button{font-size:10px}.filters select,.date-field input{font-size:12px}.kpi-label{font-size:11px}.kpi-foot{font-size:10px}.selection-line{font-size:10px}.mix-legend button{font-size:10px}.mix-legend strong{font-size:10px}.table-scroll td,.row-open{font-size:12px!important}.crm-stages p,.crm-note{font-size:10px}.segments button{font-size:10px}.date-field input{width:128px}.crm-note{color:#465f65}}
.nav-item{transition:none}
/* Explicit controls and expandable report rows. */
.filters{display:grid;grid-template-columns:280px repeat(2,minmax(160px,1fr));align-items:end;gap:14px;padding:18px}.filters label{min-width:0;gap:7px;font-weight:550}.filters select,.advanced select,.date-field input{height:42px;border:1px solid #b9ccce;background:#fff;border-radius:8px;padding:8px;color:#16343c;font-size:13px}.filters select{padding-right:24px}.date-field{margin:0;padding:0;border:0;min-width:0!important}.date-field legend{padding:0;margin-bottom:7px;font-size:11px;color:#526970;font-weight:550}.date-field div{gap:8px}.date-field label{position:relative;flex:1;font-size:10px;gap:2px}.date-field input{width:100%;font-size:12px}.filter-more{margin:0;width:auto;height:42px}.reset{display:flex;gap:8px;width:auto;height:42px;justify-content:center;border:1px solid #d5e0e1;border-radius:8px;font-size:12px;color:#526970}.table-actions{display:flex;align-items:center;gap:16px;font-size:11px;color:#526970}.tree-toggle{display:flex;align-items:center;gap:10px;border:0;background:none;min-height:40px;padding:0;text-align:left;font:inherit;font-weight:600}.tree-chevron{width:20px;flex:none;font-size:23px;color:#08766c}.tree-count{font-size:10px;background:#e2ede9;padding:2px 7px;border-radius:5px;color:#365f56}.tree-title{white-space:normal;min-width:160px}.tree-parent{background:#f8fbfa}.tree-child td:first-child{padding-left:46px}.tree-branch{color:#597b75}.network-badges{display:flex;gap:4px;flex:none}.network-badge{display:inline-flex;align-items:center;justify-content:center;min-width:46px;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:650;white-space:nowrap;background:#edf1f3;color:#445e67}.network-rsya{background:#e1f2e9;color:#22644b}.network-search{background:#e6edfc;color:#325f9b}.campaign-detail td{text-align:left;background:#f5faf8;padding:20px 24px;white-space:normal}.campaign-detail table{margin-top:12px}.campaign-detail .text-button{font-size:12px}.row-open .source-name{color:#24434b}.campaign-toggle{border:0;background:transparent;display:flex;gap:10px;align-items:center;text-align:left;min-height:40px;font:inherit}.campaign-toggle .source-name{white-space:normal;min-width:140px}.campaign-detail caption{text-align:left;font-weight:600;padding:8px 0}
@media(max-width:1250px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.date-field{grid-column:1/-1;max-width:350px}.table-toolbar{flex-wrap:wrap}}
@media(max-width:540px){.filters{grid-template-columns:minmax(0,1fr);padding:14px}.date-field{max-width:none;padding:0}.filters label{min-width:0}.filters select{height:44px;font-size:13px}.filter-more,.reset{width:100%}.table-actions{width:100%;justify-content:space-between}.tree-child td:first-child{padding-left:30px}.tree-title{max-width:220px}.campaign-detail td{padding:14px}.table-toolbar{gap:10px}}

.crm-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.crm-formulas{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin-top:22px;font-size:11px;color:#48646a}.crm-stages h3{white-space:normal}@media(max-width:540px){.crm-stages{grid-template-columns:1fr 1fr}.crm-formulas{grid-template-columns:1fr}}

.series-legend{display:flex;gap:14px;flex-wrap:wrap;padding:6px 10px;font-size:11px}.series-legend span:first-child{color:#08796e}.series-legend span:nth-child(2){color:#955716}.series-legend span:nth-child(3){color:#386da9}.series-note{padding:0 10px 10px;font-size:10px;color:#526970}

.management-link{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:-5px 0 22px;padding:13px 16px;border:1px solid #c7ded5;border-radius:10px;background:#e5f2ec}.management-link a{font-size:13px;font-weight:600;color:#155b4c;text-decoration:none}.management-link a:hover{text-decoration:underline}.management-link>span{font-size:11px;color:#48685e}.management-link a:focus-visible{outline:3px solid #217ec5;outline-offset:4px}
/* Custom option panels are bounded by the visual viewport, including long names. */
.native-select{display:none!important}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;width:100%;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid #b9ccce;border-radius:8px;background:#fff;color:#16343c;text-align:left;font-size:13px;line-height:1.45;font-weight:500}.select-trigger:hover{background:#f5faf8}.select-trigger[aria-expanded=true]{border-color:#16816f;box-shadow:0 0 0 2px #16816f20}.select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.select-arrow{flex:none;font-size:18px;color:#436e65}.select-popup{position:fixed;z-index:150;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fff;color:#183a40;border:1px solid #a8c4bc;border-radius:10px;box-shadow:0 12px 35px #173e402b;padding:5px;max-width:calc(100vw - 20px)}.select-option{padding:11px 12px;border-radius:6px;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.4;cursor:pointer;min-height:42px}.select-option.highlighted,.select-option:hover{background:#e4f3ed;color:#124f42}.select-option[aria-selected=true]{font-weight:650}.select-option[aria-selected=true]::after{content:' ✓';color:#16735d}.select-option[aria-disabled=true]{color:#6b787b;cursor:not-allowed}.chart-select{min-width:0;max-width:170px}.chart-select .select-trigger{font-size:11px;padding:6px 10px;min-height:36px}.filters>*{min-width:0}.advanced label{min-width:0}@media(max-width:540px){.select-trigger{min-height:44px}.chart-select{max-width:140px}}@media print{.select-popup{display:none!important}}
#dataTable>thead>tr>th:first-child,#dataTable>tbody>tr:not(.campaign-detail)>td:first-child,#dataTable>tfoot>tr>td:first-child{position:sticky;left:0;z-index:2;background:#f8fbfa;box-shadow:1px 0 0 #dbe7e3;min-width:235px;max-width:340px}.table-footer{align-items:flex-start}.table-footer>span{max-width:850px;line-height:1.6}#dataTable>thead th{white-space:normal;min-width:115px}#dataTable>thead th:first-child{min-width:235px}@media(max-width:540px){#dataTable>thead>tr>th:first-child,#dataTable>tbody>tr:not(.campaign-detail)>td:first-child,#dataTable>tfoot>tr>td:first-child{min-width:175px;max-width:195px}.row-open .source-name{max-width:145px}.tree-title{min-width:110px;max-width:130px}.tree-count{display:none}.campaign-toggle .source-name{min-width:90px;max-width:120px}.campaign-toggle{gap:5px}.campaign-toggle .network-badge{min-width:35px;padding:4px}.campaign-toggle .network-badges{flex-direction:column}#dataTable>thead th:first-child{min-width:195px}}
.heading>div{min-width:0}.heading .export-button{flex:0 0 auto;align-self:center;margin:0}.heading .export-button .icon{flex:none}.heading .export-button>span{display:flex;align-items:center;justify-content:center;flex:none}@media(max-width:540px){.heading .export-button{width:44px;height:44px;min-width:44px;padding:0;margin:0}.heading{gap:12px}.heading h1{overflow-wrap:anywhere}}
.mix-legend{min-width:0}.mix-legend button{width:100%;min-width:0}.mix-legend button>span:not(.legend-value){min-width:0;flex:1}.mix-legend strong{flex:none}.mix-legend i{flex:none}@media(max-width:540px){.mix-panel{grid-template-columns:minmax(0,46%) minmax(0,54%)}.donut-wrap{max-width:100%}}
.detail-inner{width:calc(100vw - 380px);max-width:1080px;min-width:250px}.detail-heading{display:flex;gap:15px;justify-content:space-between;align-items:center}.detail-note{font-size:11px;color:#48665e;line-height:1.6;margin:8px 0 14px}.detail-inner h3{font-size:13px;margin:16px 0 8px}.detail-table-scroll{overflow:auto;max-height:480px;border:1px solid #cdded7;border-radius:8px;background:white}.detail-table-scroll table{width:100%;white-space:nowrap}.detail-table-scroll th{position:sticky;top:0;z-index:1;background:#edf5f0;min-width:110px}.detail-table-scroll td{white-space:nowrap;text-align:right!important;padding:11px!important;background:white!important}.detail-table-scroll td:first-child{text-align:left!important;min-width:200px;max-width:280px;white-space:normal;overflow-wrap:anywhere}.ad-group{border:1px solid #cdded7;border-radius:8px;background:white;margin:10px 0;padding:0 12px}.ad-group summary{cursor:pointer;padding:13px 0;font-weight:600;font-size:12px}.ad-group summary small{display:block;color:#506d63;font-weight:400;margin-top:5px}.ad-group[open]{padding-bottom:12px}.ad-group .detail-table-scroll{border:0}@media(max-width:1000px){.detail-inner{width:calc(100vw - 190px)}}@media(max-width:540px){.detail-inner{width:calc(100vw - 68px);min-width:0}.detail-heading{align-items:flex-start;flex-direction:column;gap:5px}}
.source-filter-label{display:flex;flex-direction:column;gap:6px;font-size:12px;max-width:420px}.source-filter-label input{border:1px solid #b5cec3;border-radius:7px;padding:10px;width:100%;min-width:0;background:white}.source-filter-status{font-size:11px;color:#4d6a62;margin:8px 0}.seo-query summary{cursor:pointer;font-weight:600;white-space:normal;overflow-wrap:anywhere;min-height:30px}.seo-query p,.seo-query li{font-size:11px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.seo-query ul{padding-left:16px}.source-toggle{width:100%}.source-toggle .tree-count{margin-left:auto}.detail-table-scroll .seo-query{width:260px;max-width:260px}@media(max-width:540px){.source-toggle .tree-count{display:none}.detail-table-scroll .seo-query{width:200px;max-width:200px}}
/* Gustomesto pattern: one table, shared columns, indented child rows. */
#dataTable>tbody>.report-row>td{padding-top:8px;padding-bottom:8px}#dataTable>tbody>.report-row>td:first-child{padding-left:12px;min-width:330px;max-width:410px;background:#fff}.report-name{display:flex;align-items:center;gap:7px;padding-left:calc(var(--tree-level)*18px);min-height:34px}.branch-toggle{border:0;background:transparent;width:28px;min-width:28px;height:30px;padding:0;display:grid;place-items:center;color:#087569;border-radius:5px;font-size:24px}.branch-toggle:hover{background:#e4f2ec}.branch-toggle span{display:block}.branch-toggle[aria-expanded=true] span{transform:rotate(90deg)}.branch-spacer{width:28px;min-width:28px}.report-row-name{white-space:normal;overflow-wrap:anywhere;line-height:1.45;font-size:12px}.report-row.level-0 .report-row-name{font-weight:650}.report-row.level-0{background:#f6faf8}#dataTable>tbody>.report-row.level-0>td:first-child{background:#f6faf8}.report-row.level-2,.report-row.level-3{color:#496761}.row-note{border:0;background:transparent;color:#557269;width:26px;min-width:26px;height:28px;padding:0;font-size:15px}.kind-status{color:#536c66}#dataTable>thead>tr>th:first-child,#dataTable>tfoot>tr>td:first-child{min-width:330px;max-width:410px}.management-link>span{display:none}.management-link{background:transparent;border:0;padding:0;margin:-8px 0 20px}.table-footer>span{font-size:10px}@media(max-width:540px){#dataTable>tbody>.report-row>td:first-child,#dataTable>thead>tr>th:first-child,#dataTable>tfoot>tr>td:first-child{min-width:205px;max-width:235px}.report-name{padding-left:calc(var(--tree-level)*9px);gap:4px}.branch-toggle,.branch-spacer{width:24px;min-width:24px}.report-row-name{font-size:11px}.report-name .network-badge{min-width:32px;font-size:9px;padding:3px 4px}}

.crm-drill{color:inherit;text-decoration:underline;text-underline-offset:4px}.crm-drill:hover{color:#067b70}.crm-drill:focus-visible{outline:3px solid #1aa995;outline-offset:3px}

/* Report sections use a top navigation, never a sidebar. */
body>.app{margin-left:0!important}.report-tabs{position:relative;display:flex;flex-wrap:wrap;gap:6px;background:#fff;border-bottom:1px solid #d7e5e1;padding:12px 24px}.report-tabs .nav-item{width:auto;min-height:44px;margin:0;padding:10px 14px;display:inline-flex;gap:8px;font-size:13px;color:#25494e;text-decoration:none;border-radius:7px}.report-tabs .nav-item.active{background:#075d59;color:#fff}.report-tabs .nav-item:hover{background:#e3f2ee;color:#164c46}.report-tabs .nav-arrow{display:none}.report-tabs .service-symbol{font-size:16px}.report-tabs .icon{width:18px;height:18px}@media(max-width:600px){.report-tabs{padding:8px;gap:4px}.report-tabs .nav-item{font-size:12px;padding:8px}.report-tabs .nav-item>span{display:none}}@media print{.report-tabs{display:none}}

/* Preserve the original dark MIDIS identity in the horizontal navigation. */
.report-tabs{background:linear-gradient(110deg,#08504f,#07343e 60%,#092d3b);color:#e9f7f5;align-items:center;gap:7px}.report-tabs .report-brand{display:flex;flex:none;padding:5px 20px 5px 0;color:#e9f7f5;font-size:22px}.report-tabs .nav-item{color:#c4e1df}.report-tabs .nav-item.active{background:#52ddbb;color:#07383f}.report-tabs .nav-item:hover{background:#ffffff16;color:#fff}.report-tabs .nav-item.active:hover{background:#6be5c8;color:#07383f}@media(max-width:600px){.report-tabs .report-brand{padding:0 7px 0 0}.report-tabs .report-brand>span:not(.brandmark){display:none}.report-tabs .nav-item>span{display:inline-flex}.report-tabs .nav-item .nav-arrow{display:none}}

[hidden]{display:none!important} .report-tabs{overflow-x:auto;flex-wrap:wrap}.crm-drill{font-variant-numeric:tabular-nums;white-space:nowrap}.select-popup{z-index:10000}.report-row td{white-space:nowrap}
.contact-sales{margin-top:20px}.contact-sales-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 20px}.contact-sales-metrics .kpi{min-width:0}.contact-sales>.series-note{padding:0 20px;overflow-wrap:anywhere;line-height:1.6}.contact-sales-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:8px 20px 12px}.contact-sales>button{margin:0 20px 20px}.contact-sales .panel-heading h2{line-height:1.4}.contact-sales .kpi-value{overflow-wrap:anywhere}@media(max-width:540px){.contact-sales-metrics{grid-template-columns:1fr;padding:0 14px;gap:10px}.contact-sales>.series-note{padding:0 14px}.contact-sales-actions{padding:8px 14px 12px}.contact-sales .panel-heading{padding:16px 14px}}
