/* TE 4.3 — Portada: buscador central, pronostico 5 dias, papel reutilizado */
:root{--te43-dark:rgba(12,12,12,.70);--te43-paper:url('./papel-artesanal.jpg')}
/* Andrea: barra flotante de extremos redondos, sin linea ni fondo opaco */
body.te-active .te217-hub .te41-options{border:0!important;border-radius:999px!important;background:var(--te43-dark)!important;box-shadow:0 5px 18px #0003!important;backdrop-filter:blur(5px)!important;padding:10px 15px!important;width:min(100%,480px)!important}
/* Calendario: solo encabezado y pie oscuros; papel central sin cambios */
body.te-active #teWelcomeWidgets .te-calendar header,body.te-active #teWelcomeWidgets .te-calendar .te-widget-header,body.te-active #teWelcomeWidgets .te-news header,body.te-active #teWelcomeWidgets .te-news .te-widget-header{background:var(--te43-dark)!important;color:#fff!important;border-color:transparent!important}
body.te-active #teWelcomeWidgets .te-calendar footer,body.te-active #teWelcomeWidgets .te-calendar .te-widget-footer,body.te-active #teWelcomeWidgets .te-news footer,body.te-active #teWelcomeWidgets .te-news .te-widget-footer{background:var(--te43-dark)!important;color:#fff!important;border-color:transparent!important}
/* Eliminar panel de papel completo que cubria el centro */
body.te-active .te217-hub::before,body.te-active .te217-hub::after{content:none!important;display:none!important;background:none!important}
/* Buscador: caja independiente centrada en la pantalla, estilo referencia */
body.te-active .te217-hub .te217-search{position:fixed!important;left:50%!important;right:auto!important;top:clamp(395px,54vh,535px)!important;transform:translateX(-50%)!important;z-index:5!important;width:clamp(300px,34vw,560px)!important;max-width:calc(100vw - 36px)!important;height:auto!important;min-height:0!important;padding:20px 18px 17px!important;align-self:auto!important;background:var(--te43-dark)!important;border:0!important;border-radius:10px!important;box-shadow:0 5px 18px #0004!important;overflow:visible!important;backdrop-filter:blur(5px)!important}
body.te-active .te217-hub .te217-search label{display:block!important;text-align:center!important;color:#fff!important;font:bold clamp(18px,1.5vw,25px) Arial,sans-serif!important;letter-spacing:.035em!important;margin:-3px 0 13px!important;line-height:1.2!important}
body.te-active .te217-hub .te217-search form{display:flex!important;align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important}
body.te-active .te217-hub .te217-search input{flex:1 1 auto!important;width:1px!important;min-width:0!important;background:#fff!important;color:#282828!important;border:0!important;border-radius:3px!important;font-size:clamp(11px,.85vw,14px)!important;padding:10px!important}
body.te-active .te217-hub .te217-search button{flex:0 0 auto!important;border:0!important;background:#69442b!important;color:white!important;border-radius:5px!important;font-weight:bold!important;padding:9px 14px!important}
/* Pronostico: sin panel envolvente; cinco tarjetas separadas sobre el mapa */
body.te-active .te217-hub .te217-weather{position:fixed!important;left:50%!important;right:auto!important;bottom:clamp(105px,13vh,150px)!important;top:auto!important;transform:translateX(-50%)!important;width:clamp(320px,38vw,620px)!important;max-width:calc(100vw - 30px)!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;align-self:auto!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;color:#fff!important;z-index:3!important}
body.te-active .te217-hub .te217-weather header{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:0 0 9px!important;min-height:0!important;position:relative!important;color:#fff!important;text-shadow:0 1px 4px #000!important}
body.te-active .te217-hub .te217-weather header strong{font-size:clamp(12px,.9vw,16px)!important;letter-spacing:.025em!important;text-align:center!important}
body.te-active .te217-hub .te217-weather header select{position:absolute!important;right:0!important;top:-3px!important;max-width:100px!important;font-size:11px!important}
body.te-active .te217-hub .te217-forecast{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;padding:0!important;overflow:visible!important;width:100%!important;justify-content:stretch!important}
body.te-active .te217-hub .te217-day{box-sizing:border-box!important;min-width:0!important;max-width:none!important;width:100%!important;flex:auto!important;background-image:linear-gradient(#efe5d2c9,#efe5d2c9),var(--te43-paper)!important;background-size:auto,512px 512px!important;border:1px solid #d1bfa4!important;border-radius:8px!important;color:#302b25!important;padding:10px 3px!important;font-size:clamp(10px,.75vw,13px)!important;box-shadow:0 3px 10px #0003!important;white-space:nowrap!important}
body.te-active .te217-hub .te217-day .icon{font-size:clamp(22px,1.9vw,31px)!important;margin:5px 0!important}
body.te-active .te217-hub .te217-day strong{font-size:clamp(16px,1.25vw,22px)!important;color:#382d22!important}
/* Cifras: linea compacta independiente, no se monta sobre el pronostico */
body.te-active .te217-hub .te217-stats{position:fixed!important;left:50%!important;right:auto!important;bottom:clamp(76px,9vh,102px)!important;top:auto!important;transform:translateX(-50%)!important;width:clamp(320px,38vw,620px)!important;max-width:calc(100vw - 30px)!important;min-height:0!important;height:auto!important;margin:0!important;padding:2px 6px!important;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:9px!important;background:var(--te43-dark)!important;background-image:none!important;border:0!important;border-radius:999px!important;backdrop-filter:blur(5px)!important;color:white!important;z-index:3!important}
body.te-active .te217-hub .te217-stats>strong{font-size:10px!important;white-space:nowrap!important}
body.te-active .te217-hub .te217-stats #te217Stats{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;justify-content:center!important}
body.te-active .te217-hub .te217-stats #te217Stats span{display:flex!important;flex-direction:row!important;gap:3px!important;font-size:9px!important}
body.te-active .te217-hub .te217-stats #te217Stats span b{font-size:11px!important}
@media(max-width:1099px){body.te-active .te217-hub .te217-search{top:50vh!important;width:min(560px,55vw)!important}body.te-active .te217-hub .te217-weather{bottom:130px!important;width:min(580px,55vw)!important}body.te-active .te217-hub .te217-stats{bottom:92px!important;width:min(580px,55vw)!important}}
@media(max-width:700px){body.te-active .te217-hub .te217-search{width:calc(100vw - 30px)!important;top:44vh!important}body.te-active .te217-hub .te217-weather{width:calc(100vw - 30px)!important;bottom:140px!important}body.te-active .te217-hub .te217-stats{width:calc(100vw - 30px)!important;bottom:95px!important;flex-wrap:wrap!important;border-radius:15px!important}body.te-active .te217-hub .te217-day{padding:7px 1px!important}body.te-active .te217-hub .te217-weather header{padding-right:85px!important}}
