/* Notifiche e coerenza dei pannelli: riferimento Destinatari. Solo grafica. */
dialog:not(#message-context-menu){width:min(520px,calc(100vw - 24px));padding:20px;border:0;border-radius:20px;background:#8B78960C;color:#343136;box-shadow:0 18px 65px #3F777130}
dialog:not(#message-context-menu) .sheet-head{padding-bottom:15px;margin-bottom:18px;border-bottom:1px solid #3431362B;align-items:center;gap:12px}
dialog:not(#message-context-menu) .sheet-head>h2{font-family:Manrope,sans-serif;font-size:26px;line-height:1.15;letter-spacing:0;color:#3F7771}
dialog:not(#message-context-menu) .sheet-head>.icon{background:transparent;border:0;color:#3F7771;min-width:44px;min-height:44px}
dialog:not(#message-context-menu) .helper{font-size:13px;line-height:1.45;color:#343136C7}
#sheet .primary,#task-close-confirm .primary,#meeting-discard-confirm .primary{background:#DB1C4B;border-color:#DB1C4B;color:#FFFFFF;border-radius:6px;font-size:16px;font-weight:400;min-height:44px;line-height:1.2}
#sheet .secondary,#task-close-confirm .secondary,#meeting-discard-confirm .secondary{background:#34313614;border:1px solid #34313634;border-radius:8px;color:#3F7771;min-height:44px;line-height:1.25}
#sheet .primary[aria-pressed=true]{box-shadow:inset 0 0 0 2px #3F7771}
#sheet input:not([type]),#sheet input[type=text],#sheet input[type=email],#sheet input[type=number],#task-close-confirm input[type=text]{width:100%;min-height:46px;padding:11px 12px;background:#FFFFFF;border:1px solid #34313635;border-radius:9px;color:#343136;font:400 16px "Source Sans 3",sans-serif;box-shadow:none}
#sheet select,#sheet input[type=date],#sheet textarea{border-color:#34313635;border-radius:9px;background:#FFFFFF;color:#343136;font-size:16px}
#sheet .update-label{color:#3F7771;font-family:"Source Sans 3",sans-serif;line-height:1.3}
#sheet:has(.notification-category-list,.notification-history,#back-notification-categories) .sheet-head>h2{display:flex;align-items:center;gap:12px}
#sheet:has(.notification-category-list,.notification-history,#back-notification-categories) .sheet-head>h2::before{content:"";display:block;width:28px;height:28px;flex:0 0 28px;background:url('assets/icons/04.svg?v=8c33f2009b') center/contain no-repeat}
.notification-category-list{margin:2px 0 18px}.notification-category-button{gap:13px;min-height:77px;padding:15px 2px;border-bottom:1px solid #3431362B;background:transparent;color:#3F7771}
.notification-category-button b{display:grid;place-items:center;min-width:39px;min-height:43px;padding:4px 7px;border-radius:9px;background:#3431362A;color:#343136;font-family:Manrope,sans-serif;font-size:21px;font-weight:500;flex-shrink:0}
.notification-category-button>span:nth-child(2){font-family:Manrope,sans-serif;font-size:18px;font-weight:500;line-height:1.2;color:#3F7771}.notification-category-button>span:last-child{color:#3F7771;font-size:23px;flex-shrink:0}.notification-category-button:active{background:#34313614}
.notification-history-bubble{margin:16px 0;padding:16px;background:#FFFFFF;border:1px solid #34313623;border-radius:10px;box-shadow:0 5px 13px #34313610;overflow-wrap:anywhere}
.notification-history-bubble header{font-family:"Source Sans 3",sans-serif;font-size:13px;line-height:1.3;color:#343136C7;gap:12px}.notification-history-bubble header strong{font-weight:500;color:#3F7771}.notification-history-bubble header time{font-size:12px;flex-shrink:0}
.notification-history-bubble h3{font-family:Manrope,sans-serif;font-size:19px;line-height:1.25;color:#3F7771;margin:13px 0 9px}.notification-history-bubble p{font-size:16px;line-height:1.45}.notification-history-bubble textarea{margin-top:12px;min-height:90px}
#sheet .notification-history-bubble>.primary,#sheet .notification-history-bubble>.secondary{width:auto;max-width:100%;min-height:44px;margin-top:12px;padding:11px 15px;font-size:15px}
.notification-bubble-links{border-top:1px solid #3431362B;margin-top:15px;padding-top:5px;gap:8px}.notification-bubble-links button{font-size:14px;color:#3F7771;min-height:44px}
.notification-inline-sent{background:#34313618;border-left:3px solid #3F7771;border-radius:7px;font-size:15px!important;padding:12px}.notification-date-label{font-size:15px;font-weight:500;color:#3F7771}
.notification-lab{font-size:12px;color:#343136C7;border-top:1px solid #3431362B;margin-top:18px;padding-top:8px}.notification-lab summary{min-height:44px}.notification-lab select{max-width:100%}
.weaves-below{background:#8B789605;border:1px solid #3431362B;border-radius:12px;box-shadow:none}.brain-source,.project-row{border-color:#3431362B;background:#8B789605;border-radius:9px}.brain-message{border-radius:10px}.personal-card .quick-grid button{border-color:#3431362B}
#sheet:has(.recipient-window) .sheet-head{margin-bottom:0}
@media(max-width:359px){dialog:not(#message-context-menu){padding:16px}dialog:not(#message-context-menu) .sheet-head>h2{font-size:24px}.notification-category-button{gap:10px;min-height:72px}.notification-category-button b{min-width:34px;min-height:38px;font-size:19px}.notification-category-button>span:nth-child(2){font-size:16px}.notification-history-bubble{padding:13px}.notification-history-bubble header{flex-wrap:wrap;gap:4px 10px}.notification-history-bubble h3{font-size:18px}}
