/* Selettori di persone: riferimento grafico di Federica, 12 novembre 2026. */
dialog:has(.recipient-window){width:min(520px,calc(100vw - 24px));padding:20px;background:#8B78960C;border:0;border-radius:20px}
dialog:has(.recipient-window) .sheet-head{margin-bottom:0;padding-bottom:15px}
dialog:has(.recipient-window) .sheet-head>h2{display:flex;align-items:center;gap:12px;font-size:24px}
dialog:has(.recipient-window) .sheet-head>h2::before{content:"";display:block;width:28px;height:28px;flex:0 0 28px;background:url('assets/menu-icons/team.svg?v=c168ac50ff') center/contain no-repeat}
dialog:has(.recipient-window) #close-sheet{font-size:30px;font-weight:400}
.recipient-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 0 24px;color:#343136C7}
.recipient-intro p{margin:0;font-size:16px;line-height:1.25}.recipient-intro>span{font-size:14px;white-space:nowrap}
.people-choice-grid,.block-people,.candidate-inline-team>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
dialog label.people-choice{display:grid;grid-template-columns:36px minmax(0,1fr) 24px;gap:10px;align-items:center;min-width:0;min-height:76px;padding:12px 0;margin:0;border:0;border-bottom:1px solid #3431362B;border-radius:0;background:transparent;color:#343136;cursor:pointer;font-family:"Source Sans 3",sans-serif}
.people-choice .avatar,.recipient-selected-person .avatar{display:flex;align-items:center;justify-content:center;border-radius:9px;background:#3431362A;color:#343136;width:36px;height:39px;font-size:20px;font-weight:500;flex-shrink:0;border:0}
.people-choice-copy{min-width:0}.people-choice-copy strong{display:block;font-family:"Source Sans 3",sans-serif;font-size:17px;font-weight:500;font-style:normal;line-height:1.2;overflow-wrap:anywhere}.people-choice-copy small{display:block;margin-top:4px;font-size:13px;color:#343136C7;font-weight:400;line-height:1.2}
dialog .people-choice input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;display:block;opacity:1;width:22px;height:22px;min-width:22px;margin:0;padding:0;border:1.5px solid #3F7771;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer;accent-color:#3F7771}
dialog .people-choice input[type=checkbox]:checked{background:#3F7771;border-color:#3F7771}
dialog .people-choice input[type=checkbox]::after{content:none}
dialog .people-choice input[type=checkbox]:checked::after{content:"";position:absolute;left:6px;top:3px;width:6px;height:10px;border:solid #FFFFFF;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);background:none;border-radius:0}
.people-choice:has(input:checked) .avatar{background:#8B78964B;box-shadow:inset 0 0 0 1px #34313655}
.recipient-self .people-choice{grid-template-columns:46px minmax(0,1fr) 26px;border:0;border-left:3px solid transparent;border-radius:9px;padding:12px 14px;min-height:76px}
.recipient-self .people-choice:has(input:checked){border-left-color:#DB1C4B;background:#FFFFFF;box-shadow:0 5px 13px #34313610}
.recipient-self .avatar{width:44px;height:44px}.recipient-self .people-choice-copy strong{font-size:20px}.recipient-self .people-choice-copy small{font-size:15px}
.recipient-colleagues-title{font:500 12px "Source Sans 3",sans-serif!important;letter-spacing:1.5px;color:#343136C7;margin:27px 2px 6px}
.recipient-window .people-choice-grid .people-choice:nth-last-child(-n+2){border-bottom:0}
.recipient-footer{position:sticky;bottom:-20px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:32px;padding:17px 0 2px;border-top:1px solid #3431362B;background:#8B78960C;z-index:1}
#recipient-selection{display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-height:120px;overflow-y:auto}.recipient-selected-person{display:flex;align-items:center;gap:8px;font-size:14px;color:#343136}.recipient-selected-person .avatar{width:28px;height:30px;font-size:15px;border-radius:7px}
dialog .recipient-footer #done-recipients{flex-shrink:0;border-radius:6px;background:#DB1C4B;color:#FFFFFF;min-height:44px;padding:11px 16px;font-size:17px;font-weight:400}.recipient-footer #done-recipients>span{font-size:24px;line-height:0;vertical-align:-1px;margin-left:4px}
#recipient-error:empty{display:none}.block-people{margin:10px 0 16px}.candidate-inline-team{min-width:0}.candidate-inline-team>div{gap:0 12px}.candidate-inline-team label.people-choice{min-height:65px}.candidate-inline-team .people-choice-copy strong{font-size:15px}
dialog .people-choice input[type=checkbox]{border:1.5px solid #3F7771!important;border-radius:50%!important;background:transparent!important}
dialog .people-choice input[type=checkbox]:checked{background:#3F7771!important}
dialog .recipient-footer #done-recipients{width:auto;margin:0;flex:0 0 auto;min-width:0}
#recipient-selection{flex:1 1 auto}.recipient-footer #done-recipients .opsera-icon{width:22px;height:22px;filter:brightness(0) invert(1);vertical-align:middle}
@media(min-width:360px) and (max-width:430px){dialog label.people-choice{grid-template-columns:32px minmax(0,1fr) 22px;gap:7px}.people-choice .avatar{width:32px;height:36px}.people-choice-copy strong{font-size:16px}.recipient-self label.people-choice{grid-template-columns:46px minmax(0,1fr) 26px;gap:10px}.recipient-self .avatar{width:44px;height:44px}}
@media(max-width:359px){.people-choice-copy strong{font-size:14px}.recipient-self .people-choice-copy strong{font-size:20px}.candidate-inline-team .people-choice-copy strong{font-size:14px}}
@media(max-width:359px){dialog:has(.recipient-window){padding:16px}.people-choice-grid,.block-people,.candidate-inline-team>div{column-gap:12px}dialog label.people-choice{grid-template-columns:29px minmax(0,1fr) 21px;gap:6px}.people-choice .avatar{width:29px;height:34px;font-size:17px}.people-choice-copy strong{font-size:16px}.people-choice-copy small{font-size:11px}.recipient-intro p{font-size:14px}.recipient-intro>span{font-size:12px}.recipient-footer{bottom:-16px}.recipient-selected-person{font-size:12px}dialog .recipient-footer #done-recipients{font-size:15px;padding-inline:12px}}
/* Nuovo riferimento 13 novembre: separatore continuo, gerarchia e conferma. */
dialog:has(.recipient-window) .sheet-head>h2{font-family:Manrope,sans-serif;font-size:26px;letter-spacing:0;gap:12px}
.recipient-window .people-choice-grid{position:relative;column-gap:24px;background:linear-gradient(#3431362B,#3431362B) left center/100% 1px no-repeat}
.recipient-window .people-choice-grid label.people-choice{border:0;min-height:72px}
.recipient-window .people-choice-grid .people-choice-copy strong{white-space:nowrap;overflow-wrap:normal}
.recipient-colleagues-title{margin-top:26px}.recipient-footer{margin-top:29px;padding-top:17px;padding-bottom:0}
.recipient-selected-person{font-weight:500;font-size:15px}.recipient-selected-person .avatar{width:32px;height:34px;border:1px solid #34313655;background:#8B78964B}
dialog .recipient-footer #done-recipients{background:#DB1C4B;border-color:#DB1C4B;font-size:17px;font-weight:400;padding:11px 17px}
@media(max-width:359px){dialog:has(.recipient-window) .sheet-head>h2{font-size:24px}.recipient-window .people-choice-grid{column-gap:12px}dialog label.people-choice{grid-template-columns:26px minmax(0,1fr) 20px;gap:4px}.people-choice .avatar{width:26px;height:32px}.people-choice-copy strong,.candidate-inline-team .people-choice-copy strong{font-size:14px}.recipient-self label.people-choice{grid-template-columns:40px minmax(0,1fr) 22px;gap:9px}.recipient-self .avatar{width:38px;height:42px}.recipient-self .people-choice-copy strong{font-size:20px}.recipient-selected-person{font-size:12px}dialog .recipient-footer #done-recipients{font-size:15px;padding-inline:12px}}
