/* MiCiudad Beta — identidad celeste/turquesa inspirada en la costa bonaerense, no identidad oficial. */
:root{color-scheme:light dark}
body.light{--bg:#f3f9fc;--panel:#ffffff;--ink:#163c55;--brand:#087eaa;--soft:#e2f4fa;--edge:#c8e1ed;--muted:#526e7f;--accent:#13a6ad;background:linear-gradient(160deg,#f7fcff 0%,#e9f6fb 100%)!important;color:var(--ink)!important;color-scheme:light}
body:not(.light){--bg:#112c3d;--panel:#183a4b;--ink:#eaf8ff;--brand:#5cd4e2;--soft:#214b60;--edge:#41687b;--muted:#b4d1df;--accent:#73bddf;background:linear-gradient(150deg,#0d2534,#1b4659 60%,#123143)!important;color:var(--ink)!important;color-scheme:dark}
body.light.palette-turquesa{--bg:#effbfa;--panel:#fff;--ink:#174b52;--brand:#007e88;--soft:#dff5f3;--edge:#bde2e0;--muted:#527579;--accent:#2eb4bb}
body.light.palette-azul{--bg:#f1f6ff;--panel:#fff;--ink:#203d67;--brand:#275bb1;--soft:#e6eeff;--edge:#cbd9f1;--muted:#5b6f8c;--accent:#4b91df}
body.light.palette-arena{--bg:#fcf8f2;--panel:#fff;--ink:#564734;--brand:#9a6428;--soft:#f8eddc;--edge:#e8d9c5;--muted:#766753;--accent:#d79d50}
body.light.palette-contraste{--bg:#fff;--panel:#fff;--ink:#101820;--brand:#005a86;--soft:#e7f2f8;--edge:#829ba9;--muted:#354c59;--accent:#007b91}
body:not(.light).palette-turquesa{--brand:#69e2d8;--soft:#1b5256;--edge:#407d81}
body:not(.light).palette-azul{--brand:#92bcff;--soft:#263f66;--edge:#58759c}
body:not(.light).palette-arena{--brand:#efc18a;--soft:#4b3e32;--edge:#766453}
body:not(.light).palette-contraste{--bg:#090e14;--panel:#131e2b;--ink:#fff;--brand:#90ecff;--soft:#223b4a;--edge:#9bb2c2;--muted:#e0ebf2;background:#090e14!important}
body.light.palette-turquesa,body.light.palette-azul,body.light.palette-arena,body.light.palette-contraste{background:var(--bg)!important}
body.light.palette-turquesa input,body.light.palette-azul input,body.light.palette-arena input,body.light.palette-contraste input,body.light.palette-turquesa select,body.light.palette-azul select,body.light.palette-arena select,body.light.palette-contraste select,body.light.palette-turquesa textarea,body.light.palette-azul textarea,body.light.palette-arena textarea,body.light.palette-contraste textarea{background:#fff!important;color:var(--ink)!important}
header{background:var(--panel)!important;color:var(--ink)!important;border-bottom:1px solid var(--edge)!important}header h1,header small{color:var(--ink)!important}header small{opacity:.75}
.welcome{background:linear-gradient(115deg,#057fae,#16a8b7)!important;border:0!important;color:#fff!important}.welcome h2,.welcome p,.welcome .eyebrow,.welcome .welcome-status{color:#fff!important}.welcome:after{border-color:#ffffff55!important;box-shadow:0 0 0 40px #ffffff0d,0 0 0 80px #ffffff0a!important}
body:not(.light) .welcome{background:linear-gradient(115deg,#145b7e,#137f8c)!important}
.card,.home-tiles button,.city-modules button{background:var(--panel)!important;color:var(--ink)!important;border-color:var(--edge)!important}
.home-tiles .home-primary{background:var(--soft)!important;border-color:var(--brand)!important}
.home-tiles button .tile-icon,.city-modules button span{color:var(--brand)!important}
button.primary,.btn.primary{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important}body:not(.light) button.primary,body:not(.light) .btn.primary{color:#082a39!important}
body.light input,body.light select,body.light textarea{background:#fff!important;color:var(--ink)!important;border-color:var(--edge)!important}
body:not(.light) input,body:not(.light) select,body:not(.light) textarea{background:#102d3c!important;color:var(--ink)!important;border-color:var(--edge)!important}
button:not(.primary),.btn:not(.primary){border-color:var(--edge)}nav button.active{background:var(--soft)!important;color:var(--brand)!important;border-color:var(--brand)!important}
.city-search-item,.city-chips button,.city-search-item button,.city-search-item a,.city-official-links a{background:var(--panel)!important;color:var(--ink)!important;border-color:var(--edge)!important}.city-chips button[aria-pressed=true]{background:var(--brand)!important;color:#fff!important}body:not(.light) .city-chips button[aria-pressed=true]{color:#082a39!important}
body.light .muted,body.light .home-tiles button small,body.light .city-modules button small{color:var(--muted)!important}
body.light a:not(.btn){color:#086a9d}body:not(.light) a:not(.btn){color:#92e5f5}
body.light .welcome a{color:#fff!important}
@media(min-width:900px){main{max-width:1200px!important;padding:24px!important}.home-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}.welcome{padding:30px!important}.card{padding:22px!important}}
@media(max-width:700px){header{padding:15px!important}main{padding:12px!important}.home-tiles{gap:10px!important}.home-tiles button{min-height:130px!important}.city-modules{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Identidad MiCiudad: colores tomados del degradado aportado por el usuario (sin logos institucionales). */
body.light:not([class*="palette-"]){--bg:#f8f7fc;--panel:#fff;--ink:#27354f;--brand:#a12f79;--soft:#f5e9f3;--edge:#e3d9e9;--muted:#5f6179;--accent:#3e739b;background:linear-gradient(160deg,#fdf8fc,#f0f3fa)!important}
body:not(.light):not([class*="palette-"]){--bg:#171e34;--panel:#252a46;--ink:#f7f4fb;--brand:#ef8bc2;--soft:#393252;--edge:#595071;--muted:#d2c9dc;--accent:#78b4dc;background:linear-gradient(145deg,#141a30,#282544 65%,#20334d)!important}
body.light.palette-institucional{--bg:#f8f7fc;--panel:#fff;--ink:#27354f;--brand:#a12f79;--soft:#f5e9f3;--edge:#e3d9e9;--muted:#5f6179;--accent:#3e739b}
body:not(.light).palette-institucional{--bg:#171e34;--panel:#252a46;--ink:#f7f4fb;--brand:#ef8bc2;--soft:#393252;--edge:#595071;--muted:#d2c9dc;--accent:#78b4dc}
body.light.palette-institucional,body:not(.light).palette-institucional{background:var(--bg)!important}
body.light.palette-celeste{--bg:#f3f9fc;--panel:#fff;--ink:#163c55;--brand:#087eaa;--soft:#e2f4fa;--edge:#c8e1ed;--muted:#526e7f;--accent:#13a6ad;background:#f3f9fc!important}
body:not(.light).palette-celeste{--bg:#112c3d;--panel:#183a4b;--ink:#eaf8ff;--brand:#5cd4e2;--soft:#214b60;--edge:#41687b;--muted:#b4d1df;--accent:#73bddf;background:#112c3d!important}
body.palette-institucional .welcome,body.light:not([class*="palette-"]) .welcome,body:not(.light):not([class*="palette-"]) .welcome{background:linear-gradient(125deg,#d72779 0%,#9e4386 45%,#3e739b 100%)!important;color:#fff!important}
body.palette-institucional header,body.light:not([class*="palette-"]) header,body:not(.light):not([class*="palette-"]) header{border-top:5px solid #c42e7e!important}
body.light:not([class*="palette-"]) button.primary,body.light.palette-institucional button.primary{color:#fff!important}
body.light:not([class*="palette-"]) .home-tiles .tile-icon,body.light.palette-institucional .home-tiles .tile-icon{color:#a12f79!important}
