:root{
 --bg:#05070d;--panel:#0b1019;--panel2:#0e1520;--line:#1d2938;--text:#eef7ff;--muted:#7f8da1;
 --cyan:#00e5ff;--green:#00ff9d;--red:#ff416d;--yellow:#ffd166;--blue:#5b8cff;--purple:#a78bfa;
 --shadow:0 25px 70px #0008;
}
*{box-sizing:border-box} html{scroll-behavior:smooth;color-scheme:dark}
body{margin:0;min-height:100vh;background-image:var(--site-bg,none),radial-gradient(circle at 50% -10%,rgba(0,229,255,.10),transparent 32%),radial-gradient(circle at 100% 100%,rgba(0,255,157,.05),transparent 30%);background-size:cover,auto,auto;background-position:center; background-attachment:fixed;background-color:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif}
a{color:inherit}
/* =========================================================
   TEMA 1 — NEON / ORIGINAL
========================================================= */
body[data-theme="neon"]{--bg:#05070d;--panel:#0b1019;--panel2:#0e1520;--line:#1d2938;--text:#eef7ff;--muted:#7f8da1;--cyan:#00e5ff;--green:#00ff9d;--red:#ff416d;--yellow:#ffd166;--blue:#5b8cff;--purple:#a78bfa}
/* =========================================================
   TEMA 2 — MIDNIGHT GLASS / AURORA
========================================================= */
body[data-theme="aurora"]{--bg:#060912;--panel:#0c1220;--panel2:#11182a;--line:#25314a;--text:#f3f7ff;--muted:#8d9ab1;--cyan:#7dd3fc;--green:#5eead4;--red:#fb7185;--yellow:#fcd34d;--blue:#93c5fd;--purple:#c4b5fd}
body[data-theme="aurora"]{background:radial-gradient(circle at 15% 0%,rgba(125,211,252,.12),transparent 30%),radial-gradient(circle at 85% 15%,rgba(196,181,253,.13),transparent 28%),radial-gradient(circle at 50% 100%,rgba(94,234,212,.08),transparent 35%),#060912}
body[data-theme="aurora"] .panel,body[data-theme="aurora"] .header,body[data-theme="aurora"] .card,body[data-theme="aurora"] .confirm,body[data-theme="aurora"] .modalBox{background:linear-gradient(145deg,rgba(20,29,48,.82),rgba(8,13,24,.82));backdrop-filter:blur(18px)}
/* =========================================================
   TEMA 3 — TECH PREMIUM / QUANTUM FORGE
========================================================= */
body[data-theme="quantum"]{--bg:#02030a;--panel:#080b14;--panel2:#0d1120;--line:#222942;--text:#f8fbff;--muted:#77819a;--cyan:#67e8f9;--green:#a3ff12;--red:#ff3b81;--yellow:#facc15;--blue:#60a5fa;--purple:#d946ef}
body[data-theme="quantum"]{background:radial-gradient(circle at 50% -15%,rgba(103,232,249,.15),transparent 27%),radial-gradient(circle at 0% 60%,rgba(217,70,239,.08),transparent 26%),radial-gradient(circle at 100% 90%,rgba(163,255,18,.06),transparent 25%),#02030a}
body[data-theme="quantum"] .panel,body[data-theme="quantum"] .header,body[data-theme="quantum"] .card,body[data-theme="quantum"] .confirm,body[data-theme="quantum"] .modalBox{background:linear-gradient(145deg,#0b1020,#050711);box-shadow:0 30px 90px #000c,0 0 55px rgba(103,232,249,.045)}
body[data-theme="quantum"] .header:after,body[data-theme="quantum"] .panel:before{background:linear-gradient(90deg,transparent,var(--cyan),var(--purple),var(--green),transparent)}
.app{width:min(1120px,94%);margin:28px auto 50px}
.header{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#0d1420,#080c14);box-shadow:var(--shadow)}
.header:after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--cyan),var(--green),transparent);box-shadow:0 0 20px var(--cyan)}
.brand{display:flex;align-items:center;gap:15px}.brandIcon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;color:var(--cyan);background:rgba(0,229,255,.07);border:1px solid rgba(0,229,255,.25);box-shadow:0 0 25px rgba(0,229,255,.12);font-size:23px;flex:0 0 auto}
.header h1{margin:0;font-size:24px;font-weight:900;letter-spacing:-.5px}.sub{margin-top:4px;color:var(--muted);font-size:12px}.cond{margin-top:5px;color:var(--cyan);font-size:13px;font-weight:700}
.connection{display:flex;align-items:center;gap:9px;padding:9px 13px;border-radius:999px;border:1px solid var(--line);background:#080d15;color:var(--muted);font-size:12px;white-space:nowrap}.dot{width:8px;height:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 10px var(--yellow)}.dot.online{background:var(--green);box-shadow:0 0 12px var(--green)}.dot.offline{background:var(--red);box-shadow:0 0 12px var(--red)}
.panel{position:relative;overflow:hidden;margin-top:20px;padding:28px;border:1px solid var(--line);border-radius:24px;background:rgba(11,16,25,.92);box-shadow:0 20px 60px #0006}.panel:before{content:"";position:absolute;left:5%;right:5%;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--cyan),transparent);box-shadow:0 0 15px var(--cyan);pointer-events:none}
.panelTitle{text-align:center;margin-bottom:22px}.panelTitle h2{margin:0;font-size:21px;font-weight:800}.panelTitle p{margin:7px 0 0;color:var(--muted);font-size:12px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.choice{position:relative;min-height:150px;padding:20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#101823,#0a1018);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text);font-size:15px;font-weight:800;cursor:pointer;transition:.2s ease;overflow:hidden}.choice:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 0%,rgba(0,229,255,.09),transparent 55%);opacity:0;transition:.2s}.choice:hover{transform:translateY(-4px);border-color:rgba(0,229,255,.5);box-shadow:0 0 30px rgba(0,229,255,.10)}.choice:hover:before{opacity:1}.choice i{position:relative;font-size:36px;filter:drop-shadow(0 0 9px currentColor)}.choice .companyIcon{width:48px;height:48px;object-fit:contain;position:relative;filter:drop-shadow(0 0 9px currentColor)}
.choice .companyColor{font-size:36px}.company-ml{color:#ffe600}.company-shopee{color:#ee4d9b}.company-correios{color:#ffcf33}.company-other{color:#00ff9d}.company-default{color:var(--cyan)}
.back{margin-top:18px}.btn{border:1px solid transparent;border-radius:13px;padding:13px 18px;font-family:inherit;font-size:13px;font-weight:800;color:#fff;cursor:pointer;transition:.2s}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.blue{background:rgba(0,229,255,.10);border-color:rgba(0,229,255,.3);color:var(--cyan)}.btn.green{background:linear-gradient(135deg,#00d98a,#00a96d);color:#00150d;border-color:var(--green);box-shadow:0 0 25px rgba(0,255,157,.12)}.btn.red{background:rgba(255,65,109,.10);border-color:rgba(255,65,109,.3);color:#ff718e}.btn.yellow{background:rgba(255,209,102,.10);border-color:rgba(255,209,102,.3);color:var(--yellow)}.btn.gray{background:#182432;color:#a8b8c7;border-color:#2a4053}
.row{display:flex;gap:12px;margin-top:18px}.row>*{flex:1}.confirm{position:relative;padding:28px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(145deg,#101823,#090e16);text-align:center}.confirmLabel{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:2px}.person{margin:10px 0;font-size:25px;font-weight:900}.location{color:var(--cyan);font-size:13px}
.info{padding:20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#101823,#090e16);text-align:center}.gps{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.55}.ok{color:var(--green)!important;font-weight:800}.err{color:var(--red)!important;font-weight:800}.warn{background:rgba(255,209,102,.08);color:var(--yellow);border:1px solid rgba(255,209,102,.22);padding:12px;border-radius:12px;margin-top:15px;font-size:12px}
.modal{display:none;position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.78);backdrop-filter:blur(12px);place-items:center;padding:20px}.modal.show{display:grid}.modalBox{width:min(500px,100%);padding:30px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#111a27,#080d15);box-shadow:0 30px 100px #000;text-align:center}.modalIcon{width:58px;height:58px;margin:0 auto 16px;display:grid;place-items:center;border-radius:18px;color:var(--cyan);border:1px solid rgba(0,229,255,.3);background:rgba(0,229,255,.07);box-shadow:0 0 30px rgba(0,229,255,.12);font-size:22px}.modalBox h2{margin:0 0 10px;font-size:22px}.modalBox p{margin:0 0 22px;color:var(--muted);line-height:1.6;font-size:13px}
@media(max-width:800px){.grid{grid-template-columns:repeat(2,1fr)}.header{align-items:flex-start;flex-direction:column}.connection{align-self:flex-end}}@media(max-width:500px){.app{width:94%;margin-top:15px}.panel{padding:18px}.header{padding:20px}.grid{grid-template-columns:1fr 1fr;gap:10px}.choice{min-height:130px;padding:12px;font-size:13px}.choice i{font-size:30px}.choice .companyIcon{width:40px;height:40px}.row{flex-direction:column}}

/* V3.6 UX */
.brandIcon img,.brandmark img{width:100%;height:100%;object-fit:contain;border-radius:inherit}.deliveryCond{max-width:620px;margin:0 auto 18px;padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(5,12,21,.75)}.deliveryCond label{display:block;color:var(--muted);font-size:12px;font-weight:800;margin-bottom:7px}.deliveryCond select{width:100%;padding:14px;border:1px solid #294158;border-radius:12px;background:#050c15;color:var(--text);font:600 16px Inter,Arial}.choice{font-size:16px}.deliveryCondoName{font-size:22px!important;font-weight:900!important;line-height:1.2}.dot.online{width:12px;height:12px;box-shadow:0 0 18px var(--green),0 0 30px rgba(0,255,157,.45)}

/* V4.2 Luminous Prime - premium claro e marcante */
body[data-theme="luminous"]{--bg:#eef4fb;--panel:#ffffff;--panel2:#f7faff;--line:#cbd8e8;--text:#0b1730;--muted:#5e6f86;--cyan:#006dff;--green:#00a85a;--red:#e21d48;--yellow:#e59b00;--blue:#315cff;--purple:#7b35e8;background:radial-gradient(circle at 8% 0%,rgba(0,109,255,.14),transparent 28%),radial-gradient(circle at 92% 12%,rgba(123,53,232,.14),transparent 25%),linear-gradient(145deg,#f8fbff,#eaf1f9)}
body[data-theme="luminous"] .panel,body[data-theme="luminous"] .header,body[data-theme="luminous"] .card,body[data-theme="luminous"] .confirm,body[data-theme="luminous"] .modalBox{background:rgba(255,255,255,.88);backdrop-filter:blur(18px);box-shadow:0 20px 60px rgba(38,63,100,.13)}
body[data-theme="luminous"] .choice{background:linear-gradient(145deg,#fff,#edf4ff);border-color:#c9d8eb;color:#0b1730}
body[data-theme="luminous"] .btn.blue{background:#eaf2ff;color:#005fe0;border-color:#9cc1ff}
body[data-theme="luminous"] .btn.green{background:linear-gradient(135deg,#00c66b,#00a85a);color:white}
body[data-theme="luminous"] .btn.red{background:#fff0f3;color:#d71945;border-color:#ffb3c2}
body[data-theme="luminous"] .btn.yellow{background:#fff8e5;color:#b77700;border-color:#ffd46b}
body[data-theme="luminous"] .deliveryCondoName{color:#005fe0}

/* Campos públicos seguem a luminosidade do tema, sem fundo escuro fixo. */
body .panel input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]):not([type=range]),body .panel select,body .panel textarea{background:color-mix(in srgb,color-mix(in srgb,var(--panel) 75%,white 25%) 90%,transparent)!important;color:var(--text)!important;border-color:var(--line)!important}
body .panel input::placeholder{color:var(--muted);opacity:1}

/* Superfície branca com 40% de opacidade somente nos temas escuros. */
:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .panel input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .panel select,:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .panel textarea,:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .tabPanel input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .tabPanel select,:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .tabPanel textarea,:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .condModalBox input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .condModalBox select,:is(body[data-theme="neon"],body[data-theme="aurora"],body[data-theme="quantum"],body[data-theme="escuro"],body[data-theme="dark"]) .condModalBox textarea{background:rgba(255,255,255,.40)!important;color:var(--text)!important}

/* Luminous Ultra, existing option made persistent. */, shared by public and portal pages. */
body[data-theme="luminous2"]{--bg:#f2f5ff;--panel:#ffffff;--panel2:#f6f8ff;--line:#cdd8eb;--text:#142642;--muted:#536987;--cyan:#2654ed;--green:#008f70;--red:#d32863;--yellow:#a96800;--blue:#2654ed;--purple:#a72ac4;background:radial-gradient(circle at 85% 0%,#e9d9ff 0,transparent 32%),radial-gradient(circle at 0% 60%,#dceaff 0,transparent 34%),#f2f5ff;color-scheme:light}
body[data-theme="luminous2"] .panel,body[data-theme="luminous2"] .header,body[data-theme="luminous2"] .card,body[data-theme="luminous2"] .confirm,body[data-theme="luminous2"] .modalBox{background:#fff;box-shadow:0 20px 52px #29437d1c}
body[data-theme="luminous2"] .choice{background:linear-gradient(145deg,#fff,#f0f4ff);border-color:#c9d8f2;color:#142642}
body[data-theme="luminous2"] .btn.blue{background:#e7edff;color:#1943c3;border-color:#a8bbfa}
body[data-theme="luminous2"] .btn.green{background:#008f70;color:#fff;border-color:#008f70}
body[data-theme="luminous2"] .btn.red{background:#fff0f5;color:#b82255;border-color:#f0b7ce}
body[data-theme="luminous2"] .deliveryCondoName{color:#2654ed}

/* V46 Studio: public pages share the new operational palette. */
body[data-theme="v46"]{--bg:#080e16;--panel:#101a26;--panel2:#142130;--line:#293a49;--text:#f3f6f3;--muted:#aabac4;--cyan:#bafa58;--green:#bafa58;--red:#ff7287;--yellow:#ffd584;--blue:#92b9ff;--purple:#af9eff;background:#080e16;color-scheme:dark}
