/* ============================================================================
   GESTOR IPTV PRO V7 — DARK SAAS PREMIUM + NEON TECH DESIGN SYSTEM
   Visual layer only. No business logic, routes or data contracts are changed.
   ============================================================================ */
:root{
  --v7-bg:#050a12;
  --v7-bg-2:#07111f;
  --v7-bg-3:#091827;
  --v7-panel:rgba(9,22,38,.86);
  --v7-panel-strong:rgba(11,27,47,.96);
  --v7-panel-soft:rgba(13,31,53,.72);
  --v7-panel-hover:rgba(15,36,61,.92);
  --v7-line:rgba(116,165,214,.16);
  --v7-line-strong:rgba(70,184,255,.28);
  --v7-text:#edf7ff;
  --v7-text-2:#c7d8e9;
  --v7-muted:#7f96ad;
  --v7-muted-2:#5f748a;
  --v7-blue:#2f8cff;
  --v7-cyan:#20d7ff;
  --v7-violet:#8b5cf6;
  --v7-green:#28d990;
  --v7-orange:#ffb14a;
  --v7-red:#ff5b70;
  --v7-shadow:0 20px 55px rgba(0,0,0,.28),0 1px 0 rgba(255,255,255,.025) inset;
  --v7-shadow-hover:0 28px 72px rgba(0,0,0,.38),0 0 34px rgba(32,215,255,.06);
  --v7-glow:0 0 0 1px rgba(32,215,255,.08),0 0 30px rgba(47,140,255,.08);
  --v7-radius:20px;
  --v7-radius-sm:13px;
  --v7-gap:22px;
  --v7-ease:cubic-bezier(.2,.8,.2,1);
  --v7-content:1420px;
}
html{background:var(--v7-bg)!important;color-scheme:dark;scroll-behavior:smooth}
body.v7-ui,body.reseller-body.v7-ui{
  background:
    radial-gradient(circle at 18% -8%,rgba(47,140,255,.12),transparent 27%),
    radial-gradient(circle at 92% 18%,rgba(139,92,246,.10),transparent 25%),
    linear-gradient(180deg,#050a12 0%,#07101b 46%,#050b13 100%)!important;
  color:var(--v7-text)!important;
}
body.v7-ui:before,body.reseller-body.v7-ui:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.16;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 85%);
}
::selection{background:rgba(32,215,255,.26);color:#fff}
*{scrollbar-width:thin;scrollbar-color:#24435f #07111f}
*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-track{background:#07111f}*::-webkit-scrollbar-thumb{background:linear-gradient(#21405d,#315c7d);border-radius:999px;border:2px solid #07111f}

/* Shell / sidebar / topbar */
body.v7-ui .sidebar{
  width:274px!important;padding:22px 15px!important;
  background:linear-gradient(180deg,rgba(5,14,26,.98),rgba(7,20,35,.97) 55%,rgba(5,13,24,.99))!important;
  border-right:1px solid rgba(83,167,226,.12)!important;
  box-shadow:18px 0 60px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(20px) saturate(125%);
}
body.v7-ui .sidebar:before{content:"";position:absolute;inset:0 0 auto;height:220px;pointer-events:none;background:radial-gradient(circle at 35% 0,rgba(32,215,255,.10),transparent 58%)}
body.v7-ui .sidebar .brand{position:relative;z-index:1;align-items:flex-start!important;padding:8px 10px 23px!important;border-bottom:1px solid rgba(113,163,211,.12)!important;margin-bottom:20px!important}
body.v7-ui .sidebar .brand img{max-width:138px!important;max-height:68px!important;background:transparent!important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.24))}
body.v7-ui .sidebar .brand-title{color:#f2f8ff!important;font-size:15px!important;font-weight:800!important;letter-spacing:-.01em}
body.v7-ui .sidebar .brand-subtitle{color:#6f89a2!important;font-size:10px!important;letter-spacing:.015em}
body.v7-ui .nav-section{margin-bottom:18px!important}
body.v7-ui .nav-section-title{padding:0 10px;color:#49647d!important;font-size:9px!important;font-weight:900!important;letter-spacing:.16em!important}
body.v7-ui .nav-link{
  position:relative;color:#90a8bd!important;padding:10px 11px!important;border:1px solid transparent!important;border-radius:12px!important;gap:10px!important;font-size:12px!important;font-weight:680!important;margin-bottom:4px!important;overflow:hidden;
  transition:transform .24s var(--v7-ease),color .2s ease,background .2s ease,border-color .2s ease,box-shadow .25s ease!important;
}
body.v7-ui .nav-link:before{content:"";position:absolute;inset:0;opacity:0;background:linear-gradient(90deg,rgba(47,140,255,.11),rgba(32,215,255,.04));transition:opacity .22s ease}
body.v7-ui .nav-link:hover{color:#eff8ff!important;background:rgba(28,78,118,.14)!important;border-color:rgba(78,163,226,.10)!important;transform:translateX(3px)!important}
body.v7-ui .nav-link:hover:before{opacity:1}
body.v7-ui .nav-link.active{
  color:#fff!important;background:linear-gradient(135deg,rgba(27,105,217,.92),rgba(33,173,221,.58) 58%,rgba(110,76,220,.72))!important;
  border-color:rgba(92,208,255,.28)!important;box-shadow:0 10px 28px rgba(0,119,255,.23),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
body.v7-ui .nav-link.active:after{content:"";position:absolute;right:9px;width:5px;height:5px;border-radius:50%;background:#9ff4ff;box-shadow:0 0 12px #20d7ff}
body.v7-ui .nav-icon{position:relative;z-index:1;width:24px!important;color:#8bcfff;font-size:14px!important;text-align:center}
body.v7-ui .nav-link span:last-child{position:relative;z-index:1}
body.v7-ui .sidebar-footer{border-top:1px solid rgba(113,163,211,.12)!important;padding:16px 10px 4px!important}
body.v7-ui .sidebar-footer p{color:#49637b!important;font-size:9px!important;letter-spacing:.08em;text-transform:uppercase}

body.v7-ui .main-content{margin-left:274px!important;padding:92px 32px 48px!important;background:transparent!important;max-width:none!important;min-height:100vh!important}
body.v7-ui .v6-stage,body.v7-ui .v7-stage{width:min(100%,var(--v7-content));margin:0 auto}
body.v7-ui .pro-topbar{
  left:274px!important;height:68px!important;padding:0 32px!important;
  background:rgba(5,14,25,.76)!important;border-bottom:1px solid rgba(92,160,211,.13)!important;
  backdrop-filter:blur(22px) saturate(135%)!important;box-shadow:0 10px 35px rgba(0,0,0,.10)!important;
}
body.v7-ui .pro-topbar.v6-scrolled,body.v7-ui .pro-topbar.v7-scrolled{background:rgba(5,14,25,.93)!important;box-shadow:0 18px 45px rgba(0,0,0,.25)!important}
body.v7-ui .pro-page-dot{width:8px;height:8px;background:var(--v7-green)!important;box-shadow:0 0 0 4px rgba(40,217,144,.08),0 0 16px rgba(40,217,144,.48)!important}
body.v7-ui .pro-topbar-title{color:#eaf5ff!important;font-size:14px!important;font-weight:800!important}
body.v7-ui .pro-topbar-sub{color:#668099!important;font-size:10px!important}
body.v7-ui .pro-user{padding:7px 10px!important;background:rgba(10,27,47,.68)!important;border:1px solid rgba(90,165,219,.16)!important;border-radius:13px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important}
body.v7-ui .pro-avatar{background:linear-gradient(135deg,var(--v7-blue),var(--v7-cyan) 60%,var(--v7-violet))!important;box-shadow:0 7px 18px rgba(32,170,255,.25)!important}
body.v7-ui .pro-user-name{color:#e8f5ff!important}body.v7-ui .pro-user-role{color:#70889e!important}
body.v7-ui .toggle-btn{background:rgba(7,25,42,.92)!important;border:1px solid rgba(74,166,227,.20)!important;box-shadow:0 8px 24px rgba(0,0,0,.25)!important}
body.v7-ui .sidebar-overlay{background:rgba(1,6,12,.72)!important;backdrop-filter:blur(4px)}

/* Page headings / hierarchy */
body.v7-ui .pro-page-header,body.reseller-body.v7-ui .r-page-head{
  position:relative;align-items:flex-end!important;margin:0 0 24px!important;padding:4px 2px 17px!important;border-bottom:1px solid rgba(95,153,201,.11)!important;
}
body.v7-ui .pro-page-header:after,body.reseller-body.v7-ui .r-page-head:after{content:"";position:absolute;left:0;bottom:-1px;width:92px;height:1px;background:linear-gradient(90deg,var(--v7-cyan),transparent);box-shadow:0 0 12px rgba(32,215,255,.45)}
body.v7-ui .pro-page-header h1,body.reseller-body.v7-ui .r-page-head h1{margin:0!important;color:#f3f9ff!important;font-size:30px!important;font-weight:820!important;letter-spacing:-.04em!important;line-height:1.08}
body.v7-ui .pro-page-header p,body.reseller-body.v7-ui .r-page-head p{margin:7px 0 0!important;color:#7891a8!important;font-size:12px!important;line-height:1.6}
body.v7-ui .page-title,body.v7-ui .form-container h2,body.v7-ui .chart-title,body.v7-ui .reports-title{color:#edf7ff!important}
body.v7-ui .page-subtitle{color:#7f96ad!important}

/* Cards / glass surfaces */
body.v7-ui :where(.form-container,.table-wrapper,.chart-container,.report-card,.export-section,.message-section,.reminder-section,.status-card,.stat-card,.action-card,.profile-info,.logo-section,.mobile-card,.pro-elevated,.premium-table,.integration-card,.r-card,.results-container,.prediction-card,.export-container,.search-container){
  color:var(--v7-text)!important;background:linear-gradient(155deg,rgba(11,28,48,.92),rgba(7,20,35,.90))!important;
  border:1px solid var(--v7-line)!important;border-radius:var(--v7-radius)!important;
  box-shadow:var(--v7-shadow)!important;backdrop-filter:blur(14px) saturate(118%);-webkit-backdrop-filter:blur(14px) saturate(118%);
}
body.v7-ui :where(.form-container,.table-wrapper,.chart-container,.report-card,.export-section,.message-section,.reminder-section,.status-card,.stat-card,.action-card,.profile-info,.logo-section,.integration-card,.r-card,.prediction-card){
  position:relative;overflow:hidden;
}
body.v7-ui :where(.form-container,.table-wrapper,.chart-container,.report-card,.export-section,.message-section,.reminder-section,.status-card,.stat-card,.action-card,.profile-info,.logo-section,.integration-card,.r-card,.prediction-card):before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.85;background:radial-gradient(260px circle at var(--v7-x,82%) var(--v7-y,0%),rgba(32,215,255,.055),transparent 65%);
}
body.v7-ui :where(.stat-card,.action-card,.report-card,.integration-card,.r-card,.prediction-card){transition:transform .28s var(--v7-ease),border-color .28s ease,box-shadow .28s ease!important}
body.v7-ui :where(.stat-card,.action-card,.report-card,.integration-card,.r-card,.prediction-card):hover{transform:translateY(-4px)!important;border-color:rgba(68,187,255,.27)!important;box-shadow:var(--v7-shadow-hover)!important}
body.v7-ui .form-container,body.v7-ui .table-wrapper,body.v7-ui .premium-table{padding:24px!important}
body.v7-ui .v6-card-head{border-bottom-color:rgba(95,153,201,.12)!important}
body.v7-ui .v6-card-head h2{color:#f0f8ff!important}
body.v7-ui .v6-card-head p{color:#708aa2!important}
body.v7-ui .v6-card-icon{background:linear-gradient(135deg,#227bff,#25d8ff 60%,#7959e8)!important;box-shadow:0 12px 30px rgba(24,154,255,.22)!important}
body.v7-ui .v6-card-icon.secondary{background:linear-gradient(135deg,#17425f,#7655e7)!important}
body.v7-ui .soft-divider{border-top-color:rgba(95,153,201,.12)!important}

/* KPI / statistics */
body.v7-ui .stat-card{min-height:126px!important;background:linear-gradient(145deg,rgba(12,31,52,.95),rgba(7,21,37,.94))!important}
body.v7-ui .stat-card:before{left:0!important;right:auto!important;top:18px!important;bottom:18px!important;width:3px!important;height:auto!important;border-radius:0 6px 6px 0;background:linear-gradient(var(--v7-blue),var(--v7-cyan))!important;box-shadow:0 0 14px rgba(32,215,255,.28)}
body.v7-ui .stat-card.vencidos:before{background:linear-gradient(#ff5b70,#ff8a7a)!important}body.v7-ui .stat-card.vencendo-hoje:before{background:linear-gradient(#ffb14a,#ffe072)!important}body.v7-ui .stat-card.em-dia:before{background:linear-gradient(#28d990,#70f0bb)!important}
body.v7-ui .stat-label{color:#7590a8!important}body.v7-ui .stat-number{color:#f4faff!important;text-shadow:0 0 20px rgba(50,166,255,.08)}
body.v7-ui .autopilot-kpis>div,body.reseller-body.v7-ui .r-kpis>div,body.reseller-body.v7-ui .report-months>div{background:linear-gradient(150deg,rgba(12,31,53,.94),rgba(7,20,35,.95))!important;border:1px solid var(--v7-line)!important;box-shadow:var(--v7-shadow)!important;color:var(--v7-text)!important}
body.v7-ui .autopilot-kpis small,body.reseller-body.v7-ui .r-kpis small,body.reseller-body.v7-ui .report-months small{color:#708ba4!important}
body.v7-ui .autopilot-kpis b,body.reseller-body.v7-ui .r-kpis b,body.reseller-body.v7-ui .report-months b{color:#f2f9ff!important}

/* Forms */
body.v7-ui .form-group,body.v7-ui .premium-field{position:relative;margin-bottom:16px!important}
body.v7-ui .form-label,body.v7-ui .premium-field label,body.v7-ui .filter-label{display:block;color:#9ab0c4!important;font-size:10px!important;font-weight:800!important;letter-spacing:.045em!important;margin-bottom:7px!important}
body.v7-ui :where(.form-input,select.form-input,textarea.form-input,.filter-input,.filter-select){
  min-height:44px!important;width:100%;padding:11px 13px!important;color:#eaf5ff!important;background:rgba(4,14,25,.70)!important;
  border:1px solid rgba(105,159,205,.20)!important;border-radius:12px!important;outline:0!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015)!important;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s var(--v7-ease)!important;
}
body.v7-ui :where(.form-input,select.form-input,textarea.form-input,.filter-input,.filter-select)::placeholder{color:#4f687f!important}
body.v7-ui :where(.form-input,select.form-input,textarea.form-input,.filter-input,.filter-select):focus{
  background:rgba(5,18,32,.96)!important;border-color:rgba(32,215,255,.52)!important;
  box-shadow:0 0 0 4px rgba(32,215,255,.075),0 0 24px rgba(47,140,255,.08)!important;transform:translateY(-1px)
}
body.v7-ui select.form-input{color-scheme:dark}body.v7-ui option{background:#091827;color:#eaf5ff}
body.v7-ui textarea.form-input{line-height:1.55;min-height:110px}
body.v7-ui input:disabled,body.v7-ui select:disabled,body.v7-ui textarea:disabled{opacity:.58!important;cursor:not-allowed!important;background:rgba(9,22,36,.55)!important}
body.v7-ui .premium-field-row,body.v7-ui .r-form-grid{gap:14px!important}
body.v7-ui .v6-money-input>span{color:#7590a8!important}
body.v7-ui .premium-switch{color:#9bb0c4!important}.premium-switch-track{background:#203248!important}.premium-switch input:checked+.premium-switch-track{background:linear-gradient(135deg,#197bff,#20d7ff)!important;box-shadow:0 0 0 4px rgba(32,215,255,.07),0 0 18px rgba(32,215,255,.12)!important}

/* Buttons */
body.v7-ui :where(.form-button,.pro-btn,.premium-primary,.premium-secondary,.btn,.btn-action,.btn-salvar,.btn-editar,.btn-deletar,.btn-whatsapp,.search-button){
  min-height:40px;border-radius:12px!important;font-weight:800!important;letter-spacing:.005em!important;
  transition:transform .22s var(--v7-ease),box-shadow .22s ease,border-color .22s ease,background .22s ease,filter .22s ease!important;
}
body.v7-ui :where(.form-button,.pro-btn.primary,.premium-primary,.btn-primary,.btn-salvar,.search-button){
  color:#fff!important;background:linear-gradient(135deg,#237cff 0%,#1bb8ed 56%,#7458e8 115%)!important;
  border:1px solid rgba(100,212,255,.22)!important;box-shadow:0 10px 26px rgba(28,132,255,.22),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
body.v7-ui :where(.form-button,.pro-btn.primary,.premium-primary,.btn-primary,.btn-salvar,.search-button):hover{transform:translateY(-2px)!important;filter:brightness(1.08);box-shadow:0 15px 34px rgba(31,143,255,.30),0 0 26px rgba(32,215,255,.08)!important}
body.v7-ui .pro-btn,body.v7-ui .premium-secondary{color:#bcd1e4!important;background:rgba(13,34,57,.82)!important;border:1px solid rgba(103,163,211,.20)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important}
body.v7-ui .pro-btn:hover,body.v7-ui .premium-secondary:hover{color:#fff!important;background:rgba(18,46,76,.94)!important;border-color:rgba(73,188,255,.34)!important;transform:translateY(-2px)!important}
body.v7-ui .btn-deletar{background:rgba(255,91,112,.10)!important;color:#ff8c9b!important;border:1px solid rgba(255,91,112,.22)!important}
body.v7-ui .btn-whatsapp{background:rgba(40,217,144,.10)!important;color:#73efbd!important;border:1px solid rgba(40,217,144,.22)!important}
body.v7-ui .v7-ripple{position:relative;overflow:hidden}.v7-ripple-ink{position:absolute;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%) scale(0);background:rgba(255,255,255,.20);animation:v7Ripple .58s ease-out forwards}@keyframes v7Ripple{to{transform:translate(-50%,-50%) scale(4);opacity:0}}

/* Tables */
body.v7-ui .table-wrapper,body.v7-ui .premium-table{overflow:auto!important}
body.v7-ui table,body.v7-ui .v6-table{width:100%!important;min-width:780px;background:transparent!important;color:var(--v7-text)!important}
body.v7-ui thead th{
  position:sticky;top:0;z-index:4;padding:14px 16px!important;background:#0b1c30!important;color:#7fa0bc!important;
  border-top:1px solid rgba(107,159,203,.08)!important;border-bottom:1px solid rgba(99,166,214,.17)!important;
  font-size:9px!important;font-weight:900!important;letter-spacing:.09em!important;text-transform:uppercase!important;white-space:nowrap!important
}
body.v7-ui tbody td{padding:14px 16px!important;color:#bdd0e2!important;border-bottom:1px solid rgba(94,147,190,.10)!important;background:transparent!important;vertical-align:middle!important}
body.v7-ui tbody td b,body.v7-ui .v6-primary-cell b{color:#edf7ff!important}
body.v7-ui tbody td small,body.v7-ui .v6-primary-cell small,body.v7-ui .v6-cell-sub{color:#6f879d!important}
body.v7-ui tbody tr{transition:background .2s ease,box-shadow .2s ease!important}
body.v7-ui tbody tr:hover{background:linear-gradient(90deg,rgba(47,140,255,.07),rgba(32,215,255,.025))!important;box-shadow:inset 3px 0 0 rgba(32,215,255,.32)}
body.v7-ui .v6-table-scroll{border:1px solid rgba(92,151,199,.14)!important;border-radius:15px!important;background:rgba(4,14,25,.34)!important}
body.v7-ui .v6-number,body.v7-ui .v6-price{color:#dcecff!important}

/* Badges / alerts / notes */
body.v7-ui .pro-badge{background:rgba(47,140,255,.10)!important;color:#8ecaff!important;border:1px solid rgba(47,140,255,.17)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
body.v7-ui .pro-badge.green{background:rgba(40,217,144,.10)!important;color:#72edb9!important;border-color:rgba(40,217,144,.16)!important}
body.v7-ui .pro-badge.orange{background:rgba(255,177,74,.10)!important;color:#ffd08b!important;border-color:rgba(255,177,74,.16)!important}
body.v7-ui .pro-badge.red{background:rgba(255,91,112,.10)!important;color:#ff9aaa!important;border-color:rgba(255,91,112,.17)!important}
body.v7-ui :where(.premium-alert,.alert,.mensagem-sucesso,.pro-security-note){border-radius:13px!important;box-shadow:none!important}
body.v7-ui .premium-alert.success,body.v7-ui .mensagem-sucesso{background:rgba(40,217,144,.075)!important;border:1px solid rgba(40,217,144,.18)!important;color:#88f2c5!important}
body.v7-ui .premium-alert.danger{background:rgba(255,91,112,.08)!important;border:1px solid rgba(255,91,112,.18)!important;color:#ffa3b0!important}
body.v7-ui .pro-security-note{background:rgba(47,140,255,.075)!important;border:1px solid rgba(47,140,255,.17)!important;color:#9bc9ef!important}
body.v7-ui .pro-security-note strong{color:#e5f4ff!important}
body.v7-ui code{color:#9bdcf6!important;background:rgba(32,215,255,.05);border-radius:6px;padding:2px 4px}

/* Premium settings/integrations normalized to dark system */
body.v7-ui .settings-premium{max-width:none!important}
body.v7-ui .settings-ambient{opacity:.16!important;filter:blur(80px)!important}.ambient-one{background:#2586ff!important}.ambient-two{background:#8458ff!important}
body.v7-ui .premium-glass,body.v7-ui .settings-hero{background:linear-gradient(145deg,rgba(12,30,52,.90),rgba(7,20,35,.82))!important;border:1px solid var(--v7-line)!important;box-shadow:var(--v7-shadow)!important}
body.v7-ui .settings-hero h1{color:#f3f9ff!important}.settings-hero p{color:#7b93aa!important}.premium-kicker,.gateway-eyebrow{color:#58dfff!important;text-shadow:0 0 16px rgba(32,215,255,.20)}
body.v7-ui .hero-metrics>div{background:rgba(6,20,34,.58)!important;border-color:rgba(101,162,209,.15)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important}.hero-metrics span{color:#eef8ff!important}.hero-metrics small{color:#728ba2!important}
body.v7-ui .integration-card:before{height:2px!important;box-shadow:0 0 14px rgba(32,215,255,.18)}
body.v7-ui .integration-head h2{color:#edf7ff!important}.integration-head p{color:#728aa1!important}.gateway-icon{background:linear-gradient(145deg,#113454,#1f6d95)!important;box-shadow:0 10px 24px rgba(0,0,0,.22),0 0 18px rgba(32,215,255,.06)!important}
body.v7-ui .webhook-box,body.v7-ui .premium-details{background:rgba(5,18,31,.70)!important;border-color:rgba(95,153,201,.14)!important;color:#8eabc3!important}.webhook-box code{color:#79dff7!important}.premium-details summary{color:#9bb1c6!important}.variable-chips span{background:rgba(47,140,255,.08)!important;color:#8dc9ff!important;border-color:rgba(47,140,255,.16)!important}
body.v7-ui .settings-savebar{background:rgba(7,20,35,.90)!important;border:1px solid rgba(79,161,221,.18)!important;box-shadow:0 18px 50px rgba(0,0,0,.34)!important;backdrop-filter:blur(20px)}
body.v7-ui .settings-savebar b{color:#eaf5ff!important}.settings-savebar small{color:#70889f!important}

/* Plans / resellers / operational grids */
body.v7-ui .plans-layout{grid-template-columns:minmax(390px,450px) minmax(0,1fr)!important;gap:24px!important}
body.v7-ui .plans-card,body.v7-ui .plans-list-card{background:linear-gradient(150deg,rgba(11,28,48,.94),rgba(7,20,35,.93))!important;border:1px solid var(--v7-line)!important;box-shadow:var(--v7-shadow)!important}
body.v7-ui .v6-form-footer{border-top-color:rgba(95,153,201,.12)!important}
body.v7-ui .plan-check-grid label{color:#b6c9da!important;background:rgba(5,18,31,.55)!important;border-color:rgba(93,152,199,.15)!important}.plan-check-grid label:hover{background:rgba(13,36,61,.76)!important;border-color:rgba(68,187,255,.25)!important}.plan-check-grid span{color:#e4f2ff!important}.plan-check-grid small{color:#6f879c!important}
body.v7-ui .balance-duo>div{background:rgba(5,18,31,.64)!important;border-color:rgba(93,152,199,.15)!important}.balance-duo small{color:#718aa2!important}.balance-duo b{color:#eef8ff!important}
body.v7-ui .inline-credit-form{gap:10px!important}
body.v7-ui .section-head h3{color:#edf7ff!important}.section-head p{color:#70889f!important}.section-head a{color:#58dfff!important}

/* Search / reports / charts / legacy components */
body.v7-ui .search-history,body.v7-ui .filters-grid{color:var(--v7-text-2)!important}
body.v7-ui .results-header,body.v7-ui .card-header{border-color:rgba(92,151,199,.12)!important}
body.v7-ui .results-count,body.v7-ui .report-description,body.v7-ui .action-description,body.v7-ui .history-item,body.v7-ui .muted{color:#7891a8!important}
body.v7-ui .action-title,body.v7-ui .report-title,body.v7-ui .history-title{color:#edf7ff!important}
body.v7-ui .chart-container canvas{filter:saturate(.9) brightness(.95)}
body.v7-ui .chart-legend,body.v7-ui .legend-text{color:#95abc0!important}
body.v7-ui .empty-state{color:#7891a8!important;background:rgba(5,18,31,.38)!important;border-color:rgba(95,153,201,.12)!important}

/* Reseller shell */
body.reseller-body.v7-ui .r-sidebar{width:254px!important;background:linear-gradient(180deg,rgba(5,14,26,.99),rgba(8,23,39,.98))!important;border-right:1px solid rgba(83,167,226,.12)!important;box-shadow:18px 0 60px rgba(0,0,0,.34)!important}
body.reseller-body.v7-ui .r-brand{border-bottom-color:rgba(94,154,204,.12)!important}.r-brand-icon{background:linear-gradient(135deg,#237cff,#20d7ff 60%,#7659e8)!important;box-shadow:0 9px 24px rgba(31,144,255,.24)!important}.r-brand b{color:#eef7ff!important}.r-brand small{color:#668099!important}.r-nav-title{color:#49647d!important}.r-nav{color:#90a7bc!important;border:1px solid transparent!important;border-radius:12px!important;transition:.22s var(--v7-ease)!important}.r-nav:hover{color:#fff!important;background:rgba(31,95,144,.16)!important;border-color:rgba(72,166,224,.10)!important;transform:translateX(3px)}.r-nav.active{color:#fff!important;background:linear-gradient(135deg,rgba(35,124,255,.86),rgba(32,215,255,.35),rgba(118,89,232,.66))!important;border-color:rgba(86,204,255,.24)!important;box-shadow:0 9px 26px rgba(31,133,255,.20)!important}.r-nav span{color:#8dccff!important}.r-sidebar-foot{border-top-color:rgba(92,151,199,.12)!important;color:#4c687f!important}
body.reseller-body.v7-ui .r-top{left:254px!important;height:68px!important;background:rgba(5,14,25,.78)!important;border-bottom:1px solid rgba(92,160,211,.13)!important;backdrop-filter:blur(22px)!important;color:#eaf5ff!important}.r-top>div:first-child b{color:#eaf5ff!important}.r-top>div:first-child small{color:#668099!important}.r-wallet span{background:rgba(10,27,47,.70)!important;border-color:rgba(90,165,219,.15)!important;color:#718aa2!important}.r-wallet b{color:#e6f4ff!important}
body.reseller-body.v7-ui .r-main{margin-left:254px!important;padding:94px 30px 48px!important;background:transparent!important}.r-stage{width:min(100%,1360px)!important;margin:0 auto!important}.r-hero{background:linear-gradient(135deg,rgba(10,37,62,.96),rgba(12,70,99,.74) 52%,rgba(71,47,122,.76))!important;border:1px solid rgba(84,190,245,.16)!important;box-shadow:0 24px 65px rgba(0,0,0,.32)!important}.r-hero span{color:#7de8ff!important}.r-hero p{color:#9fb6ca!important}
.r-client-list>a{color:#bed0df!important;border-bottom-color:rgba(91,149,195,.10)!important}.r-client-list>a:hover{background:rgba(47,140,255,.05)!important}.r-client-list b{color:#edf7ff!important}.r-client-list small{color:#6f879d!important}.r-client-right{color:#9fb6ca!important}.timeline>div{background:rgba(5,18,31,.55)!important;border-left-color:#20d7ff!important}.timeline b{color:#dff3ff!important}.timeline span{color:#94abc0!important}.timeline small{color:#657d93!important}.mini-table>div{border-bottom-color:rgba(91,149,195,.10)!important}.mini-table span small{color:#6f879d!important}.mini-table strong{color:#edf7ff!important}

/* Footer */
body.v7-ui+footer,body.v7-ui~footer{background:transparent!important;color:#526c82!important}

/* Authentication / public payment pages */
body.v7-public,body.v7-login,body.v7-payment{
  margin:0;min-height:100vh;color:var(--v7-text)!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  background:radial-gradient(circle at 12% 10%,rgba(47,140,255,.17),transparent 28%),radial-gradient(circle at 88% 82%,rgba(139,92,246,.14),transparent 27%),linear-gradient(155deg,#03080f,#071321 58%,#040a12)!important;
}
body.v7-login:before,body.v7-public:before,body.v7-payment:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(circle at center,#000,transparent 88%)}
body.v7-login .login-shell{position:relative;background:rgba(7,20,35,.88)!important;border:1px solid rgba(97,185,239,.16)!important;box-shadow:0 36px 110px rgba(0,0,0,.50),0 0 55px rgba(32,215,255,.04)!important;backdrop-filter:blur(20px);border-radius:28px!important}
body.v7-login .brand-side{position:relative;background:linear-gradient(155deg,rgba(8,27,47,.98),rgba(10,54,78,.83) 62%,rgba(56,38,99,.84))!important;overflow:hidden}.brand-side:after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;right:-180px;top:-170px;border:1px solid rgba(108,216,255,.13);box-shadow:0 0 0 48px rgba(32,215,255,.025),0 0 0 96px rgba(139,92,246,.018)}
body.v7-login .brand-side h1{color:#f2f9ff!important}.brand-side p{color:#9fb6ca!important}.chip{background:rgba(5,18,31,.30)!important;border-color:rgba(149,215,255,.13)!important;color:#b9cfe1!important;backdrop-filter:blur(8px)}
body.v7-login .form-side{background:rgba(6,18,31,.90)!important}.eyebrow{color:#58dfff!important;text-shadow:0 0 16px rgba(32,215,255,.18)}.form-side h2{color:#eff8ff!important}.muted{color:#748ca3!important}.group label{color:#9eb3c6!important}.input{color:#eef7ff!important;background:rgba(3,13,23,.68)!important;border-color:rgba(103,164,211,.22)!important}.input:focus{background:rgba(4,16,28,.96)!important;border-color:rgba(32,215,255,.54)!important;box-shadow:0 0 0 4px rgba(32,215,255,.07),0 0 24px rgba(32,215,255,.07)!important}.show{color:#7ea9c7!important}.security{border-top-color:rgba(91,149,195,.12)!important;color:#678198!important}.security .dot{box-shadow:0 0 12px rgba(40,217,144,.48)}body.v7-login .btn{background:linear-gradient(135deg,#237cff,#1bb8ed 58%,#7458e8)!important;box-shadow:0 13px 30px rgba(31,143,255,.26)!important}

body.v7-payment .shell,body.v7-payment .card,body.v7-public .box{position:relative;color:#eaf5ff!important;background:linear-gradient(150deg,rgba(11,29,50,.92),rgba(6,18,31,.92))!important;border:1px solid rgba(92,179,234,.17)!important;box-shadow:0 34px 100px rgba(0,0,0,.46),0 0 45px rgba(32,215,255,.04)!important;backdrop-filter:blur(20px);border-radius:26px!important;overflow:hidden}
body.v7-payment .shell:before,body.v7-payment .card:before,body.v7-public .box:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(300px circle at 85% 0,rgba(32,215,255,.075),transparent 65%)}
body.v7-payment .tag{color:#63e5ff!important}.shell h1,.card h1,.box h1{color:#f2f9ff!important}.shell p,.card p,.box p{color:#8fa7bc!important}.meta div{background:rgba(4,16,28,.58)!important;border-color:rgba(95,153,201,.14)!important}.meta small{color:#6f879e!important}.meta b{color:#eaf5ff!important}.gate label{color:#c8d9e8!important;background:rgba(5,18,31,.55)!important;border-color:rgba(95,153,201,.16)!important;transition:.2s var(--v7-ease)}.gate label:hover{transform:translateY(-2px);border-color:rgba(32,215,255,.28)!important;background:rgba(9,30,50,.78)!important}.gate label:has(input:checked){border-color:rgba(32,215,255,.55)!important;background:rgba(25,132,184,.12)!important;box-shadow:0 0 0 3px rgba(32,215,255,.05),0 0 24px rgba(32,215,255,.05)}body.v7-payment .btn{background:linear-gradient(135deg,#237cff,#20c5ee 58%,#7458e8)!important;box-shadow:0 12px 30px rgba(31,143,255,.25)!important}.status{background:rgba(255,177,74,.10)!important;color:#ffd08a!important;border:1px solid rgba(255,177,74,.16)}.status.ok{background:rgba(40,217,144,.10)!important;color:#79efbd!important;border-color:rgba(40,217,144,.17)}.amount{color:#f4faff!important}.qr{background:#fff!important;border-color:rgba(129,190,231,.22)!important;box-shadow:0 15px 38px rgba(0,0,0,.28)!important}.code{color:#c9deee!important;background:rgba(3,13,23,.72)!important;border-color:rgba(95,153,201,.18)!important}.box .note{border-top-color:rgba(95,153,201,.12)!important;color:#70889f!important}

/* Motion / reveal */
html.v7-js .v7-reveal{opacity:0;transform:translateY(18px) scale(.992);filter:blur(2px);transition:opacity .58s var(--v7-ease) var(--v7-delay,0ms),transform .58s var(--v7-ease) var(--v7-delay,0ms),filter .58s ease var(--v7-delay,0ms)}
html.v7-js .v7-reveal.is-visible{opacity:1;transform:none;filter:none}
html.v7-js body.v7-ui .main-content{animation:v7Page .42s var(--v7-ease) both}@keyframes v7Page{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
.v7-live-glow{will-change:transform}.v7-live-glow:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;opacity:0;background:radial-gradient(220px circle at var(--v7-x,50%) var(--v7-y,50%),rgba(32,215,255,.07),transparent 68%);transition:opacity .22s ease}.v7-live-glow:hover:after{opacity:1}

/* Responsive */
@media(max-width:1180px){body.v7-ui .plans-layout,body.v7-ui .ops-grid,body.v7-ui .reseller-admin-grid,body.v7-ui .autopilot-layout{grid-template-columns:1fr!important}.gateway-grid{grid-template-columns:1fr!important}}
@media(max-width:900px){body.v7-ui .main-content{padding:84px 18px 38px!important}.premium-field-row{grid-template-columns:1fr 1fr!important}body.reseller-body.v7-ui .r-main{padding:84px 16px 38px!important}.settings-hero{padding:26px!important}.pro-page-header h1,.r-page-head h1{font-size:27px!important}}
@media(max-width:768px){body.v7-ui .sidebar{width:258px!important}body.v7-ui .main-content{margin-left:0!important}body.v7-ui .pro-topbar{left:0!important;padding-left:64px!important}.sidebar.open{box-shadow:30px 0 80px rgba(0,0,0,.52)!important}body.reseller-body.v7-ui .r-sidebar{width:252px!important}body.reseller-body.v7-ui .r-top{left:0!important;padding-left:62px!important}body.reseller-body.v7-ui .r-main{margin-left:0!important}.r-sidebar.open{box-shadow:30px 0 80px rgba(0,0,0,.52)!important}}
@media(max-width:640px){body.v7-ui .main-content{padding-left:12px!important;padding-right:12px!important}.pro-page-header,.r-page-head{align-items:flex-start!important;flex-direction:column!important}.pro-page-header h1,.r-page-head h1{font-size:25px!important}.premium-field-row,.r-form-grid,.billing-info-grid{grid-template-columns:1fr!important}.form-container,.table-wrapper,.premium-table,.plans-card,.plans-list-card,.r-card{padding:19px!important}.settings-hero{padding:22px 19px!important}.settings-hero h1{font-size:27px!important}.hero-metrics{flex-direction:column!important;width:100%}.hero-metrics>div{width:100%!important}.pro-actions{width:100%}.pro-actions>*{max-width:100%}.r-wallet{display:none!important}.v7-public,.v7-login,.v7-payment{padding:14px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}html.v7-js .v7-reveal{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}html.v7-js body.v7-ui .main-content{animation:none!important}.v7-ripple-ink{display:none!important}body.v7-ui *{scroll-behavior:auto!important}.nav-link,.r-nav,.stat-card,.action-card,.report-card,.integration-card,.r-card,.form-input,.pro-btn,.form-button,.gate label{transition:none!important}.nav-link:hover,.r-nav:hover,.stat-card:hover,.action-card:hover,.report-card:hover,.integration-card:hover,.r-card:hover,.pro-btn:hover,.form-button:hover,.gate label:hover{transform:none!important}}
body.v7-ui footer{background:transparent!important;color:#526c82!important;border-top:1px solid rgba(92,151,199,.06)}

/* V9 • primeiro acesso obrigatório */
.first-access-overlay{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:20px;background:rgba(2,7,16,.82);backdrop-filter:blur(14px) saturate(120%);-webkit-backdrop-filter:blur(14px) saturate(120%);animation:v9OverlayIn .28s ease both}.first-access-overlay.dismissed{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}.first-access-modal{width:min(560px,100%);position:relative;overflow:hidden;padding:30px;border-radius:24px;border:1px solid rgba(99,190,255,.22);background:linear-gradient(155deg,rgba(14,29,52,.97),rgba(9,19,37,.97));box-shadow:0 34px 100px rgba(0,0,0,.5),0 0 52px rgba(22,119,255,.12),inset 0 1px rgba(255,255,255,.08);color:#eef6ff;animation:v9ModalIn .38s cubic-bezier(.2,.8,.2,1) both}.first-access-modal:before{content:"";position:absolute;width:250px;height:250px;right:-110px;top:-130px;border-radius:50%;background:radial-gradient(circle,rgba(30,174,255,.2),transparent 68%);pointer-events:none}.first-access-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;margin-bottom:16px;font-size:27px;background:linear-gradient(145deg,rgba(22,119,255,.24),rgba(102,63,255,.2));border:1px solid rgba(94,190,255,.22);box-shadow:0 14px 35px rgba(19,116,255,.18)}.first-access-modal h2{font-size:27px;line-height:1.12;letter-spacing:-.035em;margin:7px 0 11px;color:#f4f8ff}.first-access-modal>p{font-size:13px;line-height:1.7;color:#aebdd3;margin:0 0 20px}.first-access-modal>p strong{color:#f0f7ff}.first-access-steps{display:flex;align-items:flex-start;gap:12px;padding:12px 13px;margin:9px 0;border:1px solid rgba(112,157,210,.15);border-radius:14px;background:rgba(255,255,255,.035)}.first-access-steps>span{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:9px;background:rgba(22,119,255,.18);color:#70c8ff;font-size:11px;font-weight:900;border:1px solid rgba(75,177,255,.18)}.first-access-steps b,.first-access-steps small{display:block}.first-access-steps b{font-size:12px;color:#e8f2ff}.first-access-steps small{font-size:10px;color:#879ab5;margin-top:3px;line-height:1.5}.first-access-action{width:100%;margin-top:17px;min-height:46px}.first-access-foot{display:block;text-align:center;color:#7387a5;font-size:9px;line-height:1.5;margin-top:12px}@keyframes v9OverlayIn{from{opacity:0}to{opacity:1}}@keyframes v9ModalIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}@media(max-width:560px){.first-access-modal{padding:23px 19px;border-radius:20px}.first-access-modal h2{font-size:23px}}@media(prefers-reduced-motion:reduce){.first-access-overlay,.first-access-modal{animation:none!important}.first-access-overlay.dismissed{transition:none!important}}


/* V12 — legibilidade de campos + multi-tenant branding */
body.v7-ui :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),textarea,select,.input,.form-input,.search-input,.filter-input,.filter-select){
  color:#eaf5ff!important;-webkit-text-fill-color:#eaf5ff!important;caret-color:#65e4ff!important;
}
body.v7-ui :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),textarea,select,.input,.form-input,.search-input,.filter-input,.filter-select):not([readonly]):not(:disabled){background-color:#071725!important;}
body.v7-ui :where(input,textarea):-webkit-autofill,body.v7-ui :where(input,textarea):-webkit-autofill:hover,body.v7-ui :where(input,textarea):-webkit-autofill:focus{-webkit-text-fill-color:#eaf5ff!important;-webkit-box-shadow:0 0 0 1000px #071725 inset!important;box-shadow:0 0 0 1000px #071725 inset!important;caret-color:#65e4ff!important;transition:background-color 9999s ease-out 0s!important;}
body.v7-ui select,body.v7-ui option{color:#eaf5ff!important;background:#071725!important;-webkit-text-fill-color:#eaf5ff!important;color-scheme:dark!important;}
body.v7-ui input[readonly],body.v7-ui textarea[readonly]{color:#b8cad9!important;-webkit-text-fill-color:#b8cad9!important;background:#0a1b2b!important;}
.r-brand-logo{width:46px;height:46px;flex:0 0 46px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:rgba(255,255,255,.04);border:1px solid rgba(88,207,255,.16);box-shadow:0 0 24px rgba(32,215,255,.08)}.r-brand-logo img{width:100%;height:100%;object-fit:contain;padding:4px}.tenant-logo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.tenant-logo-card{padding:16px;border:1px solid rgba(91,155,207,.16);border-radius:16px;background:rgba(5,18,31,.56)}.tenant-logo-card>label{display:block;color:#d9ecfa;font-weight:800;font-size:12px;margin:10px 0 7px}.tenant-logo-card small{display:block;color:#728aa0;font-size:9px;margin-top:6px}.tenant-logo-preview{height:110px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,rgba(10,31,52,.9),rgba(4,16,28,.95));border:1px dashed rgba(80,186,235,.2);overflow:hidden}.tenant-logo-preview img{max-width:88%;max-height:88%;object-fit:contain}.tenant-logo-preview span{font-size:9px;letter-spacing:.13em;color:#526e86}.tenant-public-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 18px;color:#cbe8f8;font-size:12px;font-weight:850;letter-spacing:.03em}.tenant-public-brand img{max-width:150px;max-height:56px;object-fit:contain}.tenant-public-brand span{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:760px){.tenant-logo-grid{grid-template-columns:1fr}}

.r-hero-brand-logo{display:block;max-width:150px;max-height:60px;object-fit:contain;margin:0 0 14px;filter:drop-shadow(0 8px 24px rgba(32,215,255,.12))}.r-hero-copy{position:relative;z-index:2}

/* FINAL • Network reports and visible logout in dark SaaS */
body.reseller-body.v7-ui .r-top-actions{display:flex;align-items:center;gap:10px}.r-top-logout{color:#ff9aa8!important;background:rgba(255,91,112,.075)!important;border:1px solid rgba(255,91,112,.17)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important}.r-top-logout:hover{color:#fff!important;background:rgba(255,91,112,.14)!important;border-color:rgba(255,115,132,.32)!important;box-shadow:0 12px 28px rgba(255,91,112,.10)!important}.network-kpi,.network-panel{background:linear-gradient(150deg,rgba(11,28,48,.94),rgba(7,20,35,.93))!important;border:1px solid var(--v7-line)!important;box-shadow:var(--v7-shadow)!important;color:var(--v7-text)!important}.network-kpi:before{background:linear-gradient(180deg,#2f8cff,#20d7ff 58%,#795cf0)!important;box-shadow:0 0 18px rgba(32,215,255,.16)}.network-kpi:hover{box-shadow:var(--v7-shadow-hover)!important;border-color:rgba(72,185,255,.24)!important}.network-kpi small{color:#6e879e!important}.network-kpi b{color:#f1f8ff!important}.network-kpi span{color:#728aa0!important}.network-panel-head{border-bottom-color:rgba(95,153,201,.12)!important}.network-panel-head h2{color:#edf7ff!important}.network-panel-head p{color:#728aa1!important}.network-number{background:rgba(47,140,255,.08)!important;color:#acd6ff!important;border:1px solid rgba(47,140,255,.12)!important}.network-total{background:linear-gradient(135deg,rgba(47,140,255,.12),rgba(32,215,255,.07))!important;border:1px solid rgba(65,190,255,.20)!important;color:#75e5ff!important;box-shadow:0 0 18px rgba(32,215,255,.05)}.network-name b{color:#edf7ff!important}.network-name small{color:#6e879e!important}.network-branch{background:rgba(47,140,255,.09)!important;color:#70dcff!important;border:1px solid rgba(57,182,255,.14)!important}
