/* 2T Play Revenda v5.4.3 — painel simplificado e otimizado para celular */
body.reseller-session{margin:0!important;overflow-x:hidden!important;background:#080b12!important}
body.reseller-session>.panel-page{display:block!important;width:100%!important}
body.reseller-session #resellerApp.reseller-shell{display:grid!important;grid-template-columns:300px minmax(0,1fr)!important;width:100%!important;min-height:100vh!important;margin:0!important;padding:0!important;background:linear-gradient(135deg,#070a10 0%,#0b0f17 62%,#160d05 100%)!important}
body.reseller-session .reseller-sidebar{position:sticky!important;top:0!important;left:0!important;height:100vh!important;box-sizing:border-box!important;padding:26px 18px!important;border-right:1px solid #ffffff12!important;background:linear-gradient(180deg,#0a0e15 0%,#080c12 100%)!important;display:flex!important;flex-direction:column!important;z-index:20!important;overflow-y:auto!important}
body.reseller-session .reseller-brand{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 24px!important;padding:0 4px 22px!important;border-bottom:1px solid #ffffff10!important}
body.reseller-session .reseller-brand img{display:block!important;width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:contain!important;margin:0!important;transform:none!important}
body.reseller-session .reseller-brand div{min-width:0!important;display:grid!important;gap:2px!important}
body.reseller-session .reseller-brand strong{font-size:18px!important;line-height:1.15!important;color:#fff!important}
body.reseller-session .reseller-brand span{font-size:12px!important;line-height:1.3!important;color:#9ca8bb!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.reseller-session .reseller-nav{display:grid!important;gap:8px!important;margin:0!important;padding:0!important}
body.reseller-session .reseller-nav .panel-tab{width:100%!important;min-height:64px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:15px!important;background:transparent!important;color:#d8dfeb!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;text-align:left!important;box-shadow:none!important}
body.reseller-session .reseller-nav .panel-tab>span{width:42px!important;height:42px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#141b28!important;color:#ff8500!important;font-size:18px!important}
body.reseller-session .reseller-nav .panel-tab div{display:grid!important;gap:3px!important;min-width:0!important}
body.reseller-session .reseller-nav .panel-tab strong{font-size:15px!important;line-height:1.15!important;color:inherit!important;white-space:normal!important}
body.reseller-session .reseller-nav .panel-tab small{font-size:11px!important;line-height:1.25!important;color:#8d98aa!important;white-space:normal!important}
body.reseller-session .reseller-nav .panel-tab.active{background:#ff8500!important;color:#0b0c0e!important;box-shadow:0 12px 30px #ff850030!important}
body.reseller-session .reseller-nav .panel-tab.active>span{background:#ffffff30!important;color:#111!important}
body.reseller-session .reseller-nav .panel-tab.active small{color:#542b00!important}
body.reseller-session .reseller-sidebar-footer{margin-top:auto!important;display:grid!important;gap:12px!important;padding-top:20px!important;border-top:1px solid #ffffff10!important}
body.reseller-session .reseller-main{min-width:0!important;width:auto!important;box-sizing:border-box!important;padding:34px 38px 80px!important;overflow:hidden!important}
body.reseller-session .reseller-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:24px!important;margin:0 0 28px!important;padding:0 0 24px!important;border-bottom:1px solid #ffffff10!important}
body.reseller-session .reseller-header h1{font-size:38px!important;line-height:1.05!important;margin:6px 0 8px!important}
body.reseller-session .reseller-header p{margin:0!important;color:#aab4c4!important}
body.reseller-session .reseller-dashboard-summary{margin:0 0 24px!important}
body.reseller-session .reseller-view-content{min-width:0!important}
body.reseller-session .panel-view{display:none!important}
body.reseller-session .panel-view.active{display:block!important}
body.reseller-session .brand-center img{max-width:240px!important;height:auto!important}
@media(max-width:1100px){body.reseller-session #resellerApp.reseller-shell{grid-template-columns:250px minmax(0,1fr)!important}body.reseller-session .reseller-main{padding:28px 24px 76px!important}}
@media(max-width:900px){body.reseller-session #resellerApp.reseller-shell{display:block!important}body.reseller-session .reseller-sidebar{position:relative!important;height:auto!important;border-right:0!important;border-bottom:1px solid #ffffff12!important}body.reseller-session .reseller-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.reseller-session .reseller-sidebar-footer{grid-template-columns:1fr!important}body.reseller-session .reseller-main{padding:24px 18px 70px!important}}
@media(max-width:600px){body.reseller-session .reseller-nav{grid-template-columns:1fr!important}body.reseller-session .reseller-header{display:grid!important}body.reseller-session .reseller-header h1{font-size:31px!important}}

/* V5.4.0 — gerenciador completo de TVs e listas */
.device-manager-dialog{width:min(1180px,96vw);max-width:none}.device-manager-card{width:100%;max-width:none;max-height:92vh;overflow:auto}.device-manager-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:18px}.device-manager-summary>div{padding:12px;border:1px solid var(--border);border-radius:12px;background:#0d131d}.device-manager-summary small{display:block;color:var(--muted);margin-bottom:4px}.device-manager-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px}.device-manager-layout>section,.device-manager-form{border:1px solid var(--border);background:#101722;border-radius:16px;padding:18px}.device-manager-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.managed-playlist-list{display:grid;gap:10px}.managed-playlist-card{border:1px solid var(--border);border-radius:13px;padding:14px;background:#0b111a;display:grid;grid-template-columns:1fr auto;gap:12px}.managed-playlist-card strong{font-size:16px}.managed-playlist-card p{margin:5px 0 0;color:var(--muted);font-size:13px}.managed-playlist-actions{display:flex;flex-wrap:wrap;gap:7px;align-content:start}.managed-playlist-actions button{padding:8px 10px;border-radius:9px}.device-manager-form{display:grid;gap:12px}.device-manager-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.danger-button{border:1px solid #ff575766;background:#2a1015;color:#ff9292;border-radius:11px;padding:12px 16px;font-weight:800;cursor:pointer}.empty-managed-list{padding:24px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:12px}@media(max-width:850px){.device-manager-layout{grid-template-columns:1fr}.device-manager-dialog{width:98vw}.device-manager-card{padding:16px}}

/* V5.4.3 — painel da revenda simplificado, clientes e experiência mobile */
.activation-mobile-intro{display:none}
.overview-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.overview-quick-actions button{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:2px 10px;align-items:center;text-align:left;padding:15px!important}
.overview-quick-actions button>span{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#ffffff18;font-size:21px}
.overview-quick-actions button strong{font-size:15px}.overview-quick-actions button small{font-size:11px;opacity:.72;line-height:1.35}
.overview-billing-compact{margin-top:16px;padding-top:14px;border-top:1px solid #ffffff12}.overview-billing-compact p{margin:5px 0 10px}
.clients-panel-card{padding:22px!important}.clients-heading{align-items:flex-start}.clients-heading p{margin:7px 0 0;max-width:760px}
.client-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px auto;gap:12px;align-items:end;margin:20px 0}
.client-toolbar label{display:grid;gap:7px;margin:0!important}.client-toolbar label>span{color:#9da8ba;font-size:12px;font-weight:800}
.client-toolbar input,.client-toolbar select{margin:0!important;min-height:48px}.client-toolbar button{min-height:48px}
.client-card-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.client-card{display:grid;gap:15px;padding:17px;border:1px solid #ffffff14;border-radius:17px;background:linear-gradient(145deg,#0c121c,#101824);box-shadow:0 12px 28px #0002}
.client-card-top{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px}
.client-device-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:#ff850018;border:1px solid #ff850044;color:#ff9d32;font-weight:950;font-size:13px}
.client-card-title{display:grid;gap:3px;min-width:0}.client-card-title small{font-size:9px;letter-spacing:.1em;color:#8995a8;font-weight:900}.client-card-title strong{font-size:17px;overflow-wrap:anywhere}.client-card-title span{font-size:12px;color:#9ba6b7}
.client-card-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.client-card-meta>div{display:grid;gap:4px;padding:10px;border-radius:11px;background:#080d15;border:1px solid #ffffff0c}.client-card-meta small{font-size:10px;color:#8792a4}.client-card-meta strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.client-manage-button{min-height:47px}.client-empty-state{grid-column:1/-1;display:grid;place-items:center;gap:9px;min-height:220px;padding:28px;text-align:center;border:1px dashed #ffffff20;border-radius:16px;color:#9da8ba;background:#0b1018}.client-empty-state strong{color:#fff;font-size:18px}.client-empty-state button{margin-top:8px}
.manager-form-hidden{display:none!important}.manager-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.manager-form-actions button{width:100%}
.managed-playlist-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.managed-playlist-copy small{display:block;margin-top:6px;color:#8995a8}.empty-managed-list{display:grid;gap:9px;justify-items:center}.empty-managed-list strong{color:#fff;font-size:17px}.empty-managed-list span{color:#8f9aab;line-height:1.45}

@media(max-width:900px){
  body.reseller-session #resellerApp.reseller-shell{display:block!important;padding-top:0!important}
  body.reseller-session .reseller-sidebar{position:sticky!important;top:0!important;z-index:60!important;height:auto!important;max-height:none!important;padding:10px 12px 8px!important;border:0!important;border-bottom:1px solid #ffffff14!important;background:#080c12f5!important;backdrop-filter:blur(18px)!important;overflow:visible!important}
  body.reseller-session .reseller-brand{min-height:0!important;margin:0!important;padding:0 2px 8px!important;border:0!important;gap:9px!important}
  body.reseller-session .reseller-brand img{width:39px!important;height:39px!important;max-width:39px!important;max-height:39px!important}
  body.reseller-session .reseller-brand strong{font-size:14px!important}body.reseller-session .reseller-brand span{font-size:10px!important}
  body.reseller-session .reseller-nav{display:flex!important;grid-template-columns:none!important;gap:7px!important;margin:0 -2px!important;padding:0 2px 5px!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:none!important;scroll-snap-type:x proximity!important}
  body.reseller-session .reseller-nav::-webkit-scrollbar{display:none!important}
  body.reseller-session .reseller-nav .panel-tab{flex:0 0 auto!important;width:auto!important;min-width:92px!important;min-height:58px!important;padding:7px 9px!important;grid-template-columns:30px minmax(0,1fr)!important;gap:7px!important;border:1px solid #ffffff0f!important;border-radius:12px!important;background:#101620!important;scroll-snap-align:start!important}
  body.reseller-session .reseller-nav .panel-tab>span{width:30px!important;height:30px!important;border-radius:9px!important;font-size:13px!important}
  body.reseller-session .reseller-nav .panel-tab strong{font-size:11px!important;line-height:1.12!important;white-space:nowrap!important}
  body.reseller-session .reseller-nav .panel-tab small{display:none!important}
  body.reseller-session .reseller-nav .panel-tab.active{border-color:#ff8500!important;background:#ff8500!important}
  body.reseller-session .reseller-sidebar-footer{position:absolute!important;right:10px!important;top:9px!important;display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:7px!important;padding:0!important;margin:0!important;border:0!important}
  body.reseller-session .reseller-current-plan,body.reseller-session .reseller-contact-links{display:none!important}
  body.reseller-session .reseller-logout{padding:7px 9px!important;border-radius:9px!important;font-size:10px!important}
  body.reseller-session .reseller-main{padding:18px 12px 72px!important;overflow:visible!important}
  body.reseller-session .reseller-header{min-height:0!important;display:grid!important;gap:13px!important;margin:0 0 16px!important;padding:0 0 15px!important}
  body.reseller-session .reseller-header h1{font-size:27px!important;margin:3px 0 5px!important}.reseller-header .eyebrow{font-size:9px}.reseller-header p{font-size:13px;line-height:1.45}
  body.reseller-session .reseller-header-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:8px!important}.reseller-header-actions>*{min-height:42px!important;padding:10px!important}
  body.reseller-session .reseller-dashboard-summary{margin:0 -12px 16px!important;padding:0 12px!important;overflow-x:auto!important;scrollbar-width:none!important}.reseller-dashboard-summary::-webkit-scrollbar{display:none}
  body.reseller-session .reseller-summary-grid{display:flex!important;grid-template-columns:none!important;gap:9px!important;width:max-content!important;margin:0!important;padding-bottom:3px!important}
  body.reseller-session .reseller-summary-grid .summary-card{flex:0 0 135px!important;min-height:84px!important;padding:13px!important;border-radius:14px!important}.reseller-summary-grid .summary-card small{font-size:10px;margin-bottom:5px}.reseller-summary-grid .summary-card strong{font-size:19px}
  body.reseller-session .reseller-view-content .panel-card{border-radius:16px!important;padding:17px!important;box-shadow:0 12px 28px #0002!important}
  .overview-quick-actions{grid-template-columns:1fr}.overview-quick-actions button{min-height:72px}
  .activation-mobile-intro{display:grid;gap:3px;padding:13px 14px;border-radius:14px;background:#ff850014;border:1px solid #ff850044}.activation-mobile-intro strong{color:#ff9b2e;font-size:14px}.activation-mobile-intro span{color:#bdc5d2;font-size:12px;line-height:1.4}
  .activation-wizard{gap:12px!important}.activation-stepbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.activation-step{min-width:0!important;display:grid!important;justify-items:center!important;gap:5px!important;padding:8px 4px!important;text-align:center!important;border-radius:11px!important}.activation-step span{width:25px!important;height:25px!important;font-size:11px!important}.activation-step strong{font-size:9px!important;line-height:1.15!important}
  .activation-main-grid{display:block!important}.activation-explanation{display:none!important}#deviceLookupForm{display:grid!important;gap:13px!important}#deviceLookupForm.hidden{display:none!important}
  #playlistStep,#activationConfirmStep{scroll-margin-top:125px}.activation-confirmation-summary{grid-template-columns:1fr!important;gap:8px!important}.activation-summary-item{padding:13px!important;border-radius:12px!important}.activation-summary-item strong{font-size:15px!important}
  #playlistSetupForm .form-grid{grid-template-columns:1fr!important;gap:12px!important}#playlistSetupForm .span-2{grid-column:auto!important}
  .button-row{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.button-row button{width:100%!important;min-height:48px!important}
  .clients-panel-card{padding:16px!important}.clients-heading{display:grid!important;gap:13px!important}.clients-heading>button{width:100%!important;min-height:45px!important}.clients-heading p{font-size:12px;line-height:1.5}
  .client-toolbar{grid-template-columns:1fr!important;gap:10px!important;margin:16px 0!important}.client-toolbar label>span{font-size:10px}.client-toolbar button{width:100%}
  .client-card-list{grid-template-columns:1fr!important;gap:11px!important}.client-card{padding:14px!important;border-radius:15px!important}.client-card-top{grid-template-columns:40px minmax(0,1fr) auto!important;gap:9px!important}.client-device-icon{width:40px;height:40px;border-radius:11px}.client-card-title strong{font-size:15px}.client-card-top>.status-pill{padding:5px 7px;font-size:9px}
  .client-card-meta{grid-template-columns:1fr 1fr!important}.client-card-meta>div:last-child{grid-column:1/-1}.client-card-meta>div{padding:9px!important}.client-manage-button{min-height:48px!important}
  .table-wrap{margin:0 -17px!important;border-left:0!important;border-right:0!important;border-radius:0!important}.data-table{min-width:820px!important}
  .device-manager-dialog{width:100vw!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#080c12!important}.device-manager-dialog::backdrop{background:#000a!important}
  .device-manager-card{width:100%!important;height:100dvh!important;max-height:none!important;box-sizing:border-box!important;padding:14px 12px 95px!important;border-radius:0!important;overflow-y:auto!important;background:#080c12!important}
  .device-manager-card .master-dialog-header{position:sticky!important;top:-14px!important;z-index:10!important;margin:-14px -12px 12px!important;padding:13px 12px!important;background:#080c12f5!important;border-bottom:1px solid #ffffff12!important;backdrop-filter:blur(16px)!important}.device-manager-card .master-dialog-header h2{font-size:18px!important;overflow-wrap:anywhere}
  .device-manager-summary{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;gap:8px!important;margin:0 -12px 14px!important;padding:0 12px 4px!important;scrollbar-width:none!important}.device-manager-summary::-webkit-scrollbar{display:none}.device-manager-summary>div{flex:0 0 130px!important;padding:10px!important}.device-manager-summary strong{font-size:12px;overflow-wrap:anywhere}
  .device-manager-layout{grid-template-columns:1fr!important;gap:12px!important}.device-manager-layout>section,.device-manager-form{padding:14px!important;border-radius:15px!important}.device-manager-section-head{display:grid!important;grid-template-columns:1fr!important}.device-manager-section-head button{width:100%!important;min-height:45px!important}
  .managed-playlist-card{grid-template-columns:1fr!important;padding:13px!important}.managed-playlist-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.managed-playlist-actions button{width:100%!important;min-height:42px!important}.managed-playlist-actions .danger-button{grid-column:1/-1!important}
  .device-manager-form{scroll-margin-top:72px!important}.device-manager-form .form-grid{grid-template-columns:1fr!important}.manager-form-actions{position:sticky!important;bottom:-95px!important;z-index:5!important;margin:4px -14px -14px!important;padding:12px 14px!important;background:#101722f5!important;border-top:1px solid #ffffff12!important}
  .device-manager-actions{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:80!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;background:#080c12f5!important;border-top:1px solid #ffffff16!important;backdrop-filter:blur(18px)!important}.device-manager-actions button{width:100%!important;min-height:46px!important;padding:10px!important}
}

@media(max-width:420px){
  body.reseller-session .reseller-nav .panel-tab{min-width:86px!important}.client-card-meta{grid-template-columns:1fr!important}.client-card-meta>div:last-child{grid-column:auto}.overview-quick-actions button{grid-template-columns:38px 1fr}.overview-quick-actions button>span{width:38px;height:38px}
}

/* V5.4.3 final — navegação móvel enxuta e M3U como fluxo principal */
.field-help{display:block;margin-top:6px;color:#7f8b9d;font-size:11px;line-height:1.4;font-weight:600}
.client-card-meta span{color:#7f8b9d;font-size:10px;line-height:1.35}
.client-card-meta .muted-value{color:#a7b0bf;font-weight:750}
.reseller-mobile-bottom-nav,.reseller-mobile-more-menu,.reseller-mobile-more-backdrop{display:none}

@media(max-width:900px){
  body.reseller-session .reseller-nav{display:none!important}
  body.reseller-session .reseller-sidebar{padding-bottom:10px!important}
  body.reseller-session .reseller-brand{padding-bottom:0!important}
  body.reseller-session .reseller-main{padding-bottom:104px!important}
  body.reseller-session .reseller-header-actions{grid-template-columns:1fr!important}
  body.reseller-session .reseller-header-actions>a{display:none!important}
  #resellerApp[data-active-panel="activate"] .reseller-dashboard-summary,
  #resellerApp[data-active-panel="clients"] .reseller-dashboard-summary{display:none!important}
  #resellerApp[data-active-panel="activate"] .reseller-header-actions,
  #resellerApp[data-active-panel="clients"] .reseller-header-actions{display:none!important}
  #resellerApp[data-active-panel="activate"] .reseller-header,
  #resellerApp[data-active-panel="clients"] .reseller-header{margin-bottom:12px!important;padding-bottom:12px!important}
  #resellerApp[data-active-panel="activate"] .reseller-header h1,
  #resellerApp[data-active-panel="clients"] .reseller-header h1{font-size:24px!important}
  .client-list-meta{grid-column:1/-1!important}
  .client-card-meta>div:last-child{grid-column:auto!important}

  .reseller-mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:95;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #ffffff17;background:#080c12f2;backdrop-filter:blur(20px);box-shadow:0 -14px 35px #0007}
  .reseller-mobile-bottom-nav button{min-width:0;min-height:56px;display:grid;place-items:center;align-content:center;gap:3px;padding:6px 4px;border:1px solid transparent;border-radius:12px;background:transparent;color:#8f9aab;cursor:pointer}
  .reseller-mobile-bottom-nav button>span{font-size:17px;line-height:1;font-weight:900}
  .reseller-mobile-bottom-nav button>strong{font-size:10px;line-height:1.1;white-space:nowrap}
  .reseller-mobile-bottom-nav button.active{border-color:#ff85004d;background:#ff850016;color:#ff9b2e}

  .reseller-mobile-more-backdrop{position:fixed;inset:0;z-index:96;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#0009;cursor:default}
  .reseller-mobile-more-menu{position:fixed;left:10px;right:10px;bottom:82px;z-index:97;display:grid;gap:14px;padding:16px;border:1px solid #ffffff18;border-radius:20px;background:#101722f8;backdrop-filter:blur(22px);box-shadow:0 24px 70px #000b}
  .reseller-mobile-more-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .reseller-mobile-more-head>div{display:grid;gap:3px}.reseller-mobile-more-head strong{font-size:18px}.reseller-mobile-more-head .icon-button{width:38px;height:38px}
  .reseller-mobile-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .reseller-mobile-more-grid>button{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:12px;border:1px solid #ffffff12;border-radius:14px;background:#0a1018;color:#fff;text-align:left;cursor:pointer}
  .reseller-mobile-more-grid>button>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#ffffff0d;color:#ff9b2e;font-size:14px;font-weight:900}
  .reseller-mobile-more-grid>button>div{display:grid;gap:3px;min-width:0}.reseller-mobile-more-grid strong{font-size:12px;line-height:1.2}.reseller-mobile-more-grid small{color:#8692a4;font-size:9px;line-height:1.25}
  .reseller-mobile-more-grid>button.active{border-color:#ff85005f;background:#ff850014}
  body.mobile-more-open{overflow:hidden}
}

@media(max-width:420px){
  .reseller-mobile-more-grid{grid-template-columns:1fr}
  .reseller-mobile-more-menu{bottom:80px}
}


/* V5.4.4 — plano DNS sem preço permanente, cobrança e bloqueio financeiro */
.smart-current-plan{display:grid;gap:5px;margin:18px 0;padding:17px;border:1px solid #ff85004d;border-radius:15px;background:linear-gradient(135deg,#ff850016,#0d151f)}
.smart-current-plan small,.active-plan-summary small{color:#ff9c31;font-size:10px;font-weight:900;letter-spacing:.11em}
.smart-current-plan strong,.active-plan-summary strong{font-size:21px;color:#fff}.smart-current-plan span,.active-plan-summary span{color:#aab4c3;font-size:12px;line-height:1.45}
#smartPlanChangeToggle{margin:0 0 14px}.smart-buy-card.current-smart-plan{opacity:.55;cursor:not-allowed;border-color:#ffffff12!important}
.active-plan-summary{display:grid;gap:6px;margin:0 0 15px;padding:16px;border:1px solid #ff850042;border-radius:14px;background:#ff850010}
.status-pill.past_due{background:#3a260b;color:#ffc66d;border-color:#ff9e2d55}.status-pill.suspended{background:#361116;color:#ff969d;border-color:#ff596455}
@media(max-width:700px){.smart-current-plan{padding:14px}.smart-current-plan strong,.active-plan-summary strong{font-size:18px}.smart-choice-grid{grid-template-columns:1fr!important}}


/* V5.4.45 — clientes em lista compacta e Sigma por revenda */
.reseller-client-table-wrap{margin-top:14px;overflow:auto;border:1px solid #ffffff18;border-radius:15px;background:#090e16}
.reseller-client-table{min-width:1000px;width:100%;border-collapse:collapse}
.reseller-client-table th,.reseller-client-table td{padding:13px 12px;border-bottom:1px solid #ffffff14;text-align:left;vertical-align:middle}
.reseller-client-table th{position:sticky;top:0;background:#0b111a;color:#9ca8b9;font-size:10px;text-transform:uppercase;letter-spacing:.07em;z-index:1}
.reseller-client-table tbody tr:hover{background:#ffffff05}.reseller-client-table tbody tr:last-child td{border-bottom:0}
.reseller-client-table td>strong{font-size:13px}.reseller-client-table .subline{display:block;margin-top:4px;color:#8995a7;font-size:11px;line-height:1.35}
.reseller-client-server-cell{min-width:170px}.reseller-client-actions{display:flex;gap:7px;flex-wrap:wrap;min-width:150px}
.server-role-mini{display:inline-flex;padding:2px 6px;border:1px solid #ff850055;border-radius:999px;color:#ffad55;font-size:9px;text-transform:uppercase}
.reseller-client-trial-row{background:#ff9b0008}.sigma-code-summary{display:grid;gap:9px;margin-top:14px;padding:13px;border:1px solid #ffffff16;border-radius:13px;background:#090e16}
.sigma-code-summary>span{color:#9aa5b6;font-size:12px}.sigma-dns-line{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(130px,.7fr);gap:8px;align-items:center;padding:9px;border-radius:10px;background:#101722}
.sigma-dns-line b{color:#ff9b31;font-size:11px}.sigma-dns-line span,.sigma-dns-line em{overflow-wrap:anywhere;font-size:11px}.sigma-dns-line em{color:#8fd9b0;font-style:normal}
@media(max-width:720px){.reseller-client-table{min-width:980px}.sigma-dns-line{grid-template-columns:1fr}.reseller-client-table-wrap{border-radius:12px}}

/* V5.4.57 — filtro de presença */
.client-toolbar{grid-template-columns:minmax(260px,1fr) 200px 190px auto auto}
.reseller-client-table{min-width:1040px}
@media(max-width:900px){.client-toolbar{grid-template-columns:1fr 1fr!important}.client-toolbar .client-search{grid-column:1/-1}.client-toolbar button{width:100%}}
@media(max-width:620px){.client-toolbar{grid-template-columns:1fr!important}.client-toolbar .client-search{grid-column:auto}}

/* V5.4.77 — cobrança clara, plano atual separado e Código Inteligente nos clientes */
.summary-card-note{display:block;margin-top:7px;color:#8995a7;font-size:10px;line-height:1.35;font-weight:750}.summary-card.billing-overdue{border-color:#ff596466!important;box-shadow:inset 0 0 0 1px #ff596422}.summary-card.billing-overdue .summary-card-note{color:#ff969d}
.billing-deadline-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid #ff850055;border-radius:16px;background:linear-gradient(135deg,#ff850013,#101722)}.billing-deadline-alert>div{display:grid;gap:4px}.billing-deadline-alert span{color:#ff9c31;font-size:10px;font-weight:950;letter-spacing:.1em}.billing-deadline-alert strong{font-size:18px}.billing-deadline-alert p{margin:0;color:#aeb8c7;font-size:12px;line-height:1.5;max-width:850px}.billing-deadline-alert.overdue{border-color:#ff596466;background:linear-gradient(135deg,#ff596414,#101722)}.billing-deadline-alert.overdue span,.billing-deadline-alert.overdue strong{color:#ff969d}
.current-contract-card{display:grid;gap:18px;margin-bottom:18px}.current-contract-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.current-contract-head h2{margin:5px 0 5px}.current-contract-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.current-contract-summary>div{min-height:84px;display:grid;align-content:center;gap:6px;padding:14px;border:1px solid #ffffff13;border-radius:14px;background:#0a1018}.current-contract-summary small{color:#8995a7;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.current-contract-summary strong{font-size:17px}.current-contract-summary .current-contract-wide{grid-column:1/-1;min-height:auto}.current-contract-wide .mini-price-table{margin-top:4px}.current-plan-financial{padding:15px 16px;border:1px solid #ffffff13;border-radius:14px;background:#090e16}.current-plan-financial>strong{display:block;margin-bottom:6px;color:#ff9c31}.current-plan-financial p{margin:0;color:#c4ccd7;line-height:1.5}.current-contract-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.plan-change-section{display:grid;gap:14px}.plan-change-heading{padding:3px 2px 0}.plan-change-heading h2{margin:5px 0 6px}.credit-price-chips{display:flex;flex-wrap:wrap;gap:7px}.credit-price-chips span{display:inline-flex;gap:5px;align-items:center;padding:7px 9px;border:1px solid #ffffff13;border-radius:999px;background:#101722;color:#aeb8c7;font-size:11px}.credit-price-chips strong{font-size:11px;color:#fff}
.reseller-client-table{min-width:1210px}.reseller-client-code-cell{min-width:145px}.smart-code-client-value{color:#ffad55}.billing-expired-text{color:#ff969d!important}.reseller-client-billing-expired{background:#ff596408!important}.reseller-client-billing-expired:hover{background:#ff59640d!important}.reseller-client-billing-expired .status-pill.expired{background:#361116;color:#ff969d;border-color:#ff596455}
@media(max-width:800px){.billing-deadline-alert{display:grid}.billing-deadline-alert button{width:100%}.current-contract-head{display:grid}.current-contract-summary{grid-template-columns:1fr 1fr}.current-contract-actions{display:grid;grid-template-columns:1fr}.current-contract-actions button{width:100%}}
@media(max-width:520px){.current-contract-summary{grid-template-columns:1fr}.current-contract-summary .current-contract-wide{grid-column:auto}.reseller-client-table{min-width:1160px}}


/* V5.4.80 — aviso de vencimento ao entrar no painel */
.billing-login-dialog{max-width:610px!important}
.billing-login-card{width:100%;overflow:hidden}
.billing-login-body{display:grid;gap:18px;padding:22px 0 4px}
.billing-login-text{margin:0;color:#c2cad7;font-size:15px;line-height:1.65}
.billing-login-details{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.billing-login-details>div{padding:15px 16px;border:1px solid #ff850044;border-radius:14px;background:#0b111a;display:grid;gap:6px}
.billing-login-details small{color:#8f9aad;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.billing-login-details strong{font-size:19px;color:#fff}
.billing-login-help{margin:0;color:#7f8999;font-size:12px;line-height:1.5}
.billing-login-card.overdue{border-color:#ff596477;box-shadow:0 30px 90px #000c,0 0 0 1px #ff596422 inset}
.billing-login-card.overdue .eyebrow,.billing-login-card.overdue #billingLoginTitle{color:#ff969d}
.billing-login-actions{padding-top:18px}
@media(max-width:650px){
  .billing-login-dialog{width:calc(100% - 24px)!important}
  .billing-login-details{grid-template-columns:1fr}
  .billing-login-actions{grid-template-columns:1fr!important}
}

/* V5.4.81 — decisão de teste grátis/ativação no plano de créditos */
.credit-license-decision{margin-top:14px;padding:16px;border:1px solid #ff8a1f66;border-radius:14px;background:#2b190d;display:grid;gap:8px}.credit-license-decision.success{border-color:#2bd67b66;background:#0d2519}.credit-license-decision.expired{border-color:#ff5d5d66;background:#2a1013}.credit-license-decision strong{font-size:18px}.credit-license-decision p{margin:0;color:var(--muted);line-height:1.5}.credit-license-decision .eyebrow{margin:0}.credit-license-decision button{margin-top:4px}

/* V5.4.86 — cadastro de lista sempre visível ao abrir no gerenciador */
.device-manager-layout.playlist-form-open{grid-template-columns:1fr}.device-manager-layout.playlist-form-open .device-manager-form{scroll-margin-top:24px}
