.account-main .visitor-error{border:2px solid #a12929;background:#fff0ee;color:#751c1c}.account-main .account-submit{margin-top:1.25rem}.account-main form+form{margin-top:1.25rem}.account-main .visitor-photo{display:block;max-width:100%;width:320px;height:auto}.account-main .visitor-text{white-space:pre-wrap;overflow-wrap:anywhere}.account-main .visitor-history{padding-left:1.3rem}.account-main input,.account-main textarea,.account-main select{max-width:100%;box-sizing:border-box}.account-main fieldset{min-width:0;border:0;padding:0;margin:0}.account-main .account-switch{gap:.5rem;flex-wrap:wrap}.account-main .contribution-actions{flex-wrap:wrap}.account-main .account-contribution-list h3{overflow-wrap:anywhere}.account-main .contribution-rights input{flex:0 0 auto}@media(max-width:580px){.account-main .account-section-heading{align-items:flex-start;flex-direction:column}.account-main .contribution-actions .button{width:100%}.account-main .account-switch .button{flex:1}}

.account-main .account-switch [aria-current=page]{background:var(--green,#365723);color:#fff;border-color:var(--green,#365723)}
.account-main .visitor-type-option{display:flex;align-items:center;gap:.6rem;min-height:48px;box-sizing:border-box;border:1px solid var(--green,#365723);border-radius:12px;padding:1rem;color:var(--green,#365723);background:#fff;cursor:pointer}
.account-main .visitor-type-option:has(input:checked){background:var(--green,#365723);color:#fff;border-color:var(--green,#365723)}
.account-main .visitor-type-option:has(input:disabled:not(:checked)){cursor:default;opacity:.7}
.account-main .visitor-type-option input{width:1.1rem;height:1.1rem;flex:0 0 auto;accent-color:var(--green,#365723);margin:0}
.account-main .visitor-type-option:focus-within{outline:3px solid var(--green-dark,#294819);outline-offset:3px}
.account-main .visitor-geography{margin:1.5rem 0;padding:1.25rem;border:1px solid var(--line,#e8e4dd);border-radius:12px;background:var(--cream,#f8f6f1)}
.account-main .visitor-geography legend{font-weight:700;padding:0 .4rem}
.account-main .geo-control{position:relative}
.account-main .geo-suggestions{position:relative;z-index:2;max-height:17rem;overflow:auto;list-style:none;margin:0;padding:.3rem;border:1px solid #697744;border-radius:0 0 6px 6px;background:white;box-shadow:0 4px 10px #0001}
.account-main .geo-suggestions[hidden],.account-main [data-contribution-specific][hidden]{display:none}
.account-main .geo-suggestions [role=option]{padding:.8rem .7rem;cursor:pointer;min-height:44px;box-sizing:border-box;overflow-wrap:anywhere}
.account-main .geo-suggestions [role=option]:hover,.account-main .geo-suggestions [aria-selected=true]{background:#edf0df;color:#29381c;outline:2px solid #697744;outline-offset:-2px}
.account-main .geo-status{min-height:1.6em;color:#3f502b}.account-main .geo-legacy{padding:.8rem;border-left:4px solid #a27b32;background:#fcf6e9}
@media(max-width:580px){.account-main .visitor-geography{padding:1rem .75rem}.account-main .geo-suggestions{max-height:15rem}}
.account-main .contribution-type-grid .visitor-type-option{border-color:var(--green,#365723)}
.account-main .contribution-type-grid .visitor-type-option:has(input:checked){background:var(--green,#365723);color:#fff;border-color:var(--green,#365723)}
.account-main .visitor-type-option:has(input:checked)>span{color:#fff}
/* Campi che l'utente non vede ma che restano nel modulo (note, fonti, immagine di libreria, luogo quando «Non legata a una regione»). */
.account-main .guided-editor [hidden],.account-main .visitor-geography [hidden]{display:none!important}
