:root{font-family:Arial,Helvetica,sans-serif;color:#252830;background:#f4f5f7;font-size:14px;--yellow:#ffdb4d;--muted:#818793}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c18b00;outline-offset:3px}button:hover{filter:brightness(.97)}.shell{display:flex;min-height:100vh}.sidebar{width:235px;flex-shrink:0;background:white;border-right:1px solid #e7e9ed;position:sticky;top:0;height:100vh;padding:28px 16px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:700;letter-spacing:-1px;padding:0 10px}.brand b{background:var(--yellow);color:#252830;font-size:27px;border-radius:10px;display:inline-grid;place-items:center;width:38px;height:38px;letter-spacing:0}.sidebar-label{font-size:10px;letter-spacing:1.5px;color:#a0a4ae;margin:42px 12px 15px}.nav{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:13px 14px;margin:3px 0;background:none;color:#666d79;border-radius:9px;font-size:18px}.nav span{font-size:14px}.nav.active{background:#fff6d2;color:#252830;font-weight:600}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-bottom p{font-size:11px;color:#9298a2;line-height:1.9;padding:15px 13px 0;border-top:1px solid #eceef1}.sidebar-bottom p span{color:#b0b4bc}.main{padding:34px 38px 40px;flex:1;min-width:0;max-width:1800px}header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:32px}.eyebrow{font-size:10px;color:#9a9faa;letter-spacing:1.6px}h1{font-size:30px;letter-spacing:-.8px;font-weight:600;margin:8px 0 0}h2{font-size:17px;font-weight:600;margin:0}h3{font-size:16px;margin-top:28px}.site-picker{display:flex;gap:10px;align-items:center}.site-picker label{font-size:12px;color:var(--muted)}input,select,textarea{border:1px solid #dfe2e7;border-radius:7px;background:white;padding:10px 12px;color:#303540;min-width:0}select{max-width:300px}.primary,.secondary,.quick{border-radius:7px;padding:11px 16px;white-space:nowrap}.primary{background:var(--yellow);font-weight:600}.secondary{background:#fff;border:1px solid #dfe2e7}.quick{background:transparent;color:#676e7a;padding:8px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0}.toolbar form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar form>span:first-child{margin-right:4px;font-size:13px}.toolbar input{font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px}.metrics article{background:white;border:1px solid #e8eaef;border-radius:12px;padding:22px 24px}.metrics article>span{color:#686f7b;font-size:13px}.metrics strong{font-size:34px;font-weight:500;letter-spacing:-1.2px;display:block;margin:17px 0 12px}.metrics small{color:#9ca1aa;font-size:11px}.panel{background:white;border:1px solid #e8eaef;border-radius:12px;padding:24px;margin-bottom:22px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.panel-heading p{margin-bottom:0}.legend{font-size:12px;color:#7b818b;display:flex;align-items:center;gap:8px}.legend i{width:8px;height:8px;border-radius:100%;background:#e8b600}#chart > svg{width:100%;height:auto;max-height:320px;display:block}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.report-grid.single{grid-template-columns:1fr}.report-grid .panel{min-width:0}.export{font-size:12px;color:#747b87;white-space:nowrap}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:#9298a3;font-size:11px;font-weight:400;padding:0 10px 14px;border-bottom:1px solid #eceef1}td{padding:15px 10px;border-bottom:1px solid #f0f1f4;max-width:430px;overflow-wrap:anywhere}td:last-child,th:last-child{text-align:right}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fffcf0}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.footnote{max-width:1000px}.empty{text-align:center;padding:55px 15px;color:#989ea8}.notice{font-size:13px;line-height:1.7;background:#fff9e4;border-radius:8px;padding:14px 18px;color:#7c6b36}.error{color:#a12929;background:#ffeded;border-radius:8px;padding:14px;line-height:1.5}.badge{display:inline-block;font-size:10px;letter-spacing:1px;background:#eaf7ed;color:#438653;padding:6px 9px;border-radius:5px;margin-bottom:18px}#install-view p{line-height:1.7;max-width:850px}#snippet{display:block;width:100%;font-family:monospace;margin:20px 0 15px;background:#f8f9fb;padding:17px;resize:vertical}.add-form{display:flex;align-items:end;gap:15px;margin-top:22px}label{display:block;font-size:12px;color:#747b87}label input{display:block;margin-top:8px;width:100%}.add-form label{flex:1}.empty-hero{text-align:center;padding:70px 20px;color:#858b96}.empty-hero h2{color:#444b57;margin:25px 0 15px;font-size:24px}.empty-hero p{line-height:1.8}.empty-icon{font-size:48px;color:#caa013}.auth-card{max-width:440px;margin:10vh auto;background:white;padding:38px;border-radius:16px;border:1px solid #e5e8ed;box-shadow:0 15px 65px #25304408}.auth-card .brand{padding:0;margin-bottom:30px}.auth-card h1{font-size:28px;line-height:1.3}.auth-card form{margin-top:26px}.auth-card label{margin:18px 0}.auth-card button{width:100%;margin-top:10px}.hidden{display:none!important}@media(min-width:1600px){.main{padding:40px 55px}.metrics article{padding:28px}.panel{padding:28px}}@media(max-width:1100px){.sidebar{width:195px;padding-left:10px;padding-right:10px}.main{padding:25px 22px}.metrics{grid-template-columns:repeat(2,1fr)}header{align-items:flex-start;flex-direction:column}.toolbar{align-items:flex-start;flex-direction:column}.report-grid{grid-template-columns:1fr}}@media(max-width:680px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:18px 14px}.sidebar .brand{font-size:21px}.sidebar-label,.sidebar-bottom p{display:none}.sidebar nav{display:flex;overflow-x:auto;margin-top:15px;gap:5px}.nav{width:auto;white-space:nowrap;padding:10px;flex-shrink:0;font-size:15px}.sidebar-bottom{display:flex;padding-top:5px;margin-top:0}.sidebar-bottom form{margin-left:auto}.main{padding:22px 14px}.site-picker{flex-wrap:wrap}.site-picker label{display:none}select{max-width:100%;width:100%}.metrics{gap:10px}.metrics article{padding:17px 14px}.metrics strong{font-size:30px}.metrics small{font-size:10px;line-height:1.5;display:block}.panel{padding:20px 15px}.toolbar form{gap:7px}.toolbar input{width:135px}.add-form{flex-direction:column;align-items:stretch}.auth-card{margin:30px 15px;padding:28px}.panel-heading{gap:10px}h2{font-size:16px}}

.visit-pager{display:flex;gap:15px;align-items:center;margin:15px 0 20px}.visit-pager button:disabled{opacity:.4;cursor:default}.single table{min-width:900px}

/* Compact reports: one physical line per row; full values available on hover. */
.analytics-table th,.analytics-table td{white-space:nowrap;overflow-wrap:normal;word-break:normal;vertical-align:middle}
.analytics-table td{padding:13px 10px}
.analytics-table .cell-value{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px}
.analytics-table td:last-child .cell-value{margin-left:auto}
.analytics-table .page-link{color:#3768b5;text-decoration:none}
.analytics-table .page-link:hover{text-decoration:underline;color:#244b87}
.visits-table{table-layout:fixed;min-width:1610px!important;width:100%}
.visits-table th:nth-child(2){width:170px}
.visits-table th:nth-child(3){width:175px}
.visits-table th:nth-child(4){width:95px}
.visits-table th:nth-child(5){width:170px}
.visits-table th:nth-child(6){width:145px}
.visits-table th:nth-child(7){width:155px}
.visits-table th:nth-child(8),.visits-table th:nth-child(9){width:250px}
.visits-table th:nth-child(10){width:100px}
.visits-table .cell-value{max-width:100%}
.table-wrap{scrollbar-width:thin;scrollbar-color:#cbd0d9 #f5f6f8;padding-bottom:8px}
.user-form{display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin-top:20px}.user-form label{flex:1 1 200px;max-width:340px}.user-form label select{display:block;width:100%;margin-top:8px}.user-form button{margin-bottom:0}.user-toggle{margin-top:20px;color:#747b87}.user-toggle summary{cursor:pointer}.sites-table{min-width:900px}.sites-table th:not(:first-child),.sites-table td:not(:first-child){text-align:right}.site-name{display:block;color:#3768b5;font-weight:600;font-size:15px;line-height:1.6}.site-name:hover{text-decoration:underline}.site-domain{display:block;color:#9298a3;font-size:12px;line-height:1.8}.site-domain:hover{color:#3768b5}.sites-table td{padding-top:20px;padding-bottom:20px}@media(max-width:680px){.user-form{display:block}.user-form label{max-width:none;margin:16px 0}.user-form button{width:100%}}
.visits-table{min-width:1730px!important}.visits-table th:nth-child(11){width:120px}.replay-link{color:#6d42bb;white-space:nowrap;font-weight:600}.replay-link:hover{text-decoration:underline}.replay-controls{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:20px 0}.replay-controls label{display:flex;align-items:center;gap:8px}.replay-controls input[type=range]{flex:1;min-width:180px;padding:0}.replay-controls button:disabled{opacity:.4}#replay-pages{display:block;margin-top:8px;max-width:100%;width:100%}#replay-root{overflow:auto;min-height:150px;background:#f4f5f7;border-radius:8px;border:1px solid #e7e9ed}.rr-player,.replayer-wrapper{margin:0 auto}

#replay-root{display:flex;justify-content:center;align-items:flex-start;overflow:hidden;min-height:0;padding:0;width:100%}
#replay-stage{position:relative;flex-shrink:0;overflow:hidden}
.replay-expanded{position:fixed;inset:16px;z-index:1000;margin:0!important;overflow:auto;box-shadow:0 0 0 100vmax #171c29b3;border-radius:12px}
.replay-overlay-open{overflow:hidden}
#replay-time{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:680px){.replay-expanded{inset:6px;padding:14px}.replay-controls{gap:8px}.replay-controls button{padding:10px}.replay-controls input[type=range]{flex-basis:100%}}

.visits-table{min-width:1460px!important}
.visits-table th:nth-child(2){width:175px}.visits-table th:nth-child(3){width:95px}.visits-table th:nth-child(4){width:170px}.visits-table th:nth-child(5){width:145px}.visits-table th:nth-child(6){width:155px}.visits-table th:nth-child(7),.visits-table th:nth-child(8){width:250px}.visits-table th:nth-child(9){width:100px}.visits-table th:nth-child(10){width:120px}
.visit-pager{margin:22px 0 12px;padding-top:18px;border-top:1px solid #eceef1;justify-content:center}
.geo-credit{display:block;width:max-content;font-size:10px;color:#a0a6af;margin:14px 0 0 auto}
.goal-dot{display:inline-block;font-size:18px;line-height:20px;margin-right:5px;cursor:help}.goal-dot.partial{color:#e7b50a}.goal-dot.complete{color:#2aa05a}.goal-editor{margin-top:18px}.goal-editor summary{cursor:pointer;color:#707987}.goal-editor label{display:block;margin:16px 0;max-width:800px}.goal-editor textarea{display:block;width:100%;margin-top:8px;resize:vertical}.panel li{line-height:1.9}.panel li code{font-size:12px;color:#87909c;margin-left:10px}
.visits-table{min-width:1546px!important}.visits-table th:nth-child(2){width:86px}.visits-table th:nth-child(3){width:175px}.visits-table th:nth-child(4){width:95px}.visits-table th:nth-child(5){width:170px}.visits-table th:nth-child(6){width:145px}.visits-table th:nth-child(7){width:155px}.visits-table th:nth-child(8),.visits-table th:nth-child(9){width:250px}.visits-table th:nth-child(10){width:100px}.visits-table th:nth-child(11){width:120px}
button.goal-dot{background:transparent;border:0;padding:6px 5px;margin:0;min-width:28px;min-height:30px;font-size:19px;cursor:pointer;vertical-align:middle;line-height:20px}
button.goal-dot:hover{background:#f4f1ff;border-radius:6px}
.goal-tooltip{position:fixed;z-index:3000;max-width:min(380px,calc(100vw - 16px));padding:13px 16px;white-space:pre-line;background:#252830;color:#fff;border-radius:9px;box-shadow:0 8px 28px #0003;font-size:12px;line-height:1.7;pointer-events:none}
.goal-dialog{width:min(680px,calc(100vw - 28px));max-height:85vh;overflow:auto;border:1px solid #e3e6eb;border-radius:14px;padding:28px;color:#252830;font-family:inherit}
.goal-dialog::backdrop{background:#171c2980}.goal-close{float:right;margin:0 0 15px 15px}.goal-dialog h2{padding-top:10px}.goal-detail-item{border-top:1px solid #e8ebef;margin-top:22px;padding-top:4px}.goal-detail-item li{line-height:1.8;margin:8px 0}.goal-detail-item .done,.goal-complete{color:#24894b}.goal-detail-item .observed,.goal-partial{color:#9c7800}.goal-detail-item .pending{color:#9299a4}.conversion-chart{margin-top:24px}.conversion-chart svg{width:100%;height:auto;display:block}.conversion-funnel{padding-left:24px;margin-top:22px}.conversion-funnel li{padding:12px;border-bottom:1px solid #edf0f3}.conversion-funnel strong{float:right;margin-left:20px}.sidebar nav{overflow-y:auto;min-height:0}.sidebar-bottom{flex-shrink:0}
.goal-summary{display:inline-flex;align-items:center;gap:7px;background:transparent;border:0;border-radius:7px;cursor:pointer;padding:5px 4px;white-space:nowrap;min-height:34px}.goal-summary:hover{background:#f4f1ff}.goal-summary .goal-dot{font-size:13px;margin:0;line-height:20px}.goal-summary-label{font-size:10px;color:#939ba6}.visits-table th:nth-child(2){width:144px}.visits-table{min-width:1604px!important}.conversion-metrics{grid-template-columns:repeat(3,1fr)}.conversion-charts>:first-child{grid-column:1/-1}.goal-tooltip{max-height:min(450px,80vh);overflow:hidden}@media(max-width:800px){.conversion-metrics{grid-template-columns:repeat(2,1fr)}}
/* BeeStats 1.8: compact goal counters and collapsible navigation. */
.goal-summary .goal-dot{display:inline-grid;place-items:center;width:26px;height:26px;min-width:26px;border-radius:50%;font-size:12px;font-weight:700;line-height:1;color:#fff;background:#249b54;cursor:pointer}.goal-summary .goal-dot.partial{background:#f1c232;color:#45370a}.goal-summary .goal-dot:empty{width:16px;height:16px;min-width:16px}.goal-summary{gap:8px;min-width:34px}.nav-icon{width:20px;height:20px;min-width:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar .nav{color:#30343b}.sidebar-toggle{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:16px 10px 0 auto;border:1px solid #e7e9ed;border-radius:8px;background:#fff;color:#30343b}.sidebar .sidebar-label{margin-top:18px}.sidebar.collapsed{width:76px;padding-left:10px;padding-right:10px}.sidebar.collapsed .brand{font-size:0;padding:0;justify-content:center;gap:0}.sidebar.collapsed .brand b{font-size:27px}.sidebar.collapsed .sidebar-label,.sidebar.collapsed .nav-label,.sidebar.collapsed .sidebar-bottom p{display:none}.sidebar.collapsed .nav{justify-content:center;padding:13px 10px;gap:0}.sidebar.collapsed .sidebar-toggle{margin:16px auto}.sidebar.collapsed .sidebar-toggle svg{transform:rotate(180deg)}.sidebar.collapsed .sidebar-bottom{padding-top:12px}.sidebar.collapsed nav{margin-top:12px}
@media(max-width:680px){.sidebar.collapsed{width:100%;height:auto}.sidebar.collapsed .brand{justify-content:flex-start}.sidebar.collapsed nav{display:flex}.sidebar.collapsed .sidebar-bottom{display:flex}.sidebar-toggle{position:absolute;right:16px;top:10px}.sidebar.collapsed .sidebar-toggle{margin:16px 10px 0 auto}}
/* BeeStats 1.9 */
.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.sidebar-head .brand{padding-left:4px;padding-right:0;gap:8px;font-size:22px;white-space:nowrap}.sidebar-head .sidebar-toggle{margin:0;flex-shrink:0;width:26px;height:30px}.sidebar.collapsed .sidebar-head{position:relative;justify-content:center}.sidebar.collapsed .sidebar-head .sidebar-toggle{position:absolute;right:-22px;top:4px;z-index:2;background:#fff}.sidebar.collapsed .sidebar-head .brand{padding:0}.sidebar .sidebar-label{margin-top:34px}
select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23656d79' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:38px}
.overview-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.overview-chart{min-width:0}.overview-chart h3{margin:0 0 14px;font-size:14px;display:flex;justify-content:space-between;gap:10px}.chart-total{font-weight:400;color:#808793}.overview-plot svg{display:block;width:100%;height:auto}.landing-tree{margin-top:20px}.landing-tree summary,.landing-line{padding:12px 0;border-bottom:1px solid #edf0f3}.landing-tree summary{cursor:pointer;display:list-item;list-style-position:inside}.landing-path{display:inline-block;max-width:calc(100% - 85px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.landing-count{float:right;font-variant-numeric:tabular-nums;padding-left:12px}.landing-children{margin-left:18px;padding-left:12px;border-left:1px solid #e5e8ed}.landing-tree summary:hover,.landing-line:hover{background:#fffcf0}.landing-groups h2{margin-bottom:4px}
@media(max-width:1100px){.sidebar-head .brand{font-size:18px;gap:5px}.sidebar-head .brand b{width:32px;height:32px}.sidebar-head .sidebar-toggle{width:24px}.sidebar-head{gap:3px}}
@media(max-width:680px){.sidebar-head .sidebar-toggle,.sidebar.collapsed .sidebar-head .sidebar-toggle{position:static;margin:0}.sidebar.collapsed .sidebar-head{justify-content:space-between}.overview-charts{grid-template-columns:1fr}.sidebar-head .brand{font-size:22px}}
/* BeeStats 1.10: shared multi-series plots */
.combined-charts{display:block}.multi-chart-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0 18px}.chart-series-toggle{display:inline-flex;align-items:center;gap:7px;padding:4px 0;background:transparent;color:#59616e;font-size:12px}.chart-series-toggle svg,.chart-tooltip-row svg{width:12px;height:12px;flex-shrink:0}.chart-series-toggle[aria-pressed=false]{opacity:.4;text-decoration:line-through}.multi-chart{position:relative}.multi-chart > svg{display:block;width:100%;height:auto}.multi-chart>svg{max-height:390px}.chart-tooltip{position:absolute;top:12px;z-index:5;background:#252c37;color:#fff;border-radius:12px;padding:16px 18px;box-shadow:0 12px 35px #18202a30;min-width:210px;max-width:min(420px,calc(100% - 8px));max-height:80%;overflow-y:auto;font-size:13px;pointer-events:none}.chart-tooltip[hidden]{display:none}.chart-tooltip>strong{display:block;color:#bdc5d2;margin-bottom:12px}.chart-tooltip-row{display:flex;align-items:center;gap:8px;margin:9px 0}.chart-tooltip-row span{flex:1;overflow-wrap:anywhere}.chart-tooltip-row b{padding-left:14px;font-variant-numeric:tabular-nums}.chart-tooltip-row svg{width:12px!important;height:12px!important}.landing-chart-section{margin-top:28px;padding-top:26px;border-top:1px solid #e8ebef}.landing-chart-section h2{margin-bottom:8px}

.multi-chart>svg{max-height:none}.chart-tooltip{pointer-events:auto}

/* Scope plot sizing to the plot itself; legend symbols stay 12 px. */
#chart .chart-series-toggle svg,#chart .chart-tooltip-row svg{width:12px;height:12px;min-width:12px;max-width:12px;max-height:12px;flex:0 0 12px}.multi-chart-legend{margin:12px 0 4px;gap:6px 18px}.chart-series-toggle{font-size:12px;line-height:18px;padding:3px 0}.multi-chart > svg{max-height:none}

/* Visit start: compact UTC dates, with a full timestamp on hover. */
.visits-table th:first-child{width:100px;white-space:normal;line-height:16px}
.visits-table .visit-datetime-cell{white-space:nowrap}
.visit-datetime{display:inline-flex;flex-direction:column;gap:1px;font-variant-numeric:tabular-nums;line-height:17px}
.visit-date-label{font-size:11px;color:var(--muted)}
.visit-time-label{font-size:13px}
