/* Comparativa de modelos · Meteo Cartagena */
.mca-more-resource--models:before{background:#087fbd}
.mca-more-view--models{display:flex;flex:1 1 0;width:100%;height:100%;min-width:0;min-height:0;flex-direction:column;overflow:hidden;background:#f2f7fb}
.mca-models-header{background:linear-gradient(135deg,#fff,#e8f8fd)}
.mca-models-content{display:grid;flex:1 1 0;height:0;min-width:0;min-height:0;gap:13px;padding:14px 17px 18px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mca-models-overview{min-width:0;padding:15px;border:1px solid #d6e5ee;border-radius:20px;background:linear-gradient(150deg,#fff 0%,#eef9fd 100%);box-shadow:0 7px 20px rgba(21,61,91,.05)}
.mca-models-location{display:grid;grid-template-columns:46px minmax(0,1fr) 38px;align-items:center;gap:11px}
.mca-models-location__icon{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:linear-gradient(145deg,#25a9d8,#0876be);color:#fff;box-shadow:0 7px 16px rgba(7,126,190,.2)}
.mca-models-location__icon .wi{font-size:1.45rem}.mca-models-location>div{min-width:0}.mca-models-location small{display:block;color:#087fbd;font-size:.48rem;font-weight:950;letter-spacing:.065em}.mca-models-location h3{margin:3px 0 2px;color:#08244a;font-size:.92rem;line-height:1.15}.mca-models-location p{margin:0;color:#71869a;font-size:.52rem;font-weight:700;line-height:1.35}
.mca-models-location>button{display:grid;width:38px;height:38px;place-items:center;border:1px solid #cfe2ed;border-radius:12px;background:#fff;color:#087fbd;cursor:pointer}.mca-models-location>button .wi{font-size:1rem}.mca-models-location>button.is-loading .wi{animation:mca-models-spin .8s linear infinite}
@keyframes mca-models-spin{to{transform:rotate(1turn)}}
.mca-models-period,.mca-models-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px;border:1px solid #d3e4ed;border-radius:14px;background:#eaf3f8}
.mca-models-period{margin-top:13px}.mca-models-period button,.mca-models-tabs button{min-height:38px;border:0;border-radius:10px;background:transparent;color:#6c7f94;font:800 .59rem Montserrat,Poppins,Arial,sans-serif;cursor:pointer}.mca-models-period button.is-active,.mca-models-tabs button.is-active{background:#fff;color:#087fbd;box-shadow:0 3px 10px rgba(25,77,111,.08)}
.mca-models-period button:focus-visible,.mca-models-tabs button:focus-visible,.mca-models-legend button:focus-visible,.mca-models-location>button:focus-visible,.mca-models-error button:focus-visible{outline:3px solid rgba(37,169,224,.3);outline-offset:2px}
.mca-models-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:11px}
.mca-models-metrics>span{min-width:0;padding:9px 7px;border:1px solid #d8e7ee;border-radius:12px;background:rgba(255,255,255,.86);text-align:center}.mca-models-metrics small,.mca-models-metrics strong,.mca-models-metrics em{display:block}.mca-models-metrics small{min-height:2.2em;color:#71869a;font-size:.37rem;font-weight:950;letter-spacing:.035em;line-height:1.1}.mca-models-metrics strong{margin-top:4px;color:#062f5f;font-size:1.02rem;font-weight:950;line-height:1}.mca-models-metrics em{margin-top:3px;color:#087fbd;font-size:.4rem;font-style:normal;font-weight:850}
.mca-models-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 1px}.mca-models-tabs button{min-height:40px}
.mca-models-panel{min-width:0;padding:15px;border:1px solid #d6e5ee;border-radius:20px;background:#fff;box-shadow:0 7px 20px rgba(21,61,91,.05)}.mca-models-panel[hidden]{display:none!important}
.mca-models-panel__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.mca-models-panel__heading>div{min-width:0}.mca-models-panel__heading small{display:block;color:#087fbd;font-size:.46rem;font-weight:950;letter-spacing:.055em}.mca-models-panel__heading h3{margin:3px 0 0;color:#08244a;font-size:.86rem;line-height:1.2}.mca-models-panel__heading>span{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#edf8fd;color:#087fbd;font-size:.42rem;font-weight:900}
.mca-models-bars{display:grid;gap:10px}.mca-model-row{--model-color:#087fbd;display:grid;grid-template-columns:minmax(70px,.75fr) minmax(100px,1.8fr) auto;align-items:center;gap:7px 9px;min-width:0;padding-bottom:10px;border-bottom:1px solid #e7eff4}.mca-model-row:last-child{padding-bottom:0;border-bottom:0}.mca-model-row__name{min-width:0}.mca-model-row__name strong,.mca-model-row__name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mca-model-row__name strong{color:#153d60;font-size:.62rem}.mca-model-row__name small{margin-top:2px;color:#7a8ea0;font-size:.4rem;font-weight:750}.mca-model-row__track{height:10px;overflow:hidden;border-radius:999px;background:#eaf1f5}.mca-model-row__bar{display:block;width:var(--model-width);height:100%;min-width:3px;border-radius:inherit;background:var(--model-color);transform-origin:left center;animation:mca-model-bar-in .48s cubic-bezier(.2,.8,.2,1) both}.mca-model-row__value{min-width:56px;color:#082a51;font-size:.62rem;font-weight:950;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.mca-model-row__value small{display:block;margin-top:2px;color:#71869a;font-size:.38rem;font-weight:800}.mca-model-row__days{display:flex;grid-column:2/-1;flex-wrap:wrap;gap:4px;color:#60798e;font-size:.43rem;font-weight:750;line-height:1.25}.mca-model-row__days>span{padding:4px 6px;border-radius:999px;background:#edf7fb}.mca-model-row__days b{color:#087fbd;font-weight:900}.mca-model-row__days.is-dry{padding-top:2px;color:#7a8ea0;font-style:italic}
.mca-model-row__bar.is-zero{min-width:0}
@keyframes mca-model-bar-in{from{transform:scaleX(0)}}
.mca-models-chart{position:relative;height:255px;min-width:0;overflow:hidden;border-radius:14px;background:#f8fbfd}.mca-models-chart canvas{display:block;width:100%;height:100%}
.mca-models-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}.mca-models-legend button{--model-color:#087fbd;display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;padding:8px;border:1px solid #dce8ee;border-radius:10px;background:#fff;color:#405f76;font:800 .48rem Montserrat,Poppins,Arial,sans-serif;text-align:left;cursor:pointer}.mca-models-legend button:before{width:8px;height:8px;border-radius:50%;background:var(--model-color);content:""}.mca-models-legend button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mca-models-legend button b{color:#082f55;font-size:.5rem;font-variant-numeric:tabular-nums}.mca-models-legend button.is-active{border-color:var(--model-color);background:#f5fbfe;box-shadow:0 3px 10px rgba(8,127,189,.08)}.mca-models-legend.has-selection button:not(.is-active){opacity:.52}
.mca-models-help{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border:1px solid #cfe5ef;border-radius:15px;background:#edf8fd;color:#506d82}.mca-models-help>i{display:grid;flex:0 0 20px;width:20px;height:20px;place-items:center;border-radius:50%;background:#d6f1fb;color:#087fbd;font-size:.55rem;font-style:normal;font-weight:950}.mca-models-help p{margin:0;font-size:.55rem;font-weight:650;line-height:1.5}.mca-models-help strong{color:#174667}
.mca-models-loading{display:flex;min-height:190px;align-items:center;justify-content:center;gap:9px;color:#71869a;font-size:.62rem;font-weight:750}.mca-models-loading span{width:18px;height:18px;border:2px solid #d3e8f1;border-top-color:#087fbd;border-radius:50%;animation:mca-models-spin .8s linear infinite}
.mca-models-error{display:grid;min-height:185px;place-items:center;padding:20px;text-align:center}.mca-models-error>div{max-width:330px}.mca-models-error i{display:grid;width:46px;height:46px;margin:0 auto 10px;place-items:center;border-radius:14px;background:#edf8fd;color:#087fbd;font-size:1.3rem}.mca-models-error strong{display:block;color:#08244a;font-size:.75rem}.mca-models-error p{margin:5px 0 11px;color:#71869a;font-size:.55rem;line-height:1.45}.mca-models-error button{min-height:38px;padding:0 14px;border:0;border-radius:10px;background:#087fbd;color:#fff;font:850 .55rem Montserrat,Poppins,Arial,sans-serif;cursor:pointer}
.mca-models-footer a{color:#087fbd;text-decoration-thickness:1px;text-underline-offset:2px}
@media(max-width:680px){.mca-more-view--models{height:100%}.mca-models-content{gap:11px;padding:11px 12px 14px}.mca-models-overview,.mca-models-panel{padding:12px;border-radius:18px}.mca-models-location{grid-template-columns:43px minmax(0,1fr) 38px;gap:9px}.mca-models-location__icon{width:43px;height:43px}.mca-models-chart{height:235px}.mca-models-footer{font-size:.46rem}}
@media(max-width:365px){.mca-models-content{padding-right:8px;padding-left:8px}.mca-models-overview,.mca-models-panel{padding:10px}.mca-models-location p{font-size:.46rem}.mca-models-metrics{gap:4px}.mca-models-metrics>span{padding:8px 4px}.mca-model-row{grid-template-columns:minmax(65px,.72fr) minmax(78px,1.5fr) auto;gap:6px}.mca-model-row__value{min-width:52px;font-size:.58rem}.mca-model-row__days{grid-column:1/-1;gap:3px}.mca-model-row__days>span{padding:3px 5px}.mca-models-chart{height:220px}.mca-models-legend{gap:4px}.mca-models-legend button{padding:7px 6px}}
@media(prefers-reduced-motion:reduce){.mca-models-location>button.is-loading .wi,.mca-models-loading span,.mca-model-row__bar{animation:none}}

/* Mapas España: imágenes de Wetterzentrale con controles locales. */
.mca-models-overview[hidden],.mca-models-help[hidden],.mca-models-footer [hidden]{display:none!important}
.mca-model-maps{min-width:0}
.mca-model-maps [hidden]{display:none!important}
.mca-model-map{min-width:0}
.mca-model-map__model{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1fr);align-items:center;gap:8px;margin:12px 0;color:#08244a;font-size:11px;font-weight:750}
.mca-model-map select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #d8e4ed;border-radius:10px;background:#fff;color:#08244a;font:750 12px Montserrat,Poppins,Arial,sans-serif}
.mca-model-map__viewport{max-width:100%;min-height:190px;margin-top:12px;overflow:auto;border:1px solid #d8e4ed;border-radius:16px;background:#f4f7fa;overscroll-behavior:contain;scrollbar-color:#b8c8d5 #f4f7fa;scrollbar-width:thin}
.mca-model-map__viewport img{display:block;width:100%;max-width:none;height:auto;margin:0}
.mca-model-map__viewport.is-zoomed{height:420px}
.mca-model-map__viewport.is-zoomed img{width:max(1000px,180%);max-width:none}
.mca-model-map [data-wz-reload]{width:100%;margin:0 0 4px}
.mca-model-map .mca-model-maps__layers{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.mca-model-map .mca-model-maps__layers button{font-size:10px;padding:6px 3px}
.mca-model-map .mca-model-maps__layers .wi{display:block;margin:0 0 5px}
.mca-model-map__timeline{margin-top:12px}
.mca-model-map__date{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:6px}
.mca-model-map__date label{min-width:0;color:#506780;font-size:10px;font-weight:750}
.mca-model-map__date select{margin-top:4px;font-size:11px;font-variant-numeric:tabular-nums}
.mca-model-map__date svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.mca-model-map__timeline input[type=range]{display:block;width:100%;height:44px;margin:0;accent-color:#087fbd;cursor:pointer}
.mca-model-map__tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.mca-model-map__issue{margin:8px 0;color:#506780;font-size:10px;line-height:1.5;font-weight:650}
.mca-model-map [data-wz-play][aria-pressed=true]{background:#087fbd;border-color:#087fbd;color:#fff}
.mca-model-maps__heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.mca-model-maps__heading h3{margin:0;color:#08244a;font-size:14px;line-height:1.3}
.mca-model-maps__heading>span{color:#087fbd;font-size:9px;font-weight:800;text-align:right}
.mca-model-maps__layers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mca-model-maps button{min-height:44px;border:1px solid #d8e4ed;border-radius:10px;background:#fff;color:#087fbd;font:750 11px Montserrat,Poppins,Arial,sans-serif;cursor:pointer}
.mca-model-maps button:disabled{opacity:.5;cursor:default}
.mca-model-maps button:hover:not(:disabled):not(.is-active){background:#edf8fd}
.mca-model-maps__layers button.is-active{background:#087fbd;border-color:#087fbd;color:#fff}
.mca-model-maps__layers .wi{margin-right:4px;font-size:17px;vertical-align:middle}
.mca-model-maps__status{min-height:32px;margin:8px 0;color:#506780;font-size:10px;line-height:1.5;font-weight:650}
.mca-model-maps__note{margin:8px 0;color:#506780;font-size:10px;line-height:1.6}
.mca-model-maps__source{display:inline-block;padding:8px 0;color:#087fbd;font-size:11px;font-weight:750;text-underline-offset:3px}
.mca-model-maps :is(button,input,select,summary,a,[tabindex]):focus-visible{outline:3px solid #25a9e0;outline-offset:2px}
@media(max-width:365px){.mca-model-maps__heading{align-items:flex-start}.mca-model-maps__heading>span{max-width:100px}}
