@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Orbitron:wght@500;600;700&display=swap');

:root{
  --bg:#02050A;
  --bg-deep:#02050A;
  --panel:#241E0E;
  --panel-2:#2E2611;
  --panel-3:#3A2E10;
  --line:rgba(214, 188, 121,.15);
  --line-strong:rgba(255, 213, 107,.34);
  --text:#FDFBF6;
  --muted:#BCAA7C;
  --soft:#8D7C52;
  --blue:#D4AF37;
  --blue-2:#A88936;
  --blue-glow:rgba(212, 175, 55,.22);
  --gold:#FFD56B;
  --gold-2:#B99B4E;
  --gold-glow:rgba(240, 202, 107,.17);
  --green:#DCB85C;
  --red:#B3964B;
  --shadow:0 30px 100px rgba(0, 0, 0,.36);
  --shadow-soft:0 18px 50px rgba(0, 0, 0,.25);
  --radius:24px;
  --sidebar:320px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 11% 8%,rgba(216, 181, 91,.18),transparent 29%),
    radial-gradient(circle at 87% 10%,rgba(231, 193, 97,.11),transparent 22%),
    radial-gradient(circle at 50% 110%,rgba(213, 178, 89,.12),transparent 32%),
    linear-gradient(145deg,#0C0A05 0%,#211B0D 47%,#02050A 100%);
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255, 255, 255,.015) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255, 255, 255,.015) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,rgba(0, 0, 0,.8),transparent 82%);
  opacity:.25;
}
body::after{
  content:"";
  position:fixed;
  inset:auto -12vw -22vh auto;
  width:48vw;
  height:48vw;
  max-width:720px;
  max-height:720px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(229, 191, 96,.10),transparent 65%);
  filter:blur(30px);
  pointer-events:none;
}

a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{border:0}

.shell{min-height:100vh}

/* ===== SIDEBAR ===== */
.side{
  position:fixed;
  z-index:50;
  inset:0 auto 0 0;
  width:var(--sidebar);
  padding:25px 19px 20px;
  overflow:auto;
  background:linear-gradient(180deg,rgba(21, 17, 8,.98),rgba(15, 12, 6,.96));
  border-right:1px solid rgba(201, 170, 91,.16);
  box-shadow:18px 0 80px rgba(0, 0, 0,.28);
  backdrop-filter:blur(24px);
}
.side::before{
  content:"";
  position:absolute;
  left:-20%;right:-20%;top:-70px;height:240px;
  background:radial-gradient(circle at 50% 40%,rgba(243, 203, 102,.20),transparent 65%);
  pointer-events:none;
}
.side::after{
  content:"";
  position:absolute;
  top:0;right:0;bottom:0;width:1px;
  background:linear-gradient(180deg,rgba(255, 213, 107,.26),transparent 25%,transparent 76%,rgba(240, 202, 107,.16));
  pointer-events:none;
}
.brand-row{
  position:relative;z-index:2;
  display:flex;align-items:center;gap:15px;
  padding:5px 13px 23px;
  border-bottom:1px solid rgba(255, 255, 255,.055);
}
.brand-logo{width:56px;height:56px;filter:drop-shadow(0 0 22px rgba(255, 213, 107,.25))}
.brand-copy{min-width:0}
.brand{font-size:20px;font-weight:950;letter-spacing:.65px;line-height:1}
.brand b{color:var(--blue)}
.brand-sub{margin-top:7px;color:#9C895A;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.55px}

.account-card{
  position:relative;z-index:2;
  margin:20px 2px 18px;
  padding:14px;
  border:1px solid rgba(209, 175, 88,.15);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(52, 43, 20,.85),rgba(28, 23, 11,.84));
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.03),0 14px 30px rgba(0, 0, 0,.18);
}
.account-card-top{display:flex;align-items:center;gap:10px}
.account-avatar{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font-weight:900;color:#1D180B;background:linear-gradient(145deg,#E3C16A,#B89A4D);box-shadow:0 0 24px rgba(255, 213, 107,.18)}
.account-copy{min-width:0}
.account-copy small{display:block;color:#9C895A;font-size:9px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}
.account-copy strong{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.account-lock{margin-left:auto;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:rgba(133, 104, 32,.15);border:1px solid rgba(214, 179, 90,.12);color:#E6C572;font-size:11px}

.nav{position:relative;z-index:2;padding-top:5px}
.nav-title{padding:13px 13px 8px;color:#8E7D52;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:1.75px}
.nav a,.nav button{
  display:flex;align-items:center;gap:14px;
  width:100%;margin:6px 0;padding:13px 14px;
  border:1px solid transparent;border-radius:15px;
  background:transparent;color:#A99970;
  text-align:left;font-size:13px;font-weight:850;
  cursor:pointer;transition:.22s ease;
}
.nav a:hover,.nav button:hover{transform:translateX(2px);color:#FFF;background:rgba(85, 67, 21,.48);border-color:rgba(212, 177, 89,.11)}
.nav a.active{
  color:#FFF;
  background:linear-gradient(135deg,rgba(229, 191, 96,.24),rgba(48, 40, 18,.82));
  border-color:rgba(243, 203, 102,.20);
  box-shadow:inset 0 0 26px rgba(231, 193, 97,.06),0 10px 30px rgba(0, 0, 0,.13);
}
.nav-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:#322913;border:1px solid rgba(208, 174, 87,.12);font-size:13px;color:#C4A861}
.nav a.active .nav-icon{color:#FFF;background:linear-gradient(145deg,#A88C47,#FFD56B);border-color:transparent;box-shadow:0 0 22px rgba(248, 207, 104,.2)}
.logout-wrap{padding-top:18px;margin-top:18px;border-top:1px solid rgba(255, 255, 255,.055)}
.danger{background:linear-gradient(145deg,#534520,#352C14)!important;color:#F0D695!important;border-color:rgba(255, 213, 107,.10)!important}

/* ===== MAIN / GLOBAL ===== */
.main{
  margin-left:var(--sidebar);
  width:calc(100% - var(--sidebar));
  min-height:100vh;
  padding:34px 38px 65px;
}
.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:28px}
.page-title{margin:0;font-size:clamp(30px,3vw,42px);font-weight:900;letter-spacing:-1.45px}
.page-sub{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.65;max-width:980px}
.user-pill{display:flex;align-items:center;gap:10px;min-width:190px;padding:8px 12px 8px 8px;border-radius:16px;background:rgba(31, 26, 12,.82);border:1px solid rgba(207, 173, 87,.15);box-shadow:inset 0 1px 0 rgba(255, 255, 255,.035)}
.avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-weight:900;color:#1D180B;background:linear-gradient(145deg,#FFD56B,#DBB75C);box-shadow:0 7px 22px rgba(236, 197, 99,.18)}
.user-pill small{display:block;color:#A4946C;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:1.25px}.user-pill strong{display:block;margin-top:2px;font-size:11px}

.pill,.content-pill,.group-count-pill,.billing-badge{
  display:inline-flex;align-items:center;gap:6px;
  min-height:30px;padding:7px 11px;border-radius:999px;
  background:rgba(68, 53, 16,.72);border:1px solid rgba(219, 183, 92,.15);
  color:#FFE6A8;font-size:9px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;
}
.content-pill{background:rgba(81, 67, 31,.58);color:#D9C89C}
.billing-badge{background:linear-gradient(145deg,rgba(97, 77, 27,.72),rgba(38, 31, 14,.76));border-color:rgba(240, 202, 107,.22);color:#FFE4A1}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border-radius:13px;border:1px solid transparent;color:#FFF;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 12px 26px rgba(0, 0, 0,.17);transition:.2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(0, 0, 0,.24)}
.btn:disabled{opacity:.46;cursor:not-allowed;transform:none}
.primary{background:linear-gradient(145deg,#C8A754,#FFD56B);box-shadow:0 12px 32px rgba(237, 198, 100,.17)}
.gold{background:linear-gradient(145deg,#B6984C,#FFD978);color:#1D180B;box-shadow:0 12px 32px rgba(218, 182, 92,.14)}
.secondary{background:linear-gradient(145deg,#473917,#352C14);border-color:rgba(204, 175, 100,.18)}
.action-row{display:flex;flex-wrap:wrap;gap:10px}

/* ===== SURFACES ===== */
.card,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:
    linear-gradient(145deg,rgba(48, 40, 18,.92),rgba(24, 20, 9,.92));
  box-shadow:var(--shadow-soft),inset 0 1px 0 rgba(255, 255, 255,.03);
  backdrop-filter:blur(22px);
}
.card::before,.campaign-builder-shell::before,.campaign-history-shell::before,.notice-card::before,.whatsapp-session-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(135deg,rgba(255, 255, 255,.04),transparent 24%,transparent 76%,rgba(248, 207, 104,.018));
}
.card::after,.campaign-builder-shell::after,.campaign-history-shell::after{
  content:"";position:absolute;width:170px;height:170px;right:-100px;top:-95px;border-radius:50%;background:radial-gradient(circle,rgba(251, 210, 105,.09),transparent 68%);pointer-events:none
}
.card{padding:24px}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.two{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);gap:20px;margin-top:20px}
.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}

.stat{min-height:168px}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.label{color:#B0A27E;font-size:8px;font-weight:900;letter-spacing:1.45px;text-transform:uppercase}.stat-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#473811,#2C2411);border:1px solid rgba(218, 182, 92,.15);color:#FFD56B;font-size:16px;box-shadow:inset 0 1px 0 rgba(255, 255, 255,.04)}
.metric{margin-top:16px;font-size:38px;line-height:1;font-weight:900;letter-spacing:-1.4px}.balance{color:var(--gold);text-shadow:0 0 28px rgba(240, 202, 107,.12)}.metric-note{margin-top:11px;color:#A2926B;font-size:10px;line-height:1.55}

.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:19px}.section-head h2,.card h2{margin:0;font-size:19px;letter-spacing:-.35px}.muted{color:var(--muted)}
.feature-line{display:flex;gap:12px;align-items:flex-start;padding:17px 0;border-top:1px solid rgba(255, 255, 255,.06)}.feature-line:first-child{border-top:0}.feature-dot{width:9px;height:9px;flex:0 0 9px;margin-top:5px;border-radius:50%;background:var(--blue);box-shadow:0 0 15px rgba(212, 177, 89,.52)}.feature-line strong{display:block;font-size:13px}.feature-line span{display:block;margin-top:5px;color:#A3936C;font-size:10px;line-height:1.55}

/* ===== HERO ===== */
.hero-card{min-height:318px;padding:32px;display:flex;align-items:flex-end;background-image:linear-gradient(90deg,rgba(17, 14, 6,.98) 0%,rgba(23, 19, 9,.90) 38%,rgba(22, 18, 8,.55) 100%),none;background-size:cover;background-position:center}
.hero-content{position:relative;z-index:1;max-width:750px}.hero-card h2{margin:13px 0 10px;font-size:clamp(27px,3vw,42px);letter-spacing:-1.4px;line-height:1.04}.hero-card p{margin:0 0 22px;color:#CCBC93;line-height:1.72;font-size:13px}
.eyebrow{display:flex;align-items:center;gap:7px;color:#B19E6D;font-size:9px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase}.eyebrow.small{font-size:8px}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 14px rgba(212, 177, 89,.65)}

/* ===== FORM / AUTH ===== */
.form{display:grid;gap:14px}.form label,.modern-field{display:block;color:#D9C48F;font-size:11px;font-weight:800}.form label>input,.form label>textarea,.modern-field input,.modern-field textarea{margin-top:7px}
input,textarea,select{width:100%;padding:13px 14px;border-radius:13px;color:#FFFDF7;outline:none;border:1px solid rgba(200, 167, 84,.19);background:rgba(20, 16, 8,.88);box-shadow:inset 0 1px 0 rgba(255, 255, 255,.02);transition:.18s}
input:focus,textarea:focus,select:focus{border-color:rgba(250, 209, 105,.6);box-shadow:0 0 0 4px rgba(250, 209, 105,.08),inset 0 1px 0 rgba(255, 255, 255,.02)}
textarea{min-height:160px;resize:vertical}.error-box{padding:12px 14px;border:1px solid rgba(255, 213, 107,.18);border-radius:13px;color:#FFE6A8;background:rgba(95, 75, 25,.30);font-size:11px}
.auth{min-height:100vh;display:grid;place-items:center;padding:30px;background-image:linear-gradient(115deg,rgba(13, 11, 5,.95),rgba(22, 18, 8,.73)),none;background-size:cover;background-position:center}
.authbox{position:relative;width:min(500px,100%);padding:36px;border:1px solid rgba(213, 178, 89,.20);border-radius:28px;background:linear-gradient(145deg,rgba(34, 28, 13,.90),rgba(19, 16, 7,.92));box-shadow:0 40px 130px rgba(0, 0, 0,.48);backdrop-filter:blur(24px)}
.authbox::after{content:"";position:absolute;right:-80px;top:-80px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(255, 213, 107,.13),transparent 68%);pointer-events:none}.auth-brand{display:flex;align-items:center;gap:13px;margin-bottom:24px}.auth-brand img{width:54px;height:54px}.auth-brand strong{display:block;font-size:19px}.auth-brand span{display:block;margin-top:4px;color:#A0916A;font-size:9px;font-weight:800;letter-spacing:1.25px;text-transform:uppercase}.authbox h1{margin:14px 0 7px;font-size:35px;letter-spacing:-1.3px}.auth-copy{margin-bottom:22px;color:#BBA97B;font-size:11px;line-height:1.65}

/* ===== LANDING ===== */
.hero{position:relative;min-height:100vh;display:grid;place-items:center;padding:42px;background-image:linear-gradient(180deg,rgba(15, 12, 6,.40),rgba(1, 5, 10,.96)),none;background-size:cover;background-position:center}.hero::before{content:"";position:absolute;inset:auto 0 0;height:47%;background:linear-gradient(transparent,var(--bg));pointer-events:none}.hero-inner{position:relative;z-index:1;max-width:1050px;text-align:center}.hero-logo{width:88px;height:88px;filter:drop-shadow(0 0 36px rgba(255, 213, 107,.25));margin-bottom:12px}.hero-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-bottom:22px}.hero h1{margin:10px 0 18px;font-family:Orbitron,Inter,sans-serif;font-size:clamp(52px,9vw,112px);line-height:.92;letter-spacing:-5px;text-shadow:0 18px 60px rgba(0, 0, 0,.5)}.hero h1 span{color:var(--gold);text-shadow:0 0 38px rgba(240, 202, 107,.18)}.hero p{max-width:760px;margin:0 auto 28px;color:#C6B383;font-size:15px;line-height:1.8}.actions{display:flex;justify-content:center;flex-wrap:wrap;gap:11px}

/* ===== TABLE / ADMIN ===== */
.table-wrap{overflow:auto;border:1px solid rgba(198, 165, 83,.12);border-radius:17px;background:rgba(21, 17, 8,.52)}.table{width:100%;border-collapse:collapse;min-width:760px}.table th,.table td{padding:15px 14px;text-align:left;border-bottom:1px solid rgba(255, 255, 255,.055);font-size:11px}.table th{color:#AB9D78;font-size:8px;letter-spacing:1.15px;text-transform:uppercase}.table tr:last-child td{border-bottom:0}.admin-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;margin-top:20px}.setting-form{display:grid;gap:14px}.setting-form label{font-size:11px;font-weight:800;color:#E8D6A7}.small-note{font-size:9px;color:#C7B78E;line-height:1.65}.plan-editor{display:grid;gap:11px}.plan-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 130px;gap:12px;align-items:end;padding:14px;border-radius:17px;background:linear-gradient(145deg,rgba(46, 38, 17,.72),rgba(25, 21, 10,.65));border:1px solid rgba(198, 165, 83,.12)}.plan-editor-row strong{display:block;font-size:12px}.plan-editor-row small{display:block;margin-top:4px;color:#A2926B;font-size:9px;line-height:1.45}.plan-editor-row label{color:#CCBC93;font-size:9px;font-weight:800}.plan-editor-row input{margin-top:6px}

/* ===== CREDITS / PLANS ===== */
.plans-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.plan-card{position:relative;padding:25px;border-radius:24px;border:1px solid rgba(204, 170, 86,.16);background:linear-gradient(145deg,rgba(50, 41, 19,.92),rgba(25, 21, 10,.92));box-shadow:var(--shadow-soft);overflow:hidden}.plan-card.featured{border-color:rgba(238, 199, 100,.27);box-shadow:0 30px 75px rgba(0, 0, 0,.28),0 0 45px rgba(238, 199, 100,.05)}.plan-card::before{content:"";position:absolute;right:-50px;top:-50px;width:165px;height:165px;border-radius:50%;background:radial-gradient(circle,rgba(212, 177, 89,.10),transparent 68%)}.plan-card.featured::before{background:radial-gradient(circle,rgba(239, 200, 100,.14),transparent 68%)}.plan-badge{position:absolute;right:16px;top:16px;padding:7px 10px;border-radius:99px;background:linear-gradient(145deg,#B4964C,#FFDA7D);color:#1C170B;font-size:8px;font-weight:950;letter-spacing:.8px}.plan-top{display:flex;gap:12px;align-items:center}.plan-orb{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;font-family:Orbitron,sans-serif;font-size:12px;font-weight:800;background:linear-gradient(145deg,#594719,#352C14);border:1px solid rgba(223, 186, 94,.14);color:#FFE7A9}.plan-orb.bronze{color:#FFD874}.plan-orb.prata{color:#F2EDDB}.plan-orb.ouro{color:#FFD875}.plan-card h2{margin-top:4px}.plan-credits{display:flex;align-items:baseline;gap:8px;margin-top:26px}.plan-credits strong{font-size:52px;line-height:1;font-weight:900;letter-spacing:-2px}.plan-credits span{color:#C0B18A;font-size:10px}.plan-card p{min-height:46px;color:#C0B18A;font-size:10px;line-height:1.65}.plan-price{display:flex;align-items:end;gap:8px;margin:22px 0 18px}.plan-price small{color:#B2A47F;font-size:9px}.plan-price strong{font-size:30px}.buy-btn{width:100%}.plan-message{margin-top:11px;color:#988658;font-size:8px;line-height:1.6}.project-buy{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:20px;padding:26px;background-image:linear-gradient(100deg,rgba(38, 31, 14,.92),rgba(23, 19, 9,.86)),none;background-size:cover;background-position:center}.project-copy{max-width:760px}.project-copy h2{margin:12px 0 7px}.project-copy p{color:#C1B28B;font-size:10px;line-height:1.65}.project-price{margin-top:15px}.project-price span{display:block;color:#B2A47F;font-size:8px;text-transform:uppercase;letter-spacing:1px}.project-price strong{display:block;margin-top:5px;color:var(--gold);font-size:31px}.project-action{min-width:320px}.project-user{margin-bottom:10px;color:#BFB08A;font-size:9px}
.credit-cta{display:flex;align-items:center;justify-content:space-between;gap:20px}.credit-cta p{color:#AD9C72;font-size:10px;line-height:1.6}.notice-card{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px;padding:18px}.notice-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:12px;background:rgba(240, 202, 107,.10);border:1px solid rgba(240, 202, 107,.18);color:var(--gold);font-weight:900}.notice-card strong{display:block;font-size:12px}.notice-card span{display:block;margin-top:5px;color:#AF9E73;font-size:10px;line-height:1.6}

/* ===== WHATSAPP ===== */
.whatsapp-session-card{padding:25px}.session-list{display:grid;gap:11px}.session-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:14px;border-radius:18px;border:1px solid rgba(197, 165, 83,.12);background:linear-gradient(145deg,rgba(46, 38, 17,.72),rgba(24, 20, 9,.66));transition:.18s}.session-item.active{border-color:rgba(212, 177, 89,.25);box-shadow:inset 0 0 28px rgba(234, 196, 98,.045)}.session-avatar{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#584619,#342B14);border:1px solid rgba(215, 180, 90,.13);color:#FFD877;font-size:16px}.session-main{min-width:0}.session-main strong{display:block;font-size:12px}.session-main small{display:block;margin-top:4px;color:#C7B78E;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:99px;font-size:8px;font-weight:900;background:rgba(71, 57, 20,.6);color:#D6C18D}.session-status i{width:7px;height:7px;border-radius:50%;background:#AD9C72}.session-status.connected{background:rgba(108, 86, 29,.18);color:#E4CC8F}.session-status.connected i{background:var(--green);box-shadow:0 0 11px rgba(212, 177, 89,.55)}.session-actions{display:flex;gap:7px}.mini-btn{min-height:34px;padding:8px 10px;border-radius:10px;border:1px solid rgba(209, 175, 88,.14);font-size:8px;font-weight:900;cursor:pointer}.primary-mini{background:rgba(181, 151, 76,.22);color:#FFE6A8}.danger-mini{background:rgba(107, 85, 28,.24);color:#EBCF87}.status{display:flex;align-items:center;gap:9px;min-height:44px;padding:12px 13px;border-radius:13px;background:rgba(21, 17, 8,.68);border:1px solid rgba(196, 164, 82,.12);font-size:11px;font-weight:900}.dot{width:8px;height:8px;border-radius:50%;background:#A7976E}.dot.green{background:var(--green);box-shadow:0 0 15px rgba(212, 177, 89,.5)}.dot.red{background:var(--red);box-shadow:0 0 13px rgba(255, 213, 107,.42)}.qr{display:block;width:min(280px,100%);margin:16px auto 0;padding:10px;border-radius:18px;background:#FFF;box-shadow:0 20px 45px rgba(0, 0, 0,.28)}.group-list{display:grid;gap:9px;max-height:590px;overflow:auto;padding-right:3px}.group-item{display:flex;align-items:center;gap:11px;padding:12px;border-radius:15px;border:1px solid rgba(194, 162, 81,.11);background:rgba(24, 20, 9,.56)}.group-item strong{display:block;font-size:11px}.group-item span{display:block;margin-top:4px;color:#9E8B5C;font-size:8px}.target-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#5D4A1A,#382E15);border:1px solid rgba(212, 177, 89,.12);color:#FFDC85}.online-mini{color:var(--green)!important;margin-top:0!important}.search-box{position:relative}.search-box input{padding-left:13px}.modern-search{flex:1}.modern-search>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#A2926B;z-index:2}.modern-search input{padding-left:34px}

/* ===== CAMPAIGNS ===== */
.campaigns-page{padding-bottom:70px}.campaign-topbar{margin-bottom:24px}.campaign-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.campaign-stat-card{display:flex;align-items:center;gap:13px;min-height:100px;padding:18px;border:1px solid rgba(208, 174, 87,.13);border-radius:19px;background:linear-gradient(145deg,rgba(51, 42, 19,.82),rgba(24, 20, 9,.78));box-shadow:var(--shadow-soft)}.campaign-stat-card.gold-stat{border-color:rgba(239, 200, 100,.17)}.campaign-stat-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:14px;background:#433513;border:1px solid rgba(216, 181, 91,.14);color:#E4C26B}.gold-stat .campaign-stat-icon{background:rgba(112, 88, 27,.28);color:var(--gold)}.campaign-stat-card small{display:block;color:#9C895A;font-size:8px;font-weight:900;letter-spacing:1.2px}.campaign-stat-card strong{display:block;margin-top:4px;font-size:13px}.campaign-stat-card span:last-child{display:block;margin-top:4px;color:#A0916A;font-size:8px}
.campaign-builder-shell,.campaign-history-shell{padding:28px;margin-bottom:20px}.campaign-builder-head,.history-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:23px}.campaign-builder-head h2,.history-head h2{margin:7px 0 4px;font-size:25px;letter-spacing:-.7px}.campaign-builder-head p,.history-head p{margin:0;color:#AB9B71;font-size:10px;line-height:1.65;max-width:900px}
.campaign-form{display:grid;grid-template-columns:minmax(420px,.92fr) minmax(540px,1.08fr);grid-template-areas:"groups delivery" "groups composer";gap:18px;align-items:stretch}.groups-panel{grid-area:groups}.delivery-panel{grid-area:delivery}.composer-panel{grid-area:composer}.campaign-panel{padding:21px;border-radius:21px;border:1px solid rgba(196, 164, 82,.12);background:linear-gradient(145deg,rgba(45, 37, 17,.73),rgba(21, 17, 8,.71))}
.panel-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:15px}.panel-title-row>div{min-width:0}.panel-title-row strong{display:block;font-size:13px}.panel-title-row small{display:block;margin-top:4px;color:#A2926B;font-size:9px;line-height:1.5}.outline-mini{padding:8px 10px;border-radius:10px;border:1px solid rgba(210, 175, 88,.17);background:rgba(62, 49, 15,.58);color:#FFEBB8;font-size:8px;font-weight:900;cursor:pointer;white-space:nowrap}.selector-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:10px}.group-count-pill{white-space:nowrap}.modern-selector{height:510px;min-height:510px;overflow:auto;padding:1px 4px 4px 0;display:grid;align-content:start;gap:8px}.group-option{display:grid;grid-template-columns:40px minmax(0,1fr) 24px;align-items:center;gap:11px;min-height:64px;padding:11px 12px;border:1px solid rgba(198, 165, 83,.10);border-radius:15px;background:rgba(24, 20, 9,.46);cursor:pointer;transition:.17s}.group-option:hover{border-color:rgba(235, 196, 99,.19);background:rgba(54, 45, 21,.58)}.group-option.selected{border-color:rgba(212, 177, 89,.28);background:linear-gradient(145deg,rgba(130, 102, 31,.25),rgba(34, 28, 13,.7));box-shadow:inset 0 0 24px rgba(241, 201, 101,.045)}.group-option input{display:none}.group-option-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#574518,#362D15);border:1px solid rgba(210, 175, 88,.12);color:#FFDF8D}.group-option-copy{min-width:0}.group-option-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.group-option-copy small{display:block;margin-top:4px;color:#C7B78E;font-size:8px}.group-check{width:23px;height:23px;display:grid;place-items:center;border-radius:8px;border:1px solid rgba(197, 170, 100,.14);color:transparent;background:rgba(21, 17, 8,.6);font-size:10px}.group-option.selected .group-check{background:linear-gradient(145deg,#CAA955,#FFD56B);border-color:transparent;color:#FFF;box-shadow:0 0 17px rgba(250, 209, 105,.24)}.modern-selection{margin-top:10px;padding:11px 12px;border-radius:12px;border:1px dashed rgba(197, 165, 83,.15);background:rgba(18, 15, 7,.50);color:#A5956D;font-size:9px;font-weight:800}.delivery-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-option{display:grid;grid-template-columns:37px minmax(0,1fr) 22px;align-items:center;gap:10px;padding:14px 14px;min-height:94px;border:1px solid rgba(197, 165, 83,.12);border-radius:16px;background:rgba(23, 19, 9,.52);cursor:pointer;transition:.17s}.delivery-option.active{border-color:rgba(249, 208, 105,.25);background:linear-gradient(145deg,rgba(123, 97, 30,.25),rgba(29, 24, 11,.70))}.delivery-option input{display:none}.delivery-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#443613;color:#FFD56B}.delivery-copy b{display:block;font-size:10px}.delivery-copy small{display:block;margin-top:4px;color:#C0B18A;font-size:8px;line-height:1.5}.delivery-check{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;border:1px solid rgba(200, 167, 84,.15);color:transparent;font-size:9px}.delivery-option.active .delivery-check{background:linear-gradient(145deg,#CFAD57,#FFD56B);border-color:transparent;color:#FFF}.status-info-box{display:flex;gap:10px;margin-top:11px;padding:12px;border-radius:14px;background:rgba(99, 79, 28,.15);border:1px solid rgba(239, 200, 100,.16)}.status-info-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(238, 199, 100,.11);color:var(--gold)}.status-info-box strong{font-size:9px}.status-info-box p{margin:4px 0 0;color:#A08F64;font-size:8px;line-height:1.55}
.modern-field small{display:block;margin-top:5px;color:#988658;font-size:8px;font-weight:600;line-height:1.5}.modern-field textarea{min-height:150px}.photo-drop{display:flex;align-items:center;gap:12px;margin-top:14px;padding:14px;border:1px dashed rgba(205, 171, 86,.18);border-radius:15px;background:rgba(23, 19, 9,.46)}.photo-drop-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:12px;background:#443613;color:#E5C26B}.photo-drop-copy{min-width:0;flex:1}.photo-drop-copy strong{display:block;font-size:9px}.photo-drop-copy strong span{color:#A0916A;font-weight:600}.photo-drop-copy small{display:block;margin-top:4px;color:#978558;font-size:8px}.upload-button input{display:none}.upload-button span{display:inline-flex;align-items:center;min-height:36px;padding:9px 12px;border-radius:10px;background:rgba(125, 98, 30,.24);border:1px solid rgba(212, 177, 89,.15);color:#FFEBB8;font-size:8px;font-weight:900;cursor:pointer}.photo-preview-modern{display:flex;align-items:center;gap:10px;margin-top:9px;padding:10px;border-radius:13px;background:rgba(21, 17, 8,.65);border:1px solid rgba(196, 164, 82,.10)}.photo-preview-modern img{width:70px;height:70px;object-fit:cover;border-radius:11px}.preview-copy{min-width:0;flex:1}.preview-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.preview-copy span{display:block;margin-top:4px;color:#9E8B5C;font-size:8px}.remove-photo{width:30px;height:30px;border-radius:9px;background:rgba(99, 79, 27,.30);color:#FFE6A8;cursor:pointer}
.schedule-title{display:flex;align-items:center;gap:10px;margin-top:17px;margin-bottom:10px}.schedule-title>span{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#453713;color:#E5C26B;font-size:9px}.schedule-title strong{display:block;font-size:9px}.schedule-title small{display:block;margin-top:3px;color:#9C895A;font-size:8px}.schedule-grid-modern{display:grid;grid-template-columns:1fr 1fr;gap:10px}.schedule-preview-modern{display:flex;align-items:center;gap:10px;margin-top:10px;padding:11px;border-radius:13px;border:1px solid rgba(195, 163, 82,.10);background:rgba(19, 16, 7,.56)}.schedule-preview-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#473811;color:#FFDC82}.schedule-preview-modern strong{display:block;font-size:9px}.schedule-preview-modern span{display:block;margin-top:3px;color:#9C895A;font-size:8px;line-height:1.45}.campaign-submit{width:100%;display:flex;align-items:center;gap:11px;margin-top:11px;padding:13px 14px;min-height:61px;border-radius:15px;background:linear-gradient(145deg,#C7A654,#FBD269);color:white;cursor:pointer;box-shadow:0 17px 38px rgba(229, 191, 96,.16)}.campaign-submit>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:rgba(255, 255, 255,.12)}.campaign-submit b{display:block;text-align:left;font-size:10px}.campaign-submit small{display:block;margin-top:3px;color:#FFE6A8;font-size:8px;text-align:left}.campaign-note{display:flex;gap:8px;margin-top:9px;color:#9C895A}.campaign-note>span{color:var(--gold)}.campaign-note p{margin:0;font-size:8px;line-height:1.55}.history-live{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:99px;color:#E1C98D;background:rgba(97, 77, 25,.14);border:1px solid rgba(212, 177, 89,.14);font-size:8px;font-weight:900}.history-live i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 12px rgba(212, 177, 89,.55)}.campaign-history-grid{display:grid;gap:12px}.campaign-history-card{padding:17px;border-radius:18px;border:1px solid rgba(196, 164, 82,.11);background:linear-gradient(145deg,rgba(38, 31, 14,.78),rgba(21, 17, 8,.75));box-shadow:inset 0 1px 0 rgba(255, 255, 255,.025)}.history-card-top,.history-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px}.history-card-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:15px;margin-top:13px}.history-time-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.history-time-grid>div{padding:10px;border-radius:11px;background:rgba(22, 18, 8,.64)}.history-time-grid small{display:block;color:#958356;font-size:7px;text-transform:uppercase;letter-spacing:1px}.history-time-grid strong{display:block;margin-top:4px;font-size:9px}.history-message{padding:11px;border-radius:12px;background:rgba(22, 18, 8,.55);color:#BBA97B;font-size:9px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.history-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.history-actions{display:flex;gap:7px;flex-wrap:wrap}.campaign-control{min-height:36px;padding:8px 11px;border-radius:10px;font-size:8px;font-weight:900;cursor:pointer}.campaign-control.stop{background:rgba(111, 88, 30,.28);color:#FFE6A8}.campaign-control.continue{background:rgba(104, 82, 28,.24);color:#E8D198}.campaign-error{margin-top:10px;padding:10px;border-radius:11px;background:rgba(103, 82, 29,.18);border:1px solid rgba(255, 213, 107,.12);color:#EBCF87;font-size:8px;line-height:1.55}.campaign-empty{grid-column:1/-1;display:grid;place-items:center;text-align:center;min-height:230px;padding:30px;border:1px dashed rgba(203, 170, 85,.13);border-radius:18px;background:rgba(20, 16, 8,.38)}.campaign-empty-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#433513;color:#FFD877;font-size:17px;margin-bottom:10px}.campaign-empty strong{font-size:12px}.campaign-empty span{display:block;margin-top:6px;max-width:480px;color:#9E8B5C;font-size:9px;line-height:1.6}

/* ===== MOTION ===== */
@keyframes pulseDot{0%,100%{transform:scale(.88);opacity:.65}50%{transform:scale(1.12);opacity:1}}
@keyframes softFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
.eyebrow-dot,.history-live i{animation:pulseDot 2.3s ease-in-out infinite}
.hero-card::after{animation:softFloat 7s ease-in-out infinite}

/* ===== MENU SCALE ===== */
@media (max-width:1180px){
  :root{--sidebar:300px}
  .side{padding:22px 17px 18px}
  .brand-logo{width:52px;height:52px}
  .brand{font-size:19px}
  .nav a,.nav button{font-size:12.5px;padding:12px 13px}
  .nav-icon{width:36px;height:36px;flex-basis:36px}
}
@media (max-width:820px){
  :root{--sidebar:270px}
  .side{padding:20px 15px 16px}
  .brand-logo{width:48px;height:48px}
  .brand{font-size:18px}
  .nav a,.nav button{font-size:12px;padding:11px 12px}
  .nav-icon{width:34px;height:34px;flex-basis:34px}
}
@media (max-width:560px){
  :root{--sidebar:250px}
}

/* ===== MOBILE ===== */
@media(max-width:1180px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .two,.three,.admin-grid{grid-template-columns:1fr}
  .campaign-form{grid-template-columns:1fr;grid-template-areas:"groups" "delivery" "composer"}
}
@media(max-width:820px){
  :root{--sidebar:250px}
  .main{padding:25px 23px 45px}
  .topbar{flex-direction:column;align-items:stretch}
  .user-pill{min-width:0;width:max-content}
  .campaign-stats-grid{grid-template-columns:1fr 1fr}
  .plans-grid{grid-template-columns:1fr}
  .project-buy{flex-direction:column;align-items:stretch}
  .project-action{min-width:0}
  .session-item{grid-template-columns:45px minmax(0,1fr);align-items:start}.session-status,.session-actions{grid-column:2}.session-actions{margin-top:4px}
}
@media(max-width:620px){
  body{padding-bottom:84px}
  .side{left:0;right:0;bottom:0;top:auto;width:100%;height:78px;padding:6px 8px;border-right:0;border-top:1px solid rgba(204, 171, 86,.16);box-shadow:0 -18px 65px rgba(0, 0, 0,.42);backdrop-filter:blur(22px)}
  .brand-row,.account-card,.nav-title{display:none}.nav{display:flex;align-items:stretch;justify-content:space-around;gap:4px;height:100%;padding:0}.nav a,.nav button{flex:1;min-width:0;height:64px;margin:0;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:14px;font-size:7px}.nav-icon{width:29px;height:29px;flex:0 0 29px;border-radius:9px;font-size:11px}.nav a.active{transform:none}.logout-wrap{display:flex;flex:1;min-width:0;padding:0;margin:0;border:0}.logout-wrap form,.logout-wrap button{width:100%;height:64px}
  .main{width:100%;margin-left:0;padding:20px 14px 28px}.page-title{font-size:29px}.page-sub{font-size:11px}.grid{grid-template-columns:1fr;gap:12px}.card{padding:18px;border-radius:19px}.stat{min-height:145px}.metric{font-size:34px}.hero-card{min-height:360px;padding:21px}.hero-card h2{font-size:28px}.action-row{display:grid;grid-template-columns:1fr}.action-row .btn{width:100%}
  .campaign-stats-grid{grid-template-columns:1fr}.campaign-builder-shell,.campaign-history-shell{padding:16px;border-radius:20px}.campaign-builder-head,.history-head{flex-direction:column;align-items:stretch}.campaign-form{gap:12px}.campaign-panel{padding:15px;border-radius:17px}.delivery-options{grid-template-columns:1fr}.modern-selector{height:360px;min-height:360px}.schedule-grid-modern{grid-template-columns:1fr}.campaign-history-card{padding:14px}.history-card-content{grid-template-columns:1fr}.history-time-grid{grid-template-columns:1fr 1fr}.history-card-top,.history-card-bottom{flex-direction:column;align-items:flex-start}.history-actions{width:100%}.history-actions .campaign-control{width:100%}.photo-drop{flex-wrap:wrap}.upload-button{width:100%}.upload-button span{width:100%;justify-content:center}.session-item{grid-template-columns:42px minmax(0,1fr)}.session-avatar{width:42px;height:42px}.group-list{max-height:460px}
  .auth{padding:14px}.authbox{padding:24px;border-radius:22px}.authbox h1{font-size:30px}.hero{padding:22px}.hero h1{letter-spacing:-3px}
}

/* ======================================================================
   WHATSAPP X — CAMPANHAS / LAYOUT V2
   Ajustes de organização, espaço e sidebar fixa.
   ====================================================================== */

/* Sidebar realmente fixa: o conteúdo da navegação não cria uma segunda
   área de rolagem. Apenas o documento principal pode rolar. */
.side{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:var(--sidebar);
  height:100dvh;
  overflow:hidden;
  overscroll-behavior:contain;
}
.nav{overflow:visible}

/* Mantém a área de conteúdo estável ao lado do menu. */
.main{
  min-height:100vh;
  width:calc(100% - var(--sidebar));
  margin-left:var(--sidebar);
  padding:42px 44px 76px;
}

/* ---------- CAMPANHAS: cabeçalho ---------- */
.campaigns-page{
  max-width:1680px;
  margin-right:auto;
}
.campaign-topbar{
  align-items:end;
  margin-bottom:30px;
}
.campaign-topbar .page-title{
  font-size:clamp(34px,3.2vw,50px);
  line-height:1.04;
  letter-spacing:-1.9px;
}
.campaign-topbar .page-sub{
  max-width:920px;
  margin-top:12px;
  color:#C5B282;
  font-size:14px;
  line-height:1.72;
}
.campaign-topbar .user-pill{
  min-width:225px;
  min-height:64px;
  border-radius:18px;
}
.campaign-topbar .avatar{
  width:44px;height:44px;border-radius:14px;
}
.campaign-topbar .user-pill small{font-size:9px}
.campaign-topbar .user-pill strong{font-size:12px}

/* ---------- RESUMO ---------- */
.campaign-stats-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:24px;
}
.campaign-stat-card{
  min-height:116px;
  padding:20px 21px;
  gap:14px;
  border-radius:20px;
  background:
    linear-gradient(145deg,rgba(62, 49, 17,.88),rgba(27, 22, 10,.9));
  box-shadow:0 18px 50px rgba(0, 0, 0,.22), inset 0 1px 0 rgba(255, 255, 255,.035);
}
.campaign-stat-icon{
  width:50px;height:50px;flex-basis:50px;
  border-radius:15px;
  font-size:17px;
}
.campaign-stat-card small{
  font-size:9px;
  letter-spacing:1.5px;
}
.campaign-stat-card strong{
  margin-top:6px;
  font-size:15px;
  letter-spacing:-.15px;
}
.campaign-stat-card span:last-child{
  margin-top:5px;
  font-size:10px;
  line-height:1.45;
}

/* ---------- CONSTRUTOR ---------- */
.campaign-builder-shell,
.campaign-history-shell{
  padding:30px;
  margin-bottom:24px;
  border-radius:28px;
  background:
    radial-gradient(circle at 100% 0%,rgba(241, 201, 101,.07),transparent 27%),
    linear-gradient(145deg,rgba(51, 42, 19,.94),rgba(22, 18, 8,.95));
  box-shadow:0 28px 80px rgba(0, 0, 0,.25), inset 0 1px 0 rgba(255, 255, 255,.035);
}
.campaign-builder-head,
.history-head{
  align-items:center;
  margin-bottom:26px;
}
.campaign-builder-head h2,
.history-head h2{
  font-size:29px;
  line-height:1.1;
  margin:9px 0 6px;
  letter-spacing:-1px;
}
.campaign-builder-head p,
.history-head p{
  max-width:980px;
  font-size:12px;
  line-height:1.7;
  color:#B09F74;
}
.billing-badge{
  min-height:38px;
  padding:9px 14px;
  font-size:10px;
  box-shadow:0 12px 28px rgba(227, 190, 95,.09);
}

/* Duas áreas claramente separadas no desktop, sem larguras mínimas que
   causem overflow em telas intermediárias. */
.campaign-form{
  display:grid;
  grid-template-columns:minmax(330px,0.84fr) minmax(0,1.16fr);
  grid-template-areas:"groups delivery" "groups composer";
  gap:20px;
  align-items:start;
}
.campaign-panel{
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(205, 171, 86,.14);
  background:
    linear-gradient(145deg,rgba(47, 39, 18,.82),rgba(21, 17, 8,.82));
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.025), 0 14px 36px rgba(0, 0, 0,.12);
}
.groups-panel{
  min-width:0;
}
.delivery-panel,
.composer-panel{
  min-width:0;
}
.panel-title-row{
  margin-bottom:18px;
  gap:18px;
}
.panel-title-row strong{
  font-size:14px;
  line-height:1.25;
}
.panel-title-row small{
  margin-top:6px;
  font-size:10px;
  line-height:1.55;
  color:#A99970;
}
.outline-mini{
  min-height:38px;
  padding:9px 13px;
  border-radius:11px;
  font-size:9px;
}

/* ---------- GRUPOS ---------- */
.selector-toolbar{
  align-items:center;
  margin-bottom:12px;
}
.modern-search{
  min-height:48px;
  border-radius:14px!important;
}
.modern-search input{
  font-size:12px!important;
}
.group-count-pill{
  min-height:34px;
  padding:8px 12px;
  font-size:9px;
}
.modern-selector{
  height:560px;
  min-height:560px;
  max-height:560px;
  padding:2px 5px 8px 0;
  gap:9px;
  scrollbar-width:thin;
  scrollbar-color:rgba(240, 201, 101,.28) transparent;
}
.modern-selector::-webkit-scrollbar{width:7px}
.modern-selector::-webkit-scrollbar-track{background:transparent}
.modern-selector::-webkit-scrollbar-thumb{
  background:rgba(240, 201, 101,.28);
  border-radius:99px;
}
.group-option{
  grid-template-columns:46px minmax(0,1fr) 28px;
  gap:12px;
  min-height:72px;
  padding:12px 13px;
  border-radius:16px;
}
.group-option-icon{
  width:46px;height:46px;
  border-radius:13px;
  font-size:14px;
}
.group-option-copy b{
  font-size:12px;
  line-height:1.35;
}
.group-option-copy small{
  margin-top:5px;
  font-size:9px;
}
.group-check{
  width:27px;height:27px;
  border-radius:9px;
  font-size:11px;
}
.modern-selection{
  margin-top:12px;
  padding:12px 13px;
  font-size:10px;
}

/* ---------- TIPO DE PUBLICAÇÃO ---------- */
.delivery-options{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.delivery-option{
  min-height:116px;
  padding:16px;
  grid-template-columns:44px minmax(0,1fr) 24px;
  border-radius:17px;
}
.delivery-icon{
  width:44px;height:44px;
  border-radius:13px;
  font-size:15px;
}
.delivery-copy b{
  font-size:11px;
  line-height:1.35;
}
.delivery-copy small{
  margin-top:5px;
  font-size:9px;
  line-height:1.55;
}
.delivery-check{
  width:24px;height:24px;
  border-radius:8px;
}
.status-info-box{
  margin-top:12px;
  padding:13px;
  border-radius:15px;
}
.status-info-box strong{font-size:10px}
.status-info-box p{font-size:9px;line-height:1.6}

/* ---------- COMPOSITOR ---------- */
.modern-field{
  display:block;
  color:#C8B584;
  font-size:10px;
  font-weight:800;
  letter-spacing:.15px;
}
.modern-field textarea{
  min-height:190px!important;
  margin-top:8px;
  padding:15px 16px!important;
  border-radius:15px!important;
  font-size:13px!important;
  line-height:1.65!important;
}
.modern-field small{
  margin-top:7px;
  font-size:9px;
  line-height:1.55;
}
.photo-drop{
  min-height:84px;
  margin-top:16px;
  padding:15px;
  border-radius:16px;
}
.photo-drop-icon{
  width:47px;height:47px;flex-basis:47px;
  border-radius:13px;
}
.photo-drop-copy strong{font-size:10px}
.photo-drop-copy small{font-size:9px;line-height:1.5}
.upload-button span{
  min-height:40px;
  padding:10px 14px;
  border-radius:11px;
  font-size:9px;
}
.photo-preview-modern{
  margin-top:10px;
  min-height:86px;
  padding:11px;
}
.preview-image-frame{
  position:relative;
  flex:0 0 92px;
  width:92px;
  height:92px;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(229, 191, 96,.18);
  background:linear-gradient(145deg,#473811,#1F1A0C);
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.04),0 8px 22px rgba(0, 0, 0,.18);
}
.photo-preview-modern img{
  display:none;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
}
#previewImageFallback{
  width:100%;height:100%;
  place-items:center;
  color:#FFDB7F;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.1px;
}
.preview-copy{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center}
.preview-copy strong{font-size:10px}
.preview-copy span{font-size:9px}
.remove-photo{width:34px;height:34px;border-radius:10px}

.schedule-title{
  margin-top:22px;
  margin-bottom:12px;
  gap:11px;
}
.schedule-title>span{
  width:31px;height:31px;
  border-radius:9px;
  font-size:10px;
}
.schedule-title strong{font-size:10px}
.schedule-title small{font-size:9px;line-height:1.5}
.schedule-grid-modern{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.interval-field .interval-input-wrap{position:relative;display:flex;align-items:center;margin-top:8px}
.interval-field .interval-input-wrap input{width:100%;padding-right:78px!important}
.interval-field .interval-input-wrap span{position:absolute;right:13px;color:#A0916A;font-size:9px;font-weight:800;pointer-events:none}
.interval-field>small{display:block;margin-top:5px;color:#988658;font-size:8px;font-weight:600;line-height:1.5}
.schedule-grid-modern input{
  min-height:50px!important;
  margin-top:8px;
  padding:12px 13px!important;
  border-radius:13px!important;
  font-size:11px!important;
}
.schedule-preview-modern{
  margin-top:12px;
  min-height:65px;
  padding:12px 13px;
  border-radius:14px;
}
.schedule-preview-icon{
  width:39px;height:39px;
  border-radius:12px;
}
.schedule-preview-modern strong{font-size:10px}
.schedule-preview-modern span{font-size:9px;line-height:1.55}
.campaign-submit{
  min-height:68px;
  margin-top:14px;
  padding:14px 16px;
  gap:12px;
  border-radius:16px;
}
.campaign-submit>span{
  width:40px;height:40px;
  border-radius:11px;
}
.campaign-submit b{font-size:11px}
.campaign-submit small{font-size:9px}
.campaign-note{
  margin-top:11px;
  gap:9px;
}
.campaign-note p{
  font-size:9px;
  line-height:1.65;
}

/* ---------- HISTÓRICO ---------- */
.history-live{
  min-height:35px;
  padding:8px 12px;
  font-size:9px;
}
.campaign-history-grid{gap:14px}
.campaign-history-card{
  padding:20px;
  border-radius:20px;
  background:linear-gradient(145deg,rgba(40, 33, 15,.84),rgba(21, 17, 8,.84));
}
.history-card-top,
.history-card-bottom{
  gap:16px;
}
.history-card-top>div:first-child{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.campaign-id{
  font-size:10px!important;
  padding:6px 9px!important;
  border-radius:9px!important;
}
.status-chip-modern{
  min-height:27px!important;
  padding:6px 9px!important;
  border-radius:9px!important;
  font-size:8px!important;
}
.cycle-clock{
  min-width:155px;
  min-height:40px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:11px;
  background:rgba(220, 184, 92,.10);
  border:1px solid rgba(242, 202, 102,.13);
  color:#FFEBB8!important;
  font-size:10px!important;
  font-weight:900;
  letter-spacing:.6px;
}
.history-card-content{
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:17px;
  margin-top:15px;
}
.history-message{
  display:block;
  min-height:94px;
  padding:14px;
  border-radius:14px;
  font-size:10px;
  line-height:1.65;
}
.history-tags{
  gap:7px;
  margin-top:11px;
}
.history-tags span,
.media-tag,
.status-mode-tag{
  min-height:27px!important;
  padding:6px 9px!important;
  border-radius:9px!important;
  font-size:8px!important;
}
.history-time-grid{
  gap:10px;
}
.history-time-grid>div{
  min-height:62px;
  padding:11px 12px;
  border-radius:12px;
}
.history-time-grid small{font-size:7px}
.history-time-grid b,
.history-time-grid strong{
  display:block;
  margin-top:5px;
  font-size:10px;
  line-height:1.35;
}
.billing-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px 18px;
  color:#C0B18A;
  font-size:9px;
}
.history-card-bottom{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255, 255, 255,.055);
}
.campaign-control{
  min-height:39px;
  padding:9px 13px;
  border-radius:11px;
  font-size:9px;
}
.campaign-error{
  font-size:9px;
  padding:11px 12px;
  border-radius:12px;
}
.campaign-empty{
  min-height:280px;
  padding:38px;
  border-radius:20px;
}
.campaign-empty-icon{
  width:56px;height:56px;
  border-radius:16px;
  font-size:19px;
}
.campaign-empty strong{font-size:14px}
.campaign-empty span{max-width:560px;font-size:10px;line-height:1.65}

/* ---------- RESPONSIVIDADE ---------- */
@media(max-width:1380px){
  .main{padding-left:34px;padding-right:34px}
  .campaign-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .campaign-form{
    grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);
  }
  .history-card-content{grid-template-columns:1fr}
}

@media(max-width:1120px){
  .campaign-form{
    grid-template-columns:1fr;
    grid-template-areas:"groups" "delivery" "composer";
  }
  .modern-selector{height:420px;min-height:420px;max-height:420px}
  .delivery-options{grid-template-columns:1fr 1fr}
}

@media(max-width:820px){
  .side{height:100dvh;overflow:hidden}
  .main{padding:26px 22px 80px}
  .campaign-stats-grid{grid-template-columns:1fr 1fr}
  .campaign-builder-shell,.campaign-history-shell{padding:22px;border-radius:23px}
  .campaign-builder-head,.history-head{align-items:stretch}
  .campaign-topbar{align-items:stretch}
  .campaign-topbar .user-pill{width:100%;min-width:0}
}

@media(max-width:620px){
  .side{
    top:auto;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:78px;
    max-height:78px;
    overflow:hidden;
  }
  .main{width:100%;margin-left:0;padding:20px 14px 100px}
  .campaign-stats-grid{grid-template-columns:1fr}
  .campaign-builder-shell,.campaign-history-shell{padding:17px;border-radius:20px}
  .campaign-builder-head h2,.history-head h2{font-size:24px}
  .campaign-builder-head p,.history-head p{font-size:10px}
  .campaign-form{gap:12px}
  .campaign-panel{padding:17px;border-radius:18px}
  .panel-title-row{align-items:flex-start;flex-direction:column}
  .outline-mini{align-self:flex-start}
  .selector-toolbar{align-items:stretch;flex-direction:column}
  .modern-selector{height:360px;min-height:360px;max-height:360px}
  .delivery-options{grid-template-columns:1fr}
  .delivery-option{min-height:100px}
  .schedule-grid-modern{grid-template-columns:1fr}
  .history-card-top,.history-card-bottom{align-items:stretch;flex-direction:column}
  .cycle-clock{width:100%;min-width:0}
  .history-actions{width:100%}
  .history-actions .campaign-control{width:100%}
  .billing-line{flex-direction:column;align-items:flex-start}
}

/* Ajustes finais de estabilidade do layout */
html,body{overflow-x:hidden}
body{overflow-y:auto}
.side{display:flex;flex-direction:column;overflow:hidden}
.brand-row,.account-card,.nav{flex-shrink:0}
.nav{min-height:0;display:flex;flex-direction:column}
.nav a,.nav button{flex-shrink:0}
.logout-wrap{margin-top:auto!important;padding-top:12px!important}

/* Em notebooks baixos, reduzimos o espaçamento sem criar scroll na sidebar. */
@media (min-width:621px) and (max-height:820px){
  .side{padding-top:15px;padding-bottom:12px}
  .brand-row{padding-bottom:14px}
  .account-card{margin-top:12px;margin-bottom:10px;padding:10px}
  .nav-title{padding-top:7px;padding-bottom:4px}
  .nav a,.nav button{margin:3px 0;padding:8px 10px;min-height:43px}
  .nav-icon{width:30px;height:30px;flex-basis:30px}
}

/* Último freio contra overflow horizontal em campanhas. */
.campaigns-page,.campaign-builder-shell,.campaign-history-shell,.campaign-form,.campaign-panel,.campaign-history-card{min-width:0;max-width:100%}
.campaign-form>*{min-width:0}
.history-message,.history-time-grid,.delivery-copy,.photo-drop-copy,.panel-title-row>div{min-width:0}

.photo-preview-modern{
  display:grid;
  grid-template-columns:92px minmax(0,1fr) 38px;
  align-items:center;
  gap:14px;
  min-width:0;
}
.photo-preview-modern .preview-copy span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media (max-width:640px){
  .photo-preview-modern{grid-template-columns:76px minmax(0,1fr) 36px;gap:10px}
  .preview-image-frame{width:76px;height:76px;flex-basis:76px;border-radius:12px}
}

/* ---------- MINHAS CAMPANHAS: COMPACTA ---------- */
.campaign-history-shell{
  padding:22px;
  margin-bottom:18px;
  border-radius:22px;
}
.history-head{
  margin-bottom:16px;
}
.history-head h2{
  font-size:22px;
  margin:6px 0 3px;
}
.history-head p{
  font-size:10px;
  line-height:1.45;
}
.history-live{
  min-height:30px;
  padding:6px 10px;
  font-size:8px;
}
.campaign-history-grid{gap:9px}
.campaign-history-card{
  padding:14px;
  border-radius:16px;
}
.history-card-top,
.history-card-bottom{gap:10px}
.campaign-id{
  font-size:8px!important;
  padding:5px 7px!important;
  border-radius:8px!important;
}
.status-chip-modern{
  min-height:24px!important;
  padding:5px 8px!important;
  border-radius:8px!important;
  font-size:7px!important;
}
.cycle-clock{
  min-width:125px;
  min-height:32px;
  padding:7px 9px;
  border-radius:9px;
  font-size:8px!important;
}
.history-card-content{
  gap:11px;
  margin-top:10px;
  grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);
}
.history-message{
  min-height:66px;
  padding:10px;
  border-radius:11px;
  font-size:9px;
  line-height:1.45;
}
.history-tags{gap:5px;margin-top:7px}
.history-tags span,
.media-tag,
.status-mode-tag{
  min-height:23px!important;
  padding:5px 7px!important;
  border-radius:8px!important;
  font-size:7px!important;
}
.history-time-grid{gap:6px}
.history-time-grid>div{
  min-height:50px;
  padding:8px 9px;
  border-radius:9px;
}
.history-time-grid small{font-size:6px}
.history-time-grid b,
.history-time-grid strong{
  margin-top:3px;
  font-size:8px;
  line-height:1.25;
}
.history-card-bottom{
  margin-top:10px;
  padding-top:10px;
}
.billing-line{gap:6px 12px;font-size:7px}
.campaign-control{
  min-height:32px;
  padding:7px 10px;
  border-radius:9px;
  font-size:8px;
}
.campaign-error{
  margin-top:7px;
  padding:8px 10px;
  border-radius:9px;
  font-size:8px;
}
.campaign-empty{
  min-height:190px;
  padding:26px;
  border-radius:16px;
}
.campaign-empty-icon{
  width:44px;height:44px;
  border-radius:12px;
  font-size:16px;
  margin-bottom:8px;
}
.campaign-empty strong{font-size:12px}
.campaign-empty span{max-width:460px;font-size:8px;line-height:1.5}

@media(max-width:1380px){
  .history-card-content{grid-template-columns:1fr}
}
@media(max-width:620px){
  .campaign-history-shell{padding:15px;border-radius:18px}
  .history-head h2{font-size:20px}
  .campaign-history-card{padding:12px;border-radius:14px}
  .cycle-clock{width:100%;min-width:0}
}

/* ---------- CONTAGEM REGRESSIVA DA CAMPANHA ---------- */
.cycle-clock-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:210px}
.cycle-clock-wrap>small{font-size:7px;line-height:1;letter-spacing:1.5px;font-weight:900;color:#AE9D73;text-transform:uppercase}
.cycle-clock{min-width:210px!important;white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums;letter-spacing:.5px!important}
.cycle-clock-hint{display:block;max-width:260px;color:#907F54;font-size:7px;line-height:1.35;font-style:normal;text-align:right}
@media(max-width:760px){.cycle-clock-wrap{width:100%;min-width:0;align-items:flex-start}.cycle-clock{width:100%;min-width:0!important}.cycle-clock-hint{text-align:left;max-width:none}}


/* ======================================================================
   CAMPANHAS — HISTÓRICO / CONTROLE AO VIVO • POLISH V3
   Melhora visual da área "Suas campanhas" sem alterar a lógica.
   ====================================================================== */
.campaign-history-shell{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(211, 176, 89,.18);
  background:
    radial-gradient(circle at 8% 0%,rgba(212, 177, 89,.075),transparent 25%),
    radial-gradient(circle at 92% 12%,rgba(240, 202, 107,.055),transparent 22%),
    linear-gradient(145deg,rgba(53, 44, 20,.97),rgba(22, 18, 8,.98));
}
.campaign-history-shell .history-head{
  position:relative;
  z-index:2;
  padding-bottom:20px;
  margin-bottom:20px;
  border-bottom:1px solid rgba(255, 255, 255,.065);
}
.campaign-history-shell .history-head h2{
  font-size:31px;
  letter-spacing:-1.15px;
}
.campaign-history-shell .history-head p{
  margin-top:7px;
  color:#B8A679;
}
.campaign-history-shell .history-head .eyebrow{
  color:#C6B17D;
}
.campaign-history-shell .history-head .eyebrow-dot{
  width:8px;height:8px;
  background:#FFD56B;
  box-shadow:0 0 18px rgba(255, 213, 107,.72);
}
.history-live{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(211, 176, 89,.22);
  background:rgba(129, 101, 31,.12);
  color:#E8CE8E;
  box-shadow:0 0 22px rgba(205, 171, 86,.055),inset 0 1px 0 rgba(255, 255, 255,.035);
  letter-spacing:1px;
}
.history-live i{
  width:7px;height:7px;
  margin:0;
  border-radius:50%;
  background:#E2BD5F;
  box-shadow:0 0 12px rgba(226, 189, 95,.75);
}
.campaign-history-grid{
  position:relative;
  z-index:1;
  gap:15px;
}
.campaign-history-card{
  position:relative;
  overflow:hidden;
  padding:20px 21px;
  border:1px solid rgba(207, 173, 87,.16);
  border-radius:20px;
  background:
    linear-gradient(135deg,rgba(55, 45, 21,.88),rgba(25, 21, 10,.92));
  box-shadow:0 16px 42px rgba(0, 0, 0,.22),inset 0 1px 0 rgba(255, 255, 255,.035);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.campaign-history-card::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(180deg,#FFD56B,rgba(212, 177, 89,.08));
  opacity:.9;
}
.campaign-history-card:hover{
  transform:translateY(-2px);
  border-color:rgba(229, 191, 96,.28);
  box-shadow:0 22px 52px rgba(0, 0, 0,.28),0 0 28px rgba(241, 201, 101,.035),inset 0 1px 0 rgba(255, 255, 255,.045);
}
.history-card-top{
  position:relative;
  z-index:1;
}
.history-card-top>div:first-child{
  gap:9px;
}
.campaign-id{
  background:rgba(43, 35, 16,.75)!important;
  border:1px solid rgba(207, 174, 90,.16)!important;
  color:#D3BF8B!important;
}
.status-chip-modern{
  border:1px solid rgba(196, 164, 82,.18)!important;
  background:rgba(146, 115, 35,.12)!important;
  color:#E8CF91!important;
}
.cycle-clock{
  border-color:rgba(245, 205, 103,.20);
  background:linear-gradient(145deg,rgba(164, 137, 69,.16),rgba(54, 45, 21,.32));
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.035),0 0 20px rgba(235, 196, 99,.035);
}
.history-card-content{
  position:relative;
  z-index:1;
}
.history-message{
  border:1px solid rgba(196, 164, 82,.10);
  background:rgba(20, 16, 8,.48);
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.02);
}
.history-time-grid>div{
  border:1px solid rgba(196, 164, 82,.09);
  background:linear-gradient(145deg,rgba(29, 24, 11,.78),rgba(20, 16, 8,.58));
}
.history-time-grid small{
  color:#A7976E;
}
.history-tags span,
.media-tag,
.status-mode-tag{
  border:1px solid rgba(205, 171, 86,.13)!important;
  background:rgba(54, 45, 21,.48)!important;
  color:#C7B483!important;
}
.billing-line{
  position:relative;
  z-index:1;
}
.history-card-bottom{
  position:relative;
  z-index:1;
}
.campaign-control{
  border:1px solid rgba(203, 170, 85,.12);
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.025);
  transition:.18s ease;
}
.campaign-control:hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
}
.campaign-control.stop{
  border-color:rgba(255, 213, 107,.15);
}
.campaign-control.continue{
  border-color:rgba(203, 170, 85,.15);
}
.campaign-empty{
  position:relative;
  overflow:hidden;
  min-height:250px;
  border:1px dashed rgba(210, 175, 88,.20);
  background:
    radial-gradient(circle at 50% 0%,rgba(212, 177, 89,.055),transparent 38%),
    rgba(20, 16, 8,.44);
}
.campaign-empty::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,rgba(255, 255, 255,.018),transparent);
  pointer-events:none;
}
.campaign-empty-icon{
  background:linear-gradient(145deg,#594719,#342B14);
  border:1px solid rgba(213, 178, 89,.15);
  box-shadow:0 12px 30px rgba(0, 0, 0,.22),0 0 25px rgba(250, 209, 105,.05);
}
.campaign-empty strong{
  font-size:15px;
  letter-spacing:-.2px;
}
.campaign-empty span{
  color:#C2B38C;
}

/* Mobile: keep the live badge and card hierarchy clean */
@media(max-width:620px){
  .campaign-history-shell .history-head{
    padding-bottom:16px;
  }
  .campaign-history-shell .history-head h2{
    font-size:25px;
  }
  .history-live{
    align-self:flex-start;
  }
  .campaign-history-card{
    padding:17px;
    border-radius:18px;
  }
  .cycle-clock{
    width:100%;
    min-width:0;
  }
}


/* Campanhas ativas: cards mais legíveis e destacados */
.campaign-history-card.is-live{padding:24px 25px;border-radius:22px;border-color:rgba(212, 177, 89,.20);box-shadow:0 18px 48px rgba(0, 0, 0,.24),0 0 26px rgba(212, 177, 89,.045),inset 0 1px 0 rgba(255, 255, 255,.04)}
.campaign-history-card.is-live .campaign-id{font-size:11px;padding:7px 10px}
.campaign-history-card.is-live .status-chip-modern{font-size:11px;padding:7px 11px}
.campaign-history-card.is-live .history-message{font-size:13px;line-height:1.65;padding:14px 15px;color:#D8C38F}
.campaign-history-card.is-live .history-tags{gap:8px;margin-top:12px}
.campaign-history-card.is-live .history-tags span,.campaign-history-card.is-live .media-tag,.campaign-history-card.is-live .status-mode-tag{font-size:10px;padding:7px 9px}
.campaign-history-card.is-live .history-time-grid>div{padding:12px}
.campaign-history-card.is-live .history-time-grid small{font-size:8px}
.campaign-history-card.is-live .history-time-grid b,.campaign-history-card.is-live .history-time-grid strong{font-size:11px;margin-top:5px}
.campaign-history-card.is-live .cycle-clock-wrap>small{font-size:8px}
.campaign-history-card.is-live .cycle-clock{font-size:15px!important;min-height:44px;padding:11px 14px}
.campaign-history-card.is-live .cycle-clock-hint{font-size:8px;max-width:320px}
.campaign-history-card.is-live .billing-line{font-size:10px}
.campaign-history-card.is-live .campaign-control{min-height:40px;padding:9px 13px;font-size:10px}
@media(max-width:760px){.campaign-history-card.is-live{padding:18px}.campaign-history-card.is-live .history-message{font-size:12px}.campaign-history-card.is-live .cycle-clock{font-size:14px!important}}

/* Foto da campanha no Controle ao Vivo */
.history-main-copy{display:flex;align-items:stretch;gap:12px;min-width:0}
.history-copy-stack{min-width:0;flex:1}
.campaign-live-photo{position:relative;flex:0 0 112px;width:112px;height:112px;border-radius:15px;overflow:hidden;border:1px solid rgba(205, 171, 86,.16);background:linear-gradient(145deg,rgba(55, 45, 21,.9),rgba(21, 17, 8,.9));box-shadow:0 10px 28px rgba(0, 0, 0,.2)}
.campaign-live-photo img{display:block;width:100%;height:100%;object-fit:cover}
.campaign-live-photo span{position:absolute;left:6px;bottom:6px;padding:4px 6px;border-radius:6px;background:rgba(14, 12, 5,.78);color:#E7D198;font-size:6px;font-weight:900;letter-spacing:.7px}
.campaign-live-photo.is-broken{display:grid;place-items:center;padding:8px;color:#A7976E;text-align:center;font-size:7px}
.campaign-live-photo.is-broken img{display:none}
@media(max-width:760px){.history-main-copy{flex-direction:column}.campaign-live-photo{width:100%;height:180px;flex-basis:auto}.history-copy-stack{width:100%}}


/* Foto no Controle ao Vivo: somente por clique, com visualização em janela */
.media-photo-trigger{cursor:pointer;border:1px solid rgba(212, 177, 89,.20)!important;background:rgba(104, 82, 28,.18)!important;color:#FFDA7E!important;font-family:inherit}
.media-photo-trigger:hover{background:rgba(125, 98, 30,.28)!important;border-color:rgba(212, 177, 89,.35)!important;transform:translateY(-1px)}
.history-main-copy{display:block!important}
.history-copy-stack{width:100%}
.history-message{display:block!important;width:100%;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;max-height:none!important;overflow:visible!important}
.campaign-photo-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:22px}
.campaign-photo-modal.open{display:flex}
.campaign-photo-modal-backdrop{position:absolute;inset:0;background:rgba(13, 11, 5,.82);backdrop-filter:blur(8px)}
.campaign-photo-modal-dialog{position:relative;z-index:1;width:min(860px,96vw);max-height:92vh;overflow:auto;border:1px solid rgba(205, 171, 86,.22);border-radius:22px;background:linear-gradient(145deg,rgba(48, 40, 18,.98),rgba(21, 17, 8,.98));box-shadow:0 30px 90px rgba(0, 0, 0,.55),0 0 35px rgba(241, 201, 101,.08)}
.campaign-photo-modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid rgba(205, 171, 86,.12)}
.campaign-photo-modal-head small{display:block;color:#BFA971;font-size:8px;letter-spacing:1.5px;font-weight:900}
.campaign-photo-modal-head h3{margin:4px 0 0;color:#FFF7DF;font-size:16px}
.campaign-photo-modal-close{width:38px;height:38px;border:1px solid rgba(255, 255, 255,.1);border-radius:11px;background:rgba(255, 255, 255,.06);color:#FFF;font-size:25px;line-height:1;cursor:pointer}
.campaign-photo-modal-body{padding:20px}
.campaign-photo-modal-image-wrap{position:relative;display:grid;place-items:center;min-height:240px;border-radius:16px;overflow:hidden;background:rgba(14, 12, 5,.7);border:1px solid rgba(205, 171, 86,.13)}
.campaign-photo-modal-image-wrap img{display:block;max-width:100%;max-height:62vh;width:auto;height:auto;object-fit:contain}
#campaignPhotoModalFallback{display:none;place-items:center;padding:35px;color:#A7976E;font-size:12px}
.campaign-photo-modal-info{margin-top:13px;padding:14px;border-radius:14px;background:rgba(20, 16, 8,.55);border:1px solid rgba(205, 171, 86,.10)}
.campaign-photo-modal-info strong{display:block;color:#F0D99E;font-size:11px;word-break:break-word}
.campaign-photo-modal-info p{margin:8px 0 0;color:#D3C298;font-size:11px;line-height:1.65;white-space:pre-wrap;word-break:break-word}
body.campaign-modal-open{overflow:hidden}
@media(max-width:760px){.campaign-photo-modal{padding:10px}.campaign-photo-modal-dialog{width:100%;max-height:95vh;border-radius:18px}.campaign-photo-modal-body{padding:12px}.campaign-photo-modal-image-wrap img{max-height:58vh}.campaign-photo-modal-head{padding:14px}.campaign-photo-modal-head h3{font-size:14px}}
/* Live campaign preview: compact first-line card with full details on click */
.campaign-details-trigger{display:block;width:100%;text-align:left;border:0;background:transparent;color:inherit;padding:0;cursor:pointer;min-width:0}
.campaign-details-trigger:hover .history-message{border-color:rgba(212, 177, 89,.24);background:rgba(31, 26, 12,.72)}
.campaign-details-trigger .history-copy-stack{display:block}
.history-details-hint{display:block;margin-top:7px;color:#B5A16F;font-size:8px;font-weight:800;letter-spacing:.15px}
.media-tag{cursor:default}
@media(max-width:760px){.history-details-hint{font-size:8px}}

/* Ações da campanha ativa */
.history-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.campaign-control.edit-interval{border-color:rgba(255, 213, 107,.28);background:rgba(140, 110, 34,.18);color:#D8BD77}
.campaign-control.edit-interval:hover{background:rgba(172, 144, 72,.28);border-color:rgba(255, 213, 107,.42)}
.campaign-control.cancel-campaign{border-color:rgba(212, 177, 89,.30);background:rgba(150, 118, 36,.16);color:#FFD66F}
.campaign-control.cancel-campaign:hover{background:rgba(175, 146, 74,.27);border-color:rgba(212, 177, 89,.48)}
.campaign-interval-help{margin:0 0 18px;color:#D3C298;font-size:11px;line-height:1.65}
.campaign-edit-interval-field{display:block}
.campaign-interval-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
.campaign-interval-actions .campaign-control{min-height:42px}
.campaign-interval-actions .cancel-edit{border-color:rgba(212, 177, 89,.30);background:rgba(150, 118, 36,.16);color:#FFD66F}
.campaign-interval-actions .save-edit-interval{border-color:rgba(212, 177, 89,.30);background:rgba(104, 82, 28,.22);color:#FFDA7E}
@media(max-width:760px){.history-actions{width:100%}.history-actions .campaign-control{flex:1 1 140px}.campaign-interval-actions{flex-direction:column}.campaign-interval-actions .campaign-control{width:100%}}

/* Ações da campanha ativa */
.history-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.campaign-control.edit-interval{border-color:rgba(255, 213, 107,.28);background:rgba(140, 110, 34,.18);color:#D8BD77}
.campaign-control.edit-interval:hover{background:rgba(172, 144, 72,.28);border-color:rgba(255, 213, 107,.42)}
.campaign-control.cancel-campaign{border-color:rgba(212, 177, 89,.30);background:rgba(150, 118, 36,.16);color:#FFD66F}
.campaign-control.cancel-campaign:hover{background:rgba(175, 146, 74,.27);border-color:rgba(212, 177, 89,.48)}
.campaign-interval-help{margin:0 0 18px;color:#D3C298;font-size:11px;line-height:1.65}
.campaign-edit-interval-field{display:block}
.campaign-interval-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
.campaign-interval-actions .campaign-control{min-height:42px}
.campaign-interval-actions .cancel-edit{border-color:rgba(212, 177, 89,.30);background:rgba(150, 118, 36,.16);color:#FFD66F}
.campaign-interval-actions .save-edit-interval{border-color:rgba(212, 177, 89,.30);background:rgba(104, 82, 28,.22);color:#FFDA7E}
@media(max-width:760px){.history-actions{width:100%}.history-actions .campaign-control{flex:1 1 140px}.campaign-interval-actions{flex-direction:column}.campaign-interval-actions .campaign-control{width:100%}}

/* Developer Startup X footer */
.coder-footer{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;margin:28px auto 0;padding:18px 16px 22px;color:#C2B38C;font-size:11px;font-weight:800;letter-spacing:.25px;text-align:center}
.coder-footer-inner{display:inline-flex;align-items:center;gap:9px;padding:9px 14px;border:1px solid rgba(255, 255, 255,.06);border-radius:999px;background:rgba(23, 19, 9,.46);box-shadow:0 8px 28px rgba(0, 0, 0,.14)}
.coder-footer img{width:18px;height:18px;opacity:.9}
.coder-footer strong{color:#D8C38F;font-weight:900}
.coder-footer .footer-dot{color:#DBB75C}
.auth + .coder-footer,.hero + .coder-footer{position:fixed;left:0;right:0;bottom:0;margin:0}
@media(max-width:760px){.coder-footer{font-size:10px;margin-top:20px;padding-bottom:18px}.coder-footer-inner{padding:8px 12px}}

/* Finished campaign deletion */
.campaign-control.delete-finished,.campaign-control.delete-campaign{background:rgba(239, 200, 100,.10);border-color:rgba(239, 200, 100,.28);color:#FFEBB7}
.campaign-control.delete-finished:hover,.campaign-control.delete-campaign:hover{background:rgba(239, 200, 100,.18);border-color:rgba(239, 200, 100,.42);color:#FFE6A8}

/* ===== ASSET ICON SYSTEM ===== */
.btn-asset{width:16px;height:16px;object-fit:contain;display:inline-block;vertical-align:middle;filter:drop-shadow(0 0 8px rgba(255, 213, 107,.22))}
.inline-asset{width:13px;height:13px;object-fit:contain;vertical-align:-2px;display:inline-block}
.tiny-asset{width:12px;height:12px;object-fit:contain;display:inline-block;vertical-align:-2px}
.nav-icon img{width:17px;height:17px;object-fit:contain;display:block;filter:drop-shadow(0 0 8px rgba(255, 213, 107,.22))}
.account-lock img{width:15px;height:15px;object-fit:contain;display:block}
.avatar img{width:20px;height:20px;object-fit:contain;display:block}
.stat-icon img,.campaign-stat-icon img,.photo-drop-icon img,.schedule-preview-icon img,.campaign-empty-icon img,.status-info-icon img,.session-avatar img,.group-avatar img{width:21px;height:21px;object-fit:contain;display:block}
.delivery-icon img{width:20px;height:20px;object-fit:contain;display:block}
.delivery-check img,.group-check img{width:13px;height:13px;object-fit:contain;display:block}
.remove-photo img,.campaign-photo-modal-close img{width:13px;height:13px;object-fit:contain;display:block}
.online-mini img{width:9px;height:9px;object-fit:contain;display:block}
.media-tag,.status-mode-tag,.history-tags span{display:inline-flex;align-items:center;gap:5px}
.footer-separator{width:11px;height:11px;object-fit:contain;opacity:.78}

/* ===== PREMIUM TYPOGRAPHY / TITLES ===== */
.page-title{position:relative;font-family:Inter,system-ui,sans-serif;font-size:clamp(32px,3.2vw,46px);font-weight:950;letter-spacing:-1.8px;line-height:1.05;text-shadow:0 10px 35px rgba(0, 0, 0,.25)}
.page-title::after{content:"";display:block;width:64px;height:3px;margin-top:12px;border-radius:99px;background:linear-gradient(90deg,var(--blue),var(--gold),transparent);box-shadow:0 0 18px rgba(212, 177, 89,.25)}
.page-sub{max-width:850px;letter-spacing:.05px}
.section-head h2,.card h2{font-size:18px;font-weight:900;letter-spacing:-.55px;line-height:1.2;text-shadow:0 5px 22px rgba(0, 0, 0,.22)}
.section-head h2::before{content:"";display:inline-block;width:4px;height:18px;margin-right:9px;border-radius:5px;background:linear-gradient(180deg,var(--blue),var(--gold));vertical-align:-3px;box-shadow:0 0 14px rgba(212, 177, 89,.2)}
.hero h1{font-family:Orbitron,Inter,sans-serif;letter-spacing:-1.4px;text-shadow:0 14px 42px rgba(0, 0, 0,.35)}
.authbox h1{font-size:34px;font-weight:950;letter-spacing:-1.1px}
.campaign-builder-head h2,.campaign-history-head h2{font-size:20px;font-weight:950;letter-spacing:-.65px}
.campaign-builder-head p,.campaign-history-head p{color:#AA9A70;font-size:11px;line-height:1.65}

/* Cleaner asset-based controls */
.campaign-control,.btn,.campaign-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px}

/* Creator / GitHub panel */
.creator-panel{position:relative;overflow:hidden;margin:24px 0 8px;padding:24px;border:1px solid rgba(215, 180, 90,.16);border-radius:22px;background:linear-gradient(135deg,rgba(35, 29, 13,.94),rgba(25, 21, 10,.88));box-shadow:0 18px 50px rgba(0, 0, 0,.18)}
.creator-panel-public{max-width:1120px;margin:28px auto 14px}
.creator-glow{position:absolute;width:240px;height:240px;right:-100px;top:-130px;border-radius:50%;background:radial-gradient(circle,rgba(220, 184, 92,.14),transparent 68%);pointer-events:none}
.creator-brand{position:relative;display:flex;align-items:center;gap:8px;margin-bottom:17px;color:#BDAB7D;font-size:10px;font-weight:900;letter-spacing:1.8px}
.creator-brand img{width:16px;height:16px;object-fit:contain}
.creator-content{position:relative;display:flex;align-items:center;gap:18px}
.creator-avatar{width:66px;height:66px;flex:0 0 66px;display:grid;place-items:center;border:1px solid rgba(255, 255, 255,.1);border-radius:18px;background:rgba(255, 255, 255,.035);box-shadow:inset 0 0 25px rgba(220, 184, 92,.05)}
.creator-avatar img{width:46px;height:46px;object-fit:contain}
.creator-copy{min-width:0}
.creator-copy h2{margin:0 0 7px;color:#FBF8ED;font-size:20px;line-height:1.25;font-weight:800;letter-spacing:-.3px}
.creator-copy h2 strong{color:#D8B55B}
.creator-copy h2 span{color:#9A8859;margin:0 4px}
.creator-copy p{margin:0 0 14px;color:#B6A478;font-size:12px;line-height:1.65;max-width:720px}
.creator-copy p strong{color:#E2CC95}
.creator-github{display:inline-flex;align-items:center;gap:9px;min-height:38px;padding:0 13px;border:1px solid rgba(255, 255, 255,.1);border-radius:11px;background:rgba(255, 255, 255,.035);color:#F0EBDC;text-decoration:none;font-size:11px;font-weight:800;transition:.18s ease}
.creator-github img{width:17px;height:17px;color:#FFF;filter:brightness(0) invert(1)}
.creator-github b{color:#D8B55B;font-size:14px;margin-left:2px}
.creator-github:hover{transform:translateY(-1px);border-color:rgba(224, 187, 94,.35);background:rgba(224, 187, 94,.07)}
@media(max-width:650px){.creator-panel{padding:18px;border-radius:18px}.creator-content{align-items:flex-start;gap:13px}.creator-avatar{width:52px;height:52px;flex-basis:52px;border-radius:14px}.creator-avatar img{width:36px;height:36px}.creator-copy h2{font-size:16px}.creator-copy p{font-size:11px}.creator-github{width:100%;box-sizing:border-box;justify-content:flex-start}}

/* Creator section v3 — integrated premium visual */
.hero{min-height:calc(100vh + 120px);padding-bottom:150px;background-size:cover;background-position:center 28%;}
.creator-panel{position:relative;overflow:hidden;border:1px solid rgba(230, 194, 103,.18);background:linear-gradient(135deg,rgba(30, 25, 11,.96),rgba(23, 19, 9,.92)),none;background-size:cover;background-position:center;box-shadow:0 24px 80px rgba(0, 0, 0,.34),inset 0 1px 0 rgba(255, 255, 255,.035)}
.creator-panel-public{max-width:1120px;margin:-115px auto 20px;padding:0;min-height:250px;border-radius:28px;z-index:5}
.creator-panel-dashboard{margin-top:28px;padding:0;min-height:245px;border-radius:26px}
.creator-panel::before{content:"";position:absolute;inset:0;background:linear-gradient(105deg,rgba(18, 15, 7,.96) 0%,rgba(29, 24, 11,.82) 46%,rgba(45, 37, 17,.52) 100%);pointer-events:none}
.creator-panel::after{content:"";position:absolute;width:460px;height:460px;right:-190px;top:-240px;border-radius:50%;border:1px solid rgba(255, 213, 107,.12);box-shadow:0 0 90px rgba(255, 213, 107,.09),inset 0 0 90px rgba(220, 184, 92,.05);pointer-events:none}
.creator-glow{position:absolute;width:520px;height:280px;left:-180px;bottom:-170px;border-radius:50%;background:radial-gradient(circle,rgba(255, 213, 107,.14),transparent 68%);pointer-events:none}
.creator-brand{position:relative;z-index:2;display:flex;align-items:center;gap:10px;margin:0;padding:18px 26px 12px;color:#C2AF80;font-size:9px;font-weight:950;letter-spacing:2.4px;border-bottom:1px solid rgba(211, 181, 104,.10)}
.creator-brand img{width:18px;height:18px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(255, 213, 107,.35))}
.creator-content{position:relative;z-index:2;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:22px;padding:26px}
.creator-avatar{width:92px;height:92px;display:grid;place-items:center;border-radius:25px;background:linear-gradient(145deg,rgba(77, 61, 19,.92),rgba(31, 26, 12,.95));border:1px solid rgba(235, 200, 111,.20);box-shadow:0 18px 45px rgba(0, 0, 0,.28),inset 0 0 35px rgba(238, 199, 100,.08)}
.creator-avatar img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 0 18px rgba(255, 213, 107,.18))}
.creator-copy h2{margin:0 0 9px;color:#FCF9F0;font-size:clamp(21px,2.4vw,30px);line-height:1.1;font-weight:850;letter-spacing:-.8px}
.creator-copy h2 strong{color:#CDAB56;text-shadow:0 0 24px rgba(224, 187, 94,.12)}
.creator-copy h2 span{color:#988658;margin:0 5px}
.creator-copy p{margin:0;max-width:690px;color:#B9A77A;font-size:12px;line-height:1.7}
.creator-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.creator-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(209, 177, 95,.13);border-radius:9px;background:rgba(24, 20, 9,.62);color:#C7B483;font-size:8px;font-weight:900;letter-spacing:.4px}
.creator-chip img{width:13px;height:13px;object-fit:contain}
.creator-github{display:flex;align-items:center;justify-content:center;gap:10px;min-width:205px;min-height:46px;padding:0 15px;border:1px solid rgba(224, 187, 94,.24);border-radius:13px;background:linear-gradient(135deg,rgba(207, 173, 87,.13),rgba(180, 150, 76,.08));color:#F6F2E4;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.25px;transition:.2s ease;box-shadow:0 12px 28px rgba(0, 0, 0,.18)}
.creator-github img{width:19px;height:19px;filter:brightness(0) invert(1)}
.creator-github b{color:#CDAB56;font-size:16px;margin-left:4px}
.creator-github:hover{transform:translateY(-2px);border-color:rgba(224, 187, 94,.48);box-shadow:0 16px 35px rgba(0, 0, 0,.25),0 0 25px rgba(211, 176, 89,.08)}
@media(max-width:780px){.hero{min-height:calc(100vh + 90px);padding:30px 18px 115px}.creator-panel-public{margin:-82px 14px 18px}.creator-content{grid-template-columns:62px minmax(0,1fr);gap:14px;padding:20px}.creator-avatar{width:62px;height:62px;border-radius:18px}.creator-avatar img{width:43px;height:43px}.creator-github{grid-column:1/-1;width:100%;min-width:0}.creator-brand{padding:15px 18px 11px}.creator-copy h2{font-size:19px}.creator-copy p{font-size:11px}.creator-panel-dashboard{margin-top:22px}}

/* ===== USER AREA ASSETS / GROUP PHOTOS ===== */
.account-avatar{display:grid;place-items:center;overflow:hidden}
.account-avatar img{width:25px;height:25px;display:block;object-fit:contain;filter:drop-shadow(0 0 10px rgba(220, 184, 92,.18))}
.nav-icon img{width:20px;height:20px;filter:drop-shadow(0 0 10px rgba(255, 213, 107,.24))}
.session-avatar img{width:24px;height:24px;filter:drop-shadow(0 0 10px rgba(220, 184, 92,.2))}
.group-photo-box{position:relative;overflow:hidden;background:linear-gradient(145deg,#433513,#231D0D);border-color:rgba(255, 213, 107,.2)}
.group-photo-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.group-photo-fallback{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(145deg,#473811,#241E0E)}
.group-photo-fallback img{width:25px;height:25px;opacity:.9}
.group-item-copy{flex:1;min-width:0}
.group-item-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.group-item-copy span{color:#AA9A70;font-size:10px}



/* ======================================================================
   WHATSAPP X — PHOTO PREVIEW STATE + CREATOR V5
   ====================================================================== */

/* Native [hidden] must always win over display rules from the component. */
.photo-preview-modern[hidden]{
  display:none !important;
}

/* A cleaner, intentional preview shell after an image is selected. */
.photo-preview-modern{
  display:grid !important;
  grid-template-columns:96px minmax(0,1fr) 42px !important;
  align-items:center !important;
  gap:16px !important;
  min-height:120px !important;
  margin-top:12px !important;
  padding:12px !important;
  border-radius:18px !important;
  border:1px solid rgba(244, 204, 102,.19) !important;
  background:
    linear-gradient(135deg,rgba(53, 44, 20,.84),rgba(27, 22, 10,.92)),
    radial-gradient(circle at 5% 10%,rgba(255, 213, 107,.09),transparent 36%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255,.035),
    0 16px 36px rgba(0, 0, 0,.18) !important;
}
.preview-image-frame{
  width:96px !important;
  height:96px !important;
  flex-basis:96px !important;
  border-radius:15px !important;
  overflow:hidden !important;
  background:#1D180B !important;
}
.photo-preview-modern #previewImage{
  display:none;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  background:#1D180B;
}
.photo-preview-modern #previewImageFallback{
  display:none;
  width:100%;
  height:100%;
  place-items:center;
  padding:10px;
  text-align:center;
  color:#D8BE7D;
  background:
    linear-gradient(145deg,rgba(49, 40, 19,.95),rgba(22, 18, 8,.95));
  font-size:8px;
  font-weight:900;
  letter-spacing:1px;
}
.preview-copy{
  min-width:0 !important;
  overflow:hidden;
}
.preview-copy strong{
  display:block !important;
  max-width:100%;
  color:#FBF8F0 !important;
  font-size:12px !important;
  font-weight:850 !important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.preview-copy span{
  display:block !important;
  margin-top:6px !important;
  color:#AA9A70 !important;
  font-size:9px !important;
  line-height:1.5 !important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.remove-photo{
  width:40px !important;
  height:40px !important;
  border-radius:12px !important;
  display:grid !important;
  place-items:center;
  background:rgba(133, 105, 35,.25) !important;
  border:1px solid rgba(255, 213, 107,.14) !important;
}
.remove-photo:hover{
  background:rgba(157, 124, 42,.42) !important;
  border-color:rgba(255, 213, 107,.35) !important;
  transform:translateY(-1px);
}

/* ----------------------------------------------------------------------
   CREATOR — painel com aparência de bloco de assinatura/produto.
   ---------------------------------------------------------------------- */
.creator-panel{
  position:relative !important;
  isolation:isolate;
  overflow:hidden !important;
  border:1px solid rgba(243, 203, 102,.20) !important;
  background:
    linear-gradient(115deg,rgba(24, 20, 9,.985) 0%,rgba(34, 28, 13,.96) 48%,rgba(28, 23, 11,.93) 100%),
    none center/cover no-repeat !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0,.34),
    inset 0 1px 0 rgba(255, 255, 255,.055),
    inset 0 -1px 0 rgba(188, 157, 79,.09) !important;
}
.creator-panel::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-1 !important;
  background:
    radial-gradient(circle at 12% 34%,rgba(246, 206, 103,.18),transparent 27%),
    radial-gradient(circle at 88% 15%,rgba(238, 199, 100,.12),transparent 26%),
    linear-gradient(90deg,rgba(17, 14, 6,.36),transparent 44%,rgba(17, 14, 6,.24)) !important;
  pointer-events:none;
}
.creator-panel::after{
  content:"" !important;
  position:absolute !important;
  width:380px !important;
  height:380px !important;
  right:-150px !important;
  bottom:-230px !important;
  border-radius:50% !important;
  border:1px solid rgba(247, 206, 104,.13) !important;
  box-shadow:
    0 0 80px rgba(232, 194, 97,.10),
    inset 0 0 80px rgba(239, 200, 100,.05) !important;
  pointer-events:none;
}
.creator-brand{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 !important;
  padding:15px 22px !important;
  border-bottom:1px solid rgba(201, 169, 89,.11) !important;
  color:#C3AF7E !important;
  background:rgba(14, 12, 5,.18) !important;
  font-size:8px !important;
  font-weight:950 !important;
  letter-spacing:2.1px !important;
}
.creator-brand img{
  width:18px !important;
  height:18px !important;
  filter:drop-shadow(0 0 12px rgba(212, 177, 89,.45)) !important;
}
.creator-content{
  position:relative !important;
  display:grid !important;
  grid-template-columns:104px minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:22px !important;
  padding:24px 22px 26px !important;
}
.creator-avatar{
  position:relative;
  width:104px !important;
  height:104px !important;
  border-radius:28px !important;
  display:grid !important;
  place-items:center !important;
  background:
    linear-gradient(145deg,rgba(91, 71, 22,.95),rgba(29, 24, 11,.98)) !important;
  border:1px solid rgba(240, 201, 101,.26) !important;
  box-shadow:
    0 20px 44px rgba(0, 0, 0,.30),
    inset 0 0 34px rgba(232, 194, 97,.08),
    0 0 0 7px rgba(237, 198, 100,.035) !important;
}
.creator-avatar::before{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:22px;
  border:1px solid rgba(240, 202, 107,.15);
  pointer-events:none;
}
.creator-avatar img{
  width:66px !important;
  height:66px !important;
  filter:drop-shadow(0 0 22px rgba(239, 200, 100,.23)) !important;
}
.creator-copy{
  min-width:0 !important;
}
.creator-copy h2{
  margin:0 !important;
  color:#FCFAF4 !important;
  font-size:clamp(21px,2.15vw,29px) !important;
  line-height:1.15 !important;
  font-weight:900 !important;
  letter-spacing:-.8px !important;
}
.creator-copy h2 strong{
  color:#FFD56B !important;
  text-shadow:0 0 26px rgba(255, 213, 107,.13) !important;
}
.creator-copy h2 span{
  color:#958356 !important;
  margin:0 6px !important;
}
.creator-copy p{
  margin:9px 0 0 !important;
  max-width:760px !important;
  color:#B9A77A !important;
  font-size:11px !important;
  line-height:1.72 !important;
}
.creator-copy p strong{
  color:#ECE7D7 !important;
}
.creator-meta{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin-top:15px !important;
}
.creator-chip{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  min-height:31px !important;
  padding:6px 10px !important;
  border:1px solid rgba(204, 170, 86,.15) !important;
  border-radius:10px !important;
  background:linear-gradient(145deg,rgba(48, 40, 18,.84),rgba(23, 19, 9,.80)) !important;
  color:#D1BD8A !important;
  font-size:7.5px !important;
  font-weight:900 !important;
  letter-spacing:.7px !important;
}
.creator-chip img{
  width:14px !important;
  height:14px !important;
}
.creator-github{
  min-width:210px !important;
  min-height:50px !important;
  padding:0 16px !important;
  justify-self:end;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:9px !important;
  border:1px solid rgba(240, 202, 107,.20) !important;
  border-radius:15px !important;
  background:
    linear-gradient(145deg,rgba(85, 68, 24,.26),rgba(48, 40, 18,.38)) !important;
  color:#FAF7EE !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0,.20),
    inset 0 1px 0 rgba(255, 255, 255,.035) !important;
}
.creator-github:hover{
  transform:translateY(-2px) !important;
  border-color:rgba(240, 202, 107,.42) !important;
  box-shadow:
    0 20px 38px rgba(0, 0, 0,.28),
    0 0 28px rgba(240, 202, 107,.07) !important;
}
.creator-github img{
  width:20px !important;
  height:20px !important;
  filter:brightness(0) invert(1) !important;
}
.creator-github span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:10px !important;
  font-weight:850 !important;
}
.creator-github b{
  color:#FFD56B !important;
  font-size:17px !important;
}
.creator-panel-public{
  border-radius:30px !important;
}
.creator-panel-dashboard{
  border-radius:26px !important;
}

@media(max-width:980px){
  .creator-content{
    grid-template-columns:88px minmax(0,1fr) !important;
    gap:17px !important;
  }
  .creator-avatar{
    width:88px !important;height:88px !important;border-radius:23px !important;
  }
  .creator-avatar img{width:56px !important;height:56px !important}
  .creator-github{
    grid-column:1 / -1;
    justify-self:stretch;
    width:100%;
  }
}
@media(max-width:640px){
  .photo-preview-modern{
    grid-template-columns:74px minmax(0,1fr) 38px !important;
    gap:10px !important;
    min-height:96px !important;
  }
  .preview-image-frame{
    width:74px !important;height:74px !important;flex-basis:74px !important;
  }
  .creator-brand{padding:13px 16px !important}
  .creator-content{
    grid-template-columns:1fr !important;
    padding:18px !important;
    gap:14px !important;
  }
  .creator-avatar{
    width:82px !important;height:82px !important;border-radius:22px !important;
  }
  .creator-avatar img{width:52px !important;height:52px !important}
  .creator-copy h2{font-size:19px !important}
  .creator-copy p{font-size:10px !important}
  .creator-github{min-width:0 !important}
}

/* Elimina qualquer resíduo visual da prévia enquanto ela estiver oculta. */
#photoPreview[hidden] *,
#photoPreview[hidden]{
  visibility:hidden !important;
}

/* =========================================================
   AUTOMACAO DE ATENDIMENTO
========================================================= */
.side{overflow:hidden}
.nav{overflow:hidden}
.automation-page .main{padding-bottom:48px}
.automation-topbar{align-items:flex-start}
.eyebrow{display:flex;align-items:center;gap:8px;color:#A8986F;font-size:9px;font-weight:900;letter-spacing:2px;margin-bottom:9px}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 14px var(--blue);animation:pulseDot 2s ease-in-out infinite}
@keyframes pulseDot{50%{opacity:.35;transform:scale(.7)}}
.automation-live-pill{display:flex;align-items:center;gap:10px;padding:10px 13px;border:1px solid rgba(209, 175, 88,.16);border-radius:15px;background:rgba(29, 24, 11,.68);box-shadow:inset 0 1px 0 rgba(255, 255, 255,.03)}
.automation-live-pill>span{width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 15px rgba(255, 213, 107,.5)}
.automation-live-pill.online>span{background:var(--green);box-shadow:0 0 15px rgba(212, 177, 89,.55)}
.automation-live-pill small{display:block;color:#958356;font-size:7px;font-weight:900;letter-spacing:1.25px}.automation-live-pill strong{display:block;margin-top:3px;font-size:11px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.automation-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:28px;padding:34px;border:1px solid rgba(217, 181, 91,.17);border-radius:28px;background:linear-gradient(135deg,rgba(43, 35, 16,.96),rgba(23, 19, 9,.96));box-shadow:var(--shadow);margin-bottom:22px}
.automation-hero::before{content:"";position:absolute;width:420px;height:420px;left:-190px;top:-250px;background:radial-gradient(circle,rgba(255, 213, 107,.18),transparent 68%);pointer-events:none}.automation-hero::after{content:"";position:absolute;width:360px;height:360px;right:-140px;bottom:-240px;background:radial-gradient(circle,rgba(240, 202, 107,.11),transparent 68%);pointer-events:none}
.automation-hero-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255, 255, 255,.017) 1px,transparent 1px),linear-gradient(90deg,rgba(255, 255, 255,.017) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(90deg,rgba(0, 0, 0,.7),transparent 75%);pointer-events:none}
.automation-hero-copy{position:relative;z-index:2;max-width:720px}.automation-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(245, 205, 103,.16);border-radius:999px;background:rgba(120, 94, 29,.15);color:#FFDF8E;font-size:8px;font-weight:900;letter-spacing:1.5px}.automation-badge img{width:13px;height:13px}
.automation-hero h2{margin:14px 0 10px;font-family:Orbitron,sans-serif;font-size:clamp(25px,3vw,43px);line-height:1.1;letter-spacing:-1px}.automation-hero h2 b{color:var(--blue);text-shadow:0 0 34px rgba(212, 177, 89,.22)}
.automation-hero p{margin:0;color:#BCAA7C;font-size:13px;line-height:1.7;max-width:650px}.automation-hero-points{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.automation-hero-points span{padding:8px 10px;border-radius:11px;border:1px solid rgba(255, 255, 255,.06);background:rgba(255, 255, 255,.025);color:#C4B181;font-size:9px;font-weight:800}
.automation-hero-card{position:relative;z-index:2;justify-self:end;width:min(100%,360px);padding:14px;border-radius:24px;border:1px solid rgba(216, 181, 93,.14);background:linear-gradient(180deg,rgba(42, 35, 16,.92),rgba(20, 16, 8,.95));box-shadow:0 20px 50px rgba(0, 0, 0,.28)}
.phone-head{display:flex;align-items:center;gap:9px;padding:7px 5px 12px;border-bottom:1px solid rgba(255, 255, 255,.06);font-size:10px}.phone-head strong{font-size:10px}.phone-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 14px rgba(212, 177, 89,.55)}.phone-signal{margin-left:auto;color:#8D7B4F;font-size:7px;letter-spacing:1px}.chat-bubble{max-width:86%;padding:10px 12px;margin-top:11px;border-radius:16px;line-height:1.5;font-size:10px;white-space:pre-line}.chat-bubble.incoming{background:#372D15;color:#EFD89E;border-top-left-radius:6px}.chat-bubble.outgoing{margin-left:auto;background:linear-gradient(135deg,#70581B,#8A6C21);color:#FFF7DF;border-top-right-radius:6px}.chat-bubble.mini{padding:7px 10px}
.automation-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,.75fr);gap:18px;align-items:start}.automation-column,.automation-side-column{display:grid;gap:18px}.automation-card{position:relative;border:1px solid rgba(194, 164, 88,.13);border-radius:23px;background:linear-gradient(160deg,rgba(34, 28, 13,.92),rgba(21, 17, 8,.92));box-shadow:var(--shadow-soft);padding:21px}.automation-control-card{overflow:hidden}.automation-card-head{display:flex;align-items:flex-start;gap:12px}.automation-card-head.compact{align-items:center}.automation-card-head h3{margin:3px 0 2px;font-size:16px;letter-spacing:-.2px}.automation-card-head p{margin:0;color:#C7B78E;font-size:10px;line-height:1.5}.automation-section-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:14px;border:1px solid rgba(255, 255, 255,.06);background:rgba(255, 255, 255,.025)}.automation-section-icon img{width:21px;height:21px}.automation-section-icon.blue{box-shadow:0 0 28px rgba(212, 177, 89,.08)}.automation-section-icon.gold{box-shadow:0 0 28px rgba(240, 202, 107,.07)}.automation-section-icon.green{box-shadow:0 0 28px rgba(212, 177, 89,.06)}
.automation-kicker{display:block;color:#907F54;font-size:8px;font-weight:900;letter-spacing:1.7px}.automation-fields{margin-top:20px}.three-cols{display:grid;grid-template-columns:1.15fr .8fr 1fr;gap:12px}.field-control{display:grid;gap:7px}.field-control>span{color:#918054;font-size:8px;font-weight:900;letter-spacing:1.2px}.field-control input,.field-control select,.field-control textarea{width:100%;border:1px solid rgba(194, 164, 88,.14);border-radius:13px;background:#211B0D;color:#FCF9EE;padding:11px 12px;outline:none;box-shadow:inset 0 1px 0 rgba(255, 255, 255,.02);transition:.2s}.field-control input:focus,.field-control select:focus,.field-control textarea:focus{border-color:rgba(255, 213, 107,.4);box-shadow:0 0 0 4px rgba(255, 213, 107,.06)}.field-control small{color:#918054;font-size:8px;line-height:1.4}.field-checkbox{padding:11px 12px;border:1px solid rgba(194, 164, 88,.12);border-radius:13px;background:rgba(29, 24, 11,.46)}.checkbox-line{display:flex;align-items:center;gap:8px;margin-top:3px;color:#F5DDA2;font-size:10px}.checkbox-line input,.pix-check input{accent-color:var(--blue)}
.toggle-wrap{margin-left:auto;display:flex;align-items:center;gap:9px;cursor:pointer}.toggle-wrap input{display:none}.toggle{position:relative;width:44px;height:24px;border-radius:999px;background:#362D18;border:1px solid rgba(255, 255, 255,.07)}.toggle::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#978558;transition:.2s}.toggle-wrap input:checked+.toggle{background:rgba(255, 213, 107,.18);border-color:rgba(255, 213, 107,.36)}.toggle-wrap input:checked+.toggle::after{left:23px;background:var(--blue);box-shadow:0 0 14px rgba(212, 177, 89,.45)}.toggle-wrap b{font-size:8px;letter-spacing:1px;color:#C2B38C;min-width:52px;text-align:left}
.automation-textarea{min-height:140px;margin-top:18px;resize:vertical;line-height:1.55;font-size:12px!important}.macro-strip{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px}.macro,.mini-macro{border:1px solid rgba(217, 181, 91,.13);background:rgba(157, 123, 38,.09);color:#FFDF8F;border-radius:8px;padding:5px 7px;font-size:8px;font-weight:900;cursor:pointer}.macro-strip>span{color:#8B7A51;font-size:8px;margin-left:3px}
.add-option-btn{margin-left:auto;padding:9px 11px;border:1px solid rgba(247, 206, 104,.2);border-radius:11px;background:rgba(186, 155, 78,.11);color:#FFE49F;font-size:9px;font-weight:900;cursor:pointer}.options-list{display:grid;gap:11px;margin-top:16px}.option-editor{position:relative;display:grid;grid-template-columns:36px 1fr 30px;gap:12px;padding:14px;border-radius:17px;border:1px solid rgba(196, 165, 87,.12);background:rgba(18, 15, 7,.44)}.option-number{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#5B4819,#2F2712);color:#FFEBB8;font-family:Orbitron,sans-serif;font-size:12px;box-shadow:inset 0 1px 0 rgba(255, 255, 255,.05)}.option-fields{display:grid;gap:9px}.option-fields .field-control textarea{min-height:78px;resize:vertical}.remove-option{width:28px;height:28px;border-radius:9px;background:rgba(255, 213, 107,.08);border:1px solid rgba(255, 213, 107,.13);color:#FFEBB8;font-size:17px;cursor:pointer}.option-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}.pix-check{display:flex;align-items:center;gap:7px;color:#B6A478;font-size:8px;font-weight:800}.option-macros{display:flex;gap:5px}.mini-macro{padding:4px 6px}
.pix-card{overflow:hidden;background:linear-gradient(160deg,rgba(22, 20, 15,.96),rgba(20, 16, 8,.95));border-color:rgba(240, 202, 107,.13)}.pix-orb{position:absolute;right:-40px;top:-44px;width:130px;height:130px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,rgba(240, 202, 107,.16),transparent 68%);pointer-events:none}.pix-orb img{width:37px;opacity:.55}.pix-card h3{margin:6px 0 4px;font-size:20px}.pix-card>p{margin:0 0 18px;color:#A5956D;font-size:10px;line-height:1.55;max-width:390px}.pix-tip{display:flex;align-items:flex-start;gap:9px;margin-top:13px;padding:11px;border:1px solid rgba(240, 202, 107,.1);background:rgba(240, 202, 107,.035);border-radius:13px}.pix-tip img{width:17px}.pix-tip b{display:block;font-size:9px}.pix-tip span{display:block;margin-top:2px;color:#726442;font-size:8px;line-height:1.45}
.preview-chat{margin-top:14px;padding:13px;border-radius:18px;background:linear-gradient(180deg,#211B0D,#1A150A);border:1px solid rgba(191, 161, 85,.1);min-height:290px}.preview-bubble{max-width:92%;padding:9px 10px;margin-bottom:8px;border-radius:14px;line-height:1.45;font-size:9px;white-space:normal}.preview-bubble.incoming{background:#362D15;color:#EEE9D7;border-top-left-radius:5px}.preview-bubble.outgoing{margin-left:auto;background:linear-gradient(135deg,#6C551A,#8F7022);color:#FFF7DF;border-top-right-radius:5px}
.automation-save-card{background:linear-gradient(145deg,rgba(43, 35, 16,.95),rgba(22, 18, 8,.96));border-color:rgba(255, 213, 107,.15)}.save-status{display:flex;align-items:center;gap:9px}.save-status>span{width:8px;height:8px;border-radius:50%;background:#907F54;box-shadow:0 0 10px rgba(144, 127, 84,.35)}.save-status>span.live{background:var(--blue);box-shadow:0 0 14px rgba(212, 177, 89,.55)}.save-status>span.saved{background:var(--green);box-shadow:0 0 14px rgba(212, 177, 89,.55)}.save-status strong{display:block;font-size:10px}.save-status small{display:block;color:#918054;font-size:8px;margin-top:2px}.automation-save-btn{display:flex;align-items:center;gap:10px;width:100%;margin-top:14px;padding:13px 14px;border-radius:14px;background:linear-gradient(135deg,#D0AE57,#917223);color:#FFF;border:1px solid rgba(255, 213, 107,.2);box-shadow:0 12px 25px rgba(177, 148, 74,.16);cursor:pointer;font-weight:900}.automation-save-btn img{width:16px}.automation-save-btn span{font-size:10px}.automation-save-btn b{margin-left:auto;font-size:15px}.automation-save-btn:disabled{opacity:.65;cursor:wait}.save-message{margin-top:10px;padding:9px 10px;border-radius:10px;background:rgba(212, 177, 89,.07);color:#EACD82;font-size:8px;line-height:1.5}.save-message.error{background:rgba(255, 213, 107,.07);color:#FFE39B}
.automation-footer-note{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:13px 15px;border:1px solid rgba(194, 164, 88,.09);border-radius:15px;background:rgba(24, 20, 9,.55)}.note-icon{width:18px;height:18px;display:grid;place-items:center;border:1px solid rgba(219, 183, 92,.22);border-radius:50%;color:#FFDC84;font-size:10px;font-weight:900;flex:0 0 18px}.automation-footer-note b{display:block;font-size:9px}.automation-footer-note span{display:block;margin-top:2px;color:#8E7D52;font-size:8px;line-height:1.5}
@media (max-width:1100px){.automation-layout{grid-template-columns:1fr}.automation-side-column{grid-template-columns:1fr 1fr}.automation-save-card{grid-column:1/-1}.three-cols{grid-template-columns:1fr 1fr}.field-checkbox{grid-column:1/-1}.automation-hero{grid-template-columns:1fr}.automation-hero-card{justify-self:stretch;width:auto;max-width:450px}}
@media (max-width:760px){.automation-live-pill{display:none}.automation-hero{padding:22px;gap:18px;border-radius:22px}.automation-hero h2{font-size:27px}.automation-hero p{font-size:11px}.automation-hero-card{max-width:none}.automation-layout{gap:12px}.automation-card{padding:16px;border-radius:18px}.automation-card-head{flex-wrap:wrap}.automation-card-head.compact{align-items:flex-start}.toggle-wrap{width:100%;margin-left:54px}.three-cols,.automation-side-column{grid-template-columns:1fr}.field-checkbox{grid-column:auto}.option-editor{grid-template-columns:30px 1fr 28px;padding:11px;gap:9px}.option-number{width:30px;height:30px;font-size:10px}.option-tools{align-items:flex-start;flex-direction:column}.add-option-btn{margin-left:auto}.automation-page .main{padding:18px 13px 35px}}


/* ===== USER PANEL THEMES ===== */
body[data-theme="blue"]{--blue:#D4AF37;--blue-2:#A88936;--blue-glow:rgba(212, 175, 55,.22);--accent-rgb:53,181,255;--accent:#FFD56B;--accent-2:#9C7A25;--theme-banner-url:none}
body[data-theme="green"]{--blue:#D4AF37;--blue-2:#A88936;--blue-glow:rgba(213, 178, 89,.20);--accent-rgb:50,213,131;--accent:#FFD56B;--accent-2:#9C7A25;--theme-banner-url:none}
body[data-theme="pink"]{--blue:#D4AF37;--blue-2:#A88936;--blue-glow:rgba(212, 177, 89,.20);--accent-rgb:255,92,171;--accent:#FFD56B;--accent-2:#9C7A25;--theme-banner-url:none}
body[data-theme="red"]{--blue:#D1AF58;--blue-2:#A88C47;--blue-glow:rgba(255, 213, 107,.20);--accent-rgb:255,89,111;--accent:#D1AF58;--accent-2:#A88C47;--theme-banner-url:none}
body[data-theme="blue-black"]{--blue:#D4AF37;--blue-2:#AE9149;--blue-glow:rgba(240, 202, 107,.20);--gold:#FFD56B;--gold-2:#AE9149;--accent-rgb:240,197,107;--accent:#FFD56B;--accent-2:#AE9149;--theme-banner-url:none;--bg:#020305;--bg-deep:#010203;--panel:#050709;--panel-2:#0E0C07;--panel-3:#161208;--line:rgba(240, 202, 107,.15);--line-strong:rgba(240, 202, 107,.34)}
body[data-theme="blue-gold"]{--blue:#D4AF37;--blue-2:#A88936;--blue-glow:rgba(212, 175, 55,.22);--accent-rgb:53,181,255;--accent:#FFD56B;--accent-2:#9C7A25;--theme-banner-url:none}
body[data-theme="pink-gold"]{--blue:#D4AF37;--blue-2:#A88936;--blue-glow:rgba(212, 177, 89,.20);--accent-rgb:255,92,171;--accent:#FFD56B;--accent-2:#9C7A25;--theme-banner-url:none}

body[data-theme="green"]::after{background:radial-gradient(circle,rgba(213, 178, 89,.11),transparent 65%)}
body[data-theme="pink"]::after,body[data-theme="pink-gold"]::after{background:radial-gradient(circle,rgba(212, 177, 89,.11),transparent 65%)}
body[data-theme="red"]::after{background:radial-gradient(circle,rgba(255, 213, 107,.11),transparent 65%)}
body[data-theme="blue-black"]::after{background:radial-gradient(circle,rgba(240, 202, 107,.11),transparent 65%)}
body[data-theme="blue-gold"]::after{background:radial-gradient(circle at 45% 55%,rgba(212, 177, 89,.10),transparent 60%)}

body[data-theme="green"] .side::before{background:radial-gradient(circle at 50% 40%,rgba(213, 178, 89,.20),transparent 65%)}
body[data-theme="pink"] .side::before,body[data-theme="pink-gold"] .side::before{background:radial-gradient(circle at 50% 40%,rgba(212, 177, 89,.20),transparent 65%)}
body[data-theme="red"] .side::before{background:radial-gradient(circle at 50% 40%,rgba(255, 213, 107,.20),transparent 65%)}
body[data-theme="blue-black"] .side::before{background:radial-gradient(circle at 50% 40%,rgba(240, 202, 107,.18),transparent 65%)}

body[data-theme="blue"] .nav a.active,
body[data-theme="green"] .nav a.active,
body[data-theme="pink"] .nav a.active,
body[data-theme="red"] .nav a.active,
body[data-theme="blue-black"] .nav a.active,
body[data-theme="blue-gold"] .nav a.active,
body[data-theme="pink-gold"] .nav a.active{
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.20),rgba(48, 40, 18,.82));
  border-color:rgba(var(--accent-rgb),.22);
}
body[data-theme="blue-black"] .nav a.active{background:linear-gradient(135deg,rgba(240, 202, 107,.19),rgba(20, 16, 8,.88))}
body[data-theme="blue-black"] .nav-icon{background:#171309;border-color:rgba(240, 202, 107,.14)}
body[data-theme="blue-black"] .nav a.active .nav-icon{background:linear-gradient(145deg,#8F7022,#FFD56B);color:#110E06}
body[data-theme="green"] .nav a.active .nav-icon{background:linear-gradient(145deg,#9C7A25,#E3BE5F)}
body[data-theme="pink"] .nav a.active .nav-icon,body[data-theme="pink-gold"] .nav a.active .nav-icon{background:linear-gradient(145deg,#9C7A25,#FFD771)}
body[data-theme="red"] .nav a.active .nav-icon{background:linear-gradient(145deg,#B89A4D,#FFD56B)}

body[data-theme] .hero-card{background-image:linear-gradient(90deg,rgba(17, 14, 6,.98) 0%,rgba(23, 19, 9,.88) 38%,rgba(var(--accent-rgb),.25) 100%),var(--theme-banner-url)}
body[data-theme] .auth{background-image:linear-gradient(115deg,rgba(13, 11, 5,.95),rgba(var(--accent-rgb),.12)),var(--theme-banner-url)}
body[data-theme] .hero{background-image:linear-gradient(180deg,rgba(15, 12, 6,.36),rgba(1, 5, 10,.96)),var(--theme-banner-url)}
body[data-theme] .project-buy{background-image:linear-gradient(100deg,rgba(38, 31, 14,.92),rgba(var(--accent-rgb),.15)),var(--theme-banner-url)}
body[data-theme] .creator-panel{background-image:linear-gradient(135deg,rgba(30, 25, 11,.96),rgba(var(--accent-rgb),.10)),var(--theme-banner-url)}
body[data-theme] .hero h1 span{color:var(--gold);text-shadow:0 0 38px rgba(240, 202, 107,.18)}
body[data-theme] .brand b{color:var(--accent)}
body[data-theme] .avatar{background:linear-gradient(145deg,rgba(255, 255, 255,.84),var(--accent));box-shadow:0 7px 22px rgba(var(--accent-rgb),.20)}
body[data-theme] .account-avatar{background:linear-gradient(145deg,rgba(255, 255, 255,.78),var(--accent));box-shadow:0 0 24px rgba(var(--accent-rgb),.18)}
body[data-theme] .stat-icon{border-color:rgba(var(--accent-rgb),.16);color:var(--accent);box-shadow:inset 0 1px 0 rgba(255, 255, 255,.04),0 0 20px rgba(var(--accent-rgb),.04)}
body[data-theme] .pill{border-color:rgba(var(--accent-rgb),.18);background:rgba(var(--accent-rgb),.10);color:color-mix(in srgb,var(--accent) 72%,#FFF)}
body[data-theme] .primary{background:linear-gradient(145deg,var(--accent-2),var(--accent));box-shadow:0 12px 32px rgba(var(--accent-rgb),.17)}
body[data-theme] .secondary{border-color:rgba(var(--accent-rgb),.18);box-shadow:inset 0 1px 0 rgba(255, 255, 255,.025)}
body[data-theme] .metric.balance{color:var(--gold)}
body[data-theme] .feature-dot{background:var(--accent);box-shadow:0 0 14px rgba(var(--accent-rgb),.55)}
body[data-theme] .creator-brand img,body[data-theme] .creator-chip img,body[data-theme] .inline-asset,body[data-theme] .btn-asset,body[data-theme] .nav-icon img,body[data-theme] .account-lock img{filter:drop-shadow(0 0 8px rgba(var(--accent-rgb),.30))}
body[data-theme] .automation-badge,body[data-theme] .automation-section-icon.blue{border-color:rgba(var(--accent-rgb),.20);color:var(--accent)}
body[data-theme] .automation-save-btn{background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 12px 25px rgba(var(--accent-rgb),.16)}
body[data-theme] .field-control input:focus,body[data-theme] .field-control select:focus,body[data-theme] .field-control textarea:focus{border-color:rgba(var(--accent-rgb),.45);box-shadow:0 0 0 4px rgba(var(--accent-rgb),.06)}
body[data-theme] .checkbox-line input,body[data-theme] .pix-check input{accent-color:var(--accent)}
body[data-theme] .theme-kicker{color:var(--accent)}

/* dashboard theme picker */
.panel-theme-card{margin-top:20px;padding:22px 24px;background:linear-gradient(145deg,rgba(44, 36, 17,.94),rgba(23, 19, 9,.94));}
.panel-theme-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.panel-theme-head h2{margin:7px 0 5px;font-size:19px;letter-spacing:-.35px}
.panel-theme-head p{margin:0;color:#A0916A;font-size:10px;line-height:1.6;max-width:680px}
.theme-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-size:8px;font-weight:950;letter-spacing:1.6px}
.theme-kicker img{width:12px;height:12px}
.theme-current{min-height:31px;display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;background:rgba(var(--accent-rgb),.08);border:1px solid rgba(var(--accent-rgb),.16);color:var(--accent);font-size:8px;font-weight:950;letter-spacing:.7px;white-space:nowrap}
.theme-swatches{display:grid;grid-template-columns:repeat(7,minmax(92px,1fr));gap:9px;margin-top:18px}
.theme-swatch{min-width:0;display:flex;align-items:center;gap:8px;padding:10px 10px;border:1px solid rgba(201, 170, 91,.12);border-radius:14px;background:rgba(25, 21, 10,.65);color:#C4B181;cursor:pointer;transition:.2s ease;text-align:left}
.theme-swatch:hover{transform:translateY(-2px);border-color:rgba(var(--accent-rgb),.25);color:#FFF}
.theme-swatch span{width:24px;height:24px;flex:0 0 24px;border-radius:8px;box-shadow:inset 0 1px 0 rgba(255, 255, 255,.35),0 5px 14px rgba(0, 0, 0,.22)}
.theme-swatch b{font-size:8px;line-height:1.2}
.theme-swatch.selected{border-color:rgba(var(--accent-rgb),.50);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.08),0 12px 25px rgba(0, 0, 0,.18);color:#FFF}
.theme-swatch.selected::after{content:'✓';margin-left:auto;color:var(--accent);font-size:11px;font-weight:950}
.theme-blue span{background:linear-gradient(135deg,#9C7A25,#FFD56B)}
.theme-green span{background:linear-gradient(135deg,#9C7A25,#FFD56B)}
.theme-pink span{background:linear-gradient(135deg,#9C7A25,#FFD56B)}
.theme-red span{background:linear-gradient(135deg,#A88C47,#D1AF58)}
.theme-blue-black span{background:linear-gradient(135deg,#020407,#FFD56B)}
.theme-blue-gold span{background:linear-gradient(135deg,#9C7A25 0 55%,#FFD56B 55%)}
.theme-pink-gold span{background:linear-gradient(135deg,#9C7A25 0 55%,#FFD56B 55%)}
.theme-save-note{display:flex;align-items:center;gap:8px;margin-top:12px;color:#978558;font-size:8px}.theme-save-note i{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px rgba(var(--accent-rgb),.45)}.theme-save-note.saving i{animation:pulseDot 1s ease-in-out infinite}.theme-save-note.saved{color:#DFC685}.theme-save-note.saved i{background:var(--green)}.theme-save-note.error{color:#FFE29A}.theme-save-note.error i{background:var(--red)}

@media(max-width:1250px){.theme-swatches{grid-template-columns:repeat(4,minmax(120px,1fr))}}
@media(max-width:760px){.panel-theme-card{padding:18px}.panel-theme-head{display:grid;gap:10px}.theme-swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theme-swatch{padding:9px}.theme-swatch span{width:22px;height:22px;flex-basis:22px}.theme-swatch b{font-size:8px}}

/* =========================================================
   THEMES 2.0 — diferenças reais entre cor, ícones e cards
   ========================================================= */

/* AZUL + DOURADO METÁLICO: azul nos ícones/ações, dourado metálico nas superfícies */
body[data-theme="blue-gold"]{
  --blue:#F5CD67;
  --blue-2:#A78C46;
  --accent:#F5CD67;
  --accent-2:#A78C46;
  --accent-rgb:55,184,255;
  --gold:#F2CB67;
  --gold-2:#A88C47;
  --bg:#0D0B05;
  --bg-deep:#020406;
  --panel:#110F0A;
  --panel-2:#17130A;
  --panel-3:#211B0D;
  --line:rgba(242, 203, 103,.18);
  --line-strong:rgba(242, 203, 103,.40);
  --theme-card-start:rgba(46, 38, 17,.98);
  --theme-card-end:rgba(12, 11, 7,.98);
  --theme-card-border:rgba(242, 203, 103,.26);
  --theme-card-glow:rgba(242, 203, 103,.10);
}

/* ROSA + DOURADO METÁLICO: rosa nos ícones/ações, dourado metálico nas superfícies */
body[data-theme="pink-gold"]{
  --blue:#D4AF37;
  --blue-2:#AD9149;
  --accent:#FFD56B;
  --accent-2:#AD9149;
  --accent-rgb:255,98,180;
  --gold:#F2CB67;
  --gold-2:#A88C47;
  --bg:#06080A;
  --bg-deep:#020304;
  --panel:#12100B;
  --panel-2:#19150B;
  --panel-3:#241E0E;
  --line:rgba(242, 203, 103,.18);
  --line-strong:rgba(242, 203, 103,.40);
  --theme-card-start:rgba(48, 40, 18,.98);
  --theme-card-end:rgba(13, 11, 7,.98);
  --theme-card-border:rgba(242, 203, 103,.28);
  --theme-card-glow:rgba(242, 203, 103,.10);
}

/* DOURADO METÁLICO + PRETO: ouro de verdade nas superfícies */
body[data-theme="blue-black"]{
  --theme-card-start:rgba(50, 41, 19,.98);
  --theme-card-end:rgba(4, 7, 10,.99);
  --theme-card-border:rgba(241, 203, 107,.34);
  --theme-card-glow:rgba(241, 203, 107,.11);
}

/* Fundo geral realmente acompanha os temas mistos */
body[data-theme="blue-gold"], body[data-theme="pink-gold"]{
  background:
    radial-gradient(circle at 10% 8%,rgba(var(--accent-rgb),.17),transparent 28%),
    radial-gradient(circle at 88% 9%,rgba(242, 203, 103,.16),transparent 24%),
    radial-gradient(circle at 52% 110%,rgba(242, 203, 103,.07),transparent 32%),
    linear-gradient(145deg,var(--bg-deep) 0%,var(--bg) 48%,#050505 100%);
}

/* Superfícies principais: douradas nos temas combinados */
body[data-theme="blue-gold"] .card,
body[data-theme="blue-gold"] .campaign-builder-shell,
body[data-theme="blue-gold"] .campaign-history-shell,
body[data-theme="blue-gold"] .notice-card,
body[data-theme="blue-gold"] .whatsapp-session-card,
body[data-theme="blue-gold"] .automation-card,
body[data-theme="blue-gold"] .campaign-panel,
body[data-theme="blue-gold"] .campaign-history-card,
body[data-theme="blue-gold"] .campaign-stat-card,
body[data-theme="blue-gold"] .plan-card,
body[data-theme="blue-gold"] .account-card,
body[data-theme="blue-gold"] .project-buy,
body[data-theme="blue-gold"] .automation-save-card,
body[data-theme="blue-gold"] .automation-hero-card,
body[data-theme="blue-gold"] .session-item,
body[data-theme="pink-gold"] .card,
body[data-theme="pink-gold"] .campaign-builder-shell,
body[data-theme="pink-gold"] .campaign-history-shell,
body[data-theme="pink-gold"] .notice-card,
body[data-theme="pink-gold"] .whatsapp-session-card,
body[data-theme="pink-gold"] .automation-card,
body[data-theme="pink-gold"] .campaign-panel,
body[data-theme="pink-gold"] .campaign-history-card,
body[data-theme="pink-gold"] .campaign-stat-card,
body[data-theme="pink-gold"] .plan-card,
body[data-theme="pink-gold"] .account-card,
body[data-theme="pink-gold"] .project-buy,
body[data-theme="pink-gold"] .automation-save-card,
body[data-theme="pink-gold"] .automation-hero-card,
body[data-theme="pink-gold"] .session-item,
body[data-theme="blue-black"] .card,
body[data-theme="blue-black"] .campaign-builder-shell,
body[data-theme="blue-black"] .campaign-history-shell,
body[data-theme="blue-black"] .notice-card,
body[data-theme="blue-black"] .whatsapp-session-card,
body[data-theme="blue-black"] .automation-card,
body[data-theme="blue-black"] .campaign-panel,
body[data-theme="blue-black"] .campaign-history-card,
body[data-theme="blue-black"] .campaign-stat-card,
body[data-theme="blue-black"] .plan-card,
body[data-theme="blue-black"] .account-card,
body[data-theme="blue-black"] .project-buy,
body[data-theme="blue-black"] .automation-save-card,
body[data-theme="blue-black"] .automation-hero-card,
body[data-theme="blue-black"] .session-item{
  background:linear-gradient(145deg,var(--theme-card-start),var(--theme-card-end)) !important;
  border-color:var(--theme-card-border) !important;
}

/* Brilho dourado metálico nas bordas e canto dos cards */
body[data-theme="blue-gold"] .card::after,
body[data-theme="pink-gold"] .card::after,
body[data-theme="blue-black"] .card::after,
body[data-theme="blue-gold"] .campaign-builder-shell::after,
body[data-theme="pink-gold"] .campaign-builder-shell::after,
body[data-theme="blue-black"] .campaign-builder-shell::after,
body[data-theme="blue-gold"] .campaign-history-shell::after,
body[data-theme="pink-gold"] .campaign-history-shell::after,
body[data-theme="blue-black"] .campaign-history-shell::after{
  background:radial-gradient(circle,var(--theme-card-glow),transparent 68%) !important;
}

/* ÍCONES: continuam na cor principal do tema misto */
body[data-theme="blue-gold"] .stat-icon,
body[data-theme="blue-gold"] .nav-icon,
body[data-theme="blue-gold"] .group-option-icon,
body[data-theme="blue-gold"] .delivery-icon,
body[data-theme="blue-gold"] .photo-drop-icon,
body[data-theme="blue-gold"] .schedule-preview-icon,
body[data-theme="blue-gold"] .automation-section-icon.blue,
body[data-theme="blue-gold"] .automation-badge,
body[data-theme="blue-gold"] .feature-dot,
body[data-theme="blue-gold"] .theme-kicker,
body[data-theme="blue-gold"] .theme-current,
body[data-theme="pink-gold"] .stat-icon,
body[data-theme="pink-gold"] .nav-icon,
body[data-theme="pink-gold"] .group-option-icon,
body[data-theme="pink-gold"] .delivery-icon,
body[data-theme="pink-gold"] .photo-drop-icon,
body[data-theme="pink-gold"] .schedule-preview-icon,
body[data-theme="pink-gold"] .automation-section-icon.blue,
body[data-theme="pink-gold"] .automation-badge,
body[data-theme="pink-gold"] .feature-dot,
body[data-theme="pink-gold"] .theme-kicker,
body[data-theme="pink-gold"] .theme-current{
  color:var(--accent) !important;
  border-color:rgba(var(--accent-rgb),.28) !important;
}

body[data-theme="blue-gold"] .stat-icon,
body[data-theme="blue-gold"] .nav-icon,
body[data-theme="blue-gold"] .group-option-icon,
body[data-theme="blue-gold"] .delivery-icon,
body[data-theme="blue-gold"] .photo-drop-icon,
body[data-theme="blue-gold"] .schedule-preview-icon,
body[data-theme="pink-gold"] .stat-icon,
body[data-theme="pink-gold"] .nav-icon,
body[data-theme="pink-gold"] .group-option-icon,
body[data-theme="pink-gold"] .delivery-icon,
body[data-theme="pink-gold"] .photo-drop-icon,
body[data-theme="pink-gold"] .schedule-preview-icon{
  background:linear-gradient(145deg,rgba(var(--accent-rgb),.20),rgba(var(--accent-rgb),.06)) !important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.04),0 0 22px rgba(var(--accent-rgb),.10) !important;
}

/* Estados selecionados: dourado metálico no card, cor principal no check */
body[data-theme="blue-gold"] .group-option.selected,
body[data-theme="pink-gold"] .group-option.selected{
  border-color:rgba(var(--accent-rgb),.34) !important;
  background:linear-gradient(145deg,rgba(71, 57, 20,.88),rgba(24, 20, 9,.96)) !important;
}
body[data-theme="blue-gold"] .group-option.selected .group-check{background:linear-gradient(145deg,#A78C46,#F5CD67) !important}
body[data-theme="pink-gold"] .group-option.selected .group-check{background:linear-gradient(145deg,#AD9149,#FFD56B) !important}

body[data-theme="blue-gold"] .delivery-option.active,
body[data-theme="pink-gold"] .delivery-option.active{
  border-color:rgba(var(--accent-rgb),.35) !important;
  background:linear-gradient(145deg,rgba(71, 57, 20,.88),rgba(24, 20, 9,.96)) !important;
}
body[data-theme="blue-gold"] .delivery-option.active .delivery-check{background:linear-gradient(145deg,#A78C46,#F5CD67) !important}
body[data-theme="pink-gold"] .delivery-option.active .delivery-check{background:linear-gradient(145deg,#AD9149,#FFD56B) !important}

/* Botões principais e foco usam a cor escolhida */
body[data-theme="blue-gold"] .primary,
body[data-theme="blue-gold"] .campaign-submit,
body[data-theme="blue-gold"] .automation-save-btn,
body[data-theme="pink-gold"] .primary,
body[data-theme="pink-gold"] .campaign-submit,
body[data-theme="pink-gold"] .automation-save-btn{
  background:linear-gradient(145deg,var(--accent-2),var(--accent)) !important;
  color:#FFF !important;
  box-shadow:0 12px 34px rgba(var(--accent-rgb),.20) !important;
}
body[data-theme="blue-gold"] input:focus,
body[data-theme="blue-gold"] textarea:focus,
body[data-theme="blue-gold"] select:focus,
body[data-theme="pink-gold"] input:focus,
body[data-theme="pink-gold"] textarea:focus,
body[data-theme="pink-gold"] select:focus{
  border-color:rgba(var(--accent-rgb),.60) !important;
  box-shadow:0 0 0 4px rgba(var(--accent-rgb),.10) !important;
}

/* Badge de seleção: cor principal; badge de cobrança permanece dourado metálico */
body[data-theme="blue-gold"] .theme-swatch.selected,
body[data-theme="pink-gold"] .theme-swatch.selected{
  border-color:rgba(var(--accent-rgb),.62) !important;
  box-shadow:0 0 0 2px rgba(var(--accent-rgb),.12),0 14px 30px rgba(0, 0, 0,.28) !important;
}

/* Sidebar dos temas mistos: estrutura dourada, ícones na cor principal */
body[data-theme="blue-gold"] .side,
body[data-theme="pink-gold"] .side,
body[data-theme="blue-black"] .side{
  background:linear-gradient(180deg,rgba(5, 8, 10,.99),rgba(3, 3, 3,.98)) !important;
  border-right-color:rgba(242, 203, 103,.18) !important;
}
body[data-theme="blue-gold"] .nav a.active,
body[data-theme="pink-gold"] .nav a.active{
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.18),rgba(55, 45, 21,.90)) !important;
  border-color:rgba(var(--accent-rgb),.28) !important;
}
body[data-theme="blue-gold"] .nav a.active .nav-icon{background:linear-gradient(145deg,#A78C46,#F5CD67) !important;color:#FFF !important}
body[data-theme="pink-gold"] .nav a.active .nav-icon{background:linear-gradient(145deg,#AD9149,#FFD56B) !important;color:#FFF !important}

/* Banner/hero: cor + dourado metálico visíveis ao mesmo tempo */
body[data-theme="blue-gold"] .hero-card,
body[data-theme="blue-gold"] .project-buy,
body[data-theme="blue-gold"] .creator-panel,
body[data-theme="pink-gold"] .hero-card,
body[data-theme="pink-gold"] .project-buy,
body[data-theme="pink-gold"] .creator-panel,
body[data-theme="blue-black"] .hero-card,
body[data-theme="blue-black"] .project-buy,
body[data-theme="blue-black"] .creator-panel{
  border-color:rgba(242, 203, 103,.28) !important;
  box-shadow:0 28px 90px rgba(0, 0, 0,.40),inset 0 1px 0 rgba(255, 255, 255,.05),0 0 45px rgba(242, 203, 103,.05) !important;
}
body[data-theme="blue-gold"] .hero-card{
  background-image:linear-gradient(90deg,rgba(12, 10, 5,.97) 0%,rgba(25, 21, 10,.80) 38%,rgba(242, 203, 103,.22) 100%),var(--theme-banner-url) !important;
}
body[data-theme="pink-gold"] .hero-card{
  background-image:linear-gradient(90deg,rgba(8, 5, 9,.97) 0%,rgba(26, 21, 10,.80) 38%,rgba(242, 203, 103,.22) 100%),var(--theme-banner-url) !important;
}
body[data-theme="blue-black"] .hero-card{
  background-image:linear-gradient(90deg,rgba(3, 3, 3,.98) 0%,rgba(20, 16, 8,.84) 40%,rgba(242, 203, 103,.23) 100%),var(--theme-banner-url) !important;
}

/* Na cor mista, texto de saldo e destaques financeiros continuam dourado metálicos */
body[data-theme="blue-gold"] .metric.balance,
body[data-theme="pink-gold"] .metric.balance,
body[data-theme="blue-black"] .metric.balance,
body[data-theme="blue-gold"] .hero h1 span,
body[data-theme="pink-gold"] .hero h1 span,
body[data-theme="blue-black"] .hero h1 span{
  color:var(--gold) !important;
}

/* Ícones SVG: brilho na cor escolhida, não em dourado metálico */
body[data-theme="blue-gold"] .creator-brand img,
body[data-theme="blue-gold"] .creator-chip img,
body[data-theme="blue-gold"] .inline-asset,
body[data-theme="blue-gold"] .btn-asset,
body[data-theme="blue-gold"] .nav-icon img,
body[data-theme="pink-gold"] .creator-brand img,
body[data-theme="pink-gold"] .creator-chip img,
body[data-theme="pink-gold"] .inline-asset,
body[data-theme="pink-gold"] .btn-asset,
body[data-theme="pink-gold"] .nav-icon img{
  filter:drop-shadow(0 0 9px rgba(var(--accent-rgb),.42)) !important;
}

/* Campos e toolbars com moldura dourada, sem perder a cor dos controles */
body[data-theme="blue-gold"] .field-control input,
body[data-theme="blue-gold"] .field-control select,
body[data-theme="blue-gold"] .field-control textarea,
body[data-theme="pink-gold"] .field-control input,
body[data-theme="pink-gold"] .field-control select,
body[data-theme="pink-gold"] .field-control textarea{
  border-color:rgba(242, 203, 103,.18) !important;
  background:rgba(12, 10, 6,.82) !important;
}
body[data-theme="blue-gold"] .photo-drop,
body[data-theme="blue-gold"] .modern-selection,
body[data-theme="blue-gold"] .schedule-preview-modern,
body[data-theme="pink-gold"] .photo-drop,
body[data-theme="pink-gold"] .modern-selection,
body[data-theme="pink-gold"] .schedule-preview-modern{
  border-color:rgba(242, 203, 103,.18) !important;
  background:rgba(15, 12, 6,.68) !important;
}

/* Pequenos elementos dourado metálicos específicos */
body[data-theme="blue-gold"] .status-info-box,
body[data-theme="pink-gold"] .status-info-box,
body[data-theme="blue-black"] .status-info-box{
  background:rgba(92, 73, 26,.20) !important;
  border-color:rgba(242, 203, 103,.22) !important;
}

/* Dourado metálico + preto com maior contraste */
body[data-theme="blue-black"] .nav a.active .nav-icon{
  background:linear-gradient(145deg,#A58A45,#FFD56B) !important;
  color:#03070B !important;
}
body[data-theme="blue-black"] .stat-icon,
body[data-theme="blue-black"] .group-option-icon,
body[data-theme="blue-black"] .delivery-icon,
body[data-theme="blue-black"] .photo-drop-icon,
body[data-theme="blue-black"] .schedule-preview-icon{
  background:linear-gradient(145deg,rgba(240, 202, 107,.18),rgba(240, 202, 107,.05)) !important;
  color:var(--gold) !important;
  border-color:rgba(240, 202, 107,.25) !important;
}

/* Banner do tema também recebe contraste compatível com a combinação */
body[data-theme="blue-gold"] .auth,
body[data-theme="blue-gold"] .hero,
body[data-theme="blue-gold"] .creator-panel,
body[data-theme="blue-gold"] .project-buy{
  background-blend-mode:normal !important;
}
body[data-theme="pink-gold"] .auth,
body[data-theme="pink-gold"] .hero,
body[data-theme="pink-gold"] .creator-panel,
body[data-theme="pink-gold"] .project-buy{
  background-blend-mode:normal !important;
}


/* =========================================================
   PALETAS 3.0 — cards, ícones e superfícies realmente acompanham a cor
   ========================================================= */
body[data-theme="blue"]{--theme-card-start:rgba(55, 45, 21,.97);--theme-card-end:rgba(27, 22, 10,.98);--theme-card-border:rgba(212, 177, 89,.18);--theme-card-glow:rgba(212, 177, 89,.08)}
body[data-theme="green"]{--theme-card-start:rgba(52, 43, 20,.97);--theme-card-end:rgba(18, 15, 7,.98);--theme-card-border:rgba(213, 178, 89,.21);--theme-card-glow:rgba(213, 178, 89,.10)}
body[data-theme="pink"]{--theme-card-start:rgba(55, 45, 21,.97);--theme-card-end:rgba(20, 16, 8,.98);--theme-card-border:rgba(212, 177, 89,.21);--theme-card-glow:rgba(212, 177, 89,.10)}
body[data-theme="red"]{--theme-card-start:rgba(54, 45, 21,.97);--theme-card-end:rgba(20, 16, 8,.98);--theme-card-border:rgba(255, 213, 107,.21);--theme-card-glow:rgba(255, 213, 107,.10)}

body[data-theme="blue"] .card,
body[data-theme="green"] .card,
body[data-theme="pink"] .card,
body[data-theme="red"] .card,
body[data-theme="blue-black"] .card,
body[data-theme="blue-gold"] .card,
body[data-theme="pink-gold"] .card,
body[data-theme="blue"] .automation-card,
body[data-theme="green"] .automation-card,
body[data-theme="pink"] .automation-card,
body[data-theme="red"] .automation-card,
body[data-theme="blue-black"] .automation-card,
body[data-theme="blue-gold"] .automation-card,
body[data-theme="pink-gold"] .automation-card,
body[data-theme="blue"] .campaign-panel,
body[data-theme="green"] .campaign-panel,
body[data-theme="pink"] .campaign-panel,
body[data-theme="red"] .campaign-panel,
body[data-theme="blue-black"] .campaign-panel,
body[data-theme="blue-gold"] .campaign-panel,
body[data-theme="pink-gold"] .campaign-panel,
body[data-theme="blue"] .campaign-stat-card,
body[data-theme="green"] .campaign-stat-card,
body[data-theme="pink"] .campaign-stat-card,
body[data-theme="red"] .campaign-stat-card,
body[data-theme="blue-black"] .campaign-stat-card,
body[data-theme="blue-gold"] .campaign-stat-card,
body[data-theme="pink-gold"] .campaign-stat-card,
body[data-theme="blue"] .session-item,
body[data-theme="green"] .session-item,
body[data-theme="pink"] .session-item,
body[data-theme="red"] .session-item,
body[data-theme="blue-black"] .session-item,
body[data-theme="blue-gold"] .session-item,
body[data-theme="pink-gold"] .session-item{
  background:linear-gradient(145deg,var(--theme-card-start),var(--theme-card-end));
  border-color:var(--theme-card-border);
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.035),0 18px 45px rgba(0, 0, 0,.20),0 0 36px var(--theme-card-glow);
}

body[data-theme="blue"] .automation-section-icon,
body[data-theme="green"] .automation-section-icon,
body[data-theme="pink"] .automation-section-icon,
body[data-theme="red"] .automation-section-icon,
body[data-theme="blue-black"] .automation-section-icon,
body[data-theme="blue-gold"] .automation-section-icon,
body[data-theme="pink-gold"] .automation-section-icon,
body[data-theme="blue"] .stat-icon,
body[data-theme="green"] .stat-icon,
body[data-theme="pink"] .stat-icon,
body[data-theme="red"] .stat-icon,
body[data-theme="blue-black"] .stat-icon,
body[data-theme="blue-gold"] .stat-icon,
body[data-theme="pink-gold"] .stat-icon{
  color:var(--accent);
  border-color:rgba(var(--accent-rgb),.24);
  background:rgba(var(--accent-rgb),.10);
  box-shadow:0 0 24px rgba(var(--accent-rgb),.10);
}
body[data-theme="blue"] .automation-kicker,
body[data-theme="green"] .automation-kicker,
body[data-theme="pink"] .automation-kicker,
body[data-theme="red"] .automation-kicker,
body[data-theme="blue-black"] .automation-kicker,
body[data-theme="blue-gold"] .automation-kicker,
body[data-theme="pink-gold"] .automation-kicker{color:var(--accent)}
body[data-theme="blue"] .automation-hero,
body[data-theme="green"] .automation-hero,
body[data-theme="pink"] .automation-hero,
body[data-theme="red"] .automation-hero,
body[data-theme="blue-black"] .automation-hero,
body[data-theme="blue-gold"] .automation-hero,
body[data-theme="pink-gold"] .automation-hero{border-color:rgba(var(--accent-rgb),.22);box-shadow:0 26px 80px rgba(0, 0, 0,.30),0 0 60px rgba(var(--accent-rgb),.07)}

/* Automação — fluxo pós-resposta */
.followup-card{overflow:hidden}.followup-textarea{min-height:132px}.followup-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.small-textarea{min-height:88px!important;resize:vertical}.preview-bubble.followup{border-top-left-radius:7px;box-shadow:0 0 0 1px rgba(var(--accent-rgb),.11),0 8px 24px rgba(0, 0, 0,.12)}
@media(max-width:760px){.followup-actions{grid-template-columns:1fr}}


/* Paleta 4.0 — seletor de tema mais visual e contrastado */
.theme-swatches{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.theme-swatch{position:relative;display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;align-items:center;gap:4px 10px;min-height:76px;padding:11px 12px;overflow:hidden;text-align:left;background:linear-gradient(145deg,rgba(36, 30, 14,.88),rgba(18, 15, 7,.92))}
.theme-swatch::before{content:"";position:absolute;inset:0;opacity:.18;pointer-events:none;background:radial-gradient(circle at 15% 0%,rgba(var(--accent-rgb),.25),transparent 44%)}
.theme-swatch span{grid-row:1 / span 2;width:48px;height:48px;flex:none;border-radius:14px;box-shadow:inset 0 1px 0 rgba(255, 255, 255,.35),0 8px 18px rgba(0, 0, 0,.28);position:relative;overflow:hidden}
.theme-swatch b{font-size:9px;line-height:1.2;position:relative;z-index:1}
.theme-swatch b::after{content:'Painel + cards';display:block;margin-top:3px;color:#968457;font-size:7px;font-weight:700;letter-spacing:.2px}
.theme-swatch:hover{transform:translateY(-3px);background:linear-gradient(145deg,rgba(52, 43, 20,.96),rgba(21, 17, 8,.96))}
.theme-swatch.selected{transform:translateY(-2px)}
.theme-swatch.selected span{box-shadow:inset 0 1px 0 rgba(255, 255, 255,.52),0 0 0 3px rgba(var(--accent-rgb),.10),0 12px 22px rgba(var(--accent-rgb),.16)}
.theme-blue-black span{background:linear-gradient(135deg,#050505 0 48%,#9C7A25 48%,#FFD978 100%)}
.theme-blue-gold span{background:linear-gradient(135deg,#B89A4D 0 47%,#A88C47 47% 54%,#A78C46 54%,#FFD978 100%)}
.theme-pink-gold span{background:linear-gradient(135deg,#BD9E4F 0 47%,#CAA955 47% 54%,#A78C46 54%,#FFD978 100%)}
body[data-theme="green"] .theme-swatch.selected,
body[data-theme="pink"] .theme-swatch.selected,
body[data-theme="red"] .theme-swatch.selected,
body[data-theme="blue"] .theme-swatch.selected{border-color:rgba(var(--accent-rgb),.58);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.11),0 18px 32px rgba(var(--accent-rgb),.08)}

/* Cards de cada tema: a cor realmente aparece na superfície, não só no ícone */
body[data-theme="blue"]{--theme-card-start:rgba(61, 48, 15,.98);--theme-card-end:rgba(29, 24, 11,.99);--theme-card-border:rgba(212, 177, 89,.22);--theme-card-glow:rgba(212, 177, 89,.09)}
body[data-theme="green"]{--theme-card-start:rgba(61, 48, 15,.98);--theme-card-end:rgba(22, 18, 8,.99);--theme-card-border:rgba(213, 178, 89,.24);--theme-card-glow:rgba(213, 178, 89,.10)}
body[data-theme="pink"]{--theme-card-start:rgba(62, 50, 20,.98);--theme-card-end:rgba(22, 18, 8,.99);--theme-card-border:rgba(212, 177, 89,.24);--theme-card-glow:rgba(212, 177, 89,.11)}
body[data-theme="red"]{--theme-card-start:rgba(62, 50, 18,.98);--theme-card-end:rgba(22, 18, 8,.99);--theme-card-border:rgba(255, 213, 107,.24);--theme-card-glow:rgba(255, 213, 107,.11)}

body[data-theme="blue"] .card,
body[data-theme="green"] .card,
body[data-theme="pink"] .card,
body[data-theme="red"] .card,
body[data-theme="blue-black"] .card,
body[data-theme="blue-gold"] .card,
body[data-theme="pink-gold"] .card,
body[data-theme="blue"] .plan-card,
body[data-theme="green"] .plan-card,
body[data-theme="pink"] .plan-card,
body[data-theme="red"] .plan-card,
body[data-theme="blue-black"] .plan-card,
body[data-theme="blue-gold"] .plan-card,
body[data-theme="pink-gold"] .plan-card,
body[data-theme="blue"] .panel-theme-card,
body[data-theme="green"] .panel-theme-card,
body[data-theme="pink"] .panel-theme-card,
body[data-theme="red"] .panel-theme-card,
body[data-theme="blue-black"] .panel-theme-card,
body[data-theme="blue-gold"] .panel-theme-card,
body[data-theme="pink-gold"] .panel-theme-card{
  background:linear-gradient(145deg,var(--theme-card-start),var(--theme-card-end)) !important;
  border-color:var(--theme-card-border) !important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.035),0 18px 50px rgba(0, 0, 0,.22),0 0 42px var(--theme-card-glow) !important;
}

body[data-theme="blue"] .creator-panel,
body[data-theme="green"] .creator-panel,
body[data-theme="pink"] .creator-panel,
body[data-theme="red"] .creator-panel,
body[data-theme="blue-black"] .creator-panel,
body[data-theme="blue-gold"] .creator-panel,
body[data-theme="pink-gold"] .creator-panel{
  border-color:var(--theme-card-border) !important;
  box-shadow:0 24px 70px rgba(0, 0, 0,.25),0 0 45px var(--theme-card-glow) !important;
}

body[data-theme="green"] .btn.gold,
body[data-theme="pink"] .btn.gold,
body[data-theme="red"] .btn.gold{filter:saturate(.95)}
body[data-theme="green"] .automation-save-btn,
body[data-theme="pink"] .automation-save-btn,
body[data-theme="red"] .automation-save-btn{background:linear-gradient(135deg,var(--accent),var(--accent-2))}

@media(max-width:1250px){.theme-swatches{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.theme-swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.theme-swatch{min-height:68px;grid-template-columns:40px 1fr;padding:9px}.theme-swatch span{width:40px;height:40px;border-radius:12px}.theme-swatch b{font-size:8px}.theme-swatch b::after{font-size:6.5px}}

/* ===== VIVID THEME BANNERS ===== */
body[data-theme]{
  --banner-veil:rgba(14, 12, 5,.38);
  --banner-veil-soft:rgba(14, 12, 5,.24);
}
body[data-theme="green"]{--banner-veil:rgba(2, 10, 8,.34);--banner-veil-soft:rgba(2, 10, 8,.20)}
body[data-theme="pink"]{--banner-veil:rgba(18, 15, 7,.34);--banner-veil-soft:rgba(18, 15, 7,.20)}
body[data-theme="red"]{--banner-veil:rgba(18, 15, 7,.34);--banner-veil-soft:rgba(18, 15, 7,.20)}
body[data-theme="blue-black"]{--banner-veil:rgba(2, 4, 7,.30);--banner-veil-soft:rgba(2, 4, 7,.18)}
body[data-theme="blue-gold"]{--banner-veil:rgba(14, 12, 5,.29);--banner-veil-soft:rgba(14, 12, 5,.15)}
body[data-theme="pink-gold"]{--banner-veil:rgba(18, 15, 7,.29);--banner-veil-soft:rgba(18, 15, 7,.15)}

/* O banner passa a aparecer também no fundo do painel, sem esconder o conteúdo. */
body[data-theme] .main{
  position:relative;
  isolation:isolate;
  background-image:
    linear-gradient(180deg,rgba(14, 12, 5,.78) 0%,rgba(14, 12, 5,.90) 58%,rgba(14, 12, 5,.97) 100%),
    var(--theme-banner-url);
  background-size:cover;
  background-position:center right;
  background-attachment:fixed;
}
body[data-theme="green"] .main{background-image:linear-gradient(180deg,rgba(2, 10, 8,.75),rgba(2, 10, 8,.90) 58%,rgba(2, 7, 7,.97)),var(--theme-banner-url)}
body[data-theme="pink"] .main{background-image:linear-gradient(180deg,rgba(18, 15, 7,.75),rgba(18, 15, 7,.90) 58%,rgba(8, 2, 7,.97)),var(--theme-banner-url)}
body[data-theme="red"] .main{background-image:linear-gradient(180deg,rgba(18, 15, 7,.75),rgba(18, 15, 7,.90) 58%,rgba(8, 2, 3,.97)),var(--theme-banner-url)}
body[data-theme="blue-black"] .main{background-image:linear-gradient(180deg,rgba(2, 4, 7,.70),rgba(2, 4, 7,.88) 58%,rgba(2, 2, 2,.97)),var(--theme-banner-url)}
body[data-theme="blue-gold"] .main{background-image:linear-gradient(180deg,rgba(14, 12, 5,.70),rgba(14, 12, 5,.87) 58%,rgba(2, 4, 10,.97)),var(--theme-banner-url)}
body[data-theme="pink-gold"] .main{background-image:linear-gradient(180deg,rgba(18, 15, 7,.70),rgba(18, 15, 7,.87) 58%,rgba(8, 2, 7,.97)),var(--theme-banner-url)}
body[data-theme] .main > *{position:relative;z-index:1}

/* Cards usam o tom do tema com mais presença, mantendo legibilidade. */
body[data-theme="blue"] .card{background:linear-gradient(145deg,rgba(60, 47, 14,.95),rgba(29, 24, 11,.95));border-color:rgba(212, 177, 89,.16)}
body[data-theme="green"] .card{background:linear-gradient(145deg,rgba(48, 40, 18,.95),rgba(20, 16, 8,.95));border-color:rgba(213, 178, 89,.17)}
body[data-theme="pink"] .card{background:linear-gradient(145deg,rgba(58, 46, 14,.95),rgba(24, 20, 9,.95));border-color:rgba(212, 177, 89,.17)}
body[data-theme="red"] .card{background:linear-gradient(145deg,rgba(62, 49, 15,.95),rgba(24, 20, 9,.95));border-color:rgba(255, 213, 107,.17)}
body[data-theme="blue-black"] .card{background:linear-gradient(145deg,rgba(48, 40, 18,.96),rgba(12, 10, 5,.96));border-color:rgba(240, 202, 107,.20)}
body[data-theme="blue-gold"] .card{background:linear-gradient(145deg,rgba(50, 41, 19,.95),rgba(42, 35, 16,.96));border-color:rgba(240, 202, 107,.20)}
body[data-theme="pink-gold"] .card{background:linear-gradient(145deg,rgba(50, 41, 19,.95),rgba(31, 26, 12,.96));border-color:rgba(240, 202, 107,.20)}

/* Hero/banner: imagem forte, vibrante e ainda com contraste suficiente para o texto. */
body[data-theme] .hero-card{
  background-image:
    linear-gradient(90deg,var(--banner-veil) 0%,rgba(17, 14, 6,.18) 48%,rgba(var(--accent-rgb),.14) 100%),
    var(--theme-banner-url);
  background-size:cover;
  background-position:center;
  box-shadow:0 30px 85px rgba(0, 0, 0,.34),inset 0 0 0 1px rgba(255, 255, 255,.035),0 0 60px rgba(var(--accent-rgb),.08);
}
body[data-theme] .project-buy,
body[data-theme] .creator-panel{
  background-image:
    linear-gradient(100deg,var(--banner-veil) 0%,rgba(17, 14, 6,.24) 55%,var(--banner-veil-soft) 100%),
    var(--theme-banner-url);
  background-size:cover;
  background-position:center;
}
body[data-theme] .hero-card::after,
body[data-theme] .creator-panel::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 82% 38%,rgba(var(--accent-rgb),.13),transparent 42%);
  mix-blend-mode:screen;
}

@media(max-width:760px){
  body[data-theme] .main{background-attachment:scroll;background-position:65% top}
}

/* =========================================================
   CREATOR THEME SYNC — acompanha a paleta escolhida pelo usuário
   ========================================================= */
body[data-theme] .creator-panel{
  border-color:rgba(var(--accent-rgb),.28) !important;
  background-image:
    linear-gradient(120deg,rgba(18, 15, 7,.82),rgba(19, 16, 7,.52)),
    var(--theme-banner-url) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0,.34),
    0 0 36px rgba(var(--accent-rgb),.07),
    inset 0 1px 0 rgba(255, 255, 255,.055) !important;
}

body[data-theme] .creator-panel::before{
  background:
    radial-gradient(circle at 12% 30%,rgba(var(--accent-rgb),.22),transparent 29%),
    radial-gradient(circle at 87% 18%,rgba(240, 202, 107,.13),transparent 26%),
    linear-gradient(90deg,rgba(14, 12, 5,.30),transparent 44%,rgba(14, 12, 5,.12)) !important;
}

body[data-theme] .creator-panel::after{
  border-color:rgba(var(--accent-rgb),.18) !important;
  box-shadow:
    0 0 82px rgba(var(--accent-rgb),.10),
    inset 0 0 78px rgba(var(--accent-rgb),.05) !important;
}

body[data-theme] .creator-brand{
  color:color-mix(in srgb,var(--accent) 66%,#FFF) !important;
  border-bottom-color:rgba(var(--accent-rgb),.16) !important;
  background:rgba(14, 12, 5,.16) !important;
}
body[data-theme] .creator-brand img{
  filter:drop-shadow(0 0 13px rgba(var(--accent-rgb),.50)) !important;
}

body[data-theme] .creator-avatar{
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--accent) 30%,#1F1B10),
    rgba(21, 17, 8,.98)) !important;
  border-color:rgba(var(--accent-rgb),.35) !important;
  box-shadow:
    0 20px 44px rgba(0, 0, 0,.30),
    inset 0 0 34px rgba(var(--accent-rgb),.10),
    0 0 0 7px rgba(var(--accent-rgb),.045) !important;
}
body[data-theme] .creator-avatar::before{
  border-color:color-mix(in srgb,var(--accent) 35%,#FFD56B) !important;
}
body[data-theme] .creator-avatar img{
  filter:drop-shadow(0 0 22px rgba(var(--accent-rgb),.32)) !important;
}

body[data-theme] .creator-copy h2 strong{
  color:var(--accent) !important;
  text-shadow:0 0 26px rgba(var(--accent-rgb),.22) !important;
}
body[data-theme] .creator-copy h2 span{
  color:color-mix(in srgb,var(--accent) 38%,#958356) !important;
}

body[data-theme] .creator-chip{
  border-color:rgba(var(--accent-rgb),.20) !important;
  background:linear-gradient(145deg,
    rgba(var(--accent-rgb),.09),
    rgba(24, 20, 9,.80)) !important;
  color:color-mix(in srgb,var(--accent) 34%,#DFC993) !important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.035),0 8px 22px rgba(var(--accent-rgb),.045) !important;
}
body[data-theme] .creator-chip img{
  filter:drop-shadow(0 0 9px rgba(var(--accent-rgb),.42)) !important;
}

body[data-theme] .creator-github{
  border-color:rgba(var(--accent-rgb),.30) !important;
  background:linear-gradient(145deg,
    rgba(var(--accent-rgb),.15),
    rgba(240, 202, 107,.08)) !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0,.20),
    0 0 24px rgba(var(--accent-rgb),.06),
    inset 0 1px 0 rgba(255, 255, 255,.035) !important;
}
body[data-theme] .creator-github b{
  color:var(--accent) !important;
}
body[data-theme] .creator-github:hover{
  border-color:rgba(var(--accent-rgb),.52) !important;
  box-shadow:
    0 20px 38px rgba(0, 0, 0,.28),
    0 0 30px rgba(var(--accent-rgb),.13) !important;
}

/* Cards/ícones da área Criador em cada tema ficam visualmente coerentes. */
body[data-theme="green"] .creator-chip{background:linear-gradient(145deg,rgba(213, 178, 89,.14),rgba(18, 15, 7,.82)) !important}
body[data-theme="pink"] .creator-chip{background:linear-gradient(145deg,rgba(212, 177, 89,.14),rgba(20, 16, 8,.82)) !important}
body[data-theme="red"] .creator-chip{background:linear-gradient(145deg,rgba(255, 213, 107,.14),rgba(20, 16, 8,.82)) !important}
body[data-theme="blue-black"] .creator-chip{background:linear-gradient(145deg,rgba(240, 202, 107,.16),rgba(18, 15, 7,.88)) !important}
body[data-theme="blue-gold"] .creator-chip{background:linear-gradient(145deg,rgba(242, 203, 103,.15),rgba(42, 35, 16,.86)) !important;border-color:rgba(242, 203, 103,.24) !important}
body[data-theme="pink-gold"] .creator-chip{background:linear-gradient(145deg,rgba(242, 203, 103,.15),rgba(35, 29, 13,.86)) !important;border-color:rgba(242, 203, 103,.24) !important}

/* =========================================================
   CODER FOOTER — banner completo seguindo o tema escolhido
   ========================================================= */
body[data-theme] .coder-footer{
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:118px;
  box-sizing:border-box;
  margin:26px 0 0 !important;
  padding:28px 18px 30px !important;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background-image:
    linear-gradient(90deg,var(--banner-veil) 0%,rgba(17, 14, 6,.16) 50%,var(--banner-veil-soft) 100%),
    var(--theme-banner-url) !important;
  background-size:cover !important;
  background-position:center 58% !important;
  border-top:1px solid rgba(var(--accent-rgb),.20);
  box-shadow:0 -18px 50px rgba(0, 0, 0,.22), inset 0 1px 0 rgba(255, 255, 255,.035);
}
body[data-theme] .coder-footer::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 18% 50%,rgba(var(--accent-rgb),.22),transparent 28%),
    radial-gradient(circle at 84% 35%,rgba(240, 202, 107,.12),transparent 25%),
    linear-gradient(180deg,rgba(14, 12, 5,.10),rgba(14, 12, 5,.30));
  pointer-events:none;
}
body[data-theme] .coder-footer-inner{
  position:relative;
  z-index:1;
  min-height:54px;
  padding:10px 18px;
  border:1px solid rgba(var(--accent-rgb),.28) !important;
  border-radius:18px !important;
  background:rgba(18, 15, 7,.40) !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 16px 42px rgba(0, 0, 0,.24),inset 0 1px 0 rgba(255, 255, 255,.05),0 0 34px rgba(var(--accent-rgb),.07);
  color:color-mix(in srgb,var(--accent) 24%,#E7E3D4) !important;
}
body[data-theme] .coder-footer strong{color:var(--accent) !important;text-shadow:0 0 18px rgba(var(--accent-rgb),.18)}
body[data-theme] .coder-footer span{color:color-mix(in srgb,var(--accent) 18%,#E0DBCA) !important}
body[data-theme] .coder-footer img{filter:drop-shadow(0 0 10px rgba(var(--accent-rgb),.35));opacity:1 !important}
body[data-theme] .coder-footer .footer-separator{opacity:.9 !important}

@media(max-width:760px){
  body[data-theme] .coder-footer{
    min-height:104px;
    margin-top:18px !important;
    padding:22px 12px 24px !important;
    background-position:center center !important;
  }
  body[data-theme] .coder-footer-inner{
    width:min(100%,420px);
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    min-height:50px;
    padding:9px 12px;
    border-radius:16px !important;
    font-size:10px;
  }
}

/* =========================================================
   CREATOR + FOOTER — FUNDO UNIFICADO E TEMA REAL
   Evita faixas apagadas, áreas sem cor e aparência desigual.
   ========================================================= */
body[data-theme] .creator-panel,
body[data-theme] .coder-footer{
  --creator-accent:var(--accent);
  --creator-rgb:var(--accent-rgb);
  --creator-gold:#FFD56B;
}

body[data-theme="blue"] .creator-panel,
body[data-theme="blue"] .coder-footer{
  background-color:#2C2411 !important;
}
body[data-theme="green"] .creator-panel,
body[data-theme="green"] .coder-footer{
  background-color:#1E190B !important;
}
body[data-theme="pink"] .creator-panel,
body[data-theme="pink"] .coder-footer{
  background-color:#261F0E !important;
}
body[data-theme="red"] .creator-panel,
body[data-theme="red"] .coder-footer{
  background-color:#27200F !important;
}
body[data-theme="blue-black"] .creator-panel,
body[data-theme="blue-black"] .coder-footer{
  background-color:#171309 !important;
}
body[data-theme="blue-gold"] .creator-panel,
body[data-theme="blue-gold"] .coder-footer{
  background-color:#2D2511 !important;
}
body[data-theme="pink-gold"] .creator-panel,
body[data-theme="pink-gold"] .coder-footer{
  background-color:#2B2310 !important;
}

/* Creator: banner inteiro com cor do tema + imagem, sem overlay preto dominante. */
body[data-theme] .creator-panel{
  background-image:
    linear-gradient(115deg,
      rgba(18, 15, 7,.48) 0%,
      rgba(18, 15, 7,.18) 48%,
      rgba(var(--accent-rgb),.28) 100%),
    var(--theme-banner-url) !important;
  background-size:cover !important;
  background-position:center !important;
  border-color:rgba(var(--accent-rgb),.42) !important;
  box-shadow:
    0 26px 80px rgba(0, 0, 0,.34),
    0 0 60px rgba(var(--accent-rgb),.10),
    inset 0 0 0 1px rgba(255, 255, 255,.035) !important;
}
body[data-theme] .creator-panel::before{
  background:
    radial-gradient(circle at 10% 25%,rgba(var(--accent-rgb),.32),transparent 29%),
    radial-gradient(circle at 86% 22%,rgba(240, 202, 107,.18),transparent 25%),
    linear-gradient(90deg,rgba(16, 13, 6,.20),transparent 42%,rgba(16, 13, 6,.08)) !important;
}
body[data-theme] .creator-panel::after{
  border-color:rgba(var(--accent-rgb),.28) !important;
  box-shadow:0 0 100px rgba(var(--accent-rgb),.18),inset 0 0 90px rgba(var(--accent-rgb),.07) !important;
}
body[data-theme="blue-black"] .creator-panel::before,
body[data-theme="blue-gold"] .creator-panel::before,
body[data-theme="pink-gold"] .creator-panel::before{
  background:
    radial-gradient(circle at 10% 25%,rgba(var(--accent-rgb),.24),transparent 29%),
    radial-gradient(circle at 86% 22%,rgba(240, 202, 107,.24),transparent 26%),
    linear-gradient(90deg,rgba(14, 12, 5,.18),transparent 42%,rgba(14, 12, 5,.08)) !important;
}

/* Cards internos do Creator: a cor escolhida fica perceptível também nas superfícies. */
body[data-theme] .creator-avatar{
  background:linear-gradient(145deg,
    rgba(var(--accent-rgb),.34),
    rgba(20, 16, 8,.72)) !important;
  border-color:rgba(var(--accent-rgb),.52) !important;
  box-shadow:0 20px 44px rgba(0, 0, 0,.30),inset 0 0 38px rgba(var(--accent-rgb),.14),0 0 28px rgba(var(--accent-rgb),.10) !important;
}
body[data-theme] .creator-brand{
  color:var(--accent) !important;
  background:rgba(var(--accent-rgb),.10) !important;
  border-bottom-color:rgba(var(--accent-rgb),.25) !important;
}
body[data-theme] .creator-copy h2 strong{color:var(--accent) !important}
body[data-theme] .creator-copy h2 span{color:color-mix(in srgb,var(--accent) 45%,#CFBB89) !important}
body[data-theme] .creator-chip{
  background:linear-gradient(145deg,rgba(var(--accent-rgb),.20),rgba(20, 16, 8,.55)) !important;
  border-color:rgba(var(--accent-rgb),.34) !important;
  color:#F7F3E5 !important;
}
body[data-theme="blue-black"] .creator-chip,
body[data-theme="blue-gold"] .creator-chip,
body[data-theme="pink-gold"] .creator-chip{
  background:linear-gradient(145deg,rgba(240, 202, 107,.18),rgba(var(--accent-rgb),.15),rgba(20, 16, 8,.58)) !important;
  border-color:rgba(240, 202, 107,.34) !important;
}
body[data-theme="blue-black"] .creator-copy h2 strong{color:#FFD978 !important}
body[data-theme="blue-black"] .creator-chip img{filter:drop-shadow(0 0 10px rgba(240, 202, 107,.55)) !important}
body[data-theme="blue-gold"] .creator-chip img{filter:drop-shadow(0 0 10px rgba(212, 177, 89,.55)) !important}
body[data-theme="pink-gold"] .creator-chip img{filter:drop-shadow(0 0 10px rgba(212, 177, 89,.55)) !important}

/* Footer: deixa de ser uma cápsula pequena e vira uma faixa de banner completa. */
body[data-theme] .coder-footer{
  position:relative !important;
  isolation:isolate !important;
  display:flex !important;
  width:calc(100% + 76px) !important;
  min-height:148px !important;
  margin:34px -38px -65px !important;
  padding:28px 38px !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
  align-items:center !important;
  justify-content:center !important;
  border-top:1px solid rgba(var(--accent-rgb),.34) !important;
  border-radius:0 !important;
  background-image:
    linear-gradient(100deg,
      rgba(16, 13, 6,.22) 0%,
      rgba(var(--accent-rgb),.12) 50%,
      rgba(16, 13, 6,.14) 100%),
    var(--theme-banner-url) !important;
  background-size:cover !important;
  background-position:center 55% !important;
  box-shadow:0 -18px 60px rgba(0, 0, 0,.25),inset 0 1px 0 rgba(255, 255, 255,.045) !important;
}
body[data-theme] .coder-footer::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-2 !important;
  background:linear-gradient(90deg,rgba(var(--accent-rgb),.22),transparent 45%,rgba(var(--accent-rgb),.16)) !important;
  pointer-events:none !important;
}
body[data-theme] .coder-footer::after{
  content:"" !important;
  position:absolute !important;
  width:520px !important;
  height:220px !important;
  right:-100px !important;
  top:-80px !important;
  border-radius:50% !important;
  background:radial-gradient(circle,rgba(var(--accent-rgb),.20),transparent 68%) !important;
  z-index:-1 !important;
  pointer-events:none !important;
}
body[data-theme] .footer-banner-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(14, 12, 5,.08),rgba(14, 12, 5,.22));
  pointer-events:none;
}
body[data-theme] .coder-footer-content{
  position:relative;
  z-index:2;
  width:min(880px,100%);
  padding:20px 26px;
  box-sizing:border-box;
  text-align:center;
  border:1px solid rgba(var(--accent-rgb),.34);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(21, 17, 8,.50),rgba(21, 17, 8,.30));
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 18px 55px rgba(0, 0, 0,.24),inset 0 1px 0 rgba(255, 255, 255,.05),0 0 35px rgba(var(--accent-rgb),.08);
}
body[data-theme] .coder-footer-kicker{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:color-mix(in srgb,var(--accent) 72%,white) !important;
  font-size:8px;
  font-weight:950;
  letter-spacing:2.1px;
}
body[data-theme] .coder-footer-kicker img{width:16px;height:16px;filter:drop-shadow(0 0 10px rgba(var(--accent-rgb),.55)) !important}
body[data-theme] .coder-footer-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:8px;
  font-size:clamp(20px,2vw,29px);
  font-weight:900;
  letter-spacing:-.6px;
}
body[data-theme] .coder-footer-title strong{color:var(--accent) !important;text-shadow:0 0 24px rgba(var(--accent-rgb),.20)}
body[data-theme] .coder-footer-title span{color:color-mix(in srgb,var(--accent) 44%,#E1DDD0) !important}
body[data-theme] .coder-footer-title b{color:#FFD56B !important}
body[data-theme] .coder-footer-sub{margin-top:7px;color:#D3BF8B;font-size:9px;font-weight:700;letter-spacing:.35px}

/* Dourado metálico e combinações: preservar contraste em superfícies claras. */
body[data-theme="blue-black"] .coder-footer-content{border-color:rgba(240, 202, 107,.40);background:linear-gradient(145deg,rgba(28, 23, 11,.60),rgba(4, 6, 8,.42))}
body[data-theme="blue-black"] .coder-footer-kicker{color:#FFD978 !important}
body[data-theme="blue-gold"] .coder-footer-content{border-color:rgba(240, 202, 107,.42);background:linear-gradient(145deg,rgba(28, 23, 11,.56),rgba(29, 24, 11,.42))}
body[data-theme="blue-gold"] .coder-footer-title strong{color:#FFD56B !important}
body[data-theme="pink-gold"] .coder-footer-content{border-color:rgba(240, 202, 107,.42);background:linear-gradient(145deg,rgba(34, 28, 13,.56),rgba(27, 22, 10,.42))}
body[data-theme="pink-gold"] .coder-footer-title strong{color:#FFD56B !important}

@media(max-width:760px){
  body[data-theme] .coder-footer{
    width:calc(100% + 28px) !important;
    min-height:132px !important;
    margin:26px -14px -28px !important;
    padding:20px 14px !important;
    background-position:center !important;
  }
  body[data-theme] .coder-footer-content{padding:16px 12px;border-radius:17px}
  body[data-theme] .coder-footer-title{font-size:19px;gap:7px;flex-wrap:wrap}
  body[data-theme] .coder-footer-kicker{font-size:7px;letter-spacing:1.3px}
  body[data-theme] .coder-footer-sub{font-size:8px}
}

/* =========================================================
   FINAL LAYOUT FIX — MENU FIXO E SEM SCROLL VISÍVEL
   Corrige também overflow horizontal causado pelo banner do rodapé.
   ========================================================= */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:clip;
}
body{overflow-y:auto;}

/* Menu lateral: fixo, estável e sem área de rolagem própria. */
.side{
  position:fixed !important;
  inset:0 auto 0 0 !important;
  height:100vh !important;
  height:100dvh !important;
  overflow:hidden !important;
  overflow-x:hidden !important;
  overflow-y:hidden !important;
  overscroll-behavior:none !important;
}
.side .nav,
.side .logout-wrap{
  overflow:visible !important;
}

/* Em notebooks com pouca altura, compacta o menu em vez de criar scroll. */
@media (max-height:900px) and (min-width:621px){
  .side{padding-top:15px;padding-bottom:12px}
  .brand-row{padding-bottom:13px}
  .brand-logo{width:41px;height:41px}
  .brand{font-size:16px}
  .account-card{margin-top:11px;margin-bottom:9px;padding:9px}
  .account-avatar{width:35px;height:35px;border-radius:11px}
  .nav a,.nav button{margin:2px 0;padding:8px 10px;min-height:46px}
  .nav-icon{width:28px;height:28px;flex-basis:28px;border-radius:9px}
  .nav-title{padding:7px 10px 4px}
  .logout-wrap{padding-top:8px;margin-top:8px}
}

@media (max-height:760px) and (min-width:621px){
  .side{padding-top:10px;padding-bottom:9px}
  .brand-row{gap:9px;padding:0 8px 10px}
  .brand-logo{width:36px;height:36px}
  .brand{font-size:14px}
  .brand-sub{margin-top:4px;font-size:7px}
  .account-card{margin:8px 0 6px;padding:7px;border-radius:14px}
  .account-avatar{width:31px;height:31px;border-radius:9px}
  .account-copy small{font-size:7px}
  .account-copy strong{font-size:10px}
  .account-lock{width:25px;height:25px}
  .nav a,.nav button{gap:8px;margin:1px 0;padding:6px 8px;min-height:40px;border-radius:12px;font-size:10px}
  .nav-icon{width:25px;height:25px;flex-basis:25px;border-radius:8px;font-size:11px}
  .logout-wrap{padding-top:6px;margin-top:5px}
}

/* Oculta a barra visual das listas sem remover a possibilidade de rolagem interna. */
.side::-webkit-scrollbar,
.main::-webkit-scrollbar,
.group-list::-webkit-scrollbar,
.modern-selector::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar{width:0;height:0}
.side,
.group-list,
.modern-selector,
.table-wrap{scrollbar-width:none}

/* Rodapé: ocupa somente a largura real disponível, sem criar scrollbar horizontal. */
body[data-theme] .coder-footer{
  width:calc(100% + 88px) !important;
  margin-left:-44px !important;
  margin-right:-44px !important;
}

@media (max-width:1180px) and (min-width:821px){
  body[data-theme] .coder-footer{
    width:calc(100% + 88px) !important;
    margin-left:-44px !important;
    margin-right:-44px !important;
  }
}

@media (max-width:820px) and (min-width:621px){
  body[data-theme] .coder-footer{
    width:calc(100% + 50px) !important;
    margin-left:-25px !important;
    margin-right:-25px !important;
  }
}

@media (max-width:620px){
  body[data-theme] .coder-footer{
    width:calc(100% + 28px) !important;
    margin-left:-14px !important;
    margin-right:-14px !important;
  }
}


/* =========================================================
   SCROLL DO NAVEGADOR — TEMATIZADO PELA PALETA DO USUÁRIO
   A única barra visível é a barra do documento/navegador.
   Menus e áreas internas não exibem scrollbar próprio.
   ========================================================= */

/* Base: azul */
html{
  --scroll-thumb:#FFD56B;
  --scroll-thumb-hover:#FFD56B;
  --scroll-track:#1C170B;
  scrollbar-width:thin;
  scrollbar-color:var(--scroll-thumb) var(--scroll-track);
}

/* Atribui as cores do tema ao próprio elemento raiz, que controla a
   scrollbar do viewport nos navegadores modernos. */
html:has(body[data-theme="blue"]){
  --scroll-thumb:#FFD56B;
  --scroll-thumb-hover:#FFD56B;
  --scroll-track:#211B0D;
}
html:has(body[data-theme="green"]){
  --scroll-thumb:#FFD56B;
  --scroll-thumb-hover:#E5BF60;
  --scroll-track:#1A150A;
}
html:has(body[data-theme="pink"]){
  --scroll-thumb:#FFD56B;
  --scroll-thumb-hover:#FFD56B;
  --scroll-track:#1B160A;
}
html:has(body[data-theme="red"]){
  --scroll-thumb:#D1AF58;
  --scroll-thumb-hover:#FFD56B;
  --scroll-track:#1C170B;
}
html:has(body[data-theme="blue-black"]){
  --scroll-thumb:#FFD56B;
  --scroll-thumb-hover:#FFE092;
  --scroll-track:#0C0A05;
}
html:has(body[data-theme="blue-gold"]){
  --scroll-thumb:#FFD56B;
  --scroll-thumb-hover:#FFD56B;
  --scroll-track:#171309;
}
html:has(body[data-theme="pink-gold"]){
  --scroll-thumb:#FFD56B;
  --scroll-thumb-hover:#FFDA7C;
  --scroll-track:#19150A;
}

/* Chromium / Opera / Edge */
html::-webkit-scrollbar{
  width:12px;
  height:12px;
}
html::-webkit-scrollbar-track{
  background:var(--scroll-track);
}
html::-webkit-scrollbar-thumb{
  min-height:44px;
  background:linear-gradient(180deg,var(--scroll-thumb-hover),var(--scroll-thumb));
  border:3px solid var(--scroll-track);
  border-radius:999px;
  box-shadow:0 0 14px color-mix(in srgb,var(--scroll-thumb) 38%,transparent);
}
html::-webkit-scrollbar-thumb:hover{
  background:var(--scroll-thumb-hover);
}
html::-webkit-scrollbar-corner{
  background:var(--scroll-track);
}

/* Firefox */
body{
  scrollbar-width:thin;
  scrollbar-color:var(--scroll-thumb) var(--scroll-track);
  overflow-x:clip !important;
  overflow-y:auto !important;
}

/* O documento é o único responsável pela rolagem.
   O menu continua fixo e não cria uma segunda barra. */
.shell{
  min-height:100vh !important;
  height:auto !important;
  overflow:visible !important;
}
.main{
  min-height:100vh !important;
  height:auto !important;
  overflow:visible !important;
  overflow-x:clip !important;
}
.side{
  overflow:hidden !important;
  scrollbar-width:none !important;
}
.side::-webkit-scrollbar{display:none !important;width:0 !important;height:0 !important}

/* Remove barras internas dos componentes. O conteúdo cresce e é rolado
   pelo navegador, como solicitado. */
.table-wrap,
.group-list,
.modern-selector,
.live-log-list,
.campaign-photo-modal-dialog{
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
.table-wrap::-webkit-scrollbar,
.group-list::-webkit-scrollbar,
.modern-selector::-webkit-scrollbar,
.live-log-list::-webkit-scrollbar,
.campaign-photo-modal-dialog::-webkit-scrollbar{
  display:none !important;
  width:0 !important;
  height:0 !important;
}

/* O seletor de grupos passa a acompanhar a altura da página; não há
   mais scroll interno concorrendo com o scroll do navegador. */
.modern-selector{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
.group-list{
  max-height:none !important;
  overflow:visible !important;
}

/* Modal pode continuar contendo conteúdo grande, porém sem scrollbar visível. */
.campaign-photo-modal-dialog{
  overflow:auto !important;
}

/* Evita que o footer/banner crie uma barra horizontal do navegador. */
html{overflow-x:clip !important;}

@media (max-width:620px){
  body{padding-bottom:84px;overflow-y:auto !important;}
  .main{width:100%;margin-left:0;overflow:visible !important;}
}

/* =========================================================
   FINAL — UMA ÚNICA ROLAGEM: APENAS O NAVEGADOR
   Nenhuma área do painel cria scrollbar própria.
   ========================================================= */

/* O viewport/documento continua sendo o único elemento rolável. */
html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: clip !important;
  overflow-y: auto !important;
}

/* Menu: totalmente fixo e sem rolagem própria. */
.side {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  scrollbar-width: none !important;
}
.side::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

/* Nada de segundo viewport rolável no conteúdo. */
.main,
.shell,
.nav,
.group-list,
.modern-selector,
.table-wrap,
.live-log-list {
  overflow: visible !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}

/* Tabelas ocupam o espaço disponível, sem precisar de scroll interno. */
.table-wrap { width: 100% !important; }
.table {
  min-width: 0 !important;
  width: 100% !important;
  table-layout: fixed !important;
}
.table th,
.table td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Lista de grupos: cresce com a página. */
.modern-selector,
.group-list {
  padding-right: 0 !important;
}

/* Modal não cria uma segunda barra. O conteúdo interno se adapta à tela. */
.campaign-photo-modal-dialog {
  max-height: none !important;
  overflow: visible !important;
}

/* =========================================================
   MENU MAIOR E MAIS LEGÍVEL
   ========================================================= */
:root { --sidebar: 344px; }

.side {
  padding: 28px 22px 22px !important;
}
.brand-row {
  gap: 16px !important;
  padding: 6px 14px 25px !important;
}
.brand-logo { width: 62px !important; height: 62px !important; }
.brand { font-size: 22px !important; }
.brand-sub { font-size: 10px !important; margin-top: 8px !important; }

.account-card {
  margin: 20px 2px 20px !important;
  padding: 16px !important;
  border-radius: 20px !important;
}
.account-avatar { width: 52px !important; height: 52px !important; border-radius: 15px !important; }
.account-copy small { font-size: 9px !important; }
.account-copy strong { font-size: 13px !important; }
.account-lock { width: 38px !important; height: 38px !important; font-size: 13px !important; }

.nav-title {
  padding: 14px 14px 9px !important;
  font-size: 10px !important;
  letter-spacing: 1.8px !important;
}
.nav a,
.nav button {
  gap: 15px !important;
  margin: 6px 0 !important;
  padding: 14px 15px !important;
  min-height: 58px !important;
  border-radius: 16px !important;
  font-size: 14px !important;
}
.nav-icon {
  width: 42px !important;
  height: 42px !important;
  flex-basis: 42px !important;
  border-radius: 13px !important;
  font-size: 15px !important;
}
.nav-icon img { width: 21px; height: 21px; }
.logout-wrap { padding-top: 19px !important; margin-top: 18px !important; }

/* Em telas baixas, reduz apenas o espaçamento para o menu continuar inteiro,
   mas mantém texto e ícones legíveis. */
@media (max-height: 850px) and (min-width: 621px) {
  .side { padding-top: 17px !important; padding-bottom: 14px !important; }
  .brand-row { padding-bottom: 15px !important; }
  .brand-logo { width: 50px !important; height: 50px !important; }
  .brand { font-size: 18px !important; }
  .account-card { margin-top: 13px !important; margin-bottom: 13px !important; padding: 12px !important; }
  .account-avatar { width: 42px !important; height: 42px !important; }
  .nav-title { padding: 9px 12px 5px !important; }
  .nav a, .nav button { min-height: 48px !important; margin: 3px 0 !important; padding: 10px 12px !important; font-size: 13px !important; }
  .nav-icon { width: 36px !important; height: 36px !important; flex-basis: 36px !important; }
  .logout-wrap { padding-top: 10px !important; margin-top: 10px !important; }
}

@media (max-width: 620px) {
  :root { --sidebar: 0px; }
  .side {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    padding: 8px !important;
    overflow: visible !important;
  }
  .brand-row,
  .account-card,
  .nav-title,
  .logout-wrap { display: none !important; }
  .nav {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .nav a,
  .nav button {
    flex: 1 1 0;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 7px 5px !important;
    justify-content: center !important;
    gap: 3px !important;
    flex-direction: column !important;
    font-size: 8px !important;
  }
  .nav-icon { width: 34px !important; height: 34px !important; flex-basis: 34px !important; }
}

/* =========================================================
   AJUSTE FINAL DO USUÁRIO — UMA ROLAGEM + MENU COMPACTO
   Desktop: somente o navegador rola a página.
   O menu lateral fica fixo e ocupa apenas a parte superior da tela.
   ========================================================= */
@media (min-width: 621px){
  :root{ --sidebar: 280px !important; }

  .side{
    width:var(--sidebar) !important;
    height:100dvh !important;
    max-height:100dvh !important;
    padding:14px 12px 12px !important;
    overflow:visible !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
  }

  .brand-row{
    gap:10px !important;
    padding:2px 8px 11px !important;
  }
  .brand-logo{width:45px !important;height:45px !important;}
  .brand{font-size:18px !important;letter-spacing:.4px !important;}
  .brand-sub{margin-top:5px !important;font-size:9px !important;letter-spacing:1.15px !important;}

  .account-card{
    margin:10px 2px 9px !important;
    padding:10px !important;
    border-radius:14px !important;
  }
  .account-card-top{gap:9px !important;}
  .account-avatar{width:39px !important;height:39px !important;border-radius:11px !important;}
  .account-copy small{font-size:9px !important;letter-spacing:1px !important;}
  .account-copy strong{font-size:12px !important;}
  .account-lock{width:31px !important;height:31px !important;border-radius:9px !important;font-size:10px !important;}

  .nav{padding-top:1px !important;}
  .nav-title{
    padding:6px 9px 4px !important;
    font-size:9px !important;
    letter-spacing:1.35px !important;
  }
  .nav a,
  .nav button{
    gap:11px !important;
    width:100% !important;
    margin:2px 0 !important;
    padding:9px 10px !important;
    min-height:47px !important;
    border-radius:12px !important;
    font-size:12.5px !important;
  }
  .nav-icon{
    width:32px !important;
    height:32px !important;
    flex-basis:32px !important;
    border-radius:10px !important;
    font-size:11px !important;
  }
  .nav-icon img{width:21px !important;height:21px !important;}

  .logout-wrap{
    padding-top:7px !important;
    margin-top:7px !important;
  }

  /* Apenas o documento inteiro fica rolável. */
  html,body{
    overflow-x:clip !important;
    overflow-y:auto !important;
  }
  .shell,.main,.nav,.side,.table-wrap,.group-list,.modern-selector,.live-log-list,
  .campaign-photo-modal-dialog{
    overflow-x:clip !important;
  }
  .main,.shell,.nav,.side,.table-wrap,.group-list,.modern-selector,.live-log-list,
  .campaign-photo-modal-dialog{
    overflow-y:visible !important;
    max-height:none !important;
  }

  /* Evita scroll lateral dentro de tabelas/listas. */
  .table-wrap{overflow:visible !important;}
  .table{min-width:0 !important;width:100% !important;table-layout:fixed !important;}
  .table th,.table td{word-break:break-word;overflow-wrap:anywhere;}
  .group-list,.modern-selector{height:auto !important;min-height:0 !important;max-height:none !important;}
}

/* O scrollbar vertical visível fica somente no documento raiz. */
html{
  overflow-x:clip !important;
  overflow-y:auto !important;
}
body{
  overflow-x:clip !important;
  overflow-y:visible !important;
}

/* =========================================================
   AJUSTE FINAL — BANNERS MAIS VISÍVEIS + SEM RODAPÉ DUPLICADO
   ========================================================= */
body[data-theme] .main{
  background-image:
    linear-gradient(180deg,rgba(14, 12, 5,.46) 0%,rgba(14, 12, 5,.66) 58%,rgba(14, 12, 5,.88) 100%),
    var(--theme-banner-url) !important;
  background-size:cover !important;
  background-position:center right !important;
}
body[data-theme="green"] .main{background-image:linear-gradient(180deg,rgba(2, 10, 8,.42),rgba(2, 10, 8,.64) 58%,rgba(2, 7, 7,.86)),var(--theme-banner-url) !important}
body[data-theme="pink"] .main{background-image:linear-gradient(180deg,rgba(18, 15, 7,.42),rgba(18, 15, 7,.64) 58%,rgba(8, 2, 7,.86)),var(--theme-banner-url) !important}
body[data-theme="red"] .main{background-image:linear-gradient(180deg,rgba(18, 15, 7,.42),rgba(18, 15, 7,.64) 58%,rgba(8, 2, 3,.86)),var(--theme-banner-url) !important}
body[data-theme="blue-black"] .main{background-image:linear-gradient(180deg,rgba(2, 4, 7,.38),rgba(2, 4, 7,.60) 58%,rgba(2, 2, 2,.86)),var(--theme-banner-url) !important}
body[data-theme="blue-gold"] .main{background-image:linear-gradient(180deg,rgba(14, 12, 5,.38),rgba(14, 12, 5,.60) 58%,rgba(2, 4, 10,.85)),var(--theme-banner-url) !important}
body[data-theme="pink-gold"] .main{background-image:linear-gradient(180deg,rgba(18, 15, 7,.38),rgba(18, 15, 7,.60) 58%,rgba(8, 2, 7,.85)),var(--theme-banner-url) !important}

body[data-theme] .hero-card{
  background-image:
    linear-gradient(90deg,rgba(17, 14, 6,.56) 0%,rgba(17, 14, 6,.24) 48%,rgba(var(--accent-rgb),.18) 100%),
    var(--theme-banner-url) !important;
  background-size:cover !important;
  background-position:center !important;
}
body[data-theme] .project-buy{
  background-image:
    linear-gradient(100deg,rgba(17, 14, 6,.48) 0%,rgba(17, 14, 6,.20) 55%,rgba(var(--accent-rgb),.12) 100%),
    var(--theme-banner-url) !important;
  background-size:cover !important;
  background-position:center !important;
}
body[data-theme] .creator-panel{
  background-image:
    linear-gradient(120deg,rgba(18, 15, 7,.58),rgba(19, 16, 7,.24)),
    var(--theme-banner-url) !important;
  background-size:cover !important;
  background-position:center !important;
}

/* Não exibe o antigo rodapé separado; o bloco com GitHub permanece. */
.coder-footer{display:none !important}


/* =========================================================
   CAMPANHAS — ÚNICA ÁREA COM SCROLL INTERNO: LISTA DE GRUPOS
   ========================================================= */
.campaigns-page .groups-panel .modern-selector{
  height:360px !important;
  min-height:360px !important;
  max-height:360px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:thin !important;
  scrollbar-color:rgba(240, 201, 101,.42) transparent !important;
}
.campaigns-page .groups-panel .modern-selector::-webkit-scrollbar{
  display:block !important;
  width:7px !important;
  height:7px !important;
}
.campaigns-page .groups-panel .modern-selector::-webkit-scrollbar-track{
  background:transparent !important;
}
.campaigns-page .groups-panel .modern-selector::-webkit-scrollbar-thumb{
  background:rgba(240, 201, 101,.42) !important;
  border-radius:999px !important;
}
.campaigns-page .groups-panel .modern-selector::-webkit-scrollbar-thumb:hover{
  background:rgba(240, 201, 101,.62) !important;
}

/* =========================================================
   WHATSAPP — SCROLL SOMENTE NA LISTA DO CARD "GRUPOS SINCRONIZADOS"
   ========================================================= */
#groupsCard .group-list{
  max-height:360px !important;
  height:360px !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:thin !important;
  scrollbar-color:rgba(240, 201, 101,.42) transparent !important;
  padding-right:6px !important;
}
#groupsCard .group-list::-webkit-scrollbar{
  display:block !important;
  width:7px !important;
  height:7px !important;
}
#groupsCard .group-list::-webkit-scrollbar-track{
  background:transparent !important;
}
#groupsCard .group-list::-webkit-scrollbar-thumb{
  background:rgba(240, 201, 101,.42) !important;
  border-radius:999px !important;
}
#groupsCard .group-list::-webkit-scrollbar-thumb:hover{
  background:rgba(240, 201, 101,.62) !important;
}


/* =========================================================
   CAMPANHA FEITA — JANELA DE DETALHES
   Somente esta janela possui rolagem interna.
   ========================================================= */
.campaign-photo-modal-dialog{
  max-height:88vh !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:thin !important;
  -ms-overflow-style:auto !important;
}
.campaign-photo-modal-dialog::-webkit-scrollbar{
  width:8px !important;
  height:8px !important;
  display:block !important;
}
.campaign-photo-modal-dialog::-webkit-scrollbar-track{
  background:rgba(23, 19, 9,.75) !important;
  border-radius:999px;
}
.campaign-photo-modal-dialog::-webkit-scrollbar-thumb{
  background:rgba(240, 201, 101,.48) !important;
  border-radius:999px;
  border:2px solid rgba(23, 19, 9,.75);
}
.campaign-photo-modal-dialog::-webkit-scrollbar-thumb:hover{
  background:rgba(240, 201, 101,.72) !important;
}
.campaign-photo-modal-footer{
  display:flex;
  justify-content:flex-end;
  padding:0 20px 20px;
  border-top:1px solid rgba(205, 171, 86,.10);
  margin-top:4px;
  padding-top:14px;
  position:sticky;
  bottom:0;
  background:linear-gradient(180deg,rgba(48, 40, 18,.90),rgba(21, 17, 8,.98));
}
.campaign-photo-modal-close-bottom{
  border:1px solid rgba(255, 213, 107,.45);
  border-radius:11px;
  background:linear-gradient(145deg,#D8B55B,#A98D47);
  color:#FFF;
  padding:10px 18px;
  min-width:92px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.6px;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(170, 142, 71,.22);
}
.campaign-photo-modal-close-bottom:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
}
.campaign-photo-modal-close-bottom:active{transform:translateY(0)}
.campaign-photo-modal-close{
  display:grid;
  place-items:center;
  font-family:Arial,sans-serif;
  font-weight:400;
  font-size:28px;
  line-height:1;
}

/* ===== MENU LEVEMENTE MAIOR ===== */
@media (min-width: 621px){
  .nav a,.nav button{
    font-size:14px;
    padding:12px 14px;
    gap:14px;
  }
  .nav-icon{
    width:40px;
    height:40px;
    flex-basis:40px;
    border-radius:12px;
  }
  .nav-icon img{
    width:22px;
    height:22px;
  }
}

/* =========================================================
   AJUSTE FINAL — TEXTO E ÍCONES DO MENU UM POUCO MAIORES
   Mantém o menu compacto.
   ========================================================= */
@media (min-width: 621px){
  .nav-title{
    font-size:8px !important;
  }
  .nav a,
  .nav button{
    font-size:12px !important;
    min-height:44px !important;
    padding:8px 10px !important;
    gap:10px !important;
  }
  .nav-icon{
    width:33px !important;
    height:33px !important;
    flex-basis:33px !important;
    border-radius:10px !important;
  }
  .nav-icon img{
    width:18px !important;
    height:18px !important;
  }
}


/* =========================================================
   WHATSAPP X — CENTRAL PRO
   ========================================================= */
.pro-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.pro-stat{position:relative;overflow:hidden;border:1px solid rgba(255, 213, 108,.13);background:linear-gradient(145deg,rgba(64, 50, 15,.9),rgba(26, 21, 10,.94));border-radius:18px;padding:16px}.pro-stat:after{content:"";position:absolute;inset:auto -20px -40px auto;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(240, 201, 101,.18),transparent 68%)}.pro-stat-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.pro-stat small{font-size:9px;letter-spacing:.11em;opacity:.55}.pro-stat strong{display:block;font-size:25px;margin-top:8px}.pro-stat span{display:block;font-size:10px;opacity:.6;margin-top:3px}.pro-stat-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(255, 255, 255,.05);border:1px solid rgba(255, 255, 255,.08)}.pro-stat-icon img{width:18px;height:18px}.pro-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pro-toolbar .search-box{flex:1;min-width:220px}.pro-filter{display:flex;gap:7px;flex-wrap:wrap}.pro-filter button{border:1px solid rgba(255, 255, 255,.08);background:rgba(255, 255, 255,.03);color:inherit;padding:8px 11px;border-radius:999px;font-size:10px;font-weight:800;cursor:pointer}.pro-filter button.active{border-color:rgba(240, 201, 101,.5);background:rgba(240, 201, 101,.12)}.pro-muted{opacity:.62}.pro-chart{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:8px;height:150px;padding:10px 4px}.pro-bar{border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,rgba(247, 206, 104,.9),rgba(144, 113, 35,.28));min-height:8px;position:relative}.pro-bar span{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(100% + 6px);font-size:9px;opacity:.65}.pro-bar small{position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);font-size:8px;white-space:nowrap;opacity:.5}.pro-events{display:grid;gap:8px;max-height:280px;overflow:auto}.pro-event{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:13px;background:rgba(255, 255, 255,.025);border:1px solid rgba(255, 255, 255,.055)}.pro-event-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(255, 255, 255,.04)}.pro-event-icon img{width:17px;height:17px}.pro-event strong{font-size:11px}.pro-event p{margin:3px 0 0;font-size:10px;opacity:.65}.pro-event time{font-size:9px;opacity:.45}.pro-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:18px}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-card{border:1px solid rgba(255, 255, 255,.08);border-radius:16px;padding:14px;background:rgba(255, 255, 255,.025);cursor:pointer}.template-card:hover{border-color:rgba(246, 206, 103,.28);transform:translateY(-1px)}.template-card-head{display:flex;align-items:center;gap:8px}.template-card-head b{font-size:12px}.template-card-head small{margin-left:auto;opacity:.5}.template-card p{white-space:pre-wrap;font-size:10px;line-height:1.55;opacity:.72;max-height:90px;overflow:hidden;margin:9px 0 0}.template-actions{display:flex;gap:7px;margin-top:12px}.template-actions button{font-size:9px;padding:7px 9px}.preview-panel{border:1px solid rgba(237, 198, 100,.2);border-radius:16px;background:linear-gradient(160deg,rgba(39, 32, 15,.9),rgba(23, 19, 9,.95));padding:14px}.preview-bubble{max-width:88%;padding:11px 12px;border-radius:14px 14px 14px 5px;background:rgba(142, 119, 62,.23);border:1px solid rgba(242, 205, 110,.13);font-size:11px;line-height:1.5;white-space:pre-wrap}.campaign-name-row{display:grid;grid-template-columns:1fr 280px;gap:12px;margin-bottom:14px}.session-select{width:100%;padding:12px;border-radius:12px;border:1px solid rgba(255, 255, 255,.08);background:rgba(0, 0, 0,.14);color:inherit}.campaign-consent{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;margin-top:12px;border:1px solid rgba(255, 255, 255,.07);border-radius:13px;background:rgba(255, 255, 255,.02);font-size:10px;line-height:1.45}.campaign-consent input{margin-top:2px}.history-table-log{max-height:420px;overflow:auto}.group-manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.group-session-block{display:grid;gap:10px}.managed-group{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:13px;border:1px solid rgba(255, 255, 255,.06);background:rgba(255, 255, 255,.025)}.managed-group img{width:40px;height:40px;border-radius:12px;object-fit:cover;background:rgba(255, 255, 255,.04)}.managed-group b{font-size:11px;display:block}.managed-group small{font-size:9px;opacity:.55}.group-actions{display:flex;gap:6px}.group-actions button{font-size:9px;padding:7px 9px;border-radius:9px}.group-actions .active{border-color:rgba(242, 202, 102,.45);background:rgba(242, 202, 102,.12)}.notice-list{display:grid;gap:10px}.notice-item{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:start;padding:13px;border-radius:15px;background:rgba(255, 255, 255,.025);border:1px solid rgba(255, 255, 255,.06)}.notice-item.unread{border-color:rgba(240, 201, 101,.28);box-shadow:inset 3px 0 rgba(240, 201, 101,.7)}.notice-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(255, 255, 255,.04)}.notice-icon img{width:18px;height:18px}.notice-item h3{margin:0;font-size:12px}.notice-item p{margin:5px 0 0;font-size:10px;line-height:1.5;opacity:.68}.notice-item small{font-size:9px;opacity:.45}.notice-actions{display:flex;gap:6px}.pro-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;border:1px solid rgba(255, 255, 255,.08);font-size:9px;font-weight:800}.pro-chip img{width:12px;height:12px}.admin-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
@media(max-width:980px){.pro-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pro-layout,.group-manage-grid{grid-template-columns:1fr}.campaign-name-row{grid-template-columns:1fr}.template-grid{grid-template-columns:1fr}.admin-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pro-stat-grid,.admin-mini-grid{grid-template-columns:1fr}.pro-chart{gap:5px}.pro-toolbar{align-items:stretch}.pro-filter{width:100%}}

.nav-badge{margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:rgba(240, 201, 101,.9);color:#FFF;font-size:9px;font-weight:900;line-height:1;box-shadow:0 0 12px rgba(240, 201, 101,.25)}


/* FINAL MENU — compacto na altura para exibir todos os botões */
.side{padding:16px 14px 12px !important;overflow:hidden !important}.brand-row{padding:2px 9px 11px !important;gap:10px !important}.brand-logo{width:47px !important;height:47px !important}.brand{font-size:18px !important}.brand-sub{margin-top:4px !important;font-size:9px !important;letter-spacing:1.2px !important}.account-card{margin:9px 2px 9px !important;padding:9px !important}.account-avatar{width:38px !important;height:38px !important}.account-copy small{font-size:8px !important}.account-copy strong{font-size:11px !important}.account-lock{width:29px !important;height:29px !important}.nav{padding-top:0 !important}.nav-title{padding:6px 9px 4px !important;font-size:8px !important}.nav a,.nav button{min-height:0 !important;margin:1px 0 !important;padding:7px 9px !important;gap:10px !important;font-size:12.5px !important;border-radius:11px !important}.nav-icon{width:31px !important;height:31px !important;flex-basis:31px !important;border-radius:9px !important}.nav-icon img{width:17px !important;height:17px !important}.logout-wrap{padding-top:6px !important;margin-top:6px !important}
.model-targets{display:grid;gap:7px;max-height:340px;overflow-y:auto;padding-right:4px}.model-targets::-webkit-scrollbar{width:7px}.model-targets::-webkit-scrollbar-thumb{background:rgba(247, 206, 104,.42);border-radius:999px}.model-targets::-webkit-scrollbar-track{background:rgba(255, 255, 255,.025)}.model-target{display:grid;grid-template-columns:22px 38px 1fr auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid rgba(255, 255, 255,.07);border-radius:13px;background:rgba(255, 255, 255,.025);cursor:pointer}.model-target:hover,.model-target.selected{border-color:rgba(247, 206, 104,.32);background:rgba(247, 206, 104,.07)}.model-target input{accent-color:#F7CE68}.model-target-avatar{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(255, 255, 255,.05);border:1px solid rgba(255, 255, 255,.07);overflow:hidden}.model-target-avatar img{width:22px;height:22px;object-fit:contain}.model-target b{display:block;font-size:11px}.model-target small{display:block;margin-top:3px;font-size:9px;opacity:.5}.model-target-kind{font-size:8px;font-weight:900;letter-spacing:.08em;padding:5px 7px;border-radius:999px;border:1px solid rgba(255, 255, 255,.08);opacity:.65}.model-dispatch-cost{display:flex;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:13px;background:rgba(242, 202, 102,.06);border:1px solid rgba(242, 202, 102,.16);font-size:10px}.model-live-list{display:grid;gap:12px}.model-live-card{border:1px solid rgba(255, 255, 255,.08);border-radius:18px;padding:14px;background:linear-gradient(145deg,rgba(59, 46, 14,.65),rgba(25, 21, 10,.92))}.model-live-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.model-live-title{font-size:13px;font-weight:900}.model-live-meta{margin-top:4px;font-size:9px;opacity:.55}.model-live-progress{height:8px;border-radius:999px;background:rgba(255, 255, 255,.06);overflow:hidden;margin:12px 0}.model-live-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ECC563,#FFD56B);transition:width .25s ease}.model-live-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.model-live-stat{padding:8px 9px;border-radius:11px;background:rgba(255, 255, 255,.025);border:1px solid rgba(255, 255, 255,.05)}.model-live-stat small{display:block;font-size:8px;opacity:.45}.model-live-stat b{display:block;margin-top:3px;font-size:12px}.model-live-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.model-live-results{margin-top:11px;display:grid;gap:5px;max-height:180px;overflow:auto}.model-live-result{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:7px 8px;border-radius:10px;background:rgba(0, 0, 0,.12);font-size:9px}.model-result-dot{width:8px;height:8px;border-radius:50%;background:#D4B159}.model-result-dot.fail{background:#EFC866}.model-empty{padding:28px;text-align:center;opacity:.55;border:1px dashed rgba(255, 255, 255,.1);border-radius:15px}.model-history-list{display:grid;gap:8px}.model-history-item{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:13px;border:1px solid rgba(255, 255, 255,.06);background:rgba(255, 255, 255,.02)}
@media(max-width:980px){.model-live-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* =========================================================
   MENU — SCROLL INTERNO TEMATIZADO
   Somente a lista do menu rola; logo/conta permanecem visíveis.
   A cor da barra acompanha o tema escolhido no painel.
   ========================================================= */
@media (min-width: 621px){
  .side{
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    overflow-x:hidden !important;
    overflow-y:hidden !important;
  }

  .side .nav{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding-right:5px !important;
    overscroll-behavior:contain !important;
    scrollbar-width:thin !important;
    scrollbar-color:var(--scroll-thumb) var(--scroll-track) !important;
  }

  .side .nav::-webkit-scrollbar{
    width:7px !important;
    height:7px !important;
  }
  .side .nav::-webkit-scrollbar-track{
    background:var(--scroll-track) !important;
    border-radius:999px !important;
  }
  .side .nav::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,var(--scroll-thumb-hover),var(--scroll-thumb)) !important;
    border:1px solid var(--scroll-track) !important;
    border-radius:999px !important;
    box-shadow:0 0 10px color-mix(in srgb,var(--scroll-thumb) 35%,transparent) !important;
  }
  .side .nav::-webkit-scrollbar-thumb:hover{
    background:var(--scroll-thumb-hover) !important;
  }
  .side .nav::-webkit-scrollbar-corner{
    background:var(--scroll-track) !important;
  }
}

/* =========================================================
   MOBILE POLISH V3 — preserva o desktop e adapta o conteúdo
   ========================================================= */
@media (max-width: 620px){
  html,body{min-width:0;overflow-x:hidden}
  body{padding-bottom:88px}
  .main{min-width:0;padding:18px 12px 30px}
  .topbar{gap:14px;margin-bottom:20px}
  .page-title{font-size:clamp(26px,8vw,34px);line-height:1.05;letter-spacing:-1px}
  .page-sub{font-size:11px;line-height:1.55}
  .user-pill{width:100%;min-width:0}
  .grid,.two,.three,.admin-grid,.pro-layout,.group-manage-grid,.template-grid{min-width:0}
  .card,.panel,.hero-card,.campaign-builder-shell,.campaign-history-shell,.authbox{min-width:0;max-width:100%}
  .card{padding:15px}
  .table-wrap{width:100%;overflow-x:auto}
  table{min-width:560px}
  input,textarea,select{max-width:100%;min-width:0}
  .form{width:100%}
  .form label{min-width:0}
  .btn{max-width:100%;white-space:normal;text-align:center}
  .actions,.action-row{gap:9px}
  .hero-card h2{font-size:clamp(25px,8vw,32px);line-height:1.08}
  .hero-card{padding:18px}
  .campaign-history-card,.campaign-panel{min-width:0}
  .history-message{overflow-wrap:anywhere}
  .modern-selector{width:100%;min-width:0}
  .photo-drop{min-width:0}
  .photo-drop-copy{min-width:0}
  .creator-content{grid-template-columns:1fr!important}
  .creator-github{width:100%}
}

@media (min-width:621px) and (max-width:980px){
  .main{padding:26px 25px 55px}
  .topbar{flex-wrap:wrap}
  .user-pill{margin-left:auto}
  .card,.panel{min-width:0}
}

/* =========================================================
   LANDING PAGE — apresentação / conversão
   ========================================================= */
.landing-page{min-height:100vh;overflow:hidden}
.landing-nav{position:relative;z-index:10;max-width:1240px;margin:0 auto;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.landing-brand{display:flex;align-items:center;gap:12px}
.landing-brand img{width:46px;height:46px;filter:drop-shadow(0 0 24px rgba(212, 177, 89,.28))}
.landing-brand strong{display:block;font-size:15px;letter-spacing:.6px}.landing-brand span{display:block;margin-top:4px;color:#BEAE85;font-size:8px;text-transform:uppercase;letter-spacing:1.5px;font-weight:800}
.landing-nav-actions{display:flex;gap:9px;align-items:center}.landing-nav-actions .btn{min-height:40px;padding:9px 14px}
.landing-hero{position:relative;max-width:1240px;margin:0 auto;padding:54px 28px 72px;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(390px,.94fr);gap:48px;align-items:center}
.landing-orb{position:absolute;right:-150px;top:0;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(255, 213, 107,.16),transparent 65%);filter:blur(12px);pointer-events:none}
.landing-copy{position:relative;z-index:2}.landing-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(212, 177, 89,.18);border-radius:999px;background:rgba(58, 46, 14,.55);color:#FFE39C;font-size:9px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.landing-kicker i{width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 14px rgba(212, 177, 89,.75)}
.landing-copy h1{margin:20px 0 0;font-size:clamp(45px,6.3vw,82px);line-height:.92;letter-spacing:-4px;font-weight:950}.landing-copy h1 span{display:block;color:var(--blue);text-shadow:0 0 42px rgba(212, 177, 89,.15)}
.landing-copy>p{max-width:670px;margin:23px 0 0;color:#C1AE7F;font-size:15px;line-height:1.8}.landing-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:28px}.landing-actions .btn{min-height:50px;padding:13px 20px}.landing-note{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px;color:#A89A77;font-size:9px;font-weight:700}.landing-note span{padding:6px 9px;border-radius:8px;background:rgba(41, 34, 16,.6);border:1px solid rgba(199, 169, 92,.10)}
.landing-preview{position:relative;z-index:2;border:1px solid rgba(215, 180, 90,.22);border-radius:28px;padding:14px;background:linear-gradient(145deg,rgba(50, 41, 19,.88),rgba(20, 16, 8,.92));box-shadow:0 35px 100px rgba(0, 0, 0,.4),inset 0 1px 0 rgba(255, 255, 255,.05)}
.preview-top{display:flex;align-items:center;gap:7px;padding:7px 8px 13px}.preview-dot{width:8px;height:8px;border-radius:50%;background:#706240}.preview-dot:nth-child(1){background:#B3964B}.preview-dot:nth-child(2){background:#FFD56B}.preview-dot:nth-child(3){background:#DCB85C}.preview-url{margin-left:8px;flex:1;padding:7px 11px;border-radius:8px;background:#221C0D;color:#8A7A50;font-size:8px}
.preview-window{display:grid;grid-template-columns:86px 1fr;min-height:390px;border-radius:18px;overflow:hidden;border:1px solid rgba(205, 174, 94,.10);background:#171309}.preview-side{padding:14px 9px;background:#1D180B;border-right:1px solid rgba(205, 174, 94,.09)}.preview-side-logo{height:32px;margin-bottom:17px;border-radius:9px;background:linear-gradient(145deg,#D2AF58,#6C551A)}.preview-side-line{height:10px;margin:9px 0;border-radius:4px;background:#382E15}.preview-side-line.active{background:#D3B059}.preview-main{padding:18px}.preview-head{height:60px;border-radius:13px;background:linear-gradient(145deg,#2E2611,#221C0D);border:1px solid rgba(205, 174, 94,.10);margin-bottom:13px}.preview-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.preview-card{height:88px;border-radius:13px;background:#27200F;border:1px solid rgba(205, 174, 94,.09)}.preview-chart{height:140px;margin-top:10px;border-radius:13px;background:linear-gradient(180deg,#2B2310,#1F1A0C);border:1px solid rgba(205, 174, 94,.09);position:relative;overflow:hidden}.preview-chart::after{content:"";position:absolute;left:8%;right:8%;bottom:23%;height:2px;background:linear-gradient(90deg,transparent 0%,#D0AE57 22%,#FFD56B 48%,#BD9E4F 72%,transparent 100%);box-shadow:0 0 20px rgba(212, 177, 89,.4);transform:rotate(-5deg)}
.landing-features{max-width:1240px;margin:0 auto;padding:0 28px 80px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.landing-feature{padding:20px;border:1px solid rgba(205, 171, 86,.12);border-radius:19px;background:rgba(33, 27, 13,.62);box-shadow:inset 0 1px 0 rgba(255, 255, 255,.025)}.landing-feature-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#403312;color:#FFD56B;margin-bottom:13px}.landing-feature strong{display:block;font-size:12px}.landing-feature p{margin:7px 0 0;color:#B0A27F;font-size:9px;line-height:1.6}
.landing-bottom{max-width:1240px;margin:0 auto;padding:0 28px 40px;text-align:center}.landing-bottom-box{padding:28px;border-radius:23px;border:1px solid rgba(240, 202, 107,.16);background:linear-gradient(145deg,rgba(45, 37, 17,.32),rgba(29, 24, 11,.65))}.landing-bottom-box h2{margin:0;font-size:clamp(24px,4vw,38px);letter-spacing:-1.3px}.landing-bottom-box p{margin:9px auto 18px;max-width:600px;color:#C0B18A;font-size:11px;line-height:1.65}
@media(max-width:900px){.landing-hero{grid-template-columns:1fr;gap:30px;padding-top:30px}.landing-copy h1{font-size:clamp(43px,12vw,70px)}.landing-preview{max-width:680px;width:100%;margin:auto}.landing-features{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.landing-nav{padding:16px 14px}.landing-brand img{width:38px;height:38px}.landing-brand strong{font-size:12px}.landing-brand span{font-size:7px}.landing-nav-actions .btn{min-height:38px;padding:8px 10px;font-size:9px}.landing-nav-actions .btn:first-child{display:none}.landing-hero{padding:30px 14px 48px}.landing-copy h1{font-size:clamp(42px,15vw,62px);letter-spacing:-3px}.landing-copy>p{font-size:12px;line-height:1.7}.landing-actions{display:grid;grid-template-columns:1fr}.landing-actions .btn{width:100%}.landing-preview{padding:8px;border-radius:20px}.preview-window{grid-template-columns:55px 1fr;min-height:285px}.preview-side{padding:10px 6px}.preview-side-logo{height:24px}.preview-side-line{height:7px;margin:7px 0}.preview-main{padding:11px}.preview-head{height:43px}.preview-cards{gap:6px}.preview-card{height:60px}.preview-chart{height:95px}.landing-features{grid-template-columns:1fr;padding:0 14px 45px}.landing-feature{padding:16px}.landing-bottom{padding:0 14px 25px}.landing-bottom-box{padding:22px 16px}}

/* =========================================================
   ADMIN — CENTRAL PRO / RESPONSIVO
   Mantém o visual desktop e cria uma adaptação própria para mobile.
   ========================================================= */
.admin-page{position:relative}
.admin-page:before{content:"";position:absolute;pointer-events:none;top:-100px;right:-180px;width:520px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(245, 205, 103,.10),transparent 68%);filter:blur(10px)}
.admin-topbar{position:relative;z-index:1}
.admin-kicker,.admin-section-label{display:block;color:#FFD56B;font-size:8px;font-weight:900;letter-spacing:1.5px;margin-bottom:6px}
.admin-top-actions{display:flex;align-items:center;gap:10px}
.admin-users-pill{display:inline-flex;align-items:center;gap:8px}
.admin-live-dot{width:7px;height:7px;border-radius:50%;background:#E6C061;box-shadow:0 0 12px rgba(230, 192, 97,.7)}
.admin-welcome{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px;padding:22px 24px;border-radius:20px;border:1px solid rgba(224, 187, 94,.14);background:linear-gradient(120deg,rgba(63, 49, 15,.86),rgba(29, 24, 11,.86));box-shadow:0 18px 55px rgba(0, 0, 0,.16),inset 0 1px 0 rgba(255, 255, 255,.03);overflow:hidden}
.admin-welcome:after{content:"";position:absolute;right:-80px;top:-90px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(255, 213, 107,.12),transparent 68%)}
.admin-welcome-copy{position:relative;z-index:1}.admin-welcome-copy h2{margin:0;font-size:22px;letter-spacing:-.6px}.admin-welcome-copy p{margin:7px 0 0;max-width:650px;color:#C0B18A;font-size:10px;line-height:1.65}
.admin-welcome-badge{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid rgba(255, 213, 107,.13);background:rgba(33, 28, 15,.35);border-radius:13px;min-width:220px}.admin-welcome-badge img{width:29px;height:29px}.admin-welcome-badge strong,.admin-welcome-badge span{display:block}.admin-welcome-badge strong{font-size:10px}.admin-welcome-badge span{margin-top:3px;color:#9A8859;font-size:8px}
.admin-mini-grid{margin-top:0!important}
.admin-stat{min-height:125px;padding:17px 18px!important}.admin-stat-icon{position:absolute;right:15px;top:15px;width:33px;height:33px;display:grid;place-items:center;border-radius:10px;color:#FFD771;background:rgba(230, 192, 97,.09);border:1px solid rgba(238, 199, 100,.14);font-size:14px;font-weight:900}.admin-stat strong{font-size:29px!important;letter-spacing:-1px}.admin-stat small{margin-top:15px;display:block}
.admin-card{position:relative;overflow:hidden;border-color:rgba(221, 185, 93,.13);box-shadow:0 18px 50px rgba(0, 0, 0,.12)}
.admin-card:before{content:"";position:absolute;left:0;top:0;right:0;height:1px;background:linear-gradient(90deg,rgba(255, 213, 107,.45),transparent 55%)}
.admin-section-head{align-items:flex-start}.admin-section-head h2{margin-top:0}.admin-card-mark{padding:6px 9px;border-radius:8px;color:#E9C66E;background:rgba(230, 192, 97,.07);border:1px solid rgba(230, 192, 97,.12);font-size:8px;font-weight:900;letter-spacing:1px}
.admin-table-wrap{border:1px solid rgba(221, 185, 93,.08);border-radius:14px;background:rgba(21, 17, 8,.28)}.admin-table{margin:0}.admin-table th{font-size:8px;letter-spacing:.8px;color:#978558;text-transform:uppercase;background:rgba(255, 255, 255,.015)}.admin-table td{padding:13px 12px}.admin-user-cell{display:flex;align-items:center;gap:10px}.admin-user-cell b,.admin-user-cell small{display:block}.admin-user-cell small{margin-top:3px;color:#88784F;font-size:8px}.admin-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#B7994D,#504016);color:#FFE6A7;font-size:11px;font-weight:900;border:1px solid rgba(246, 206, 103,.17)}
.admin-status{display:inline-flex;align-items:center;gap:6px;font-size:8px;font-weight:900;letter-spacing:.5px}.admin-status i{width:6px;height:6px;border-radius:50%;background:#907F54}.admin-status.is-active{color:#DDBB64}.admin-status.is-active i{background:#DBB75C;box-shadow:0 0 9px rgba(219, 183, 92,.55)}.admin-status.is-blocked{color:#FFD56B}.admin-status.is-blocked i{background:#FFD56B}.admin-balance{font-weight:900;color:#F0CC70}.admin-credit-action{display:flex;gap:7px;align-items:center}.admin-credit-action input{width:82px!important}.admin-form{gap:10px}.admin-divider{height:1px;background:rgba(255, 255, 255,.055);margin:3px 0 5px}.admin-save-btn{margin-top:4px;min-height:43px}.admin-plan-editor{gap:9px}.admin-plan-row{border:1px solid rgba(218, 183, 93,.08);background:rgba(255, 255, 255,.018);border-radius:13px;padding:12px!important}.admin-plan-info strong,.admin-plan-info small{display:block}.admin-plan-info small{margin-top:4px;color:#918054;font-size:8px;line-height:1.45}.admin-plan-row label{font-size:8px}.admin-plan-row input{margin-top:5px}.admin-log-table td{vertical-align:top}.admin-date{font-size:9px;color:#A99970;white-space:nowrap}.admin-log-details{display:block;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;color:#A1916A;font-size:8px;line-height:1.55}
@media(max-width:900px){.admin-welcome{align-items:flex-start}.admin-welcome-badge{min-width:190px}.admin-grid{grid-template-columns:1fr}.admin-stat{min-height:115px}}
@media(max-width:620px){.admin-page{padding-bottom:35px}.admin-topbar{align-items:flex-start}.admin-top-actions{width:100%}.admin-users-pill{width:max-content}.admin-welcome{display:block;padding:17px;margin-bottom:12px}.admin-welcome-copy h2{font-size:19px}.admin-welcome-copy p{font-size:9px}.admin-welcome-badge{margin-top:14px;min-width:0;width:100%;padding:10px}.admin-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.admin-stat{min-height:108px;padding:13px!important}.admin-stat strong{font-size:24px!important}.admin-stat-icon{width:28px;height:28px;font-size:11px;right:11px;top:11px}.admin-card{padding:13px!important}.admin-section-head{display:flex;gap:10px}.admin-section-head .pill,.admin-card-mark{flex-shrink:0}.admin-table-wrap{margin:0 -1px}.admin-table{min-width:720px}.admin-credit-action input{width:70px!important}.admin-credit-action .btn{padding-left:9px;padding-right:9px}.admin-plan-row{display:grid!important;grid-template-columns:1fr 1fr;gap:9px!important}.admin-plan-info{grid-column:1/-1}.admin-plan-row label{min-width:0}.admin-log-table{min-width:640px}.admin-date{white-space:normal}.admin-page .page-title{font-size:28px}}


/* =========================================================
   AUTH / LOGIN / REGISTER — PADRÃO DA INDEX
   ========================================================= */
.auth-page{overflow-x:hidden;background:#02050A}
.auth-modern{position:relative;min-height:100vh;display:grid;place-items:center;padding:32px 24px;background:
  radial-gradient(circle at 12% 12%,rgba(216, 181, 91,.20),transparent 30%),
  radial-gradient(circle at 88% 12%,rgba(231, 193, 97,.12),transparent 24%),
  linear-gradient(145deg,#0C0A05 0%,#211B0D 48%,#02050A 100%)}
.auth-modern:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255, 255, 255,.016) 1px,transparent 1px),linear-gradient(90deg,rgba(255, 255, 255,.016) 1px,transparent 1px);background-size:48px 48px;opacity:.23;mask-image:linear-gradient(to bottom,rgba(0, 0, 0,.88),transparent 90%)}
.auth-glow{position:absolute;border-radius:50%;pointer-events:none;filter:blur(18px)}
.auth-glow-a{width:360px;height:360px;left:-160px;top:-120px;background:radial-gradient(circle,rgba(255, 213, 107,.16),transparent 66%)}
.auth-glow-b{width:420px;height:420px;right:-210px;bottom:-200px;background:radial-gradient(circle,rgba(240, 202, 107,.11),transparent 67%)}
.auth-layout{position:relative;z-index:2;width:min(1080px,100%);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(430px,.85fr);gap:18px;align-items:stretch}
.auth-showcase{position:relative;min-height:650px;padding:40px 30px 36px;border:1px solid rgba(213, 178, 89,.12);border-radius:28px;background:linear-gradient(145deg,rgba(39, 32, 15,.63),rgba(18, 15, 7,.56));overflow:hidden;box-shadow:0 32px 100px rgba(0, 0, 0,.28);backdrop-filter:blur(18px)}
.auth-showcase:after{content:"";position:absolute;width:300px;height:300px;right:-130px;top:-120px;border-radius:50%;background:radial-gradient(circle,rgba(255, 213, 107,.12),transparent 68%);pointer-events:none}
.auth-brand-link{display:inline-flex;align-items:center;gap:13px;margin-bottom:48px;color:inherit;text-decoration:none}
.auth-brand-link img{width:55px;height:55px;filter:drop-shadow(0 0 22px rgba(255, 213, 107,.28))}
.auth-brand-link strong,.auth-brand-link small{display:block}.auth-brand-link strong{font-size:18px;letter-spacing:.45px}.auth-brand-link small{margin-top:5px;color:#A0916A;font-size:8px;font-weight:900;letter-spacing:1.45px;text-transform:uppercase}
.auth-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(238, 199, 100,.16);border-radius:999px;background:rgba(69, 54, 17,.58);color:#FFE299;font-size:8px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.auth-badge i{width:6px;height:6px;border-radius:50%;background:#FFD56B;box-shadow:0 0 10px rgba(255, 213, 107,.75)}
.gold-badge{border-color:rgba(240, 202, 107,.18);background:rgba(82, 65, 23,.28);color:#F7D98D}.gold-badge i{background:var(--gold);box-shadow:0 0 10px rgba(240, 202, 107,.65)}
.auth-showcase h1{position:relative;z-index:1;margin:18px 0 14px;font-size:clamp(42px,4.4vw,65px);line-height:.99;letter-spacing:-3.2px;font-weight:950}.auth-showcase h1 span{color:#FFD56B;text-shadow:0 0 36px rgba(255, 213, 107,.15)}
.auth-showcase-copy{position:relative;z-index:1;max-width:560px;margin:0;color:#B9A77A;font-size:12px;line-height:1.8}
.auth-points{position:relative;z-index:1;display:grid;gap:10px;max-width:520px;margin-top:34px}.auth-points>div{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;align-items:center;padding:12px 13px;border:1px solid rgba(212, 177, 89,.09);border-radius:15px;background:rgba(31, 26, 12,.47)}.auth-points span{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#5E4B1A,#352C14);border:1px solid rgba(226, 189, 95,.12);color:#E4C26B;font-size:9px;font-weight:950}.auth-points strong{font-size:10px}.auth-points small{margin-top:3px;color:#968457;font-size:8px}
.authbox-modern{width:auto;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:36px;border-radius:28px;background:linear-gradient(145deg,rgba(40, 33, 15,.94),rgba(19, 16, 7,.96));border:1px solid rgba(213, 178, 89,.18);box-shadow:0 42px 120px rgba(0, 0, 0,.46),inset 0 1px 0 rgba(255, 255, 255,.035);backdrop-filter:blur(24px)}
.authbox-modern:after{right:-90px;top:-95px;width:220px;height:220px}.auth-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.auth-form-head h2{margin:12px 0 6px;font-size:30px;letter-spacing:-1.15px}.auth-form-head p{margin:0;color:#AD9C72;font-size:10px;line-height:1.65}.auth-head-icon{width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;border-radius:15px;background:rgba(148, 116, 36,.12);border:1px solid rgba(227, 190, 95,.15)}.auth-head-icon img{width:27px;height:27px}.gold-icon{background:rgba(127, 100, 30,.14);border-color:rgba(240, 202, 107,.18)}
.auth-form{gap:13px;margin-top:23px}.auth-form label{font-size:10px;color:#D8C38F}.auth-form input{min-height:50px;margin-top:7px;padding:13px 14px;border-radius:14px;background:rgba(23, 19, 9,.86);border:1px solid rgba(210, 175, 88,.13);color:#FDFBF6;outline:none;transition:.18s ease}.auth-form input::placeholder{color:#83734C}.auth-form input:hover{border-color:rgba(220, 184, 92,.23)}.auth-form input:focus{border-color:rgba(255, 213, 107,.55);box-shadow:0 0 0 3px rgba(247, 206, 104,.08),0 10px 30px rgba(0, 0, 0,.14)}
.auth-submit{width:100%;min-height:50px;margin-top:4px;border-radius:14px;font-size:11px}.auth-submit .btn-asset{width:17px;height:17px}
.auth-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:17px;border-top:1px solid rgba(255, 255, 255,.055)}.auth-switch span{color:#9B895A;font-size:9px}.auth-secondary-btn{min-height:40px;padding:9px 12px;border-radius:11px;font-size:9px;white-space:nowrap}.auth-home-link{display:block;margin-top:18px;text-align:center;color:#988658;font-size:9px;transition:.18s}.auth-home-link:hover{color:#FFEBB8}.gold-pill{color:#F7D98D;background:rgba(88, 70, 25,.35);border-color:rgba(240, 202, 107,.19)}
.auth-error{margin-top:17px;border-radius:12px}
@media(max-width:920px){.auth-layout{grid-template-columns:1fr;max-width:620px}.auth-showcase{min-height:0;padding:28px 24px}.auth-showcase h1{font-size:52px}.auth-points{grid-template-columns:repeat(3,1fr);max-width:none}.auth-points>div{grid-template-columns:1fr;padding:12px}.auth-points span{grid-row:auto;margin-bottom:7px}.authbox-modern{padding:30px 26px}}
@media(max-width:620px){.auth-modern{padding:14px 12px}.auth-layout{gap:10px}.auth-showcase{padding:22px 18px;border-radius:22px}.auth-brand-link{margin-bottom:25px}.auth-brand-link img{width:44px;height:44px}.auth-brand-link strong{font-size:14px}.auth-brand-link small{font-size:7px}.auth-showcase h1{font-size:clamp(34px,11vw,47px);letter-spacing:-2px;margin-top:15px}.auth-showcase-copy{font-size:10px;line-height:1.7}.auth-points{grid-template-columns:1fr;gap:7px;margin-top:20px}.auth-points>div{grid-template-columns:30px minmax(0,1fr);padding:10px}.auth-points span{grid-row:1/3;width:30px;height:30px;margin-bottom:0;font-size:8px}.auth-points small{font-size:7px}.authbox-modern{padding:22px 18px;border-radius:22px}.auth-form-head h2{font-size:25px}.auth-form-head p{font-size:9px}.auth-head-icon{width:43px;height:43px;flex-basis:43px}.auth-head-icon img{width:23px;height:23px}.auth-form{margin-top:20px}.auth-form input{min-height:47px;padding:12px;border-radius:12px}.auth-submit{min-height:49px}.auth-switch{align-items:stretch;flex-direction:column}.auth-secondary-btn{width:100%;min-height:44px}.auth-home-link{margin-top:14px}.auth-badge{font-size:7px}}

/* =========================================================
   ADMIN — POLIMENTO DE COMPONENTES E BOTÕES
   ========================================================= */
.admin-page .btn{min-height:42px;padding:10px 14px;border-radius:12px;font-size:9px;letter-spacing:.1px;white-space:nowrap}.admin-page .btn:hover{transform:translateY(-1px)}
.admin-top-actions .pill{min-height:36px;padding:8px 12px;font-size:8px}
.admin-section-head>div{min-width:0}.admin-section-head h2{font-size:18px;line-height:1.2}.admin-users-card{padding-bottom:18px}.admin-table th{white-space:nowrap}.admin-table td{vertical-align:middle}
.admin-table .btn{box-shadow:none}.admin-table .btn.gold{box-shadow:0 8px 20px rgba(218, 182, 92,.10)}.admin-table .btn.secondary{min-width:78px}.admin-credit-action{min-width:150px}.admin-credit-action input{height:42px;min-height:42px;border-radius:11px;padding:9px 10px}
.admin-setting-card{min-width:0}.admin-form input,.admin-plan-row input{min-height:44px;border-radius:12px}.admin-save-btn{width:100%;margin-top:10px}.admin-plan-editor{display:grid;gap:9px}.admin-plan-row{grid-template-columns:minmax(0,1fr) 110px 110px;align-items:end}.admin-plan-row input{width:100%;box-sizing:border-box}.admin-log-card{margin-top:20px}.admin-log-table .pill{min-height:27px;padding:6px 9px;font-size:7px}
.admin-card-mark{white-space:nowrap}.admin-welcome-badge{box-shadow:inset 0 1px 0 rgba(255, 255, 255,.02)}
@media(max-width:760px){.admin-page .topbar{gap:12px}.admin-topbar{margin-bottom:14px}.admin-topbar .page-sub{font-size:10px}.admin-top-actions{justify-content:flex-start}.admin-welcome-copy p{max-width:none}.admin-section-head{flex-wrap:wrap}.admin-section-head>div{flex:1 1 100%}.admin-section-head>.pill,.admin-card-mark{margin-left:0}.admin-page .btn{min-height:44px;padding:11px 13px}.admin-credit-action{min-width:145px}.admin-credit-action .btn{min-width:72px}.admin-save-btn{min-height:46px}.admin-plan-row{grid-template-columns:1fr 1fr!important}.admin-plan-info{grid-column:1/-1}.admin-plan-row label{width:100%}.admin-log-card{margin-top:12px}}
@media(max-width:480px){.admin-mini-grid{grid-template-columns:1fr 1fr!important}.admin-stat{min-width:0}.admin-stat span{font-size:8px}.admin-page .page-title{font-size:26px}.admin-section-head h2{font-size:16px}.admin-section-head .page-sub{font-size:9px}.admin-card{border-radius:18px}.admin-card-mark{font-size:7px}.admin-table{min-width:760px}.admin-log-table{min-width:680px}.admin-credit-action{gap:6px}.admin-credit-action input{width:62px!important}.admin-credit-action .btn{padding:10px 9px}.admin-plan-row{padding:10px!important}.admin-plan-row .admin-plan-info strong{font-size:10px}.admin-plan-row .admin-plan-info small{font-size:7px}.admin-page .table-wrap{-webkit-overflow-scrolling:touch}}

/* Touch targets e feedback visual sem alterar a lógica */
@media(pointer:coarse){.btn,.mini-btn,.nav a,.nav button{min-height:44px}.admin-page .btn{min-height:44px}}

/* ADMIN REWORK — painel administrativo consistente, claro e touch-friendly */
.admin-page{isolation:isolate}.admin-page .admin-topbar{padding:18px 0 20px}.admin-page .admin-kicker{display:inline-flex;align-items:center;gap:7px;color:#FFD56B;font-size:8px;font-weight:950;letter-spacing:1.8px}.admin-page .admin-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:#FFD56B;box-shadow:0 0 14px rgba(255, 213, 107,.8)}
.admin-page .admin-topbar .page-title{font-size:clamp(28px,3vw,40px);letter-spacing:-1.5px}.admin-page .admin-topbar .page-sub{max-width:700px;margin-top:7px;font-size:10px;line-height:1.65}
.admin-page .admin-users-pill{border-color:rgba(255, 213, 107,.2);background:rgba(88, 69, 21,.28);box-shadow:0 10px 30px rgba(0, 0, 0,.12)}
.admin-page .admin-live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#E2BD5F;box-shadow:0 0 10px rgba(226, 189, 95,.8)}
.admin-page .admin-welcome{min-height:145px;padding:25px 27px;background:linear-gradient(135deg,rgba(58, 46, 14,.94),rgba(25, 21, 10,.98));border-color:rgba(241, 201, 101,.17);box-shadow:0 25px 70px rgba(0, 0, 0,.22),inset 0 1px 0 rgba(255, 255, 255,.035)}
.admin-page .admin-welcome-copy h2{font-size:24px;letter-spacing:-.8px}.admin-page .admin-welcome-copy p{font-size:10px;max-width:720px}.admin-page .admin-welcome-badge{min-width:245px;padding:13px 15px;border-color:rgba(240, 202, 107,.2);background:linear-gradient(145deg,rgba(85, 68, 24,.26),rgba(25, 21, 12,.3));box-shadow:0 12px 35px rgba(0, 0, 0,.16)}
.admin-page .admin-mini-grid{gap:14px}.admin-page .admin-stat{min-height:132px;padding:18px;border-radius:19px;background:linear-gradient(145deg,rgba(65, 51, 16,.94),rgba(27, 22, 10,.98));border-color:rgba(233, 195, 98,.13);box-shadow:0 15px 40px rgba(0, 0, 0,.14);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.admin-page .admin-stat:hover{transform:translateY(-2px);border-color:rgba(244, 204, 102,.28);box-shadow:0 20px 50px rgba(0, 0, 0,.22)}.admin-page .admin-stat-icon{width:38px;height:38px;border-radius:12px;color:#FFD876;background:rgba(224, 187, 94,.09);border-color:rgba(231, 193, 97,.13)}
.admin-page .admin-card{border-radius:20px;border-color:rgba(219, 183, 92,.12);background:linear-gradient(145deg,rgba(41, 34, 16,.91),rgba(20, 16, 8,.96));box-shadow:0 18px 55px rgba(0, 0, 0,.16),inset 0 1px 0 rgba(255, 255, 255,.025)}.admin-page .admin-card:hover{border-color:rgba(231, 193, 97,.18)}
.admin-page .admin-section-head{padding-bottom:15px;border-bottom:1px solid rgba(255, 255, 255,.045);margin-bottom:12px}.admin-page .admin-section-label{font-size:7px;letter-spacing:1.7px;color:#FAD169;font-weight:950}.admin-page .admin-section-head h2{font-size:19px;margin-top:5px}.admin-page .admin-card-mark{padding:6px 9px;border:1px solid rgba(240, 202, 107,.15);border-radius:999px;color:#E9C875;background:rgba(91, 72, 25,.16);font-size:7px;font-weight:950;letter-spacing:1px}
.admin-page .admin-table-wrap{border:1px solid rgba(255, 255, 255,.045);border-radius:15px;background:rgba(0, 0, 0,.12)}.admin-page .admin-table{border-collapse:separate;border-spacing:0;width:100%}.admin-page .admin-table th{padding:12px 13px;background:rgba(255, 255, 255,.025);color:#C0B18A;font-size:7px;letter-spacing:1px;text-transform:uppercase}.admin-page .admin-table td{padding:13px;border-top:1px solid rgba(255, 255, 255,.035);font-size:9px}.admin-page .admin-table tbody tr,.admin-page .admin-table tr{transition:background .16s ease}.admin-page .admin-table tr:hover td{background:rgba(230, 192, 97,.025)}.admin-page .admin-user-cell{gap:10px}.admin-page .admin-avatar{width:35px;height:35px;border-radius:11px;background:linear-gradient(145deg,#775D1D,#3D3111);border:1px solid rgba(241, 201, 101,.15);color:#FFEBB7;box-shadow:0 8px 22px rgba(0, 0, 0,.18)}
.admin-page .admin-credit-action{padding:4px;border:1px solid rgba(255, 255, 255,.055);background:rgba(0, 0, 0,.13);border-radius:13px}.admin-page .admin-credit-action input{width:76px!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:center}.admin-page .admin-credit-action .btn{min-width:78px}.admin-page .admin-credit-action:focus-within{border-color:rgba(246, 206, 103,.28);box-shadow:0 0 0 3px rgba(240, 201, 101,.06)}
.admin-page .btn{position:relative;overflow:hidden;font-weight:900;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,opacity .16s ease}.admin-page .btn:not(:disabled):active{transform:translateY(1px) scale(.99)}.admin-page .btn:disabled{cursor:not-allowed;opacity:.55;transform:none}.admin-page .btn.gold{box-shadow:0 10px 25px rgba(229, 191, 96,.13)}.admin-page .btn.primary{box-shadow:0 10px 28px rgba(224, 187, 94,.14)}
.admin-page .admin-save-btn{min-height:48px;border-radius:13px;font-size:10px}.admin-page .admin-plan-row{padding:14px!important;border-color:rgba(219, 183, 92,.08);background:linear-gradient(145deg,rgba(255, 255, 255,.025),rgba(0, 0, 0,.08))}.admin-page .admin-plan-row input,.admin-page .admin-form input{min-height:45px}.admin-page .admin-plan-row:focus-within{border-color:rgba(236, 197, 99,.25);background:rgba(211, 176, 89,.035)}
.admin-page .admin-log-card{overflow:hidden}.admin-page .admin-log-table td{padding-top:12px;padding-bottom:12px}.admin-page .admin-action-pill{border-color:rgba(235, 196, 99,.13);background:rgba(190, 159, 80,.08);color:#FBDD91;white-space:nowrap}.admin-page .admin-log-details{padding:8px 10px;border:1px solid rgba(255, 255, 255,.045);border-radius:9px;background:rgba(0, 0, 0,.13);color:#B7A579;max-height:80px;overflow:auto}
.admin-row-success td{background:rgba(220, 184, 92,.08)!important;transition:background .2s ease}.admin-page .empty{padding:28px 15px}
@media(max-width:900px){.admin-page .admin-welcome{align-items:stretch}.admin-page .admin-welcome-badge{min-width:210px}.admin-page .admin-grid{grid-template-columns:1fr}}
@media(max-width:680px){.admin-page .admin-topbar{padding-top:10px}.admin-page .admin-topbar .page-title{font-size:30px}.admin-page .admin-welcome{padding:18px}.admin-page .admin-welcome-copy h2{font-size:20px}.admin-page .admin-welcome-badge{width:100%;min-width:0;margin-top:14px}.admin-page .admin-mini-grid{grid-template-columns:1fr 1fr!important}.admin-page .admin-stat{min-height:115px;padding:14px}.admin-page .admin-stat strong{font-size:23px}.admin-page .admin-card{border-radius:17px}.admin-page .admin-section-head h2{font-size:17px}.admin-page .admin-section-head{align-items:flex-start}.admin-page .admin-section-head>.pill,.admin-page .admin-card-mark{margin-top:2px}.admin-page .admin-table-wrap{overflow-x:auto}.admin-page .admin-table{min-width:760px}.admin-page .admin-log-table{min-width:700px}.admin-page .admin-credit-action{min-width:150px}.admin-page .admin-credit-action input{width:68px!important}.admin-page .admin-credit-action .btn{min-width:76px}.admin-page .admin-plan-row{grid-template-columns:1fr 1fr!important}.admin-page .admin-plan-info{grid-column:1/-1}.admin-page .admin-save-btn{min-height:48px}}
@media(max-width:430px){.admin-page .admin-mini-grid{grid-template-columns:1fr!important}.admin-page .admin-stat{min-height:100px}.admin-page .admin-welcome-copy p{font-size:9px}.admin-page .admin-credit-action{min-width:145px}.admin-page .admin-credit-action input{width:62px!important}.admin-page .admin-credit-action .btn{padding-left:9px;padding-right:9px}.admin-page .admin-table td{padding:11px}.admin-page .admin-plan-row{grid-template-columns:1fr!important}.admin-page .admin-plan-info{grid-column:auto}}

/* =========================================================
   MOBILE FINAL — ADMIN E PAINEL
   Mantém o visual desktop e melhora toque/legibilidade.
   ========================================================= */
@media (max-width: 620px){
  body{padding-bottom:92px!important}
  .side{padding:7px 8px!important;background:rgba(18, 15, 7,.96)!important;backdrop-filter:blur(18px);border-top:1px solid rgba(238, 200, 105,.12)}
  .side .nav{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:7px!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;padding:0 2px!important}
  .side .nav::-webkit-scrollbar{display:none!important}
  .side .nav a,.side .nav button{flex:0 0 72px!important;width:72px!important;min-width:72px!important;height:62px!important;min-height:62px!important;padding:6px 4px!important;border-radius:13px!important;font-size:8px!important;line-height:1.1!important;white-space:normal!important}
  .side .nav a.active{background:linear-gradient(145deg,rgba(205, 171, 86,.22),rgba(101, 79, 24,.2))!important;border-color:rgba(240, 201, 101,.2)!important}
  .side .nav-icon{width:30px!important;height:30px!important;flex:0 0 30px!important}
  .side .nav-icon img{width:16px!important;height:16px!important}
  .side .nav-badge{position:absolute!important;top:3px!important;right:5px!important;min-width:16px!important;height:16px!important;font-size:8px!important}

  .admin-page{padding:15px 11px 28px!important}
  .admin-page .admin-topbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
  .admin-page .admin-top-actions{width:100%!important}
  .admin-page .admin-users-pill{width:100%!important;justify-content:center!important}
  .admin-page .admin-welcome{display:flex!important;flex-direction:column!important;padding:17px!important;gap:14px!important}
  .admin-page .admin-welcome-badge{margin:0!important;width:100%!important;box-sizing:border-box!important}
  .admin-page .admin-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .admin-page .admin-stat{min-width:0!important;min-height:108px!important;padding:13px!important}
  .admin-page .admin-stat strong{font-size:23px!important}
  .admin-page .admin-stat span{font-size:8px!important}
  .admin-page .admin-card{padding:14px!important;border-radius:17px!important}
  .admin-page .admin-section-head{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
  .admin-page .admin-section-head>div{flex:1 1 100%!important;min-width:0!important}
  .admin-page .admin-section-head>.pill,.admin-page .admin-card-mark{margin:0!important}

  .admin-page .admin-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;border-radius:12px!important}
  .admin-page .admin-table{width:max-content!important;min-width:760px!important;table-layout:auto!important}
  .admin-page .admin-log-table{min-width:690px!important}
  .admin-page .admin-table th,.admin-page .admin-table td{white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important}
  .admin-page .admin-credit-action{display:flex!important;align-items:center!important;min-width:154px!important}
  .admin-page .admin-credit-action input{width:64px!important;flex:0 0 64px!important}
  .admin-page .admin-credit-action .btn{flex:1 1 auto!important;min-width:76px!important}

  .admin-page .admin-grid{grid-template-columns:1fr!important;gap:12px!important}
  .admin-page .admin-form label,.admin-page .admin-plan-row label{font-size:9px!important}
  .admin-page .admin-form input,.admin-page .admin-plan-row input{width:100%!important;box-sizing:border-box!important;min-height:47px!important}
  .admin-page .admin-save-btn{width:100%!important;min-height:49px!important}
  .admin-page .admin-plan-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
  .admin-page .admin-plan-info{grid-column:1/-1!important;min-width:0!important}
  .admin-page .admin-plan-info strong,.admin-page .admin-plan-info small{overflow-wrap:anywhere}
  .admin-page .admin-log-details{display:block!important;max-width:360px!important;white-space:pre-wrap!important;word-break:break-word!important}
}
@media (max-width:390px){
  .side .nav a,.side .nav button{flex-basis:68px!important;width:68px!important;min-width:68px!important}
  .admin-page .admin-mini-grid{grid-template-columns:1fr!important}
  .admin-page .admin-stat{min-height:96px!important}
  .admin-page .admin-plan-row{grid-template-columns:1fr!important}
  .admin-page .admin-plan-info{grid-column:auto!important}
}


/* =========================================================
   WHATSAPP X — IDENTIDADE PREMIUM | PRETO + DOURADO METÁLICO
   ========================================================= */
:root{
  --bg:#010204;
  --bg-deep:#010204;
  --panel:#060809;
  --panel-2:#0F0D09;
  --panel-3:#171309;
  --line:rgba(226, 189, 95,.14);
  --line-strong:rgba(241, 202, 104,.34);
  --blue:#E7C161;
  --blue-2:#AE9149;
  --blue-glow:rgba(231, 193, 97,.20);
  --gold:#FFD56B;
  --gold-2:#AE9149;
  --gold-glow:rgba(240, 202, 107,.18);
}
body{
  background:
    radial-gradient(circle at 11% 8%,rgba(240, 202, 107,.09),transparent 28%),
    radial-gradient(circle at 87% 10%,rgba(212, 177, 89,.08),transparent 24%),
    radial-gradient(circle at 50% 110%,rgba(240, 202, 107,.05),transparent 32%),
    linear-gradient(145deg,#010204 0%,#050608 48%,#010204 100%);
}
body::after{background:radial-gradient(circle,rgba(240, 202, 107,.08),transparent 65%)}
.brand b,.landing-brand strong,.auth-brand strong{color:#FFD56B !important}
.brand-sub,.auth-brand small,.landing-brand span span{color:#8F7D50 !important}
.side{
  background:linear-gradient(180deg,rgba(5, 8, 10,.99),rgba(2, 2, 2,.99)) !important;
  border-right-color:rgba(240, 202, 107,.18) !important;
}
.card,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card,.automation-card,
.campaign-panel,.campaign-history-card,.campaign-stat-card,.plan-card,.account-card,.project-buy,
.automation-save-card,.automation-hero-card,.session-item,.hero-card,.creator-panel{
  background:linear-gradient(145deg,rgba(29, 24, 11,.96),rgba(4, 6, 7,.99)) !important;
  border-color:rgba(240, 202, 107,.20) !important;
  box-shadow:0 28px 90px rgba(0, 0, 0,.42),inset 0 1px 0 rgba(255, 255, 255,.035) !important;
}
.card::after,.campaign-builder-shell::after,.campaign-history-shell::after{
  background:radial-gradient(circle,rgba(240, 202, 107,.09),transparent 68%) !important;
}
.nav a.active{
  background:linear-gradient(135deg,rgba(240, 202, 107,.16),rgba(48, 40, 18,.88)) !important;
  border-color:rgba(240, 202, 107,.27) !important;
}
.nav a.active .nav-icon,.stat-icon,.group-option-icon,.delivery-icon,.photo-drop-icon,.schedule-preview-icon{
  background:linear-gradient(145deg,#A58A45,#FFD56B) !important;
  color:#03070B !important;
  border-color:rgba(241, 203, 107,.32) !important;
}
.nav-icon img,.account-lock img,.inline-asset,.btn-asset,.creator-brand img,.creator-chip img{
  filter:drop-shadow(0 0 9px rgba(240, 202, 107,.34)) !important;
}
.primary,.campaign-submit,.automation-save-btn{
  background:linear-gradient(145deg,#A58A45,#FFD56B) !important;
  color:#100D06 !important;
  border-color:rgba(255, 220, 130,.28) !important;
  box-shadow:0 12px 34px rgba(240, 202, 107,.15) !important;
}
.btn.gold,.gold{background:linear-gradient(145deg,#A58A45,#FFD56B) !important;color:#100D06 !important}
.secondary{border-color:rgba(240, 202, 107,.20) !important;background:rgba(255, 255, 255,.018) !important}
input:focus,textarea:focus,select:focus,.field-control input:focus,.field-control select:focus,.field-control textarea:focus{
  border-color:rgba(240, 202, 107,.58) !important;
  box-shadow:0 0 0 4px rgba(240, 202, 107,.08) !important;
}
.field-control input,.field-control select,.field-control textarea,
input,textarea,select{background:rgba(5, 6, 8,.88) !important;border-color:rgba(240, 202, 107,.16) !important}
.hero-card,.hero,.auth,.project-buy,.creator-panel{
  background-image:linear-gradient(90deg,rgba(2, 2, 2,.98) 0%,rgba(4, 6, 9,.86) 40%,rgba(240, 202, 107,.16) 100%),var(--theme-banner-url, none) !important;
  background-size:cover;
  background-position:center;
}
.hero-logo{filter:drop-shadow(0 0 36px rgba(240, 202, 107,.25)) !important}
.hero h1 span,.metric.balance,.project-price strong{color:#FFD56B !important;text-shadow:0 0 28px rgba(240, 202, 107,.16)}
.eyebrow,.theme-kicker,.theme-current{color:#D8B55B !important}
.eyebrow-dot,.feature-dot{background:#FFD56B !important;box-shadow:0 0 14px rgba(240, 202, 107,.62) !important}
.pill,.pro-chip{border-color:rgba(240, 202, 107,.20) !important;background:rgba(240, 202, 107,.08) !important;color:#E3BE62 !important}
.plan-badge{background:linear-gradient(145deg,#B4964C,#FFDA7D) !important;color:#030609 !important}
.plan-orb,.account-avatar,.admin-avatar{background:linear-gradient(145deg,#423410,#0F0C06) !important;border-color:rgba(240, 202, 107,.20) !important;color:#FFD56B !important}
.creator-avatar{background:linear-gradient(145deg,#3B2F11,#03070B) !important;border-color:rgba(240, 202, 107,.22) !important}
body[data-theme="blue"],body[data-theme="green"],body[data-theme="pink"],body[data-theme="red"],body[data-theme="blue-gold"],body[data-theme="pink-gold"]{
  --accent:#FFD56B !important;
  --accent-2:#AE9149 !important;
  --accent-rgb:240,197,107 !important;
  --blue:#D4AF37 !important;
  --blue-2:#AE9149 !important;
}



/* =====================================================================
   WHATSAPP X / Developer Startup X — VISUAL SYSTEM V4
   Preto absoluto + dourado metálico • desktop + tablet + mobile
   ===================================================================== */
:root{
  --bg:#020203;
  --bg-deep:#000101;
  --surface:#060809;
  --surface-2:#0D0C08;
  --surface-3:#14110B;
  --surface-4:#1B170D;
  --line:rgba(212, 177, 89,.19);
  --line-soft:rgba(212, 177, 89,.11);
  --line-strong:rgba(245, 213, 132,.42);
  --text:#FFF9EB;
  --muted:#B7A579;
  --soft:#7F704A;
  --accent:#FFD56B;
  --accent-2:#8D6F22;
  --accent-3:#F5D78A;
  --accent-rgb:212,175,55;
  --success:#D8B55B;
  --danger:#A88C47;
  --shadow:0 34px 100px rgba(0, 0, 0,.58);
  --shadow-soft:0 20px 60px rgba(0, 0, 0,.42);
  --radius:22px;
  --sidebar:306px;
}

html,body{width:100%;max-width:100%;overflow-x:hidden;background:#010202}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text)!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(900px 520px at 8% -8%,rgba(212, 177, 89,.10),transparent 62%),
    radial-gradient(760px 520px at 104% 2%,rgba(166, 139, 70,.09),transparent 64%),
    radial-gradient(780px 460px at 52% 112%,rgba(212, 177, 89,.055),transparent 68%),
    linear-gradient(145deg,#000101 0%,#040607 48%,#010202 100%)!important;
  letter-spacing:.01em;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    linear-gradient(rgba(212, 177, 89,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(212, 177, 89,.025) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,rgba(0, 0, 0,.72),transparent 92%);
  opacity:.55;
}
body::after{
  content:"";
  position:fixed;
  right:-15vw;
  bottom:-18vw;
  width:46vw;
  height:46vw;
  max-width:720px;
  max-height:720px;
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(circle,rgba(212, 177, 89,.08),transparent 68%);
  filter:blur(34px);
  z-index:0;
}

img{max-width:100%}
button,input,textarea,select{font:inherit}
button{border:0}
a{color:inherit;text-decoration:none}
::selection{background:rgba(212, 177, 89,.30);color:#FFFDF5}
:focus-visible{outline:2px solid rgba(245, 215, 138,.72);outline-offset:2px}

/* ============================= GLOBAL LAYER ========================= */
.shell,.main,.side,.landing-nav,.landing-hero,.landing-features,.landing-bottom,.auth-modern{position:relative;z-index:1}
.main{
  margin-left:var(--sidebar)!important;
  width:calc(100% - var(--sidebar))!important;
  min-width:0;
  padding:38px 40px 78px!important;
}
.topbar{gap:18px;margin-bottom:24px;align-items:flex-start}
.page-title{font-size:clamp(30px,3.2vw,48px)!important;line-height:1.02!important;color:#FFFAF0!important;letter-spacing:-1.8px!important}
.page-sub{color:var(--muted)!important;font-size:12px;line-height:1.7}
.eyebrow,.admin-kicker,.theme-kicker{color:var(--accent-3)!important;font-weight:900;letter-spacing:1.7px}
.eyebrow-dot,.feature-dot{background:var(--accent)!important;box-shadow:0 0 18px rgba(212, 177, 89,.72)!important}

/* ============================== SIDEBAR ============================= */
.side{
  width:var(--sidebar)!important;
  background:linear-gradient(180deg,rgba(5, 6, 8,.985),rgba(1, 2, 2,.99))!important;
  border-right:1px solid rgba(212, 177, 89,.22)!important;
  box-shadow:20px 0 80px rgba(0, 0, 0,.55)!important;
  backdrop-filter:blur(24px);
}
.side::before{background:radial-gradient(circle at 50% 20%,rgba(212, 177, 89,.13),transparent 65%)!important}
.side::after{background:linear-gradient(180deg,rgba(245, 215, 138,.42),transparent 27%,transparent 73%,rgba(141, 111, 34,.35))!important}
.brand-row{border-bottom-color:rgba(212, 177, 89,.13)!important}
.brand-logo{filter:drop-shadow(0 0 24px rgba(212, 177, 89,.30))!important}
.brand{font-size:20px!important;letter-spacing:.8px!important;color:#FFF9EC!important}
.brand b,.landing-brand strong,.auth-brand strong{color:var(--accent-3)!important}
.brand-sub,.landing-brand span span,.auth-brand small{color:#A78C46!important}
.account-card{
  background:linear-gradient(150deg,#231D0D,#040607)!important;
  border-color:rgba(212, 177, 89,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255, 230, 168,.04),0 16px 42px rgba(0, 0, 0,.38)!important;
}
.account-avatar,.avatar{
  background:linear-gradient(145deg,#261F0E,#0C0A05)!important;
  border:1px solid rgba(245, 215, 138,.32)!important;
  color:var(--accent-3)!important;
  box-shadow:0 0 28px rgba(212, 177, 89,.17)!important;
}
.account-copy small,.user-pill small{color:#907E50!important}
.account-lock{background:rgba(212, 177, 89,.06)!important;border-color:rgba(212, 177, 89,.20)!important;color:var(--accent-3)!important}
.nav-title{color:#8D7B4C!important}
.nav a,.nav button{color:#A6966E!important}
.nav a:hover,.nav button:hover{color:#FFFDF5!important;background:rgba(212, 177, 89,.07)!important;border-color:rgba(212, 177, 89,.13)!important}
.nav a.active{
  color:#FFFDF5!important;
  background:linear-gradient(135deg,rgba(212, 177, 89,.18),rgba(38, 31, 14,.86))!important;
  border-color:rgba(245, 215, 138,.28)!important;
  box-shadow:inset 0 0 26px rgba(212, 177, 89,.05),0 12px 34px rgba(0, 0, 0,.22)!important;
}
.nav-icon{
  background:linear-gradient(145deg,#171309,#050709)!important;
  border-color:rgba(212, 177, 89,.17)!important;
  color:var(--accent-3)!important;
}
.nav a.active .nav-icon{
  background:linear-gradient(145deg,#8A6C21,#F0CC70)!important;
  color:#04070A!important;
  border-color:rgba(255, 224, 146,.45)!important;
  box-shadow:0 0 24px rgba(212, 177, 89,.28)!important;
}
.nav-icon img,.account-lock img,.inline-asset,.btn-asset,.creator-brand img,.creator-chip img,.pro-stat-icon img,.stat-icon img{filter:drop-shadow(0 0 9px rgba(212, 177, 89,.34))!important}
.logout-wrap{border-top-color:rgba(212, 177, 89,.10)!important}
.danger,.btn.danger{
  background:linear-gradient(145deg,#1D180B,#020407)!important;
  color:#F5D480!important;
  border-color:rgba(212, 177, 89,.23)!important;
}

/* ================================ UI ================================= */
.pill,.content-pill,.group-count-pill,.billing-badge,.pro-chip,.admin-action-pill{
  background:rgba(212, 177, 89,.08)!important;
  border-color:rgba(212, 177, 89,.22)!important;
  color:#E3C16B!important;
}
.pill b,.pro-chip b{color:#FFE6A8!important}
.btn{
  min-height:44px;
  border-radius:13px;
  border-color:rgba(212, 177, 89,.18)!important;
  box-shadow:0 12px 30px rgba(0, 0, 0,.28)!important;
}
.btn:hover{box-shadow:0 20px 42px rgba(0, 0, 0,.38)!important}
.btn.primary,.primary,.btn.gold,.gold,.campaign-submit,.automation-save-btn{
  background:linear-gradient(145deg,#8A6C21 0%,#D3B059 40%,#F5D993 100%)!important;
  color:#03070B!important;
  border-color:rgba(255, 228, 159,.38)!important;
  box-shadow:0 14px 32px rgba(212, 177, 89,.18),inset 0 1px 0 rgba(255, 230, 168,.34)!important;
}
.btn.secondary,.secondary{
  color:#E9D39A!important;
  background:linear-gradient(145deg,#17140B,#050608)!important;
  border-color:rgba(212, 177, 89,.20)!important;
}
.action-row{gap:10px}

/* =============================== CARDS ============================== */
.card,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card,
.automation-card,.campaign-panel,.campaign-history-card,.campaign-stat-card,.plan-card,
.account-card,.project-buy,.automation-save-card,.automation-hero-card,.session-item,.hero-card,
.creator-panel,.pro-stat,.admin-welcome,.admin-card,.admin-stat{
  color:var(--text)!important;
  background:linear-gradient(145deg,rgba(20, 17, 9,.97),rgba(3, 4, 5,.995))!important;
  border-color:rgba(212, 177, 89,.19)!important;
  box-shadow:var(--shadow-soft),inset 0 1px 0 rgba(255, 230, 168,.035)!important;
}
.card::before,.campaign-builder-shell::before,.campaign-history-shell::before,.notice-card::before,.whatsapp-session-card::before{
  background:linear-gradient(135deg,rgba(255, 230, 168,.035),transparent 26%,transparent 74%,rgba(212, 177, 89,.028))!important;
}
.card::after,.campaign-builder-shell::after,.campaign-history-shell::after{
  background:radial-gradient(circle,rgba(212, 177, 89,.11),transparent 70%)!important;
}
.section-head h2,.section-head h3,.card h2,.card h3{color:#FFE6A8!important}
.stat-icon,.group-option-icon,.delivery-icon,.photo-drop-icon,.schedule-preview-icon,.pro-stat-icon,.automation-section-icon{
  background:linear-gradient(145deg,#2B2310,#03070B)!important;
  color:#F0CF7B!important;
  border:1px solid rgba(212, 177, 89,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255, 230, 168,.05),0 0 24px rgba(212, 177, 89,.08)!important;
}
.metric.balance,.hero h1 span,.project-price strong,.balance{color:#F2CF76!important;text-shadow:0 0 28px rgba(212, 177, 89,.19)!important}
.label,.admin-section-label{color:#9A8859!important}
.metric-note,.small-note,.pro-muted{color:#7E6F49!important}

/* ================================= FORMS ============================= */
input,textarea,select,.field-control input,.field-control select,.field-control textarea,.session-select,
.modern-search,.search-box,.auth-form input,.auth-form select,.auth-form textarea,.setting-form input{
  color:#FFE6A8!important;
  background:linear-gradient(180deg,#0C0A06,#020305)!important;
  border:1px solid rgba(212, 177, 89,.16)!important;
  border-radius:13px!important;
  box-shadow:inset 0 1px 0 rgba(255, 230, 168,.03)!important;
}
input::placeholder,textarea::placeholder{color:#65593B!important}
input:focus,textarea:focus,select:focus,.field-control input:focus,.field-control select:focus,.field-control textarea:focus,.auth-form input:focus{
  border-color:rgba(245, 215, 138,.62)!important;
  box-shadow:0 0 0 4px rgba(212, 177, 89,.09),0 0 30px rgba(212, 177, 89,.06)!important;
}
input[type="checkbox"],input[type="radio"]{accent-color:#FFD56B}
.modern-field,.field-control>span{color:#B5A377!important}
.modern-field small,.field-control small{color:#736543!important}

/* ============================ DATA / TABLES ========================== */
.table-wrap,.history-table-log{border-color:rgba(212, 177, 89,.13)!important;background:#020305!important}
.table{color:#EED79D!important}
.table th{background:rgba(212, 177, 89,.055)!important;color:#AA935A!important;border-color:rgba(212, 177, 89,.10)!important}
.table td{border-color:rgba(212, 177, 89,.07)!important}
.table tr:hover td{background:rgba(212, 177, 89,.035)!important}
.empty,.campaign-empty,.model-empty{color:#746643!important;background:rgba(212, 177, 89,.025)!important;border-color:rgba(212, 177, 89,.13)!important}
.positive,.negative{color:#E6C46D!important}

/* ========================== CAMPAIGNS / GROUPS ======================== */
.campaign-topbar .page-sub{color:#9F9069!important}
.campaign-builder-shell,.campaign-history-shell{background:linear-gradient(145deg,#231D0D,#020305)!important}
.campaign-panel{background:linear-gradient(145deg,#120F08,#030406)!important}
.modern-selector,.pro-events,.model-targets,.group-list,.live-log-list,.campaign-edit-selected-groups{scrollbar-width:thin;scrollbar-color:#6D561A transparent}
.modern-selector::-webkit-scrollbar,.pro-events::-webkit-scrollbar,.model-targets::-webkit-scrollbar,.group-list::-webkit-scrollbar,.live-log-list::-webkit-scrollbar{width:7px}
.modern-selector::-webkit-scrollbar-thumb,.pro-events::-webkit-scrollbar-thumb,.model-targets::-webkit-scrollbar-thumb,.group-list::-webkit-scrollbar-thumb,.live-log-list::-webkit-scrollbar-thumb{background:#795F1D;border-radius:99px}
.group-option,.delivery-option,.model-target,.managed-group,.session-item,.live-session-choice,.campaign-edit-option,.campaign-edit-menu-list button{
  background:linear-gradient(145deg,rgba(27, 22, 10,.92),rgba(4, 6, 8,.95))!important;
  border-color:rgba(212, 177, 89,.13)!important;
  color:#EAD39A!important;
}
.group-option:hover,.delivery-option:hover,.model-target:hover,.managed-group:hover,.live-session-choice:hover,.campaign-edit-option:hover{border-color:rgba(212, 177, 89,.28)!important;transform:translateY(-1px)}
.group-option.selected,.delivery-option.selected,.model-target.selected,.live-session-choice.active,.managed-group .active{
  border-color:rgba(245, 215, 138,.36)!important;
  background:linear-gradient(145deg,rgba(111, 87, 27,.32),rgba(24, 20, 9,.96))!important;
  box-shadow:inset 0 0 0 1px rgba(212, 177, 89,.07),0 10px 28px rgba(0, 0, 0,.25)!important;
}
.group-check,.delivery-check,.campaign-consent input{border-color:rgba(212, 177, 89,.26)!important}
.group-check.checked,.delivery-check.checked{background:#FFD56B!important;color:#030609!important}
.status-info-box,.campaign-note,.campaign-warning,.model-dispatch-cost,.campaign-edit-credit-note,.notice-card{
  background:rgba(212, 177, 89,.055)!important;
  border-color:rgba(212, 177, 89,.15)!important;
  color:#CDB986!important;
}
.status-info-box strong,.campaign-note b,.campaign-warning strong{color:#EFD184!important}
.campaign-edit-menu>button{background:#120F07!important;color:#E8C773!important;border-color:rgba(212, 177, 89,.20)!important}
.campaign-edit-menu-list{background:#020407!important;border-color:rgba(212, 177, 89,.20)!important;box-shadow:0 24px 60px rgba(0, 0, 0,.62)!important}
.campaign-edit-back{color:#D6B562!important}
.edit-cost{color:#F0CF7B!important}

/* =========================== WHATSAPP / QR ============================ */
.whatsapp-session-card,.pairing-box,#pairingBox{background:linear-gradient(145deg,#151108,#020305)!important;border-color:rgba(212, 177, 89,.20)!important}
.pairing-green,.pairing-red{background:linear-gradient(145deg,#8A6C21,#FFD56B)!important;color:#03060A!important;border-color:rgba(245, 215, 138,.40)!important;box-shadow:0 12px 30px rgba(212, 177, 89,.16)!important}
#pairingBox input{background:#020305!important;color:#FFE6A8!important}
#qrCode,#qrcode,canvas{border-color:rgba(212, 177, 89,.22)!important}
.session-item.active{border-color:rgba(245, 215, 138,.33)!important;background:linear-gradient(145deg,rgba(102, 81, 29,.28),#020407)!important}
.session-status,.session-badge{color:#E4C472!important}

/* =============================== AUTH ================================= */
.auth-page{background:#010202!important}
.auth-modern{background:
  radial-gradient(circle at 12% 10%,rgba(212, 177, 89,.12),transparent 30%),
  radial-gradient(circle at 92% 80%,rgba(141, 111, 34,.10),transparent 30%),#010202!important}
.auth-showcase,.authbox-modern,.authbox,.auth-card{background:linear-gradient(145deg,#161208,#020305)!important;border-color:rgba(212, 177, 89,.22)!important;box-shadow:0 30px 90px rgba(0, 0, 0,.55)!important}
.auth-showcase h1{color:#FFE6A8!important}
.auth-showcase h1 span{color:#FFD56B!important}
.auth-showcase-copy,.auth-form-head p{color:#A0916A!important}
.auth-head-icon,.auth-points>div,.auth-badge{background:rgba(212, 177, 89,.055)!important;border-color:rgba(212, 177, 89,.16)!important;color:#E3C26F!important}
.auth-points span{background:linear-gradient(145deg,#2A2310,#03060A)!important;color:#FFD56B!important;border-color:rgba(212, 177, 89,.25)!important}
.auth-switch,.auth-home-link{color:#9D8A5B!important}
.auth-submit{background:linear-gradient(145deg,#8A6C21,#FFD56B)!important;color:#03060A!important}

/* =============================== LANDING ============================== */
.landing-page{background:#010202!important}
.landing-nav{background:rgba(2, 2, 3,.82)!important;border-bottom-color:rgba(212, 177, 89,.15)!important;backdrop-filter:blur(20px)}
.landing-brand img{filter:drop-shadow(0 0 26px rgba(212, 177, 89,.3))!important}
.landing-hero{background:radial-gradient(circle at 70% 25%,rgba(212, 177, 89,.09),transparent 28%)!important}
.landing-kicker{color:#DAB861!important}
.landing-copy h1{color:#FFF9E9!important}
.landing-copy h1 span{color:#FFD56B!important;text-shadow:0 0 34px rgba(212, 177, 89,.18)!important}
.landing-copy>p{color:#A0916A!important}
.landing-feature,.landing-bottom-box,.landing-preview{background:linear-gradient(145deg,#151209,#020305)!important;border-color:rgba(212, 177, 89,.17)!important}
.landing-feature-icon,.preview-window{background:linear-gradient(145deg,#1F1A0C,#020407)!important;border-color:rgba(212, 177, 89,.16)!important}
.landing-feature-icon img{filter:drop-shadow(0 0 11px rgba(212, 177, 89,.35))!important}
.preview-window{box-shadow:0 25px 80px rgba(0, 0, 0,.50)!important}

/* =============================== AUTOMATION ========================== */
.automation-hero{background:linear-gradient(145deg,#231D0D,#030406)!important;border-color:rgba(212, 177, 89,.20)!important}
.automation-badge,.automation-hero-points span,.automation-footer-note,.automation-shortcuts span,.macro,.mini-macro{
  background:rgba(212, 177, 89,.055)!important;border-color:rgba(212, 177, 89,.16)!important;color:#D5BA77!important}
.automation-hero h2 b{color:#FFD56B!important;text-shadow:0 0 34px rgba(212, 177, 89,.2)!important}
.field-checkbox{background:rgba(212, 177, 89,.03)!important;border-color:rgba(212, 177, 89,.13)!important}
.checkbox-line{color:#DFC993!important}
.automation-section-icon.blue,.automation-section-icon.green,.automation-section-icon.gold{box-shadow:0 0 28px rgba(212, 177, 89,.10)!important}
.live-indicator,.save-status>span.live,.save-status>span.saved,.automation-live-pill.online>span{background:#FFD56B!important;box-shadow:0 0 14px rgba(212, 177, 89,.55)!important}
.automation-save-card{background:linear-gradient(145deg,#181409,#020305)!important}

/* =============================== ADMIN ================================= */
.admin-page .admin-welcome{background:linear-gradient(145deg,#1A150A,#020305)!important;border-color:rgba(212, 177, 89,.22)!important}
.admin-page .admin-welcome-badge{background:rgba(212, 177, 89,.055)!important;border-color:rgba(212, 177, 89,.20)!important}
.admin-page .admin-kicker{color:#E2C16E!important}
.admin-page .admin-live-dot{background:#FFD56B!important;box-shadow:0 0 12px rgba(212, 177, 89,.72)!important}
.admin-page .admin-stat{background:linear-gradient(145deg,#161208,#020305)!important}
.admin-page .admin-stat-icon{background:linear-gradient(145deg,#2B2310,#040609)!important;color:#E8C773!important}
.admin-page .admin-card{background:linear-gradient(145deg,#151108,#020305)!important}
.admin-page .admin-card-mark{color:#E2C16D!important;background:rgba(212, 177, 89,.055)!important;border-color:rgba(212, 177, 89,.17)!important}
.admin-page .admin-avatar{background:linear-gradient(145deg,#2B2310,#040609)!important;color:#EBCB7A!important;border-color:rgba(212, 177, 89,.20)!important}
.admin-page .admin-status.is-active,.admin-page .admin-status.is-blocked{color:#DEBD6A!important}
.admin-page .admin-status i{background:#FFD56B!important;box-shadow:0 0 9px rgba(212, 177, 89,.55)!important}
.admin-page .admin-credit-action{border-color:rgba(212, 177, 89,.13)!important;background:#020407!important}
.admin-page .admin-credit-action:focus-within{border-color:rgba(212, 177, 89,.34)!important;box-shadow:0 0 0 3px rgba(212, 177, 89,.06)!important}

/* =============================== PURCHASE ============================= */
.plans-grid{align-items:stretch}
.plan-card{background:linear-gradient(145deg,#231D0D,#030406)!important}
.plan-badge{background:linear-gradient(145deg,#8B6D21,#F2D07B)!important;color:#03060A!important}
.plan-orb{background:radial-gradient(circle at 35% 30%,#D9B55B,#3A2E10 60%,#020407 100%)!important;box-shadow:0 0 30px rgba(212, 177, 89,.18)!important}
.project-buy{background:linear-gradient(145deg,#231D0D,#020305)!important}

/* =============================== FOOTER =============================== */
.coder-footer{background:linear-gradient(180deg,rgba(4, 7, 10,.70),rgba(1, 2, 2,.96))!important;border-top:1px solid rgba(212, 177, 89,.13)!important}
.coder-footer::before{background:linear-gradient(90deg,transparent,rgba(212, 177, 89,.35),transparent)!important}
.coder-footer-kicker,.coder-footer-title b{color:#E9C770!important}
.coder-footer-title strong{color:#FFE6A8!important}
.coder-footer-sub{color:#80714A!important}

/* ============================== MODALS ================================= */
.campaign-photo-modal-backdrop,.modal-backdrop,.overlay{background:rgba(0, 0, 0,.84)!important;backdrop-filter:blur(10px)}
.campaign-photo-modal-dialog,.modal,.dialog{background:linear-gradient(145deg,#181409,#020305)!important;border-color:rgba(212, 177, 89,.23)!important;box-shadow:0 30px 100px rgba(0, 0, 0,.72)!important;color:#FFE6A8!important}
.campaign-photo-modal-head,.campaign-photo-modal-footer{border-color:rgba(212, 177, 89,.12)!important}
.campaign-photo-modal-close,.campaign-photo-modal-close-bottom{background:#04080B!important;color:#E8C773!important;border-color:rgba(212, 177, 89,.20)!important}

/* ============================ NO BLUE / NO GREEN ===================== */
[class*="blue"],.primary,.pairing-green,.save-status>span.live,.save-status>span.saved{color:inherit}
.campaign-live-dot,.live-dot,.status-dot,.online-dot{background:#FFD56B!important;box-shadow:0 0 12px rgba(212, 177, 89,.55)!important}
.live-session-dot,.model-result-dot,.history-live i{background:#FFD56B!important;box-shadow:0 0 10px rgba(212, 177, 89,.60)!important}
.campaign-warning,.campaign-error,.error-message{color:#E2C06A!important;background:rgba(110, 86, 26,.12)!important;border-color:rgba(212, 177, 89,.18)!important}

/* ============================= RESPONSIVE ============================= */
@media (max-width:1180px){
  :root{--sidebar:270px}
  .main{padding:30px 28px 74px!important}
  .grid,.pro-stat-grid,.campaign-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .two,.three,.automation-layout,.campaign-form{grid-template-columns:1fr!important}
  .campaign-form{grid-template-areas:"groups" "delivery" "composer"!important}
}

@media (max-width:900px){
  .main{margin-left:0!important;width:100%!important;padding:28px 20px 100px!important}
  .side{
    position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;
    width:100%!important;height:82px!important;min-height:82px!important;
    padding:7px 8px!important;border-right:0!important;border-top:1px solid rgba(212, 177, 89,.22)!important;
    box-shadow:0 -20px 70px rgba(0, 0, 0,.58)!important;overflow:hidden!important;
    z-index:1000!important;
  }
  .side::before{display:none}
  .brand-row,.account-card,.nav-title,.logout-wrap{display:none!important}
  .nav{height:100%!important;display:flex!important;align-items:stretch!important;gap:7px!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;overscroll-behavior-x:contain!important}
  .nav::-webkit-scrollbar{display:none!important}
  .nav a,.nav button{position:relative;flex:0 0 78px!important;width:78px!important;min-width:78px!important;height:66px!important;min-height:66px!important;margin:0!important;padding:7px 5px!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:5px!important;text-align:center!important;font-size:8px!important;line-height:1.15!important}
  .nav a.active{background:linear-gradient(145deg,rgba(212, 177, 89,.19),rgba(35, 29, 13,.84))!important}
  .nav-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:10px!important}
  .nav-icon img{width:17px!important;height:17px!important}
  .nav-badge{position:absolute!important;top:3px!important;right:8px!important}
  .topbar{flex-direction:column!important;gap:14px!important}
  .user-pill{width:100%!important;min-width:0!important}
  .admin-top-actions{width:100%!important}
  .campaign-topbar .user-pill{min-width:0!important;width:100%!important}
  .landing-nav{padding:14px 18px!important}
  .landing-hero{grid-template-columns:1fr!important;padding:42px 20px 48px!important}
  .landing-preview{width:100%!important}
  .auth-layout{grid-template-columns:1fr!important;max-width:680px!important}
  .auth-showcase{min-height:0!important}
}

@media (max-width:680px){
  body{padding-bottom:84px!important}
  .main{padding:18px 12px 102px!important}
  .page-title{font-size:clamp(27px,8.5vw,37px)!important;letter-spacing:-1.1px!important}
  .page-sub{font-size:10px!important;line-height:1.65!important}
  .topbar{margin-bottom:17px!important}
  .card,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card,.automation-card,.campaign-panel,.admin-card{border-radius:18px!important;padding:16px!important}
  .grid,.pro-stat-grid,.campaign-stats-grid,.three,.two,.group-manage-grid,.plans-grid,.admin-mini-grid{grid-template-columns:1fr!important;gap:12px!important}
  .campaign-form{gap:12px!important}
  .campaign-panel{padding:14px!important}
  .campaign-topbar .page-title{font-size:32px!important}
  .section-head{align-items:flex-start!important;gap:10px!important;flex-wrap:wrap!important}
  .section-head>div{min-width:0!important;flex:1 1 100%!important}
  .section-head .pill,.section-head .billing-badge,.section-head>a,.section-head>button{width:100%;justify-content:center}
  .action-row{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .action-row .btn{width:100%!important}
  .campaign-name-row,.delivery-options,.schedule-grid-modern,.three-cols,.automation-side-column{grid-template-columns:1fr!important}
  .modern-field textarea,.modern-field input,.modern-field select{width:100%!important;max-width:100%!important}
  .modern-selector{height:360px!important;min-height:360px!important;max-height:360px!important}
  .campaign-history-card{padding:14px!important}
  .history-card-content,.history-time-grid{grid-template-columns:1fr!important}
  .history-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important}
  .history-actions .campaign-control,.campaign-edit-actions .campaign-control{width:100%!important}
  .photo-preview-modern{flex-wrap:wrap!important}
  .preview-image-frame{width:82px!important;height:82px!important;flex-basis:82px!important}
  .upload-button,.upload-button span{width:100%!important}
  .campaign-photo-modal-dialog{width:calc(100vw - 22px)!important;max-height:91vh!important;border-radius:18px!important}
  .table-wrap{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .table{min-width:650px!important}
  .admin-page .admin-table{min-width:720px!important}
  .admin-page .admin-log-table{min-width:660px!important}
  .admin-page .admin-credit-action{min-width:145px!important}
  .admin-page .admin-plan-row{grid-template-columns:1fr!important}
  .admin-page .admin-plan-info{grid-column:auto!important}
  .automation-hero{padding:20px!important;border-radius:18px!important;grid-template-columns:1fr!important}
  .automation-hero-card{width:100%!important}
  .automation-card{padding:14px!important}
  .automation-card-head{flex-wrap:wrap!important}
  .toggle-wrap{width:100%!important;margin-left:0!important}
  .landing-nav-actions .btn:first-child{display:none}
  .landing-nav-actions{margin-left:auto}
  .landing-brand img{width:40px!important;height:40px!important}
  .landing-brand strong{font-size:12px!important}
  .landing-brand span span{font-size:7px!important}
  .landing-hero{padding:28px 13px 42px!important}
  .landing-copy h1{font-size:clamp(38px,14vw,58px)!important;letter-spacing:-2.4px!important}
  .landing-actions{display:grid!important;grid-template-columns:1fr!important}
  .landing-actions .btn{width:100%!important}
  .landing-features{grid-template-columns:1fr!important;padding:0 13px 38px!important}
  .landing-bottom{padding:0 13px 25px!important}
  .landing-bottom-box{padding:20px 15px!important}
  .auth-modern{padding:12px!important}
  .auth-showcase{padding:20px 16px!important;border-radius:19px!important}
  .auth-showcase h1{font-size:clamp(34px,11vw,47px)!important}
  .auth-points{grid-template-columns:1fr!important}
  .authbox-modern{padding:20px 16px!important;border-radius:19px!important}
  .auth-form input{min-height:47px!important}
  .coder-footer{padding:16px 10px 12px!important;margin-top:16px!important}
  .coder-footer-title{font-size:12px!important}
  .coder-footer-sub{font-size:9px!important}
}

@media (max-width:430px){
  .main{padding-left:9px!important;padding-right:9px!important}
  .side{height:78px!important;min-height:78px!important;padding:6px!important}
  .nav{gap:5px!important}
  .nav a,.nav button{flex-basis:70px!important;width:70px!important;min-width:70px!important;height:64px!important;min-height:64px!important;font-size:7px!important}
  .nav-icon{width:29px!important;height:29px!important;flex-basis:29px!important}
  .nav-icon img{width:15px!important;height:15px!important}
  .card,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card,.automation-card,.campaign-panel,.admin-card{padding:13px!important}
  .page-title{font-size:28px!important}
  .campaign-topbar .page-title{font-size:29px!important}
  .admin-page .admin-mini-grid{grid-template-columns:1fr!important}
  .table{min-width:610px!important}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* ======================================================================
   WHATSAPP X / Developer Startup X — BANNER METÁLICO PRETO + DOURADO METÁLICO
   Sem imagens de banner. Textura criada apenas com CSS para ficar leve,
   nítida e responsiva em desktop e mobile.
   ====================================================================== */
:root{
  --metal-black:#050505;
  --metal-black-2:#0B0B0A;
  --metal-black-3:#14120D;
  --metal-gold:#FFD773;
  --metal-gold-2:#B7994D;
  --metal-gold-soft:rgba(242, 208, 122,.16);
}

body,
body[data-theme="blue"],body[data-theme="green"],body[data-theme="pink"],body[data-theme="red"],
body[data-theme="blue-black"],body[data-theme="blue-gold"],body[data-theme="pink-gold"]{
  --accent:#FFD773 !important;
  --accent-2:#8C6E22 !important;
  --accent-rgb:242,212,122 !important;
  --blue:#FFD773 !important;
  --blue-2:#8C6E22 !important;
  --bg:#050505 !important;
  --bg-deep:#010204 !important;
  --panel:#0B0B0A !important;
  --panel-2:#110F0C !important;
  --panel-3:#18150D !important;
  --line:rgba(242, 208, 122,.15) !important;
  --line-strong:rgba(242, 208, 122,.34) !important;
}

body{
  background:
    radial-gradient(circle at 14% 6%,rgba(242, 208, 122,.075),transparent 25%),
    radial-gradient(circle at 88% 12%,rgba(183, 153, 77,.08),transparent 25%),
    radial-gradient(circle at 55% 110%,rgba(242, 208, 122,.045),transparent 30%),
    linear-gradient(135deg,#010204 0%,#07080A 42%,#010204 100%) !important;
}

/* Todos os banners/destaques deixam de usar PNG e passam a ter textura metálica. */
.hero-card,
.auth,
.hero,
.project-buy,
.creator-panel{
  background-image:
    linear-gradient(116deg,rgba(2, 2, 2,.98) 0%,rgba(6, 7, 8,.93) 42%,rgba(31, 26, 12,.78) 100%),
    repeating-linear-gradient(118deg,rgba(255, 255, 255,.024) 0,rgba(255, 255, 255,.024) 1px,transparent 1px,transparent 7px),
    repeating-linear-gradient(0deg,rgba(242, 208, 122,.022) 0,rgba(242, 208, 122,.022) 1px,transparent 1px,transparent 4px),
    radial-gradient(circle at 82% 20%,rgba(242, 208, 122,.15),transparent 23%),
    radial-gradient(circle at 18% 84%,rgba(183, 153, 77,.09),transparent 27%),
    linear-gradient(145deg,#050505,#12100B 54%,#050505) !important;
  background-size:auto !important;
  background-position:center !important;
}

.hero-card::before,
.hero::before,
.creator-panel::before,
.project-buy::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(135deg,transparent 0 47%,rgba(242, 208, 122,.08) 48%,transparent 49% 100%),
    linear-gradient(115deg,transparent 0 66%,rgba(255, 255, 255,.035) 67%,transparent 68% 100%);
  opacity:.7;
}

.hero-card::after,
.creator-panel::after,
.project-buy::after{
  background:
    radial-gradient(circle at center,rgba(242, 208, 122,.13),transparent 63%) !important;
  border-color:rgba(242, 208, 122,.12) !important;
  box-shadow:0 0 90px rgba(242, 208, 122,.07),inset 0 0 90px rgba(183, 153, 77,.06) !important;
}

/* Banners públicos e prévias também entram no mesmo acabamento. */
.landing-hero{
  background:
    radial-gradient(circle at 74% 20%,rgba(242, 208, 122,.12),transparent 23%),
    radial-gradient(circle at 18% 75%,rgba(183, 153, 77,.08),transparent 27%),
    repeating-linear-gradient(115deg,rgba(255, 255, 255,.018) 0,rgba(255, 255, 255,.018) 1px,transparent 1px,transparent 9px),
    linear-gradient(145deg,#010204 0%,#0C0B08 50%,#010204 100%) !important;
}

.landing-preview,
.landing-feature,
.landing-bottom-box,
.automation-hero,
.admin-page .admin-welcome,
.admin-page .admin-stat,
.admin-page .admin-card,
.plan-card,
.project-buy,
.coder-footer,
.modal,
.dialog,
.campaign-photo-modal-dialog{
  background-image:
    repeating-linear-gradient(118deg,rgba(255, 255, 255,.018) 0,rgba(255, 255, 255,.018) 1px,transparent 1px,transparent 8px),
    radial-gradient(circle at 88% 12%,rgba(242, 208, 122,.09),transparent 25%),
    linear-gradient(145deg,#050505,#110F0C 56%,#040404) !important;
}

/* Remove o visual de seleção de temas: tema é fixo agora. */
.panel-theme-card,.theme-swatches,.theme-save-note,[data-theme-choice]{display:none !important}

@media (max-width:680px){
  .hero-card{min-height:330px !important;padding:20px !important}
  .hero-card h2{font-size:27px !important}
  .auth{padding:12px !important}
  .hero{padding:30px 16px 105px !important}
  .project-buy{padding:20px !important}
  .creator-panel{border-radius:18px !important}
}


/* =========================================================
   WHATSAPP X — V5 PREMIUM BLACK / METALLIC GOLD
   Final visual layer: fixes legacy accent leakage and adds
   responsive premium banners without changing application logic.
========================================================= */
:root{
  --wx-black:#040404;
  --wx-black-2:#080808;
  --wx-panel:#0D0D0D;
  --wx-panel-2:#110F0C;
  --wx-panel-3:#171510;
  --wx-gold:#FFD56B;
  --wx-gold-bright:#FFEBB8;
  --wx-gold-soft:#A88C47;
  --wx-gold-rgb:64,148,245;
  --wx-text:#F7F1E2;
  --wx-muted:#AA9A70;
  --wx-line:rgba(228, 191, 96,.16);
  --wx-line-strong:rgba(228, 191, 96,.34);
}

/* One visual language on every account/theme value. */
body[data-theme], body[data-theme="blue"], body[data-theme="green"],
body[data-theme="pink"], body[data-theme="red"], body[data-theme="blue-black"],
body[data-theme="blue-gold"], body[data-theme="pink-gold"]{
  --bg:var(--wx-black);
  --bg-deep:#010204;
  --panel:var(--wx-panel);
  --panel-2:var(--wx-panel-2);
  --panel-3:var(--wx-panel-3);
  --text:var(--wx-text);
  --muted:var(--wx-muted);
  --soft:#756744;
  --blue:var(--wx-gold);
  --blue-2:var(--wx-gold-soft);
  --blue-glow:rgba(var(--wx-gold-rgb),.18);
  --gold:var(--wx-gold-bright);
  --gold-2:var(--wx-gold-soft);
  --gold-glow:rgba(var(--wx-gold-rgb),.13);
  --green:var(--wx-gold);
  --red:var(--wx-gold-soft);
  --accent:var(--wx-gold);
  --accent-2:var(--wx-gold-soft);
  --accent-rgb:var(--wx-gold-rgb);
  --line:var(--wx-line);
  --line-strong:var(--wx-line-strong);
  --theme-banner-url:none;
}

body[data-theme]{
  background:
    radial-gradient(800px 420px at 8% -6%,rgba(var(--wx-gold-rgb),.10),transparent 63%),
    radial-gradient(650px 380px at 96% 5%,rgba(var(--wx-gold-rgb),.065),transparent 64%),
    radial-gradient(700px 440px at 58% 112%,rgba(var(--wx-gold-rgb),.055),transparent 66%),
    linear-gradient(145deg,#010204 0%,#060708 48%,#010204 100%) !important;
  color:var(--wx-text);
}
body[data-theme]::before{
  opacity:.19 !important;
  background:
    linear-gradient(rgba(255, 255, 255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255, 255, 255,.025) 1px,transparent 1px) !important;
  background-size:64px 64px !important;
  mask-image:linear-gradient(to bottom,rgba(0, 0, 0,.75),transparent 88%) !important;
}
body[data-theme]::after{
  width:52vw !important;
  height:52vw !important;
  background:radial-gradient(circle,rgba(var(--wx-gold-rgb),.08),transparent 67%) !important;
  filter:blur(42px) !important;
}

/* Global scrollbar */
*{scrollbar-width:thin;scrollbar-color:rgba(var(--wx-gold-rgb),.58) rgba(255, 255, 255,.025)}
*::-webkit-scrollbar{width:9px;height:9px}
*::-webkit-scrollbar-track{background:rgba(255, 255, 255,.018)}
*::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#F2CE72,#8B6D21);border-radius:999px;border:2px solid #020407}

/* Sidebar */
.side{
  width:296px !important;
  padding:23px 16px 18px !important;
  background:
    linear-gradient(180deg,rgba(6, 8, 9,.985),rgba(4, 4, 4,.98)) !important;
  border-right:1px solid rgba(var(--wx-gold-rgb),.17) !important;
  box-shadow:18px 0 70px rgba(0, 0, 0,.45) !important;
  backdrop-filter:blur(22px) !important;
}
.side::before{
  top:-80px !important;
  height:280px !important;
  background:radial-gradient(circle at 48% 33%,rgba(var(--wx-gold-rgb),.13),transparent 66%) !important;
}
.side::after{background:linear-gradient(180deg,rgba(var(--wx-gold-rgb),.34),transparent 24%,transparent 76%,rgba(var(--wx-gold-rgb),.10)) !important}
.brand-row{padding:5px 12px 21px !important;border-bottom:1px solid rgba(var(--wx-gold-rgb),.10) !important}
.brand-logo{width:54px !important;height:54px !important;filter:drop-shadow(0 0 24px rgba(var(--wx-gold-rgb),.25)) !important}
.brand{font-weight:950 !important;letter-spacing:.4px !important}
.brand b{color:var(--wx-gold-bright) !important}
.brand-sub{color:#C1A45A !important;letter-spacing:1.8px !important}
.account-card{
  margin:18px 2px 15px !important;
  border-color:rgba(var(--wx-gold-rgb),.13) !important;
  background:linear-gradient(145deg,rgba(24, 21, 14,.94),rgba(5, 6, 7,.94)) !important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.035),0 18px 35px rgba(0, 0, 0,.24) !important;
}
.account-avatar{background:linear-gradient(145deg,#FFE4A0,#9E7C26) !important;box-shadow:0 0 24px rgba(var(--wx-gold-rgb),.17) !important}
.account-lock{background:rgba(var(--wx-gold-rgb),.08) !important;border-color:rgba(var(--wx-gold-rgb),.18) !important;color:var(--wx-gold-bright) !important}
.nav-title{color:#B09B66 !important}
.nav a,.nav button{color:#C2B38C !important}
.nav a:hover,.nav button:hover{color:#FFF7DF !important;background:linear-gradient(135deg,rgba(var(--wx-gold-rgb),.075),rgba(255, 255, 255,.012)) !important;border-color:rgba(var(--wx-gold-rgb),.11) !important}
.nav a.active{
  color:#FFF8E8 !important;
  background:linear-gradient(135deg,rgba(var(--wx-gold-rgb),.17),rgba(17, 14, 8,.94)) !important;
  border-color:rgba(var(--wx-gold-rgb),.24) !important;
  box-shadow:inset 0 0 30px rgba(var(--wx-gold-rgb),.055),0 12px 28px rgba(0, 0, 0,.25) !important;
}
.nav-icon{background:linear-gradient(145deg,#17150F,#07090A) !important;border-color:rgba(var(--wx-gold-rgb),.13) !important;color:var(--wx-gold) !important}
.nav a.active .nav-icon{background:linear-gradient(145deg,#917223,#F5CF6E) !important;color:#151108 !important;box-shadow:0 0 22px rgba(var(--wx-gold-rgb),.20) !important}
.logout-wrap{border-top-color:rgba(var(--wx-gold-rgb),.08) !important}
.danger{background:linear-gradient(145deg,#2A2313,#15120C) !important;border-color:rgba(var(--wx-gold-rgb),.13) !important;color:#FFE49F !important}

/* Main content */
.main{margin-left:296px !important;width:calc(100% - 296px) !important;padding:30px 34px 56px !important}
.topbar{margin-bottom:24px !important}
.page-title{font-size:clamp(30px,3.05vw,44px) !important;letter-spacing:-1.7px !important;color:#EFF6FF !important}
.page-title::after{width:74px !important;height:3px !important;background:linear-gradient(90deg,#8B6D21,#F0C967,#8B6D21) !important;box-shadow:0 0 18px rgba(var(--wx-gold-rgb),.24) !important}
.page-sub{color:#C0B18A !important}
.user-pill{background:linear-gradient(145deg,rgba(24, 22, 16,.90),rgba(5, 6, 7,.94)) !important;border-color:rgba(var(--wx-gold-rgb),.13) !important;box-shadow:inset 0 1px 0 rgba(255, 255, 255,.035),0 14px 30px rgba(0, 0, 0,.22) !important}
.avatar{background:linear-gradient(145deg,#FFE39B,#B0934A) !important;box-shadow:0 7px 22px rgba(var(--wx-gold-rgb),.18) !important}

/* Premium surfaces */
.card,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card,
.automation-card,.campaign-panel,.campaign-history-card,.campaign-stat-card,.plan-card,
.project-buy,.automation-save-card,.automation-hero-card,.session-item{
  background:
    linear-gradient(145deg,rgba(20, 18, 14,.96),rgba(5, 6, 7,.97)) !important;
  border-color:rgba(var(--wx-gold-rgb),.16) !important;
  box-shadow:0 20px 58px rgba(0, 0, 0,.30),inset 0 1px 0 rgba(255, 255, 255,.035) !important;
}
.card::after,.campaign-builder-shell::after,.campaign-history-shell::after{
  background:radial-gradient(circle,rgba(var(--wx-gold-rgb),.075),transparent 68%) !important;
}
.section-head h2,.card h2{color:#F8E0A4 !important}
.section-head h2::before{background:linear-gradient(180deg,#8B6D21,#F0C967) !important;box-shadow:0 0 14px rgba(var(--wx-gold-rgb),.18) !important}
.pill,.content-pill,.group-count-pill,.billing-badge{
  background:linear-gradient(145deg,rgba(111, 87, 27,.22),rgba(255, 255, 255,.02)) !important;
  border-color:rgba(var(--wx-gold-rgb),.22) !important;
  color:#EED38D !important;
}

/* Buttons and controls */
.btn.primary,.btn.gold,.automation-save-btn{
  background:linear-gradient(135deg,#8A6C21 0%,#F0C965 52%,#A68B46 100%) !important;
  color:#181409 !important;
  border:1px solid rgba(255, 221, 136,.32) !important;
  box-shadow:0 14px 30px rgba(var(--wx-gold-rgb),.12),inset 0 1px 0 rgba(255, 255, 255,.36) !important;
}
.btn.secondary,.campaign-control.continue,.secondary{
  background:linear-gradient(145deg,#251F11,#110F0C) !important;
  border-color:rgba(var(--wx-gold-rgb),.17) !important;
  color:#E5CE93 !important;
}
.btn:hover{box-shadow:0 20px 38px rgba(0, 0, 0,.32),0 0 24px rgba(var(--wx-gold-rgb),.08) !important}
.field-control input,.field-control select,.field-control textarea,
input,select,textarea{
  background:#07090A !important;
  border-color:rgba(var(--wx-gold-rgb),.14) !important;
  color:#F5DDA2 !important;
}
.field-control input:focus,.field-control select:focus,.field-control textarea:focus,
input:focus,select:focus,textarea:focus{
  border-color:rgba(var(--wx-gold-rgb),.44) !important;
  box-shadow:0 0 0 4px rgba(var(--wx-gold-rgb),.055),0 0 24px rgba(var(--wx-gold-rgb),.055) !important;
}

/* Stats */
.pro-stat{
  background:linear-gradient(145deg,rgba(25, 22, 16,.96),rgba(6, 7, 8,.98)) !important;
  border-color:rgba(var(--wx-gold-rgb),.15) !important;
  box-shadow:0 18px 45px rgba(0, 0, 0,.27),inset 0 1px 0 rgba(255, 255, 255,.03) !important;
}
.pro-stat::after{background:radial-gradient(circle,rgba(var(--wx-gold-rgb),.08),transparent 68%) !important}
.pro-stat strong,.metric.balance{color:#F3CE71 !important}
.pro-stat-icon,.stat-icon,.campaign-stat-icon,.photo-drop-icon,.schedule-preview-icon,
.status-info-icon,.automation-section-icon,.group-option-icon,.delivery-icon{
  background:linear-gradient(145deg,#211B0D,#08090B) !important;
  border-color:rgba(var(--wx-gold-rgb),.19) !important;
  color:#E6C061 !important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.04),0 0 20px rgba(var(--wx-gold-rgb),.035) !important;
}
.feature-dot{background:#FFD56B !important;box-shadow:0 0 14px rgba(var(--wx-gold-rgb),.5) !important}

/* Tables / lists */
.table th{color:#8F7E53 !important;border-bottom-color:rgba(var(--wx-gold-rgb),.12) !important}
.table td{border-bottom-color:rgba(255, 255, 255,.035) !important}
.notice-item,.session-item,.campaign-history-card,.group-option{
  border-color:rgba(var(--wx-gold-rgb),.12) !important;
  background:linear-gradient(145deg,rgba(18, 16, 12,.82),rgba(5, 6, 7,.72)) !important;
}
.notice-item:hover,.session-item:hover,.group-option:hover{border-color:rgba(var(--wx-gold-rgb),.22) !important;background:linear-gradient(145deg,rgba(28, 24, 15,.90),rgba(6, 7, 8,.83)) !important}
.notice-icon,.campaign-empty-icon{background:linear-gradient(145deg,#2B2310,#0E0D09) !important;border-color:rgba(var(--wx-gold-rgb),.17) !important;color:#E7C265 !important}

/* All SVG accents remain gold/white; eliminate legacy blue glow. */
.btn-asset,.inline-asset,.tiny-asset,.nav-icon img,.account-lock img,.stat-icon img,
.campaign-stat-icon img,.photo-drop-icon img,.schedule-preview-icon img,.campaign-empty-icon img,
.status-info-icon img,.session-avatar img,.group-avatar img,.delivery-icon img,
.delivery-check img,.group-check img,.creator-brand img,.creator-chip img{
  filter:drop-shadow(0 0 9px rgba(var(--wx-gold-rgb),.24)) !important;
}

/* Keep palette/theme selector out of the product UI. */
.panel-theme-card,.theme-swatches,.theme-swatch,.theme-kicker,.theme-current,.theme-save-note{display:none !important}

/* =================== PREMIUM BANNER CAROUSEL =================== */
.wx-banner{
  position:relative;
  overflow:hidden;
  min-height:320px;
  border:1px solid rgba(var(--wx-gold-rgb),.22);
  border-radius:28px;
  background:#050505;
  box-shadow:0 26px 70px rgba(0, 0, 0,.38),inset 0 1px 0 rgba(255, 255, 255,.05);
  isolation:isolate;
}
.wx-banner::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(450px 240px at 75% 15%,rgba(242, 207, 119,.14),transparent 67%),
    radial-gradient(520px 280px at 20% 90%,rgba(153, 120, 37,.12),transparent 70%),
    linear-gradient(125deg,#010204,#100E09 48%,#010204);
}
.wx-banner::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.42;
  background:
    repeating-linear-gradient(122deg,transparent 0 22px,rgba(255, 255, 255,.022) 23px 24px),
    linear-gradient(rgba(255, 255, 255,.015) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255, 255, 255,.012) 1px,transparent 1px);
  background-size:auto,54px 54px,54px 54px;
  mask-image:linear-gradient(90deg,rgba(0, 0, 0,.8),rgba(0, 0, 0,.25));
}
.wx-banner-track{position:relative;z-index:2;min-height:320px}
.wx-slide{position:absolute;inset:0;padding:32px 35% 30px 34px;display:flex;align-items:center;opacity:0;transform:translateX(28px) scale(.985);transition:opacity .65s ease,transform .75s cubic-bezier(.2,.75,.2,1);pointer-events:none}
.wx-slide.active{opacity:1;transform:none;pointer-events:auto}
.wx-slide-kicker{display:inline-flex;align-items:center;gap:8px;color:#CBAD61;font-size:9px;font-weight:950;letter-spacing:2px;text-transform:uppercase}
.wx-slide-kicker i{width:7px;height:7px;border-radius:50%;background:#E3BE5F;box-shadow:0 0 15px rgba(var(--wx-gold-rgb),.60)}
.wx-slide h2{margin:12px 0 10px;color:#FFF8E8;font-size:clamp(28px,3.2vw,49px);line-height:1.03;letter-spacing:-1.5px;max-width:680px}
.wx-slide h2 em{font-style:normal;color:#F0C967;text-shadow:0 0 30px rgba(var(--wx-gold-rgb),.20)}
.wx-slide p{margin:0;color:#B4A377;font-size:12px;line-height:1.7;max-width:630px}
.wx-slide-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.wx-slide-actions .btn{min-height:42px}
.wx-visual{position:absolute;z-index:-1;right:30px;top:50%;width:min(42%,430px);height:245px;transform:translateY(-50%);border:1px solid rgba(var(--wx-gold-rgb),.18);border-radius:26px;background:linear-gradient(145deg,rgba(38, 32, 16,.74),rgba(4, 5, 6,.58));box-shadow:0 30px 75px rgba(0, 0, 0,.38),inset 0 0 50px rgba(var(--wx-gold-rgb),.055);overflow:hidden}
.wx-visual::before,.wx-visual::after{content:"";position:absolute;inset:14px;border:1px solid rgba(var(--wx-gold-rgb),.10);border-radius:20px;transform:rotate(-8deg);}
.wx-visual::after{inset:40px 25px;border-color:rgba(var(--wx-gold-rgb),.17);transform:rotate(7deg)}
.wx-orbit-ring{position:absolute;left:50%;top:50%;width:155px;height:155px;transform:translate(-50%,-50%) rotate(-18deg);border:1px solid rgba(var(--wx-gold-rgb),.35);border-radius:50%;box-shadow:0 0 60px rgba(var(--wx-gold-rgb),.08),inset 0 0 34px rgba(var(--wx-gold-rgb),.035)}
.wx-orbit-ring::before,.wx-orbit-ring::after{content:"";position:absolute;inset:15px;border:1px solid rgba(var(--wx-gold-rgb),.18);border-radius:50%}
.wx-orbit-ring::after{inset:44px;border-color:rgba(255, 255, 255,.11)}
.wx-orbit-dot{position:absolute;left:74%;top:26%;width:9px;height:9px;border-radius:50%;background:#FFE29A;box-shadow:0 0 22px rgba(var(--wx-gold-rgb),.75)}
.wx-visual-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255, 255, 255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255, 255, 255,.018) 1px,transparent 1px);background-size:24px 24px;opacity:.35}
.wx-mini-card{position:absolute;left:22px;right:22px;bottom:18px;padding:12px 14px;border:1px solid rgba(var(--wx-gold-rgb),.13);border-radius:14px;background:rgba(4, 4, 5,.78);backdrop-filter:blur(10px)}
.wx-mini-card b{display:block;color:#F4D585;font-size:10px}.wx-mini-card span{display:block;margin-top:4px;color:#8D7C52;font-size:8px}
.wx-banner-dots{position:absolute;z-index:4;left:34px;bottom:16px;display:flex;gap:7px}
.wx-banner-dot{width:25px;height:4px;border:0;border-radius:99px;background:rgba(255, 255, 255,.12);padding:0;cursor:pointer;transition:.25s ease}.wx-banner-dot.active{width:42px;background:linear-gradient(90deg,#8D6F22,#F1CC70);box-shadow:0 0 12px rgba(var(--wx-gold-rgb),.25)}
.wx-banner-index{position:absolute;z-index:4;right:22px;bottom:16px;color:#88784F;font-size:8px;font-weight:900;letter-spacing:1.2px}

/* Replace old hero card everywhere with a premium black/gold surface. */
.hero-card{background:
  radial-gradient(350px 180px at 80% 20%,rgba(var(--wx-gold-rgb),.10),transparent 70%),
  linear-gradient(140deg,#050505,#17130A 60%,#050505) !important;
  border-color:rgba(var(--wx-gold-rgb),.19) !important;
}
.hero-card::before{background:repeating-linear-gradient(122deg,transparent 0 25px,rgba(255, 255, 255,.018) 26px 27px) !important;opacity:.4}

/* Landing/auth receive the same luxury finish. */
.hero,.auth{
  background:
    radial-gradient(700px 350px at 77% 16%,rgba(var(--wx-gold-rgb),.10),transparent 68%),
    radial-gradient(560px 320px at 15% 76%,rgba(var(--wx-gold-rgb),.06),transparent 70%),
    linear-gradient(145deg,#010204,#06080B 48%,#010204) !important;
}
.hero::after,.auth::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(120deg,transparent 0 28px,rgba(255, 255, 255,.018) 29px 30px);opacity:.26}
.hero-inner,.authbox{position:relative;z-index:2}

/* Creator panel — black/gold only */
.creator-panel{
  background:linear-gradient(145deg,rgba(24, 21, 14,.97),rgba(5, 6, 7,.98)) !important;
  border-color:rgba(var(--wx-gold-rgb),.18) !important;
  box-shadow:0 24px 70px rgba(0, 0, 0,.34),inset 0 1px 0 rgba(255, 255, 255,.04) !important;
}
.creator-panel::before{background:linear-gradient(105deg,rgba(3, 3, 3,.95),rgba(26, 22, 11,.54),rgba(4, 4, 5,.84)) !important}
.creator-panel::after{border-color:rgba(var(--wx-gold-rgb),.13) !important;box-shadow:0 0 90px rgba(var(--wx-gold-rgb),.07),inset 0 0 90px rgba(var(--wx-gold-rgb),.035) !important}
.creator-glow{background:radial-gradient(circle,rgba(var(--wx-gold-rgb),.10),transparent 68%) !important}
.creator-avatar{background:linear-gradient(145deg,#2B2310,#030609) !important;border-color:rgba(var(--wx-gold-rgb),.25) !important;box-shadow:0 20px 44px rgba(0, 0, 0,.30),inset 0 0 34px rgba(var(--wx-gold-rgb),.07),0 0 0 7px rgba(var(--wx-gold-rgb),.025) !important}
.creator-copy h2 strong{color:#F3CE71 !important;text-shadow:0 0 26px rgba(var(--wx-gold-rgb),.15) !important}
.creator-chip{background:linear-gradient(145deg,rgba(36, 30, 14,.78),rgba(4, 5, 6,.80)) !important;border-color:rgba(var(--wx-gold-rgb),.15) !important;color:#D1BD8A !important}
.creator-github{border-color:rgba(var(--wx-gold-rgb),.20) !important;background:linear-gradient(145deg,rgba(79, 63, 22,.22),rgba(17, 14, 7,.22)) !important}
.creator-github:hover{border-color:rgba(var(--wx-gold-rgb),.44) !important;box-shadow:0 18px 35px rgba(0, 0, 0,.28),0 0 28px rgba(var(--wx-gold-rgb),.07) !important}

/* Responsive: tablet */
@media(max-width:1180px){
  .side{width:270px !important}
  .main{margin-left:270px !important;width:calc(100% - 270px) !important;padding:27px 26px 50px !important}
  .wx-slide{padding-right:37%}
  .wx-visual{right:20px;width:38%;height:225px}
}
@media(max-width:860px){
  .side{position:sticky !important;top:0 !important;left:0 !important;width:100% !important;height:auto !important;border-right:0 !important;border-bottom:1px solid rgba(var(--wx-gold-rgb),.15) !important;box-shadow:0 12px 35px rgba(0, 0, 0,.26) !important}
  .side .brand-row{justify-content:center !important}
  .account-card{display:none !important}
  .nav{display:flex !important;gap:7px !important;overflow:auto !important;padding:4px 0 7px !important}
  .nav-title,.logout-wrap{display:none !important}
  .nav a,.nav button{flex:0 0 auto !important;width:auto !important;margin:0 !important;padding:9px 10px !important;border-radius:13px !important}
  .nav a span,.nav button span{display:none !important}
  .nav-icon{width:38px !important;height:38px !important;flex-basis:38px !important}
  .main{margin-left:0 !important;width:100% !important;padding:20px 16px 40px !important}
  .wx-slide{padding:26px 28px 70px}
  .wx-visual{opacity:.32;right:-35px;width:52%;}
  .wx-slide p{max-width:540px}
  .wx-banner{min-height:340px}
  .wx-banner-track{min-height:340px}
}
@media(max-width:620px){
  .main{padding:16px 12px 32px !important}
  .page-title{font-size:29px !important}
  .page-sub{font-size:10.5px !important}
  .topbar{align-items:stretch !important}
  .topbar>.user-pill{display:none !important}
  .card,.pro-stat,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card{border-radius:18px !important}
  .wx-banner{min-height:392px;border-radius:21px}
  .wx-banner-track{min-height:392px}
  .wx-slide{padding:23px 19px 74px;align-items:flex-start}
  .wx-slide-kicker{font-size:8px;letter-spacing:1.5px}
  .wx-slide h2{font-size:31px;max-width:98%;margin-top:11px}
  .wx-slide p{font-size:10.5px;max-width:96%;line-height:1.65}
  .wx-slide-actions{display:grid;grid-template-columns:1fr;margin-top:16px}
  .wx-slide-actions .btn{width:100%}
  .wx-visual{top:auto;bottom:28px;right:-85px;width:58%;height:150px;opacity:.22}
  .wx-banner-dots{left:18px;bottom:14px}.wx-banner-index{right:17px;bottom:14px}
  .action-row{display:grid !important;grid-template-columns:1fr !important}
  .action-row .btn{width:100% !important}
  .creator-panel{border-radius:20px !important}
}
@media(max-width:390px){
  .brand-logo{width:46px !important;height:46px !important}.brand{font-size:18px !important}.brand-sub{font-size:8px !important}
  .nav{gap:5px !important}.nav a,.nav button{padding:7px !important}.nav-icon{width:35px !important;height:35px !important;flex-basis:35px !important}
  .wx-banner{min-height:410px}.wx-banner-track{min-height:410px}.wx-slide h2{font-size:28px}
}

/* =========================================================
   WHATSAPP X / Developer Startup X — V6 LUXURY BLACK / METALLIC GOLD
   Camada final de identidade visual. Mantém a lógica existente.
   ========================================================= */
:root{
  --v6-black:#010204;
  --v6-black-2:#020407;
  --v6-black-3:#0C0C0B;
  --v6-surface:#110F0C;
  --v6-surface-2:#171510;
  --v6-gold-1:#866920;
  --v6-gold-2:#D8B55B;
  --v6-gold-3:#FFD56B;
  --v6-gold-4:#FFEBB8;
  --v6-gold-rgb:64,148,245;
  --v6-line:rgba(220, 184, 92,.18);
  --v6-line-soft:rgba(255, 230, 168,.09);
  --v6-text:#EFF6FF;
  --v6-muted:#AA9A70;
  --v6-shadow:0 28px 90px rgba(0, 0, 0,.48);
  --v6-shadow-soft:0 18px 50px rgba(0, 0, 0,.32);
}

/* ---------- GLOBAL FOUNDATION ---------- */
html{background:var(--v6-black)!important;}
body,
body[data-theme],
body[data-theme="blue"],body[data-theme="green"],body[data-theme="pink"],body[data-theme="red"],
body[data-theme="blue-gold"],body[data-theme="pink-gold"],body[data-theme="blue-black"]{
  background:
    radial-gradient(900px 520px at 94% -10%,rgba(var(--v6-gold-rgb),.105),transparent 62%),
    radial-gradient(720px 520px at 0% 42%,rgba(var(--v6-gold-rgb),.052),transparent 67%),
    radial-gradient(760px 460px at 54% 108%,rgba(255, 255, 255,.018),transparent 72%),
    linear-gradient(145deg,#010204 0%,#050607 43%,#010204 100%) !important;
  color:var(--v6-text)!important;
}
body::before{
  background:
    repeating-linear-gradient(118deg,rgba(255, 255, 255,.014) 0 1px,transparent 1px 30px),
    linear-gradient(rgba(255, 255, 255,.016) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255, 255, 255,.012) 1px,transparent 1px)!important;
  background-size:auto,58px 58px,58px 58px!important;
  opacity:.32!important;
  mask-image:linear-gradient(to bottom,rgba(0, 0, 0,.8),rgba(0, 0, 0,.22) 76%,transparent 100%)!important;
}
body::after{
  width:62vw!important;height:62vw!important;max-width:900px!important;max-height:900px!important;
  background:radial-gradient(circle,rgba(var(--v6-gold-rgb),.055),transparent 70%)!important;
  filter:blur(42px)!important;
}
*{scrollbar-color:rgba(var(--v6-gold-rgb),.55) rgba(255, 255, 255,.025)!important;}

/* ---------- SIDEBAR / NAV ---------- */
.side{
  width:292px!important;
  padding:18px 15px 18px!important;
  background:
    linear-gradient(180deg,rgba(6, 8, 9,.985),rgba(3, 3, 3,.985))!important;
  border-right:1px solid rgba(var(--v6-gold-rgb),.20)!important;
  box-shadow:18px 0 80px rgba(0, 0, 0,.42),inset -1px 0 0 rgba(255, 230, 168,.025)!important;
}
.side::before{
  left:-25%!important;right:-25%!important;top:-95px!important;height:330px!important;
  background:
    radial-gradient(circle at 45% 35%,rgba(var(--v6-gold-rgb),.14),transparent 54%),
    linear-gradient(120deg,transparent 38%,rgba(255, 228, 158,.025) 50%,transparent 62%)!important;
}
.side::after{
  width:2px!important;
  background:linear-gradient(180deg,transparent,rgba(var(--v6-gold-rgb),.62) 22%,rgba(var(--v6-gold-rgb),.12) 56%,transparent)!important;
  box-shadow:0 0 18px rgba(var(--v6-gold-rgb),.18)!important;
}
.brand-row{
  padding:4px 10px 18px!important;
  border-bottom:1px solid rgba(var(--v6-gold-rgb),.11)!important;
  position:relative!important;
}
.brand-row::after{
  content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,#F0C965 38%,#FFEBB8 50%,#A28744 62%,transparent);
  opacity:.7;
}
.brand-logo{width:53px!important;height:53px!important;filter:drop-shadow(0 0 25px rgba(var(--v6-gold-rgb),.30))!important;}
.brand{font-size:20px!important;color:#EFF6FF!important;letter-spacing:.9px!important;}
.brand b{color:var(--v6-gold-3)!important;text-shadow:0 0 22px rgba(var(--v6-gold-rgb),.16)!important;}
.brand-sub{color:#C7A859!important;letter-spacing:2.1px!important;}
.account-card{
  margin:17px 0 14px!important;padding:13px!important;border-radius:18px!important;
  border-color:rgba(var(--v6-gold-rgb),.16)!important;
  background:linear-gradient(145deg,rgba(24, 21, 14,.88),rgba(5, 6, 7,.96))!important;
}
.account-card::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(110deg,transparent 22%,rgba(255, 230, 168,.045) 48%,transparent 66%);
  transform:translateX(-85%);transition:.8s ease;
}
.account-card:hover::after{transform:translateX(85%)}
.account-avatar{background:linear-gradient(145deg,#FFE6A8,#B6984C)!important;box-shadow:0 0 26px rgba(var(--v6-gold-rgb),.17)!important;color:#1A150A!important}
.account-lock{background:#0E0D0A!important;border-color:rgba(var(--v6-gold-rgb),.18)!important;color:#F0C968!important}
.nav-title{color:#9F8B59!important;letter-spacing:2px!important;}
.nav a,.nav button{color:#C0B18A!important;border-color:transparent!important;}
.nav a:hover,.nav button:hover{
  color:#FFF9E8!important;
  transform:translateX(3px)!important;
  background:linear-gradient(100deg,rgba(var(--v6-gold-rgb),.08),rgba(255, 255, 255,.012))!important;
  border-color:rgba(var(--v6-gold-rgb),.12)!important;
}
.nav a.active{
  color:#FFFBEF!important;
  background:
    linear-gradient(100deg,rgba(var(--v6-gold-rgb),.18),rgba(var(--v6-gold-rgb),.035) 58%,rgba(255, 255, 255,.01))!important;
  border-color:rgba(var(--v6-gold-rgb),.26)!important;
  box-shadow:inset 3px 0 0 #E2BD5F,0 12px 28px rgba(0, 0, 0,.28)!important;
}
.nav-icon{
  background:linear-gradient(145deg,#181610,#020407)!important;
  border-color:rgba(var(--v6-gold-rgb),.15)!important;
  color:#D6B35A!important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.035)!important;
}
.nav a.active .nav-icon{
  background:linear-gradient(145deg,#7C611E,#F1CC6D)!important;
  color:#171309!important;
  box-shadow:0 0 24px rgba(var(--v6-gold-rgb),.22),inset 0 1px 0 rgba(255, 255, 255,.38)!important;
}
.nav-badge{background:linear-gradient(135deg,#8B6D21,#F0CC71)!important;color:#161208!important;box-shadow:0 0 16px rgba(var(--v6-gold-rgb),.24)!important;}
.logout-wrap{border-top-color:rgba(var(--v6-gold-rgb),.08)!important}
.danger{background:linear-gradient(145deg,#201C11,#0D0C09)!important;color:#FFDF8E!important;border-color:rgba(var(--v6-gold-rgb),.12)!important}

/* ---------- MAIN / TOPBAR ---------- */
.main{
  margin-left:292px!important;width:calc(100% - 292px)!important;
  padding:30px 34px 68px!important;
}
.topbar{margin-bottom:26px!important;}
.page-title{color:#EFF6FF!important;font-weight:900!important;letter-spacing:-1.9px!important;position:relative!important;}
.page-title::after{
  content:"";display:block;width:88px!important;height:2px!important;margin-top:12px;
  background:linear-gradient(90deg,#8B6D21,#FFE5A2,#A98D47)!important;
  box-shadow:0 0 18px rgba(var(--v6-gold-rgb),.28)!important;
}
.page-sub{color:#9F9069!important;}
.eyebrow{color:#AA8E47!important;letter-spacing:2px!important;}
.eyebrow-dot{background:#E4BF60!important;box-shadow:0 0 16px rgba(var(--v6-gold-rgb),.65)!important;}
.user-pill{
  min-width:198px!important;padding:8px 12px 8px 8px!important;border-radius:18px!important;
  background:linear-gradient(145deg,rgba(24, 22, 16,.93),rgba(5, 6, 7,.96))!important;
  border-color:rgba(var(--v6-gold-rgb),.15)!important;
}
.avatar{background:linear-gradient(145deg,#FFE5A4,#A98D47)!important;color:#1B160A!important;box-shadow:0 7px 24px rgba(var(--v6-gold-rgb),.18)!important}

/* ---------- ALL CARDS / SURFACES ---------- */
.card,.pro-stat,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card,
.automation-card,.campaign-panel,.campaign-history-card,.campaign-stat-card,.plan-card,.project-buy,
.automation-save-card,.automation-hero-card,.session-item,.creator-panel{
  background:
    linear-gradient(150deg,rgba(19, 17, 13,.97) 0%,rgba(6, 7, 8,.985) 55%,rgba(13, 12, 8,.985) 100%)!important;
  border:1px solid rgba(var(--v6-gold-rgb),.15)!important;
  box-shadow:var(--v6-shadow-soft),inset 0 1px 0 rgba(255, 230, 168,.035)!important;
}
.card,.pro-stat{border-radius:22px!important;}
.card:hover,.pro-stat:hover{border-color:rgba(var(--v6-gold-rgb),.22)!important;box-shadow:0 24px 62px rgba(0, 0, 0,.37),0 0 36px rgba(var(--v6-gold-rgb),.035),inset 0 1px 0 rgba(255, 230, 168,.045)!important}
.card::before,.campaign-builder-shell::before,.campaign-history-shell::before,.notice-card::before,.whatsapp-session-card::before{
  background:
    linear-gradient(135deg,rgba(255, 255, 255,.035),transparent 23%,transparent 66%,rgba(var(--v6-gold-rgb),.026))!important;
}
.card::after,.campaign-builder-shell::after,.campaign-history-shell::after{
  background:radial-gradient(circle,rgba(var(--v6-gold-rgb),.07),transparent 69%)!important;
}
.section-head{margin-bottom:20px!important}
.section-head h2,.card h2{color:#F6DEA2!important;font-size:19px!important;}
.section-head h2::before{background:linear-gradient(180deg,#8A6C21,#F0CB6D)!important;box-shadow:0 0 12px rgba(var(--v6-gold-rgb),.18)!important}

/* ---------- CHIPS / BADGES ---------- */
.pill,.content-pill,.group-count-pill,.billing-badge,.pro-chip,.pro-badge{
  color:#EED38F!important;
  background:linear-gradient(145deg,rgba(117, 92, 28,.20),rgba(255, 255, 255,.018))!important;
  border-color:rgba(var(--v6-gold-rgb),.19)!important;
}
.pro-chip{box-shadow:inset 0 1px 0 rgba(255, 255, 255,.028)!important;}

/* ---------- BUTTONS ---------- */
.btn{
  min-height:45px!important;border-radius:14px!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,filter .22s ease!important;
}
.btn.primary,.btn.gold,.campaign-submit,.automation-save-btn{
  position:relative!important;overflow:hidden!important;
  background:linear-gradient(115deg,#937323 0%,#BD9E4F 27%,#FFDE8A 51%,#B89A4D 75%,#71591B 100%)!important;
  color:#171309!important;
  border:1px solid rgba(255, 224, 146,.38)!important;
  box-shadow:0 14px 34px rgba(var(--v6-gold-rgb),.14),inset 0 1px 0 rgba(255, 255, 255,.42)!important;
  text-shadow:0 1px 0 rgba(255, 255, 255,.20)!important;
}
.btn.primary::after,.btn.gold::after,.campaign-submit::after,.automation-save-btn::after{
  content:"";position:absolute;inset:-130% auto -130% -40%;width:32%;transform:rotate(20deg);background:linear-gradient(90deg,transparent,rgba(255, 255, 255,.55),transparent);opacity:.0;transition:transform .7s ease,opacity .25s ease;pointer-events:none;
}
.btn.primary:hover::after,.btn.gold:hover::after,.campaign-submit:hover::after,.automation-save-btn:hover::after{opacity:.75;transform:translateX(460%) rotate(20deg)}
.btn.secondary,.campaign-control.continue,.secondary{
  background:linear-gradient(145deg,#242017,#0E0D0A)!important;
  color:#E1CA90!important;
  border-color:rgba(var(--v6-gold-rgb),.17)!important;
}
.btn:hover{transform:translateY(-2px)!important;filter:brightness(1.05)!important;box-shadow:0 20px 40px rgba(0, 0, 0,.34),0 0 24px rgba(var(--v6-gold-rgb),.07)!important}

/* ---------- FORM CONTROLS ---------- */
input,textarea,select,
.field-control input,.field-control select,.field-control textarea,
.modern-field input,.modern-field textarea{
  background:linear-gradient(180deg,#0C0C0B,#020407)!important;
  color:#F6DEA2!important;
  border-color:rgba(var(--v6-gold-rgb),.13)!important;
  border-radius:13px!important;
}
input::placeholder,textarea::placeholder{color:#746643!important}
input:focus,textarea:focus,select:focus,
.field-control input:focus,.field-control select:focus,.field-control textarea:focus{
  border-color:rgba(var(--v6-gold-rgb),.46)!important;
  box-shadow:0 0 0 4px rgba(var(--v6-gold-rgb),.052),0 0 26px rgba(var(--v6-gold-rgb),.05)!important;
}
label,.form label,.modern-field{color:#D9C48F!important}

/* ---------- STATS ---------- */
.pro-stat{min-height:158px!important;position:relative!important;overflow:hidden!important}
.pro-stat::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255, 255, 255,.025),transparent 32%,rgba(var(--v6-gold-rgb),.018));pointer-events:none}
.pro-stat::after{background:radial-gradient(circle at 82% 15%,rgba(var(--v6-gold-rgb),.10),transparent 55%)!important}
.pro-stat small{color:#89794F!important;letter-spacing:1.7px!important}
.pro-stat strong{color:#FAE2A5!important;text-shadow:0 0 26px rgba(var(--v6-gold-rgb),.055)!important}
.pro-stat span{color:#9E8B5C!important}
.pro-stat-icon,.stat-icon,.campaign-stat-icon,.photo-drop-icon,.schedule-preview-icon,.status-info-icon,.automation-section-icon,.group-option-icon,.delivery-icon{
  background:linear-gradient(145deg,#251F0E,#030609)!important;
  color:#E0BB5E!important;
  border-color:rgba(var(--v6-gold-rgb),.19)!important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.045),0 0 24px rgba(var(--v6-gold-rgb),.035)!important;
}
.pro-stat strong,.metric.balance{color:#F0CC70!important}
.feature-dot{background:#FFD56B!important;box-shadow:0 0 15px rgba(var(--v6-gold-rgb),.56)!important}

/* ---------- TABLES / LISTS ---------- */
.table th{color:#8F7E53!important;border-bottom-color:rgba(var(--v6-gold-rgb),.12)!important}
.table td{border-bottom-color:rgba(255, 255, 255,.045)!important;color:#DDC892!important}
.notice-item,.session-item,.campaign-history-card,.group-option,.managed-group,.delivery-option{
  background:linear-gradient(145deg,rgba(20, 18, 14,.80),rgba(5, 6, 7,.76))!important;
  border-color:rgba(var(--v6-gold-rgb),.115)!important;
}
.notice-item:hover,.session-item:hover,.group-option:hover,.managed-group:hover,.delivery-option:hover{
  background:linear-gradient(145deg,rgba(31, 27, 17,.88),rgba(6, 8, 9,.83))!important;
  border-color:rgba(var(--v6-gold-rgb),.24)!important;
}
.notice-icon,.campaign-empty-icon{background:linear-gradient(145deg,#292210,#07090A)!important;border-color:rgba(var(--v6-gold-rgb),.19)!important;color:#E6C061!important}

/* ---------- PREMIUM HERO / BANNER ---------- */
.hero-card,.hero,.auth,.project-buy,.landing-page{
  background-image:none!important;
}
.wx-banner{
  min-height:356px!important;
  border-radius:26px!important;
  border-color:rgba(var(--v6-gold-rgb),.24)!important;
  background:
    radial-gradient(520px 300px at 78% 8%,rgba(241, 204, 112,.16),transparent 67%),
    radial-gradient(360px 260px at 12% 95%,rgba(132, 104, 32,.12),transparent 70%),
    linear-gradient(140deg,#010204 0%,#08090B 45%,#050505 100%)!important;
  box-shadow:0 30px 95px rgba(0, 0, 0,.47),inset 0 1px 0 rgba(255, 230, 168,.055),0 0 42px rgba(var(--v6-gold-rgb),.035)!important;
}
.wx-banner::before{
  background:
    repeating-linear-gradient(118deg,transparent 0 23px,rgba(255, 255, 255,.025) 24px 25px),
    linear-gradient(90deg,transparent 0 56%,rgba(241, 204, 112,.028) 66%,transparent 78%)!important;
  opacity:.9!important;
}
.wx-banner::after{
  background:
    linear-gradient(90deg,transparent 0%,rgba(255, 255, 255,.018) 36%,transparent 72%),
    linear-gradient(rgba(255, 255, 255,.012) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255, 255, 255,.01) 1px,transparent 1px)!important;
  background-size:auto,44px 44px,44px 44px!important;
  opacity:.5!important;
}
.wx-slide{padding:34px 43% 32px 36px!important;}
.wx-slide-kicker{color:#CBB16F!important;font-size:9px!important;letter-spacing:2.35px!important}
.wx-slide-kicker i{background:#E9C363!important;box-shadow:0 0 17px rgba(var(--v6-gold-rgb),.72)!important}
.wx-slide h2{font-size:clamp(30px,3.1vw,50px)!important;max-width:720px!important;letter-spacing:-1.9px!important;color:#FFF8E6!important}
.wx-slide h2 em{color:#FFD56B!important;text-shadow:0 0 30px rgba(var(--v6-gold-rgb),.16)!important}
.wx-slide p{color:#AF9E73!important;line-height:1.78!important}
.wx-slide-actions{margin-top:22px!important}
.wx-banner-dots{left:36px!important;bottom:18px!important}
.wx-banner-dot{height:4px!important;background:rgba(255, 255, 255,.11)!important}
.wx-banner-dot.active{background:linear-gradient(90deg,#8A6C21,#FFEBB8,#A98D47)!important;box-shadow:0 0 14px rgba(var(--v6-gold-rgb),.30)!important}
.wx-banner-index{color:#8D7C52!important;right:22px!important;bottom:18px!important}
.wx-visual{
  right:26px!important;width:39%!important;height:256px!important;
  border-radius:28px!important;
  border-color:rgba(var(--v6-gold-rgb),.21)!important;
  background:
    radial-gradient(circle at 50% 38%,rgba(241, 204, 112,.11),transparent 34%),
    linear-gradient(145deg,rgba(29, 25, 15,.68),rgba(5, 6, 7,.86))!important;
  box-shadow:0 32px 75px rgba(0, 0, 0,.42),inset 0 0 60px rgba(var(--v6-gold-rgb),.055)!important;
}
.wx-visual::before{inset:14px!important;border-color:rgba(var(--v6-gold-rgb),.11)!important;transform:rotate(-7deg)!important}
.wx-visual::after{inset:40px 28px!important;border-color:rgba(var(--v6-gold-rgb),.18)!important;transform:rotate(7deg)!important}
.wx-visual-grid{background-size:28px 28px!important;opacity:.30!important}
.wx-orbit-ring{border-color:rgba(var(--v6-gold-rgb),.44)!important;box-shadow:0 0 70px rgba(var(--v6-gold-rgb),.10),inset 0 0 40px rgba(var(--v6-gold-rgb),.045)!important}
.wx-orbit-ring::before{border-color:rgba(var(--v6-gold-rgb),.22)!important}
.wx-orbit-ring::after{border-color:rgba(255, 255, 255,.13)!important}
.wx-orbit-dot{background:#FFE6A5!important;box-shadow:0 0 24px rgba(var(--v6-gold-rgb),.82)!important}
.wx-mini-card{
  left:20px!important;right:20px!important;bottom:16px!important;
  padding:13px 15px!important;border-radius:15px!important;
  background:linear-gradient(145deg,rgba(4, 5, 6,.86),rgba(17, 15, 10,.80))!important;
  border-color:rgba(var(--v6-gold-rgb),.17)!important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255,.04),0 14px 25px rgba(0, 0, 0,.22)!important;
}
.wx-mini-card b{color:#F2D17D!important;font-size:10px!important}
.wx-mini-card span{color:#81724B!important}

/* ---------- LANDING / LOGIN / REGISTER ---------- */
.landing-page,.auth-modern,.auth{
  color:var(--v6-text)!important;
}
.landing-nav,.auth-showcase,.authbox-modern,.landing-preview,.landing-feature,.landing-bottom-box{
  background:linear-gradient(145deg,rgba(18, 16, 12,.90),rgba(4, 4, 5,.96))!important;
  border-color:rgba(var(--v6-gold-rgb),.16)!important;
  box-shadow:0 24px 65px rgba(0, 0, 0,.38),inset 0 1px 0 rgba(255, 255, 255,.04)!important;
}
.landing-brand strong,.auth-brand-link strong{color:#FFF7DF!important}
.landing-brand span span,.auth-brand-link small{color:#FFD772!important}
.landing-copy h1{color:#FFF8E9!important}
.landing-copy h1 span{color:#FFD56B!important;text-shadow:0 0 30px rgba(var(--v6-gold-rgb),.18)!important}
.landing-feature h3{color:#FFEBB8!important}
.landing-feature p,.landing-copy>p{color:#C0B18A!important}
.auth-showcase h1{color:#FFF7DF!important}.auth-showcase h1 span{color:#FFD56B!important}.auth-showcase-copy{color:#A4946C!important}
.authbox-modern h2{color:#F5DDA2!important}.auth-form-head p{color:#9B895A!important}
.auth-submit{background:linear-gradient(115deg,#937323,#F0CC71,#8D6F22)!important;color:#19150A!important}

/* ---------- CREATOR / FOOTER AREA ---------- */
.creator-panel{overflow:hidden!important;}
.creator-panel::before{background:linear-gradient(105deg,rgba(3, 3, 3,.94),rgba(28, 23, 12,.47),rgba(4, 4, 5,.88))!important}
.creator-panel::after{border-color:rgba(var(--v6-gold-rgb),.12)!important;box-shadow:0 0 110px rgba(var(--v6-gold-rgb),.075),inset 0 0 90px rgba(var(--v6-gold-rgb),.035)!important}
.creator-glow{background:radial-gradient(circle,rgba(var(--v6-gold-rgb),.11),transparent 68%)!important}
.creator-avatar{background:linear-gradient(145deg,#2D2511,#030609)!important;border-color:rgba(var(--v6-gold-rgb),.26)!important;box-shadow:0 20px 44px rgba(0, 0, 0,.33),inset 0 0 35px rgba(var(--v6-gold-rgb),.07),0 0 0 7px rgba(var(--v6-gold-rgb),.025)!important}
.creator-copy h2{color:#FFF7E7!important}.creator-copy h2 strong{color:#FFD56B!important;text-shadow:0 0 26px rgba(var(--v6-gold-rgb),.14)!important}
.creator-copy p{color:#9D8A5B!important}
.creator-chip{background:linear-gradient(145deg,rgba(36, 30, 14,.78),rgba(4, 5, 6,.82))!important;border-color:rgba(var(--v6-gold-rgb),.14)!important;color:#D6C18D!important}
.creator-github{background:linear-gradient(145deg,rgba(87, 69, 24,.20),rgba(4, 5, 6,.42))!important;border-color:rgba(var(--v6-gold-rgb),.19)!important}
.coder-footer{display:none!important}

/* ---------- FORCE FIXED SINGLE THEME ---------- */
[data-theme] .theme-swatches,[data-theme] .panel-theme-card,.panel-theme-card,.theme-swatches,.theme-swatch,.theme-kicker,.theme-current,.theme-save-note{display:none!important}
body[data-theme] .hero-card,body[data-theme] .project-buy,body[data-theme] .creator-panel,body[data-theme] .main{background-image:none!important}
body[data-theme="blue-gold"] .primary,body[data-theme="pink-gold"] .primary,body[data-theme="blue-black"] .primary,
body[data-theme="blue-gold"] .campaign-submit,body[data-theme="pink-gold"] .campaign-submit,body[data-theme="blue-black"] .campaign-submit{
  background:linear-gradient(115deg,#937323,#F0CC71,#8D6F22)!important;color:#19150A!important;box-shadow:0 14px 34px rgba(var(--v6-gold-rgb),.14),inset 0 1px 0 rgba(255, 255, 255,.42)!important;
}

/* ---------- MOBILE 100% ---------- */
@media(max-width:1180px){
  .side{width:268px!important}.main{margin-left:268px!important;width:calc(100% - 268px)!important;padding:26px 26px 56px!important}
  .wx-slide{padding-right:41%!important}.wx-visual{right:20px!important;width:36%!important;height:230px!important}
}
@media(max-width:860px){
  .side{
    position:fixed!important;z-index:80;left:0!important;right:0!important;bottom:0!important;top:auto!important;
    width:100%!important;height:72px!important;max-height:72px!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;
    border-right:0!important;border-top:1px solid rgba(var(--v6-gold-rgb),.22)!important;border-bottom:0!important;
    background:rgba(5, 6, 7,.94)!important;backdrop-filter:blur(24px)!important;
    box-shadow:0 -18px 60px rgba(0, 0, 0,.40)!important;
  }
  .side::before{display:none!important}.side::after{left:0;right:0;top:0;bottom:auto;width:auto;height:1px;background:linear-gradient(90deg,transparent,#D7B45A 32%,#FFE5A3 50%,#9A7925 68%,transparent)!important}
  .brand-row,.account-card,.nav-title{display:none!important}
  .nav{display:flex!important;align-items:stretch!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;height:100%!important;padding:0!important;scrollbar-width:none!important}
  .nav::-webkit-scrollbar{display:none!important}
  .nav a,.nav button{display:flex!important;justify-content:center!important;flex:0 0 62px!important;width:62px!important;height:56px!important;min-height:56px!important;margin:0!important;padding:5px!important;border-radius:14px!important;position:relative!important}
  .nav a span,.nav button span{display:none!important}
  .nav-icon{width:37px!important;height:37px!important;flex-basis:37px!important;border-radius:11px!important}
  .nav a.active{box-shadow:inset 0 2px 0 #E3BE5F,0 -5px 18px rgba(var(--v6-gold-rgb),.055)!important}
  .nav-badge{position:absolute!important;right:7px!important;top:3px!important;min-width:17px!important;height:17px!important;padding:0 4px!important;border-radius:999px!important;font-size:8px!important;display:grid!important;place-items:center!important}
  .logout-wrap{display:block!important;border:0!important;margin:0!important;padding:0!important;flex:0 0 62px!important}
  .logout-wrap form,.logout-wrap button{width:100%!important;height:56px!important}
  .main{margin-left:0!important;width:100%!important;padding:20px 15px calc(96px + env(safe-area-inset-bottom))!important}
  .topbar{align-items:flex-start!important}.topbar>.user-pill{display:none!important}
  .pro-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .two,.three,.pro-layout,.group-manage-grid{grid-template-columns:1fr!important}
  .wx-banner{min-height:395px!important}.wx-banner-track{min-height:395px!important}
  .wx-slide{padding:28px 28px 78px!important}.wx-visual{opacity:.30!important;right:-40px!important;width:55%!important;height:210px!important}
}
@media(max-width:620px){
  .main{padding:15px 11px calc(94px + env(safe-area-inset-bottom))!important}
  .page-title{font-size:28px!important;letter-spacing:-1.35px!important}.page-title::after{width:58px!important;margin-top:9px!important}
  .page-sub{font-size:10px!important;line-height:1.6!important}
  .pro-stat-grid{gap:10px!important}.pro-stat{min-height:142px!important;padding:16px!important;border-radius:18px!important}
  .pro-stat strong{font-size:29px!important}.pro-stat span{font-size:9px!important}.pro-stat-icon{width:37px!important;height:37px!important;border-radius:11px!important}
  .card{padding:18px!important;border-radius:19px!important}
  .section-head h2,.card h2{font-size:17px!important}
  .action-row{grid-template-columns:1fr!important}
  .action-row .btn{width:100%!important}
  .wx-banner{min-height:430px!important;border-radius:20px!important}
  .wx-banner-track{min-height:430px!important}
  .wx-slide{padding:23px 18px 76px!important;align-items:flex-start!important}
  .wx-slide-kicker{font-size:7.5px!important;letter-spacing:1.55px!important}.wx-slide h2{font-size:30px!important;line-height:1.04!important;letter-spacing:-1.35px!important;max-width:95%!important}
  .wx-slide p{font-size:10px!important;max-width:92%!important;line-height:1.7!important}
  .wx-slide-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:15px!important}.wx-slide-actions .btn{width:100%!important}
  .wx-visual{top:auto!important;bottom:27px!important;right:-74px!important;width:63%!important;height:155px!important;opacity:.20!important}
  .wx-mini-card{left:15px!important;right:15px!important;bottom:14px!important;padding:10px 11px!important}.wx-mini-card b{font-size:8.5px!important}.wx-mini-card span{font-size:7px!important}
  .wx-banner-dots{left:18px!important;bottom:15px!important}.wx-banner-index{right:17px!important;bottom:14px!important}
  .creator-panel{border-radius:20px!important}.creator-content{grid-template-columns:1fr!important}.creator-github{width:100%!important}
}
@media(max-width:390px){
  .nav a,.nav button,.logout-wrap{flex-basis:58px!important;width:58px!important}.nav-icon{width:34px!important;height:34px!important;flex-basis:34px!important}
  .wx-banner{min-height:444px!important}.wx-banner-track{min-height:444px!important}.wx-slide h2{font-size:27px!important}
}

/* ---------- REDUCED MOTION ---------- */
@media(prefers-reduced-motion:reduce){
  .btn,.wx-slide,.wx-banner-dot,.account-card::after{transition:none!important}
}

/* ---------- V6 BANNER VISUAL CORE ---------- */
.v6-visual-glass{position:absolute;left:50%;top:42%;width:128px;height:92px;transform:translate(-50%,-50%);border:1px solid rgba(var(--v6-gold-rgb),.20);border-radius:18px;background:linear-gradient(145deg,rgba(255, 230, 168,.06),rgba(255, 255, 255,.012) 48%,rgba(var(--v6-gold-rgb),.04));box-shadow:inset 0 1px 0 rgba(255, 255, 255,.05),0 15px 40px rgba(0, 0, 0,.22);backdrop-filter:blur(10px);overflow:hidden;z-index:2}
.v6-visual-mark{position:absolute;left:15px;top:10px;font-size:39px;line-height:1;font-weight:950;letter-spacing:-3px;color:#EFCA6B;text-shadow:0 0 26px rgba(var(--v6-gold-rgb),.22);font-family:Orbitron,Inter,sans-serif}
.v6-visual-bars{position:absolute;left:58px;right:12px;bottom:14px;height:44px;display:flex;align-items:flex-end;gap:5px}.v6-visual-bars i{display:block;width:8px;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#FFE29A,#9E7C26);box-shadow:0 0 13px rgba(var(--v6-gold-rgb),.16)}.v6-visual-bars i:nth-child(1){height:35%}.v6-visual-bars i:nth-child(2){height:58%}.v6-visual-bars i:nth-child(3){height:45%}.v6-visual-bars i:nth-child(4){height:82%}.v6-visual-bars i:nth-child(5){height:66%}.v6-bars-tight i{width:6px}.v6-bars-tight i:nth-child(1){height:34%}.v6-bars-tight i:nth-child(2){height:74%}.v6-bars-tight i:nth-child(3){height:48%}.v6-bars-tight i:nth-child(4){height:92%}.v6-bars-tight i:nth-child(5){height:62%}.v6-bars-tight i:nth-child(6){height:82%}
.v6-visual-label{position:absolute;right:11px;top:10px;padding:4px 7px;border-radius:99px;color:#EFCD76;background:rgba(var(--v6-gold-rgb),.10);border:1px solid rgba(var(--v6-gold-rgb),.16);font-size:6px;font-weight:950;letter-spacing:1.4px}
.v6-visual-ring-small{position:absolute;left:50%;top:50%;width:46px;height:46px;transform:translate(-50%,-50%);border-radius:50%;border:2px solid rgba(var(--v6-gold-rgb),.46);box-shadow:0 0 26px rgba(var(--v6-gold-rgb),.12)}
.v6-visual-ring-small::before{content:"";position:absolute;inset:8px;border:1px solid rgba(255, 230, 168,.24);border-radius:50%}.v6-visual-ring-small::after{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;transform:translate(-50%,-50%);background:#FFEBB8;border-radius:50%;box-shadow:0 0 18px rgba(var(--v6-gold-rgb),.8)}
.v6-scanline{position:absolute;z-index:3;left:4%;right:4%;top:27%;height:1px;background:linear-gradient(90deg,transparent,#F6D276,transparent);opacity:.34;box-shadow:0 0 12px rgba(var(--v6-gold-rgb),.45);animation:v6Scan 4.8s ease-in-out infinite}
@keyframes v6Scan{0%,100%{transform:translateY(-50px);opacity:.1}50%{transform:translateY(100px);opacity:.52}}
@media(max-width:620px){.v6-visual-glass{width:103px;height:75px}.v6-visual-mark{font-size:32px}.v6-visual-bars{left:47px;right:9px;bottom:10px;height:35px}.v6-visual-label{font-size:5.5px;top:8px;right:8px}}


/* =========================================================
   V6 FIX — ÍCONES DOS CARDS E CAMADAS
   ========================================================= */
.pro-stat{isolation:isolate;}
.pro-stat::after{z-index:0 !important;}
.pro-stat-top{position:relative;z-index:2;}
.pro-stat-icon,.pro-event-icon{position:relative;z-index:3;}
.pro-stat-icon img,.pro-event-icon img,.campaign-stat-icon img,.notice-icon img,.nav-icon img,.btn-asset,.inline-asset,.tiny-asset{
  display:block !important;
  width:auto;
  height:auto;
  object-fit:contain !important;
  max-width:100%;
  max-height:100%;
  opacity:1 !important;
  visibility:visible !important;
}
.pro-stat-icon{width:48px !important;height:48px !important;border-radius:14px !important;padding:10px !important;background:linear-gradient(145deg,#28210F,#07090B) !important;border:1px solid rgba(240, 202, 107,.27) !important;box-shadow:inset 0 1px 0 rgba(255, 255, 255,.05),0 0 22px rgba(240, 202, 107,.07) !important;}
.pro-stat-icon img{width:26px !important;height:26px !important;filter:drop-shadow(0 0 8px rgba(240, 202, 107,.45)) !important;}
.pro-event-icon img{width:19px !important;height:19px !important;filter:drop-shadow(0 0 7px rgba(240, 202, 107,.4)) !important;}
.campaign-stat-icon img,.notice-icon img{width:20px !important;height:20px !important;}
.nav-icon img{width:20px !important;height:20px !important;}
.btn-asset{width:18px !important;height:18px !important;flex:0 0 18px !important;}
.inline-asset,.tiny-asset{width:15px !important;height:15px !important;}
.wx-visual{pointer-events:none;}
.wx-slide > div:first-child{position:relative;z-index:4;}
.wx-banner-dots,.wx-banner-index{z-index:5 !important;}

/* Mobile: navegação utilizável sem espremer todos os itens */
@media (max-width:620px){
  .side{padding:8px !important;}
  .nav{overflow-x:auto !important;overflow-y:hidden !important;justify-content:flex-start !important;scrollbar-width:none !important;}
  .nav::-webkit-scrollbar{display:none !important;}
  .nav a,.nav button{flex:0 0 72px !important;width:72px !important;min-width:72px !important;}
  .nav-icon{width:34px !important;height:34px !important;flex-basis:34px !important;}
  .nav-icon img{width:20px !important;height:20px !important;}
  .pro-stat-icon{width:46px !important;height:46px !important;padding:9px !important;}
  .pro-stat-icon img{width:26px !important;height:26px !important;}
}


/* ========================================================================
   Developer Startup X — BLACK / METALLIC GOLD VISUAL SYSTEM
   Final theme layer: keeps the entire application consistent without emojis.
   ======================================================================== */
:root{
  --bg:#02050A!important;
  --bg-deep:#010308!important;
  --panel:#1D180B!important;
  --panel-2:#261F0E!important;
  --panel-3:#302812!important;
  --line:rgba(220, 184, 92,.16)!important;
  --line-strong:rgba(255, 213, 107,.34)!important;
  --text:#F2F7FF!important;
  --muted:#D0BF96!important;
  --soft:#A1936E!important;
  --blue:#D4AF37!important;
  --blue-2:#A88C47!important;
  --blue-glow:rgba(255, 213, 107,.22)!important;
  --gold:#FFD56B!important;
  --gold-2:#D0AE57!important;
  --gold-glow:rgba(255, 213, 107,.17)!important;
}
body,body[data-theme="blue-black"]{
  background:
    radial-gradient(circle at 12% 8%,rgba(255, 213, 107,.13),transparent 28%),
    radial-gradient(circle at 87% 12%,rgba(255, 213, 107,.10),transparent 23%),
    radial-gradient(circle at 50% 110%,rgba(190, 159, 80,.11),transparent 32%),
    linear-gradient(145deg,#010308 0%,#1C170B 46%,#010307 100%)!important;
}
body::after{background:radial-gradient(circle,rgba(255, 213, 107,.10),transparent 65%)!important}
.side{background:linear-gradient(180deg,rgba(15, 12, 6,.99),rgba(1, 5, 10,.97))!important;border-right-color:rgba(231, 193, 97,.20)!important}
.side::before{background:radial-gradient(circle at 50% 40%,rgba(255, 213, 107,.17),transparent 65%)!important}
.side::after{background:linear-gradient(180deg,rgba(255, 213, 107,.35),transparent 25%,transparent 76%,rgba(255, 213, 107,.18))!important}
.brand b,.landing-copy h1 span,.hero h1 span,.metric.balance,.project-price strong{color:#FFD56B!important;text-shadow:0 0 30px rgba(255, 213, 107,.18)!important}
.brand-sub,.landing-brand span span,.auth-brand-link small{color:#BBAA7F!important}
.account-card,.card,.campaign-builder-shell,.campaign-history-shell,.notice-card,.whatsapp-session-card,.automation-card,.campaign-panel,.campaign-history-card,.campaign-stat-card,.plan-card,.project-buy,.landing-preview,.landing-feature,.landing-bottom-box{background:linear-gradient(145deg,rgba(32, 26, 12,.95),rgba(15, 12, 6,.95))!important;border-color:rgba(255, 213, 107,.15)!important}
.account-avatar,.admin-avatar,.avatar{background:linear-gradient(145deg,#524014,#322913)!important;border-color:rgba(255, 213, 107,.24)!important;color:#FFEBB8!important;box-shadow:0 0 24px rgba(255, 213, 107,.16)!important}
.account-lock,.nav-icon,.stat-icon,.landing-feature-icon,.preview-window,.plan-orb{background:linear-gradient(145deg,#342B14,#181409)!important;border-color:rgba(229, 191, 96,.18)!important;color:#FFD56B!important}
.nav a,.nav button{color:#C9B991!important}
.nav a:hover,.nav button:hover{color:#F4F8FF!important;background:rgba(139, 109, 33,.30)!important;border-color:rgba(235, 196, 99,.18)!important}
.nav a.active{color:#F5F9FF!important;background:linear-gradient(135deg,rgba(255, 213, 107,.22),rgba(37, 31, 14,.92))!important;border-color:rgba(255, 213, 107,.28)!important;box-shadow:inset 0 0 26px rgba(255, 213, 107,.07),0 10px 30px rgba(0, 0, 0,.16)!important}
.nav a.active .nav-icon{background:linear-gradient(145deg,#785E1D,#E8C261)!important;color:#FFF!important;box-shadow:0 0 22px rgba(255, 213, 107,.25)!important}
.nav-icon img,.account-lock img,.inline-asset,.btn-asset,.creator-brand img,.creator-chip img,.pro-stat-icon img,.stat-icon img{filter:drop-shadow(0 0 9px rgba(255, 213, 107,.35))!important}
.danger,.btn.danger{background:linear-gradient(145deg,#261F0E,#120F07)!important;color:#EBD8A9!important;border-color:rgba(236, 197, 99,.18)!important}
.btn.primary,.btn.gold,.primary,.gold,.campaign-submit,.automation-save-btn{background:linear-gradient(145deg,#C8A754,#FFD56B)!important;color:#FFF!important;box-shadow:0 12px 32px rgba(218, 182, 92,.22)!important}
.btn.secondary,.secondary,.campaign-control.continue{background:linear-gradient(145deg,#2E2611,#1D180B)!important;border-color:rgba(228, 191, 96,.20)!important;color:#E8D6A7!important}
.btn:hover{box-shadow:0 20px 38px rgba(0, 0, 0,.36),0 0 24px rgba(255, 213, 107,.10)!important}
input,textarea,select{border-color:rgba(228, 191, 96,.20)!important;background:rgba(15, 12, 6,.90)!important}
input:focus,textarea:focus,select:focus{border-color:rgba(255, 213, 107,.60)!important;box-shadow:0 0 0 4px rgba(255, 213, 107,.09),inset 0 1px 0 rgba(255, 255, 255,.02)!important}
.pill,.content-pill,.billing-badge,.gold-badge,.gold-pill{background:rgba(61, 48, 15,.74)!important;border-color:rgba(232, 194, 97,.18)!important;color:#F7E3B2!important}
.feature-dot,.eyebrow-dot,.landing-kicker i{background:#FFD56B!important;box-shadow:0 0 15px rgba(255, 213, 107,.55)!important}
.plan-badge{background:linear-gradient(145deg,#C8A754,#FFD56B)!important;color:#FFF!important}
.plan-card.featured{border-color:rgba(255, 213, 107,.34)!important;box-shadow:0 30px 75px rgba(0, 0, 0,.28),0 0 45px rgba(255, 213, 107,.07)!important}
.plan-card::before,.plan-card.featured::before{background:radial-gradient(circle,rgba(255, 213, 107,.11),transparent 68%)!important}
.plan-orb.bronze,.plan-orb.prata,.plan-orb.ouro{color:#FFD979!important}
.landing-page{background:#010308!important}
.landing-nav{background:rgba(1, 5, 10,.84)!important;border-bottom-color:rgba(232, 194, 97,.16)!important}
.landing-brand img,.auth-brand img{filter:drop-shadow(0 0 26px rgba(255, 213, 107,.28))!important}
.landing-hero{background:radial-gradient(circle at 70% 25%,rgba(255, 213, 107,.09),transparent 28%)!important}
.landing-kicker{color:#F7DE9D!important;border-color:rgba(255, 213, 107,.20)!important}
.landing-copy h1{color:#F2F7FF!important}
.landing-copy>p,.landing-feature p,.landing-bottom-box p{color:#BFB08A!important}
.landing-feature-icon img,.landing-actions img,.coder-footer img{filter:drop-shadow(0 0 11px rgba(255, 213, 107,.38))!important}
.landing-note span{background:rgba(34, 28, 13,.70)!important;border-color:rgba(240, 201, 101,.13)!important}
.coder-footer{border-top-color:rgba(232, 194, 97,.14)!important;background:linear-gradient(180deg,rgba(15, 12, 6,.94),rgba(1, 4, 8,.98))!important}
.coder-footer-kicker,.coder-footer-title b{color:#FFD56B!important}
.session-item.active{border-color:rgba(255, 213, 107,.33)!important;background:linear-gradient(145deg,rgba(88, 69, 21,.30),#0F0C06)!important}
.session-status,.session-badge{color:#FFDF8F!important}
.pairing-green,.pairing-red{background:linear-gradient(145deg,#C8A754,#F4CC66)!important;color:#FFF!important;border-color:rgba(255, 214, 112,.34)!important;box-shadow:0 12px 30px rgba(255, 213, 107,.16)!important}
.auth,.auth-modern{background:radial-gradient(circle at 80% 20%,rgba(255, 213, 107,.13),transparent 26%),linear-gradient(145deg,#010308,#1D180B)!important}
.authbox-modern,.auth-showcase{background:linear-gradient(145deg,rgba(31, 26, 12,.95),rgba(15, 12, 6,.95))!important;border-color:rgba(233, 195, 98,.18)!important}
/* Remove any remaining visual gold/orange via common classes. */
[class*="gold"],.gold,.btn.gold{--unused:0}
@media(max-width:760px){.nav a.active .nav-icon{box-shadow:0 0 15px rgba(255, 213, 107,.22)!important}.nav a:hover,.nav button:hover{transform:none!important}}


/* Developer Startup X landing pricing */
.landing-pricing{max-width:1240px;margin:0 auto;padding:16px 28px 72px}
.landing-section-head{text-align:center;max-width:760px;margin:0 auto 28px}
.landing-section-head h2{margin:14px 0 8px;font-size:clamp(28px,4vw,42px);letter-spacing:-1.4px}
.landing-section-head p{margin:0;color:#BFB08A;font-size:12px;line-height:1.7}
.landing-plans .plan-card{min-height:365px}
.landing-plans .buy-btn{margin-top:3px}
@media(max-width:860px){.landing-hero{grid-template-columns:1fr}.landing-preview{max-width:720px;margin:auto}.landing-features{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.landing-nav{padding:16px 16px}.landing-nav-actions .btn{min-width:0;padding:9px 11px}.landing-hero{padding:34px 16px 48px;gap:24px}.landing-copy h1{letter-spacing:-2.4px}.landing-features{padding:0 16px 54px;grid-template-columns:1fr}.landing-pricing{padding:8px 16px 54px}.landing-plans{gap:12px}.landing-plans .plan-card{min-height:0}}

/* =========================================================
   WHATSAPP X — REPARO FINAL DA DASHBOARD E PERFIL
   Isolado por página para não alterar os demais módulos.
   ========================================================= */
.page-dashboard .main,
.page-profile .main{min-width:0;}
.page-dashboard .main > *,
.page-profile .main > *{max-width:100%;}
.page-dashboard .dashboard-topbar,
.page-profile .profile-topbar{align-items:flex-start;}
.page-dashboard .dashboard-heading,
.page-profile .profile-topbar>div:first-child{min-width:0;}
.page-dashboard .dashboard-heading .page-sub,
.page-profile .profile-topbar .page-sub{max-width:760px;}
.page-dashboard .dashboard-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px;}
.page-dashboard .dashboard-stat{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:138px;padding:20px;border-radius:20px;border:1px solid rgba(220, 184, 92,.18);background:linear-gradient(145deg,rgba(52, 43, 20,.92),rgba(22, 18, 8,.94));box-shadow:0 18px 45px rgba(0, 0, 0,.20),inset 0 1px 0 rgba(255, 255, 255,.03);overflow:hidden;}
.page-dashboard .dashboard-stat:after{content:"";position:absolute;right:-45px;bottom:-55px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(255, 213, 107,.16),transparent 68%);pointer-events:none;}
.page-dashboard .dashboard-stat>div:first-child{min-width:0;position:relative;z-index:2;}
.page-dashboard .dashboard-stat span{display:block;color:#B8A87F;font-size:8px;font-weight:900;letter-spacing:1.7px;}
.page-dashboard .dashboard-stat strong{display:block;margin-top:10px;color:#F0F6FF;font-size:30px;font-weight:950;line-height:1;letter-spacing:-1.3px;}
.page-dashboard .dashboard-stat strong small{font-size:15px;color:#FFD97A;letter-spacing:0;}
.page-dashboard .dashboard-stat em{display:block;margin-top:8px;color:#AB9D78;font-size:9px;font-style:normal;line-height:1.35;}
.page-dashboard .dashboard-stat-icon{position:relative;z-index:2;flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#4A3A12,#1D180B);border:1px solid rgba(220, 184, 92,.20);box-shadow:0 0 26px rgba(255, 213, 107,.10);}
.page-dashboard .dashboard-stat-icon img{width:23px;height:23px;object-fit:contain;}
.page-dashboard .dashboard-actions{margin-bottom:18px;padding:20px;}
.page-dashboard .dashboard-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;min-width:0;}
.page-dashboard .dashboard-section-head>div{min-width:0;}
.page-dashboard .dashboard-section-head h2{margin:2px 0 0;font-size:19px;line-height:1.2;letter-spacing:-.45px;}
.page-dashboard .dashboard-section-head p{margin:6px 0 0;color:#B5A681;font-size:10px;line-height:1.55;}
.page-dashboard .section-kicker{color:#FFD66F;font-size:7px;font-weight:950;letter-spacing:1.8px;}
.page-dashboard .dashboard-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.page-dashboard .dashboard-action{display:flex;align-items:center;gap:11px;min-width:0;padding:13px;border-radius:15px;border:1px solid rgba(208, 174, 87,.12);background:rgba(255, 255, 255,.025);transition:.2s ease;}
.page-dashboard .dashboard-action:hover{transform:translateY(-2px);border-color:rgba(255, 213, 107,.35);background:rgba(255, 213, 107,.06);}
.page-dashboard .dashboard-action>span{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;background:#322913;border:1px solid rgba(208, 174, 87,.16);}
.page-dashboard .dashboard-action img{width:19px;height:19px;object-fit:contain;}
.page-dashboard .dashboard-action div{min-width:0;}
.page-dashboard .dashboard-action strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.page-dashboard .dashboard-action small{display:block;margin-top:3px;color:#A59671;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.page-dashboard .dashboard-content-grid,.page-dashboard .dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;margin-bottom:18px;}
.page-dashboard .dashboard-card{min-width:0;padding:20px;}
.page-dashboard .dashboard-status{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:999px;border:1px solid rgba(224, 187, 94,.16);background:rgba(255, 213, 107,.06);color:#FFDB80;font-size:7px;font-weight:950;letter-spacing:1px;white-space:nowrap;}
.page-dashboard .dashboard-status i{width:6px;height:6px;border-radius:50%;background:#FFD56B;box-shadow:0 0 10px rgba(255, 213, 107,.7);}
.page-dashboard .dashboard-chart{height:210px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:8px;padding:22px 2px 28px;border-bottom:1px solid rgba(255, 255, 255,.06);background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,rgba(255, 255, 255,.025) 48px);}
.page-dashboard .dashboard-bar-wrap{position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center;min-width:0;}
.page-dashboard .dashboard-bar{width:100%;max-width:34px;min-height:8px;border-radius:9px 9px 3px 3px;background:linear-gradient(180deg,#FFD56B,#BE9F50);box-shadow:0 8px 18px rgba(255, 213, 107,.13);}
.page-dashboard .dashboard-bar-wrap>span{position:absolute;left:50%;top:-1px;transform:translateX(-50%);font-size:7px;color:#B8A36F;white-space:nowrap;}
.page-dashboard .dashboard-bar-wrap small{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);font-size:7px;color:#918054;}
.page-dashboard .dashboard-chart-note{display:flex;justify-content:space-between;align-items:center;padding-top:14px;color:#A3946F;font-size:9px;}
.page-dashboard .dashboard-chart-note strong{color:#FFEBB8;font-size:16px;}
.page-dashboard .dashboard-events{display:grid;gap:8px;max-height:300px;overflow:auto;padding-right:2px;}
.page-dashboard .dashboard-event{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border-radius:13px;border:1px solid rgba(208, 174, 87,.10);background:rgba(255, 255, 255,.02);min-width:0;}
.page-dashboard .dashboard-event-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#2C2411;border:1px solid rgba(208, 174, 87,.12);}
.page-dashboard .dashboard-event-icon img{width:17px;height:17px;object-fit:contain;}
.page-dashboard .dashboard-event>div{min-width:0;}
.page-dashboard .dashboard-event strong{font-size:9px;color:#F6DD9F;}
.page-dashboard .dashboard-event p{margin:3px 0 0;color:#A29573;font-size:8px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.page-dashboard .dashboard-event time{color:#907F54;font-size:7px;white-space:nowrap;}
.page-dashboard .dashboard-empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:38px 14px;color:#998759;border:1px dashed rgba(210, 175, 88,.16);border-radius:14px;}
.page-dashboard .dashboard-empty img{width:24px;height:24px;opacity:.6;}.page-dashboard .dashboard-empty strong{font-size:11px;color:#C0B18A}.page-dashboard .dashboard-empty span{font-size:8px;}
.page-dashboard .dashboard-balance{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-radius:16px;border:1px solid rgba(215, 180, 90,.12);background:linear-gradient(145deg,rgba(51, 42, 19,.75),rgba(22, 18, 8,.70));}
.page-dashboard .dashboard-balance span,.page-dashboard .dashboard-info-row span{display:block;color:#A2946F;font-size:8px;text-transform:uppercase;letter-spacing:1px;font-weight:900;}
.page-dashboard .dashboard-balance strong{display:block;margin-top:5px;color:#F0F6FF;font-size:28px;letter-spacing:-1px;}.page-dashboard .dashboard-balance small{display:block;margin-top:3px;color:#FFD66F;font-size:8px;}
.page-dashboard .dashboard-info-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px 2px;}.page-dashboard .dashboard-info-row strong{display:block;margin-top:5px;font-size:10px;color:#FFEBB8}.page-dashboard .dashboard-info-row small{display:block;margin-top:3px;color:#9B895A;font-size:8px;}
.page-dashboard .dashboard-connect-body{display:flex;align-items:center;gap:13px;padding:15px;border-radius:15px;background:rgba(255, 213, 107,.055);border:1px solid rgba(255, 213, 107,.14);}
.page-dashboard .dashboard-connect-icon{width:45px;height:45px;flex:0 0 45px;display:grid;place-items:center;border-radius:13px;background:#332A13;border:1px solid rgba(255, 213, 107,.20)}.page-dashboard .dashboard-connect-icon img{width:23px;height:23px;}
.page-dashboard .dashboard-connect-body strong{display:block;font-size:11px}.page-dashboard .dashboard-connect-body span{display:block;margin-top:5px;color:#9F9271;font-size:8px;line-height:1.5;}
.page-dashboard .dashboard-connect-dot{width:9px;height:9px;border-radius:50%;background:#FFD56B;box-shadow:0 0 14px rgba(255, 213, 107,.65);}
.page-dashboard .dashboard-full-btn{width:100%;margin-top:12px;}
.page-dashboard .dashboard-highlight{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:24px;border-radius:21px;border:1px solid rgba(208, 174, 87,.16);background:radial-gradient(circle at 85% 20%,rgba(255, 213, 107,.14),transparent 35%),linear-gradient(145deg,rgba(38, 31, 14,.95),rgba(16, 13, 6,.98));box-shadow:0 18px 50px rgba(0, 0, 0,.20);}
.page-dashboard .dashboard-highlight h2{margin:4px 0 0;font-size:23px;letter-spacing:-.6px;}.page-dashboard .dashboard-highlight p{max-width:720px;margin:7px 0 0;color:#AD9F7D;font-size:10px;line-height:1.65}.page-dashboard .dashboard-highlight-actions{display:flex;gap:8px;flex:0 0 auto;}
.page-dashboard .dashboard-main .coder-footer,.page-profile .profile-main .coder-footer{max-width:none;}

.page-profile .profile-layout{display:grid;grid-template-columns:minmax(280px,.40fr) minmax(0,.60fr);gap:18px;margin-bottom:18px;}
.page-profile .profile-card{min-width:0;padding:22px;}
.page-profile .profile-overview{display:flex;flex-direction:column;align-items:center;text-align:center;background:radial-gradient(circle at 50% 0%,rgba(255, 213, 107,.10),transparent 36%),linear-gradient(145deg,rgba(43, 35, 16,.95),rgba(22, 18, 8,.96));}
.page-profile .profile-card-kicker{color:#FFD66F;font-size:7px;font-weight:950;letter-spacing:1.7px;}
.page-profile .profile-main-avatar{width:88px;height:88px;display:grid;place-items:center;margin:16px auto 11px;border-radius:26px;background:linear-gradient(145deg,#FFD56B,#83671F);border:1px solid rgba(255, 217, 120,.25);color:#1D180B;font-size:34px;font-weight:950;box-shadow:0 20px 50px rgba(255, 213, 107,.20),inset 0 1px 0 rgba(255, 255, 255,.20);}
.page-profile .profile-overview h2{margin:0;font-size:22px;letter-spacing:-.6px;}.page-profile .profile-username{margin:5px 0 0;color:#A09371;font-size:10px}.page-profile .profile-statuses{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:14px 0 18px;}
.page-profile .profile-status{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;border:1px solid rgba(255, 213, 107,.16);background:rgba(255, 213, 107,.06);color:#FFE091;font-size:8px;font-weight:900;}.page-profile .profile-status i{width:6px;height:6px;border-radius:50%;background:#FFD56B;box-shadow:0 0 10px rgba(255, 213, 107,.65);}
.page-profile .profile-stat-list{display:grid;grid-template-columns:repeat(3,1fr);width:100%;border-top:1px solid rgba(255, 255, 255,.05);border-bottom:1px solid rgba(255, 255, 255,.05);}.page-profile .profile-stat-list>div{padding:14px 6px;border-left:1px solid rgba(255, 255, 255,.05);}.page-profile .profile-stat-list>div:first-child{border-left:0}.page-profile .profile-stat-list strong{display:block;color:#E8F2FF;font-size:17px}.page-profile .profile-stat-list span{display:block;margin-top:4px;color:#9C895A;font-size:7px;text-transform:uppercase;letter-spacing:.5px}.page-profile .profile-support-link{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:auto;padding-top:18px;color:#FFD978;font-size:9px;font-weight:900;}.page-profile .profile-support-link img{width:15px;height:15px;}
.page-profile .profile-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:20px}.page-profile .profile-card-head>div:first-child{min-width:0}.page-profile .profile-card-head h2{margin:4px 0 0;font-size:20px}.page-profile .profile-card-head p,.page-profile .profile-password-head p{margin:6px 0 0;color:#9D8A5B;font-size:9px;line-height:1.55}.page-profile .profile-head-icon,.page-profile .profile-secure{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:12px;background:#2E2611;border:1px solid rgba(210, 175, 88,.15)}.page-profile .profile-head-icon img,.page-profile .profile-secure img{width:20px;height:20px;object-fit:contain;}.page-profile .profile-form{display:grid;gap:16px}.page-profile .profile-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.page-profile .profile-field-grid label:last-child:nth-child(3){grid-column:1/-1}.page-profile .profile-form label{display:grid;gap:7px;min-width:0;color:#E4D2A4!important;font-size:9px;font-weight:850}.page-profile .profile-form label>span{color:#AFA17E;font-size:8px;text-transform:uppercase;letter-spacing:.8px;}.page-profile .profile-form input{width:100%;min-width:0;min-height:46px;padding:11px 12px;border-radius:12px;background:rgba(15, 12, 6,.82);border:1px solid rgba(211, 176, 89,.14);color:#EEF6FF;outline:none;}.page-profile .profile-form input:disabled{opacity:.58;cursor:not-allowed}.page-profile .profile-divider{height:1px;background:rgba(255, 255, 255,.05)}.page-profile .profile-password-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.page-profile .profile-password-head h3{margin:4px 0 0;font-size:14px}.page-profile .profile-form-actions{display:flex;justify-content:flex-end}.page-profile .profile-form-actions .btn{min-width:190px}.page-profile .profile-message{padding:12px 13px;border-radius:12px;font-size:9px;line-height:1.5}.page-profile .profile-message.success{color:#FFE39B;background:rgba(255, 213, 107,.08);border:1px solid rgba(255, 213, 107,.18)}.page-profile .profile-message.error{color:#FFE9B0;background:rgba(155, 122, 37,.08);border:1px solid rgba(255, 213, 107,.18)}
.page-profile .profile-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.page-profile .profile-help{display:flex;align-items:center;gap:11px;padding:15px;min-width:0}.page-profile .profile-help>span{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;background:#302812;border:1px solid rgba(210, 175, 88,.13)}.page-profile .profile-help>span img{width:19px;height:19px}.page-profile .profile-help>div{min-width:0;flex:1}.page-profile .profile-help h3{margin:0;font-size:10px}.page-profile .profile-help p{margin:4px 0 0;color:#9D8A5B;font-size:8px;line-height:1.45}.page-profile .profile-help .btn{flex:0 0 auto;min-height:38px;padding:8px 11px;font-size:8px;}

@media (max-width:1100px){
  .page-dashboard .dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .page-dashboard .dashboard-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .page-dashboard .dashboard-content-grid,.page-dashboard .dashboard-bottom-grid{grid-template-columns:1fr;}
  .page-dashboard .dashboard-highlight{align-items:flex-start;flex-direction:column;}
  .page-profile .profile-layout{grid-template-columns:1fr;}
  .page-profile .profile-overview{align-items:flex-start;text-align:left;}
  .page-profile .profile-main-avatar{margin-left:0;}
  .page-profile .profile-statuses{justify-content:flex-start;}
}
@media (max-width:760px){
  .page-dashboard .main,.page-profile .main{padding-left:14px!important;padding-right:14px!important;}
  .page-dashboard .dashboard-topbar,.page-profile .profile-topbar{flex-direction:column;gap:10px;margin-bottom:18px;}
  .page-dashboard .dashboard-user-pill,.page-profile .profile-topbar .user-pill{display:none;}
  .page-dashboard .dashboard-stat-grid{grid-template-columns:1fr 1fr!important;gap:10px;}
  .page-dashboard .dashboard-stat{min-height:125px;padding:15px;}.page-dashboard .dashboard-stat strong{font-size:25px;}.page-dashboard .dashboard-stat-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px;}.page-dashboard .dashboard-stat-icon img{width:19px;height:19px;}
  .page-dashboard .dashboard-actions,.page-dashboard .dashboard-card,.page-dashboard .dashboard-highlight,.page-profile .profile-card{padding:15px!important;}
  .page-dashboard .dashboard-section-head{flex-wrap:wrap;}.page-dashboard .dashboard-section-head>.btn{min-height:38px;padding:8px 11px;font-size:8px;}
  .page-dashboard .dashboard-action-grid{grid-template-columns:1fr 1fr;gap:8px;}.page-dashboard .dashboard-action{padding:11px;}.page-dashboard .dashboard-action>span{width:34px;height:34px;flex-basis:34px;}.page-dashboard .dashboard-action img{width:17px;height:17px;}.page-dashboard .dashboard-action strong{font-size:9px;}.page-dashboard .dashboard-action small{font-size:7px;}
  .page-dashboard .dashboard-content-grid,.page-dashboard .dashboard-bottom-grid{gap:10px;margin-bottom:10px;}.page-dashboard .dashboard-chart{height:180px;gap:5px;padding-bottom:26px;}.page-dashboard .dashboard-bar{max-width:24px;}.page-dashboard .dashboard-event{grid-template-columns:32px minmax(0,1fr);}.page-dashboard .dashboard-event time{grid-column:2;}.page-dashboard .dashboard-event p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
  .page-dashboard .dashboard-balance,.page-dashboard .dashboard-info-row{align-items:flex-start;flex-direction:column;}.page-dashboard .dashboard-balance .btn,.page-dashboard .dashboard-info-row .btn{width:100%;}.page-dashboard .dashboard-highlight{gap:14px;}.page-dashboard .dashboard-highlight h2{font-size:20px;}.page-dashboard .dashboard-highlight-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;}.page-dashboard .dashboard-highlight-actions .btn{width:100%;}
  .page-profile .profile-field-grid{grid-template-columns:1fr;}.page-profile .profile-field-grid label:last-child:nth-child(3){grid-column:auto;}.page-profile .profile-form-actions .btn{width:100%;}.page-profile .profile-help-grid{grid-template-columns:1fr;}.page-profile .profile-help{padding:12px;}.page-profile .profile-card-head{margin-bottom:16px;}.page-profile .profile-password-head{align-items:center;}.page-profile .profile-main-avatar{width:74px;height:74px;border-radius:22px;font-size:28px;}.page-profile .profile-stat-list{width:100%;}
}
@media (max-width:420px){
  .page-dashboard .dashboard-stat-grid{grid-template-columns:1fr!important;}.page-dashboard .dashboard-action-grid{grid-template-columns:1fr!important;}.page-dashboard .dashboard-action strong,.page-dashboard .dashboard-action small{white-space:normal;}.page-dashboard .dashboard-highlight-actions{grid-template-columns:1fr;}.page-dashboard .dashboard-stat{min-height:112px;}.page-profile .profile-stat-list strong{font-size:15px;}
}

/* Admin: editor de planos sem quebrar em desktop ou celular. */
.admin-plan-row{display:grid!important;grid-template-columns:minmax(130px,1fr) minmax(120px,170px) minmax(100px,130px) minmax(100px,130px)!important;gap:10px!important;align-items:end!important;}
.admin-plan-row .admin-plan-info{grid-column:1/-1;min-width:0;}
.admin-plan-row .admin-plan-info strong{font-size:12px;color:#FFF7DF;}.admin-plan-row .admin-plan-info small{font-size:8px;color:#A29471;}
.admin-plan-row label{min-width:0;display:grid;gap:5px;}.admin-plan-row input[type=text],.admin-plan-row input[type=number]{width:100%!important;min-height:43px;box-sizing:border-box;}
.admin-plan-row .admin-check{display:flex;align-items:center;gap:7px;min-height:43px;padding:0 8px;border:1px solid rgba(207, 173, 87,.12);border-radius:11px;background:rgba(255, 255, 255,.018);font-size:8px;color:#C8B890!important;}
.admin-plan-row .admin-check input[type=checkbox]{width:16px!important;height:16px!important;min-height:16px!important;accent-color:#FFD56B;}
.admin-plan-row .admin-check input[type=hidden]{display:none;}
@media(max-width:980px){.admin-plan-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.admin-plan-row .admin-plan-info{grid-column:1/-1;}.admin-plan-row label:nth-of-type(1){grid-column:1/-1;}}
@media(max-width:620px){.admin-plan-row{grid-template-columns:1fr!important;padding:12px!important;}.admin-plan-row .admin-plan-info,.admin-plan-row label:nth-of-type(1){grid-column:auto;}.admin-plan-row .admin-check{min-height:42px;}.admin-plan-row input[type=text],.admin-plan-row input[type=number]{min-height:45px;}.admin-plan-editor .admin-save-btn{margin-top:4px;}}

/* ======================================================================
   REVENDA — painel completo e responsivo
   Mantém a identidade atual do projeto.
   ====================================================================== */
.reseller-landing-btn{border-color:rgba(240, 202, 107,.22)!important;color:#FFE4A1!important;background:linear-gradient(145deg,rgba(75, 60, 21,.78),rgba(28, 23, 11,.86))!important}
.reseller-page{padding-bottom:80px}
.reseller-header-stack{display:grid;gap:8px;min-width:210px}
.reseller-handle-chip,.reseller-stock-chip{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 13px;border:1px solid rgba(240, 202, 107,.17);border-radius:15px;background:linear-gradient(145deg,rgba(42, 35, 16,.72),rgba(16, 14, 10,.78));box-shadow:inset 0 1px 0 rgba(255, 255, 255,.03)}
.reseller-handle-chip small,.reseller-stock-chip small{display:block;color:#A5956B;font-size:7px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}.reseller-handle-chip strong,.reseller-stock-chip strong{font-size:12px;color:#FFE4A0}
.reseller-hero-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:22px;align-items:center;margin-bottom:18px;padding:28px}
.reseller-hero-card h2{margin:10px 0 5px;font-size:26px;letter-spacing:-.7px}.reseller-hero-card p{margin:0;color:#AF9E73;font-size:10px;line-height:1.7;max-width:760px}
.reseller-hero-points{display:grid;gap:8px}.reseller-hero-points span{display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:12px;border:1px solid rgba(240, 202, 107,.12);background:rgba(62, 49, 17,.28);color:#D7C18A;font-size:9px;font-weight:800}.reseller-hero-points img{width:19px;height:19px}
.reseller-apply-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(350px,.95fr);gap:18px;margin-bottom:18px}.reseller-apply-form-card,.reseller-benefits-card{padding:25px}.reseller-form{display:grid;gap:14px}.reseller-form label{display:grid;gap:7px;color:#BDAA7B;font-size:9px;font-weight:900}.reseller-form label small{font-size:8px;color:#84744D;font-weight:700}.reseller-form input,.reseller-form textarea,.reseller-filter-form input,.reseller-filter-form select{width:100%;padding:12px 13px;border:1px solid rgba(194, 162, 81,.14);border-radius:12px;background:rgba(19, 16, 7,.78);color:#F5F0E2;outline:none;font-size:11px}.reseller-form textarea{resize:vertical;min-height:120px}.reseller-form input:focus,.reseller-form textarea:focus,.reseller-filter-form input:focus,.reseller-filter-form select:focus{border-color:rgba(240, 202, 107,.32);box-shadow:0 0 0 3px rgba(240, 202, 107,.045)}
.seller-input-wrap,.reseller-handle-input{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;border:1px solid rgba(194, 162, 81,.14);border-radius:12px;overflow:hidden;background:rgba(19, 16, 7,.78)}.seller-input-wrap>span,.reseller-handle-input>span{display:grid;place-items:center;height:100%;color:#F2D17C;font-weight:900;border-right:1px solid rgba(255, 255, 255,.055)}.seller-input-wrap input,.reseller-handle-input input{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.field-hint{line-height:1.55}.seller-preview{min-height:0;color:#F0D07E;font-size:9px;font-weight:900}.reseller-submit-note{display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:12px;background:rgba(240, 202, 107,.06);border:1px solid rgba(240, 202, 107,.12);color:#AF9E73;font-size:9px;line-height:1.5}.reseller-submit-note img{width:18px;height:18px;flex:0 0 18px}
.reseller-step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;padding:14px 0;border-bottom:1px solid rgba(255, 255, 255,.05)}.reseller-step:last-child{border-bottom:0}.reseller-step>strong{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#5B4819,#332A13);border:1px solid rgba(240, 202, 107,.16);color:#FFE4A0;font-size:9px}.reseller-step b{display:block;font-size:10px}.reseller-step p{margin:5px 0 0;color:#988658;font-size:8px;line-height:1.55}
.reseller-status-card{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px;padding:20px}.reseller-status-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:rgba(240, 202, 107,.08);border:1px solid rgba(240, 202, 107,.15)}.reseller-status-icon img{width:21px;height:21px}.reseller-status-card h2{margin:8px 0 5px;font-size:17px}.reseller-status-card p{margin:0;color:#AF9E73;font-size:10px;line-height:1.55}.reseller-status-card small{display:block;margin-top:6px;color:#7F704A;font-size:8px}.reseller-denied{border-color:rgba(179, 150, 75,.2)}
.reseller-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}.reseller-stat{min-height:110px;display:flex;align-items:center;gap:12px;padding:17px;border:1px solid rgba(204, 170, 86,.12);border-radius:18px;background:linear-gradient(145deg,rgba(47, 39, 18,.83),rgba(23, 19, 9,.80));box-shadow:var(--shadow-soft)}.reseller-stat-gold{border-color:rgba(240, 202, 107,.16)}.reseller-stat-icon{width:41px;height:41px;display:grid;place-items:center;flex:0 0 41px;border-radius:13px;background:linear-gradient(145deg,#514117,#302812);border:1px solid rgba(240, 202, 107,.12)}.reseller-stat-icon img{width:19px;height:19px}.reseller-stat small{display:block;color:#9B895A;font-size:7px;font-weight:900;letter-spacing:1.1px}.reseller-stat strong{display:block;margin-top:4px;color:#FFE6A8;font-size:23px;line-height:1;letter-spacing:-.5px}.reseller-stat span{display:block;margin-top:5px;color:#84744D;font-size:8px;line-height:1.35}
.reseller-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:18px;margin-bottom:18px}.reseller-client-mini-list,.reseller-plan-mini-list{display:grid;gap:8px}.reseller-client-mini{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-radius:13px;border:1px solid rgba(197, 165, 83,.11);background:rgba(22, 18, 8,.52)}.reseller-client-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#5B4819,#322913);border:1px solid rgba(240, 202, 107,.12);color:#FFE39B;font-size:10px;font-weight:900}.reseller-client-mini b{display:block;font-size:10px}.reseller-client-mini small{display:block;margin-top:4px;color:#7F704A;font-size:8px}.reseller-client-mini>strong{font-size:10px;color:#F1D07D}.reseller-plan-mini{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 12px;border-radius:13px;border:1px solid rgba(197, 165, 83,.11);background:rgba(22, 18, 8,.52)}.reseller-plan-mini b{display:block;font-size:10px}.reseller-plan-mini small{display:block;margin-top:3px;color:#81724B;font-size:7px}.reseller-plan-mini>strong{font-size:9px;color:#C8B177;white-space:nowrap}.reseller-plan-mini>span{font-size:10px;color:#F0CD75;font-weight:900;white-space:nowrap}
.reseller-toolbar{margin-bottom:16px}.reseller-filter-form{display:grid;grid-template-columns:1.2fr .6fr .75fr auto auto;align-items:end;gap:10px}.reseller-filter-form label{display:grid;gap:6px;color:#BDAA7B;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.8px}.reseller-filter-form input,.reseller-filter-form select{min-height:44px}.reseller-filter-form .btn{height:44px}.reseller-table{min-width:900px}.reseller-table td,.reseller-table th{vertical-align:middle}.table-subline{display:block;margin-top:3px;color:#7E6F49;font-size:7px}.reseller-credit-form{min-width:230px}.reseller-rules-card{display:flex;align-items:center;gap:10px;margin:15px 0;padding:12px 14px;border:1px solid rgba(240, 202, 107,.12);border-radius:14px;background:rgba(240, 202, 107,.04)}.reseller-rules-card img{width:20px;height:20px}.reseller-rules-card p{margin:0;color:#9A8859;font-size:8px;line-height:1.5}
.reseller-accounting-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.reseller-accounting-stats .reseller-stat{display:block;min-height:100px}.reseller-accounting-stats .reseller-stat strong{font-size:27px}.accounting-table{min-width:1100px}
.reseller-plans-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}.reseller-plan-card{min-height:260px;padding:23px}.reseller-plan-card.featured{border-color:rgba(240, 202, 107,.25);box-shadow:var(--shadow-soft),0 0 35px rgba(240, 202, 107,.045)}.reseller-plan-top{display:flex;align-items:center;gap:11px}.reseller-plan-index{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#584619,#312813);border:1px solid rgba(240, 202, 107,.14);color:#F8D680;font-size:9px;font-weight:900}.reseller-plan-card h2{margin:6px 0 0;font-size:18px}.reseller-plan-credits{display:flex;align-items:baseline;gap:8px;margin-top:26px}.reseller-plan-credits strong{font-size:44px;line-height:1;letter-spacing:-1.4px}.reseller-plan-credits span{color:#8B7A51;font-size:9px}.reseller-plan-card p{min-height:42px;margin:12px 0 0;color:#907F54;font-size:9px;line-height:1.55}.reseller-plan-price{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid rgba(255, 255, 255,.05)}.reseller-plan-price small{color:#7E6F49;font-size:7px}.reseller-plan-price strong{color:#F1CE75;font-size:21px}.reseller-plan-note{margin-top:11px;color:#6F6240;font-size:7px;line-height:1.55}.reseller-plan-info{display:flex;align-items:center;gap:14px}.reseller-plan-info-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:rgba(240, 202, 107,.06);border:1px solid rgba(240, 202, 107,.12)}.reseller-plan-info-icon img{width:20px;height:20px}.reseller-plan-info h2{margin:0;font-size:15px}.reseller-plan-info p{margin:5px 0 0;color:#928155;font-size:9px;line-height:1.55}
.reseller-admin-card{margin-bottom:18px}.reseller-admin-subgrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px}.reseller-admin-block{padding:15px;border-radius:17px;border:1px solid rgba(198, 165, 83,.11);background:rgba(22, 18, 8,.4)}.reseller-admin-block h3{margin:0 0 10px;font-size:12px}.reseller-app-list,.reseller-stock-list{display:grid;gap:8px}.reseller-app-item,.reseller-stock-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-radius:14px;border:1px solid rgba(194, 162, 81,.1);background:linear-gradient(145deg,rgba(45, 37, 17,.62),rgba(23, 19, 9,.6))}.reseller-app-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;color:#81724B;font-size:7px}.reseller-note{display:block;width:100%;padding:8px 9px;border-radius:9px;background:rgba(240, 202, 107,.035);color:#9D8A5B}.reseller-app-actions{display:flex;gap:7px}.reseller-app-actions .btn,.reseller-stock-item .btn{min-height:36px;padding:9px 12px;font-size:8px}.reseller-stock-item>div:first-child b{display:block;font-size:10px;color:#F2D17C}.reseller-stock-item>div:first-child small{display:block;margin-top:4px;color:#81724B;font-size:8px}.reseller-stock-item .admin-credit-action{min-width:210px}.reseller-stock-item .admin-credit-action input{min-width:80px}.admin-role-pill{font-size:7px!important;padding:6px 8px!important;background:rgba(240, 202, 107,.08)!important;border-color:rgba(240, 202, 107,.12)!important}
@media(max-width:1180px){.reseller-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reseller-hero-card,.reseller-apply-grid,.reseller-dashboard-grid,.reseller-admin-subgrid{grid-template-columns:1fr}.reseller-plans-grid{grid-template-columns:1fr 1fr}.reseller-accounting-stats{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.reseller-topbar{align-items:stretch}.reseller-header-stack{width:100%;min-width:0;grid-template-columns:1fr 1fr}.reseller-filter-form{grid-template-columns:1fr 1fr}.reseller-filter-form label:first-child{grid-column:1/-1}.reseller-filter-form .btn{width:100%}.reseller-app-item{grid-template-columns:1fr}.reseller-app-actions{width:100%}.reseller-app-actions .btn{flex:1}.reseller-stock-item{grid-template-columns:1fr}.reseller-stock-item .admin-credit-action{min-width:0}.reseller-stat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.reseller-page{padding-bottom:105px}.reseller-header-stack{grid-template-columns:1fr}.reseller-hero-card,.reseller-apply-form-card,.reseller-benefits-card{padding:18px}.reseller-hero-card h2{font-size:21px}.reseller-stat-grid,.reseller-accounting-stats,.reseller-plans-grid{grid-template-columns:1fr}.reseller-stat{min-height:92px}.reseller-dashboard-grid{gap:12px}.reseller-filter-form{grid-template-columns:1fr}.reseller-filter-form label:first-child{grid-column:auto}.reseller-filter-form .btn{grid-column:auto}.reseller-plan-card{min-height:0}.reseller-plan-info{align-items:flex-start}.accounting-table,.reseller-table{min-width:940px}}
.profile-vendor-box{margin-top:14px;padding:12px 13px;border-radius:13px;border:1px solid rgba(240, 202, 107,.12);background:rgba(240, 202, 107,.04)}.profile-vendor-box small{display:block;color:#8C7B51;font-size:7px;font-weight:900;letter-spacing:1px}.profile-vendor-box strong{display:block;margin-top:5px;color:#F0CD75;font-size:11px}.profile-vendor-box span{display:block;margin-top:4px;color:#80714A;font-size:8px;line-height:1.45}.profile-reseller-help{border-color:rgba(240, 202, 107,.18)}

/* ===== CADASTRO PÚBLICO DE REVENDEDOR ===== */
.reseller-register-page .reseller-register-layout{grid-template-columns:minmax(0,1fr) minmax(420px,560px)}
.reseller-register-showcase{position:relative}
.reseller-register-showcase:after{content:'@';position:absolute;right:6%;bottom:2%;font-size:190px;font-weight:1000;line-height:.7;color:rgba(240, 202, 107,.028);pointer-events:none}
.reseller-register-box{border-color:rgba(240, 202, 107,.16);box-shadow:var(--shadow-soft),0 0 60px rgba(240, 202, 107,.035)}
.reseller-form-2cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.reseller-register-handle{border:1px solid rgba(240, 202, 107,.18)!important;background:rgba(240, 202, 107,.035)!important}
.reseller-register-handle>span{color:#F2D07A!important;font-weight:1000}
.reseller-register-handle input{text-transform:lowercase}
.reseller-register-switch{flex-wrap:wrap}
.reseller-register-switch .auth-secondary-btn{flex:1 1 auto}
.reseller-register-page .reseller-submit-note{margin:2px 0 0}
.reseller-register-page .profile-message{margin:0 0 12px}
@media(max-width:980px){.reseller-register-page .reseller-register-layout{grid-template-columns:1fr}.reseller-register-showcase:after{display:none}}
@media(max-width:620px){.reseller-form-2cols{grid-template-columns:1fr}.reseller-register-box{padding:20px}.reseller-register-switch{display:grid}.reseller-register-switch .auth-secondary-btn{width:100%}}

/* Link exclusivo de revenda no login */
.reseller-login-link{border-color:rgba(240, 202, 107,.16)!important;color:#EBC972!important}

/* Ajustes do módulo de revenda */
.admin-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.reseller-admin-table{min-width:1050px}
.reseller-admin-table .reseller-app-actions{white-space:nowrap}
.reseller-status-login-card{display:flex;align-items:flex-start;gap:14px;margin-bottom:14px;padding:18px;border:1px solid rgba(240, 202, 107,.2);border-radius:16px;background:linear-gradient(145deg,rgba(55, 45, 21,.35),rgba(15, 12, 6,.82));box-shadow:0 18px 55px rgba(0, 0, 0,.22)}
.reseller-status-login-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:13px;background:rgba(240, 202, 107,.08);border:1px solid rgba(240, 202, 107,.14)}
.reseller-status-login-icon img{width:22px;height:22px}
.reseller-status-login-card h3{margin:0 0 5px;color:#FFE4A0;font-size:15px}
.reseller-status-login-card p{margin:0;color:#AF9E73;font-size:9px;line-height:1.6}
.reseller-status-login-card small{display:block;margin-top:7px;color:#7F704A;font-size:8px;line-height:1.5}
.reseller-status-login-card.denied{border-color:rgba(170, 142, 71,.25);background:linear-gradient(145deg,rgba(56, 46, 21,.28),rgba(15, 12, 6,.82))}
.reseller-status-login-card.denied h3{color:#F0DDAD}
@media(max-width:820px){.admin-top-actions{width:100%}.admin-top-actions .btn{flex:1}.reseller-admin-table{min-width:1000px}}

/* ===== CENTRAL 2.0 — DADOS, REVENDA, AVISOS E OPERAÇÃO ===== */
:root{
  --bg:#060606; --bg-deep:#020202; --panel:#101010; --panel-2:#151515; --panel-3:#1B1B1B;
  --line:rgba(212, 178, 92,.14); --line-strong:rgba(212, 178, 92,.32);
  --text:#F7F2E5; --muted:#C8B584; --soft:#948256;
  --blue:#D4B25C; --blue-2:#765D1D; --blue-glow:rgba(212, 178, 92,.15);
  --gold:#D4B25C; --gold-2:#8C6E22; --gold-glow:rgba(212, 178, 92,.16);
}
body{background:radial-gradient(circle at 78% 8%,rgba(212, 178, 92,.075),transparent 27%),radial-gradient(circle at 16% 92%,rgba(212, 178, 92,.045),transparent 25%),linear-gradient(135deg,#030303 0%,#080808 52%,#030303 100%);color:var(--text)}
.card,.pro-stat,.admin-shortcut,.account-card,.reseller-stat,.reseller-stock-item{border-color:var(--line)}
.admin-shortcuts-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0 18px}
.admin-shortcut{display:flex;gap:12px;align-items:center;padding:16px;text-decoration:none;transition:.18s ease;min-width:0;background:linear-gradient(145deg,rgba(20, 20, 20,.96),rgba(8, 8, 8,.96))}
.admin-shortcut:hover{transform:translateY(-2px);border-color:var(--line-strong);box-shadow:0 18px 40px rgba(0, 0, 0,.28),0 0 26px var(--gold-glow)}
.admin-shortcut>span{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--line);background:rgba(212, 178, 92,.06)}
.admin-shortcut img{width:20px;height:20px}.admin-shortcut small,.admin-section-label,.admin-eyebrow{color:#E3C26F}
.admin-shortcut strong{display:block;color:#F8F3E7;font-size:12px;line-height:1.25}.admin-shortcut p{margin:4px 0 0;color:#9F9069;font-size:8px;line-height:1.4}
.admin-filter-form{display:grid;grid-template-columns:minmax(180px,1.8fr) repeat(3,minmax(130px,1fr)) auto;gap:10px;align-items:end}.admin-filter-form label{display:flex;flex-direction:column;gap:5px;font-size:8px;font-weight:900;letter-spacing:.8px;color:#AA9A70;text-transform:uppercase}.admin-filter-form input,.admin-filter-form select,.seller-select{width:100%;min-height:42px;padding:10px 12px;border-radius:11px;border:1px solid var(--line);background:#0D0D0D;color:#F5F0E4;outline:none}.admin-filter-form input:focus,.admin-filter-form select:focus,.seller-select:focus{border-color:var(--line-strong);box-shadow:0 0 0 3px rgba(212, 178, 92,.07)}
.seller-select{min-width:135px;padding:8px 9px;min-height:36px;font-size:10px}.admin-action-stack{display:flex;flex-wrap:wrap;gap:7px}.admin-user-detail-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.admin-detail-hero{display:flex;gap:16px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,rgba(22, 22, 22,.98),rgba(8, 8, 8,.98))}.admin-detail-main{min-width:0;flex:1}.admin-detail-main h2{margin:0;color:#FBF5E7}.admin-detail-main p{margin:4px 0 0;color:#998759;font-size:9px}.admin-detail-avatar{width:58px;height:58px;display:grid;place-items:center;flex:0 0 58px;border-radius:17px;background:linear-gradient(145deg,#2A2415,#0B0B0B);border:1px solid rgba(212, 178, 92,.28);color:#EFCE7A;font-weight:1000;font-size:20px}.admin-detail-balance{font-size:22px;font-weight:1000;color:#EFCE7A}.admin-detail-list{display:grid;gap:8px}.admin-detail-list>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid rgba(212, 178, 92,.08)}.admin-detail-list small{color:#8F7E53}.admin-detail-list strong{color:#EED79D;font-size:10px;text-align:right}.admin-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.admin-maintenance-box{margin-top:2px;padding:15px;border:1px solid var(--line);border-radius:15px;background:rgba(212, 178, 92,.03)}.admin-maintenance-box h3{margin:4px 0;color:#F6EFDF;font-size:12px}.admin-maintenance-box p{margin:0;color:#8F7E53;font-size:8px;line-height:1.5}.admin-maintenance-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.admin-maintenance-grid label{display:flex;flex-direction:column;gap:5px;color:#9D8A5B;font-size:8px;font-weight:800}.admin-maintenance-grid input[type=text]{width:100%;min-height:40px;padding:9px 11px;border-radius:10px;border:1px solid var(--line);background:#0B0B0B;color:#EED79D}.admin-check-label{flex-direction:row!important;align-items:center;gap:8px!important;min-height:40px}.admin-check-label input{accent-color:#D4B25C;width:16px;height:16px}
.nav-notices{display:grid;gap:7px;margin:12px 0 8px}.nav-notices-title{font-size:7px;font-weight:1000;letter-spacing:1px;color:#D8B96C}.nav-notice-item{padding:10px 11px;border-radius:11px;border:1px solid rgba(212, 178, 92,.12);background:rgba(212, 178, 92,.035)}.nav-notice-item strong{display:block;color:#E7CE8E;font-size:8px}.nav-notice-item span{display:block;margin-top:3px;color:#8F7E53;font-size:7px;line-height:1.45}
.admin-notice-list{display:grid;gap:10px}.admin-notice-item{display:flex;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,rgba(20, 20, 20,.96),rgba(8, 8, 8,.96))}.admin-notice-item.is-off{opacity:.55}.admin-notice-item h3{margin:0;color:#F6F0E2;font-size:12px}.admin-notice-item p{margin:5px 0 0;color:#A3936C;font-size:8px;line-height:1.5}.admin-notice-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.admin-notice-actions{display:flex;gap:7px;align-items:flex-start;flex-wrap:wrap}.admin-notice-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-notice-form label{display:flex;flex-direction:column;gap:5px;color:#9E8B5C;font-size:8px;font-weight:800}.admin-notice-form textarea,.admin-notice-form input,.admin-notice-form select{width:100%;padding:10px;border-radius:10px;border:1px solid var(--line);background:#0B0B0B;color:#EFE8DA}.admin-notice-form .full{grid-column:1/-1}
.reseller-referral-card{padding:15px;border:1px solid rgba(212, 178, 92,.18);border-radius:15px;background:linear-gradient(145deg,rgba(40, 33, 15,.25),rgba(9, 9, 9,.94));margin-bottom:14px}.reseller-referral-card h3{margin:0;color:#F6EFDF;font-size:12px}.reseller-referral-card p{margin:4px 0 10px;color:#9C895A;font-size:8px}.reseller-referral-tools{display:grid;grid-template-columns:1fr auto auto;gap:8px}.reseller-referral-tools input{width:100%;min-height:40px;padding:9px;border-radius:10px;border:1px solid var(--line);background:#0B0B0B;color:#E9D39A}.reseller-ranking-list{display:grid;gap:8px}.reseller-ranking-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#0D0D0D}.reseller-rank-number{width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:rgba(212, 178, 92,.08);color:#E4C578;font-size:10px;font-weight:1000}.reseller-ranking-item div{min-width:0;flex:1}.reseller-ranking-item b{display:block;color:#EFE8D8;font-size:9px}.reseller-ranking-item small{display:block;color:#87774E;font-size:7px;margin-top:2px}.reseller-ranking-item strong{color:#E2C373;font-size:10px}.reseller-client-actions,.reseller-credit-actions{display:flex;gap:8px;flex-wrap:wrap}.reseller-credit-panel{padding:14px;border:1px solid var(--line);border-radius:14px;background:#0B0B0B}.reseller-credit-panel input{min-height:40px;padding:9px 11px;border-radius:10px;border:1px solid var(--line);background:#080808;color:#EEE6D7}.reseller-plan-buy{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.reseller-stock-title{display:flex;align-items:center;gap:8px}.reseller-stock-item.is-suspended{opacity:.72}
.maintenance-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 10%,rgba(212, 178, 92,.12),transparent 30%),#040404}.maintenance-wrap{width:min(680px,100%)}.maintenance-card{padding:34px;border:1px solid rgba(212, 178, 92,.22);border-radius:24px;background:linear-gradient(145deg,#151515,#070707);box-shadow:0 35px 100px rgba(0, 0, 0,.45)}.maintenance-brand{display:flex;align-items:center;gap:10px;color:#E2C06B;font-size:10px;font-weight:1000;letter-spacing:1.3px}.maintenance-brand img{width:26px;height:26px}.maintenance-card h1{margin:18px 0 8px;font-size:30px;color:#FBF5E7}.maintenance-card p{margin:0;color:#AC9C72;line-height:1.7;font-size:11px}.maintenance-until{margin-top:14px;padding:12px 13px;border-radius:12px;background:rgba(212, 178, 92,.05);border:1px solid rgba(212, 178, 92,.12);color:#DEC075;font-size:9px;font-weight:900}
.btn.primary,.btn.gold{background:linear-gradient(135deg,#D8B969,#A18744)!important;color:#06080B!important;border-color:#D9BA6C!important;box-shadow:0 8px 24px rgba(212, 178, 92,.16)}.btn.secondary{border-color:var(--line)!important;background:#111!important;color:#E4CE96!important}.btn.danger{background:linear-gradient(135deg,#6C5723,#403416)!important;border-color:#8B753D!important;color:#F6DDDD!important}
.table th{color:#D5B76A!important}.table td{border-color:rgba(212, 178, 92,.08)!important}.pill{border-color:var(--line)!important;background:rgba(212, 178, 92,.05)!important;color:#D9BC74!important}.admin-status.is-active i{background:#D4B25C!important;box-shadow:0 0 10px rgba(212, 178, 92,.55)}
@media(max-width:1180px){.admin-shortcuts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-filter-form{grid-template-columns:1fr 1fr}.admin-filter-form .filter-search{grid-column:1/-1}.admin-user-detail-grid{grid-template-columns:1fr}}
@media(max-width:760px){.admin-shortcuts-grid{grid-template-columns:1fr 1fr}.admin-notice-form,.admin-maintenance-grid,.reseller-referral-tools{grid-template-columns:1fr}.admin-notice-form .full{grid-column:auto}.admin-reseller-actions{align-items:stretch}.admin-credit-action{flex-wrap:wrap}.admin-credit-action input{min-width:120px}.reseller-stock-item{gap:12px}.reseller-plan-buy{justify-content:flex-start}}
@media(max-width:520px){.admin-shortcuts-grid{grid-template-columns:1fr}.admin-filter-form{grid-template-columns:1fr}.admin-filter-form .filter-search{grid-column:auto}.admin-detail-hero{align-items:flex-start;flex-direction:column}.maintenance-card{padding:24px}.maintenance-card h1{font-size:25px}.admin-maintenance-box,.admin-notice-item{padding:12px}}
.admin-reseller-rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.admin-reseller-rules-grid label{display:flex;flex-direction:column;gap:5px;color:#9D8A5B;font-size:8px;font-weight:800}.admin-reseller-rules-grid input{min-height:40px;padding:9px 11px;border-radius:10px;border:1px solid var(--line);background:#0B0B0B;color:#EEE7D8}.admin-reseller-rules-grid small{font-size:7px;color:#756744;line-height:1.45;font-weight:500}.reseller-goal-card{margin-top:14px}.reseller-goal-track{height:9px;border-radius:999px;overflow:hidden;background:#090909;border:1px solid rgba(212, 178, 92,.12);margin-top:12px}.reseller-goal-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8C6E22,#D4B25C);box-shadow:0 0 18px rgba(212, 178, 92,.22)}.reseller-goal-meta{display:flex;justify-content:space-between;gap:10px;margin-top:8px;color:#8F7E53;font-size:8px}.reseller-goal-meta strong{color:#DDBF74}.reseller-low-stock-alert{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:14px;padding:16px;border-radius:15px;border:1px solid rgba(195, 163, 82,.26);background:linear-gradient(145deg,rgba(74, 59, 21,.35),rgba(9, 9, 9,.96))}.reseller-low-stock-alert h3{margin:3px 0;color:#F2DBA0;font-size:13px}.reseller-low-stock-alert p{margin:0;color:#A5956D;font-size:8px;line-height:1.55}.reseller-low-stock-alert p strong{color:#E4C679}@media(max-width:620px){.admin-reseller-rules-grid{grid-template-columns:1fr}.reseller-low-stock-alert{align-items:flex-start;flex-direction:column}.reseller-low-stock-alert .btn{width:100%}.reseller-goal-meta{flex-direction:column}}
.reseller-plan-bonus{margin-top:9px;padding:8px 10px;border-radius:10px;border:1px solid rgba(212, 178, 92,.16);background:rgba(212, 178, 92,.04);color:#A99970;font-size:8px}.reseller-plan-bonus strong{color:#E1C274}.admin-plan-row{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(95px,130px))}
@media(max-width:760px){.admin-plan-row{grid-template-columns:1fr 1fr}.admin-plan-info{grid-column:1/-1}}
.support-ticket-list,.admin-support-list{display:grid;gap:12px}.support-ticket{padding:16px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#121212,#080808)}.support-ticket-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.support-ticket-head h2,.support-ticket-head h3{margin:7px 0 3px;color:#F6F0E2;font-size:13px}.support-ticket-head small{color:#84744D;font-size:8px}.support-status{white-space:nowrap;font-size:8px;font-weight:1000;letter-spacing:.6px;padding:7px 9px;border-radius:9px;border:1px solid var(--line);color:#DEC075;background:rgba(212, 178, 92,.04)}.status-closed{color:#9C895A}.status-in_progress{color:#E0C174}.support-thread{display:grid;gap:8px;margin-top:12px}.support-message{padding:11px 12px;border-radius:12px;background:#0A0A0A;border:1px solid rgba(212, 178, 92,.08)}.support-message.from-admin{border-color:rgba(212, 178, 92,.18);background:rgba(212, 178, 92,.035)}.support-message>div{display:flex;justify-content:space-between;gap:8px}.support-message strong{font-size:8px;color:#DCBF74}.support-message time{font-size:7px;color:#6F6240}.support-message p{margin:6px 0 0;white-space:pre-wrap;color:#C0AE7F;font-size:9px;line-height:1.55}.support-reply{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.support-reply textarea,.admin-support-reply textarea{width:100%;resize:vertical;min-height:42px;padding:10px;border-radius:10px;border:1px solid var(--line);background:#080808;color:#ECE4D5}.admin-support-reply{margin-top:12px;padding-top:12px;border-top:1px solid rgba(212, 178, 92,.08)}.admin-support-reply-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.support-ticket .pill{text-transform:uppercase}.admin-support-ticket{padding:18px}.admin-support-ticket h2{font-size:15px}.admin-support-list .empty{padding:25px}.support-new-card{margin-bottom:14px}
@media(max-width:620px){.support-ticket-head{flex-direction:column}.support-reply{grid-template-columns:1fr}.admin-support-reply-actions{flex-direction:column}.admin-support-reply-actions>*{width:100%}}

/* Controle de créditos da própria conta Admin */
.admin-credit-self-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:22px 0 4px}.admin-credit-self-row>div:first-child{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.admin-credit-self-row small{width:100%;font-size:11px;letter-spacing:.16em;opacity:.7}.admin-credit-self-row strong{font-size:32px}.admin-credit-self-row span{opacity:.72}.admin-credit-self-row .admin-credit-action{display:flex;gap:10px;align-items:center}.admin-credit-self-row .admin-credit-action input{min-width:150px}
@media (max-width:720px){.admin-credit-self-row{align-items:stretch}.admin-credit-self-row>div,.admin-credit-self-row .admin-credit-action{width:100%}.admin-credit-self-row .admin-credit-action input{flex:1;min-width:0}.admin-credit-self-row .admin-credit-action .btn{white-space:nowrap}}

/* Modal de análise do cadastro de revendedor */
.reseller-pending-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(0, 0, 0,.78);backdrop-filter:blur(10px)}
.reseller-pending-modal[hidden]{display:none}
.reseller-pending-dialog{width:min(520px,100%);padding:24px;border-radius:22px;border:1px solid rgba(212, 178, 92,.25);background:linear-gradient(145deg,#171717,#070707);box-shadow:0 30px 90px rgba(0, 0, 0,.62);text-align:left}
.reseller-pending-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:rgba(212, 178, 92,.08);border:1px solid rgba(212, 178, 92,.18);margin-bottom:15px}
.reseller-pending-icon img{width:26px;height:26px}
.reseller-pending-dialog h3{margin:0 0 7px;color:#F7DFA3;font-size:19px}
.reseller-pending-dialog p{margin:0;color:#AA9A70;font-size:10px;line-height:1.65}
.reseller-pending-dialog small{display:block;margin-top:11px;color:#746643;font-size:8px;line-height:1.55}
.reseller-pending-dialog small strong{color:#D9BB6F}
.reseller-pending-dialog .btn{margin-top:17px;min-width:120px}


/* Comunicação: promoções exibidas a cada acesso */
.promotion-modal-open{overflow:hidden}.access-promotion-modal{position:fixed;inset:0;z-index:12000;display:none;align-items:center;justify-content:center;padding:18px}.access-promotion-modal.is-open{display:flex}.access-promotion-modal.is-closed{display:none}.access-promotion-backdrop{position:absolute;inset:0;background:rgba(0, 0, 0,.86);backdrop-filter:blur(12px)}.access-promotion-dialog{position:relative;z-index:1;width:min(620px,96vw);padding:28px;border-radius:24px;border:1px solid rgba(212, 178, 92,.30);background:linear-gradient(145deg,#17140B,#070707);box-shadow:0 35px 120px rgba(0, 0, 0,.70),0 0 42px rgba(212, 178, 92,.08);color:#FFF}.access-promotion-x{position:absolute;right:14px;top:14px;width:38px;height:38px;border-radius:12px;border:1px solid rgba(212, 178, 92,.20);background:#06080B;color:#E4C578;font-size:25px;line-height:1;cursor:pointer}.access-promotion-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(212, 178, 92,.16);border-radius:999px;background:rgba(212, 178, 92,.06);color:#E3C373;font-size:8px;font-weight:1000;letter-spacing:1.2px}.access-promotion-badge img{width:15px;height:15px}.access-promotion-dialog h2{margin:18px 0 9px;font-size:26px;color:#FFE6A8}.access-promotion-dialog p{margin:0;white-space:pre-wrap;color:#B5A377;font-size:11px;line-height:1.75}.access-promotion-expire{display:block;margin-top:14px;color:#8F7E53;font-size:8px}.access-promotion-expire strong{color:#DDBF74}.access-promotion-close{display:block;width:100%;margin-top:22px;min-height:46px}
.communication-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.communication-guide-item{display:flex;gap:11px;align-items:center;padding:13px 14px;border:1px solid rgba(212, 178, 92,.12);border-radius:15px;background:rgba(212, 178, 92,.035)}.communication-guide-item img{width:22px;height:22px}.communication-guide-item b{display:block;color:#ECD18C;font-size:10px}.communication-guide-item span{display:block;margin-top:3px;color:#8F7E53;font-size:8px;line-height:1.45}.communication-kind-preview{min-height:40px;display:flex;align-items:center;padding:10px 12px;border-radius:11px;border:1px solid rgba(212, 178, 92,.10);background:rgba(212, 178, 92,.03);color:#978558;font-size:8px;line-height:1.5}

/* Manutenção responsiva e contador */
.maintenance-hero{display:flex;align-items:center;gap:11px;margin-top:20px}.maintenance-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:rgba(212, 178, 92,.07);border:1px solid rgba(212, 178, 92,.18)}.maintenance-icon img{width:28px;height:28px}.maintenance-until-box{margin-top:18px;padding:16px 17px;border-radius:16px;border:1px solid rgba(212, 178, 92,.16);background:linear-gradient(145deg,rgba(212, 178, 92,.07),rgba(255, 255, 255,.015))}.maintenance-until-box span{display:block;font-size:8px;letter-spacing:1.2px;font-weight:1000;color:#8B7A51}.maintenance-until-box strong{display:block;margin-top:5px;color:#F1DA9F;font-size:17px}.maintenance-countdown{margin-top:7px;color:#C5B282;font-size:10px;font-weight:900;letter-spacing:.7px}.maintenance-progress{height:5px;margin-top:16px;border-radius:999px;background:#0B0B0B;overflow:hidden}.maintenance-progress span{display:block;width:42%;height:100%;border-radius:999px;background:linear-gradient(90deg,#8C6E22,#D4B25C);box-shadow:0 0 18px rgba(212, 178, 92,.25);animation:maintenancePulse 2.2s ease-in-out infinite}@keyframes maintenancePulse{0%,100%{opacity:.55;transform:translateX(0)}50%{opacity:1;transform:translateX(70%)}}.maintenance-footer{text-align:center;margin-top:14px;color:#746643;font-size:8px;letter-spacing:.8px}

/* Comprovante de abastecimento */
.credit-receipt-open{overflow:hidden}.credit-receipt-modal{position:fixed;inset:0;z-index:13000;display:grid;place-items:center;padding:14px}.credit-receipt-modal[hidden]{display:none}.credit-receipt-backdrop{position:absolute;inset:0;background:rgba(0, 0, 0,.88);backdrop-filter:blur(12px)}.credit-receipt-dialog{position:relative;z-index:1;width:min(760px,96vw);max-height:92vh;overflow:auto;border-radius:24px;border:1px solid rgba(212, 178, 92,.24);background:linear-gradient(145deg,#17140B,#070707);box-shadow:0 35px 120px rgba(0, 0, 0,.75);padding:24px}.credit-receipt-x{position:absolute;right:13px;top:13px;width:38px;height:38px;border-radius:12px;border:1px solid rgba(212, 178, 92,.17);background:#0C0A05;color:#E5C678;font-size:25px;cursor:pointer}.credit-receipt-kicker{font-size:8px;letter-spacing:1.5px;font-weight:1000;color:#D7B663}.credit-receipt-head h2{margin:6px 45px 5px 0;color:#FFE6A8;font-size:20px}.credit-receipt-head p{margin:0;color:#9F9069;font-size:9px}.credit-receipt-preview{margin-top:16px;padding:16px;border-radius:18px;background:#050505;border:1px solid rgba(212, 178, 92,.12)}.credit-receipt-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.credit-receipt-facts>b{grid-column:1/-1;color:#F4DCA1;font-size:13px}.credit-receipt-facts>span{grid-column:1/-1;color:#D4B25C;font-size:9px}.credit-receipt-facts>div{padding:12px;border-radius:13px;border:1px solid rgba(212, 178, 92,.08);background:rgba(212, 178, 92,.03)}.credit-receipt-facts small{display:block;color:#7D6E49;font-size:7px;letter-spacing:.8px;font-weight:1000}.credit-receipt-facts strong{display:block;margin-top:4px;color:#EFD89E;font-size:11px;word-break:break-word}.credit-receipt-facts div span{display:block;margin-top:2px;color:#8C7B51;font-size:8px}.credit-receipt-actions{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px;margin-top:14px}.credit-receipt-actions .btn{min-height:44px}@media(max-width:650px){.communication-guide{grid-template-columns:1fr}.access-promotion-dialog{padding:23px}.access-promotion-dialog h2{font-size:21px}.maintenance-wrap{width:100%}.maintenance-card{padding:22px}.credit-receipt-dialog{padding:18px}.credit-receipt-facts{grid-template-columns:1fr}.credit-receipt-actions{grid-template-columns:1fr}.credit-receipt-actions .btn{width:100%}}

.credit-receipt-image-state{display:grid;place-items:center;min-height:170px;margin-top:12px;border:1px dashed rgba(212, 178, 92,.14);border-radius:14px;color:#81724B;font-size:8px}.credit-receipt-image{display:block;width:100%;height:auto;margin-top:12px;border-radius:13px;border:1px solid rgba(212, 178, 92,.14);background:#050505}



/* WHATSAPP X — IDENTIDADE FIXA PRETO + DOURADO METÁLICO */
:root{
 --bg:#050505!important;--bg-deep:#020202!important;--panel:#0B0A07!important;--panel-2:#12100A!important;--panel-3:#19150A!important;
 --line:rgba(212,175,55,.20)!important;--line-strong:rgba(244,211,94,.48)!important;
 --text:#FFF9E8!important;--muted:#C9BE9B!important;--soft:#94845C!important;
 --blue:#D4AF37!important;--blue-2:#8D6A16!important;--blue-glow:rgba(212,175,55,.20)!important;
 --gold:#D4AF37!important;--gold-2:#9C7417!important;--gold-glow:rgba(212,175,55,.22)!important;
 --v6-black:#020202!important;--v6-black-2:#050505!important;--v6-black-3:#0B0A07!important;--v6-surface:#12100A!important;--v6-surface-2:#19150A!important;
 --v6-gold-1:#8A6412!important;--v6-gold-2:#B68A20!important;--v6-gold-3:#D4AF37!important;--v6-gold-4:#FFF0A8!important;--v6-gold-rgb:212,175,55!important;
 --wx-black:#050505!important;--wx-black-2:#0B0A07!important;--wx-panel:#0B0A07!important;--wx-panel-2:#12100A!important;--wx-panel-3:#19150A!important;
 --wx-gold:#D4AF37!important;--wx-gold-bright:#FFF0A8!important;--wx-gold-soft:#8D6A16!important;--wx-gold-rgb:212,175,55!important;
 --wx-text:#FFF9E8!important;--wx-muted:#C9BE9B!important;--wx-line:rgba(212,175,55,.20)!important;--wx-line-strong:rgba(244,211,94,.48)!important;
}
html,body,body[data-theme],body[data-theme="blue"],body[data-theme="green"],body[data-theme="pink"],body[data-theme="red"],body[data-theme="blue-black"],body[data-theme="blue-gold"],body[data-theme="pink-gold"]{
 background:radial-gradient(circle at 88% 8%,rgba(212,175,55,.10),transparent 29%),radial-gradient(circle at 6% 95%,rgba(141,106,22,.09),transparent 30%),linear-gradient(145deg,#020202 0%,#0A0905 50%,#030303 100%)!important;color:#FFF9E8!important;
}
.side{background:linear-gradient(180deg,rgba(7,7,5,.99),rgba(2,2,2,.99))!important;border-right-color:rgba(212,175,55,.24)!important}
.side::before{background:radial-gradient(circle at 50% 40%,rgba(212,175,55,.16),transparent 65%)!important}
.side::after{background:linear-gradient(180deg,rgba(244,211,94,.40),transparent 28%,transparent 75%,rgba(141,106,22,.22))!important}
.brand b,.page-title em,.landing-copy h1 span,.creator-copy h2 strong,.coder-footer-title b,.coder-footer-title strong,.coder-footer-kicker,.admin-section-label,.admin-eyebrow,.nav-title,.section-kicker{color:#E5C45A!important}
.brand-sub,.maintenance-footer{color:#C9B46A!important}
.btn.primary,.btn.gold,.primary,.gold,.access-promotion-close{background:linear-gradient(135deg,#FFF0A8 0%,#D4AF37 32%,#9B7417 66%,#F0D76F 100%)!important;color:#161105!important;border-color:#E6C75A!important;box-shadow:0 10px 30px rgba(212,175,55,.20)!important}
.btn.secondary,.secondary{background:linear-gradient(145deg,#1B170A,#080705)!important;border-color:rgba(212,175,55,.28)!important;color:#F6E7AE!important}
.nav a.active{background:linear-gradient(135deg,rgba(212,175,55,.24),rgba(18,15,7,.94))!important;border-color:rgba(226,191,64,.36)!important;box-shadow:inset 0 0 28px rgba(212,175,55,.08),0 10px 30px rgba(0,0,0,.20)!important}
.card,.pro-stat,.admin-shortcut,.account-card,.reseller-stat,.reseller-stock-item,.modal,.dialog,.access-promotion-dialog,.credit-receipt-dialog,.reseller-pending-dialog,.maintenance-card{border-color:rgba(212,175,55,.23)!important;background-color:rgba(12,11,7,.92)!important}
.admin-status.is-active i,.dashboard-connect-dot,.feature-dot{background:#D4AF37!important;box-shadow:0 0 14px rgba(212,175,55,.5)!important}
.table th,.table th a{color:#E5C45A!important}.pill,.content-pill,.group-count-pill,.billing-badge{border-color:rgba(212,175,55,.24)!important}
input:focus,select:focus,textarea:focus{border-color:#D4AF37!important;box-shadow:0 0 0 3px rgba(212,175,55,.12)!important}
.maintenance-page{background:radial-gradient(circle at 50% 10%,rgba(212,175,55,.12),transparent 32%),#050505!important}
a:not(.btn){color:#E5C45A}
svg [fill="#368CFF"],svg [fill="#68B0FF"],svg [stroke="#368CFF"]{fill:#D4AF37!important;stroke:#D4AF37!important}


/* ===== TEMA PRATA METÁLICA (alternável pelo seletor inferior) ===== */
body[data-theme="silver-metal"]{
  --bg:#030405;--bg-deep:#010203;
  --panel:#101214;--panel-2:#171a1d;--panel-3:#202428;
  --line:rgba(205,213,222,.22);--line-strong:rgba(225,232,240,.48);
  --text:#F4F6F8;--muted:#B9C0C8;--soft:#858D96;
  --blue:#C8D0D8;--blue-2:#8E99A5;--blue-glow:rgba(205,213,222,.18);
  --gold:#DDE2E7;--gold-2:#8F99A3;--gold-glow:rgba(220,228,236,.16);
  --green:#C8D0D8;--red:#E0E4E8;
  --accent-rgb:205,213,222;--accent:#DDE2E7;--accent-2:#8E99A5;
  --line:rgba(205,213,222,.2);--line-strong:rgba(225,232,240,.45);
  --shadow:0 30px 100px rgba(0,0,0,.55);--shadow-soft:0 18px 50px rgba(0,0,0,.4);
}
body[data-theme="silver-metal"]{
  background:radial-gradient(circle at 12% 8%,rgba(205,213,222,.09),transparent 29%),
  radial-gradient(circle at 88% 12%,rgba(205,213,222,.06),transparent 24%),
  linear-gradient(145deg,#050607 0%,#0b0d0f 48%,#010203 100%) !important;
}
body[data-theme="silver-metal"]::after{background:radial-gradient(circle,rgba(210,218,226,.09),transparent 66%)!important}
body[data-theme="silver-metal"] .btn,
body[data-theme="silver-metal"] button,
body[data-theme="silver-metal"] .nav-link,
body[data-theme="silver-metal"] .tab,
body[data-theme="silver-metal"] .badge,
body[data-theme="silver-metal"] .status-badge{
  border-color:rgba(205,213,222,.42)!important;
}
body[data-theme="silver-metal"] .btn.primary,
body[data-theme="silver-metal"] .btn.gold,
body[data-theme="silver-metal"] .buy-btn,
body[data-theme="silver-metal"] .nav-link.active,
body[data-theme="silver-metal"] .theme-switch-btn.active{
  color:#08090a!important;
  background:linear-gradient(135deg,#f0f2f4 0%,#b9c1c9 42%,#eef1f4 56%,#8c969f 100%)!important;
  border-color:#e3e7eb!important;
  box-shadow:0 0 18px rgba(205,213,222,.13),inset 0 1px rgba(255,255,255,.8)!important;
}
body[data-theme="silver-metal"] .card,
body[data-theme="silver-metal"] .panel,
body[data-theme="silver-metal"] .stat-card,
body[data-theme="silver-metal"] .plan-card,
body[data-theme="silver-metal"] .modal,
body[data-theme="silver-metal"] .modal-content,
body[data-theme="silver-metal"] .table-wrap,
body[data-theme="silver-metal"] .account-card{
  background-color:rgba(14,16,18,.96)!important;
  border-color:rgba(205,213,222,.23)!important;
}
body[data-theme="silver-metal"] .card h1,
body[data-theme="silver-metal"] .card h2,
body[data-theme="silver-metal"] .card h3,
body[data-theme="silver-metal"] .section-kicker,
body[data-theme="silver-metal"] .dashboard-stat strong,
body[data-theme="silver-metal"] .brand b{
  color:#e0e5ea!important;
  text-shadow:0 0 12px rgba(205,213,222,.12);
}
body[data-theme="silver-metal"] input,
body[data-theme="silver-metal"] select,
body[data-theme="silver-metal"] textarea{
  color:#f2f4f6!important;background:#080a0c!important;border-color:#515a63!important;
}
body[data-theme="silver-metal"] input::placeholder,
body[data-theme="silver-metal"] textarea::placeholder{color:#858e97!important}
body[data-theme="silver-metal"] svg,
body[data-theme="silver-metal"] .icon,
body[data-theme="silver-metal"] .nav-icon img,
body[data-theme="silver-metal"] .card-icon img{filter:grayscale(1) brightness(1.35)!important}
.theme-switcher{
 position:fixed;z-index:9999;left:50%;bottom:max(12px,env(safe-area-inset-bottom));
 transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:6px;
 border:1px solid rgba(212,175,55,.38);border-radius:16px;
 background:rgba(5,6,7,.96);box-shadow:0 8px 32px #000b,0 0 18px rgba(212,175,55,.08);
 backdrop-filter:blur(16px);max-width:calc(100vw - 20px)
}
.theme-switcher-label{font-size:10px;font-weight:800;letter-spacing:.08em;padding:0 7px;color:#b9aa82;white-space:nowrap}
.theme-switch-btn{border:1px solid #5e4b1c;background:#15120a;color:#e5c45f;border-radius:10px;padding:10px 13px;font:700 12px Inter,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.theme-switch-btn.active{background:linear-gradient(135deg,#ffe18a,#a78328);color:#080808;border-color:#ffe8a2}
body[data-theme="silver-metal"] .theme-switcher{border-color:rgba(205,213,222,.45)}
body[data-theme="silver-metal"] .theme-switcher-label{color:#b9c0c8}
body[data-theme="silver-metal"] .theme-switch-btn{background:#111417;color:#dce2e8;border-color:#5b646e}
body[data-theme="silver-metal"] .theme-switch-btn.active{background:linear-gradient(135deg,#f0f2f4,#aeb7c0,#e8ecef);color:#08090a;border-color:#e6eaee}
body{padding-bottom:72px}
@media(max-width:520px){.theme-switcher{width:max-content;max-width:calc(100vw - 14px);bottom:max(7px,env(safe-area-inset-bottom));gap:4px}.theme-switcher-label{font-size:9px;padding:0 3px}.theme-switch-btn{padding:10px 9px;font-size:11px}}


/* WhatsApp X — identidade única preto + dourado metálico; sem seletor de temas. */
body[data-theme="silver-metal"], body[data-theme="blue-black"], body[data-theme="blue"],
body[data-theme="green"], body[data-theme="pink"], body[data-theme="red"],
body[data-theme="blue-gold"], body[data-theme="pink-gold"] {
  --blue:#D4AF37 !important;
  --blue-2:#A88936 !important;
  --blue-glow:rgba(212,175,55,.20) !important;
  --accent-rgb:212,175,55 !important;
  --accent:#D4AF37 !important;
  --accent-2:#8F7022 !important;
  --gold:#D4AF37 !important;
  --gold-2:#A88936 !important;
  --bg:#020202 !important;
  --bg-deep:#000000 !important;
  --panel:#070707 !important;
  --panel-2:#0D0B06 !important;
  --panel-3:#141108 !important;
  --line:rgba(212,175,55,.16) !important;
  --line-strong:rgba(212,175,55,.34) !important;
}
body[data-theme="silver-metal"]::after,
body[data-theme="silver-metal"] .side::before { background:radial-gradient(circle,rgba(212,175,55,.10),transparent 65%) !important; }
body[data-theme="silver-metal"] .primary,
body[data-theme="silver-metal"] .automation-save-btn { background:linear-gradient(145deg,#8F7022,#D4AF37) !important; color:#090909 !important; }
body[data-theme="silver-metal"] .nav a.active .nav-icon { background:linear-gradient(145deg,#8F7022,#D4AF37) !important; color:#090909 !important; }
body[data-theme="silver-metal"] .theme-switcher { display:none !important; }
