#branchesView.visitor-open .branches-head,#branchesView.visitor-open #branchOverview,#branchesView.visitor-open #branchGrid,#branchesView.visitor-open #competitorWorkspaceV80{display:none!important}
#visitorCounter{color:#202124}#visitorCounter[hidden]{display:none!important}#visitorCounter *{box-sizing:border-box}#visitorCounter h1{margin:0;font-size:28px}#visitorCounter h2{font-size:18px;margin:0 0 15px}#visitorCounter p{color:#697582;font-size:14px;line-height:1.5}#visitorCounter button,.vc-dialog button{border:1px solid #dce1e7;border-radius:9px;background:#fff;padding:10px 14px;cursor:pointer;color:#27313a}#visitorCounter button:disabled{opacity:.5;cursor:wait}#visitorCounter .vc-primary,.vc-dialog .vc-primary{background:#c9252d;color:#fff;border-color:#c9252d}.vc-head{display:flex;align-items:center;gap:12px;margin-bottom:20px}.vc-head>div{flex:1}.vc-panel{background:#fff;border:1px solid #e2e7ec;border-radius:16px;padding:22px;margin-bottom:16px}.vc-filters{display:flex;flex-wrap:wrap;align-items:end;gap:14px}.vc-periods{display:flex;gap:5px}#visitorCounter label,.vc-dialog label{display:grid;gap:6px;color:#697582;font-size:13px}#visitorCounter input,#visitorCounter select,.vc-dialog input,.vc-dialog select{padding:10px;border:1px solid #dce1e7;border-radius:8px;max-width:100%;background:#fff;color:#202124}.vc-filters select{max-width:270px!important}.vc-check{display:flex!important;align-items:center}.vc-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.vc-kpis b{font-size:34px;display:block;margin-bottom:12px}.vc-kpis span{color:#697582;font-size:13px}.vc-scroll{overflow:auto}#visitorCounter table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}#visitorCounter th,#visitorCounter td{padding:15px 12px;border-bottom:1px solid #e7ebef;white-space:nowrap}#visitorCounter td small{display:block;color:#697582;margin-top:6px}.vc-chart{display:flex;align-items:end;gap:8px;overflow:auto;min-height:200px;padding-top:15px}.vc-bar-group{flex:1;min-width:25px;text-align:center}.vc-bars{height:165px;display:flex;align-items:end;justify-content:center;gap:3px}.vc-bars i{display:block;min-width:5px;width:35%;max-width:24px;background:#2d9965;border-radius:3px 3px 0 0}.vc-bars i+i{background:#c6cbd2}.vc-bar-group small{font-size:10px;color:#697582}#visitorCounter summary{cursor:pointer;font-size:18px;font-weight:700}#vcConnection{display:flex;gap:10px;align-items:end;margin:18px 0}#vcConnection label{flex:1}#vcToken{width:100%;max-width:600px!important}#visitorCounter code{overflow-wrap:anywhere}.vc-dialog{width:min(560px,90vw);border:1px solid #e2e7ec;border-radius:16px;padding:25px}.vc-dialog::backdrop{background:#0007}.vc-dialog label{margin:14px 0}.vc-dialog label:has(input[type=checkbox]){display:flex;align-items:center}.vc-dialog [role=alert]{color:#c9252d}@media(max-width:850px){.vc-kpis{grid-template-columns:repeat(2,1fr)}.vc-head{flex-wrap:wrap}.vc-head>div{flex-basis:100%}.vc-panel{padding:15px}.vc-filters label{flex:1 1 140px}}

.vc-plot{display:block;min-width:960px;width:100%;height:290px}.vc-plot text{font:12px Arial,sans-serif;fill:#566575}.vc-plot .vc-value{font-size:11px;font-weight:700;fill:#27313a}.vc-legend{display:flex;gap:22px;flex-wrap:wrap;margin:18px 0;font-size:14px;color:#566575}.vc-legend span{display:flex;align-items:center;gap:7px}.vc-legend i{width:12px;height:12px;border-radius:3px;background:#2d9965}.vc-legend span:nth-child(2) i{background:#8493a5}.vc-no-events{padding:12px 16px;background:#f4f6f9;border-radius:8px}.vc-exact{margin-top:18px}.vc-exact summary{font-size:15px!important;margin-bottom:12px}#visitorCounter .vc-exact tbody tr:nth-child(even){background:#f7f9fb}#visitorCounter .vc-exact th{background:#f0f3f7;position:sticky;top:0}#visitorCounter .vc-exact td{font-variant-numeric:tabular-nums}#visitorCounter .vc-exact .vc-scroll{max-height:380px}
#visitorCounter [hidden]{display:none!important}

/* Strict branch workspace visibility. The active tab is the only source of truth. */
#branchesView>#branchWorkspaceV07,#branchesView>#competitorWorkspaceV80,#branchesView>#visitorCounter{display:none!important}
#branchesView[data-branch-tab="branches"]>#branchWorkspaceV07,#branchesView[data-branch-tab="competitors"]>#competitorWorkspaceV80,#branchesView[data-branch-tab="visitors"]>#visitorCounter{display:block!important}
#branchesView[data-branch-tab="visitors"]>:not(#branchTabsV80):not(#visitorCounter),#branchesView[data-branch-tab="competitors"]>:not(#branchTabsV80):not(#competitorWorkspaceV80),#branchesView[data-branch-tab="branches"]>:not(#branchTabsV80):not(#branchWorkspaceV07){display:none!important}

.vc-crm-branches{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;max-height:300px;overflow:auto;padding:10px 0}#vcCrmForm>label{margin:12px 0}#vcCrmForm>button{margin:8px 8px 0 0}#vcCrmForm h3{margin-top:24px}

#vcCrmForm{min-width:0;overflow-wrap:anywhere}#vcCrmForm .vc-crm-branches{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));max-height:420px}#vcCrmForm select{max-width:100%;min-width:0;width:100%}#vcCrmCats label{display:flex;flex-direction:column;gap:6px;margin:12px 0}#vcCrmCats small{color:#667085}#vcCrmForm .vc-crm-branches label{min-width:0}
