.alerts-entry{margin:.75rem 0;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.alerts-entry button{min-height:44px;padding:.65rem 1rem;cursor:pointer}
.alerts-dialog{width:min(620px,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);box-sizing:border-box;border:1px solid #d9e0d8;border-radius:1.2rem;padding:1.4rem;background:#faf9f3;color:#1d3a2c}
.alerts-dialog::backdrop{background:rgb(16 35 25 / .55)}
.alerts-dialog h2{margin:0;font-size:1.6rem;line-height:1.2}
.alerts-dialog p{line-height:1.5}
.alerts-heading{display:flex;align-items:start;gap:1rem;justify-content:space-between}
.alerts-heading button{min-width:44px;min-height:44px;border-radius:50%;font-size:1.15rem;cursor:pointer}
.alerts-dialog fieldset{border:1px solid #d9e0d8;border-radius:.8rem;margin:1rem 0;padding:.8rem}
.alerts-dialog legend{font-weight:700;padding:0 .3rem}
.alerts-checkbox{display:flex;gap:.7rem;align-items:center;padding:.4rem 0;min-height:44px;box-sizing:border-box;cursor:pointer}
.alerts-checkbox input{width:20px;height:20px;flex:0 0 auto;margin:0;accent-color:#235139}
.alerts-towns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .8rem}
.alerts-dialog ul{padding-left:1.3rem;font-size:.95rem}
.alerts-dialog .alerts-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.alerts-actions button{min-height:44px;border-radius:.65rem;padding:.7rem 1rem;font:inherit;font-weight:700;border:1px solid #235139;cursor:pointer}
.alerts-actions .alerts-primary{background:#235139;color:white}
.alerts-dialog button:disabled{cursor:default;opacity:.55}
.alerts-status{min-height:1.5rem;margin-top:1rem}
.alerts-dialog :focus-visible{outline:3px solid #5a8e2d;outline-offset:3px}
@media(max-width:390px){.alerts-dialog{padding:1rem}.alerts-towns{grid-template-columns:1fr}.alerts-actions{flex-direction:column}.alerts-actions button{width:100%}}
