/* Saved collection: reuse public project/home cards and keep storage state local. */
.saved-heading .lead{max-width:780px}
.saved-local-note{max-width:780px;margin-top:18px;font-size:15px;line-height:1.75;color:#68727c}
.saved-collection{min-width:0;min-height:460px}
.saved-collection [hidden]{display:none!important}
.saved-collection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px;flex-wrap:wrap}
.saved-category-filters{display:flex;flex-wrap:wrap;gap:10px}
.saved-category-filters button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 17px;background:#fff;border:1px solid #e0e5e9;border-radius:25px;color:#303b46;font:600 16px/1.4 var(--sans);transition:background .18s,border-color .18s}
.saved-category-filters button span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;padding:2px 7px;background:#eef1f3;border-radius:14px;font-size:13px;font-variant-numeric:tabular-nums}
.saved-category-filters button[aria-pressed=true]{background:#ff6b22;border-color:#ff6b22;color:#202a32}
.saved-category-filters button[aria-pressed=true] span{background:#ffffffb8}
.saved-category-filters button:hover{border-color:#e67a3f;background:#fff4ec}
.saved-category-filters button[aria-pressed=true]:hover{background:#ff7a37}
.saved-category-filters button:focus-visible{outline:3px solid #a74417;outline-offset:3px}
.saved-collection-status{font-size:16px;line-height:1.6;color:#5e6a75;font-variant-numeric:tabular-nums}
.saved-storage-notice{margin-bottom:28px;padding:17px 20px;border:1px solid #ebd1bb;border-radius:8px;background:#fff5e9;color:#765132;font-size:16px;line-height:1.75;overflow-wrap:anywhere}
.saved-collection-results{min-width:0}
.saved-collection-group+.saved-collection-group{margin-top:65px;padding-top:45px;border-top:1px solid #e1e5e8}
.saved-group-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:17px}
.saved-group-heading h2{font-size:clamp(30px,3vw,42px)!important;line-height:1.2}
.saved-group-heading .eyebrow{font-size:13px;margin-bottom:10px;color:#8b5a3a}
.saved-group-heading .text-link{flex-shrink:0;min-height:44px}
.saved-group-note{font-size:15px;color:#6c7680;line-height:1.8;margin-bottom:28px;max-width:900px}
.saved-example-notice{margin:22px 0 28px}
.saved-project-grid,.saved-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;min-width:0}
.saved-project-grid>.project-card,.saved-home-grid>.listing-card{min-width:0}
.saved-collection .project-card h3,.saved-collection .listing-card h3{overflow-wrap:anywhere}
.saved-collection-empty{border:1px solid #e1e6ea;border-radius:12px;background:#fff;padding:56px 30px;text-align:center;max-width:100%;margin-top:12px}
.saved-empty-heart{display:block;width:38px;height:38px;margin:0 auto 22px;background:#ba6336;mask:url('/assets/ui-save.svg') center/contain no-repeat}
.saved-collection-empty h2{font-size:clamp(29px,3.3vw,43px)!important;line-height:1.25;max-width:700px;margin-inline:auto}
.saved-collection-empty>p{font-size:17px;line-height:1.8;color:#6b757f;max-width:680px;margin:17px auto 0}
.saved-empty-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:27px}
.saved-empty-actions .button{min-height:48px;justify-content:center}
.saved-collection-noscript{border-top:1px solid #e2e6e9;padding-top:30px;margin-top:30px}
.saved-collection-noscript h2{font-size:30px!important}
.saved-collection-noscript p{font-size:17px;line-height:1.8;margin-top:15px;max-width:700px}
.saved-collection-noscript .text-link{margin-top:20px;margin-right:24px;min-height:44px}
@media(max-width:1100px){.saved-project-grid,.saved-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.saved-group-heading{align-items:start}.saved-group-heading .text-link{font-size:15px}}
@media(max-width:700px){
 .saved-collection-toolbar{align-items:stretch;gap:18px;margin-bottom:22px}
 .saved-category-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
 .saved-category-filters button{font-size:15px;min-height:50px;padding:10px 12px;gap:8px;border-radius:8px;justify-content:space-between}
 .saved-category-filters button span{min-width:24px;font-size:13px}
 .saved-collection-status{font-size:16px}
 .saved-local-note{font-size:15px;margin-top:18px}
 .saved-storage-notice{font-size:15px;padding:16px}
 .saved-group-heading{flex-direction:column;gap:12px;margin-bottom:12px}
 .saved-group-heading .text-link{font-size:16px}
 .saved-group-heading h2{font-size:33px!important}
 .saved-group-note{font-size:15px;margin-bottom:24px}
 .saved-project-grid,.saved-home-grid{grid-template-columns:1fr;gap:26px}
 .saved-collection-group+.saved-collection-group{margin-top:44px;padding-top:32px}
 .saved-collection-empty{padding:36px 18px}
 .saved-collection-empty h2{font-size:29px!important}
 .saved-collection-empty>p{font-size:16px}
 .saved-empty-actions{flex-direction:column;gap:12px;margin-top:24px}
 .saved-empty-actions .button{width:100%;font-size:15px;padding:12px 14px;white-space:normal;text-align:center}
}
@media(max-width:360px){.saved-category-filters button{padding:10px;font-size:14px;gap:5px}.saved-category-filters button span{padding-inline:5px;min-width:23px}.saved-group-heading h2{font-size:30px!important}}
@media(prefers-reduced-motion:reduce){.saved-category-filters button{transition:none}}
@media(forced-colors:active){.saved-category-filters button{border-color:ButtonText}.saved-category-filters button[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-3px}.saved-empty-heart{background:CanvasText}}
