/* Riferimenti 13 novembre: soltanto grafica dei popup Riassumi e Reminder. */
#sheet:has(#home-summary-text),#sheet:has(.simple-reminders){width:min(720px,calc(100vw - 24px));padding:24px;border:1px solid #34313633;border-radius:18px;background:#8B78960C;box-shadow:0 18px 60px #3F777128}
#sheet:has(#home-summary-text) .sheet-head,#sheet:has(.simple-reminders) .sheet-head{position:relative;border-bottom:1px solid #34313633;padding-bottom:22px;margin-bottom:18px;align-items:flex-start;gap:12px}
#sheet:has(#home-summary-text) .sheet-head::after,#sheet:has(.simple-reminders) .sheet-head::after{content:'';position:absolute;left:0;bottom:-2px;width:64px;height:4px;background:#DB1C4B}
#sheet:has(#home-summary-text) .sheet-head>h2,#sheet:has(.simple-reminders) .sheet-head>h2{font:700 29px/1.15 Manrope,sans-serif;color:#3F7771;letter-spacing:-.5px;margin:0}
#sheet:has(#home-summary-text) .sheet-head>h2{display:block;position:relative;padding-left:42px}
#sheet:has(#home-summary-text) .sheet-head>h2::before{content:'';position:absolute;left:0;top:1px;width:31px;height:34px;background:url('assets/icons/17.svg?v=a51c22cdce') center/contain no-repeat}
#sheet:has(#home-summary-text) .sheet-head>h2::after{content:'PRO';display:inline-block;margin-left:10px;vertical-align:middle;font:700 15px/1.2 Manrope,sans-serif;letter-spacing:.6px;color:#343136}
#sheet:has(#home-summary-text) #sheet-body>.pro-badge{display:none}
#sheet:has(.simple-reminders) .sheet-head>h2{display:flex;align-items:center;gap:14px}
#sheet:has(.simple-reminders) .sheet-head>h2::before{content:'';display:block;position:static;flex:0 0 30px;width:30px;height:34px;background:url('assets/icons/04.svg?v=8c33f2009b') center/contain no-repeat}
#sheet:has(#home-summary-text) .sheet-head>.icon,#sheet:has(.simple-reminders) .sheet-head>.icon{flex-shrink:0;min-width:44px;min-height:44px;padding:6px;background:none;border:0;color:#3F7771}
#sheet:has(#home-summary-text) #sheet-body>.helper{font:400 17px/1.5 "Source Sans 3",sans-serif;color:#343136;margin:10px 0 20px}
#sheet:has(#home-summary-text) .update-label{display:block;font:500 22px/1.25 "Source Sans 3",sans-serif;color:#3F7771;margin:22px 0 14px}
#sheet #home-summary-text{background:#FFFFFF;border:1px solid #3431363F;border-radius:10px;min-height:190px;height:190px;padding:16px;font:400 20px/1.45 "Source Sans 3",sans-serif;font-style:normal;color:#343136;resize:vertical}
#sheet:has(#home-summary-text) .sheet-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 18px}
#sheet:has(#home-summary-text) .sheet-actions>button{width:100%;min-width:0;min-height:56px;border-radius:8px;padding:12px 10px;font:500 18px/1.25 "Source Sans 3",sans-serif;white-space:normal;box-shadow:none}
#sheet:has(#home-summary-text) #cancel-home-summary{background:transparent;border:1px solid #3F7771;color:#3F7771}
#sheet:has(#home-summary-text) #apply-home-summary{background:#DB1C4B;border:1px solid #DB1C4B;color:#FFFFFF}
#sheet #home-summary-feedback:empty{display:none}
#sheet .simple-reminders{display:flex;flex-direction:column;gap:0;margin:4px 0 6px}
#sheet .simple-reminders label{display:flex;align-items:center;gap:20px;padding:20px 10px;min-height:72px;margin:0;border:0;border-bottom:1px solid #34313633;border-radius:0;background:transparent;color:#343136;font:400 23px/1.3 "Source Sans 3",sans-serif;cursor:pointer}
#sheet .simple-reminders label:last-child{border-bottom:0}
#sheet .simple-reminders input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;display:block;opacity:1;width:25px;height:25px;min-width:25px;flex:0 0 25px;padding:0;margin:0;border:1.7px solid #3F7771;border-radius:4px;background:#FFFFFF;box-shadow:none;cursor:pointer}
#sheet .simple-reminders input[type=checkbox]:checked{background:#3F7771;border-color:#3F7771}
#sheet .simple-reminders input[type=checkbox]::after{content:none}
#sheet .simple-reminders input[type=checkbox]:checked::after{content:'';position:absolute;left:7px;top:3px;width:7px;height:12px;border:solid #FFFFFF;border-width:0 2px 2px 0;transform:rotate(45deg);background:none;border-radius:0}
#sheet .simple-reminders label:active{background:#34313617}
@media(max-width:599px){
 #sheet:has(#home-summary-text),#sheet:has(.simple-reminders){padding:20px}
 #sheet:has(#home-summary-text) .sheet-head>h2{font-size:25px;padding-left:34px}
 #sheet:has(#home-summary-text) .sheet-head>h2::before{width:26px;height:29px}
 #sheet:has(#home-summary-text) .sheet-head>h2::after{font-size:13px;margin-left:7px}
 #sheet:has(.simple-reminders) .sheet-head>h2{font-size:27px;gap:12px}
 #sheet:has(#home-summary-text) #sheet-body>.helper{font-size:16px}
 #sheet:has(#home-summary-text) .update-label{font-size:21px;margin-top:18px}
 #sheet #home-summary-text{min-height:170px;height:170px;font-size:19px;padding:14px}
 #sheet:has(#home-summary-text) .sheet-actions>button{font-size:17px;min-height:56px;padding:12px 7px}
 #sheet .simple-reminders label{font-size:22px;padding:18px 4px;min-height:70px;gap:18px}
}
@media(max-width:359px){
 #sheet:has(#home-summary-text),#sheet:has(.simple-reminders){padding:18px}
 #sheet:has(#home-summary-text) .sheet-head>h2{font-size:23px;padding-left:30px}
 #sheet:has(#home-summary-text) .sheet-head>h2::before{width:23px;height:27px}
 #sheet:has(#home-summary-text) .sheet-head>h2::after{font-size:12px;margin-left:5px}
 #sheet:has(#home-summary-text) .sheet-actions{gap:8px}
 #sheet:has(#home-summary-text) .sheet-actions>button{font-size:16px}
}
