/* signitur — analytics (dashboard snapshot + Analytics view), Sep 3 */
.ana-snap, .ana-top { display: flex; flex-direction: column; min-height: 300px; }
.ana-sel { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; color: var(--ink); }
.ana-kpis { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ana-kpi { flex: 1 1 120px; display: flex; align-items: center; gap: 10px; border: 1px solid #F0F0F2; border-radius: 12px; padding: 10px 12px; background: #fff; }
.ana-kpi-ic { width: 34px; height: 34px; border-radius: 10px; background: #FFF3E7; color: var(--o-head-b); display: grid; place-items: center; flex: 0 0 auto; }
.ana-kpi small { display: block; color: var(--ink-2); font-size: 12px; }
.ana-kpi b { display: block; font-size: 18px; margin-top: 2px; }
.ana-ctr { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.ana-ctr b { font-size: 15px; } .ana-ctr small { color: var(--ink-2); font-size: 12px; }
.ana-chart { width: 100%; min-height: 200px; flex: 1; }
.ana-chart.tall { min-height: 290px; }
.ana-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ana-chart .grid { stroke: #F0F0F2; }
.ana-chart .axis { fill: var(--ink-3); font-size: 10px; }
.ana-chart .ax-y { fill: var(--ink-3); font-size: 10px; }
.ana-legend { display: flex; gap: 18px; justify-content: center; font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.ana-legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.l-clicks { background: #FE6111; } .l-imps { background: #2F7DF6; } .l-uniq { background: #7C3AED; }
.ana-empty { text-align: center; color: var(--ink-2); padding: 60px 10px; font-weight: 600; }
.ana-empty svg { display: block; margin: 0 auto 10px; color: #CBD5E1; }
/* top performers */
.ana-bars { display: flex; align-items: flex-end; gap: 18px; padding: 16px 8px 4px; min-height: 220px; flex: 1; overflow-x: auto; }
.ana-bar { flex: 1 1 60px; min-width: 60px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.ana-bar i { display: block; width: 34px; border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, var(--o-head-a), var(--o-head-b)); min-height: 4px; }
.ana-bar b { font-size: 12px; }
.ana-bar .who { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; color: var(--ink-2); text-align: center; max-width: 110px; }
.ana-bar .who img, .ana-bar .who span.av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #F4F4F5; display: grid; place-items: center; font-size: 12px; }
/* Analytics view */
.ana-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 4px 0 16px; }
.ana-head h2 { font-size: 24px; margin: 0; }
.ana-range { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ana-dates { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 8px; background: #fff; font-size: 13px; }
.ana-dates input { border: 0; font: inherit; font-size: 13px; color: var(--ink); background: transparent; }
.ana-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.ana-kcard { position: relative; background: #fff; border: 1px solid #F0F0F2; border-radius: 18px; padding: 18px 20px; overflow: hidden; }
.ana-kcard small { display: block; color: var(--ink-2); font-size: 13px; }
.ana-kcard b { display: block; font-size: 26px; margin-top: 6px; }
.ana-kcard .ic { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #F0F0F2; display: grid; place-items: center; color: var(--ink); background: #fff; }
.ana-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ana-two > .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 320px; }
.ana-two > .card > .card-head { padding: 16px 20px; border-bottom: 1px solid #F0F0F2; }
.ana-two > .card > .card-head h3 { margin: 0; font-size: 18px; }
.ana-two .card-body { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; }
.ana-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ana-table th { text-align: left; background: #F7F7F8; color: var(--ink); font-weight: 600; padding: 14px 20px; font-size: 14px; }
.ana-table th:not(:first-child), .ana-table td:not(:first-child) { text-align: center; }
.ana-table td { padding: 14px 20px; border-top: 1px solid #F4F4F5; color: var(--ink-2); }
.ana-table td:first-child { color: var(--ink); }
.ana-table tr.has-clicks td { color: var(--ink); }
.ana-type { display: flex; flex-direction: column; gap: 14px; }
.ana-type-item { display: flex; align-items: center; gap: 12px; }
.ana-type-item .sw { width: 30px; height: 30px; border-radius: 8px; background: #FFF3E7; }
.ana-type-item .sw.sw-b { background: repeating-linear-gradient(135deg, #FFF3E7 0 4px, #FBD4AE 4px 6px); }
.ana-type-item b { display: block; font-size: 18px; } .ana-type-item small { color: var(--ink-2); font-size: 12px; }
.ana-days { display: flex; align-items: flex-end; gap: 16px; margin-top: auto; padding-top: 18px; }
.ana-ctr-big b { display: block; font-size: 34px; color: var(--o-head-b); line-height: 1; } .ana-ctr-big small { color: var(--ink-2); font-size: 12px; }
.ana-weekdays { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 150px; }
.ana-wd { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; font-size: 12px; color: var(--ink-2); }
.ana-wd i { display: block; width: 100%; max-width: 34px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #FBD4AE, var(--o-btn-a)); min-height: 3px; }
.ana-wd b { font-size: 11px; color: var(--ink); }
.ana-map-wrap { position: relative; flex: 1; min-height: 280px; }
.ana-map svg { width: 100%; height: auto; max-height: 420px; }
.ana-map path { fill: #E5E9F2; stroke: #fff; stroke-width: .6; transition: fill .2s; }
.ana-map path.hit { fill: #FB8221; }
.ana-map path.hit.lo { fill: #FDCFA6; } .ana-map path.hit.mid { fill: #FCA65B; }
.ana-world { position: absolute; right: 8px; top: 8px; background: #fff; border: 1px solid #F0F0F2; border-radius: 14px; padding: 12px 16px; min-width: 150px; box-shadow: 0 6px 18px rgba(15,23,42,.06); }
.ana-world b { display: block; font-size: 22px; } .ana-world small { color: var(--ink-2); font-size: 12px; }
.ana-cc { list-style: none; margin: 0; padding: 0 20px 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--ink-2); }
.ana-cc li b { color: var(--ink); margin-left: 6px; }
.ana-devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ana-devices > div { border-right: 1px solid #F0F0F2; padding-right: 12px; }
.ana-devices > div:last-child { border-right: 0; }
.ana-devices small { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; }
.ana-devices b { display: block; font-size: 22px; margin-top: 8px; }
.ana-plat-title { font-size: 15px; font-weight: 600; margin: 26px 0 12px; }
.ana-plats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.ana-plat { display: grid; grid-template-columns: 96px 1fr 44px; align-items: center; gap: 10px; font-size: 13px; }
.ana-plat .name { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.ana-plat .track { height: 6px; background: #EEF0F4; border-radius: 999px; overflow: hidden; position: relative; }
.ana-plat .track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--grad-btn); border-radius: 999px; }
.ana-plat .track::before { content: ''; position: absolute; left: 0; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--o-btn-a); box-sizing: border-box; z-index: 1; }
.ana-plat .pct { text-align: right; color: var(--ink-2); }
.ana-note { color: var(--ink-3); font-size: 11.5px; padding: 0 20px 14px; }
.sig-card-head .stat { display: inline-flex !important; align-items: center; gap: 5px; color: var(--ink-2); font-size: 13px; }
.sig-card-head .stat b { font-weight: 600; color: var(--ink); }
@media (max-width: 1100px) { .ana-kpi-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .ana-two { grid-template-columns: 1fr; } .ana-plats { grid-template-columns: 1fr; } }

.ana-table tr.untracked td { color: var(--ink-3); font-size: 12.5px; text-align: left; }
.ana-table tr.untracked td:first-child { color: var(--ink-2); }
