/* Saved places use the same photographs, rounded surfaces and responsive
   discovery rhythm. Names and list membership remain restaurant-level facts. */
.saved-restaurants-page { padding-top:10px; }
.saved-restaurants-page > .back { margin:0 0 18px; }
.saved-page-heading { margin:0 0 24px; }
.saved-page-heading h1 { margin:0; max-width:20ch; font-size:clamp(1.8rem,6vw,2.4rem); line-height:1.08; letter-spacing:-.04em; }
.saved-list + .saved-list { margin-top:30px; }
.saved-list-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 14px; }
.saved-list-heading h2 { margin:0; min-width:0; overflow-wrap:anywhere; font-size:1.125rem; line-height:1.3; letter-spacing:-.02em; }
.saved-list-heading > span { flex:none; font-size:.8125rem; color:var(--muted); }
.saved-restaurant-grid { --saved-gap:12px; --saved-minimum:calc((100% - var(--saved-gap)) / 2); display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,max(8.5rem,var(--saved-minimum))),1fr)); gap:22px var(--saved-gap); align-items:stretch; }
.saved-restaurant-card { position:relative; display:flex; min-width:0; border-radius:19px; }
body[data-layout='tiles'] .saved-restaurant-link,.saved-restaurant-link { display:flex; flex:1; flex-direction:column; align-items:stretch; gap:0; width:100%; height:100%; min-width:0; min-height:0; padding:0; border:0; border-radius:19px; background:transparent; text-decoration:none; color:var(--ink); }
.saved-restaurant-photo { flex:none; position:relative; width:100%; aspect-ratio:4/3; border-radius:19px; overflow:hidden; background:var(--paper); }
.saved-restaurant-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.saved-photo-placeholder { display:grid; width:100%; height:100%; place-items:center; background:#ffe3ed; }
.saved-photo-placeholder svg { width:34px; height:34px; color:var(--muted); }
.saved-restaurant-copy { display:flex; flex:1; flex-direction:column; gap:5px; padding:11px 2px 0; min-width:0; }
body[data-layout='tiles'] .saved-restaurant-link h3,.saved-restaurant-link h3 { display:block; margin:0; min-height:2.5em; overflow:visible; overflow-wrap:anywhere; -webkit-line-clamp:unset; font-size:1rem; line-height:1.25; letter-spacing:-.015em; font-weight:650; }
.saved-restaurant-address { margin:0; min-height:2.7em; color:var(--muted); font-size:.8125rem; line-height:1.35; overflow-wrap:anywhere; }
.saved-restaurant-status { display:flex; flex-direction:column; gap:4px; margin-top:auto; padding-top:4px; }
.saved-restaurant-status .status-card { position:static; max-width:none; padding:0; border-radius:0; background:none; font-size:.75rem; }
.saved-restaurant-status .branch-distance { margin:0; font-size:.75rem; }
.saved-restaurant-remove { position:absolute; z-index:1; top:7px; right:7px; display:grid; place-items:center; width:44px; min-width:44px; height:44px; min-height:44px; padding:0; border:1px solid #fff9fc; border-radius:50%; background:#fff3f8f5; color:var(--action); font-size:1.55rem; line-height:1; cursor:pointer; }
.saved-restaurant-remove:hover { background:#fff; }
.saved-restaurant-remove:disabled { opacity:.6; cursor:wait; }
.saved-restaurant-link:focus-visible,.saved-restaurant-remove:focus-visible { outline:3px solid var(--ink); outline-offset:4px; }
.saved-restaurant-card.is-unavailable .saved-restaurant-copy { color:var(--muted); }
.saved-empty { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; gap:12px; padding:28px 20px; border:1px solid #fff3f8; border-radius:22px; background:#fff3f8a6; text-align:center; }
.saved-empty-heart { font-size:2.25rem; color:var(--action); line-height:1; }
.saved-empty p { margin:0; font-size:.9375rem; line-height:1.4; }
.saved-empty .button { width:auto; max-width:100%; margin-top:4px; }
.saved-create-list { margin-top:28px; padding-top:20px; border-top:1px solid var(--line); }
.saved-create-list > summary { display:flex; align-items:center; justify-content:center; gap:8px; width:fit-content; max-width:100%; min-height:44px; padding:9px 16px; border:1px solid var(--control-line); border-radius:99px; color:var(--ink); background:#fff3f866; font-size:.875rem; font-weight:550; list-style:none; cursor:pointer; }
.saved-create-list > summary::-webkit-details-marker { display:none; }
.saved-create-list > summary:focus-visible { outline:3px solid var(--ink); outline-offset:4px; }
.saved-create-list form { display:grid; gap:12px; margin-top:16px; max-width:28rem; }
.saved-create-list .field { margin:0; }
.saved-create-list form .button { margin:0; }
@media(min-width:700px) {
  .saved-restaurants-page { padding-top:14px; }
  .saved-page-heading { margin-bottom:30px; }
  .saved-restaurant-grid { --saved-gap:20px; --saved-minimum:calc((100% - 2 * var(--saved-gap)) / 3); gap:28px var(--saved-gap); }
  .saved-list + .saved-list { margin-top:36px; }
}
@media(min-width:1000px) { .saved-restaurant-grid { --saved-minimum:calc((100% - 3 * var(--saved-gap)) / 4); } }
@media(forced-colors:active) { .saved-restaurant-remove,.saved-empty { border:1px solid CanvasText; } }

/* Named lists use the same branch memberships as the quick-save heart. */
.saved-list-settings { margin-top:12px; font-size:.875rem; }
.saved-list-settings summary { cursor:pointer; width:fit-content; min-height:44px; display:flex; align-items:center; }
.saved-list-settings form { display:grid; gap:10px; max-width:28rem; padding:12px 0; }
.saved-list-settings input:not([type=checkbox]) { min-width:0; width:100%; }
.saved-list-picker { position:absolute; right:8px; top:58px; min-height:40px; padding:6px 12px; border:1px solid var(--control-line); border-radius:99px; background:#fff3f8f5; color:var(--ink); font:inherit; font-size:.875rem; cursor:pointer; }
.restaurant-list-picker { display:block; margin:4px auto 0; min-height:44px; font-size:.875rem; }
.list-memberships { display:grid; gap:8px; margin:20px 0; }
.list-membership { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:48px; padding:12px 16px; border:1px solid var(--control-line); border-radius:16px; color:var(--ink); background:transparent; font:inherit; text-align:left; cursor:pointer; }
.list-membership[aria-pressed=true] { background:#fbd3e2; border-color:var(--action); }

.ordinary-wordmark{display:block;width:92px;height:auto}
