body[data-theme="shock"]{--bg:#04101f;--panel:#071b2c;--panel2:#092b45;--line:#297499;--text:#f2faff;--muted:#b7d1e1;--cyan:#16cfff;--green:#08e586;--red:#ff405f;--yellow:#ffcf22;--blue:#1174ff;--purple:#7454ff;--theme-accent:#0bcfff;--theme-contrast:#042033;--theme-card:linear-gradient(145deg,#093453,#071b2c);--theme-glow:#12a8f550;background:radial-gradient(circle at 72% 0,#0e577244,transparent 40%),#04101f!important;color:var(--text)}
/* Temas globais do InteliBox: admin, morador, entrega e retirada. */
body[data-theme="violeta"]{--bg:#120b29;--panel:#21163c;--panel2:#2b1e4c;--line:#6f50a4;--text:#f7efff;--muted:#c9b9df;--cyan:#c58aff;--green:#32dfab;--red:#ff6a94;--yellow:#ffd579;--blue:#a178fa;--purple:#cc8cff;--theme-accent:#b179f5;--theme-contrast:#1d1031;--theme-card:linear-gradient(140deg,#302052,#1b1234 67%,#392562);--theme-glow:#bb78ef50;color-scheme:dark;background:radial-gradient(circle at 83% 8%,#7541a355,transparent 34%),radial-gradient(circle at 3% 78%,#47316f99,transparent 37%),#120b29!important;color:var(--text)}
body[data-theme="cromo"]{--bg:#161e24;--panel:#26323b;--panel2:#303e47;--line:#8699a5;--text:#f2f7fa;--muted:#b8c9d1;--cyan:#d4e4eb;--green:#65d7b0;--red:#ff8192;--yellow:#edc883;--blue:#a6c1d2;--purple:#bec6ed;--theme-accent:#c1d0d7;--theme-contrast:#1a2932;--theme-card:linear-gradient(125deg,#62717b,#303b43 35%,#20292f 75%,#66747c);--theme-glow:#d4e6f44a;color-scheme:dark;background:linear-gradient(135deg,#4c5962,#172129 43%,#343f48)!important;color:var(--text)}
body[data-theme="cromo_laranja"]{--bg:#1b2023;--panel:#292f33;--panel2:#383d3e;--line:#b78257;--text:#fff5ea;--muted:#d8c6b8;--cyan:#ff9e48;--green:#73d7aa;--red:#ff6f6f;--yellow:#ffd18b;--blue:#ffa55b;--purple:#dfa5a0;--theme-accent:#ff9636;--theme-contrast:#271a10;--theme-card:linear-gradient(130deg,#687076,#333a3d 34%,#22282b 70%,#66442c);--theme-glow:#f28a3155;color-scheme:dark;background:radial-gradient(circle at 88% 8%,#d5722744,transparent 30%),linear-gradient(130deg,#424c51,#151e23 54%,#38302a)!important;color:var(--text)}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .header,:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .panel,:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .card,:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .confirm,:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .modalBox{background:var(--theme-card)!important;border-color:var(--line)!important;color:var(--text)!important;box-shadow:0 16px 45px #0006,0 0 24px var(--theme-glow)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(h1,h2,h3,h4,.panelTitle h2,.card h3){color:var(--text)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(.sub,.note,.muted,.panelTitle p,.row small,.card p,.condListMeta){color:var(--muted)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(.brandIcon,.modalIcon,.condIcon,.heroGlyph){color:var(--theme-accent)!important;filter:drop-shadow(0 0 9px var(--theme-glow))}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(.choice,.metric,.rowAdmin,.boxHealthCard){background:color-mix(in srgb,var(--panel) 85%,var(--theme-accent) 15%)!important;border-color:var(--line)!important;color:var(--text)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(.btn.blue,.btn.green,button:not(.tab):not(.choice):not(.condOrb):not(.wifiReveal):not(.themeCard):not(.dash-design-choice),.residentNav a.active){background:var(--theme-accent)!important;border-color:var(--theme-accent)!important;color:var(--theme-contrast)!important;box-shadow:0 0 16px var(--theme-glow)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(.btn.red,.btn.yellow){background:var(--panel2)!important;color:var(--red)!important;border-color:var(--red)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),select,textarea){background:var(--panel2)!important;border-color:var(--line)!important;color:var(--text)!important;color-scheme:dark}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(input,textarea)::placeholder{color:var(--muted)}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) a{color:var(--cyan)}
/* Admin: a seleção na aba Aparência transforma a navegação e os indicadores. */
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]).ib-admin .admin-header,:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .admin-header{background:var(--theme-card)!important;border-color:var(--line)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .tabs{background:var(--panel)!important;border-color:var(--line)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .tabs .tab{color:var(--text)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .tabs .tab.active{background:var(--theme-accent)!important;color:var(--theme-contrast)!important;border-color:var(--theme-accent)!important;box-shadow:0 0 17px var(--theme-glow)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .tabs .tab.active i{color:var(--theme-contrast)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) :is(.odometerCard,.dash-story,.volumeMeters>div){background:var(--theme-card)!important;border-color:var(--line)!important;color:var(--text)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .odometerCard b{color:var(--theme-accent)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .themeCard.active{border-color:var(--theme-accent)!important;box-shadow:0 0 20px var(--theme-glow)!important}
/* Portal de morador e gestor, cujos estilos próprios são carregados antes desta folha. */
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .portal{color:var(--text)}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .portal .top{border-color:var(--line)}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .portal :is(.residentHero,.residentTitle,.residentNav,.metric,.residentPortal .card){background:var(--theme-card)!important;border-color:var(--line)!important;color:var(--text)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .portal .metric strong{color:var(--theme-accent)!important}
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .portal .residentNav a{color:var(--text)!important;border-color:var(--line)!important}
/* Telas públicas: cartões ilustrados pelas formas e pelo acabamento de cada tema. */
:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]).public-delivery .panel,:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]).public-withdrawal .panel{position:relative;isolation:isolate;overflow:hidden}
body[data-theme="violeta"] :is(.publicHeader,.panel):before{background:radial-gradient(circle at 88% 20%,#bb83ff33 0 9%,transparent 10%),radial-gradient(circle at 88% 20%,transparent 0 15%,#c488ff44 16%,transparent 17%);pointer-events:none}
body[data-theme="cromo"] :is(.publicHeader,.panel):before{background:linear-gradient(125deg,transparent 0 62%,#ffffff19 64%,transparent 68%);pointer-events:none}
body[data-theme="cromo_laranja"] :is(.publicHeader,.panel):before{background:linear-gradient(120deg,transparent 0 76%,#ff9d4638 78%,transparent 82%);pointer-events:none}
body[data-theme="violeta"] .choice{border-radius:22px 6px 22px 6px!important}body[data-theme="cromo"] .choice{border-radius:5px!important;box-shadow:inset 0 1px #fff6!important}body[data-theme="cromo_laranja"] .choice{border-radius:5px 18px 5px 18px!important;border-left:3px solid #ff9636!important}
body.loginPage .box{background:var(--theme-card,var(--panel))!important;border-color:var(--line)!important;color:var(--text)!important}body.loginPage h1{color:var(--cyan)!important}
@media(max-width:650px){:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .header{padding:15px!important}:is(body[data-theme="shock"],body[data-theme="violeta"],body[data-theme="cromo"],body[data-theme="cromo_laranja"]) .tabs{overflow-x:auto!important}}
