.visitor-analytics-shell {
    --va-font: Inter, "Segoe UI", Arial, sans-serif;
    --font-secondary: var(--va-font);
    --font-sans: var(--va-font);
    --font-display: var(--va-font);
    --font-graphic: var(--va-font);
    min-height: 100svh;
    width: 100%;
    background: #F8F9F6;
    color: #102D33;
    font: 400 13px/1.45 var(--va-font);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}
.visitor-analytics-shell .admin-shell-topbar { position: relative; padding: 10px 40px; min-height: 72px; background: #fff; border-bottom: 1px solid #EDF1ED; backdrop-filter: none; }
.visitor-analytics-shell .admin-shell-topbar__brand-row { max-width: 1320px; margin: auto; gap: 18px; }
.visitor-analytics-shell .admin-shell-topbar__brand img { width: 50px; height: 50px; }
.visitor-analytics-shell .admin-shell-topbar__nav { padding: 4px; gap: 2px; box-shadow: none; background: #F8F9F6; border: 1px solid #EDF1ED; flex-wrap: nowrap; }
.visitor-analytics-shell .admin-shell-topbar__nav-link { min-height: 34px; padding: 9px 14px; font: 600 12px/1.2 var(--va-font); color: #526D6C; white-space: nowrap; }
.visitor-analytics-shell .admin-shell-topbar__nav-link.active { color: #fff; background: #1B744A; box-shadow: none; }
.visitor-analytics-shell .admin-shell-topbar__icon-button,
.visitor-analytics-shell .admin-shell-topbar__profile { min-height: 36px; height: 36px; background: #fff; border: 1px solid #EDF1ED; box-shadow: none; color: #102D33; }
.visitor-analytics-shell .admin-shell-topbar__icon-button { width: 36px; }
.visitor-analytics-shell .admin-shell-topbar__actions { gap: 8px; }
.visitor-analytics-shell .admin-shell-topbar__profile { padding: 2px 8px 2px 3px; gap: 7px; }
.visitor-analytics-shell .admin-shell-topbar__avatar { width: 28px; height: 28px; background: #E7F5EE; color: #08765D; font-size: 11px; }
.visitor-analytics-shell .admin-shell-topbar__profile-text { max-width: 100px; font: 600 12px/1.2 var(--va-font); }
.visitor-analytics-shell .admin-shell-topbar__popover { background: #fff; border: 1px solid #EDF1ED; box-shadow: 0 8px 28px #102D3314; border-radius: 12px; }
.visitor-analytics-shell .admin-shell-topbar__popover strong,
.visitor-analytics-shell .admin-shell-topbar__popover header { font-family: var(--va-font); font-size: 13px; }
.visitor-analytics-shell .admin-shell-topbar__popover span,
.visitor-analytics-shell .admin-shell-topbar__popover a { font-family: var(--va-font); font-size: 12px; }
.visitor-analytics-shell .va-main { width: calc(100% - 80px); max-width: 1320px; margin: 0 auto; padding: 22px 0 32px; min-width: 0; }
.va * { box-sizing: border-box; }
.va h1, .va h2, .va p, .va ul { margin: 0; }
.va h1, .va h2, .va strong, .va button, .va select { font-family: var(--va-font); letter-spacing: 0; text-shadow: none; text-transform: none; }
.va h1 { font-size: 32px; font-weight: 750; line-height: 1.15; color: #102D33; }
.visitor-analytics-shell .va h1:focus { outline: none; }
.va h2 { font-size: 16px; font-weight: 700; line-height: 1.3; color: #102D33; }
.va p { color: #6C8483; font-size: 12px; line-height: 1.4; }
.va-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 17px; }
.va-eyebrow { display: block; font-size: 11px; font-weight: 750; color: #08765D; margin-bottom: 5px; }
.va-heading p { font-size: 13px; margin-top: 6px; }
.va-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 230px; }
.va-filters{flex:1 1 auto}.va-date-field{display:grid;gap:2px;min-width:125px;font-size:10px;color:#526d6c}.va-date-field input{width:100%;min-width:0;height:38px;padding:6px 8px;border:1px solid #e0e8e3;border-radius:7px;background:#fff;color:#102d33;font:inherit;font-size:12px}.va-date-apply{height:38px;padding:7px 11px;border:1px solid #086a4c;border-radius:7px;background:#086a4c;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.va-range { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E0E8E3; border-radius: 7px; padding: 0 10px; height: 38px; color: #526D6C; }
.va-range select { border: 0; border-radius: 0; background: transparent; padding: 6px 2px; min-height: 0; width: auto; font-size: 12px; color: #102D33; cursor: pointer; box-shadow: none; }
.va-icon-button { width: 38px; height: 38px; padding: 0; background: #fff; color: #08765D; border: 1px solid #E0E8E3; border-radius: 7px; cursor: pointer; box-shadow: none; }
.va-freshness { width: 100%; text-align: right; font-size: 11px; color: #6C8483; }
.va button:disabled, .va select:disabled { opacity: 0.6; cursor: wait; }
.visitor-analytics-shell :is(button, select, a, summary, canvas, [tabindex]):focus-visible { outline: 2px solid #08765D; outline-offset: 3px; }
.va-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.va-kpi, .va-panel { min-width: 0; background: #fff; border: 1px solid #EEF2EE; border-radius: 12px; box-shadow: 0 3px 14px rgba(16,45,51,0.025); }
.va-kpi { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 108px; padding: 14px; }
.va-kpi__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; background: #E7F5EE; color: #08765D; border-radius: 9px; }
.va-kpi__body { min-width: 0; }
.va-kpi h2 { font-size: 12px; color: #6C8483; line-height: 1.25; font-weight: 500; }
.va-kpi__value { display: block; font-size: 26px; font-weight: 750; line-height: 1.25; }
.va .va-kpi__trend { font-size: 11px; line-height: 1.3; margin-top: 2px; }
.va-kpi__body small { display: block; font-size: 11px; color: #78908F; }
.va .is-positive { color: #08765D; }
.va .is-negative { color: #C05252; }
.va-kpi__spark { position: absolute; right: 12px; bottom: 13px; display: flex; align-items: flex-end; justify-content: flex-end; gap: 2px; width: 48px; height: 32px; opacity: 0.5; pointer-events: none; }
.va-kpi__spark span { background: #55AE91; width: 3px; border-radius: 1px; }
.va-middle, .va-bottom { display: grid; gap: 14px; margin-bottom: 14px; }
.va-middle { grid-template-columns: minmax(0, 48fr) minmax(0, 24fr) minmax(0, 28fr); }
.va-bottom { grid-template-columns: minmax(0, 34fr) minmax(0, 32fr) minmax(0, 34fr); }
.va-panel { min-height: 0; padding: 14px; display: flex; flex-direction: column; }
.va-middle > .va-panel { min-height: 248px; }
.va-middle > .va-traffic { height: 248px; }
.va-bottom > .va-panel { min-height: 218px; }
.va-panel-heading { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.va-panel-heading > div { min-width: 0; }
.va-panel-heading p { margin-top: 2px; font-size: 11px; }
.va-panel-heading p .admin-exec-icon { vertical-align: middle; }
.va-period { border: 1px solid #EDF1ED; border-radius: 5px; padding: 4px 8px; color: #6C8483; font-size: 11px; }
.va-text-button { flex: 0 0 auto; background: none; padding: 0; color: #08765D; border: 0; border-radius: 0; box-shadow: none; font-size: 11px; text-decoration: none; cursor: pointer; }
.va-text-button:hover { text-decoration: underline; }
.va-chart-legend { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: #6C8483; font-size: 11px; margin-bottom: 3px; }
.va-chart-legend > span { display: flex; align-items: center; gap: 6px; }
.va-chart-legend small { order: -1; margin-right: auto; font-size: 10px; color: #78908F; }
.va-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; flex: 0 0 7px; }
.va-line-wrap { position: relative; flex: 1; min-height: 0; width: 100%; }
.va-line-wrap canvas { width: 100%; height: 100%; }
.va-chart-empty { position: absolute; inset: 50% 0 auto; text-align: center; background: #ffffffeb; padding: 4px; pointer-events: none; }
.va-donut-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; gap: 12px; }
.va-donut { position: relative; width: 126px; height: 126px; }
.va-donut canvas { width: 100%; height: 100%; }
.va-donut__total { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.va-donut__total strong { font-size: 22px; font-weight: 750; }
.va-donut__total span { font-size: 11px; color: #78908F; }
.va-legend { list-style: none; padding: 0; display: grid; gap: 6px; min-width: 0; }
.va-legend li { display: flex; align-items: center; gap: 6px; font-size: 11px; min-width: 0; }
.va-legend__label { flex: 1; min-width: 0; overflow-wrap: anywhere; color: #617B79; }
.va-legend strong { font-size: 11px; font-weight: 600; flex-shrink: 0; text-align: right; }
.va-legend i { color: #78908F; width: 12px; }
.va-middle .va-donut-layout { gap: 10px; }
.va-middle .va-donut { width: 126px; height: 126px; }
.va-pages { width: 100%; table-layout: fixed; border-collapse: collapse; }
.va-pages th { color: #78908F; font-size: 11px; font-weight: 500; padding: 0 0 5px; text-align: left; }
.va-pages td { height: 29px; padding: 4px 0; border: 0; font-size: 12px; vertical-align: middle; }
.va-pages th:first-child { width: 47%; }
.va-pages th:nth-child(2) { width: 30%; }
.va-pages th:last-child, .va-pages td:last-child { text-align: right; }
.va-pages td:first-child > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.va-track { display: block; height: 6px; background: #F0F3EF; border-radius: 4px; overflow: hidden; }
.va-track > span { display: block; height: 100%; background: #55AE91; border-radius: inherit; }
.va-countries { display: grid; gap: 0; padding: 0; list-style: none; }
.va-countries li { display: grid; grid-template-columns: 23px minmax(0, 1fr) 38px 40px minmax(70px, .65fr); min-height: 25px; align-items: center; gap: 7px; font-size: 12px; }
.va-country-code { display: grid; place-items: center; width: 23px; height: 20px; border: 1px solid #DFEAE3; border-radius: 4px; background: #F8F9F6; font-size: 10px; color: #6C8483; }
.va-country-name { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.va-country-percent { color: #78908F; text-align: right; font-size: 11px; }
.va-countries strong { font-weight: 600; text-align: right; }
.va-insight { position: relative; background: #FFFAF0; overflow: hidden; }
.va-insight__badge { display: flex; align-items: center; gap: 6px; color: #977129; font-size: 11px; font-weight: 600; margin-bottom: 9px; }
.va-insight__copy { position: relative; z-index: 1; width: calc(100% - 104px); max-width: 290px; }
.va-insight__copy h2 { font-size: 18px; line-height: 1.25; }
.va-insight__copy p { font-size: 11px; margin-top: 7px; line-height: 1.4; }
.va-insight__link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; margin-top: 10px; background: #08765D; color: #fff; font-size: 11px; font-weight: 600; text-decoration: none; border-radius: 20px; }
.va-insight__link:hover { background: #075740; }
.va-phone { position: absolute; right: 20px; bottom: 26px; width: 82px; height: 134px; border: 3px solid #AEDCCB; border-radius: 13px; transform: rotate(13deg); background: #F5FCF8; }
.va-phone__speaker { position: absolute; top: 7px; width: 22px; height: 2px; left: calc(50% - 11px); background: #AEDCCB; border-radius: 3px; }
.va-phone__home { position: absolute; bottom: 6px; width: 17px; height: 2px; left: calc(50% - 8.5px); background: #AEDCCB; border-radius: 3px; }
.va-phone__screen { position: absolute; inset: 21px 8px 17px; display: flex; align-items: flex-end; gap: 5px; padding: 8px; border-bottom: 1px solid #D6ECE2; background: #EFF8F2; }
.va-phone__screen i { width: 8px; height: 30%; background: #CAE6DA; border-radius: 2px; }
.va-phone__screen i:nth-child(2) { height: 55%; background: #B8DECF; }
.va-phone__screen i:nth-child(3) { height: 40%; background: #A5D4C2; }
.va .va-report-note { font-size: 11px; color: #78908F; margin-bottom: 14px; }
.va-report-note span { margin-left: 5px; }
.va-empty { display: flex; flex: 1; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #78908F; text-align: center; font-size: 12px; }
.va-details { border-top: 1px solid #E1E8E3; padding-top: 12px; scroll-margin-top: 20px; }
.va-details > summary { cursor: pointer; color: #526D6C; font-size: 12px; font-weight: 600; }
.va-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 20px 0; }
.va-details table { width: 100%; border-collapse: collapse; font-size: 12px; }
.va-details th, .va-details td { text-align: left; border-bottom: 1px solid #E1E8E3; padding: 8px 5px; overflow-wrap: anywhere; }
.va-details th { font-weight: 600; }
.va-details section { min-width: 0; max-height: 320px; overflow: auto; }
.va-table-scroll { overflow: auto; max-height: 380px; margin-top: 14px; }
.va-error { display: flex; align-items: center; gap: 12px; border: 1px solid #F0D7D7; background: #FFF5F5; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.va-error button { border: 1px solid #E0B8B8; background: #fff; padding: 6px 12px; border-radius: 6px; color: #913A3A; cursor: pointer; margin-left: auto; }
.va-skeleton { background: #EDF1ED; animation: va-loading 1.4s ease-in-out infinite alternate; }
.va[aria-busy="false"] .va-skeleton { animation: none; }
.va-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes va-loading { to { opacity: 0.45; } }
@media (max-width: 1199px) {
    .visitor-analytics-shell .admin-shell-topbar { padding: 10px 24px; }
    .visitor-analytics-shell .admin-shell-topbar__brand-row { grid-template-columns: auto 1fr; gap: 10px; }
    .visitor-analytics-shell .admin-shell-topbar__nav { grid-row: 2; grid-column: 1 / -1; justify-self: center; }
    .visitor-analytics-shell .admin-shell-topbar__actions { grid-column: 2; grid-row: 1; }
    .visitor-analytics-shell .va-main { width: calc(100% - 48px); }
    .va-heading { align-items: flex-start; }
    .va h1 { font-size: 32px; }
    .va-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .va-middle, .va-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .va-traffic { grid-column: 1 / -1; }
    .va-middle > .va-traffic { height: 270px; }
    .va-bottom > .va-insight { grid-column: 1 / -1; }
    .va-insight__copy { width: calc(100% - 125px); max-width: 550px; }
    .va-phone { right: 45px; }
}
@media (max-width: 767px) {
    .visitor-analytics-shell .admin-shell-topbar { padding: 10px 16px; }
    .visitor-analytics-shell .admin-shell-topbar__nav { border-radius: 10px; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .visitor-analytics-shell .admin-shell-topbar__group-anchor, .visitor-analytics-shell .admin-shell-topbar__nav-link { min-width: 0; width: 100%; }
    .visitor-analytics-shell .admin-shell-topbar__nav-link { border-radius: 7px; padding: 10px 6px; font-size: 11px; }
    .visitor-analytics-shell .admin-shell-topbar__profile-text { max-width: 76px; display: inline; }
    .visitor-analytics-shell .admin-shell-topbar__popover--nav-group { position: absolute; left: 0; right: auto; width: min(310px, calc(100vw - 44px)); max-width: none; }
    .visitor-analytics-shell .admin-shell-topbar__group-anchor:nth-child(even) .admin-shell-topbar__popover--nav-group { left: auto; right: 0; }
    .visitor-analytics-shell .admin-shell-topbar__popover--settings { width: calc(100vw - 32px); right: -130px; }
    .visitor-analytics-shell .va-main { width: calc(100% - 32px); padding-top: 22px; }
    .va-heading { flex-direction: column; gap: 16px; margin-bottom: 18px; }
    .va h1 { font-size: 29px; }
    .va-heading p { font-size: 13px; }
    .va-filters { flex: auto; width: 100%; justify-content: flex-start; }
    .va-freshness { width: auto; text-align: left; }
    .va-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .va-kpi { padding: 14px 12px; gap: 8px; min-height: 108px; }
    .va-kpi h2 { font-size: 12px; }
    .va-kpi__value { font-size: 25px; }
    .va-kpi__spark { display: none; }
    .va-middle, .va-bottom { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
    .va-middle > .va-panel, .va-bottom > .va-panel { height: auto; min-height: 218px; }
    .va-line-wrap { height: 180px; flex: none; }
    .va-donut-layout { min-height: 150px; }
    .va-legend li, .va-legend strong { font-size: 12px; }
    .va-panel-heading p { font-size: 12px; }
    .va-donut, .va-middle .va-donut { width: 126px; height: 126px; }
    .va-phone { right: 20px; }
    .va-insight__copy { width: calc(100% - 100px); }
    .va-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .va-countries li { grid-template-columns: 23px minmax(0, 1fr) auto 38px minmax(50px, .5fr); gap: 6px; }
}
@media (max-width: 359px) {
    .va-kpis { grid-template-columns: minmax(0, 1fr); }
    .va-donut, .va-middle .va-donut { width: 115px; height: 115px; }
    .va-phone { width: 60px; right: 14px; }
    .va-insight__copy h2 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .va-skeleton { animation: none; } }
