/* Il ricettario eredita header, tipografia e schede da ricette.css. */
.saved-recipes-page .main-nav [aria-current="location"] { color:var(--green); text-decoration:underline; text-underline-offset:7px; text-decoration-thickness:2px; }
.saved-recipes-page .library-main { padding-top:18px; padding-bottom:32px; }
.saved-recipes-page .library-breadcrumb { display:flex; gap:8px; align-items:center; font-size:12px; color:#4e3928; margin-bottom:18px; }
.saved-recipes-page .library-breadcrumb svg { width:12px; height:12px; }
.saved-recipes-page .library-breadcrumb a:hover { text-decoration:underline; }
.saved-recipes-page .library-intro h1 { font-size:clamp(34px,4.4vw,48px); line-height:1.15; letter-spacing:-.04em; margin:0 0 8px; }
.saved-recipes-page .library-intro p { font-size:17px; line-height:1.5; margin:0; }
.saved-recipes-page .library-section { margin-top:32px; }
.saved-recipes-page .library-section h2 { font-size:26px; line-height:1.25; letter-spacing:-.04em; margin:0 0 14px; }
.saved-recipes-page .fixed-collections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.saved-recipes-page .personal-collections { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.saved-recipes-page .collection-tile { min-width:0; position:relative; }
.saved-recipes-page .collection-filter { display:flex; align-items:center; gap:20px; width:100%; min-height:74px; padding:13px 22px; text-align:left; border:1px solid #e9dfcf; border-radius:16px; background:#faf7f1; color:var(--ink); }
.saved-recipes-page .collection-filter > svg:first-child { width:34px; height:34px; color:var(--green); stroke-width:1.7; flex-shrink:0; }
.saved-recipes-page .collection-filter > span { min-width:0; flex:1; }
.saved-recipes-page .collection-filter strong { display:block; font-family:Manrope,'DM Sans',Arial,sans-serif; font-size:18px; line-height:1.3; font-weight:600; letter-spacing:-.035em; color:#241710; overflow-wrap:anywhere; }
.saved-recipes-page .collection-count { display:block; font-size:14px; line-height:1.5; margin-top:2px; }
.saved-recipes-page .collection-filter .collection-chevron { width:17px; height:17px; flex-shrink:0; }
.saved-recipes-page .collection-filter[aria-pressed="true"] { border-color:#7d9456; background:#f0f3e7; }
.saved-recipes-page .collection-filter:hover { border-color:#9aaa80; }
.saved-recipes-page .personal-tile .collection-filter { padding-right:58px; }
.saved-recipes-page .library-section-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:12px; }
.saved-recipes-page .library-section-heading h2 { margin:0; }
.saved-recipes-page .new-collection-button { min-height:40px; font-size:13px; padding:8px 18px; font-weight:500; background:transparent; gap:7px; }
.saved-recipes-page .new-collection-button svg { width:18px; height:18px; }
.saved-recipes-page .personal-empty { font-size:14px; color:#706c64; line-height:1.5; margin:0; }
.saved-recipes-page .saved-section { margin-top:38px; }
.saved-recipes-page .saved-section-heading { margin-bottom:20px; }
.saved-recipes-page .saved-total { font-weight:400; font-size:.9em; white-space:nowrap; }
.saved-recipes-page .library-filter { position:relative; flex:0 0 200px; }
.saved-recipes-page .library-filter select { width:100%; min-height:40px; padding:9px 36px 9px 16px; border:1px solid #e5dccc; border-radius:100px; font:inherit; font-size:13px; background:#fffdfb; color:#2c251e; appearance:none; }
.saved-recipes-page .library-filter svg { position:absolute; right:13px; top:50%; transform:translateY(-50%); width:17px; height:17px; pointer-events:none; }
.saved-recipes-page .recipe-grid { gap:16px; }
.saved-recipes-page .saved-recipe-card { position:relative; }
.saved-recipes-page .recipe-card h3 { font-size:22px; line-height:1.25; }
.saved-recipes-page .saved-card-link,.saved-recipes-page .saved-card-content { display:block; height:100%; }
.saved-recipes-page .saved-card-link:focus-visible { outline-offset:-3px; border-radius:15px; }
.saved-recipes-page .saved-card-menu { position:absolute; top:9px; right:9px; width:32px; height:32px; padding:6px; display:grid; place-items:center; border:0; border-radius:50%; background:#fffdfa; color:#442b19; }
.saved-recipes-page .saved-card-menu svg { width:19px; height:19px; fill:currentColor; stroke-width:1.2; }
.saved-recipes-page .personal-menu { top:50%; right:14px; transform:translateY(-50%); border-radius:8px; background:transparent; }
.saved-recipes-page .personal-menu svg { transform:rotate(90deg); }
.saved-recipes-page .saved-unavailable { font-size:12px; color:#706c64; margin:10px 0 0; }
.saved-recipes-page .missing-recipe-photo { display:grid; place-items:center; aspect-ratio:1.92; background:#f8f6f1; font-size:13px; color:#706c64; padding:20px; text-align:center; }
.saved-recipes-page .library-context-menu { position:absolute; top:45px; right:9px; z-index:30; width:215px; padding:6px; border:1px solid #e5dccc; border-radius:11px; background:#fffdfb; box-shadow:0 6px 20px #5427171a; }
.saved-recipes-page .personal-tile .library-context-menu { top:55px; }
.saved-recipes-page .library-context-menu button { display:block; width:100%; padding:10px; border:0; border-radius:7px; background:transparent; font-size:13px; text-align:left; color:#302d28; }
.saved-recipes-page .library-context-menu button:hover { background:#f8f6f1; }
.saved-recipes-page .library-empty { text-align:center; border:1px solid #eee5d8; border-radius:16px; background:#faf7f1; padding:34px 24px; }
.saved-recipes-page .library-empty h3 { font-size:23px; margin:0 0 10px; }
.saved-recipes-page .library-empty p { font-size:15px; max-width:500px; margin:0 auto 20px; }
.saved-recipes-page .library-empty .button { font-size:13px; }
.saved-recipes-page .library-local-note { font-size:12px; line-height:1.5; color:#706c64; margin:24px 0 0; }
.saved-recipes-page .library-error { padding:18px; border:1px solid #e5dccc; border-radius:12px; margin-top:22px; }
.saved-recipes-page .library-error p { font-size:14px; margin:0 0 12px; }
.saved-recipes-page .library-editor { max-height:calc(100dvh - 32px); overflow-y:auto; }
.saved-recipes-page .library-editor h2 { font-size:27px; line-height:1.2; padding-right:40px; }
.saved-recipes-page .library-editor p { font-size:14px; line-height:1.5; }
.saved-recipes-page .library-editor label { font-size:14px; }
.saved-recipes-page .library-editor input { border-radius:12px; }
.saved-recipes-page .editor-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.saved-recipes-page button:disabled { cursor:default; opacity:.5; }
@media (min-width:581px) and (max-width:900px) {
  .saved-recipes-page .fixed-collections { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .saved-recipes-page .collection-filter { gap:14px; padding-inline:16px; }
  .saved-recipes-page .collection-filter strong { font-size:16px; }
  .saved-recipes-page .library-section h2 { font-size:23px; }
}
@media (max-width:580px) {
  .saved-recipes-page .library-main { padding-top:13px; }
  .saved-recipes-page .library-breadcrumb { font-size:11px; margin-bottom:14px; }
  .saved-recipes-page .library-intro h1 { font-size:30px; margin-bottom:5px; }
  .saved-recipes-page .library-intro p { font-size:14px; line-height:1.5; }
  .saved-recipes-page .library-section { margin-top:22px; }
  .saved-recipes-page .library-section h2 { font-size:19px; margin-bottom:9px; }
  .saved-recipes-page .fixed-collections,.saved-recipes-page .personal-collections { grid-template-columns:1fr; gap:7px; }
  .saved-recipes-page .collection-filter { min-height:51px; padding:7px 18px; border-radius:13px; gap:18px; }
  .saved-recipes-page .collection-filter > svg:first-child { width:27px; height:27px; }
  .saved-recipes-page .collection-filter strong { font-size:14px; }
  .saved-recipes-page .collection-count { font-size:12px; line-height:1.3; margin-top:1px; }
  .saved-recipes-page .personal-section { margin-top:26px; }
  .saved-recipes-page .library-section-heading { gap:8px; margin-bottom:9px; }
  .saved-recipes-page .library-section-heading h2 { font-size:16px; margin:0; }
  .saved-recipes-page .new-collection-button { min-height:32px; font-size:10px; padding:6px 10px; gap:4px; }
  .saved-recipes-page .new-collection-button svg { width:14px; height:14px; }
  .saved-recipes-page .personal-empty { font-size:13px; }
  .saved-recipes-page .personal-menu svg { transform:none; }
  .saved-recipes-page .saved-section { margin-top:26px; }
  .saved-recipes-page .saved-section-heading { align-items:stretch; flex-direction:column; gap:12px; margin-bottom:18px; }
  .saved-recipes-page .saved-section-heading h2 { font-size:19px; }
  .saved-recipes-page .library-filter { flex-basis:auto; }
  .saved-recipes-page .library-filter select { min-height:37px; font-size:12px; }
  .saved-recipes-page .library-local-note { font-size:11px; }
  .saved-recipes-page .library-empty { padding:28px 18px; }
  .saved-recipes-page .library-empty h3 { font-size:20px; }
  .saved-recipes-page .library-empty p { font-size:14px; }
}
