#rete-popup {
    width: min(34rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    box-sizing: border-box;
    padding: 2rem;
    border: 0;
    border-radius: .75rem;
    background: #fff;
    color: #232323;
    overflow: auto;
    box-shadow: 0 1rem 4rem #0004;
}
#rete-popup::backdrop { background: #0009; }
#rete-popup h2 { color: inherit; margin: 0 2rem 1rem 0; }
#rete-popup .rete-popup-close { position: absolute; top: .75rem; right: .75rem; margin: 0; }
#rete-popup .rete-popup-close button {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: .35rem;
    background: #f1f1f1;
    color: #232323;
    font-size: 1.5rem;
    cursor: pointer;
}
#rete-popup .rete-popup-link {
    display: inline-block;
    padding: .7rem 1rem;
    border-radius: .35rem;
    background: #a7192f;
    color: #fff;
    text-decoration: none;
}
#rete-popup button:focus-visible,
#rete-popup a:focus-visible { outline: 3px solid #2964c7; outline-offset: 3px; }

