@font-face{font-family:Inter;src:url('/assets/inter-400.ttf');font-weight:400}@font-face{font-family:Inter;src:url('/assets/inter-600.ttf');font-weight:600}@font-face{font-family:Archivo;src:url('/assets/archivo-700.ttf');font-weight:700}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:#f2f3f3;background:linear-gradient(110deg,#101727,#090e1c 50%,#02040c);background-attachment:fixed;font:13px/1.5 Inter,sans-serif;font-variant-numeric:tabular-nums}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #fe5e37;outline-offset:4px}aside{position:fixed;inset:20px auto 20px 20px;width:190px;border:1px solid #ffffff17;border-radius:24px;background:linear-gradient(150deg,#ffffff0e,#ffffff03);padding:30px 20px;display:flex;flex-direction:column}.client{width:108px;height:auto;margin:4px 10px 55px}nav{display:grid;gap:10px}nav a{padding:12px 14px;display:flex;gap:13px;color:#a6adbd;border-radius:12px}.active{background:linear-gradient(150deg,#ffffff13,#ffffff06);color:#fff;box-shadow:inset 0 1px #ffffff15}.active:first-letter{color:#fe5e37}.loocro{margin-top:auto;padding:14px}.loocro img{width:82px}main{margin-left:242px;padding:42px 42px 24px 0;max-width:1920px}header,.header-actions,.filters,.section-head,.legend,.table-tools,.chart-bottom,.age-legend{display:flex;align-items:center;justify-content:space-between;gap:20px}header{margin-bottom:30px}.overline{font-size:10px;letter-spacing:2px;color:#929bad;margin:0 0 8px}h1{font:700 36px Archivo;letter-spacing:-1.5px;margin:0}h2{font-size:16px;font-weight:600;letter-spacing:-.4px;margin:0}.demo{font-size:10px;color:#9aa5bb}button,select,input{background:#ffffff07;border:1px solid #ffffff12;border-radius:10px;padding:10px 14px}button:hover{background:#ffffff14}select{padding-right:28px}select option{background:#141b2b}.filters{padding-bottom:25px;border-bottom:1px solid #ffffff12}.filters label{display:flex;gap:12px;align-items:center;color:#929bad;font-size:11px}.segmented{display:flex;gap:4px}.segmented button{border:0;background:none;color:#919bad;font-size:11px;display:inline-flex;gap:7px;align-items:center}.segmented .selected{background:#ffffff10;color:#fff;box-shadow:inset 0 1px #ffffff18}.segmented img{width:17px;height:17px;object-fit:contain}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:32px 0 36px;border-bottom:1px solid #ffffff12}.kpi{padding:0 24px;border-right:1px solid #ffffff12}.kpi:first-child{padding-left:0}.kpi:last-child{border:0}.kpi-label{color:#a2abbb;font-size:12px}.kpi strong{font-size:clamp(26px,2.7vw,44px);letter-spacing:-1.8px;font-weight:400;display:block;margin:10px 0 8px;white-space:nowrap}.change{font-size:10px;color:#7bceae}.change span{color:#727e92;margin-left:5px}.hero-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(250px,1fr);gap:34px;margin:34px 0}.section-head{margin-bottom:26px}.section-head p{color:#737f94;font-size:11px;margin:5px 0 0}.legend{gap:20px;font-size:10px;color:#aab3c4}.legend span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:7px;background:#fe5e37}.legend .google-dot:before{background:#859ded}#chart svg{width:100%;height:245px;overflow:visible}.gridline{stroke:#ffffff0b;stroke-dasharray:4 6}.axis{fill:#65728a;font:10px Inter}.chart-bottom{font-size:10px;color:#727e92;margin-top:10px}.capture{padding-left:30px;border-left:1px solid #ffffff12}.capture-total{font-size:48px;letter-spacing:-2px;font-weight:400;margin-bottom:18px}.capture-total small{font-size:11px;letter-spacing:0;color:#758198;margin-left:8px}.capture-row{margin:20px 0}.capture-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:9px}.capture-label span{color:#a0aabd}.track{height:5px;border-radius:8px;background:#ffffff08;overflow:hidden}.track svg{height:100%;width:100%;display:block}.capture-sub{color:#6f7c92;font-size:10px;margin-top:6px}.platforms{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0 38px}.platform{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px;border-radius:15px;border:1px solid #ffffff10;background:linear-gradient(150deg,#ffffff07,#ffffff02)}.platform-brand{display:flex;align-items:center;gap:12px;font-size:13px}.platform-brand img{width:25px;height:25px;object-fit:contain}.platform-data{text-align:right;color:#8895aa;font-size:10px}.platform-data strong{font-weight:400;display:block;color:#e8ecf5;font-size:20px;letter-spacing:-.5px}.campaigns{padding:27px 0 15px;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}.table-tools{gap:8px}.table-tools input{width:170px}.table-tools input,.table-tools select{font-size:10px}table{width:100%;border-collapse:collapse;font-size:11px}th{text-align:right;font-size:9px;letter-spacing:.5px;text-transform:uppercase;color:#727e92;font-weight:400;padding:0 12px 16px}td{padding:17px 12px;text-align:right;border-top:1px solid #ffffff08;white-space:nowrap}th:first-child,td:first-child{text-align:left;padding-left:0}td:first-child{white-space:normal;min-width:180px}td small{display:block;color:#727e92;font-size:9px;margin-top:4px}.type{color:#95a0b4}.leads{color:#fe886c;font-weight:600}.audience{display:grid;grid-template-columns:1.45fr 1fr;gap:38px;margin:38px 0}.age-panel{min-width:0}.age-bars{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;align-items:end;height:150px}.age-item{text-align:center;font-size:10px;color:#8995a8}.age-item svg{width:100%;height:125px;display:block}.age-item b{font-weight:400;color:#d3dbea;display:block;margin-bottom:5px}.age-legend{font-size:9px;color:#68768d;margin-top:18px;padding-top:12px;border-top:1px solid #ffffff0a}.regions{border-left:1px solid #ffffff12;padding-left:32px}.region{display:grid;grid-template-columns:90px 1fr 35px;gap:15px;align-items:center;margin:20px 0;font-size:10px;color:#a5afbf}.region b{font-weight:400;color:#e5eaf4;text-align:right}footer{border-top:1px solid #ffffff12;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#626e85}.table-wrap{overflow:auto}#refresh{font-size:11px}@media(min-width:1600px){main{padding-right:60px;padding-top:50px}.hero-grid{gap:50px}#chart svg{height:300px}}@media(max-width:1150px){aside{width:160px;padding:25px 12px}main{margin-left:205px;padding-right:24px}.kpi{padding:0 15px}.header-actions{gap:10px;flex-direction:column;align-items:flex-end}.hero-grid{grid-template-columns:1fr}.capture{border-left:0;padding:24px 0 0;border-top:1px solid #ffffff12}.capture>div:last-child{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.capture-total{grid-column:1/-1;margin:0}.capture-row{margin:0}.table-tools{flex-wrap:wrap;justify-content:flex-end}.audience{grid-template-columns:1fr 1fr}}@media(max-width:760px){aside{position:static;width:auto;inset:auto;margin:12px;padding:18px;border-radius:18px;flex-direction:row;align-items:center;justify-content:space-between}.client{width:85px;margin:0}nav{display:flex;gap:0}nav a{padding:10px;font-size:16px}nav span{display:none}.loocro{display:none}main{margin:0;padding:22px}.overline{display:none}h1{font-size:30px}.demo{font-size:8px}.filters{align-items:stretch;flex-direction:column;gap:15px}.segmented{justify-content:space-between}.segmented button{font-size:9px;padding:9px}.filters label{justify-content:space-between}.kpis{grid-template-columns:1fr 1fr;padding:24px 0;row-gap:26px}.kpi{padding:0 0 0 18px}.kpi:first-child,.kpi:nth-child(3){padding-left:0}.kpi:nth-child(2){border:0}.kpi strong{font-size:29px;letter-spacing:-1px}.change{font-size:8px}.change span{display:block;margin:3px 0 0}.hero-grid{margin-top:28px;gap:25px}.section-head{gap:10px}h2{font-size:14px}.legend{gap:10px;font-size:9px}#chart svg{height:200px}.capture>div:last-child{gap:12px}.capture-label{font-size:9px}.capture-sub{font-size:8px}.capture-total{font-size:38px}.platforms{grid-template-columns:1fr;gap:10px}.platform{padding:16px 18px}.campaigns>.section-head{align-items:flex-start;flex-direction:column;gap:20px}.table-tools{width:100%;justify-content:space-between}.table-tools input{width:47%}.table-tools select{width:49%}.audience{grid-template-columns:1fr}.regions{padding:24px 0 0;border:0;border-top:1px solid #ffffff12}.age-bars{gap:12px}footer{flex-direction:column;gap:5px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.change.neutral{color:#9ca8bd}.daily-details{font-size:10px;color:#7c8ba5;margin-top:8px}.daily-details summary{cursor:pointer}.daily-details table{margin-top:15px}.daily-details[open]{max-height:280px;overflow:auto}

.period-control{display:flex;align-items:center;gap:12px}.period-control select{font-size:11px}@media(max-width:760px){.period-control{justify-content:space-between}}
@media(max-width:760px){.kpi strong{font-size:26px}.kpi:nth-child(odd){padding-right:14px}.kpi:nth-child(even){padding-left:18px}}
/* Barra lateral plana, conforme revisão de Paulo. */
aside{background:transparent;border-color:transparent;box-shadow:none;border-radius:0}
nav a.active{background:#ffffff08;box-shadow:none}
/* Indicadores principais sempre com peso forte. */
.kpi strong,.capture-total,.platform-data strong{font-family:Archivo,Inter,sans-serif;font-weight:700}
.capture-total small{font-family:Inter,sans-serif;font-weight:400}

@font-face{font-family:Archivo;src:url('/assets/archivo-800.ttf');font-weight:800}
.kpi strong,.capture-total,.platform-data strong,.delivery-metric strong{font-weight:800}
.delivery{padding:32px 0;border-bottom:1px solid #ffffff12}.delivery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}.delivery-metric{padding-right:15px}.delivery-metric>span{font-size:11px;color:#a2abbb}.delivery-metric strong{display:block;font-family:Archivo,sans-serif;font-size:25px;letter-spacing:-.8px;margin:8px 0}.delivery-metric small{font-size:9px;color:#758198;display:block}.creative-details{min-width:160px;max-width:200px;white-space:normal;text-align:left}.creative-details summary{cursor:pointer;color:#cbd3e2;font-size:10px}.creative-preview{padding:18px 14px;margin-top:12px;background:#151e30;border:1px solid #ffffff12;border-radius:8px;color:#edf0f6;min-height:140px}.creative-preview img{display:block;width:65px;margin-bottom:20px}.creative-preview b{display:block;font-size:15px;line-height:1.3}.creative-preview small{margin-top:12px}.creative-details p{font-size:9px;color:#8290a7;margin:8px 0}.creative-details strong{color:#fe886c}.delivery .section-head{margin-bottom:25px}@media(max-width:760px){.delivery-grid{grid-template-columns:1fr 1fr;gap:25px 20px}.delivery-metric strong{font-size:23px}}
.delivery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}th:nth-child(2){text-align:left}@media(max-width:760px){.delivery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Fundo compartilhado entre login e dashboard. */
:root{--app-background:radial-gradient(ellipse at 30% 35%,#1b29414d,transparent 55%),linear-gradient(110deg,#101727,#090e1c 50%,#02040c)}
body{background:var(--app-background);background-attachment:fixed;min-height:100svh}

/* Atualização junto ao período, com ação flutuante no celular. */
.period-control select{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23b7c2d5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 17px center;background-size:12px 7px}
#refresh{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;white-space:nowrap}.refresh-icon{font-size:19px;line-height:1;display:inline-block}#refresh:active .refresh-icon{transform:rotate(90deg)}
@media(max-width:760px){#refresh{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:10;padding:13px 18px;border-radius:40px;background:#fe5e37;border:1px solid #ff9a8060;color:#fff;box-shadow:0 8px 28px #0005;font-size:12px}#refresh:hover{background:#eb512d}.period-control{width:100%}.period-control select{max-width:calc(100% - 65px)}main>footer{padding-bottom:80px}}

.dashboard-footer{display:block;border-top:0;padding-top:36px;margin-top:18px;font-size:11px;line-height:1.7;color:#8a94a8}.company-details strong{display:block;color:#bfc6d3;font-size:12px;font-weight:600;margin-bottom:5px}.company-details p{margin:3px 0}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:30px;padding:22px 0 8px;border-top:1px solid #ffffff12;color:#667187;font-size:10px}.prototype-note{display:flex;justify-content:space-between;gap:20px;margin-top:14px;font-size:9px;color:#566177}@media(max-width:760px){.dashboard-footer{padding-top:25px}.company-details{max-width:320px}.company-details p{font-size:10px}.footer-bottom{align-items:flex-start;flex-direction:column;gap:5px;margin-top:24px;padding-top:18px}.prototype-note{flex-direction:column;gap:4px}}

/* Preservar a caixa exibida da marca ao usar o original HD. */
.client{width:108px;height:27.169811px;object-fit:cover}@media(max-width:760px){.client{width:85px;height:21.383648px}}
/* Feedback suave de atualização, sem deslocar os controles do período. */
#refresh{min-width:139px;min-height:41px;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,transform .2s cubic-bezier(.2,.7,.3,1);box-shadow:inset 0 1px 0 #ffffff06;position:relative}
#refresh:hover:not(:disabled){background-color:#ffffff0e;border-color:#ffffff2e;box-shadow:inset 0 1px #ffffff0d,0 4px 16px #0002;transform:translateY(-1px)}
#refresh:active:not(:disabled){transform:translateY(0) scale(.97)}
.refresh-symbol{position:relative;display:block;width:20px;height:20px;flex:0 0 20px}
.refresh-symbol svg{position:absolute;inset:0;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transform-origin:center;transition:opacity .2s ease,transform .3s ease}
#refresh:active .refresh-icon{transform:none}.refresh-check{opacity:0}.refresh-check path{stroke-dasharray:24;stroke-dashoffset:24}.refresh-label{min-width:88px;text-align:center;transition:opacity .2s ease}
#refresh.refreshing{opacity:1;cursor:progress;background-color:#ffffff0b;border-color:#ffffff24}#refresh.refreshing .refresh-icon{animation:refresh-turn 1.05s cubic-bezier(.45,.05,.3,.95) infinite}
#refresh.refresh-done .refresh-icon{opacity:0;transform:rotate(45deg) scale(.8)}#refresh.refresh-done .refresh-check{opacity:1}#refresh.refresh-done .refresh-check path{animation:refresh-tick .35s ease-out forwards}#refresh.refresh-done{color:#91d9bc;border-color:#91d9bc40}
@keyframes refresh-turn{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes refresh-tick{to{stroke-dashoffset:0}}
@media(max-width:760px){#refresh{position:fixed;min-height:48px;box-shadow:inset 0 1px #ffffff26,0 8px 28px #0005}#refresh:hover:not(:disabled){background-color:#f16b49;box-shadow:inset 0 1px #ffffff26,0 10px 30px #0006}#refresh.refreshing{background-color:#ed5733}#refresh.refresh-done{color:#fff;border-color:#ffb7a366}}
@media(prefers-reduced-motion:reduce){#refresh,.refresh-symbol svg{transition:none!important;transform:none!important}#refresh.refreshing .refresh-icon{animation:none;opacity:.6}#refresh.refresh-done .refresh-check path{animation:none;stroke-dashoffset:0}}
.sync-status{font-size:11px;line-height:1.6;color:#8e9cb4;margin:18px 0 0;min-height:18px}.metric-note{font-size:10px;color:#8290a7;line-height:1.5}.empty-label{font-size:10px;color:#8290a7;white-space:normal}.kpi strong.unavailable,.delivery-metric strong.unavailable{font:600 17px/1.5 Inter,sans-serif;letter-spacing:0;white-space:normal}.platform-data small{display:block;font-size:9px;margin-top:5px;color:#8290a7}.gender-panel{margin-top:36px}.gender-panel .section-head{margin-bottom:12px}.age-bars{grid-template-columns:repeat(auto-fit,minmax(42px,1fr));height:auto;min-height:150px}.region{grid-template-columns:minmax(90px,1.4fr) minmax(50px,1fr) 55px}.creative-preview{padding:8px;min-height:0;background:#ffffff04}.creative-preview img{width:100%;height:200px;object-fit:contain;margin:0}.period-control{flex-wrap:wrap;justify-content:flex-end}.kpi .metric-note{max-width:185px}@media(max-width:760px){.period-control{justify-content:space-between}.period-control select{max-width:calc(100% - 65px);min-width:0}.sync-status{font-size:10px}.kpi strong.unavailable{font-size:15px}.metric-note{font-size:9px}.capture>div:last-child{display:block}.capture-row{margin:20px 0}.region{gap:10px}.age-bars{gap:8px}.platform-brand{white-space:nowrap}.platform-data{max-width:65%}}

.creative-preview.preview-small img{width:64px;height:auto;max-width:100%;margin:0 auto}

.creative-preview a{display:block;cursor:zoom-in}
/* Identidade do usuário e edição do próprio perfil. */
.user-account{display:flex;align-items:center;gap:16px}.profile-toggle{display:flex;align-items:center;gap:10px;padding:5px 8px 5px 5px;background:transparent;border-color:transparent;font-size:12px}.profile-toggle:hover{background:#ffffff07}.user-avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#263249;color:#e2e8f2;font:600 12px Inter,sans-serif;overflow:hidden}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-account #logout{font-size:11px;background:none;border:0;color:#8c99af;padding:8px 0}.user-account #logout:hover{color:#fff}#profile-dialog{width:min(430px,calc(100% - 32px));max-height:calc(100svh - 40px);overflow:auto;color:#f2f3f3;background:#101727;border:1px solid #ffffff20;border-radius:18px;padding:25px;font:13px/1.5 Inter,sans-serif;box-shadow:0 25px 90px #0006}#profile-dialog::backdrop{background:#02040ca6;backdrop-filter:blur(6px)}.profile-heading,.profile-summary,.profile-actions{display:flex;align-items:center;gap:14px}.profile-heading{justify-content:space-between;margin-bottom:24px}.profile-heading h2{font:700 22px Archivo,sans-serif}.profile-heading button{padding:0;background:none;border:0;color:#95a1b7;font-size:25px;line-height:1}.profile-summary{margin-bottom:26px}.profile-avatar{width:64px;height:64px;flex-basis:64px;font-size:21px}.profile-summary p{margin:0;font-size:12px;overflow-wrap:anywhere}.profile-summary small{display:block;color:#8e9cb4;margin-top:5px;font-size:11px}#profile-form label{display:block;color:#a7b1c3;font-size:11px;margin:20px 0 8px}#profile-form input{display:block;width:100%;font-size:13px;padding:11px 12px}.profile-help{color:#7e8ca4;font-size:10px;margin:7px 0}.profile-remove{font-size:10px;color:#a8b2c5;background:none;border:0;padding:8px 0}.profile-message{font-size:11px;color:#e9a991;min-height:17px;margin:15px 0}.profile-actions{justify-content:flex-end;gap:10px}.profile-actions button{font-size:12px}.profile-actions #profile-save{background:#fe5e37;border-color:#fe5e37;color:#fff}.profile-actions #profile-save:disabled{opacity:.6;cursor:progress}#profile-dialog[open]{animation:profile-enter .18s ease-out}@keyframes profile-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(max-width:760px){.user-account{gap:9px}.profile-toggle{gap:7px;font-size:11px;padding-right:0}.user-avatar{width:29px;height:29px;flex-basis:29px;font-size:10px}.profile-avatar{width:64px;height:64px;flex-basis:64px;font-size:21px}.user-account #logout{font-size:10px}#profile-dialog{padding:22px}.profile-heading h2{font-size:21px}}@media(prefers-reduced-motion:reduce){#profile-dialog[open]{animation:none}}

.client-selector{display:block;min-width:0;width:100%;margin:0 0 20px;font-size:11px;color:#9da9bd}
.client-selector[hidden]{display:none}
.client-selector>span{display:block;margin:0 0 8px 2px}
.client-selector select{display:block;appearance:none;-webkit-appearance:none;width:100%;min-width:0;max-width:100%;padding:12px 40px 12px 12px;background-color:#ffffff04;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23cbd3e2' 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 14px center;background-size:14px;color:#f2f3f3;border:1px solid #ffffff24;border-radius:12px;font-size:12px;line-height:1.5;text-overflow:ellipsis}
@media(max-width:760px){aside.has-client-selector{flex-wrap:wrap;gap:0}.client-selector{flex:1;width:auto;max-width:240px;margin:0 0 0 20px}.client-selector>span{font-size:10px;margin-bottom:5px}.client-selector select{font-size:11px;padding-top:10px;padding-bottom:10px}aside.has-client-selector nav{width:100%;justify-content:space-around;margin-top:16px}}
