:root{--bg:#f5f7fb;--panel:#fff;--ink:#101828;--muted:#667085;--line:#e7eaf0;--accent:#6c5ce7;--accent2:#4f46e5;--green:#16a368;--green-bg:#eaf8f1;--yellow:#b7791f;--yellow-bg:#fff7e6;--red:#d14343;--red-bg:#fff0f0;--orange:#dd6b20;--blue:#2474e5;--nav:#0d1324;--nav2:#151c31;--shadow:0 10px 30px rgba(16,24,40,.06)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:linear-gradient(180deg,#0b1020,#11182b);color:#fff;padding:24px 16px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 28px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#806df6,#5543d8);font-weight:900;font-size:19px;box-shadow:0 8px 25px #6c5ce74d}.brand div{display:grid;line-height:1.05}.brand b{letter-spacing:.08em}.brand span:not(.brand-mark){font-size:12px;color:#98a2b3;margin-top:4px}.workspace-label{font-size:10px;color:#667085;letter-spacing:.1em;padding:0 10px 10px}.project-switcher{width:100%;border:1px solid #27304a;background:#151c31;color:#fff;border-radius:12px;padding:10px;display:grid;grid-template-columns:34px 1fr 16px;gap:10px;align-items:center;text-align:left;cursor:pointer}.project-switcher:hover{border-color:#3c486b}.project-avatar{width:34px;height:34px;border-radius:9px;background:#29224b;color:#cfc8ff;display:grid;place-items:center;font-weight:800}.project-switcher b,.project-switcher small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-switcher b{font-size:13px}.project-switcher small{color:#8d99ae;margin-top:3px;font-size:11px}.chev{color:#7f8aa4}.nav{margin-top:20px;display:grid;gap:5px}.nav button{border:0;background:transparent;color:#8f9bb4;border-radius:9px;padding:10px 11px;text-align:left;display:flex;gap:11px;align-items:center;cursor:pointer;font-size:13px}.nav button span{width:20px;text-align:center}.nav button:hover{color:#fff;background:#ffffff0a}.nav button.active{background:#6c5ce721;color:#d8d3ff}.sidebar-bottom{margin-top:auto;display:grid;gap:12px}.connection{border-top:1px solid #222b42;padding:16px 8px 0;display:flex;gap:10px;align-items:center}.connection .dot{width:9px;height:9px;border-radius:50%;background:#ffbe5c;box-shadow:0 0 0 4px #ffbe5c18}.connection .dot.live{background:#3bd591;box-shadow:0 0 0 4px #3bd59118}.connection b,.connection small{display:block}.connection b{font-size:12px}.connection small{font-size:10px;color:#7d899f;margin-top:3px}.main{grid-column:2;min-width:0}.topbar{height:88px;background:#ffffffde;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:16px 30px;position:sticky;top:0;z-index:4}.topbar h1{font-size:21px;margin:3px 0 0}.eyebrow{font-size:10px;color:#8a94a6;letter-spacing:.11em;font-weight:700}.top-actions{display:flex;gap:9px;align-items:center}.date-control{height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;align-items:center;padding:0 10px;gap:7px;color:#98a2b3;font-size:11px}.date-control input{border:0;outline:0;background:transparent;color:#344054;font-size:12px;width:118px}.date-dash{color:#d0d5dd}.secondary-btn,.ghost-btn,.primary-btn,.icon-btn,.text-btn{border:0;cursor:pointer;border-radius:10px;font-weight:650}.secondary-btn{height:42px;padding:0 14px;background:#fff;border:1px solid var(--line);color:#344054}.secondary-btn:hover{border-color:#cfd4dc}.icon-btn{width:42px;height:42px;background:#fff;border:1px solid var(--line);font-size:18px}.ghost-btn{background:#ffffff0a;color:#b8c1d2;border:1px solid #2a344d;padding:10px 13px}.ghost-btn:hover{background:#ffffff10}.primary-btn{background:linear-gradient(135deg,#6c5ce7,#5145cd);color:#fff;padding:11px 15px;box-shadow:0 8px 22px #6c5ce72b}.primary-btn:hover{filter:brightness(1.05)}.large{padding:14px 18px}.full{width:100%}.text-btn{background:transparent;color:#667085;padding:11px}.content{padding:26px 30px 50px;max-width:1580px;margin:0 auto}.grid{display:grid;gap:16px}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{display:grid;grid-template-columns:360px 1fr;gap:16px}.card{background:var(--panel);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.card.pad{padding:20px}.score-card{padding:22px;display:grid;grid-template-columns:138px 1fr;gap:20px;align-items:center}.score-ring{width:136px;height:136px;position:relative}.score-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.score-ring circle{fill:none;stroke-width:9}.score-ring .base{stroke:#eef0f5}.score-ring .progress{stroke:#6c5ce7;stroke-linecap:round;transition:stroke-dashoffset .6s}.score-value{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.score-value b{font-size:35px;letter-spacing:-.05em}.score-value small{font-size:10px;color:#98a2b3;margin-top:2px}.score-details h3{margin:0 0 7px;font-size:16px}.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700}.status-pill.green{color:#087a4f;background:var(--green-bg)}.status-pill.yellow{color:#8b6218;background:var(--yellow-bg)}.status-pill.red{color:#ad3535;background:var(--red-bg)}.score-change{margin-top:13px;font-size:12px;color:#475467}.score-change b{color:var(--green)}.confidence{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.confidence-line{display:flex;justify-content:space-between;font-size:11px;color:#667085}.meter{height:5px;background:#edf0f4;border-radius:99px;overflow:hidden;margin-top:7px}.meter i{height:100%;display:block;background:#4f8ee8;border-radius:99px}.summary-card{padding:22px;display:flex;flex-direction:column;justify-content:space-between}.summary-header{display:flex;justify-content:space-between;align-items:center}.mode-pill{font-size:10px;padding:5px 8px;background:#eef2ff;color:#4d4ac6;border-radius:999px;font-weight:700}.summary-card h2{font-size:24px;line-height:1.25;margin:18px 0 9px;max-width:750px;letter-spacing:-.02em}.summary-card p{color:#667085;font-size:13px;line-height:1.65;margin:0;max-width:850px}.summary-footer{display:flex;gap:16px;margin-top:18px;font-size:11px;color:#667085}.summary-footer b{color:#344054}.kpi-card{padding:16px 17px}.kpi-top{display:flex;justify-content:space-between;align-items:center}.kpi-label{font-size:11px;color:#667085}.kpi-icon{width:28px;height:28px;border-radius:8px;background:#f5f3ff;color:#6c5ce7;display:grid;place-items:center;font-size:12px}.kpi-value{font-size:25px;font-weight:760;margin:14px 0 7px;letter-spacing:-.04em}.delta{font-size:11px;font-weight:700}.delta.up{color:var(--green)}.delta.down{color:var(--red)}.delta.neutral{color:#667085}.delta span{color:#98a2b3;font-weight:500;margin-left:5px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin:26px 0 12px}.section-head h2{font-size:16px;margin:0}.section-head p{margin:4px 0 0;color:#98a2b3;font-size:11px}.section-head .right{font-size:11px;color:#98a2b3}.chart-card{padding:20px}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.legend{display:flex;gap:14px;font-size:11px;color:#667085}.legend span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#6c5ce7}.legend span:nth-child(2):before{background:#8fc3f5}.legend span:nth-child(3):before{background:#43b77b}.line-chart{width:100%;height:260px;display:block}.chart-gridline{stroke:#edf0f4;stroke-width:1}.chart-label{fill:#98a2b3;font-size:9px}.chart-area{fill:url(#areaGrad)}.chart-line{fill:none;stroke:#6c5ce7;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.chart-line.second{stroke:#86b9ed;stroke-width:2}.chart-point{fill:#fff;stroke:#6c5ce7;stroke-width:2}.insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.insight{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.insight-top{display:flex;align-items:center;justify-content:space-between}.insight-type{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.insight.red .insight-type{color:var(--red)}.insight.yellow .insight-type{color:var(--yellow)}.insight.green .insight-type{color:var(--green)}.insight-score{font-size:10px;color:#98a2b3}.insight h3{font-size:13px;margin:12px 0 6px}.insight p{font-size:11px;color:#667085;line-height:1.5;margin:0}.insight .action{font-size:11px;font-weight:700;color:#4f46e5;margin-top:12px}.table-card{overflow:hidden}.data-table{width:100%;border-collapse:collapse}.data-table th{font-size:10px;color:#98a2b3;text-align:left;font-weight:700;padding:11px 15px;border-bottom:1px solid var(--line);background:#fafbfc}.data-table td{font-size:12px;padding:13px 15px;border-bottom:1px solid #f0f2f5}.data-table tr:last-child td{border-bottom:0}.data-table .num{text-align:right;font-variant-numeric:tabular-nums}.data-table th.num{text-align:right}.name-cell{display:flex;align-items:center;gap:9px}.source-dot{width:8px;height:8px;border-radius:3px;background:#6c5ce7}.bar-cell{display:flex;align-items:center;gap:8px}.mini-bar{height:5px;width:80px;background:#eef0f3;border-radius:99px;overflow:hidden}.mini-bar i{display:block;height:100%;background:#6c5ce7;border-radius:99px}.split-card{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.donut-wrap{display:flex;gap:22px;align-items:center}.donut{width:142px;height:142px;border-radius:50%;position:relative}.donut:after{content:"";position:absolute;inset:24px;background:#fff;border-radius:50%}.donut-center{position:absolute;inset:0;z-index:1;display:grid;place-content:center;text-align:center}.donut-center b{font-size:20px}.donut-center small{font-size:9px;color:#98a2b3}.donut-legend{display:grid;gap:11px;flex:1}.donut-row{display:grid;grid-template-columns:9px 1fr auto;gap:8px;align-items:center;font-size:11px}.donut-row i{width:7px;height:7px;border-radius:50%;background:var(--c)}.donut-row span{color:#667085}.horizontal-bars{display:grid;gap:12px}.hbar-row{display:grid;grid-template-columns:82px 1fr 44px;gap:10px;align-items:center;font-size:11px}.hbar-row span:first-child{color:#667085}.hbar-track{height:8px;background:#f0f2f5;border-radius:99px;overflow:hidden}.hbar-track i{display:block;height:100%;background:#6c5ce7;border-radius:99px}.hbar-value{text-align:right;font-weight:700}.score-breakdown{display:grid;gap:11px}.score-row{display:grid;grid-template-columns:145px 1fr 38px;align-items:center;gap:12px;font-size:11px}.score-row span{color:#667085}.score-row b{text-align:right}.quality-list{display:grid;gap:8px}.quality-item{display:flex;gap:10px;padding:11px;border-radius:10px;background:#fafbfc;border:1px solid #f0f2f5}.quality-item .qicon{font-weight:800}.quality-item.good .qicon{color:var(--green)}.quality-item.warn .qicon{color:var(--yellow)}.quality-item.bad .qicon{color:var(--red)}.quality-item b,.quality-item small{display:block}.quality-item b{font-size:11px}.quality-item small{font-size:10px;color:#98a2b3;margin-top:3px}.empty{padding:50px 20px;text-align:center;color:#98a2b3}.empty b{display:block;color:#344054;margin-bottom:6px}.loading{padding:70px 20px;text-align:center;color:#667085}.spinner{width:32px;height:32px;border:3px solid #e8eaf0;border-top-color:#6c5ce7;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 14px}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;background:#0b1020a8;backdrop-filter:blur(5px);z-index:20;display:grid;place-items:center;padding:20px}.modal-backdrop.hidden{display:none}.modal{width:min(460px,100%);background:#fff;border-radius:20px;padding:28px;box-shadow:0 30px 80px #0003;position:relative}.modal.wide{width:min(620px,100%)}.modal-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:25px;color:#98a2b3;cursor:pointer}.modal-icon{width:48px;height:48px;border-radius:14px;background:#ffdd2d;color:#111;display:grid;place-items:center;font-size:22px;font-weight:900;margin-bottom:16px}.modal h2{margin:6px 0 9px;font-size:24px}.modal p{font-size:12px;line-height:1.65;color:#667085;margin:0 0 18px}.modal code{font-size:11px;background:#f4f5f7;padding:2px 5px;border-radius:5px}.permission-box{border:1px solid var(--line);background:#fafbfc;border-radius:12px;padding:13px;display:flex;gap:11px;margin:17px 0}.permission-box>span{color:var(--green);font-weight:800}.permission-box b,.permission-box small{display:block}.permission-box b{font-size:12px}.permission-box small{font-size:10px;color:#667085;margin-top:3px;line-height:1.5}.counter-list{display:grid;gap:9px;max-height:430px;overflow:auto}.counter-item{border:1px solid var(--line);border-radius:12px;padding:13px;display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center;cursor:pointer;background:#fff}.counter-item:hover{border-color:#bdb6ff;background:#fbfaff}.counter-item .ca{width:38px;height:38px;border-radius:10px;background:#f3f0ff;color:#6251db;display:grid;place-items:center;font-weight:800}.counter-item b,.counter-item small{display:block}.counter-item b{font-size:12px}.counter-item small{font-size:10px;color:#98a2b3;margin-top:3px}.counter-item .perm{font-size:10px;color:#667085;background:#f4f5f7;padding:4px 7px;border-radius:99px}.toast-wrap{position:fixed;right:20px;bottom:20px;z-index:40;display:grid;gap:8px}.toast{background:#111827;color:#fff;border-radius:10px;padding:11px 14px;font-size:11px;box-shadow:0 12px 30px #0003;animation:toastin .2s ease}.toast.bad{background:#b13b3b}@keyframes toastin{from{opacity:0;transform:translateY(8px)}}
@media(max-width:1180px){.grid.cols-4{grid-template-columns:repeat(2,1fr)}.hero-grid{grid-template-columns:1fr}.score-card{grid-template-columns:138px 1fr}.insight-grid{grid-template-columns:1fr}.split-card{grid-template-columns:1fr}.top-actions .date-control{display:none}}
@media(max-width:780px){.app-shell{display:block}.sidebar{position:static;width:auto;height:auto;padding:14px}.brand{padding-bottom:12px}.workspace-label,.project-switcher,.nav,.sidebar-bottom{display:none}.main{display:block}.topbar{height:auto;padding:14px 16px}.topbar h1{font-size:18px}.content{padding:16px}.grid.cols-4,.grid.cols-3,.grid.cols-2{grid-template-columns:1fr}.score-card{grid-template-columns:1fr;text-align:center}.score-ring{margin:auto}.summary-footer{flex-wrap:wrap}.donut-wrap{flex-direction:column}.data-table{min-width:680px}.table-card{overflow:auto}}

/* ===== AXIOMA Analytics v2: Metrica-like report controls and rich overview ===== */
.brand-mark.image{padding:0;overflow:hidden;background:#071331}.brand-mark.image img{width:100%;height:100%;display:block;object-fit:cover}.report-controls{position:sticky;top:88px;z-index:3;background:#f7f8fbf2;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:10px 30px 11px}.controls-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.controls-row+.controls-row{margin-top:8px}.preset-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.control-chip,.segment-chip,.inline-segment,.mini-link{border:1px solid #e2e6ed;background:#fff;color:#344054;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:650;cursor:pointer}.control-chip:hover,.segment-chip:hover,.inline-segment:hover{border-color:#bfc6d4;background:#fafbff}.control-chip.active,.segment-chip.active{border-color:#8b7cf6;background:#f1efff;color:#5848cf;box-shadow:0 0 0 1px #8b7cf61c}.control-select{display:flex;align-items:center;gap:8px;border:1px solid #e2e6ed;background:#fff;border-radius:9px;padding:0 9px;height:34px;font-size:10px;color:#7d8799}.control-select select{border:0;background:transparent;outline:0;color:#222b3c;font-size:11px;font-weight:650;max-width:250px}.sample-badge{margin-left:auto;font-size:10px;font-weight:750;color:#5a4bcf;background:#f0edff;border:1px solid #ded8ff;border-radius:999px;padding:6px 9px}.controls-label{font-size:10px;color:#8a94a6;text-transform:uppercase;letter-spacing:.09em;font-weight:750}.controls-divider{width:1px;height:22px;background:#dfe3ea}.active-segment{font-size:10px;color:#5a4bcf;background:#f0edff;border-radius:999px;padding:6px 9px;font-weight:700}.content{padding-top:20px}.api-warning{padding:12px 16px;margin-bottom:14px;border-color:#f4c7c7;background:#fff8f8}.api-warning b{color:#b42318;font-size:12px}.api-warning div{font-size:10px;color:#667085;margin-top:5px;line-height:1.45}.metrica-card{overflow:hidden}.metric-strip{display:grid;grid-template-columns:repeat(8,minmax(105px,1fr));border-bottom:1px solid var(--line)}.metric-tile{appearance:none;border:0;border-right:1px solid #eef0f4;background:#fff;padding:15px 14px 13px;text-align:left;cursor:pointer;min-width:0}.metric-tile:last-child{border-right:0}.metric-tile:hover{background:#fafaff}.metric-tile.active{box-shadow:inset 0 -3px 0 #6c5ce7;background:#fbfaff}.metric-tile span{display:block;color:#7a8497;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-tile b{display:block;font-size:25px;letter-spacing:-.04em;margin:10px 0 4px;white-space:nowrap}.metric-tile small{font-size:10px;font-weight:750}.metric-tile small.up{color:var(--green)}.metric-tile small.down{color:var(--red)}.metric-tile small.neutral{color:#98a2b3}.chart-head{display:flex;justify-content:space-between;align-items:center;padding:15px 20px 0}.chart-head>div:first-child{display:flex;gap:10px;align-items:baseline}.chart-head b{font-size:13px}.chart-head span{font-size:10px;color:#98a2b3}.chart-legend{display:flex;gap:14px;font-size:10px;color:#667085}.chart-legend span:before{content:"";display:inline-block;width:16px;height:2px;margin-right:6px;vertical-align:middle;background:#6c5ce7}.chart-legend .previous-line:before{background:#aab2c2;border-top:1px dashed #8d96a8;height:0}.large-chart{height:310px;padding:0 10px 2px}.chart-line.previous{stroke:#9aa4b5;stroke-width:2;stroke-dasharray:7 7;opacity:.85}.overview-panels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.overview-panel{min-height:250px}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.panel-head h3{font-size:14px;margin:4px 0 0}.mini-link{padding:5px 7px;border:0;background:#f5f3ff;color:#5d4ed1}.mini-goals{display:grid;gap:4px}.mini-goals button{border:0;background:#fafbfc;border-radius:9px;padding:9px 10px;display:grid;grid-template-columns:1fr auto auto;gap:8px;text-align:left;cursor:pointer;align-items:center}.mini-goals button:hover{background:#f3f1ff}.mini-goals span{font-size:10px;color:#475467;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-goals b{font-size:11px}.mini-goals small{font-size:9px;color:#7a8497}.overview-lists{margin-top:2px}.section-head.compact{margin-top:18px}.source-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.source-share-card{padding:15px}.source-share-card span{display:block;font-size:10px;color:#667085}.source-share-card b{display:block;font-size:25px;margin:11px 0 5px;letter-spacing:-.04em}.source-share-card small{font-size:9px;color:#98a2b3;line-height:1.35}.source-splits{align-items:start}.goal-selector-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.goal-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:13px;text-align:left;cursor:pointer}.goal-card:hover{border-color:#bfc6d4}.goal-card.active{border-color:#7d6ff0;background:#f8f6ff;box-shadow:0 0 0 1px #7d6ff022}.goal-card span,.goal-card b,.goal-card small{display:block}.goal-card span{font-size:10px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goal-card b{font-size:22px;margin:10px 0 4px}.goal-card small{font-size:9px;color:#8a94a6}.inline-presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px;padding-top:13px;border-top:1px solid #f0f2f5}.inline-segment{font-size:9px;padding:5px 7px}.table-scroll{overflow:auto}.data-table{min-width:720px}.empty-cell{text-align:center!important;color:#98a2b3!important;padding:28px!important}.empty.small{padding:20px 8px}.muted-copy{font-size:11px;color:#667085;line-height:1.5}.horizontal-bars .hbar-row{grid-template-columns:minmax(90px,135px) 1fr 48px}.hbar-row span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-card .data-table th{position:sticky;top:0;z-index:1}.summary-footer{flex-wrap:wrap}.main{overflow:visible}
@media(max-width:1400px){.metric-strip{grid-template-columns:repeat(4,1fr)}.metric-tile:nth-child(4){border-right:0}.overview-panels{grid-template-columns:repeat(2,1fr)}.source-summary-grid{grid-template-columns:repeat(3,1fr)}.goal-selector-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){.report-controls{position:relative;top:auto;padding:10px 16px}.sample-badge{margin-left:0}.metric-strip{grid-template-columns:repeat(2,1fr)}.overview-panels,.source-summary-grid,.goal-selector-cards{grid-template-columns:repeat(2,1fr)}.controls-divider{display:none}.age-presets{width:100%}}
@media(max-width:760px){.metric-strip,.overview-panels,.source-summary-grid,.goal-selector-cards{grid-template-columns:1fr 1fr}.metric-tile b{font-size:21px}.controls-row{align-items:flex-start}.control-select{width:100%}.control-select select{flex:1;max-width:none}.large-chart{height:240px}.overview-lists{grid-template-columns:1fr!important}}

/* ===== v3: report-first analytics, closer to Metrica workflow ===== */
.report-card{overflow:hidden;border-radius:18px;margin-bottom:16px;box-shadow:0 12px 34px rgba(16,24,40,.055)}
.report-card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:22px 24px 10px}
.report-card-head.compact-head{padding-bottom:16px}.report-card-head h2{margin:5px 0 5px;font-size:22px;letter-spacing:-.03em}.report-card-head p{margin:0;color:#8a94a6;font-size:11px;line-height:1.5}.report-head-actions{display:flex;align-items:center;gap:8px}.goal-context{font-size:10px;color:#7c8799;background:#f7f8fb;border:1px solid #e7eaf0;border-radius:999px;padding:7px 10px;white-space:nowrap}.goal-context b{color:#2f3747}
.report-metric-tabs,.conversion-metric-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:8px 24px 12px}.report-metric-tabs button,.conversion-metric-tabs button{border:1px solid #e1e5ec;background:#fff;color:#505b70;border-radius:10px;padding:8px 12px;font-size:11px;font-weight:700;cursor:pointer}.report-metric-tabs button:hover,.conversion-metric-tabs button:hover{border-color:#bdb6ff}.report-metric-tabs button.active,.conversion-metric-tabs button.active{color:#5c4bd5;border-color:#8d80f5;background:#f4f1ff;box-shadow:0 0 0 1px #8d80f51f}.series-chart-wrap{padding:0 20px 18px}.multi-line-chart{width:100%;height:330px;display:block;overflow:visible}.series-line{fill:none;stroke-width:2.2;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.series-legend-row{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;padding:10px 6px 2px;border-top:1px solid #f0f2f5}.series-legend{appearance:none;border:0;background:transparent;display:inline-grid;grid-template-columns:12px auto auto;align-items:center;gap:7px;color:#475467;font-size:10px;cursor:pointer;padding:5px 4px;border-radius:7px}.series-legend:hover{background:#f7f8fb}.series-legend i{width:10px;height:10px;border-radius:3px;background:var(--series)}.series-legend b{color:#111827;font-size:10px}.series-legend.off{opacity:.38}.series-legend.off i{background:#c7ccd6}.report-card-footer{padding:0 24px 18px}.report-empty{min-height:280px;display:grid;place-items:center;text-align:center;padding:50px;color:#98a2b3}.report-empty b{display:block;color:#344054;margin-bottom:5px}
.report-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-grid-two .report-card{min-width:0}.report-grid-two .multi-line-chart{height:275px}.report-grid-two .report-card-head h2{font-size:18px}.audience-summary{margin-top:0;margin-bottom:16px}.counter-item.selected{border-color:#8b7cf6;background:#f7f5ff;box-shadow:0 0 0 1px #8b7cf61f}.counter-item.selected .perm{background:#eeeaff;color:#5a4bcf}
.section-head>.mini-link{align-self:center}.metrica-card .report-card-head{border-bottom:1px solid #f0f2f5}.metrica-card .metric-strip{border-top:0}.metrica-card{border-radius:18px}.content>.report-card+.section-head{margin-top:28px}.content>.metrica-card+.section-head{margin-top:28px}
.inline-presets{border-top:0;padding-top:0;margin-top:0}.report-card-footer .inline-presets{padding-top:12px;border-top:1px solid #f0f2f5}.inline-segment{font-size:10px;padding:7px 9px;border-radius:9px}.api-warning{position:relative;z-index:1}
@media(max-width:1250px){.report-grid-two{grid-template-columns:1fr}.report-grid-two .multi-line-chart{height:320px}}
@media(max-width:760px){.report-card-head{padding:18px 16px 8px;display:block}.goal-context{display:inline-block;margin-top:10px}.report-metric-tabs,.conversion-metric-tabs{padding:8px 16px 10px}.series-chart-wrap{padding:0 10px 14px}.multi-line-chart{height:245px}.series-legend b{display:none}.report-grid-two .multi-line-chart{height:245px}}

/* v4 — fast presets, goal counters and diagnostic digest */
.goal-reaches-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:6px 9px;background:#f7f5ff;border:1px solid #e5e0ff;color:#6a5ad7;font-size:10px;white-space:nowrap}.goal-reaches-badge b{font-size:11px;color:#4438aa}.detail-loading{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#697386;background:#fff;border:1px solid #e5e8ee;border-radius:999px;padding:6px 9px;white-space:nowrap}.detail-loading i{width:7px;height:7px;border:2px solid #d8d3ff;border-top-color:#6c5ce7;border-radius:50%;animation:spin .75s linear infinite}.preload-btn.active{background:#f1efff;color:#5848cf;border-color:#8b7cf6}.analysis-digest{margin-top:16px;padding:20px 22px}.digest-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}.digest-head h3{font-size:17px;margin:5px 0 0;letter-spacing:-.02em}.digest-head>span{font-size:10px;color:#667085;background:#f7f8fb;border:1px solid #e7eaf0;border-radius:999px;padding:7px 10px}.digest-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.digest-item{min-width:0;border:1px solid #ebedf2;border-radius:12px;background:#fbfcfd;padding:12px;display:grid;grid-template-columns:24px 1fr;gap:8px}.digest-item>b{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#eef0f5;color:#667085;font-size:10px}.digest-item strong{display:block;font-size:11px;line-height:1.3;color:#202939}.digest-item small{display:block;margin-top:5px;color:#7a8497;font-size:9px;line-height:1.45}.digest-item.red{border-color:#f3d4d4;background:#fffafa}.digest-item.red>b{background:#fdecec;color:#b42318}.digest-item.yellow{border-color:#f0e2bd;background:#fffdf7}.digest-item.yellow>b{background:#fff3d6;color:#8b6218}.digest-item.green{border-color:#cdeada;background:#f9fffb}.digest-item.green>b{background:#e7f8ef;color:#087a4f}
@media(max-width:1400px){.digest-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.digest-grid{grid-template-columns:1fr 1fr}.digest-head{display:block}.digest-head>span{display:inline-block;margin-top:10px}}
@media(max-width:620px){.digest-grid{grid-template-columns:1fr}.goal-reaches-badge{display:none}}
.detail-warning{display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;background:#fff7e8;color:#9a6512;font-size:12px;font-weight:700;border:1px solid #f2d79b}
/* ========================= AXIOMA Analytics v5 ========================= */
[data-tip]{position:relative}
[data-tip]:hover:after{content:attr(data-tip);position:absolute;z-index:1000;left:50%;bottom:calc(100% + 9px);transform:translateX(-50%);width:max-content;max-width:320px;padding:9px 11px;border-radius:9px;background:#111827;color:#fff;font-size:12px;font-weight:500;line-height:1.35;box-shadow:0 10px 30px rgba(0,0,0,.2);pointer-events:none;white-space:normal}
[data-tip]:hover:before{content:"";position:absolute;z-index:1001;left:50%;bottom:calc(100% + 3px);border:6px solid transparent;border-top-color:#111827;transform:translateX(-50%)}
.page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.page-actions .right{margin-left:6px}
.chart-legend span{display:inline-flex;gap:6px;align-items:center}.chart-legend i{width:18px;height:3px;border-radius:9px}.chart-hit{fill:transparent;stroke:transparent;pointer-events:all;cursor:crosshair}.chart-hit:hover{fill:#fff;stroke:#6c5ce7;stroke-width:2}.series-line.previous{stroke-dasharray:9 7;opacity:.45;stroke-width:2}
.funnel-card{padding:24px}.funnel-flow{display:flex;align-items:flex-end;gap:12px;overflow:auto;padding-bottom:4px}.funnel-step{min-width:160px;flex:1;text-align:center}.funnel-bar{width:var(--w);margin:0 auto;background:linear-gradient(135deg,#6c5ce7,#7b61ff);color:#fff;border-radius:14px 14px 8px 8px;padding:18px 8px;min-height:72px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 8px 25px rgba(108,92,231,.15)}.funnel-bar b{font-size:24px}.funnel-bar span{font-size:12px;opacity:.92;margin-top:3px}.funnel-step small{display:block;color:#8a95aa;margin-top:8px;font-size:11px}
.tree-table{min-width:820px}.tree-head,.tree-row{display:grid;grid-template-columns:minmax(290px,2.1fr) repeat(6,minmax(90px,1fr));align-items:center;border-bottom:1px solid #edf0f6}.utm-tree .tree-head,.utm-tree .tree-row{grid-template-columns:minmax(360px,2.4fr) repeat(5,minmax(95px,1fr))}.tree-head{background:#f8f9fc;color:#77839a;font-size:12px;font-weight:700;padding:13px 16px}.tree-row{padding:11px 16px;font-size:13px}.tree-row:hover{background:#fafaff}.tree-row button{border:0;background:none;text-align:left;font:inherit;color:#1b2436;cursor:pointer;padding:0}.tree-row.level0{font-weight:600}.tree-row.level1>:first-child,.tree-row.level1 button{padding-left:26px}.tree-row.level2>:first-child,.tree-row.level2 button{padding-left:50px}.tree-row.level3>:first-child,.tree-row.level3 button{padding-left:74px}.tree-row b:not(:first-child),.tree-row span:not(:first-child),.tree-head b{text-align:right}
.utm-order{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.utm-order>span{font-size:12px;color:#7f8aa1}.utm-order-chip{border:1px solid #dfe3ed;background:#fff;padding:8px 12px;border-radius:10px;font-weight:600;color:#4d5870;cursor:grab}.utm-order-chip:active{cursor:grabbing}.utm-order-chip:hover{border-color:#8877ff;background:#f8f6ff}
.time-bars{height:225px;display:flex;align-items:flex-end;gap:6px;padding:28px 5px 4px;overflow-x:auto}.time-bar{height:100%;min-width:28px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;position:relative}.time-bar i{width:65%;max-width:34px;background:linear-gradient(#7a68ff,#b4a9ff);border-radius:7px 7px 2px 2px;min-height:4px}.time-bar span{font-size:10px;color:#8792a8;writing-mode:vertical-rl;transform:rotate(180deg);max-height:55px;overflow:hidden}.time-bar b{font-size:10px;color:#56617a}.time-bar[data-tip]:hover:after{bottom:85%;writing-mode:horizontal-tb;transform:translateX(-50%)}
.v5-modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:5000;display:grid;place-items:center;padding:20px}.v5-dialog{background:#fff;width:min(700px,95vw);max-height:85vh;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}.v5-dialog-head{display:flex;justify-content:space-between;gap:20px;padding:20px;border-bottom:1px solid #edf0f6}.v5-dialog-head b{font-size:18px}.v5-dialog-head small{display:block;color:#7b879e;margin-top:5px}.v5-dialog-head button{border:0;background:#f2f4f8;border-radius:9px;width:36px;height:36px;font-size:22px}.goal-manage-list{overflow:auto;padding:10px 20px}.goal-manage-list label{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0f2f6}.goal-manage-list span{font-size:13px}.goal-manage-list b{font-size:12px;color:#6c5ce7}.v5-dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding:16px 20px;border-top:1px solid #edf0f6}.v5-note{display:flex;gap:12px;align-items:flex-start}.v5-note b{white-space:nowrap}.v5-note span{color:#718096;line-height:1.5}
.goal-reaches-badge{white-space:nowrap}
@media(max-width:900px){.funnel-flow{display:grid;grid-template-columns:repeat(2,1fr)}.tree-table{min-width:900px}.page-actions{justify-content:flex-end}}

/* v5.1 audience parity fixes */
.audience-tree-rich{min-width:1120px}
.audience-tree-rich .tree-head,.audience-tree-rich .tree-row{grid-template-columns:minmax(240px,2fr) repeat(7,minmax(95px,1fr))}
.muted-note{display:block;margin-top:10px;color:#8a94a8;line-height:1.35;font-size:12px}
.time-bar{position:relative}.time-bar em{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);width:54%;border:1px dashed #aab4c5;border-bottom:0;border-radius:5px 5px 0 0;pointer-events:none;opacity:.9}.time-legend{display:flex;gap:14px;justify-content:flex-end;color:#7f8aa0;font-size:12px;margin-top:8px}

.connect-link{display:block;text-align:center;text-decoration:none}
/* v5.4 connection diagnostics */
.dot.warn{background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.12)}


/* v5.5 funnel + goal-mode fixes */
.funnel-card-v2{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:22px;align-items:stretch;padding:26px}
.funnel-main-v2{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:18px;align-items:end;min-height:235px}
.funnel-step-v2{position:relative;display:flex;align-items:flex-end;justify-content:center;height:220px}
.funnel-column{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px}
.funnel-block{height:var(--fh);width:100%;max-width:220px;min-height:70px;background:linear-gradient(180deg,#7563ff 0%,#5f4bea 100%);border-radius:14px 14px 7px 7px;box-shadow:0 14px 30px rgba(95,75,234,.16);display:flex;align-items:flex-start;justify-content:center;padding-top:18px;color:#fff;transition:.2s transform,.2s box-shadow}
.funnel-block:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(95,75,234,.24)}
.funnel-block b{font-size:25px;line-height:1}
.funnel-column strong{font-size:12px;color:#5e6980;text-align:center;min-height:30px}
.funnel-rate{position:absolute;left:-18px;top:44%;transform:translate(-50%,-50%);z-index:2;background:#ffcc4d;color:#5d4900;font-size:11px;font-weight:800;border-radius:999px;padding:7px 9px;box-shadow:0 6px 16px rgba(255,204,77,.24);white-space:nowrap}
.funnel-event-card{border:1px solid #e5e8f2;background:linear-gradient(180deg,#fbfaff,#f5f3ff);border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;min-height:180px}
.funnel-event-card span{font-size:12px;color:#788399;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.funnel-event-card b{font-size:34px;margin:8px 0;color:#5f4bea}.funnel-event-card small{color:#7d879b;line-height:1.35}
@media(max-width:1100px){.funnel-card-v2{grid-template-columns:1fr}.funnel-event-card{min-height:110px}.funnel-main-v2{overflow-x:auto;grid-template-columns:repeat(4,minmax(150px,1fr))}}
@media(max-width:700px){.funnel-main-v2{grid-template-columns:repeat(4,145px);gap:14px}.funnel-rate{left:-14px}.funnel-card-v2{padding:18px}}

/* ========================= AXIOMA Analytics v5.6 ========================= */
[data-tip]:hover:after,[data-tip]:hover:before{display:none!important}
.v56-tooltip{position:fixed;z-index:30000;display:none;min-width:170px;max-width:330px;padding:10px 12px;border-radius:10px;background:#111827;color:#fff;box-shadow:0 16px 40px rgba(15,23,42,.28);pointer-events:none;font-size:11px;line-height:1.4}.v56-tooltip.show{display:grid;gap:3px}.v56-tooltip b{font-size:12px}.v56-tooltip span{color:#d5dbea}
.v56-point{pointer-events:none;stroke:#fff;stroke-width:1.6}.v56-hit{fill:transparent;stroke:transparent;cursor:crosshair;pointer-events:all}.v56-point.previous{opacity:.55}

.v56-goal-picker{min-width:280px;max-width:480px;display:grid!important;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;text-align:left;cursor:pointer}.v56-goal-picker b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#30384a}.v56-goal-picker i{font-style:normal;color:#7b8498}
.v56-goal-popover{position:fixed;z-index:25000;background:#fff;border:1px solid #dfe3ed;border-radius:15px;box-shadow:0 24px 70px rgba(15,23,42,.25);max-height:min(680px,80vh);overflow:hidden;display:flex;flex-direction:column}.v56-pop-head{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #edf0f5}.v56-pop-head b{font-size:14px}.v56-pop-head span{font-size:10px;color:#8a94a7}.v56-goal-special{padding:11px 15px;border-bottom:1px solid #f1f3f6;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center}.v56-goal-special:hover,.v56-goal-special.selected{background:#f5f3ff}.v56-goal-special strong{font-size:12px}.v56-goal-special small{color:#8791a5;font-size:10px;text-align:right}.v56-goal-special.technical{background:#fffaf0}.v56-pop-actions,.v56-dialog-toolbar,.v56-goals-table-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid #edf0f5;background:#fafbfc}.v56-pop-actions button,.v56-dialog-toolbar button,.v56-goals-table-toolbar button{border:1px solid #dfe3eb;background:#fff;color:#4b5568;border-radius:9px;padding:7px 10px;cursor:pointer;font-size:11px;font-weight:650}.v56-pop-list{overflow:auto}.v56-goal-row{display:grid;grid-template-columns:36px 1fr;align-items:stretch;border-bottom:1px solid #f1f3f6}.v56-goal-row.selected{background:#f7f5ff}.v56-star{border:0;background:transparent;color:#c4cad5;font-size:18px;cursor:pointer}.v56-star.on{color:#6c5ce7}.v56-goal-select{border:0;background:transparent;padding:10px 14px 10px 0;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;cursor:pointer}.v56-goal-select span{font-size:12px;color:#202939}.v56-goal-select b{font-size:10px;color:#697386;white-space:nowrap}.v56-goals-dialog{width:min(850px,96vw)}
.goal-breakdown-list{overflow:auto;padding:8px 20px 20px}.goal-breakdown-list>div{display:grid;grid-template-columns:8px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f5}.goal-breakdown-list i{width:8px;height:28px;background:var(--c);border-radius:8px}.goal-breakdown-list span{font-size:12px;font-weight:650}.goal-breakdown-list b{font-size:13px}.goal-breakdown-list small{grid-column:2/4;color:#8490a5;font-size:10px}

.v56-funnel-card{position:relative;min-height:310px;padding:24px 28px;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:22px;align-items:end;overflow:hidden}.v56-funnel-bg{height:245px;display:grid;grid-template-columns:repeat(4,minmax(125px,1fr));gap:0;align-items:end;position:relative}.v56-funnel-stage{height:245px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;padding:0 0 42px}.v56-funnel-stage:after{content:"";position:absolute;bottom:42px;right:-1px;width:42%;height:190px;background:linear-gradient(135deg,rgba(238,240,246,.95),rgba(246,247,250,.25));clip-path:polygon(0 0,100% 14%,100% 100%,0 100%);z-index:0}.v56-funnel-stage:last-child:after{display:none}.v56-funnel-block{position:relative;z-index:1;width:88%;height:var(--fh);min-height:46px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#6c55ff,#674cf1);color:#fff;display:grid;place-content:center;text-align:center;box-shadow:0 10px 28px rgba(99,76,241,.16);transition:.2s}.v56-funnel-block:hover{transform:translateY(-2px)}.v56-funnel-block b{font-size:24px;line-height:1}.v56-funnel-block span{font-size:11px;margin-top:5px}.v56-funnel-stage em{position:absolute;right:-22px;bottom:82px;z-index:3;background:#ffd35c;color:#664f00;border-radius:5px 14px 14px 5px;padding:7px 9px;font-style:normal;font-size:10px;font-weight:800}.v56-funnel-stage small{position:absolute;bottom:8px;font-size:10px;color:#7d879b;text-align:center;max-width:150px;line-height:1.25}.v56-funnel-goals{height:245px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 6px 8px;cursor:pointer}.v56-goal-bars{height:150px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:0 10px}.v56-goal-bars i{height:var(--h);background:var(--c);width:14px;border-radius:2px 2px 0 0;min-height:8px}.v56-funnel-goals b{font-size:26px;color:#4d43c8;margin-top:8px}.v56-funnel-goals span{font-size:11px;font-weight:750}.v56-funnel-goals small{font-size:9px;color:#8a94a7;margin-top:4px;text-align:center}

.metric-strip{grid-template-columns:repeat(9,minmax(105px,1fr))}.metric-tile{min-width:0}.metric-tile b{white-space:nowrap}.metric-tile span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v56-insight{display:flex;flex-direction:column;min-height:205px}.v56-insight.red{background:#fff6f6;border-color:#f3c8c8}.v56-insight.yellow{background:#fffbef;border-color:#eddca8}.v56-insight.green{background:#f3fcf7;border-color:#bfe7cf}.v56-insight .action{margin-top:auto;padding-top:12px}.v56-insight .mini-link{align-self:flex-start;margin-top:9px}.insight-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr}.v56-digest .digest-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr}.digest-item em{display:block;margin-top:7px;color:#505c70;font-size:9px;line-height:1.4;font-style:normal;font-weight:650}

.utm-tree .total-row{background:#f5f7fb;font-weight:750}.utm-series-toggle{display:inline-block!important;width:12px;height:12px;border:2px solid var(--series)!important;border-radius:4px!important;margin-right:7px!important;background:var(--series)!important;vertical-align:-2px}.utm-series-toggle.off{background:#fff!important;opacity:.55}.tree-row button{display:flex;align-items:center;gap:4px}
.v56-bars{height:235px;display:flex;align-items:stretch;gap:5px;padding:24px 4px 0;overflow-x:auto}.v56-bar-col{min-width:33px;flex:1;display:grid;grid-template-rows:1fr 20px 18px;align-items:end;text-align:center}.v56-bar-area{height:170px;display:flex;align-items:flex-end;justify-content:center;gap:2px}.v56-bar-area i{display:block;width:38%;border-radius:6px 6px 1px 1px;min-height:2px}.v56-bar-area .cur{background:linear-gradient(#7865ff,#a696ff)}.v56-bar-area .prev{background:transparent;border:1px dashed #aeb7c8}.v56-bar-col b{font-size:9px;color:#697386;white-space:nowrap;align-self:center}.v56-bar-col small{font-size:9px;color:#8b95a8;align-self:start}.v56-activity{overflow:hidden}.v56-activity .panel-head{margin-bottom:0}

.content-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.content-summary-grid h3{font-size:14px;word-break:break-word}.content-summary-grid p{color:#6f7b90;font-size:11px}.goal-name-btn{border:0;background:transparent;color:#283246;cursor:pointer;font-weight:650;text-align:left;padding:0}.v56-table-star{border:0;background:transparent;color:#c6ccd8;font-size:19px;cursor:pointer}.v56-table-star.on{color:#6c5ce7}
.webvisor-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.webvisor-kpis .card{padding:14px}.webvisor-kpis span{font-size:9px;color:#7d879a;text-transform:uppercase;font-weight:750}.webvisor-kpis b{display:block;font-size:17px;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.webvisor-kpis small{font-size:9px;color:#8791a6}.webvisor-table{min-width:1280px}.goal-count{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:999px;border:1px solid #d8dce5;color:#6b7280}.goal-count.hit{border-color:#5bbf73;color:#16813a}.v56-webvisor-foot{display:flex;justify-content:flex-end;margin-top:12px}

@media(max-width:1500px){.metric-strip{grid-template-columns:repeat(5,1fr)}.webvisor-kpis{grid-template-columns:repeat(3,1fr)}.v56-digest .digest-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1100px){.v56-funnel-card{grid-template-columns:1fr;overflow:auto}.v56-funnel-bg{min-width:760px}.v56-funnel-goals{height:150px}.v56-goal-bars{height:90px}.metric-strip{grid-template-columns:repeat(3,1fr)}.insight-grid{grid-template-columns:repeat(2,1fr)}.content-summary-grid{grid-template-columns:1fr}.webvisor-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.metric-strip{grid-template-columns:repeat(2,1fr)}.insight-grid,.v56-digest .digest-grid{grid-template-columns:1fr}.webvisor-kpis{grid-template-columns:1fr 1fr}.v56-goal-picker{min-width:220px}.v56-funnel-card{padding:16px}}
.v56-goal-row.technical-goal,.goal-manage-list label.technical-goal{background:#fafafa;color:#8b95a7}.v56-goal-row.technical-goal .v56-star,.v56-table-star:disabled{color:#aeb5c2;cursor:not-allowed;opacity:.65}.goal-manage-list label.technical-goal span:after{content:"Не участвует в основном CR";display:block;font-size:9px;color:#a0a8b7;margin-top:2px}.series-dot{width:8px;height:8px;border-radius:3px;background:var(--c);display:inline-block;flex:0 0 auto}.sources-tree .tree-head,.sources-tree .tree-row{grid-template-columns:minmax(260px,2.3fr) repeat(6,minmax(82px,.65fr))}.sources-tree .source-tree-row.level1>button{padding-left:30px}.sources-tree .source-tree-row.level2>button{padding-left:52px}.sources-tree .source-tree-row.level3>button{padding-left:74px}.sources-tree button:disabled{cursor:default;opacity:.8}

/* v5.7 Webvisor/raw visits */
.v57-webvisor-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.v57-webvisor-status>div:first-child{display:flex;flex-direction:column;gap:4px}.v57-webvisor-status b{font-size:14px}.v57-webvisor-status span{font-size:11px;color:#7f8aa0}.v57-webvisor-status.good{border-color:#bfe8cc}.v57-webvisor-status.warn{border-color:#f1dfad}.v57-webvisor-status.bad{border-color:#efc0c0}.v57-status-actions{display:flex;gap:8px;flex-wrap:wrap}.v57-webvisor-note{margin-top:12px;padding:14px 16px;border-radius:14px;border:1px solid #e0e5ef;background:#f8faff;display:flex;gap:8px;flex-direction:column}.v57-webvisor-note b{font-size:12px}.v57-webvisor-note span{font-size:11px;line-height:1.55;color:#6e7890}
