.reseller-logo{width:38px;height:38px;border-radius:11px;object-fit:cover;background:#fff;padding:3px}.reseller-top-public{margin-left:0}.section-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.inline-search{display:flex;gap:7px;align-items:center}.inline-search input{min-width:210px}.reseller-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px;margin-top:16px}.reseller-form-grid .full-field{grid-column:1/-1}.compact-grid{align-items:end}.quick-links{display:grid;gap:9px;margin-top:14px}.quick-link{display:block;padding:13px;border:1px solid #e3e9df;border-radius:11px;background:#fbfcf8}.quick-link:hover{border-color:#abc995;background:#f5f9eb}.quick-link strong,.quick-link span{display:block}.quick-link strong{font-size:12px}.quick-link span{margin-top:3px;color:var(--muted);font-size:11px}.table-sub{display:block;color:var(--muted);font-size:10px;margin-top:2px}.row-actions{display:flex;gap:5px;flex-wrap:wrap}.status-pill{display:inline-flex;padding:5px 8px;border-radius:99px;font-size:10px;font-weight:750;background:#eef4ed;color:#416848}.status-active,.status-paid,.status-sent{background:#e5f3e8;color:#286247}.status-blocked,.status-pending{background:#fbf0dc;color:#876123}.status-cancelled,.status-failed{background:#fae7e4;color:#934c43}.plans-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reseller-plans-grid{margin-top:16px}.plan-card .status-pill{width:max-content;margin-top:9px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:17px}.template-card{border:1px solid #e3e9df;border-radius:13px;padding:15px;background:#fbfcf8}.template-card strong{font-size:13px}.template-card textarea{min-height:170px;resize:vertical}.message-preview{display:block;max-width:230px;color:#5f6d63;font-size:10px;line-height:1.45}.checkout-public-card{max-width:760px;margin:30px auto}.reseller-public-checkout{min-height:100vh;background:var(--canvas)}.public-checkout-price{margin:17px 0;font:700 29px 'Space Grotesk';color:var(--leaf)}.public-checkout-price small{font:500 12px 'DM Sans';color:var(--muted)}.checkout-pix-grid{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center;margin-top:18px}.checkout-qr-wrap{padding:12px;text-align:center;border:1px solid #e3e9df;border-radius:13px;background:#fff}.checkout-qr-wrap img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.checkout-qr-wrap small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.checkout-copy-box{padding:15px;border:1px solid #e3e9df;border-radius:13px;background:#fbfcf8}.checkout-copy-box label{display:block;font-size:11px;font-weight:750;margin-bottom:6px}.checkout-copy-box input{font-size:11px}.checkout-txid{margin-top:12px;color:var(--muted);font-size:11px}.account-logo-preview{display:block;width:90px;height:90px;object-fit:cover;border-radius:17px;border:1px solid #dfe7dc;margin:15px 0}.help-card{background:linear-gradient(145deg,#fbfcf5,#f0f5e8)}.check-line{display:flex;gap:8px;align-items:center;margin-top:14px;font-size:11px;color:#45564b}.check-line input{width:auto}.btn.danger{background:#fae7e4;color:#934c43;border:1px solid #efcfc8}.btn.small{min-height:34px;padding:0 10px;font-size:10px}.table-wrap{overflow:auto;margin-top:17px}.table-wrap table{width:100%;border-collapse:collapse;min-width:690px}.table-wrap th,.table-wrap td{text-align:left;padding:11px 9px;border-bottom:1px solid #edf0e9;vertical-align:middle;font-size:11px}.table-wrap th{color:#7b877c;text-transform:uppercase;letter-spacing:.08em;font-size:9px}.table-empty{text-align:center!important;color:var(--muted);padding:28px!important}
@media(max-width:900px){.plans-grid,.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title{flex-direction:column}.inline-search{width:100%}.inline-search input{min-width:0;flex:1}}
@media(max-width:620px){.reseller-form-grid,.plans-grid,.template-grid{grid-template-columns:1fr}.reseller-form-grid .full-field{grid-column:auto}.checkout-pix-grid{grid-template-columns:1fr}.checkout-qr-wrap{max-width:230px;margin:auto}.row-actions{align-items:stretch}.row-actions .btn,.row-actions form{flex:1}.row-actions form .btn{width:100%}.inline-search{flex-wrap:wrap}.inline-search input,.inline-search button{width:100%}.section-title .actions{width:100%}.section-title .actions .btn{flex:1}}

/* Padrão Nexo compartilhado com o painel admin: grafite, verde neon e cartões de alto contraste. */
body.reseller-theme{background:#070b0d;color:#edf2f3;background-image:linear-gradient(rgba(0,230,118,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(0,230,118,.018) 1px,transparent 1px);background-size:72px 72px}
body.reseller-theme .reseller-top{background:rgba(9,15,17,.92);border-color:#1c292e;color:#eef4f3}
body.reseller-theme .reseller-brand,body.reseller-theme .reseller-brand b{color:#f0f5f4}body.reseller-theme .reseller-brand small,body.reseller-theme .top-links a{color:#8fa29b}
body.reseller-theme .reseller-sidebar{background:#05090b;border-right:1px solid #12251f}body.reseller-theme .side-link{color:#aab7b3}body.reseller-theme .side-link:hover{background:#101c1c;color:#fff}body.reseller-theme .side-link.active{background:linear-gradient(110deg,#00e676,#00c987);color:#03120b;box-shadow:0 8px 24px rgba(0,230,118,.18)}body.reseller-theme .side-link.active .side-icon{color:#03120b}body.reseller-theme .sidebar-caption{color:#8da39a}body.reseller-theme .sidebar-note{border-color:#1b2b2d}body.reseller-theme .sidebar-note strong{color:#f2f6f5}body.reseller-theme .sidebar-note p{color:#91a59e}
body.reseller-theme .reseller-main{background:rgba(7,11,13,.72)}body.reseller-theme .page-heading h1,body.reseller-theme h1,body.reseller-theme h2,body.reseller-theme h3{color:#f0f4f5}body.reseller-theme .eyebrow,body.reseller-theme .section-kicker{color:#91a09e}body.reseller-theme .muted,body.reseller-theme .table-sub,body.reseller-theme .reseller-footer{color:#98a4aa}
body.reseller-theme .card,body.reseller-theme .stat,body.reseller-theme .template-card,body.reseller-theme .quick-link{background:#11191f;border-color:#26343b;color:#eaf0f1;box-shadow:0 18px 46px rgba(0,0,0,.23)}body.reseller-theme .quick-link:hover{background:#172522;border-color:#16734b}body.reseller-theme .stat span,body.reseller-theme .table-wrap th{color:#9aa7aa}body.reseller-theme .stat strong,body.reseller-theme .card strong{color:#f4f7f8}
body.reseller-theme input,body.reseller-theme select,body.reseller-theme textarea{background:#0b1216;color:#e9eff0;border-color:#2b393f}body.reseller-theme input:focus,body.reseller-theme select:focus,body.reseller-theme textarea:focus{border-color:#00c878;box-shadow:0 0 0 3px rgba(0,230,118,.13)}body.reseller-theme .form-label{color:#b6c2c0}
body.reseller-theme .brand-mark,body.reseller-theme .account-chip span{background:#00e676;color:#03120b;box-shadow:0 0 25px rgba(0,230,118,.17)}body.reseller-theme .hero-card{background:radial-gradient(ellipse at 80% 25%,rgba(0,230,118,.18),transparent 34%),linear-gradient(115deg,#07110e,#0b1b17 65%,#10261d);border:1px solid #164633;box-shadow:0 20px 48px rgba(0,0,0,.33)}body.reseller-theme .hero-card p{color:#a4b7ad}
body.reseller-theme .btn.primary{background:linear-gradient(105deg,#00e676,#00c98a);color:#03120b;border-color:transparent}body.reseller-theme .btn.secondary{background:#182126;color:#d8e0e2;border-color:#303e44}body.reseller-theme .btn.danger{background:#321c1d;color:#ff8b7d;border-color:#542b2b}body.reseller-theme .notice{background:#10261d;border-color:#1b4832;color:#b8e6cd}body.reseller-theme .error{background:#321d1e;border-color:#57302f;color:#ffb3a8}body.reseller-theme .status-active,.reseller-theme .status-paid{background:#10291e;color:#44e991}body.reseller-theme .status-pending{background:#302719;color:#f2c76b}body.reseller-theme .table-wrap th,body.reseller-theme .table-wrap td{border-color:#243137}body.reseller-theme .table-wrap td{color:#bdc8ca}body.reseller-theme .reseller-footer a{color:#39de90}
body.reseller-theme .evolution-qr{background:#0b1216;border-color:#26343b}body.reseller-theme .evolution-qr img{background:#fff;border-radius:12px}.whatsapp-hero .status-pill{position:relative;z-index:1}
@media(max-width:620px){body.reseller-theme .reseller-sidebar{background:#0b1216}body.reseller-theme .sidebar-toggle{background:#182126;border-color:#303e44;color:#d8e0e2}}

body.reseller-theme .connection-choice{display:grid;gap:8px;margin-bottom:12px;padding:12px;border:1px solid #26343b;border-radius:11px;background:#0b1216}body.reseller-theme .connection-choice label{display:flex;align-items:center;gap:8px;margin:0;color:#d8e2e2;font-size:12px}body.reseller-theme .connection-choice input{width:auto}body.reseller-theme .connection-choice small{color:#44e991;font-size:10px}body.reseller-theme .webhook-card .copy-box{margin-top:14px}body.reseller-theme .webhook-card .copy-box input{font-size:11px}

/* Recarga Pix: remover fundos brancos das caixas próprias do checkout. */
body.reseller-theme .reseller-payment-grid .checkout-qr-wrap,body.reseller-theme .reseller-payment-grid .checkout-copy-box{background:#11191f!important;border-color:#29373e!important;color:#e8eef0!important;box-shadow:0 16px 40px rgba(0,0,0,.25)}body.reseller-theme .reseller-payment-grid .checkout-qr-wrap img{background:#fff!important;border-radius:8px}body.reseller-theme .reseller-payment-grid .checkout-qr-wrap small,body.reseller-theme .reseller-payment-grid .checkout-txid{color:#98a4aa!important}body.reseller-theme .reseller-payment-grid .checkout-copy-box label{color:#d4dfe1!important}

body.reseller-theme .nav-alert-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:auto;border-radius:99px;background:#00e676;color:#03120b;font-size:9px;font-weight:800}body.reseller-theme .reseller-notification{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px;border:1px solid #29373e;border-radius:13px;background:#11191f;margin:9px 0}.reseller-notification.is-new{border-color:#1b6749;box-shadow:0 0 0 1px #00e67618}.reseller-notification h3{margin:9px 0 5px;color:#f1f5f6;font-size:15px}.reseller-notification p{margin:0;color:#aab7ba;font-size:12px;line-height:1.55}.reseller-notification small{display:block;margin-top:8px;color:#718084;font-size:10px}@media(max-width:620px){body.reseller-theme .reseller-notification{flex-direction:column}}

.pwa-install-button{border:1px solid #b9ed72;background:#b9ed72;color:#0b211b;border-radius:999px;padding:9px 13px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 8px 18px #0002}.pwa-install-button[hidden]{display:none}

/* Condição comercial e ações administrativas responsivas. */
.reseller-condition-card{scroll-margin-top:84px}.condition-summary{display:grid;gap:6px;margin:15px 0;padding:14px;border:1px solid #273940;border-radius:12px;background:#11191f}.condition-summary strong{color:#00e676;font:700 22px 'Space Grotesk'}.condition-summary span{color:#aab7ba;font-size:11px;line-height:1.5}.condition-summary b{color:#e8f5e7}.inline-renew-form{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}.inline-renew-form input{width:68px;height:34px;padding:6px 7px;font-size:10px}.inline-renew-form .btn{white-space:nowrap}@media(max-width:760px){.inline-renew-form{width:100%;margin-top:5px}.inline-renew-form input{flex:1}.inline-renew-form .btn{flex:0 0 auto}.reseller-condition-card .actions{align-items:stretch}.reseller-condition-card .actions .btn{min-width:0;white-space:normal;text-align:center}}

.renewal-countdown{display:grid;gap:5px;margin:14px 0;padding:14px 15px;border:1px solid #24533d;border-radius:12px;background:linear-gradient(135deg,#0d211d,#102b22);box-shadow:inset 0 0 0 1px #00e67612}.renewal-countdown-label{color:#8fa69d;font-size:9px;font-weight:800;letter-spacing:.14em}.renewal-countdown-value{color:#00e676;font:700 clamp(20px,3vw,28px)/1.1 'Space Grotesk',sans-serif;letter-spacing:-.04em}.renewal-countdown small{color:#aab7ba;font-size:10px}.renewal-countdown.is-expired{border-color:#8a433e;background:#2a1718}.renewal-countdown.is-expired .renewal-countdown-value{color:#ff9b8d}.renewal-countdown.is-pending .renewal-countdown-value{color:#e8d58b}@media(max-width:620px){.renewal-countdown{padding:13px}.renewal-countdown-value{font-size:21px}}

.inline-renew-form{gap:4px;flex-wrap:nowrap}.inline-renew-form input{width:58px;flex:0 0 58px}.inline-renew-form .renew-action{min-width:72px;padding:0 8px;font-size:9px;white-space:nowrap}@media(max-width:760px){.inline-renew-form{width:auto;max-width:100%}.inline-renew-form input{width:58px;flex:0 0 58px}.inline-renew-form .renew-action{flex:0 0 auto}}

.reseller-accounts-table td{vertical-align:middle}.reseller-accounts-table td:nth-child(7),.reseller-accounts-table td:nth-child(8),.reseller-accounts-table td:nth-child(9){white-space:nowrap}.reseller-accounts-table .renew-action,.reseller-accounts-table td:last-child>.btn{white-space:nowrap}
@media(max-width:760px){
  .reseller-accounts-table{display:block;min-width:0!important;width:100%}
  .reseller-accounts-table thead{display:none}
  .reseller-accounts-table tbody,.reseller-accounts-table tr{display:block;width:100%}
  .reseller-accounts-table tr{margin:0 0 12px;padding:10px 13px;border:1px solid #e4e9df;border-radius:13px;background:#fff;box-shadow:0 5px 16px #183d3010}
  .reseller-accounts-table td{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;padding:8px 0;border-bottom:1px solid #edf0e9;text-align:right;white-space:normal!important;overflow-wrap:normal}
  .reseller-accounts-table td:before{content:attr(data-label);flex:0 0 34%;text-align:left;color:#849086;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
  .reseller-accounts-table td:last-child{display:grid;grid-template-columns:1fr;gap:8px;padding-top:12px;border-bottom:0}
  .reseller-accounts-table td:last-child:before{display:none}
  .reseller-accounts-table td:last-child>.btn,.reseller-accounts-table td:last-child>form{width:100%;margin:0}
  .reseller-accounts-table td:last-child>.btn{min-height:38px}
  .reseller-accounts-table .inline-renew-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;max-width:none}
  .reseller-accounts-table .inline-renew-form input{width:auto;min-width:0;flex:initial;height:38px}
  .reseller-accounts-table .inline-renew-form .renew-action{width:auto;min-width:94px;height:38px}
  .reseller-accounts-table td:last-child>form:not(.inline-renew-form) button{width:100%;height:38px}
  .reseller-accounts-table .table-empty{display:block;text-align:center!important}
}

/* Ações da tabela sem corte e com a mesma escala visual. */
.reseller-accounts-table td:last-child{min-width:280px;white-space:normal}.reseller-accounts-table td:last-child>.btn,.reseller-accounts-table td:last-child>form{vertical-align:middle;margin:3px 2px}.reseller-accounts-table td:last-child>.btn,.reseller-accounts-table td:last-child>form button{min-height:34px;height:34px;line-height:1;padding:0 9px;font-size:10px;overflow:visible;text-overflow:clip}.reseller-accounts-table .inline-renew-form{display:inline-flex;width:auto;align-items:center;gap:4px}.reseller-accounts-table .inline-renew-form input{height:34px;width:54px;flex:0 0 54px;padding:5px;font-size:10px}.reseller-accounts-table .renew-action{min-width:72px!important;width:auto!important}
@media(max-width:760px){
  .reseller-accounts-table td:last-child{display:flex!important;flex-wrap:wrap;align-items:stretch;gap:6px;min-width:0;padding-top:12px}
  .reseller-accounts-table td:last-child>.btn,.reseller-accounts-table td:last-child>form{flex:1 1 100%;width:100%;margin:0}
  .reseller-accounts-table .inline-renew-form{display:grid!important;grid-template-columns:64px minmax(0,1fr);gap:6px;width:100%;flex:1 1 100%}
  .reseller-accounts-table .inline-renew-form input{width:64px;min-width:64px;height:34px}
  .reseller-accounts-table .inline-renew-form .renew-action{width:100%!important;min-width:0!important;height:34px}
  .reseller-accounts-table td:last-child>form:not(.inline-renew-form) button,.reseller-accounts-table td:last-child>.btn{width:100%;min-width:0;height:34px}
}

.dashboard-renewal-banner{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:20px;margin-top:16px;padding:22px 24px;border:1px solid #1d5138;border-radius:18px;background:radial-gradient(circle at 83% 50%,rgba(0,230,118,.15),transparent 28%),linear-gradient(115deg,#081410,#102a20 70%,#0b1d16);box-shadow:0 18px 42px rgba(0,0,0,.22);overflow:hidden}.dashboard-renewal-banner:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 0 55%,rgba(0,230,118,.04))}.dashboard-renewal-copy,.dashboard-countdown,.dashboard-renewal-link{position:relative;z-index:1}.dashboard-renewal-kicker{display:flex;align-items:center;gap:8px;color:#69efa8;font-size:9px;font-weight:800;letter-spacing:.15em}.dashboard-renewal-kicker i{width:7px;height:7px;border-radius:50%;background:#00e676;box-shadow:0 0 14px #00e676}.dashboard-renewal-copy h2{margin:7px 0 4px;color:#f0f7f2;font-size:22px}.dashboard-renewal-copy p{margin:0;color:#9db2a7;font-size:11px}.dashboard-renewal-meta{display:flex;gap:16px;margin-top:12px;color:#71887c;font-size:10px}.dashboard-renewal-meta strong{color:#d8efe0}.dashboard-countdown{min-width:190px;margin:0;padding:12px 15px;background:#07140f;border-color:#266747;text-align:center}.dashboard-countdown .renewal-countdown-value{font-size:25px}.dashboard-renewal-link{display:inline-flex;align-items:center;gap:6px;color:#70f0aa;font-size:11px;font-weight:800;white-space:nowrap}.dashboard-renewal-link span{font-size:15px}.dashboard-renewal-banner .is-expired{border-color:#8a433e}.dashboard-renewal-banner .is-pending{border-color:#8e752e}
@media(max-width:800px){.dashboard-renewal-banner{grid-template-columns:1fr;gap:14px;padding:19px}.dashboard-countdown{width:100%;min-width:0}.dashboard-renewal-link{justify-content:center;min-height:36px;padding:0 12px;border:1px solid #1c5539;border-radius:9px;background:#10291e}.dashboard-renewal-meta{flex-wrap:wrap;gap:8px 14px}}

/* Cards compactos do portal: nenhuma ação ou conteúdo deve ultrapassar o card. */
.reseller-compact-grid{align-items:start}.reseller-compact-card{min-width:0;max-width:100%;overflow:hidden}.reseller-compact-card form,.reseller-compact-card input,.reseller-compact-card select,.reseller-compact-card textarea{max-width:100%;box-sizing:border-box}.reseller-compact-card input[type=file]{font-size:11px;padding:8px}.reseller-compact-card .helper{display:block;margin-top:3px;line-height:1.35}.resource-row{min-width:0;max-width:100%;gap:10px}.resource-row-content{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.resource-row-content strong,.resource-row-content .muted{overflow-wrap:anywhere;word-break:break-word}.resource-row-actions{flex:0 0 auto;max-width:100%;align-items:center}.resource-row-actions form{display:inline-flex;max-width:100%}.reseller-product-thumb{float:left;width:42px;height:42px;object-fit:cover;border-radius:8px;margin:0 10px 5px 0}.reseller-compact-card .table-wrap{max-width:100%;overflow-x:auto}.reseller-compact-card table{min-width:0}.reseller-compact-card .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
@media(max-width:760px){.reseller-compact-grid{grid-template-columns:1fr}.reseller-compact-card{padding:14px!important}.reseller-compact-card h2{font-size:19px;line-height:1.2}.reseller-compact-card .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;min-width:0}.reseller-compact-card .actions .btn,.reseller-compact-card .actions form,.reseller-compact-card .actions form .btn{width:100%;min-width:0;box-sizing:border-box}.resource-row{display:flex;flex-direction:column;align-items:stretch;padding:12px 0}.resource-row-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}.resource-row-actions form{display:block;width:100%}.resource-row-actions .btn{min-height:36px;padding:7px 8px}.reseller-product-thumb{width:38px;height:38px}.reseller-compact-card .table-wrap{margin-left:-2px;margin-right:-2px;width:calc(100% + 4px)}.reseller-compact-card table{width:100%;table-layout:fixed}.reseller-compact-card th,.reseller-compact-card td{padding:9px 6px;overflow-wrap:anywhere;word-break:break-word}.reseller-compact-card .inline-form{max-width:100%}}

/* Ajuda contextual em acessos e checkouts públicos. */
.login-help,.checkout-field-help{display:block;margin-top:6px;color:var(--muted);font-size:10px;line-height:1.45}.login-tip{display:grid;gap:3px;margin-top:17px;padding:12px 13px;border:1px solid #dfe7dc;border-radius:10px;background:#f5f8f1;color:#6c796f;font-size:11px;line-height:1.45}.login-tip strong{color:var(--forest)}.checkout-info-note{margin-top:14px;padding:12px 13px;border:1px solid #dfe7dc;border-radius:11px;background:#f5f8f1;color:#6c796f;font-size:11px;line-height:1.5}.checkout-info-note strong{color:var(--forest)}.checkout-security-note{margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.45}

/* Mensagens de boas-vindas nas telas de acesso da revenda. */
.login-message{margin:0 0 22px;padding:20px;border:1px solid #1b6749;border-radius:17px;background:radial-gradient(circle at 85% 0,rgba(0,230,118,.16),transparent 42%),linear-gradient(135deg,#071510,#0b2a20);color:#eef8f0;box-shadow:0 15px 35px rgba(0,0,0,.2)}.login-message h1{margin:9px 0 8px;color:#f4fbf5;font-size:clamp(24px,6vw,32px);line-height:1.05;letter-spacing:-.045em}.login-message p{margin:0;color:#b6cec0;font-size:13px;line-height:1.58}.login-message .eyebrow{color:#65e59a}.login-message-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.login-message-pills span{padding:8px 10px;border:1px solid rgba(179,239,198,.2);border-radius:999px;background:rgba(255,255,255,.06);color:#c5efd2;font-size:10px;font-weight:750}

.checkout-message{margin-bottom:22px}.checkout-message h1{font-size:clamp(25px,5vw,38px)}.checkout-message .kicker,.checkout-message .section-kicker{color:#65e59a}.checkout-message p{color:#b6cec0}.checkout-message .login-message-pills{justify-content:flex-start}

/* Checkout público sem área branca externa; o QR Code mantém fundo branco técnico. */
body.reseller-theme .checkout-public-card{background:#11191f!important;border-color:#26343b!important;color:#edf5f1!important}body.reseller-theme .checkout-public-card h1,body.reseller-theme .checkout-public-card h2{color:#f1f6f3}body.reseller-theme .checkout-public-card .muted,body.reseller-theme .checkout-public-card .form-label{color:#9aacab}body.reseller-theme .checkout-public-card input{background:#0b1216!important;color:#e9eff0!important;border-color:#2b393f!important}body.reseller-theme .checkout-public-card .checkout-info-note{background:#10261d!important;border-color:#1b4832!important;color:#b8e6cd}

/* Cadastro do assinante: nenhuma área branca fora do QR Code. */
body.reseller-theme{background:#07110e!important;color:#edf5f1!important}body.reseller-theme .public-checkout{background:transparent!important}body.reseller-theme .checkout-public-card{background:#11191f!important;border:1px solid #26343b!important;color:#edf5f1!important;box-shadow:0 20px 55px rgba(0,0,0,.42)!important}body.reseller-theme .checkout-public-card .checkout-info-note{background:#10261d!important;border:1px solid #1b4832!important;color:#b8e6cd!important}body.reseller-theme .checkout-public-card .checkout-security-note{background:transparent!important;color:#9aacab!important}body.reseller-theme .checkout-public-card input{background:#0b1216!important;border-color:#2b393f!important;color:#e9eff0!important}body.reseller-theme .checkout-public-card .public-checkout-price{color:#72e9a7!important}

/* Padrão visual único baseado no cadastro de revenda. */
body.reference-public{background:#070b0d!important;color:#edf2f3!important;background-image:linear-gradient(rgba(0,230,118,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(0,230,118,.018) 1px,transparent 1px)!important;background-size:72px 72px!important}
body.reference-public .reseller-top-public{height:64px!important;background:rgba(7,11,13,.92)!important;border-bottom:1px solid #1c292e!important;padding:0 max(4vw,24px)!important}
body.reference-public .public-checkout{width:min(1040px,100%);margin:0 auto;padding:24px 18px 54px!important}
body.reference-public .checkout-public-card{max-width:none!important;margin:16px 0 0!important;padding:24px!important;border:1px solid #26343b!important;border-radius:19px!important;background:#11191f!important;box-shadow:0 18px 46px rgba(0,0,0,.32)!important}
body.reference-public .checkout-message{margin:0 0 18px!important;padding:30px 32px!important;border-radius:22px!important;background:radial-gradient(ellipse at 80% 25%,rgba(0,230,118,.18),transparent 34%),linear-gradient(115deg,#07110e,#0b1b17 65%,#10261d)!important;border:1px solid #164633!important}
body.reference-public .checkout-message h1{font-size:clamp(29px,5vw,43px)!important;line-height:1.07!important;max-width:700px!important;margin:13px 0 10px!important;color:#fbfcf5!important}
body.reference-public .checkout-message p{max-width:680px!important;color:#c2d3c5!important;line-height:1.65!important;font-size:14px!important}
body.reference-public .checkout-message .login-message-pills{gap:8px!important;margin-top:19px!important}
body.reference-public .checkout-message .login-message-pills span{padding:8px 11px!important;border-radius:99px!important;background:#ffffff12!important;border:1px solid #ffffff25!important;color:#f2fbf3!important;font-size:11px!important}
body.reference-public .checkout-public-card h1,body.reference-public .checkout-public-card h2{color:#f4f7f8!important}
body.reference-public .checkout-public-card .muted,body.reference-public .checkout-public-card .form-label{color:#9aacab!important}
body.reference-public .checkout-public-card input,body.reference-public .checkout-public-card select{background:#0b1216!important;border-color:#2b393f!important;color:#e9eff0!important}
body.reference-public .checkout-public-card .checkout-info-note{background:#10261d!important;border:1px solid #1b4832!important;color:#b8e6cd!important}
body.reference-public .checkout-public-card .checkout-security-note{color:#9aacab!important}
body.reference-public .checkout-public-card .btn.primary{background:linear-gradient(100deg,#00e676,#00c98a)!important;color:#03120b!important;border:0!important}
body.reference-public .checkout-public-card .public-checkout-price{color:#72e9a7!important}
@media(max-width:760px){body.reference-public .public-checkout{padding:15px 13px 35px!important}body.reference-public .checkout-public-card{padding:19px!important;margin-top:12px!important}body.reference-public .checkout-message{padding:27px 22px!important;border-radius:21px!important}body.reference-public .checkout-message h1{font-size:31px!important}}

/* Página de créditos: conteúdo sempre contido no cartão, inclusive em telas estreitas. */
.reseller-payment-card{min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box}
.reseller-payment-card *{box-sizing:border-box;min-width:0;max-width:100%}
.reseller-payment-card h1,.reseller-payment-card h2,.reseller-payment-card h3,.reseller-payment-card p,.reseller-payment-card strong,.reseller-payment-card span,.reseller-payment-card label{overflow-wrap:anywhere;word-break:break-word}
.reseller-payment-card .login-message{max-width:100%;overflow:hidden}
.reseller-payment-card .login-message h1{word-break:normal;overflow-wrap:break-word}
.reseller-payment-card .login-message-pills{width:100%;max-width:100%;align-items:stretch}
.reseller-payment-card .login-message-pills span{max-width:100%;white-space:normal;line-height:1.3}
.reseller-payment-card .checkout-info-note{max-width:100%;overflow-wrap:anywhere;word-break:break-word;line-height:1.55;background:#10261d!important;border:1px solid #1b4832!important;color:#b8e6cd!important;border-radius:13px;padding:14px 16px}.reseller-payment-card .checkout-info-note strong{color:#e5fff0!important}
.reseller-payment-card .checkout-pix-grid{min-width:0;max-width:100%}
.reseller-payment-card .checkout-copy-row{min-width:0;max-width:100%}
.reseller-payment-card .checkout-copy-row input{min-width:0;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.reseller-payment-card .checkout-copy-btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.reseller-payment-card .actions,.reseller-payment-card form{min-width:0;max-width:100%}
@media(max-width:620px){
  .reseller-payment-card{padding:15px!important;border-radius:16px!important}
  .reseller-payment-card .login-message{padding:18px 15px!important;border-radius:15px!important}
  .reseller-payment-card .login-message h1{font-size:clamp(24px,8vw,31px)!important;line-height:1.08!important}
  .reseller-payment-card .login-message p{font-size:13px;line-height:1.55}
  .reseller-payment-card .login-message-pills{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
  .reseller-payment-card .login-message-pills span{display:block;width:100%;padding:8px 10px;white-space:normal}
  .reseller-payment-card h2{font-size:clamp(20px,6vw,27px);line-height:1.15}
  .reseller-payment-card .checkout-pix-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px}
  .reseller-payment-card .checkout-qr-wrap{width:min(100%,230px);margin:0 auto}
  .reseller-payment-card .checkout-copy-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .reseller-payment-card .checkout-copy-btn{width:100%;min-height:38px}
  .reseller-payment-card .compact-grid .actions{width:100%}
  .reseller-payment-card .compact-grid .actions .btn{width:100%;min-height:42px;white-space:normal}
}

/* Resumo da carteira: contadores escuros, legíveis e sem fundo branco. */
.reseller-quota-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 18px;padding:10px;background:#0b1216;border:1px solid #26343b;border-radius:14px;min-width:0;max-width:100%;overflow:hidden}
.reseller-quota-summary .quota-stat{min-width:0;padding:11px 10px;border:1px solid #263b42;border-radius:11px;background:#111b20;overflow:hidden}
.reseller-quota-summary .quota-stat span,.reseller-quota-summary .quota-stat small{display:block;overflow-wrap:anywhere;word-break:break-word}
.reseller-quota-summary .quota-stat span{color:#9aacab;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.3}
.reseller-quota-summary .quota-stat strong{display:block;margin:5px 0 2px;color:#f1f7f4;font-size:25px;line-height:1;font-variant-numeric:tabular-nums}
.reseller-quota-summary .quota-stat small{color:#718084;font-size:9px;line-height:1.3}
.reseller-quota-summary .quota-stat-accent{border-color:#216345;background:linear-gradient(145deg,#10271e,#111b20)}
.reseller-quota-summary .quota-stat-accent strong{color:#43efa0}
.reseller-quota-summary .quota-warning{grid-column:1/-1;margin:2px 2px 0;padding:9px 10px;border:1px solid #633c37;border-radius:9px;background:#25191a;color:#ffb6aa;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:620px){.reseller-quota-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:7px}.reseller-quota-summary .quota-stat{padding:10px 7px}.reseller-quota-summary .quota-stat span{font-size:8px;letter-spacing:.04em}.reseller-quota-summary .quota-stat strong{font-size:21px}.reseller-quota-summary .quota-stat small{font-size:8px;line-height:1.25}}

/* Navegação ativa: mantém a função selecionada visível e cria uma marcação viva sem deslocar o menu. */
body.reseller-theme .reseller-sidebar nav{scroll-behavior:smooth}body.reseller-theme .side-link{position:relative;isolation:isolate}body.reseller-theme .side-link.active{animation:resellerActivePulse 2.6s ease-in-out infinite}body.reseller-theme .side-link.active::after{content:"";position:absolute;left:7px;right:7px;bottom:3px;height:2px;border-radius:99px;background:rgba(3,18,11,.52);transform-origin:left center;animation:resellerActiveLine 2.6s ease-in-out infinite;z-index:-1}body.reseller-theme .side-link.is-navigating{animation:resellerNavigateFlash .5s ease-out both}@keyframes resellerActivePulse{0%,100%{box-shadow:0 8px 24px rgba(0,230,118,.16)}50%{box-shadow:0 8px 30px rgba(0,230,118,.34),0 0 0 2px rgba(0,230,118,.13)}}@keyframes resellerActiveLine{0%,100%{transform:scaleX(.35);opacity:.35}50%{transform:scaleX(1);opacity:.9}}@keyframes resellerNavigateFlash{0%{transform:scale(.98);filter:brightness(1)}55%{transform:scale(1.015);filter:brightness(1.2)}100%{transform:scale(1);filter:brightness(1)}}@media(prefers-reduced-motion:reduce){body.reseller-theme .side-link.active,body.reseller-theme .side-link.active::after,body.reseller-theme .side-link.is-navigating{animation:none!important}}

/* Associação de tags: checkbox compacto e rótulo alinhado. */
.tag-checkbox-list{display:grid;gap:9px;max-height:240px;overflow:auto;padding:4px 2px}.tag-checkbox-list label{display:flex;align-items:center;gap:9px;margin:0;min-height:30px;line-height:1.35;cursor:pointer}.tag-checkbox-list input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;margin:0!important;flex:0 0 20px!important;box-shadow:none!important;accent-color:#00e676}.tag-checkbox-list .tag-name{display:inline-flex;align-items:center;gap:7px;min-width:0;overflow-wrap:anywhere}

.backup-card{padding:18px!important}.backup-card .section-title{margin-bottom:10px}.backup-card .notice{font-size:11px;line-height:1.45}.backup-import-form{display:grid;gap:9px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(120,150,140,.18)}.backup-file-label{display:grid;gap:5px;color:var(--muted);font-size:11px}.backup-file-label input[type=file]{font-size:11px;padding:8px}.backup-confirm{display:flex;gap:7px;align-items:flex-start;color:var(--muted);font-size:10px;line-height:1.35}.backup-confirm input{width:auto!important;min-width:16px!important;margin-top:1px}.backup-actions{display:flex;gap:8px;flex-wrap:wrap}.backup-grid{align-items:start}

.pwa-install-button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:9px 15px!important;letter-spacing:.01em;box-shadow:0 8px 22px rgba(0,230,118,.18)}.pwa-install-button::before{content:"↓";font-size:15px;font-weight:900}

/* Privacidade para gravações e demonstrações. */
.privacy-toggle{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(185,237,114,.45);background:rgba(185,237,114,.08);color:inherit;border-radius:999px;padding:8px 12px;font:inherit;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}.privacy-toggle.privacy-active{background:#b9ed72;color:#0b211b;box-shadow:0 0 0 3px rgba(185,237,114,.12)}.privacy-record{transition:filter .18s ease,opacity .18s ease}.privacy-mode .privacy-record{filter:blur(7px);opacity:.65;user-select:none}.privacy-field{position:relative}.privacy-field input,.privacy-field textarea{padding-right:48px!important}.privacy-eye{position:absolute;right:7px;bottom:7px;border:0;background:transparent;color:inherit;opacity:.78;cursor:pointer;font-size:16px;line-height:1;padding:3px}.privacy-eye:hover{opacity:1}.privacy-mode .privacy-field input,.privacy-mode .privacy-field textarea{color:transparent;text-shadow:0 0 8px currentColor;caret-color:transparent}.privacy-mode .privacy-field .privacy-eye{filter:none;color:inherit}.privacy-field .privacy-eye.is-visible{opacity:1}.privacy-mode .privacy-toggle{color:#0b211b}@media(max-width:700px){.privacy-toggle{font-size:10px;padding:7px 9px}.topbar-right .privacy-toggle{max-width:118px;overflow:hidden;text-overflow:ellipsis}.top-links .privacy-toggle{max-width:126px;overflow:hidden;text-overflow:ellipsis}}

/* Ações do menu e privacidade da carteira. */
.sidebar-app-action{margin:12px 0 10px}.sidebar-app-action .pwa-install-button{display:flex!important;width:100%;min-height:42px;align-items:center;justify-content:center;border-radius:10px;padding:0 12px!important;font-size:11px;box-shadow:none}.sidebar-app-action .pwa-install-button[hidden]{display:none!important}.privacy-search-toggle{min-height:43px!important;white-space:nowrap}.privacy-mode .privacy-record{filter:blur(11px)!important;opacity:.28!important;pointer-events:none}.privacy-mode .privacy-field input{ -webkit-text-security:disc!important; text-security:disc!important; }.privacy-mode .privacy-field textarea{filter:blur(9px)!important}.privacy-field .privacy-eye{z-index:2}

/* Controles de privacidade profissionais dentro dos campos. */
.privacy-input-wrap{display:block;position:relative;width:100%;min-width:0}.privacy-input-wrap input,.privacy-input-wrap textarea{width:100%;padding-right:48px!important}.privacy-eye{position:absolute;right:7px;top:50%;bottom:auto!important;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;padding:6px;border:1px solid transparent;border-radius:8px;background:transparent;color:currentColor;opacity:.62;cursor:pointer}.privacy-eye:hover,.privacy-eye:focus-visible{opacity:1;background:rgba(0,230,118,.1);border-color:rgba(0,230,118,.28);outline:none}.privacy-eye svg,.privacy-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.privacy-input-wrap textarea + .privacy-eye{top:10px;transform:none}.privacy-mode .privacy-input-wrap input{-webkit-text-security:disc!important;text-security:disc!important}.privacy-mode .privacy-input-wrap textarea{filter:blur(9px)!important}.privacy-search-toggle{gap:7px}.privacy-search-toggle svg{width:16px;height:16px}

/* Privacidade da carteira: oculta dados pessoais sem esconder operação. */
.privacy-mode .clients-table tr[data-client-row]{filter:none!important;opacity:1!important;pointer-events:auto}.privacy-mode .clients-table tr[data-client-row] td:nth-child(1),.privacy-mode .clients-table tr[data-client-row] td:nth-child(2){filter:blur(10px)!important;opacity:.22!important;user-select:none}.privacy-mode .rc-item{filter:none!important;opacity:1!important;pointer-events:auto}.privacy-mode .rc-item .rc-name,.privacy-mode .rc-item .rc-meta span:first-child{filter:blur(10px)!important;opacity:.22!important;user-select:none}

/* Campo de credencial no padrão de segurança: cadeado à esquerda e olho à direita. */
.privacy-input-wrap{display:block;position:relative}.privacy-input-wrap input{padding-left:44px!important;padding-right:48px!important}.privacy-lock{position:absolute;z-index:2;left:13px;top:50%;transform:translateY(-50%);display:grid;place-items:center;color:#7d8b92;pointer-events:none}.privacy-lock svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.privacy-input-wrap .privacy-eye{z-index:2}.privacy-input-wrap input[type=password]{letter-spacing:.08em}.privacy-input-wrap input[type=password]::placeholder{letter-spacing:0}

/* Correção final: um único ícone no campo e máscara explícita na carteira. */
.privacy-toggle svg,.privacy-eye svg,.privacy-lock svg{width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;flex:0 0 17px}.privacy-input-wrap{display:block!important;position:relative!important;width:100%!important;min-width:0}.privacy-input-wrap .privacy-eye{position:absolute!important;right:7px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:32px!important;height:32px!important;margin:0!important}.privacy-input-wrap .privacy-lock{position:absolute!important;left:13px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:17px!important;height:17px!important}.privacy-mode .privacy-sensitive{filter:blur(10px)!important;opacity:.18!important;user-select:none!important}.privacy-mode .privacy-record{filter:none!important;opacity:1!important}

/* Máscara compacta e estável, sem SVG escalável. */
.privacy-mark{display:inline-block;position:relative;width:18px!important;height:12px!important;max-width:18px!important;max-height:12px!important;border:2px solid currentColor;border-radius:70% 30% 70% 30%;transform:rotate(45deg);flex:0 0 18px}.privacy-mark:after{content:'';position:absolute;left:4px;top:2px;width:4px;height:4px;border-radius:50%;background:currentColor}.privacy-mark.is-open:before{content:'';position:absolute;left:-3px;top:4px;width:23px;height:2px;background:currentColor;transform:rotate(-45deg);border-radius:2px}.privacy-lock-mark{display:inline-block;position:relative;width:15px;height:12px;border:1.8px solid currentColor;border-radius:3px}.privacy-lock-mark:before{content:'';position:absolute;left:3px;top:-9px;width:6px;height:9px;border:1.8px solid currentColor;border-bottom:0;border-radius:6px 6px 0 0}.privacy-mode .privacy-sensitive{position:relative!important;filter:none!important;color:transparent!important;text-shadow:none!important;opacity:1!important}.privacy-mode .privacy-sensitive::after{content:'••••••••';position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#82949a!important;font-weight:700;letter-spacing:2px;white-space:nowrap;filter:none!important}

/* Auditoria responsiva global — cards compactos e sem rolagem horizontal. */
html,body{max-width:100%;overflow-x:hidden!important}img,video,canvas,iframe,svg{max-width:100%;height:auto}.reseller-main,.page-heading,.card,.grid,.stats,.plans-grid,.template-grid,.table-wrap,.section-title,.actions,.row-actions{min-width:0;max-width:100%}.card,.plan-card,.template-card,.quick-link{overflow:hidden}.card h1,.card h2,.card h3,.page-heading h1,.section-title h2{overflow-wrap:anywhere;word-break:break-word}.table-wrap{width:100%;max-width:100%;overflow-x:hidden!important;overflow-y:visible!important}.table-wrap table,.table-wrap table[style]{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}.table-wrap th,.table-wrap td{min-width:0!important;max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;padding:7px 6px;font-size:clamp(9px,1.55vw,11px)}.table-wrap th{letter-spacing:.06em;font-size:clamp(7px,1.25vw,9px)}.table-wrap input,.table-wrap select,.table-wrap textarea,.table-wrap .btn{max-width:100%;min-width:0}.btn,button,input,select,textarea{max-width:100%;min-width:0}.btn{white-space:normal;line-height:1.2;text-align:center}.actions,.row-actions{max-width:100%;overflow:hidden}.actions>*,.row-actions>*{min-width:0;max-width:100%}.inline-search{max-width:100%;min-width:0;flex-wrap:wrap}.inline-search input{min-width:0!important;max-width:100%;flex:1 1 160px}pre,code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow-x:hidden}
@media(max-width:900px){.reseller-main{padding:20px 16px 30px}.card{padding:15px;border-radius:13px}.grid,.grid.two,.grid.three,.stats,.plans-grid,.template-grid,.reseller-form-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px}.hero-card{padding:20px}.hero-card h2{font-size:25px;overflow-wrap:anywhere}.page-heading{gap:10px}.table-wrap tbody tr{height:auto!important}.table-wrap th,.table-wrap td{padding:7px 5px}.table-wrap .actions,.table-wrap .row-actions{display:flex;flex-wrap:wrap;gap:5px}.table-wrap .actions .btn,.table-wrap .row-actions .btn{flex:1 1 90px;width:auto}}
@media(max-width:620px){.reseller-main{padding:14px 12px 24px}.page-heading h1{font-size:24px}.card{padding:13px}.table-wrap th,.table-wrap td{padding:6px 4px;font-size:9px}.table-wrap th{font-size:7px}.stat{min-width:0;padding:11px}.stat strong{font-size:20px;overflow-wrap:anywhere}.actions,.row-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.actions .btn,.row-actions .btn,.actions form,.row-actions form{width:100%;min-width:0}.checkout-pix-grid{grid-template-columns:minmax(0,1fr)!important}.copy-box{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.copy-box input,.copy-box .btn{width:100%;min-width:0}}

/* Olho da credencial sempre dentro do campo, alinhado à direita. */
.privacy-input-wrap{position:relative!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;line-height:0!important}.privacy-input-wrap>input,.privacy-input-wrap>textarea{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding-right:48px!important;padding-left:42px!important;line-height:1.45}.privacy-input-wrap>button.privacy-eye{position:absolute!important;z-index:5!important;display:grid!important;place-items:center!important;right:6px!important;top:50%!important;bottom:auto!important;left:auto!important;transform:translateY(-50%)!important;width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;min-height:32px!important;margin:0!important;padding:6px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:currentColor!important;line-height:0!important;overflow:hidden!important}.privacy-input-wrap>button.privacy-eye .privacy-mark{display:block!important;position:relative!important;width:18px!important;height:12px!important;max-width:18px!important;max-height:12px!important}.privacy-input-wrap>.privacy-lock{position:absolute!important;z-index:4!important;left:13px!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:15px!important;height:12px!important;line-height:0!important}@media(max-width:620px){.privacy-input-wrap>button.privacy-eye{right:5px!important}.privacy-input-wrap>input,.privacy-input-wrap>textarea{padding-right:44px!important;padding-left:40px!important}}

/* Contas cadastradas: no celular, cada linha vira um cartão legível. */
@media(max-width:760px){
  .table-wrap table.reseller-accounts-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important;border-collapse:separate!important}
  .table-wrap table.reseller-accounts-table thead{display:none!important}
  .table-wrap table.reseller-accounts-table tbody,.table-wrap table.reseller-accounts-table tbody tr{display:block!important;width:100%!important}
  .table-wrap table.reseller-accounts-table tbody tr{margin:0 0 12px!important;padding:10px 13px!important;border:1px solid #26343b!important;border-radius:13px!important;background:#11191f!important;box-sizing:border-box!important}
  .table-wrap table.reseller-accounts-table tbody td{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;min-height:37px!important;padding:8px 0!important;border-bottom:1px solid #26343b!important;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;box-sizing:border-box!important}
  .table-wrap table.reseller-accounts-table tbody td:before{content:attr(data-label);flex:0 0 34%;text-align:left;color:#8fa2a4;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
  .table-wrap table.reseller-accounts-table tbody td:last-child{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding-top:12px!important;border-bottom:0!important}
  .table-wrap table.reseller-accounts-table tbody td:last-child:before{display:none!important}
  .table-wrap table.reseller-accounts-table tbody td:last-child>a,.table-wrap table.reseller-accounts-table tbody td:last-child>form{width:100%!important;margin:0!important}
  .table-wrap table.reseller-accounts-table tbody td:last-child .inline-renew-form{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:6px!important;width:100%!important}
  .table-wrap table.reseller-accounts-table tbody td:last-child .inline-renew-form input{width:64px!important;min-width:64px!important;height:36px!important}
  .table-wrap table.reseller-accounts-table tbody td:last-child button,.table-wrap table.reseller-accounts-table tbody td:last-child>a{width:100%!important;min-width:0!important;height:36px!important;white-space:normal!important;overflow-wrap:anywhere!important}
}

/* Auditoria global: neutraliza cards claros residuais no painel da Revenda. */
@media(max-width:760px){
  body.reseller-theme .reseller-accounts-table tr{background:#11191f!important;border-color:#26343b!important;box-shadow:0 5px 16px rgba(0,0,0,.22)!important;color:#e7eef0!important}
  body.reseller-theme .reseller-accounts-table td{color:#bdc8ca!important;border-color:#243137!important}
  body.reseller-theme .reseller-accounts-table td:before{color:#9aa7aa!important}
}

.sidebar-toggle .menu-glyph{display:inline-block;font-size:20px!important;line-height:1;font-weight:800;letter-spacing:0}.sidebar-toggle span:not(.menu-glyph){display:none}

/* Controles globais de ativação: Revenda */
.reseller-theme label.check-line,
.reseller-theme label.check-field,
.reseller-theme label:has(> input[type="checkbox"]):not(.switch-field):not(.status-toggle){display:flex;align-items:center;gap:11px;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:#10191f;color:var(--text);cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.reseller-theme label.check-line:hover,
.reseller-theme label.check-field:hover,
.reseller-theme label:has(> input[type="checkbox"]):not(.switch-field):not(.status-toggle):hover{border-color:#00c878}
.reseller-theme label.check-line input[type="checkbox"],
.reseller-theme label.check-field input[type="checkbox"],
.reseller-theme label:has(> input[type="checkbox"]):not(.switch-field):not(.status-toggle) input[type="checkbox"]{appearance:none;width:46px!important;height:25px!important;min-width:46px;padding:0!important;margin:0!important;border:0;border-radius:999px;background:radial-gradient(circle at 12px 50%,#a8b2b6 0 8px,transparent 9px),#2a383e;box-shadow:inset 0 0 0 1px #ffffff1f;cursor:pointer;transition:background .2s,box-shadow .2s}
.reseller-theme label.check-line input[type="checkbox"]:checked,
.reseller-theme label.check-field input[type="checkbox"]:checked,
.reseller-theme label:has(> input[type="checkbox"]):not(.switch-field):not(.status-toggle) input[type="checkbox"]:checked{background:radial-gradient(circle at 34px 50%,#fff 0 8px,transparent 9px),#00c878;box-shadow:0 0 0 3px #00c87822}
.reseller-theme label.check-line:has(input:checked),
.reseller-theme label.check-field:has(input:checked),
.reseller-theme label:has(> input[type="checkbox"]):not(.switch-field):not(.status-toggle):has(input:checked){border-color:#00c87888;background:#00c87812}

/* Cabeçalho do portal da revenda: acesso público e saída sempre visíveis */
body.reseller-theme .reseller-top{min-height:66px;gap:14px;padding:10px 20px;background:linear-gradient(90deg,rgba(8,15,17,.98),rgba(9,24,19,.96));box-shadow:0 8px 25px rgba(0,0,0,.16)}
body.reseller-theme .top-links{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto}
body.reseller-theme .top-links .public-page-link{display:inline-flex;align-items:center;gap:5px;padding:9px 12px;border:1px solid rgba(0,230,118,.28);border-radius:10px;background:rgba(0,230,118,.07);color:#a9efc2;text-decoration:none;font-size:11px;font-weight:750;white-space:nowrap}
body.reseller-theme .top-links .public-page-link:hover{background:rgba(0,230,118,.14);border-color:#00c878;color:#e0ffeb}
body.reseller-theme .top-links .logout{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:auto;min-width:56px;max-width:72px;height:36px;min-height:36px;padding:0 11px;border:1px solid rgba(0,230,118,.34);border-radius:10px;background:rgba(17,29,32,.94);color:#dcebe3!important;text-decoration:none;font-size:11px;font-weight:800;letter-spacing:.01em;line-height:1;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.16);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
@media(max-width:620px){body.reseller-theme .reseller-top{padding:9px 12px;gap:8px}body.reseller-theme .reseller-brand{min-width:0}.top-links{gap:6px!important}.top-links .public-page-link{padding:8px 7px!important;font-size:10px!important}.top-links .logout{min-width:52px!important;max-width:64px!important;height:34px!important;min-height:34px!important;padding:0 9px!important;font-size:10px!important}}
/* Ajuste final: botão Sair no mesmo padrão compacto do indicador P */
body.reseller-theme .top-links .logout{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:58px;max-width:58px;height:38px;min-height:38px;padding:0 8px;border:1px solid #00e676;border-radius:12px;background:#00e676;color:#042118!important;text-decoration:none;font-size:11px;font-weight:850;letter-spacing:0;line-height:1;white-space:nowrap;box-shadow:0 4px 14px rgba(0,230,118,.16),inset 0 1px 0 rgba(255,255,255,.2);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
body.reseller-theme .top-links .logout:hover{background:#18f58a;color:#021910!important;border-color:#18f58a;box-shadow:0 5px 16px rgba(0,230,118,.24);transform:translateY(-1px)}
body.reseller-theme .top-links .logout:active{transform:translateY(0);box-shadow:0 2px 8px rgba(0,0,0,.16)}
@media(max-width:620px){body.reseller-theme .top-links .logout{width:54px!important;max-width:54px!important;height:34px!important;min-height:34px!important;padding:0 6px!important;font-size:10px!important}}
/* Correção definitiva do cabeçalho mobile: Sair não vaza nem recebe fundo branco */
body.reseller-theme .reseller-top{box-sizing:border-box;min-width:0;overflow:hidden}
body.reseller-theme .reseller-top .reseller-brand{min-width:0;max-width:calc(100% - 126px);overflow:hidden}
body.reseller-theme .reseller-top .reseller-brand>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.reseller-theme .reseller-top .top-links{box-sizing:border-box;flex:0 1 auto;min-width:0;max-width:126px;gap:6px;margin-left:auto;overflow:hidden}
body.reseller-theme .reseller-top .top-links .public-page-link{box-sizing:border-box;flex:0 1 auto;min-width:0;max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 7px!important}
body.reseller-theme .reseller-top .top-links .logout,
body.reseller-theme .top-links a.logout{box-sizing:border-box;display:inline-flex!important;flex:0 0 54px!important;width:54px!important;min-width:54px!important;max-width:54px!important;height:34px!important;min-height:34px!important;padding:0 5px!important;overflow:hidden;background:#00e676!important;background-image:none!important;border:1px solid #00e676!important;border-radius:10px!important;color:#042118!important;text-decoration:none!important;align-items:center;justify-content:center;line-height:1!important;font-size:10px!important;font-weight:850!important;white-space:nowrap!important;box-shadow:0 3px 10px rgba(0,230,118,.16)!important}
@media(max-width:420px){body.reseller-theme .reseller-top .reseller-brand{max-width:calc(100% - 116px)}body.reseller-theme .reseller-top .top-links{max-width:116px}.reseller-theme .reseller-top .top-links .public-page-link{max-width:56px;font-size:0!important}.reseller-theme .reseller-top .top-links .public-page-link span{font-size:11px!important}.reseller-theme .reseller-top .top-links .logout{flex-basis:52px!important;width:52px!important;min-width:52px!important;max-width:52px!important}}
/* Restauração: não ocultar o texto do link Página pública */
@media(max-width:420px){body.reseller-theme .reseller-top .top-links .public-page-link{display:inline-flex!important;max-width:88px!important;font-size:10px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;gap:4px!important;padding:8px 7px!important}body.reseller-theme .reseller-top .top-links .public-page-link span{font-size:10px!important}}

/* Estado visual garantido para switches tocados no celular. */
.reseller-theme label.toggle-checked, .reseller-theme label.toggle-checked:has(input:checked){border-color:#00c878!important;background:#00c87812!important}
.reseller-theme label.toggle-checked input[type=checkbox]{accent-color:#00c878}
.reseller-theme label.switch-field.toggle-checked .switch-ui, .reseller-theme label.status-toggle.toggle-checked .status-switch{background:#00c878!important;box-shadow:0 0 0 3px #00c87822!important}
