@font-face{font-family:Manrope;src:url('/fonts/manrope-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-semibold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-bold.ttf') format('truetype');font-weight:700;font-display:swap}
.leads-page{font-family:Manrope,var(--font-body);--lead-radius:16px;--lead-panel-padding:24px;--lead-control-background:var(--soft);--lead-accent:var(--orange-dark);--lead-accent-soft:var(--orange-soft);--lead-ease:cubic-bezier(.32,.72,0,1)}
.scope-fields .scope-search{grid-column:span 2}
.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}
.leads-main{min-height:calc(100dvh - 142px)}.leads-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:32px 0 24px}.leads-heading h1{font-size:36px;line-height:40px;font-weight:700;letter-spacing:-.04em}.leads-heading p:last-child{max-width:65ch;margin:8px 0 0;color:var(--muted);font-size:14px;line-height:20px}.leads-page h2{font-weight:700;letter-spacing:-.03em;text-wrap:balance}.leads-page p{text-wrap:pretty}.leads-page .eyebrow{font-size:12px;line-height:16px;font-weight:600}.leads-page .brand-diana strong{font-weight:700}
.leads-page button,.leads-page summary{transition:background-color 200ms var(--lead-ease),border-color 200ms var(--lead-ease),color 200ms var(--lead-ease)}.leads-page button:active:not(:disabled){transform:translateY(1px)}.leads-page .primary-button{font-size:14px;font-weight:600;padding:8px 16px;min-height:44px}.leads-page .secondary-button{min-height:44px;font-size:12px;padding:8px 16px}.leads-page .text-button{font-size:12px;min-height:44px}
.access-status{padding:48px 0;text-align:center;color:var(--muted);font-size:14px}.login-panel{display:grid;grid-template-columns:1fr 1fr;max-width:850px;margin:32px auto 40px;border:1px solid var(--line);border-radius:var(--lead-radius);background:var(--paper);overflow:hidden}.login-context{padding:32px;background:var(--lead-accent-soft);border-right:1px solid var(--line)}.access-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:32px;border:1px solid var(--line);border-radius:12px;color:var(--lead-accent);background:var(--paper)}.access-icon svg{width:24px;height:24px}.login-context .eyebrow{color:var(--lead-accent)}.login-context h2{margin:16px 0;font-size:30px;line-height:36px}.login-context>p:not(.eyebrow){margin:0;color:var(--muted);font-size:14px;line-height:24px}.protected-note{display:block;margin-top:32px;color:var(--lead-accent);font-size:12px}.login-content{display:flex;flex-direction:column;justify-content:center;padding:32px}.login-content h3{margin:0;font-size:20px;line-height:28px;letter-spacing:-.025em;font-weight:600}.login-content>p{font-size:12px;line-height:20px;color:var(--muted)}.login-content label{display:block;margin:24px 0 8px;font-size:12px;font-weight:600}.password-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--lead-control-background)}.password-control:focus-within{outline:3px solid var(--focus);outline-offset:2px}.password-control input{width:100%;min-width:0;border:0;outline:0!important;background:transparent;padding:12px;font-size:14px}.password-control .text-button{padding:8px 12px}.login-content .primary-button{justify-content:space-between;width:100%;margin-top:16px}.login-content .login-privacy{margin:24px 0 0;font-size:12px}
.lead-scope{padding:var(--lead-panel-padding);background:var(--paper);border:1px solid var(--line);border-radius:var(--lead-radius)}.scope-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.scope-heading h2{font-size:16px;line-height:24px;margin:0}.scope-heading p{font-size:12px;line-height:20px;color:var(--muted);margin:4px 0 0}.date-presets{display:flex;gap:4px;padding:4px;border-radius:var(--radius-sm);background:var(--soft)}.date-presets button{border:1px solid transparent;padding:8px 12px;min-height:40px;border-radius:4px;white-space:nowrap;background:transparent;font-size:12px;color:var(--muted)}.date-presets button[aria-pressed=true]{background:var(--paper);border-color:var(--line);color:var(--lead-accent);font-weight:600}.scope-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.scope-fields label{display:grid;gap:8px;font-size:12px;line-height:16px;font-weight:600;color:var(--muted);min-width:0}.scope-fields input,.scope-fields select,.campaign-sort select{height:44px;width:100%;min-width:0;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--lead-control-background);color:var(--ink);font:inherit;font-size:12px;font-weight:500;text-overflow:ellipsis}.scope-fields input::placeholder{color:var(--muted);opacity:1}.scope-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.scope-bottom>span{font-size:12px;line-height:20px;color:var(--muted)}.scope-actions{display:flex;gap:24px;align-items:center}
.report-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px;min-width:0}.report-actions .secondary-button{flex:none}
.report-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 24px;min-height:24px}.active-filters{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.active-filters:empty::before{content:'Visão geral · todos os contatos';font-size:12px;color:var(--muted)}.active-filter{display:flex;align-items:center;gap:8px;max-width:100%;padding:0 8px 0 12px;min-height:36px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);font-size:12px;color:var(--ink)}.active-filter span{max-width:28ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-filter b{font-size:18px;font-weight:400}.lead-freshness{font-size:12px;line-height:20px;color:var(--muted);flex:0 1 auto;min-width:0;overflow-wrap:anywhere;text-align:right}
.lead-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:8px 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.lead-metrics article{padding:16px 24px;border-left:1px solid var(--line);min-width:0}.lead-metrics article:first-child{padding-left:0;border:0}.lead-metrics span{display:block;font-size:12px;line-height:20px;font-weight:600;color:var(--muted)}.lead-metrics strong{display:block;margin:8px 0;font-size:36px;line-height:40px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.lead-metrics small{font-size:12px;line-height:20px;color:var(--muted)}.metric-choice strong,#metricConversion{color:var(--lead-accent)}
.lead-insights{display:grid;grid-template-columns:1fr;gap:24px;margin-bottom:24px;align-items:start}.lead-campaigns,.lead-stores{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:var(--lead-radius);padding:var(--lead-panel-padding)}.insight-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.insight-heading h2,.store-intro h2{font-size:20px;line-height:28px;margin:0}.section-kicker{margin:0 0 4px;color:var(--muted);font-size:12px;font-weight:500;line-height:20px}.campaign-sort{flex:none;max-width:160px}.campaign-sort select{height:40px;background:var(--paper);font-size:12px}.lead-origins{margin:0 0 16px;min-width:0}.origins-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:12px}.origins-heading h2{font-size:16px;line-height:24px;margin:0}.origins-heading p{font-size:12px;line-height:20px;margin:0;color:var(--muted)}.source-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:12px}.source-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-width:0;min-height:126px;padding:16px;text-align:left;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink)}.source-card strong{font-size:30px;line-height:36px;letter-spacing:-.04em;font-weight:700;font-variant-numeric:tabular-nums;color:var(--lead-accent)}.source-card span{font-size:12px;line-height:20px;font-weight:700;overflow-wrap:anywhere}.source-card small{font-size:11px;line-height:16px;color:var(--muted)}.source-card[aria-pressed=true]:not(.source-card-total){border-color:var(--lead-accent);background:var(--lead-accent-soft);box-shadow:inset 0 0 0 1px var(--lead-accent)}.source-card-total{background:var(--lead-accent);border-color:var(--lead-accent);color:var(--paper)}.source-card-total strong,.source-card-total small{color:var(--paper)}.source-card[hidden]{display:none}.source-cards-empty{grid-column:1/-1;margin:0;padding:24px;border:1px dashed var(--line);border-radius:var(--radius-sm);color:var(--muted);font-size:12px;line-height:20px}

.campaign-results-wrap,.store-results-wrap{overflow:auto;max-height:400px;scrollbar-width:thin;overscroll-behavior:contain}.campaign-results,.store-results{width:100%;border-collapse:separate;border-spacing:0;text-align:left}.campaign-results th,.campaign-results td,.store-results th,.store-results td{padding:16px 8px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:12px;line-height:20px}.campaign-results thead th,.store-results thead th{position:sticky;top:0;z-index:1;background:var(--paper);color:var(--muted);font-size:12px;font-weight:500;padding-top:0;padding-bottom:12px;white-space:nowrap}.campaign-results th:first-child{padding-left:0;width:44%}.campaign-results th:not(:first-child),.campaign-results td,.store-results th:nth-last-child(-n+2),.store-results td:nth-last-child(-n+2){text-align:right;font-variant-numeric:tabular-nums}.campaign-results thead th:nth-child(2),.campaign-results td.campaign-origins{text-align:left;width:22%}.origin-tag{display:inline-block;max-width:100%;margin:2px 4px 2px 0;padding:2px 6px;border-radius:4px;background:var(--soft);color:var(--muted);font-size:11px;line-height:18px;font-weight:500;overflow-wrap:anywhere}.campaign-results tbody th{font-weight:500;overflow-wrap:anywhere}.campaign-results tbody tr:last-child th,.campaign-results tbody tr:last-child td,.store-results tbody tr:last-child td{border-bottom:0}.ranking-link{border:0;background:transparent;padding:0;min-height:32px;font:inherit;line-height:20px;color:var(--ink);text-align:left;overflow-wrap:anywhere}.sample-note{display:block;color:var(--muted);font-size:12px;line-height:20px;font-weight:400;margin-top:4px}.conversion-value{color:var(--lead-accent);font-weight:700;white-space:nowrap}.metric-note,.metric-empty{font-size:12px;color:var(--muted);line-height:20px}.metric-note{margin:16px 0 0}.metric-empty{padding:24px 0}
.lead-stores{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:40px;margin-bottom:16px}.store-intro>p:not(.section-kicker){font-size:12px;line-height:20px;color:var(--muted)}.store-summary{display:flex;align-items:baseline;gap:12px;margin-top:24px}.store-summary strong{font-size:36px;line-height:40px;font-weight:600;letter-spacing:-.04em;color:var(--lead-accent)}.store-summary span{font-size:12px;color:var(--muted)}.store-results{min-width:440px}.store-results th:first-child,.store-results td:first-child{width:64px;padding-left:0}.rank-position{display:inline-grid;place-items:center;width:32px;height:32px;font-weight:600;color:var(--muted);border-radius:var(--radius-sm);background:var(--soft)}.rank-position[data-leading=true]{background:var(--lead-accent-soft);color:var(--lead-accent)}.store-results td:nth-child(2){width:55%;font-weight:600}.store-results small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:4px}.store-share{font-weight:600;white-space:nowrap}
.metrics-method{padding:8px 0 24px;font-size:12px;color:var(--muted);line-height:20px;border-bottom:1px solid var(--line)}.metrics-method summary{cursor:pointer;display:list-item;width:fit-content;padding:8px 0;color:var(--ink);font-weight:600;min-height:40px}.metrics-method p{max-width:90ch;margin:8px 0}
.leads-error{padding:16px;border:1px solid var(--red);border-radius:var(--radius-sm);color:var(--red);background:var(--red-soft);font-size:12px;line-height:20px}#leadsPanel[aria-busy=true] .source-cards,#leadsPanel[aria-busy=true] .lead-metrics strong,#leadsPanel[aria-busy=true] .campaign-results-wrap,#leadsPanel[aria-busy=true] .store-results-wrap{opacity:.5}
@media(hover:hover) and (pointer:fine){.source-card:hover:not(:disabled):not(.source-card-total){border-color:var(--lead-accent);background:var(--lead-accent-soft)}.ranking-link:hover{text-decoration:underline;text-underline-offset:4px;color:var(--lead-accent)}.active-filter:hover,.date-presets button:hover:not(:disabled){background:var(--neutral-100)}}
@media(max-width:1000px){.scope-heading{align-items:flex-start}.date-presets button{padding-inline:8px}.lead-insights{gap:16px}.insight-heading{align-items:flex-start;flex-wrap:wrap}.lead-stores{grid-template-columns:minmax(180px,.7fr) minmax(0,1.6fr);gap:24px}.lead-metrics article{padding-inline:16px}.lead-metrics strong{font-size:30px;line-height:36px}}
@media(max-width:800px){.scope-heading{flex-direction:column;gap:16px}.scope-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-insights,.lead-stores{grid-template-columns:1fr}.origins-heading{flex-direction:column;gap:4px}.store-intro .metric-note{max-width:65ch}.store-summary{margin-top:16px}.report-context{align-items:flex-start;flex-direction:column;gap:8px}.lead-freshness{text-align:left}.report-actions{justify-content:flex-start;gap:12px;width:100%}.store-results-wrap{max-height:360px}.login-context,.login-content{padding:24px}}
@media(max-width:560px){.leads-page{--lead-panel-padding:16px}.leads-heading{align-items:flex-start;padding:24px 0;gap:16px}.leads-heading h1{font-size:30px;line-height:36px}.leads-heading p:last-child{font-size:12px;line-height:20px}.leads-heading .eyebrow{font-size:12px;letter-spacing:0;text-transform:none}.leads-heading .secondary-button{padding-inline:12px}.date-presets{width:100%;gap:0;justify-content:space-between}.date-presets button{padding:8px;font-size:12px}.scope-heading{margin-bottom:16px}.scope-fields{gap:16px 12px}.scope-fields label{gap:8px}.scope-fields .scope-campaign,.scope-fields .scope-search{grid-column:1/-1}.scope-fields select,.scope-fields input{padding-inline:8px}.scope-bottom{flex-direction:column;align-items:stretch;gap:12px;margin-top:16px}.scope-actions{justify-content:space-between;gap:12px}.scope-bottom>span{font-size:12px}.lead-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0;padding:0 0 24px}.lead-metrics article{padding:8px 0 8px 16px}.lead-metrics article:nth-child(odd){border-left:0;padding-left:0}.lead-metrics strong{font-size:30px;line-height:36px}.source-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.source-card{padding:12px;min-height:120px}.source-card strong{font-size:28px;line-height:32px}.lead-metrics article:last-child{grid-column:1/-1}.lead-insights{gap:16px;margin-bottom:16px}.campaign-results{table-layout:fixed}.campaign-results th:first-child{width:44%}.campaign-results th,.campaign-results td{padding:12px 4px;font-size:12px;line-height:20px}.campaign-results thead th{font-size:10px;white-space:normal}.campaign-results .sample-note{font-size:10px;line-height:16px}.campaign-results-wrap{max-height:400px}.ranking-link{font-size:12px;line-height:20px}.store-results{min-width:0;table-layout:fixed}.store-results th:first-child,.store-results td:first-child{width:36px}.store-results th:first-child{font-size:0}.store-results th:first-child::after{content:'#';font-size:12px}.store-results th,.store-results td{padding:12px 4px;font-size:12px}.store-results td:nth-child(2),.store-results th:nth-child(2){width:46%}.store-results thead th{font-size:10px;white-space:normal}.store-results small{font-size:10px;line-height:16px}.rank-position{width:24px;height:32px;background:transparent}.insight-heading h2,.store-intro h2{font-size:18px;line-height:28px}.campaign-sort{max-width:144px}.lead-stores{gap:16px}.store-summary strong{font-size:30px;line-height:36px}.login-panel{grid-template-columns:1fr;margin:24px auto}.login-context{border-right:0;border-bottom:1px solid var(--line)}.access-icon{float:right;margin:0 0 0 16px}.login-context h2{font-size:24px;line-height:32px}.login-context h2 br{display:none}.protected-note{margin-top:16px}}
@media(max-width:560px){.scope-fields label:nth-child(3),.scope-fields label:nth-child(7){grid-column:1/-1}.campaign-results thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.campaign-results,.campaign-results tbody{display:block}.campaign-results tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px 0;border-bottom:1px solid var(--line)}.campaign-results tbody tr:last-child{border-bottom:0}.campaign-results tbody th:first-child{grid-column:1/-1;width:auto;padding:0;border:0}.campaign-results td{padding:0;border:0;text-align:left;font-size:14px}.campaign-results td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;font-weight:400;line-height:20px}.campaign-results .metric-empty{grid-column:1/-1}.campaign-results td.campaign-origins{grid-column:1/-1;width:auto}.campaign-results td.campaign-origins::before{display:inline;margin-right:8px}.campaign-results td.campaign-origins .origin-tag{margin-top:0;margin-bottom:0}.store-results thead th{overflow-wrap:anywhere}.store-results td:nth-child(2),.store-results th:nth-child(2){width:40%}.store-results th:first-child,.store-results td:first-child{width:32px}.store-share{font-size:12px}}
@media(max-width:360px){.date-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.date-presets button{min-width:0;width:100%}.leads-heading h1{font-size:24px;line-height:32px}.leads-heading{gap:12px}.leads-heading .secondary-button{padding-inline:8px}.store-results th,.store-results td{padding-inline:2px}}
#leadsPanel{padding-bottom:64px}.filter-reset-fixed{position:fixed;right:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:20;display:inline-flex;align-items:center;gap:8px;color:var(--lead-accent);background:var(--paper);box-shadow:var(--shadow);font-weight:600}.filter-reset-fixed svg{width:16px;height:16px;flex:none}
@media(max-width:560px){.filter-reset-fixed{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.leads-page button,.leads-page summary{transition:none}.leads-page button:active:not(:disabled){transform:none}}
