.epwm-top{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:24px;
    align-items:stretch;
    margin-bottom:28px;
}
.epwm-left,.epwm-right{min-width:0}
.epwm-left .epw-summary-grid{grid-template-columns:1fr}
.epwm-left .epw-overview h4{flex-wrap:wrap;gap:6px}
.epwm-left .epw-summary{margin-bottom:0}
.epwm-right{display:flex}
.epwm-section{
    display:flex;
    flex-direction:column;
    width:100%;
    min-width:0;
}
.epwm-label{display:block;font-weight:600;margin-bottom:6px}
.epwm-section select{width:100%;margin-bottom:12px}
.epwm-surface{
    position:relative;
    flex:1;
    min-height:680px;
    border:1px solid #7D0400;
    border-radius:12px;
    overflow:hidden;
    background:#FFF8F2;
}
.epwm-canvas{
    position:absolute!important;
    inset:0;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    border:0!important;
}
.epwm-canvas>p{padding:24px}
.epwm-status,.epwm-note{
    font-size:12px;
    line-height:1.45;
    margin:10px 0 0!important;
}
.epwm-marker{
    position:absolute;
    transform:translate(-50%,-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:68px;
    min-height:58px;
    padding:3px;
    border:1px solid #7D0400;
    border-radius:10px;
    background:rgba(255,255,255,.96);
    box-shadow:0 2px 5px #0003;
    cursor:pointer;
    color:#000;
    font-family:inherit;
}
.epwm-marker:hover,.epwm-marker:focus-visible{
    z-index:100!important;
    outline:3px solid #EC8900;
    outline-offset:2px;
}
.epwm-marker-icon{display:block;width:38px;height:38px;font-size:26px}
.epwm-marker-icon svg{display:block;width:100%;height:100%}
.epwm-marker-temp{font-size:11px;font-weight:700;white-space:nowrap}
.epwm-marker-stale{border-style:dashed;border-color:#805714}
.epwm-marker-empty{background:#eee}
.epwm-popup{
    min-width:200px;
    max-width:280px;
    padding:2px;
    color:#000;
    font-family:Arial,sans-serif;
    font-size:13px;
    line-height:1.45;
}
.epwm-popup h3{
    margin:0 0 8px;
    color:#7D0400;
    font-size:18px;
    line-height:1.25;
}
.epwm-popup p{margin:6px 0}
.epwm-popup-date{font-weight:600}
.epwm-popup dl{margin:12px 0}
.epwm-popup dl div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:4px 0;
    border-bottom:1px solid #eee;
}
.epwm-popup dt{font-weight:400}
.epwm-popup dd{margin:0;text-align:right;font-weight:700}
.epwm-old{padding:8px;background:#fff7e7;color:#805714}
.epwm-detail{
    margin-top:12px;
    padding:9px 12px;
    border:1px solid #7D0400;
    border-radius:6px;
    background:#FFF8F2;
    color:#7D0400;
    cursor:pointer;
    font:inherit;
}
.epwm-detail:hover{background:#7D0400;color:#fff}
@media(max-width:900px){
    .epwm-top{grid-template-columns:1fr}
    .epwm-surface{min-height:600px}
}
@media(max-width:600px){
    .epwm-top{gap:18px}
    .epwm-surface{min-height:540px}
    .epwm-left .epw-overview dl div{flex-wrap:wrap}
}


/* Marcadores: solo icono meteorológico */
.epwm-marker,
.epwm-marker:hover,
.epwm-marker-empty{
    width:44px;
    height:44px;
    min-height:44px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.epwm-marker-icon{
    width:40px;
    height:40px;
    filter:drop-shadow(0 1px 2px #ffffff);
}
.epwm-marker-temp{
    display:none;
}
.epwm-marker:focus-visible{
    outline:3px solid #EC8900;
    outline-offset:2px;
}
