
/* FCP 14.6.59 - Direct rebuild for Altro / Note / Lista spesa / Ricette */
@media (max-width: 960px){
  body .fcp-mobile-native-altro,
  body .fcp-mobile-native-screen[data-mobile-tab="altro"]{
    padding:10px 12px calc(96px + env(safe-area-inset-bottom,0px))!important;
    background:#f4f8fd!important;
    overflow-x:hidden!important;
  }
  body .fcp-more-app-14659,
  body .fcp-more-app-14659 *{box-sizing:border-box!important}
  body .fcp-more-app-14659{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:block!important;color:#10233f!important}
  body .fcp-more-hero-14659{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;margin:2px 0 12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  body .fcp-more-hero-14659 span{display:block!important;font-size:11px!important;line-height:1!important;font-weight:950!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:#1e6eea!important;margin-bottom:5px!important}
  body .fcp-more-hero-14659 h2{margin:0!important;font-size:28px!important;line-height:1.02!important;font-weight:950!important;letter-spacing:-.065em!important;color:#10233f!important}
  body .fcp-more-hero-14659 p{margin:4px 0 0!important;font-size:13px!important;line-height:1.3!important;font-weight:750!important;color:#6b7c93!important;max-width:270px!important}
  body .fcp-more-hero-14659 .fcp-mobile-search-button{height:42px!important;min-height:42px!important;border-radius:16px!important;padding:0 16px!important;background:#fff!important;border:1px solid #dbe7f4!important;color:#10233f!important;font-size:13px!important;font-weight:900!important;box-shadow:0 8px 18px rgba(16,35,63,.05)!important}

  body .fcp-more-switcher-14659{position:sticky!important;top:0!important;z-index:9!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 12px!important;padding:6px!important;border-radius:22px!important;background:rgba(255,255,255,.92)!important;border:1px solid #e0e9f5!important;box-shadow:0 10px 24px rgba(16,35,63,.06)!important;backdrop-filter:blur(14px)!important}
  body .fcp-more-switcher-14659 button{height:44px!important;min-height:44px!important;border-radius:17px!important;border:0!important;background:transparent!important;color:#64748b!important;font-size:13px!important;font-weight:950!important;padding:0 6px!important;box-shadow:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body .fcp-more-switcher-14659 button.is-active{background:linear-gradient(135deg,#2563eb,#20bdf5)!important;color:#fff!important;box-shadow:0 12px 24px rgba(37,99,235,.25)!important}
  body .fcp-more-panel-14659{display:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
  body .fcp-more-panel-14659.is-active{display:block!important}

  body .fcp-more-module-14659{width:100%!important;max-width:100%!important;margin:0 0 14px!important;padding:16px!important;border-radius:24px!important;border:1px solid #dce7f3!important;background:#fff!important;box-shadow:0 12px 30px rgba(16,35,63,.07)!important;overflow:hidden!important;background-image:none!important;outline:0!important}
  body .fcp-more-module-14659::before,
  body .fcp-more-module-14659::after,
  body .fcp-more-card::before,
  body .fcp-more-card::after,
  body .fcp-more-clean-card::before,
  body .fcp-more-clean-card::after{display:none!important;content:none!important}
  body .fcp-more-module-head-14659{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  body .fcp-more-module-head-14659 small{display:block!important;font-size:11px!important;line-height:1!important;letter-spacing:.13em!important;text-transform:uppercase!important;font-weight:950!important;color:#2563eb!important;margin:0 0 6px!important}
  body .fcp-more-module-head-14659 h3{margin:0!important;font-size:24px!important;line-height:1.05!important;letter-spacing:-.055em!important;font-weight:950!important;color:#10233f!important}
  body .fcp-more-module-head-14659 p{margin:5px 0 0!important;font-size:13px!important;line-height:1.3!important;color:#64748b!important;font-weight:750!important}
  body .fcp-more-module-head-14659>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:0 12px!important;border-radius:999px!important;background:#eef6ff!important;border:1px solid #cfe3ff!important;color:#123b70!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important}

  body .fcp-more-form-14659{display:grid!important;gap:10px!important;margin:0 0 14px!important;padding:12px!important;border-radius:20px!important;background:#f7fbff!important;border:1px solid #e1ebf6!important;box-shadow:none!important}
  body .fcp-more-form-14659 label{display:grid!important;gap:7px!important;margin:0!important;color:#10233f!important;font-size:12px!important;line-height:1.1!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:950!important}
  body .fcp-more-form-14659 input,
  body .fcp-more-form-14659 select,
  body .fcp-more-form-14659 textarea{width:100%!important;min-width:0!important;box-sizing:border-box!important;border:1px solid #d8e5f2!important;border-radius:16px!important;background:#fff!important;color:#10233f!important;padding:12px 13px!important;font-size:16px!important;font-weight:800!important;box-shadow:none!important;outline:0!important;text-transform:none!important;letter-spacing:0!important}
  body .fcp-more-form-14659 input,
  body .fcp-more-form-14659 select{height:48px!important;min-height:48px!important}
  body .fcp-more-form-14659 textarea{min-height:96px!important;resize:vertical!important}
  body .fcp-more-form-grid-14659{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:0!important}
  body .fcp-more-primary-14659,
  body .fcp-more-form-14659 button[type="submit"],
  body .fcp-mobile-save-button{height:52px!important;min-height:52px!important;width:100%!important;border:0!important;border-radius:17px!important;background:linear-gradient(135deg,#2563eb,#20bdf5)!important;color:#fff!important;font-size:16px!important;font-weight:950!important;box-shadow:0 14px 30px rgba(37,99,235,.25)!important;text-align:center!important}

  body .fcp-more-search-14659{margin:0 0 12px!important}
  body .fcp-more-search-14659 input{height:44px!important;border-radius:16px!important;border:1px solid #d8e5f2!important;background:#fff!important;padding:0 13px!important;width:100%!important;font-size:15px!important;font-weight:800!important;color:#10233f!important}
  body .fcp-more-list-14659{display:grid!important;gap:9px!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body .fcp-more-item-14659{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:12px!important;border-radius:18px!important;border:1px solid #e0e9f5!important;background:#fff!important;box-shadow:0 7px 18px rgba(16,35,63,.045)!important;color:#10233f!important;overflow:hidden!important}
  body .fcp-more-item-14659 h3,
  body .fcp-more-item-14659 strong{display:block!important;margin:0!important;font-size:15px!important;line-height:1.2!important;font-weight:950!important;color:#10233f!important;letter-spacing:-.025em!important;word-break:break-word!important}
  body .fcp-more-item-14659 p,
  body .fcp-more-item-14659 span,
  body .fcp-more-item-14659 time{font-size:12.5px!important;line-height:1.35!important;color:#64748b!important;font-weight:750!important;word-break:break-word!important}
  body .fcp-more-item-14659 footer{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin-top:9px!important}
  body .fcp-more-item-14659 footer span,
  body .fcp-more-item-14659 time{display:inline-flex!important;padding:5px 8px!important;border-radius:999px!important;background:#f1f6fc!important;border:1px solid #e1ebf6!important}
  body .fcp-more-check-14659{width:34px!important;height:34px!important;min-width:34px!important;border-radius:12px!important;border:2px solid #cbd8e8!important;background:#fff!important;color:#2563eb!important;font-size:18px!important;font-weight:950!important;padding:0!important;display:grid!important;place-items:center!important;box-shadow:none!important}
  body .fcp-shopping-item.fcp-more-item-14659{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
  body .fcp-shopping-item.fcp-more-item-14659.is-done{opacity:.62!important;background:#f8fafc!important}
  body .fcp-shopping-item.fcp-more-item-14659.is-done strong{text-decoration:line-through!important}
  body .fcp-more-recipe-item-14659>small{display:inline-flex!important;margin:0 0 8px!important;padding:5px 8px!important;border-radius:999px!important;background:#eef6ff!important;color:#2563eb!important;border:1px solid #cfe3ff!important;font-size:10px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.08em!important}
  body .fcp-more-chip-list-14659{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:9px 0!important}
  body .fcp-more-chip-list-14659 span{display:inline-flex!important;padding:6px 8px!important;border-radius:999px!important;background:#f1f6fc!important;border:1px solid #e1ebf6!important;color:#123b70!important;font-size:12px!important;font-weight:850!important}

  /* Pulsanti blu sempre leggibili */
  body .fcp-app-main .button-primary,
  body .fcp-app-main a.button-primary,
  body .fcp-app-main button.button-primary,
  body .fcp-app-main .fcp-btn-primary,
  body .fcp-app-main .fcp-mobile-fab,
  body .fcp-app-main .fcp-mobile-save-button,
  body .fcp-app-main .fcp-app-client-card-actions a:first-child,
  body .fcp-app-main .fcp-mobile-card-actions a:first-child{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }

  body .fcp-mobile-empty{border-radius:16px!important;background:#f7fbff!important;border:1px dashed #d8e5f2!important;color:#64748b!important;padding:12px!important;font-size:13px!important;font-weight:800!important}
}
@media (max-width:390px){
  body .fcp-more-form-grid-14659{grid-template-columns:1fr!important}
  body .fcp-more-module-14659{padding:14px!important;border-radius:22px!important}
  body .fcp-more-module-head-14659 h3{font-size:22px!important}
  body .fcp-more-hero-14659 h2{font-size:26px!important}
}
