/* Selettore accessibile con opzioni in dialog, riutilizzato da OS e sito. */
.do-native-select{position:absolute!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important;margin:0!important;padding:0!important;border:0!important;clip-path:inset(50%)}
.do-select-button{min-height:48px;width:100%;min-width:0;max-width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #aa96ac;border-radius:11px;padding:12px 15px;background:#fff;color:#291b32;text-align:left;font:inherit;cursor:pointer;line-height:1.4}
.do-select-button>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.do-select-chevron{font-size:25px;line-height:1;flex:none;margin-left:auto;font-weight:400}
.do-select-button:focus-visible{outline:3px solid #8347bb;outline-offset:3px}.do-select-button:disabled{opacity:.6;cursor:not-allowed}
.do-select-dialog{border:1px solid #e2d4df;border-radius:22px;background:#fffaf6;color:#2c1b33;box-shadow:0 25px 75px #20102466;padding:0;width:min(480px,calc(100vw - 30px));max-height:min(85dvh,720px);overflow:hidden;font:16px/1.45 system-ui,-apple-system,'Segoe UI',sans-serif}
.do-select-dialog::backdrop{background:#220f2bb0;backdrop-filter:blur(3px)}
.do-select-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 20px 14px;border-bottom:1px solid #e3d8e2}.do-select-heading strong{font-size:18px}.do-select-dismiss{display:grid;place-items:center;background:#fff;border:1px solid #e0d5df;width:40px;height:40px;border-radius:12px;color:#28192f;font:30px/1 system-ui;cursor:pointer}
.do-select-list{display:grid;gap:7px;overflow:auto;max-height:calc(min(85dvh,720px) - 85px);padding:14px}
.do-select-option{display:flex;align-items:center;width:100%;min-height:50px;padding:12px 15px;border:1px solid transparent;border-radius:12px;background:#f5edf4;color:#28192f;font:inherit;text-align:left;cursor:pointer}
.do-select-option[aria-selected=true]{background:#fce5d6;color:#a63a07;border-color:#eeb69a;font-weight:700}.do-select-option[aria-selected=true]:after{content:'✓';margin-left:auto;font-weight:800}
.do-select-option:focus-visible{outline:3px solid #8046b7;outline-offset:1px}.do-select-option:disabled{opacity:.5}
@media(max-width:600px){.do-select-dialog{width:calc(100vw - 28px);border-radius:20px}.do-select-option{min-height:54px}}

/* Freccia e conferma vettoriali, indipendenti dal font del dispositivo */
.do-select-chevron{position:relative;font-size:0;width:18px;height:18px;flex:none}
.do-select-chevron:after{content:'';position:absolute;left:3px;top:3px;width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);border-radius:1px}
.do-select-option[aria-selected=true]:after{content:'';width:10px;height:16px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg);margin-left:auto;margin-right:6px;margin-top:-7px}
