@font-face{font-family:Sora;src:url('../assets/fonts/Sora-Regular.ttf');font-display:swap}@font-face{font-family:Radeny;src:url('../assets/fonts/Radeny.ttf');font-display:swap}:root{color-scheme:dark;--lime:#d1f277;--muted:#aaaab4;--line:#303035}*{box-sizing:border-box}body{margin:0;background:#09090b;color:#f5f5f5;font:14px/1.6 Sora,Arial,sans-serif}header{display:flex;align-items:center;gap:24px;padding:20px 32px;border-bottom:1px solid var(--line)}header img{width:170px}header span{color:var(--muted)}header button{margin-left:auto}main{max-width:1240px;margin:auto;padding:32px}h1,h2{font-family:Radeny,Sora,sans-serif;font-weight:400;line-height:1.2}h1{font-size:38px;margin:10px 0 24px}h2{font-size:27px;margin-top:0}p{color:var(--muted)}button{background:var(--lime);color:#09090b;border:0;border-radius:6px;padding:11px 16px;cursor:pointer;font:600 13px Sora,sans-serif}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #06dbf3;outline-offset:3px}label{display:grid;gap:6px;color:#e1e1e5}input,select{background:#1c1c21;border:1px solid var(--line);border-radius:5px;padding:11px;color:#fff;font:14px Sora,sans-serif;width:100%}form{display:grid;gap:16px}#login{max-width:420px;margin:50px auto}.heading,.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:11px;letter-spacing:1px;color:var(--lime);margin:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.metrics article{padding:22px;background:#151518;border:1px solid var(--line);border-radius:8px}.metrics span{color:var(--muted);font-size:12px;display:block}.metrics strong{font:400 32px Radeny,Sora,sans-serif;color:var(--lime);display:block;margin-top:10px}.metrics small{color:var(--muted);font-size:10px}.tabs{display:flex;gap:12px;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:18px}.tabs button{background:#202026;color:#bbb}.tabs button[aria-pressed=true]{background:var(--lime);color:#09090b}.toolbar{margin:18px 0}.search{max-width:360px;width:100%;font-size:12px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;width:100%;min-width:650px}th,td{padding:16px;text-align:left;border-bottom:1px solid var(--line);font-size:12px}th{background:#18181e;color:var(--muted);font-weight:400}td small{display:block;color:var(--muted)}td button{padding:7px 10px;font-size:11px;margin:3px}.badge{border-radius:20px;padding:4px 9px;background:#27272c;color:#ccc;white-space:nowrap}.badge.active{background:#d1f2771a;color:var(--lime)}.badge.blocked{background:#ff5c6c18;color:#ff8894}dialog{background:#151518;color:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;width:min(480px,calc(100% - 32px))}dialog::backdrop{background:#000b}.actions{display:flex;justify-content:flex-end;gap:12px}.actions button:first-child{background:#303038;color:#eee}.check{display:flex;align-items:center}.check input{width:18px}code{display:block;overflow-wrap:anywhere;font-size:20px;color:var(--lime);padding:18px;background:#09090b;border-radius:6px}#message{border:1px solid #06dbf340;color:#06dbf3;background:#06dbf30b;padding:12px 16px;margin-bottom:20px;border-radius:6px}#message.error{color:#ff8894;border-color:#ff5c6c50}[hidden]{display:none!important}@media(max-width:760px){main{padding:20px}header{padding:16px;gap:12px}header img{width:130px}header span{font-size:11px}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metrics article{padding:15px}.metrics strong{font-size:27px}.heading,.toolbar{align-items:flex-start;flex-direction:column}.tabs{gap:8px;flex-wrap:wrap}.tabs button{font-size:11px;padding:10px}h1{font-size:32px}}

.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.report-grid>article{background:#15191b;border:1px solid #303639;border-radius:18px;padding:24px;min-width:0}.inline-form{display:flex;gap:12px;align-items:end}.bar-row{margin:14px 0}.bar-label{display:flex;justify-content:space-between;gap:12px;font-size:14px}.bar-track{height:8px;background:#303639;border-radius:8px;margin-top:7px;overflow:hidden}.bar-fill{height:100%;background:#d1f277;border-radius:8px}.team-member{border-bottom:1px solid #303639;padding:16px 0}.team-member small{display:block;margin:8px 0;color:#adb6b9}fieldset{border:1px solid #303639;border-radius:12px;margin:16px 0}#webhook-url{display:block;overflow-wrap:anywhere;font-size:12px}nav.tabs{flex-wrap:wrap}@media(max-width:760px){.report-grid{grid-template-columns:1fr}.inline-form{flex-wrap:wrap}}

/* Larguras dos gráficos compatíveis com CSP sem estilos inline. */
.bar-width-0{width:0%}
.bar-width-1{width:1%}
.bar-width-2{width:2%}
.bar-width-3{width:3%}
.bar-width-4{width:4%}
.bar-width-5{width:5%}
.bar-width-6{width:6%}
.bar-width-7{width:7%}
.bar-width-8{width:8%}
.bar-width-9{width:9%}
.bar-width-10{width:10%}
.bar-width-11{width:11%}
.bar-width-12{width:12%}
.bar-width-13{width:13%}
.bar-width-14{width:14%}
.bar-width-15{width:15%}
.bar-width-16{width:16%}
.bar-width-17{width:17%}
.bar-width-18{width:18%}
.bar-width-19{width:19%}
.bar-width-20{width:20%}
.bar-width-21{width:21%}
.bar-width-22{width:22%}
.bar-width-23{width:23%}
.bar-width-24{width:24%}
.bar-width-25{width:25%}
.bar-width-26{width:26%}
.bar-width-27{width:27%}
.bar-width-28{width:28%}
.bar-width-29{width:29%}
.bar-width-30{width:30%}
.bar-width-31{width:31%}
.bar-width-32{width:32%}
.bar-width-33{width:33%}
.bar-width-34{width:34%}
.bar-width-35{width:35%}
.bar-width-36{width:36%}
.bar-width-37{width:37%}
.bar-width-38{width:38%}
.bar-width-39{width:39%}
.bar-width-40{width:40%}
.bar-width-41{width:41%}
.bar-width-42{width:42%}
.bar-width-43{width:43%}
.bar-width-44{width:44%}
.bar-width-45{width:45%}
.bar-width-46{width:46%}
.bar-width-47{width:47%}
.bar-width-48{width:48%}
.bar-width-49{width:49%}
.bar-width-50{width:50%}
.bar-width-51{width:51%}
.bar-width-52{width:52%}
.bar-width-53{width:53%}
.bar-width-54{width:54%}
.bar-width-55{width:55%}
.bar-width-56{width:56%}
.bar-width-57{width:57%}
.bar-width-58{width:58%}
.bar-width-59{width:59%}
.bar-width-60{width:60%}
.bar-width-61{width:61%}
.bar-width-62{width:62%}
.bar-width-63{width:63%}
.bar-width-64{width:64%}
.bar-width-65{width:65%}
.bar-width-66{width:66%}
.bar-width-67{width:67%}
.bar-width-68{width:68%}
.bar-width-69{width:69%}
.bar-width-70{width:70%}
.bar-width-71{width:71%}
.bar-width-72{width:72%}
.bar-width-73{width:73%}
.bar-width-74{width:74%}
.bar-width-75{width:75%}
.bar-width-76{width:76%}
.bar-width-77{width:77%}
.bar-width-78{width:78%}
.bar-width-79{width:79%}
.bar-width-80{width:80%}
.bar-width-81{width:81%}
.bar-width-82{width:82%}
.bar-width-83{width:83%}
.bar-width-84{width:84%}
.bar-width-85{width:85%}
.bar-width-86{width:86%}
.bar-width-87{width:87%}
.bar-width-88{width:88%}
.bar-width-89{width:89%}
.bar-width-90{width:90%}
.bar-width-91{width:91%}
.bar-width-92{width:92%}
.bar-width-93{width:93%}
.bar-width-94{width:94%}
.bar-width-95{width:95%}
.bar-width-96{width:96%}
.bar-width-97{width:97%}
.bar-width-98{width:98%}
.bar-width-99{width:99%}
.bar-width-100{width:100%}

/* Navegação 1.7.2c */
body.authenticated header{position:sticky;top:0;z-index:20;background:#09090bf5;backdrop-filter:blur(12px)}header>span{flex:1}header button{margin-left:0}.sidebar{position:fixed;top:94px;bottom:0;left:0;width:240px;background:#101014;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;z-index:15}.sidebar .eyebrow{padding:0 12px;margin-bottom:22px}.sidebar nav{display:grid;gap:8px}.sidebar a{display:flex;gap:14px;align-items:center;text-decoration:none;color:#b9b9c2;padding:13px 14px;border-radius:8px}.sidebar a span{width:20px;text-align:center;font-size:20px}.sidebar a:hover{background:#202026;color:#fff}.sidebar a[aria-current=page]{color:var(--lime);background:#d1f27714;box-shadow:inset 3px 0 var(--lime)}.sidebar-logout{margin-top:auto;display:flex;justify-content:space-between;background:transparent;color:#b9b9c2;border:1px solid var(--line)}body.authenticated main{margin-left:240px;max-width:none;padding:36px 40px}.user-account{position:relative;margin-left:auto}#user-menu-toggle{display:flex;gap:12px;align-items:center;background:#19191f;color:#eee;border:1px solid var(--line)}#user-menu-toggle span{color:inherit}.user-dropdown{position:absolute;right:0;top:calc(100% + 10px);min-width:240px;padding:10px;background:#19191f;border:1px solid var(--line);border-radius:10px;box-shadow:0 15px 40px #0008}.user-dropdown p{font-size:11px;padding:0 10px}.user-dropdown button,.user-dropdown a{display:block;width:100%;text-align:left;color:#eee;background:transparent;border-radius:6px;padding:11px 10px;text-decoration:none;font-size:12px}.user-dropdown button:hover,.user-dropdown a:hover{background:#2a2a32}a:focus-visible{outline:2px solid #06dbf3;outline-offset:3px}@media(max-width:900px){.sidebar{width:200px}body.authenticated main{margin-left:200px;padding:24px}.metrics{grid-template-columns:1fr 1fr}}@media(max-width:640px){body.authenticated header{flex-wrap:wrap;gap:12px}header>span{display:none}.sidebar{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .eyebrow{display:none}.sidebar nav{grid-template-columns:1fr 1fr}.sidebar a{padding:10px;font-size:12px}.sidebar-logout{margin-top:12px}body.authenticated main{margin-left:0;padding:20px}#user-menu-toggle{font-size:11px;padding:9px}#signed-user-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

#smtp-feedback{padding:14px;border:1px solid #d1f27766;background:#d1f2770d;color:#d1f277;border-radius:6px;line-height:1.5}#smtp-feedback.error{color:#ff8894;border-color:#ff5c6c50}

.settings-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:24px}.settings-tabs [role="tab"]{background:transparent;color:var(--muted);border:1px solid var(--line)}.settings-tabs [aria-selected="true"]{background:var(--lime);color:#09090b;border-color:var(--lime)}.settings-tabs button:focus-visible{outline:2px solid #06dbf3;outline-offset:3px}

.email-log-table th,.email-log-table td{padding:8px 12px;font-size:12px;line-height:1.4;text-align:left;vertical-align:middle}.email-log-table th:first-child,.email-log-table td:first-child{white-space:nowrap}.email-log-table td{border-bottom:1px solid var(--line)}.email-log-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:var(--muted)}.email-log-pagination>div{display:flex;align-items:center;gap:10px}.email-log-pagination button{padding:8px 12px;font-size:12px}.email-log-table td:nth-child(3){overflow-wrap:anywhere}

#team-list .team-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}

.affiliate-actions{display:flex;flex-wrap:wrap;gap:8px}.affiliate-table th,.affiliate-table td{padding:10px 12px;font-size:12px}.affiliate-table small{display:block;margin-top:4px;color:var(--muted)}#affiliate-links-dialog{width:min(620px,calc(100% - 32px))}#affiliate-links-dialog>label{display:grid;gap:6px;margin-top:16px}#affiliate-links-dialog>button{margin:8px 0 16px}#affiliate-form-feedback{color:#ff8894}

#users-panel th,#users-panel td{padding:7px 8px;vertical-align:middle}
#users-body td:last-child{white-space:nowrap}
#users-body td button{padding:6px 8px;margin:2px;font-size:11px}

.month-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.month-card-heading h3{margin:0}.month-card-heading button{padding:7px 10px;font-size:11px}
.current-month-summary{margin:18px 0 22px;padding:16px 18px;background:#d1f27712;border:1px solid #d1f27760;border-radius:12px}.current-month-summary>span{display:block;color:var(--lime);font-size:12px}.current-month-summary strong{display:block;font:400 42px Radeny,Sora,sans-serif;line-height:1.3;margin:6px 0;color:var(--lime)}.current-month-summary small{color:var(--muted);font-size:11px}
.current-month-row{padding:12px;border:1px solid #d1f27760;border-radius:10px;background:#d1f2770a}.current-month-row .bar-label b{color:var(--lime)}.current-month-badge{display:inline-block;padding:2px 6px;border-radius:5px;background:#d1f27722;color:var(--lime);font-size:10px;white-space:nowrap}

#support-dialog{width:min(680px,90vw)}#support-messages{max-height:360px;overflow:auto}#support-messages>div{border-bottom:1px solid #393a40;padding:12px 0}.support-message-text{white-space:pre-wrap;overflow-wrap:anywhere}#support-form textarea{width:100%;box-sizing:border-box;background:#17181c;color:white;border:1px solid #45464d;border-radius:8px;padding:12px;font:inherit}

#promotion-form textarea{width:100%;resize:vertical;box-sizing:border-box;background:#1c1c21;color:#fff;border:1px solid var(--line);border-radius:5px;padding:11px;font:inherit}#promotion-dialog{max-height:90vh;overflow:auto}#promotion-link{font-size:12px}#promotions-body td:first-child{min-width:200px;overflow-wrap:anywhere}#promotion-feedback{color:#ff8894}
#promotion-link-dialog>label{margin-top:16px}#promotion-link-dialog>#copy-promotion-link{padding:12px 18px;margin:12px 0 16px}

.delete-user-button{background:#641e27;color:#fff;border:1px solid #bd4655}#delete-user-feedback{color:#ff8894}#delete-user-dialog{max-height:90vh;overflow:auto}
#users-body .user-row-actions{display:flex;align-items:center;gap:3px;min-width:max-content}#users-body .user-row-actions>button{flex-shrink:0}#users-body .user-row-actions>.icon-action{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:5px;margin:0}#users-body .icon-action svg{pointer-events:none}

#users-panel .toolbar{flex-wrap:wrap;gap:12px;align-items:end}#users-panel .toolbar label{margin:0}#users-body td:nth-child(2){white-space:nowrap}#users-body .icon-action:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
