@import url('/fonts.css');
:root{color-scheme:dark;--bg:#0e1013;--panel:#16191e;--panel2:#1b1f25;--line:#2b3038;--text:#edf0f4;--muted:#969eac;--lime:#b6ed7d;--violet:#b3a1ff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button,.button{border:1px solid transparent;border-radius:8px;padding:10px 15px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:.875rem;font-weight:600;text-decoration:none;white-space:nowrap}button:hover,.button:hover{filter:brightness(1.12)}button:disabled{opacity:.5;cursor:wait}a{color:inherit}input,select{background:#111418;border:1px solid #383e47;border-radius:7px;color:var(--text);padding:11px 12px;min-width:0}input::placeholder{color:#777f8c}input[type=checkbox]{accent-color:var(--lime);width:17px;height:17px}input[type=range]{accent-color:var(--lime);padding:0}label{display:flex;flex-direction:column;gap:9px;font-size:.875rem;line-height:1.5}form label{margin-bottom:20px}.primary{background:var(--lime);color:#192313}.secondary{background:var(--panel2);color:var(--text);border-color:#3a414b}.quiet{background:transparent;color:var(--muted);padding:8px 0}.icon-button{background:transparent;color:var(--muted);font-size:20px;padding:8px 12px}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{background:#121519;border-right:1px solid var(--line);padding:31px 19px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:0;font-size:30px;font-weight:750;letter-spacing:-1.8px;text-decoration:none}.brand-icon{background:var(--lime);color:#172016;width:35px;height:35px;display:grid;place-items:center;border-radius:10px;font-size:29px;margin-right:11px;font-weight:500}.brand-go{font-weight:350;color:#c6cbd3}.workspace{display:flex;gap:10px;align-items:center;padding:16px 10px;margin-top:34px;border:1px solid var(--line);border-radius:9px;font-size:.875rem}.workspace-avatar{display:grid;place-items:center;background:#29243e;color:#c9bcff;width:31px;height:32px;border-radius:6px}.workspace small,.privacy-mark small{display:block;color:var(--muted);font-size:.75rem;margin-top:4px}.nav-label{color:#727c8a;font-size:.75rem;letter-spacing:1.5px;margin:30px 12px 12px}.nav-item{width:100%;justify-content:flex-start;background:transparent;color:#a5adba;margin:3px 0;padding:13px 12px;gap:12px;font-weight:500}.nav-item>span:first-child{font-size:19px;width:20px}.nav-item.active{background:#252f22;color:var(--lime)}.nav-count{margin-left:auto;background:#3c4b32;border-radius:5px;padding:2px 6px;font-size:.75rem}.sidebar-bottom{margin-top:auto}.privacy-mark{display:flex;gap:10px;align-items:center;font-size:.8125rem;border-top:1px solid var(--line);padding:20px 7px}.privacy-mark>span{color:var(--lime);font-size:27px}.sidebar-bottom .quiet{margin-left:8px}main{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:.875rem;color:var(--muted)}.breadcrumb span{margin:0 15px;color:#56606c}.breadcrumb strong{color:#dce1e8;font-weight:500}.environment{font-size:.6875rem;letter-spacing:1.4px;color:#a6b19d;border:1px solid #394434;border-radius:4px;padding:6px 9px}.page{padding:35px 38px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading h1{font-size:1.8rem;letter-spacing:-.9px;margin:0 0 9px;font-weight:600}.muted{color:var(--muted);line-height:1.65}.small{font-size:.8125rem}.page-heading p{margin:0;font-size:.875rem}.actions{display:flex;gap:10px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;background:var(--panel);margin:0 0 28px}.stat{padding:23px 25px;position:relative}.stat+.stat{border-left:1px solid var(--line)}.stat-label{font-size:.8125rem;color:#abb3be;display:flex;justify-content:space-between}.stat-label span{color:#687482}.stat-value{font-size:2rem;letter-spacing:-1px;margin-top:14px;font-weight:550}.stat-note{font-size:.75rem;color:#7f8998;margin-top:9px}.stat-note.green{color:#a8d681}.filters{display:flex;gap:12px;align-items:center;padding:17px 19px;border-bottom:1px solid var(--line)}.search{flex:1;min-width:120px;max-width:340px}.filters select{max-width:235px}.table-panel{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.table-overflow{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:.75rem;font-weight:500;color:#8f98a7;background:#14171b;padding:14px 19px}td{font-size:.875rem;padding:19px;border-top:1px solid #262b33}tbody tr:hover{background:#1b2026}.visitor-cell{display:flex;align-items:center;gap:11px}.visitor-avatar{height:35px;width:35px;display:grid;place-items:center;background:#302a45;color:#c5b2f4;border:1px solid #473b63;border-radius:9px;font-size:.75rem}.visitor-cell small,.url-cell small{display:block;color:#929ba9;font-size:.75rem;margin-top:5px}.url-cell{max-width:300px;overflow:hidden;text-overflow:ellipsis}.pill{font-size:.75rem;border-radius:5px;background:#252b32;color:#b8c1cf;padding:4px 7px;display:inline-block}.pill.green{background:#263827;color:#b1da93}.pill.purple{background:#30273d;color:#c2a5ed}.pill.red{background:#42262b;color:#ffabb9}.watch{padding:7px 11px;background:#252d23;color:#b6ed7d;border-color:#394834}.table-footer{border-top:1px solid var(--line);padding:15px 19px;display:flex;justify-content:space-between;align-items:center;font-size:.8125rem;color:var(--muted)}.empty{text-align:center;padding:70px 25px}.empty-icon{font-size:34px;display:inline-grid;place-items:center;border:1px solid #3a4436;background:#20291e;color:var(--lime);width:67px;height:67px;border-radius:20px;margin-bottom:12px}.empty h2{font-size:1.2rem;font-weight:550}.empty p{max-width:440px;margin:0 auto 23px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:25px}.card h2{font-size:1.1rem;margin:0 0 9px;font-weight:550}.card-top{display:flex;justify-content:space-between;gap:15px}.card .origin{color:var(--muted);font-size:.875rem;margin-bottom:25px;word-break:break-all}.site-options{display:grid;gap:16px;margin:25px 0}.site-options label{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.site-options input[type=number]{width:105px;padding:7px 10px}.inline{flex-direction:row;align-items:center;gap:7px;font-size:.8125rem}.card-footer{border-top:1px solid var(--line);padding-top:17px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:.6875rem;letter-spacing:1.8px;color:#a7bb91;margin:0 0 10px}.login-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 25% 10%,#223023 0,transparent 50%),#0e1013;padding:25px}.login-card{max-width:455px;width:100%;padding:37px;background:#14181be8;border:1px solid #343c34;border-radius:18px}.login-card .brand{margin-bottom:40px}.login-card h1{font-size:1.85rem;line-height:1.25;letter-spacing:-1px}.login-card .primary{width:100%;justify-content:space-between}.login-card>.muted{margin-bottom:28px}#login-error{font-size:.875rem;color:#ff9daf}dialog{background:var(--panel);color:var(--text);border:1px solid #424953;border-radius:14px;padding:28px;max-width:650px;width:calc(100% - 32px);max-height:90vh}dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-title h2{margin:0;font-size:1.4rem}pre{white-space:pre-wrap;word-break:break-all;background:#0c0e11;padding:18px;border:1px solid var(--line);border-radius:8px;font-size:.8125rem;line-height:1.6;color:#c1ddad}code{font-size:.8125rem;color:#c1ddad}.replay-dialog{max-width:1450px;width:94vw;padding:0}.replay-head{display:flex;align-items:center;justify-content:space-between;padding:20px 25px}.replay-head h2{font-size:1rem;margin:0;word-break:break-all}.replay-stage{height:60vh;min-height:250px;background:#090b0e}.replay-notice{font-size:.8125rem;color:var(--muted);padding:6px 25px;background:var(--panel)}.replay-notice summary{cursor:pointer;width:fit-content;padding:4px 0}.replay-notice p{margin:6px 0 8px;line-height:1.5;max-width:65ch}.replay-notice:empty{display:none}.replay-controls{display:flex;gap:15px;align-items:center;padding:17px 24px;border-top:1px solid var(--line)}#timeline{flex:1;min-width:50px}#time{font-size:.8125rem;color:#b6bfcc;font-variant-numeric:tabular-nums}.replay-footer{display:flex;align-items:center;justify-content:space-between;padding:0 24px 20px;gap:20px}.replay-footer>div{display:flex;gap:10px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:15px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#d2eac0;color:#203016;border:1px solid #9abe81;box-shadow:0 15px 40px #0008;border-radius:9px;padding:14px 22px;z-index:1000;max-width:90vw}.settings-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:18px 0;gap:20px;font-size:.875rem}.settings-row:last-child{border-bottom:0}.danger{background:#40242b;color:#ffb5be}.notice{border:1px solid #41432c;background:#25271d;color:#c7cbab;padding:16px 20px;border-radius:9px;line-height:1.6;font-size:.875rem;margin-top:22px}@media(max-width:1100px){.shell{grid-template-columns:195px 1fr}.sidebar{padding:25px 12px}.page{padding:28px 22px}.topbar{padding:0 22px}.stat{padding:20px 15px}.cards{grid-template-columns:1fr}.replay-footer{flex-wrap:wrap}}@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:15px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:25px}.workspace,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:14px;overflow:auto}.nav-item{width:auto;padding:9px}.nav-item>span:first-child{display:none}.nav-count{display:none}.topbar{height:55px}.environment{font-size:10px}.page{padding:24px 15px}.page-heading{align-items:flex-start;flex-wrap:wrap}.stats{grid-template-columns:repeat(2,1fr)}.stat:nth-child(3){border-left:0}.stat:nth-child(n+3){border-top:1px solid var(--line)}.filters{flex-wrap:wrap;padding:12px}.filters input,.filters select{flex:1;max-width:none;width:100%}.replay-controls{gap:8px;flex-wrap:wrap;padding:14px}#timeline{flex-basis:40%}.replay-stage{height:45vh}.replay-footer{padding:0 14px 14px}.replay-footer>div{flex-wrap:wrap}.page-heading h1{font-size:1.6rem}.login-card{padding:25px}.card{padding:20px}}

.filters{flex-wrap:wrap}.filters label{display:flex;gap:6px;align-items:center;font-size:12px}.filters input[type=date]{max-width:150px}[data-favorite][aria-pressed=true]{color:#c4ed7f;font-size:22px}

.heatmap-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,430px),1fr));gap:24px}.heatmap-panels .filters select{max-width:100%}.heatmap-panels .page-heading h1{font-size:24px}

.recording-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:16px 20px}
.pagination-navigation{display:flex;align-items:center;justify-content:center;gap:12px}
.recording-pagination label{display:flex;flex-direction:row;align-items:center;gap:8px;white-space:nowrap;margin:0}
.recording-pagination input,.recording-pagination select{height:36px;padding:6px 10px}
.recording-pagination input{text-align:center}
.recording-pagination .pagination-size{justify-self:end}
.recording-pagination button:disabled{cursor:default}
@media(max-width:1200px){.recording-pagination{grid-template-columns:1fr 1fr}.pagination-navigation{grid-column:1/-1;grid-row:1}.recording-pagination>span{grid-column:1;grid-row:2}.recording-pagination .pagination-size{grid-column:2;grid-row:2}}
@media(max-width:500px){.recording-pagination{padding:14px 12px;gap:12px}.pagination-navigation{gap:7px;font-size:12px}.pagination-navigation button{font-size:12px}.pagination-navigation #page-number{width:46px!important}.recording-pagination>span{font-size:11px}.pagination-navigation #first-page,.pagination-navigation #last-page{display:none}}

#visitor-details-dialog{width:min(760px,calc(100vw - 32px))}.visitor-pages{padding-left:22px}.visitor-pages li{padding:9px 0;overflow-wrap:anywhere}.visitor-pages small,.visitor-pages strong{display:block;font-size:12px}#visitor-details-dialog .settings-row{gap:20px}#visitor-details-dialog .settings-row strong{overflow-wrap:anywhere;text-align:right;max-width:65%}

#insight-results > .card,#insight-results > .cards {margin-top:24px} #insight-results td{overflow-wrap:anywhere} #insight-results textarea{width:100%;background:var(--panel);color:inherit;padding:12px;border:1px solid #394049;border-radius:8px} #profile-dialog{width:min(900px,94vw);max-width:94vw} .insight-funnel{margin-bottom:24px} #funnel-form{max-width:600px}
#insight-results .cards{grid-template-columns:repeat(2,minmax(0,1fr))} #insight-results .card{min-width:0;max-width:100%} #insight-results td small{display:block} .sidebar{min-width:0} @media(max-width:1100px){#insight-results .cards{grid-template-columns:minmax(0,1fr)}}

.filters .visited-page-filter{flex:1 1 250px;align-items:stretch}.filters .visited-page-filter input{width:100%;max-width:none}.visited-page-help{margin:0;padding:0 20px 14px}

.insight-funnels-dialog{width:min(850px,94vw);max-width:94vw} #create-funnel-dialog{width:min(600px,94vw);max-width:94vw} #create-funnel-dialog textarea{width:100%;background:var(--panel);color:inherit;padding:12px;border:1px solid var(--line);border-radius:8px;font:inherit} .insight-funnels-dialog .insight-funnel+.insight-funnel{border-top:1px solid var(--line);padding-top:16px}

.recommendations{margin-bottom:24px}.recommendations-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.recommendations-head h2{margin:0}.recommendations-head p{margin:8px 0 16px}.recommendation-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.recommendation-list{max-height:440px;overflow:auto}.recommendation-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid var(--line)}.recommendation-row p{margin:0 0 8px;line-height:1.6}.recommendation-row>div{min-width:0;overflow-wrap:anywhere}.recommendation-context{display:block;margin-top:6px}.recommendation-row .watch{flex-shrink:0}@media(max-width:600px){.recommendation-row{align-items:start;flex-direction:column;gap:12px}}

.live-badge{display:inline-flex;align-items:center;gap:4px;background:#243c2b;border:1px solid #426d4b;color:#b6ed7d;border-radius:20px;padding:3px 8px;font-size:11px;white-space:nowrap;vertical-align:middle} #live-only[aria-pressed=true]{border-color:var(--lime)}

.recording-filter-main{display:grid;grid-template-columns:minmax(190px,1fr) minmax(220px,1.5fr) auto;gap:16px;align-items:end;padding:20px}.recording-filter-main label{align-items:stretch;font-size:12px;color:var(--muted);gap:8px}.recording-filter-main input,.recording-filter-main select{width:100%;height:44px;max-width:none!important}.recording-filter-actions{display:flex;align-items:center;gap:8px;height:44px}.recording-filter-actions button{height:44px}.recording-filter-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px;border-top:1px solid var(--line);background:#111418;border-radius:0}.recording-filter-options label{color:var(--muted);font-size:12px;align-items:stretch}.recording-filter-options input,.recording-filter-options select{width:100%!important;max-width:none!important;height:42px}.recording-filter-summary{border-top:1px solid var(--line);padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.recording-filter-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.recording-filter-summary .visited-page-help{padding:0;margin:0;font-size:12px}.filter-chip{font-size:12px;padding:6px 10px;background:#252d23;color:#c8dfaF;border:1px solid #3d4b35;max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere}.recording-filter-summary .quiet{font-size:12px;flex-shrink:0}@media(max-width:1150px){.recording-filter-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.recording-filter-actions{grid-column:1/-1}.recording-filter-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.recording-filter-main{grid-template-columns:minmax(0,1fr);padding:16px;gap:12px}.recording-filter-actions{height:auto;flex-wrap:wrap}.recording-filter-actions button{flex:1;padding:9px 11px;font-size:12px}.recording-filter-options{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:12px}.recording-filter-summary{padding:12px 16px;align-items:start}.recording-filter-summary .visited-page-help{line-height:1.6}}
.recording-filter-main .visited-page-filter input{flex:none;height:44px}.recording-filter-main .visited-page-filter{gap:8px}

/* Smart reports remain behind explicit actions, with compact recording filters. */
.smart-report-actions,.saved-segments{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:16px 22px;border-top:1px solid var(--border,#303640)}
.smart-report-actions button{font-size:13px;padding:9px 13px}
.saved-segments label{margin:0;min-width:200px;max-width:350px;flex:1}.saved-segments select{width:100%}
.smart-dialog{width:min(1100px,94vw);max-width:94vw;max-height:88vh;overflow:auto}
.smart-dialog td{white-space:normal;overflow-wrap:anywhere}.smart-dialog th{white-space:nowrap}
.smart-report-card{padding:18px 0;border-top:1px solid #303640}
.smart-dialog small{display:block}.smart-dialog form{display:grid;gap:14px}
.recording-summary{max-width:380px;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}
.replay-context{border-top:1px solid #303640;padding:12px 24px}.replay-context summary{cursor:pointer;color:#bedf87}
.replay-context [data-context-body]{max-height:32vh;overflow:auto;padding:10px 0}.replay-context form{display:flex;gap:12px;align-items:end;margin:12px 0}.replay-context label{flex:1;margin:0}.replay-context textarea{width:100%}
.marker-list{display:flex;gap:8px;flex-wrap:wrap}.note-row{display:flex;gap:12px;align-items:center;margin:10px 0}.note-row span{flex:1;white-space:pre-wrap;overflow-wrap:anywhere}
.share-wrap{max-width:1200px;margin:24px auto;padding:20px}.share-stage{height:65vh;min-height:260px;background:#090b0d}.share-controls{display:flex;gap:12px;align-items:center;padding:16px 0}.share-controls input{flex:1}
@media(max-width:700px){.smart-report-actions,.saved-segments{padding:12px}.smart-dialog{padding:16px}.replay-context{padding:10px 14px}.replay-context form{flex-wrap:wrap}.recording-summary{max-width:220px}}
.smart-report-menu{padding:12px 22px;border-top:1px solid #303640}.smart-report-menu summary{cursor:pointer;font-size:13px;color:#bdceaa}.smart-report-menu .smart-report-actions{border:0;padding:12px 0 0}.replay-marker-strip{position:relative;height:24px;margin:0 24px;border-top:2px solid #50623a}.issue-pin{position:absolute;top:-12px;background:transparent;border:0;padding:0 2px;color:#bfdc8a;font-size:17px;cursor:pointer}

.recording-filter-actions #refresh{min-width:148px;white-space:nowrap}.recording-filter-actions #refresh.has-updates{color:var(--accent,#c1ed83);border-color:#78994d}

/* Incremental row updates use an explicit viewport anchor. */
#content .table-panel{overflow-anchor:none}
.traffic-chart{border:1px solid var(--line,#303640);border-radius:14px;background:var(--panel,#151a20);padding:20px 24px 12px;margin-bottom:20px;overflow:hidden;overflow-anchor:none}.traffic-heading{display:flex;justify-content:space-between;gap:12px;align-items:start;min-height:58px}.traffic-heading h2{font-size:16px;margin:0 0 6px}.traffic-heading p{margin:0}.traffic-heading strong{font-size:14px;white-space:nowrap;color:#c1ed83}.traffic-plot{height:170px;position:relative}.traffic-plot svg{display:block;width:100%;height:170px}.traffic-tooltip{position:absolute;top:8px;transform:translateX(-50%);background:#0c1015;border:1px solid #526442;color:#e2e8de;padding:8px 12px;border-radius:8px;font-size:12px;pointer-events:none;max-width:90%;white-space:nowrap}.traffic-axis{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;min-height:22px}.traffic-explorer{width:100%;height:14px;accent-color:#c1ed83;margin:4px 0}.traffic-detail{height:32px;line-height:16px;margin:4px 0 0;overflow:hidden}.traffic-heading p{max-width:100%}@media(max-width:600px){.traffic-chart{padding:16px 14px 10px}.traffic-heading{display:block;min-height:84px}.traffic-heading strong{display:block;margin-top:8px}.traffic-tooltip{white-space:normal;width:220px}.traffic-plot,.traffic-plot svg{height:140px}}

.billing-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}.billing-plans li{margin:12px 0}.billing-plans h3{font-size:28px}@media(max-width:850px){.billing-plans{grid-template-columns:1fr}}

/* Recording list: keep desktop rows within the workspace width. */
.recording-table{table-layout:fixed;white-space:normal}
.recording-table th,.recording-table td{padding:14px 8px;overflow-wrap:anywhere}
.recording-table th button{padding:4px 0;white-space:normal;text-align:left;font-size:12px}
.recording-table th:nth-child(1){width:34px}.recording-table th:nth-child(2){width:60px}
.recording-table th:nth-child(4){width:116px}
.recording-table th:nth-child(5){width:76px}.recording-table th:nth-child(6){width:106px}
.recording-table th:nth-child(7){width:86px}
.recording-table .visitor-cell{align-items:flex-start;min-width:0}
.recording-table .visitor-cell>div{min-width:0;flex:1}
.recording-table .visitor-avatar{flex-shrink:0}
.recording-table .visitor-page{margin-top:8px;font-size:12px}
.recording-table .visitor-page button{white-space:normal;text-align:left;padding:5px 0}
.recording-table .recording-summary{white-space:normal;max-width:none}
.recording-table .watch-priority strong{display:block;font-size:17px;color:var(--accent,#b9ed79)}
.recording-table .watch-priority span{display:block;margin-top:5px;color:#929ba9;font-size:12px}
.recording-table .watch{padding:9px 8px;white-space:nowrap}
@media(max-width:760px){.recording-table{min-width:740px}}

.recording-table .engagement-line{display:block;margin-top:4px}
@media(min-width:1101px){
.recording-table th:nth-child(1){width:4%}
.recording-table th:nth-child(2){width:6%}
.recording-table th:nth-child(3){width:44%}
.recording-table th:nth-child(4){width:15%}

.recording-table th:nth-child(5){width:9%}
.recording-table th:nth-child(6){width:12%}
.recording-table th:nth-child(7){width:10%}
}

/* Introductory sale */
.sale-banner{background:#bbee79;color:#14200c;display:flex;align-items:center;justify-content:center;gap:24px;padding:18px 24px}.sale-banner strong{font-size:20px}.sale-banner p{margin:4px 0 0;font-size:14px;color:#30451e}.sale-banner a{color:#14200c;font-weight:700;white-space:nowrap}.sale-stamp{font-size:26px;font-weight:900;letter-spacing:-1px;border:2px solid #264015;border-radius:9px;padding:9px 14px;white-space:nowrap}.sale-chip{display:inline-block;background:#bbee79;color:#14200c;padding:6px 11px;border-radius:6px;font-size:12px;font-weight:800;letter-spacing:.06em;margin:8px 0 12px}.old-price{display:block;font-size:22px;font-weight:500;color:#a0a7af;text-decoration-thickness:2px;line-height:1.4}.plan .price,.billing-plans .price{color:#bbee79}.billing-plans .price{font-size:38px}.billing-plans .price small{font-size:15px}.plan .secondary{border-color:#bbee79}.plan.featured .secondary{background:#bbee79;color:#14200c}@media(max-width:650px){.sale-banner{gap:12px;flex-wrap:wrap;padding:16px}.sale-banner>div{flex:1;min-width:180px}.sale-banner strong{font-size:17px}.sale-banner a{font-size:14px}.sale-stamp{font-size:22px}.sale-banner p{font-size:12px}}
/* Keep account navigation reachable when the sidebar becomes a mobile menu. */
@media(max-width:760px){.sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding-top:8px;border-top:1px solid var(--line)}.sidebar-bottom .privacy-mark{display:none}.sidebar-bottom .quiet{min-height:44px;padding:10px 8px}.sidebar-bottom #logout{width:auto;margin:0}}

.heatmap-filters .heatmap-filter-field{align-items:stretch;flex:1 1 190px;min-width:0}.heatmap-filters .heatmap-filter-field select{width:100%;max-width:100%;min-height:44px}.heatmap-filters{align-items:end}@media(max-width:760px){.heatmap-filters{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.heatmap-filters .heatmap-filter-field{width:100%;font-size:13px}.heatmap-filters select{flex:none!important;font-size:16px}.shell{grid-template-rows:auto 1fr}.sidebar{align-self:start}}

.growth-funnel{display:flex;flex-wrap:wrap;gap:14px}.growth-funnel>div{flex:1 1 120px;background:#202820;padding:16px;border-radius:10px}.growth-funnel strong{display:block;font-size:28px;color:var(--lime)}.growth-funnel span,.growth-funnel small{display:block;margin-top:6px}#content>.card,#content>.cards{margin-bottom:20px}.recording-table [data-mark]{display:block}

.opt-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.opt-tabs [aria-pressed="true"]{background:#bbed79;color:#17210e;border-color:#bbed79}.opt-form{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:20px 0}.opt-form label{flex:1;min-width:180px}.opt-code{white-space:pre-wrap;overflow-wrap:anywhere}.journey-edges>div{display:grid;grid-template-columns:minmax(0,2fr) 1fr 40px;gap:12px;padding:8px 0;align-items:center}.journey-edges span{overflow-wrap:anywhere}.journey-edges meter{width:100%}#opt-body td{overflow-wrap:anywhere}#key-result{overflow-wrap:anywhere}#opt-body details{padding:16px 0;border-bottom:1px solid #46505a}#opt-body select,#opt-body input:not([type=checkbox]),#opt-body textarea{max-width:100%}@media(max-width:650px){.optimize-filters{display:grid;grid-template-columns:1fr}.optimize-filters select{width:100%}.opt-form{display:grid;grid-template-columns:minmax(0,1fr)}.opt-form label{min-width:0}.opt-tabs button{flex:1 1 100px}#opt-body{min-width:0}.journey-edges>div{grid-template-columns:minmax(0,1fr) 70px 30px}}
.optimize-filters select,#opt-body select,#opt-body input:not([type=checkbox]),#opt-body textarea{appearance:none;-webkit-appearance:none;min-height:44px;padding:10px 12px;background:#10151a;color:#e9edf1;border:1px solid #46505a;border-radius:8px;font:inherit;box-sizing:border-box;width:100%}.optimize-filters label{text-align:left}.optimize-filters select,#opt-body select{padding-right:28px;background-image:linear-gradient(45deg,transparent 50%,#e9edf1 50%),linear-gradient(135deg,#e9edf1 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px;background-repeat:no-repeat}#opt-body td{max-width:320px}#opt-body .opt-form button{min-height:44px}
.goals-dialog{width:min(760px,calc(100vw - 24px));max-height:90vh;overflow:auto;box-sizing:border-box}.goals-dialog input:not([type=checkbox]),.goals-dialog select,.goals-dialog textarea{width:100%;box-sizing:border-box;min-height:44px;font:inherit;padding:10px;background:#10151a;color:#e9edf1;border:1px solid #46505a;border-radius:8px}.goals-dialog label{display:block;margin:12px 0}.goal-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.goal-list>div{border-bottom:1px solid #46505a;padding:12px 0}.goals-dialog .actions{display:flex;flex-wrap:wrap;gap:8px}.goals-dialog p{overflow-wrap:anywhere}.goals-dialog [hidden]{display:none!important}@media(max-width:650px){.goal-fields{grid-template-columns:1fr}.goals-dialog{padding:18px}.goals-dialog .dialog-title h2{font-size:22px}}
@media(max-width:760px){.sidebar .workspace{display:flex;width:100%;margin:8px 0}.sidebar .workspace label{display:block}.sidebar .workspace select{font:inherit}}

.team-access form{display:grid;gap:16px;max-width:640px;padding:16px 0}.team-access label:not(.team-check){display:grid;gap:8px}.team-access .team-check{display:flex;align-items:center;gap:10px;padding:8px 0}.team-access input[type=checkbox]{width:20px;height:20px;flex:none}.team-access fieldset{border:1px solid var(--border,#343c44);border-radius:10px;padding:12px}.team-access details{max-width:100%;min-width:240px}.team-access .settings-row{flex-wrap:wrap;gap:16px}.team-access [hidden]{display:none!important}

body[data-team-admin="false"] #add-site,body[data-role="analyst"] [data-save],body[data-role="analyst"] [data-remove-site],body[data-role="analyst"] #delete-recording,body[data-role="analyst"] #bulk-delete,body[data-role="viewer"] [data-save],body[data-role="viewer"] [data-remove-site],body[data-role="viewer"] #delete-recording,body[data-role="viewer"] #bulk-delete,body[data-role="viewer"] #export-video{display:none!important}body[data-role="analyst"] .site-options,body[data-role="viewer"] .site-options{pointer-events:none;opacity:.65}

.ip-exclusions-dialog{width:min(600px,calc(100vw - 32px));max-height:90vh;overflow:auto;padding:24px}.ip-exclusions-dialog label{display:grid;gap:8px}.ip-exclusions-dialog textarea{width:100%;box-sizing:border-box}.ip-exclusions-dialog [data-current]{margin-top:12px;max-width:100%;overflow-wrap:anywhere}
.ip-exclusions-dialog{box-sizing:border-box}.ip-exclusions-dialog form,.ip-exclusions-dialog label{min-width:0}.ip-exclusions-dialog p{overflow-wrap:anywhere}

.country-flag{font-size:1.1em;white-space:nowrap}.visitor-context{white-space:normal!important}#geo-credit{grid-column:1 / -1;text-align:center;padding:8px 16px;margin:0}
.audience-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px;margin:24px 0}.audience-grid section{min-width:0}.audience-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;background:transparent;color:inherit;border:0;text-align:left;padding:12px 0;border-radius:4px}.audience-bar>span:first-child{overflow-wrap:anywhere}.audience-bar strong{font-size:.85em}.audience-track{grid-column:1/-1;background:#30383d;height:8px;border-radius:8px;overflow:hidden}.audience-track>span{display:block;height:100%;background:#bbed79;border-radius:8px}.audience-bar:hover{background:#ffffff08}.audience-recordings{padding:0;list-style:none}.audience-recordings li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #30383d}.audience-recordings li span{overflow-wrap:anywhere}
.playback-timeline{position:relative;flex:1;min-width:70px;height:44px;display:flex;align-items:center}.playback-timeline #timeline{width:100%;margin:0;height:44px;min-width:0}.playback-timeline #timeline-markers{position:absolute;left:8px;right:8px;top:50%;height:0;pointer-events:none}.timeline-event{position:absolute;top:0;transform:translate(-50%,-50%);width:24px;height:32px;padding:0;border:0;background:transparent;color:#bbed79;font-size:16px;line-height:1;pointer-events:auto;text-shadow:0 1px 2px #000;z-index:1}.timeline-event:hover,.timeline-event:focus-visible{color:#fff;z-index:2}@media(max-width:760px){.playback-timeline{flex-basis:100%;order:2}}
.consent-settings{width:720px;max-width:calc(100vw - 24px);max-height:90vh;overflow:auto}.consent-settings label{display:block;margin:12px 0}.consent-settings input,.consent-settings select,.consent-settings textarea{display:block;width:100%;max-width:100%;box-sizing:border-box}.consent-settings [data-preview]{padding:20px;border:1px solid #899388;border-radius:12px;background:white;color:#18221b}.consent-settings [data-preview] button{min-height:44px;max-width:100%;white-space:normal}.consent-settings code{overflow-wrap:anywhere}.consent-settings [hidden]{display:none!important}
.consent-settings select,.consent-settings textarea{font:16px/1.5 system-ui;padding:10px 12px;min-height:44px;border:1px solid #404954;border-radius:8px;background:#101519;color:#e9ecef}.consent-settings input[type=color]{min-height:44px}

/* Website settings must fit the viewport, including their action buttons. */
.card[data-site]{min-width:0;max-width:100%}
.card[data-site] .card-top{align-items:flex-start}
.card[data-site] .card-top>div{min-width:0}
.card[data-site] .card-top>.pill{flex-shrink:0}
.card[data-site] .site-options{min-width:0;grid-template-columns:minmax(0,1fr)}
.card[data-site] .site-options label{gap:16px;min-width:0}
.card[data-site] .site-options select{min-width:0;max-width:100%}
.card[data-site] .site-options input{flex-shrink:0}
.card[data-site] .card-footer{flex-wrap:wrap;justify-content:flex-start;gap:10px}
.card[data-site] .card-footer button{white-space:normal;min-height:44px;max-width:100%}
@media(max-width:760px){
 .cards{grid-template-columns:minmax(0,1fr)}
 .card[data-site] .card-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .card[data-site] .card-footer button{width:100%;padding:10px 8px}
 .card[data-site] .site-options label:has(select){flex-direction:column;align-items:stretch;gap:8px}
 .card[data-site] .site-options select{width:100%}
 .card[data-site] .site-options input[type=number]{width:90px;max-width:100%}
 .card[data-site] .pill{white-space:normal;overflow-wrap:anywhere}
}

#remove-site-dialog{width:min(600px,calc(100vw - 32px));min-width:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}
#remove-site-summary{overflow-wrap:anywhere;line-height:1.5}
#remove-site-name{width:100%;min-width:0;font-size:16px}
#remove-site-dialog .actions{margin-top:18px;flex-wrap:wrap}
#remove-site-dialog .actions button{white-space:normal;min-width:0;min-height:44px;max-width:100%}
@media(max-width:600px){
 #remove-site-dialog{padding:20px}
 #remove-site-dialog .actions{display:grid;grid-template-columns:minmax(0,1fr)}
 #remove-site-dialog .actions button{width:100%}
}

.mobile-recording-tools,.mobile-recording-details{display:none}
.recording-extra{display:contents}
@media(max-width:760px){
 .mobile-recording-tools{display:flex;flex-wrap:wrap;gap:12px;padding:16px;border-bottom:1px solid var(--line)}
 .mobile-recording-tools label{flex:1 1 100%;min-width:0}
 .mobile-recording-tools select{width:100%;font-size:16px}
 .mobile-recording-tools .mobile-select-all{flex-direction:row;align-items:center}
 .recording-table,.recording-table tbody{display:block;width:100%;min-width:0!important;white-space:normal}
 .recording-table thead{display:none}
 .recording-table tr[data-recording-id]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px;margin:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
 .recording-table tr[data-recording-id]>td{display:block;width:auto!important;min-width:0;max-width:none;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}
 .recording-table tr>td:nth-child(1){grid-column:1;grid-row:1}
 .recording-table tr>td:nth-child(2){grid-column:2;grid-row:1;justify-self:end}
 .recording-table tr>td:nth-child(3){grid-column:1/-1;grid-row:2}
 .recording-table tr>td:nth-child(6){grid-column:1/-1;grid-row:3;color:var(--muted);font-size:13px}
 
 .recording-table tr>td:nth-child(5){grid-column:2;grid-row:4;text-align:right}
 .recording-table tr>td:nth-child(4){grid-column:1/-1;grid-row:5}
 .recording-table tr>td:nth-child(7){grid-column:1/-1;grid-row:6;display:flex;flex-wrap:wrap;gap:10px}
 .recording-table .visitor-cell{min-width:0;max-width:100%;align-items:flex-start}
 .recording-table .visitor-cell>div{min-width:0;flex:1}
 .recording-table .visitor-avatar{flex-shrink:0}
 .recording-table .visitor-page,.recording-table .visitor-cell small{max-width:100%;white-space:normal;overflow:visible;text-overflow:clip}
 .recording-table .recording-summary{max-width:100%;white-space:normal}
 .recording-table .recording-extra{display:none}
 .recording-table .details-expanded .recording-extra{display:block;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
 .recording-table [data-visitor-details]{white-space:normal;text-align:left}
 .recording-table .watch-priority{display:flex;align-items:center;gap:12px}
 .recording-table .watch{flex:1;min-height:44px}
 .recording-table .mobile-recording-details{display:inline-flex;min-height:44px}
 .recording-table [data-mark]{flex-basis:100%;text-align:left}
}
@media(max-width:760px){.page-heading>.actions{flex-wrap:wrap;max-width:100%}.page-heading>.actions button{white-space:normal}}
.mobile-recording-tools select{min-height:44px;padding:10px}

.mobile-recording-extra{display:none}
.details-chevron{display:block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);flex-shrink:0}
[aria-expanded=true]>.details-chevron{transform:translateY(2px) rotate(225deg)}
@media(max-width:760px){
 .recording-table .details-expanded .recording-extra{display:none}
 .recording-table .details-expanded .mobile-recording-extra{display:block;flex-basis:100%;min-width:0;width:100%;border-top:1px solid var(--line);padding-top:14px}
 .mobile-recording-extra>small{display:block;margin-bottom:6px;color:var(--muted)}
 .mobile-recording-extra .recording-summary{display:block;max-width:100%}
}

.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.workspace-header #logout{min-height:44px;flex-shrink:0;font-size:13px}
@media(max-width:760px){
 .workspace-header{flex-wrap:nowrap}
 .sidebar .workspace{margin-top:12px;padding:12px}
 .sidebar nav{margin-top:12px}
 .sidebar-bottom{display:none}
 #workspace-select{font-size:16px}
}

#mobile-menu-toggle,.menu-group{display:none}
#mobile-navigation{margin:0 0 0 auto;width:min(360px,calc(100vw - 24px));max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;padding:20px;overflow:auto}
#mobile-navigation nav{display:block}
#mobile-navigation .nav-item{display:flex;width:100%;min-height:44px;white-space:normal;text-align:left}
#mobile-navigation .menu-group{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:1px;margin:22px 12px 8px}
#mobile-navigation .dialog-title{margin-bottom:12px}
body.navigation-open{overflow:hidden}
@media(max-width:760px){#mobile-menu-toggle{display:inline-flex;min-width:44px;min-height:44px}.workspace-header{gap:8px}.workspace-header .brand{margin-right:auto}.workspace-header #logout{font-size:12px}.sidebar .nav-label{display:none}}

#mobile-navigation .menu-group{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin:14px 0 4px;padding:12px;background:transparent;border-top:1px solid var(--line);border-radius:0;color:var(--text);font-size:13px;font-weight:700;text-align:left}
#mobile-navigation .navigation-group-links{margin-left:14px;padding-left:8px;border-left:1px solid var(--line)}

.goals-bottom-actions{display:flex;justify-content:flex-end;padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}
.goals-bottom-actions button{min-height:44px;min-width:100px}
#goal-results:not(:empty){margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}

.goals-dialog .goal-form-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.goals-dialog .goal-form-actions button{width:100%;min-height:48px;white-space:normal;padding:12px}
.goals-dialog .goal-form-actions [type=submit],.goals-dialog #goal-new{grid-column:1/-1}
.goals-dialog .goals-bottom-actions{display:block;margin-top:24px;padding-top:20px}
.goals-dialog .goals-bottom-actions button{width:100%;min-height:48px;font-weight:600;border-color:#78818e;background:#303640;color:var(--text)}

.recommendation-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;margin-bottom:12px;border:1px solid #536447;border-radius:8px;background:#252f22;font-size:14px}
.recommendation-undo span{min-width:0}.recommendation-undo button{min-height:44px;flex-shrink:0}

.insight-context-filters{align-items:flex-end;gap:12px}
.insight-context-filters label{min-width:0;color:var(--muted);font-size:14px}
.insight-context-filters .insight-website-field{flex:1}
.insight-context-filters select{width:100%;max-width:none;min-height:44px;font-size:16px}
@media(max-width:760px){.insight-context-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:16px}.insight-context-filters .insight-website-field{grid-column:1/-1}.insight-context-filters select{height:44px}.insight-context-filters button{min-height:44px}}

/* Visitor survey editor and response cards */
.survey-form{margin:24px 0}.survey-form fieldset{border:0;padding:0;min-width:0}.survey-form label{display:block;margin:16px 0}.survey-form textarea,.survey-form input:not([type=checkbox]),.survey-form select{width:100%;min-width:0}.survey-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.survey-actions{display:flex;flex-wrap:wrap;gap:12px}.survey-response,#survey-preview-box{padding:20px;margin:16px 0;border:1px solid var(--border,#343a43);border-radius:12px;overflow-wrap:anywhere}.survey-response p{white-space:pre-wrap}.survey-form [hidden]{display:none}@media(max-width:600px){.survey-fields{grid-template-columns:1fr}.survey-actions>button{flex:1 1 100%}}
.audience-location{margin:28px 0;border:1px solid var(--line);border-radius:14px;padding:20px;min-width:0}.geo-map{height:380px;width:100%;background:#111e29;border:1px solid #41505a;border-radius:10px;z-index:0;overflow:hidden}.geo-heat{position:absolute;inset:0;pointer-events:none;z-index:450}.geo-map .leaflet-overlay-pane{z-index:460}.geo-map .leaflet-tooltip-pane{z-index:650}.geo-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.geo-tools>div{display:flex;gap:8px}.geo-tools button[aria-pressed=true]{background:#c3ef84;color:#17210e}.geo-legend{display:flex;align-items:center;gap:10px;font-size:12px}.geo-legend i{height:10px;flex:1;max-width:180px;background:linear-gradient(90deg,#1e6ef0,#14d2dc,#f5e141,#f5412d);border-radius:8px}.geo-regions{max-height:300px;overflow:auto}.geo-regions>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line)}.geo-selection:empty{display:none}.geo-selection li{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:8px 0}.geo-selection ul{padding:0;list-style:none;max-height:250px;overflow:auto}.geo-map .leaflet-control-zoom a{color:#17210e}.geo-map .leaflet-control-attribution{font-size:10px;color:#17210e}.geo-map .leaflet-control-attribution a{color:#164575}.geo-map .leaflet-tooltip{background:#fff;color:#17210e;border:0}.geo-legend[hidden]{display:none}@media(max-width:600px){.audience-location{padding:12px}.geo-map{height:300px}.geo-tools button{font-size:12px;padding:9px}.geo-legend{font-size:10px}}
.geo-map.leaflet-container{background:#111e29}
/* Discoverable workspace navigation and dedicated tools. */
#workspace-navigation{overflow-y:auto;min-height:0;flex:1;padding-bottom:16px}
.nav-search-label{margin:14px 0 18px;color:var(--muted);font-size:12px}.nav-search-label input{width:100%;font-size:14px}
#workspace-navigation .menu-group{display:flex;width:100%;justify-content:space-between;padding:14px 10px;margin-top:8px;border-radius:8px;color:var(--text);font-size:15px;text-transform:none;letter-spacing:0;background:transparent}
#workspace-navigation .current-group>.menu-group{color:var(--lime)}
#workspace-navigation .navigation-group-links{margin-left:10px;padding-left:10px;border-left:1px solid var(--line)}
#workspace-navigation .nav-item{white-space:normal;text-align:left;padding:10px;font-size:13px;min-height:40px}
#workspace-navigation .search-excluded{display:none!important}
.feature-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.feature-directory .card{margin:0}.directory-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.directory-links button{justify-content:space-between;white-space:normal;text-align:left;min-height:50px}.feature-directory h2{margin-top:0}
@media(min-width:761px){.sidebar{padding-top:20px}.sidebar>.nav-label{display:none}.sidebar-bottom{display:none}.sidebar .workspace-header{flex-shrink:0}}
@media(max-width:760px){.feature-directory,.directory-links{grid-template-columns:minmax(0,1fr)}#mobile-navigation #workspace-navigation{overflow:visible}.nav-search-label input{font-size:16px}#workspace-navigation .nav-item{font-size:15px;min-height:44px}}

.mobile-bottom-nav{display:none}
@media(max-width:760px){.mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:100;background:#161b20;border-top:1px solid #39434b;padding:6px 8px calc(6px + env(safe-area-inset-bottom))}.mobile-bottom-nav button{flex-direction:column;gap:5px;padding:7px 2px;color:#aab3bf;background:transparent;border-radius:8px;min-height:54px;font-size:11px}.mobile-bottom-nav button.active{color:var(--lime);background:#253121}.mobile-bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shell{padding-bottom:calc(80px + env(safe-area-inset-bottom))}}
#workspace-navigation .nav-item>.nav-count{width:auto;min-width:22px;font-size:12px;flex-shrink:0;text-align:center}

.audience-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.audience-shortcuts button{min-height:44px}#audience-locations,#audience-devices,#audience-returning{scroll-margin-top:20px;margin-top:30px}#audience-countries{margin-top:20px}#audience-returning{padding-bottom:20px}

/* Room for readable groups without a horizontal navigation scrollbar. */
@media(min-width:761px){.shell{grid-template-columns:280px minmax(0,1fr)}.sidebar{padding-inline:18px}}
#workspace-navigation{min-width:0;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#465049 transparent;padding-right:8px}
#workspace-navigation .menu-group{white-space:normal;text-align:left;gap:8px;min-width:0}
#workspace-navigation .details-chevron{flex-shrink:0}
#workspace-navigation::-webkit-scrollbar{width:6px}
#workspace-navigation::-webkit-scrollbar-thumb{background:#465049;border-radius:6px}
#workspace-navigation::-webkit-scrollbar-track{background:transparent}

.ai-question-panel{border-color:#759953;background:linear-gradient(135deg,#202e26,#171d23)}.ai-question-panel textarea{font:inherit;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;width:100%;padding:12px;margin:8px 0 16px;resize:vertical}.ai-question-panel .actions{flex-wrap:wrap}.ai-answer{overflow-wrap:anywhere}.ai-answer button{margin:6px 8px 0 0}

.live-visitors-table td{white-space:normal;overflow-wrap:anywhere;max-width:320px}@media(max-width:760px){.live-visitors-table thead{display:none}.live-visitors-table,.live-visitors-table tbody,.live-visitors-table tr,.live-visitors-table td{display:block;width:100%;max-width:none}.live-visitors-table tr{border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:12px;background:var(--panel)}.live-visitors-table td{border:0;padding:6px}.live-visitors-table td:nth-child(2)::before{content:'Latest page: ';color:var(--muted)}.live-visitors-table td:nth-child(5)::before{content:'Last upload: ';color:var(--muted)}}

.live-visitor-filters{align-items:flex-end}.live-visitor-filters label{margin:0;min-width:0}.live-visitor-filters select,.live-visitor-filters>button{min-height:46px;margin:0}.live-visitor-filters>button{flex:none}@media(max-width:760px){.live-visitor-filters label{flex:1 1 170px}.live-visitor-filters select{width:100%}}

#workspace-navigation .ai-nav-link{border:1px solid #647f47;background:#202c20;color:#d3f4af;font-weight:650;margin:12px 0}#workspace-navigation .ai-nav-link.active{border-color:var(--lime);background:#2a3924}#workspace-navigation .ai-nav-link .nav-new{margin-left:auto;width:auto;flex-shrink:0;background:var(--lime);color:#172313;font-size:10px;font-weight:800;letter-spacing:.7px;padding:3px 6px;border-radius:4px}

.engagement-site-picker{margin-bottom:24px}.engagement-site-picker label{display:block;width:100%;max-width:360px}.engagement-site-picker select{width:100%;min-height:46px}

.ab-builder{margin:24px 0}.ab-builder summary{cursor:pointer;font-weight:700}.ab-builder form{max-width:760px;margin-top:24px}.ab-builder label{display:block;margin:16px 0}.ab-builder input:not([type=checkbox]),.ab-builder select,.ab-builder textarea{width:100%}.ab-builder input[type=checkbox]{width:auto}.ab-progress{display:flex;gap:24px;padding-left:24px;flex-wrap:wrap;color:var(--muted,#a1aab4)}.ab-progress .current{color:#c0ed80;font-weight:700}.ab-controls{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.ab-sample{padding:24px;background:#10171a;border:1px solid #39424a;border-radius:12px;margin:20px 0;overflow:auto}.ab-sample [data-preview]{margin-top:18px;padding:12px;background:#25332d;overflow-wrap:anywhere}.ab-actions{display:flex;gap:12px;margin-top:24px}.ab-builder pre{white-space:pre-wrap;overflow-wrap:anywhere}.ab-builder [hidden]{display:none!important}@media(max-width:600px){.ab-controls{grid-template-columns:1fr}.ab-progress{gap:20px}.ab-actions button{flex:1}}
.ab-progress{list-style:none;padding:0;gap:8px;counter-reset:ab-step}.ab-progress li{counter-increment:ab-step;padding:8px 10px;border:1px solid #39424a;border-radius:8px;font-size:13px}.ab-progress li::before{content:counter(ab-step) '. ';}.ab-progress .current{background:#243120;border-color:#7c995d}
.chat-design-preview{background:#0e1418;border:1px solid #39424a;border-radius:12px;padding:18px;margin:20px 0}.chat-design-preview [data-preview]{max-width:260px;width:100%;padding-top:20px;overflow-wrap:anywhere}.chat-design-preview [data-launcher]{border-radius:50%;width:54px;height:54px;font-size:24px}.chat-design-preview small{color:#abb5bf}.ab-builder fieldset{border:1px solid #39424a;border-radius:8px}
.ab-builder textarea{font:inherit;box-sizing:border-box;min-height:90px;background:#10161b;color:#eef0f2;border:1px solid #39424a;border-radius:8px;padding:12px}.ab-builder input[type=color]{min-height:46px;padding:6px}

.consent-dialog-header{position:sticky;top:-24px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--panel,#151a20);margin:-24px -24px 20px;padding:20px 24px;border-bottom:1px solid var(--line,#30383d)}
.consent-dialog-header h2{margin:0}.consent-dialog-header [data-close]{flex:none;width:44px;height:44px;padding:0;font-size:28px;line-height:1}
.consent-report-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:24px 0}.consent-report-filters label{display:grid;gap:8px;max-width:100%;width:220px}.consent-report-filters select{width:100%;min-height:44px}.consent-report-filters button{min-height:44px}.consent-totals{font-size:1.3rem;font-weight:650}

/* Shared sticky dialog headers, including dynamically created report dialogs. */
dialog{--dialog-padding:28px;padding:var(--dialog-padding)}
dialog.smart-dialog{--dialog-padding:16px}
dialog.ip-exclusions-dialog{--dialog-padding:24px}
dialog.replay-dialog{--dialog-padding:0px}
dialog .dialog-title,dialog .consent-dialog-header{
 position:sticky;top:calc(-1 * var(--dialog-padding));z-index:20;
 display:flex;align-items:center;justify-content:space-between;gap:16px;
 margin:calc(-1 * var(--dialog-padding)) calc(-1 * var(--dialog-padding)) 20px;
 padding:16px var(--dialog-padding);background:var(--panel);
 border-bottom:1px solid var(--line);
}
dialog .dialog-title h2,dialog .consent-dialog-header h2{margin:0;min-width:0;overflow-wrap:anywhere}
dialog .dialog-title .icon-button,dialog .consent-dialog-header [data-close],dialog .replay-head .icon-button{flex:none;width:44px;height:44px;padding:0}
dialog .replay-head{position:sticky;top:0;z-index:20;background:var(--panel);border-bottom:1px solid var(--line)}
dialog .replay-head>div{min-width:0}dialog .replay-head h2{overflow-wrap:anywhere}
@media(max-width:600px){dialog{--dialog-padding:20px}dialog.goals-dialog{--dialog-padding:18px}dialog .replay-head{padding:12px 16px}dialog .replay-head h2{font-size:1rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
.entry-page-info{display:inline-flex;align-items:center;justify-content:center;padding:0;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--accent,#bced7b);font-size:17px;vertical-align:middle;cursor:pointer}
.entry-page-info:focus-visible{outline:2px solid #a5cdff;outline-offset:3px}
.entry-page-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--panel,#171d23);color:var(--text,#eef0f3);box-shadow:0 12px 40px #0008;font-size:14px;z-index:1000}
.entry-page-url{margin-top:10px;overflow-wrap:anywhere;user-select:text;line-height:1.5}
.entry-page-popover dl{display:grid;grid-template-columns:minmax(80px,auto) minmax(0,1fr);gap:8px 16px;margin:16px 0}
.entry-page-popover dt{color:var(--muted,#aeb6bf)}.entry-page-popover dd{margin:0;overflow-wrap:anywhere}.entry-page-popover .actions{margin-top:16px;display:flex;gap:8px;flex-wrap:wrap}

.shopify-billing-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.shopify-billing-actions select{max-width:100%}

/* TMV Go heatmap identity */
.brand-icon{background:transparent url("/brand/tmvgo-mark.svg") center/contain no-repeat;color:transparent;font-size:0;display:inline-block;min-width:35px;height:38px;}

/* Live chat availability */
.chat-status-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:8px 0 24px;margin-bottom:20px;border-bottom:1px solid var(--line,#343c44)}
.chat-status-header h2{margin:0 0 6px;font-size:20px;letter-spacing:-.4px}.chat-status-header p{margin:0;font-size:14px;line-height:1.5}.chat-status-control{display:flex;align-items:center;gap:12px;flex-shrink:0;font-size:14px;font-weight:600;margin:0;cursor:pointer}.chat-switch{position:relative;display:inline-flex;width:48px;height:28px}.chat-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}.chat-switch-track{width:48px;height:28px;border-radius:20px;background:#4b555e;transition:background .15s}.chat-switch-track:after{content:"";position:absolute;left:4px;top:4px;width:20px;height:20px;border-radius:50%;background:#f2f4ef;transition:transform .15s}.chat-switch input:checked+.chat-switch-track{background:#b4f071}.chat-switch input:checked+.chat-switch-track:after{transform:translateX(20px);background:#173c2b}.chat-switch input:focus-visible+.chat-switch-track{outline:2px solid #9ecbff;outline-offset:4px}.chat-switch input:disabled+.chat-switch-track{opacity:.5}@media(prefers-reduced-motion:reduce){.chat-switch-track,.chat-switch-track:after{transition:none}}

.chat-status-header{display:grid;grid-template-columns:max-content max-content;justify-content:start;gap:6px 16px}.chat-status-header h2{margin:0}.chat-status-header>p{grid-column:1 / -1}.chat-status-header .chat-status-control{display:flex;flex-direction:row;align-items:center;margin:0;gap:10px}

.chat-status-header{display:block}.chat-status-row{display:flex;align-items:center;gap:16px;margin-bottom:6px}.chat-status-row h2{line-height:28px;margin:0}.chat-status-row .chat-status-control{line-height:28px}.chat-status-control [data-chat-state]{display:inline-block;width:3ch;text-align:center}.chat-status-row .chat-switch{flex-shrink:0}

/* Device silhouette with a browser indicator replaces ambiguous visitor initials. */
.visitor-device-badge{position:relative}
.visitor-device-icon{width:23px;height:23px}
.visitor-browser-icon{position:absolute;right:-5px;bottom:-5px;width:19px;height:19px;display:grid;place-items:center;border:2px solid var(--panel);border-radius:50%;background:var(--panel);color:var(--muted)}
.visitor-browser-icon svg{display:block;width:15px;height:15px}

/* Keep saved-recording startup stable until all segments are ready. */
.replay-loading{width:100%;min-height:320px;height:100%;display:grid;place-items:center;background:var(--panel,#16191e)}
.replay-loading-spinner{width:72px;height:72px;flex:none;animation:replay-spinner-turn 1s linear infinite}
.replay-loading-spinner circle{fill:none;stroke-width:5}
.replay-loading-spinner .spinner-track{stroke:#303b2b}
.replay-loading-spinner .spinner-arc{stroke:#b6ed7d;stroke-dasharray:50 189;stroke-linecap:round}
@keyframes replay-spinner-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.replay-loading-spinner{animation-duration:3s}}

#replay-stage{position:relative}
.replay-loading.replay-buffering{position:absolute;inset:0;z-index:20;min-height:0;background:rgba(14,16,19,.28);pointer-events:none}
#timeline{--replay-buffer:100%;background:linear-gradient(to right,#657356 var(--replay-buffer),#30343b var(--replay-buffer));border-radius:8px}

.replay-narration{margin:18px 0;padding:20px;border:1px solid var(--border,#30363d);border-radius:12px;background:#151b20}.replay-narration h3{margin:0 0 8px}.replay-narration [data-narration-body]{max-height:300px;overflow:auto}.narration-entry{display:flex;justify-content:flex-start;font-weight:400;font-size:15px;gap:16px;width:100%;text-align:left;border:0;border-left:3px solid transparent;border-radius:6px;padding:12px;background:transparent;color:inherit;line-height:1.6;cursor:pointer}.narration-entry strong{color:#b7ee79;min-width:45px}.narration-entry:hover,.narration-entry.current{background:#253021;border-left-color:#b7ee79}.narration-entry span{overflow-wrap:anywhere}.narration-spinner{display:inline-block;width:20px;height:20px;margin-right:10px;border:2px solid #45513e;border-top-color:#b7ee79;border-radius:50%;vertical-align:middle;animation:narration-spin .8s linear infinite}@keyframes narration-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.narration-spinner{animation-duration:2s}}

/* Keep narration and playback visible together, with independent insight scrolling. */
.replay-head{padding:14px 22px}.replay-head .small{margin:5px 0}.replay-head .eyebrow{margin-bottom:6px}
.replay-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;border-top:1px solid var(--line)}
.replay-main{min-width:0}.replay-workspace .replay-stage{height:clamp(240px,55vh,650px);min-height:0}
.replay-workspace .replay-controls{flex-wrap:wrap;gap:10px;padding:12px 16px}.replay-controls .playback-timeline{min-width:100px}
#replay-narration{min-width:0;position:relative;border-left:1px solid var(--line);background:#151b20}
#replay-narration:empty{display:none}.replay-workspace:has(#replay-narration:empty){grid-template-columns:minmax(0,1fr)}
#replay-narration .replay-narration{position:absolute;inset:0;margin:0;padding:18px 14px;border:0;border-radius:0;display:flex;flex-direction:column;min-height:0}
#replay-narration .replay-narration>p{margin:0 0 14px}
#replay-narration [data-narration-body]{max-height:none;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.narration-entry{white-space:normal;align-items:flex-start;gap:10px}.narration-entry span{min-width:0}.narration-entry strong{flex-shrink:0}
@media(max-width:900px){.replay-workspace{grid-template-columns:minmax(0,1fr) 290px}.replay-workspace .replay-controls .playback-timeline{order:2;flex-basis:100%}}
@media(max-width:640px){.replay-workspace{grid-template-columns:minmax(0,1fr)}.replay-workspace .replay-stage{height:32vh}#replay-narration{height:220px;border-left:0;border-top:1px solid var(--line)}.replay-head{padding:12px 14px}.replay-workspace .replay-controls{padding:9px}.replay-narration h3{font-size:1rem}}
