/* FCP 14.6.38 - fix note popup, desktop FAB and clean calendar day layout */
:root{--fcp38-blue:#2563eb;--fcp38-sky:#21b7ff;--fcp38-ink:#071f3d;--fcp38-muted:#66758a;--fcp38-line:#d7e5f4;--fcp38-soft:#f6faff;--fcp38-card:#fff;--fcp38-shadow:0 22px 55px rgba(8,49,95,.18)}

/* Il vecchio drawer calendario generava testo sovrapposto: lo neutralizzo e uso il drawer 14.6.38 */
body .fcp-mobile-day-sheet{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.fcp-day-drawer-14638-open{overflow:hidden!important}
.fcp-day-backdrop-14638{position:fixed!important;inset:0!important;background:rgba(12,24,42,.52)!important;backdrop-filter:blur(10px)!important;z-index:1000000!important;display:none!important}
.fcp-day-drawer-14638{position:fixed!important;left:12px!important;right:12px!important;top:calc(env(safe-area-inset-top,0px) + 12px)!important;bottom:calc(env(safe-area-inset-bottom,0px) + 12px)!important;width:auto!important;max-width:760px!important;margin:0 auto!important;background:#fff!important;border:1px solid var(--fcp38-line)!important;border-radius:30px!important;box-shadow:var(--fcp38-shadow)!important;z-index:1000001!important;padding:22px 20px 18px!important;box-sizing:border-box!important;overflow:hidden!important;display:none!important;color:var(--fcp38-ink)!important}
body.fcp-day-drawer-14638-open .fcp-day-backdrop-14638,body.fcp-day-drawer-14638-open .fcp-day-drawer-14638{display:block!important;visibility:visible!important;pointer-events:auto!important}
.fcp-day-close-14638{position:absolute!important;right:18px!important;top:18px!important;width:58px!important;height:58px!important;border-radius:20px!important;border:1px solid #cfe2fb!important;background:#f4f9ff!important;color:var(--fcp38-blue)!important;font-size:36px!important;line-height:1!important;font-weight:900!important;display:grid!important;place-items:center!important;padding:0!important;z-index:3!important}
.fcp-day-drawer-14638 header{padding:0 74px 16px 0!important;border-bottom:1px solid #edf3fa!important;margin:0 0 14px!important}
.fcp-day-drawer-14638 header small{display:block!important;color:var(--fcp38-blue)!important;font-size:13px!important;font-weight:950!important;letter-spacing:.13em!important;text-transform:uppercase!important;margin-bottom:5px!important}
.fcp-day-drawer-14638 header h3{font-size:30px!important;line-height:1.08!important;letter-spacing:-.06em!important;color:var(--fcp38-ink)!important;margin:0!important;font-weight:950!important}
.fcp-day-drawer-14638 header p{margin:10px 0 0!important;color:var(--fcp38-muted)!important;font-size:15px!important;font-weight:900!important}
.fcp-day-body-14638{height:calc(100% - 120px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:2px 2px 18px!important;box-sizing:border-box!important}
.fcp-day-loading-14638,.fcp-day-empty-14638{background:#f7fbff!important;border:1px solid #e1edf9!important;border-radius:24px!important;padding:20px!important;color:var(--fcp38-muted)!important;font-weight:850!important;display:grid!important;gap:9px!important}.fcp-day-empty-14638 strong{color:var(--fcp38-ink)!important;font-size:18px!important}.fcp-day-empty-14638 button{min-height:54px!important;border:0!important;border-radius:18px!important;background:linear-gradient(135deg,var(--fcp38-blue),var(--fcp38-sky))!important;color:#fff!important;font-weight:950!important;font-size:16px!important}
.fcp-day-card-14638{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 52px!important;align-items:center!important;gap:10px!important;min-height:86px!important;width:100%!important;padding:13px!important;margin:0!important;background:#fff!important;border:1px solid #dfebf8!important;border-radius:24px!important;box-shadow:0 10px 24px rgba(8,49,95,.06)!important;overflow:hidden!important;color:var(--fcp38-ink)!important;position:relative!important;box-sizing:border-box!important}.fcp-day-card-14638 *{box-sizing:border-box!important;line-height:1.2!important;max-width:100%!important}.fcp-day-card-14638 .fcp-mobile-task-check{width:40px!important;height:40px!important;min-width:40px!important;border-radius:15px!important;border:2px solid #cfe2fb!important;background:#fff!important;margin:0!important;padding:0!important}.fcp-day-card-14638 .fcp-mobile-task-body{display:block!important;text-align:left!important;min-width:0!important;width:100%!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;color:var(--fcp38-ink)!important;overflow:hidden!important}.fcp-day-card-14638 .fcp-mobile-task-body strong{display:block!important;font-size:17px!important;line-height:1.15!important;font-weight:950!important;color:var(--fcp38-ink)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0 0 5px!important}.fcp-day-card-14638 .fcp-mobile-task-body span,.fcp-day-card-14638 .fcp-mobile-task-note-preview{display:block!important;font-size:12px!important;line-height:1.25!important;color:var(--fcp38-muted)!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important}.fcp-day-card-14638 em{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;border-radius:999px!important;background:#eef6ff!important;color:var(--fcp38-blue)!important;border:1px solid #cfe2fb!important;padding:0 9px!important;font-size:11px!important;font-style:normal!important;font-weight:950!important;white-space:nowrap!important}.fcp-day-card-14638 .fcp-mobile-task-more{width:48px!important;height:48px!important;min-width:48px!important;border-radius:18px!important;border:1px solid #dceaf8!important;background:#fff!important;color:var(--fcp38-blue)!important;font-size:20px!important;font-weight:950!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important}
@media (max-width:430px){.fcp-day-drawer-14638{left:10px!important;right:10px!important;border-radius:28px!important;padding:20px 16px 16px!important}.fcp-day-drawer-14638 header h3{font-size:26px!important}.fcp-day-card-14638{grid-template-columns:36px minmax(0,1fr) 46px!important;grid-template-areas:"check body more" "check body meta"!important;min-height:82px!important;gap:9px!important}.fcp-day-card-14638 .fcp-mobile-task-check{grid-area:check;width:34px!important;height:34px!important;min-width:34px!important}.fcp-day-card-14638 .fcp-mobile-task-body{grid-area:body}.fcp-day-card-14638 em{grid-area:meta;font-size:10px!important;padding:0 7px!important}.fcp-day-card-14638 .fcp-mobile-task-more{grid-area:more;width:44px!important;height:44px!important;min-width:44px!important}.fcp-day-card-14638 .fcp-mobile-task-body strong{font-size:16px!important}}

/* Nuova nota: il + in Altro > Note apre un vero popup */
.fcp-note-backdrop-14638{position:fixed!important;inset:0!important;background:rgba(12,24,42,.52)!important;backdrop-filter:blur(10px)!important;z-index:1000002!important;display:none!important}.fcp-note-modal-14638{position:fixed!important;left:12px!important;right:12px!important;top:calc(env(safe-area-inset-top,0px) + 14px)!important;bottom:calc(env(safe-area-inset-bottom,0px) + 14px)!important;max-width:720px!important;margin:0 auto!important;background:#fff!important;border-radius:30px!important;border:1px solid var(--fcp38-line)!important;box-shadow:var(--fcp38-shadow)!important;z-index:1000003!important;padding:22px 20px calc(18px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;display:none!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;color:var(--fcp38-ink)!important}.fcp-note-modal-open-14638 .fcp-note-backdrop-14638,.fcp-note-modal-open-14638 .fcp-note-modal-14638{display:block!important}.fcp-note-modal-close-14638{position:absolute!important;right:18px!important;top:18px!important;width:58px!important;height:58px!important;border-radius:20px!important;border:1px solid #cfe2fb!important;background:#f4f9ff!important;color:var(--fcp38-blue)!important;font-size:36px!important;font-weight:900!important;line-height:1!important;display:grid!important;place-items:center!important;padding:0!important}.fcp-note-modal-14638 header{padding:0 74px 14px 0!important;border-bottom:1px solid #edf3fa!important;margin:0 0 16px!important}.fcp-note-modal-14638 header small{display:block!important;color:var(--fcp38-blue)!important;font-size:13px!important;font-weight:950!important;letter-spacing:.13em!important;text-transform:uppercase!important;margin-bottom:5px!important}.fcp-note-modal-14638 header h3{font-size:32px!important;line-height:1.04!important;letter-spacing:-.06em!important;color:var(--fcp38-ink)!important;margin:0!important;font-weight:950!important}.fcp-note-modal-14638 .fcp-note-compose{display:grid!important;gap:13px!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important}.fcp-note-modal-14638 .fcp-note-compose h3{display:none!important}.fcp-note-modal-14638 input,.fcp-note-modal-14638 select,.fcp-note-modal-14638 textarea{width:100%!important;box-sizing:border-box!important;border:1px solid var(--fcp38-line)!important;border-radius:18px!important;background:#fff!important;color:var(--fcp38-ink)!important;padding:14px 15px!important;font-size:16px!important;font-weight:850!important;box-shadow:none!important}.fcp-note-modal-14638 input,.fcp-note-modal-14638 select{min-height:56px!important}.fcp-note-modal-14638 textarea{min-height:150px!important;resize:vertical!important}.fcp-note-modal-14638 .fcp-note-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.fcp-note-modal-14638 button[type="submit"]{position:sticky!important;bottom:0!important;min-height:60px!important;border:0!important;border-radius:20px!important;background:linear-gradient(135deg,var(--fcp38-blue),var(--fcp38-sky))!important;color:#fff!important;font-weight:950!important;font-size:17px!important;box-shadow:0 18px 38px rgba(37,99,235,.30)!important}.fcp-note-modal-14638 button[disabled]{opacity:.58!important}.fcp-note-modal-ready-14638 .fcp-notes-app>.fcp-note-compose{display:none!important}@media (max-width:430px){.fcp-note-modal-14638{left:10px!important;right:10px!important;border-radius:28px!important;padding:20px 16px 16px!important}.fcp-note-modal-14638 header h3{font-size:28px!important}.fcp-note-modal-14638 .fcp-note-grid{grid-template-columns:1fr!important}.fcp-note-modal-14638 textarea{min-height:180px!important}}

/* FAB desktop: fuori dal contenitore mobile e sempre cliccabile */
body .fcp-mobile-fab.fcp-desktop-fab-14638{position:fixed!important;right:calc(26px + env(safe-area-inset-right,0px))!important;bottom:calc(26px + env(safe-area-inset-bottom,0px))!important;display:grid!important;place-items:center!important;width:76px!important;height:76px!important;min-width:76px!important;min-height:76px!important;border-radius:28px!important;border:0!important;background:linear-gradient(135deg,var(--fcp38-blue),var(--fcp38-sky))!important;color:#fff!important;font-size:42px!important;line-height:1!important;font-weight:950!important;box-shadow:0 24px 54px rgba(37,99,235,.34)!important;z-index:999990!important;padding:0!important;text-decoration:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}.fcp-mobile-fab.fcp-desktop-fab-14638:before,.fcp-mobile-fab.fcp-desktop-fab-14638:after{content:none!important}@media (max-width:760px){body .fcp-mobile-fab.fcp-desktop-fab-14638{right:18px!important;bottom:calc(100px + env(safe-area-inset-bottom,0px))!important;width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;border-radius:22px!important;font-size:36px!important}}

/* Lista spesa/ricette: label coerenti e niente effetto bordo blu tagliato */
.fcp-shopping-app>header p,.fcp-recipes-app>header p{color:var(--fcp38-muted)!important;font-weight:850!important}.fcp-shopping-app>header p::after{content:' · solo Felice'!important;color:var(--fcp38-blue)!important;font-weight:950!important}.fcp-more-clean-card,.fcp-more-card{background:#fff!important;background-image:none!important;outline:0!important}.fcp-more-clean-card:before,.fcp-more-clean-card:after,.fcp-more-card:before,.fcp-more-card:after{display:none!important;content:none!important}
