/* GENERATED FILE - DO NOT EDIT.
   Source: shared/save-place.css - run `npm run sync:shared` after editing. */

/* Save to a trip (shared/save-place.js — owner 2026-10-30): the Save button on a public itinerary's stop, and the
   "which trip?" sheet. Phone: a sheet from the bottom; wide: a card in the middle. */
.lb-sp-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 1.75rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  color: #1f2a24;
  box-shadow: 0 0 0 1px rgba(31, 42, 36, 0.16); /* quiet: a stop's name comes first (owner 2026-11-06: "the save button") */
  font: 600 0.74rem/1 "DM Sans", system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.lb-sp-btn:hover { background: #fff; box-shadow: 0 0 0 1px rgba(31, 42, 36, 0.32); }
.lb-sp-btn:focus-visible { outline: 2px solid #3a7bd5; outline-offset: 2px; }
.lb-sp-btn.is-saved { background: #e9f3ec; color: #1f6b45; box-shadow: inset 0 0 0 1px #b9dcc6; }
/* a public stop card (owner 2026-10-30: "out of position, not good alignment — like the web"): one row — the tags on
   the left wrapping among themselves, Save on the right, centred on the tags' first line; an even gap to the name */
.nu-agc-body.is-journal .nu-agc-tags.has-save { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; width: 100%; min-width: 0; margin-bottom: 0.2rem; }
/* room for one word: a narrow card drops Save under the tags, never a pill one letter wide (owner 2026-11-05) */
.nu-agc-tags.has-save > .nu-agc-tagset { flex: 1 1 7rem; min-width: 0; max-width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; padding-top: 0.22rem; }
/* a long chip ("Skipped · Ran out of time") wraps inside its pill beside Save, never cut off (2026-10-30: iOS clipped it) */
.nu-agc-tags.has-save > .nu-agc-tagset > * { max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.nu-agc-tags.has-save > .lb-sp-btn { margin-left: auto; }

.lb-sp-new.is-row { width: 100%; margin-top: 10px; }
.lb-sp { position: fixed; inset: 0; z-index: 12600; display: flex; align-items: flex-end; justify-content: center; }
.lb-sp-scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(20, 28, 24, 0.5); opacity: 0; transition: opacity 0.2s ease; cursor: default; }
.lb-sp-sheet {
  position: relative;
  width: min(28rem, 100%);
  max-height: min(86dvh, calc(100dvh - var(--safe-top, 0px) - 0.75rem));
  display: flex;
  flex-direction: column;
  background: #fbf7ef;
  color: #1f2a24;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
  transform: translateY(100%);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.lb-sp.is-on .lb-sp-scrim { opacity: 1; }
.lb-sp.is-on .lb-sp-sheet { transform: none; }
@media (min-width: 48rem) {
  .lb-sp { align-items: center; padding: 1.5rem; }
  .lb-sp-sheet { border-radius: 20px; opacity: 0; transform: translateY(12px) scale(0.98); transition: transform 0.2s ease, opacity 0.2s ease; }
  .lb-sp.is-on .lb-sp-sheet { opacity: 1; transform: none; }
  .lb-sp-handle { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lb-sp-sheet, .lb-sp-scrim { transition: none; } }
.lb-sp-handle { align-self: center; width: 2.6rem; height: 4px; margin: 0.55rem 0 0; border-radius: 99px; background: #d8ccb5; flex: none; }
.lb-sp-head { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1.15rem 0.5rem; flex: none; }
.lb-sp-head > div { flex: 1; min-width: 0; }
.lb-sp-kicker { display: flex; align-items: center; gap: 0.35rem; margin: 0; font: 700 0.68rem/1.2 "DM Sans", system-ui, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #b4532a; }
.lb-sp-head h2 { margin: 0.3rem 0 0; font: 500 1.35rem/1.15 "Playfair Display", Georgia, serif; color: #1b2a44; overflow-wrap: anywhere; }
.lb-sp-sub { margin: 0.25rem 0 0; font: 500 0.82rem/1.3 "DM Sans", system-ui, sans-serif; color: #6f6a5f; }
.lb-sp-x { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid #e7dcc6; border-radius: 50%; background: #fffdf8; color: #1f2a24; font-size: 0.95rem; cursor: pointer; }
.lb-sp-saved { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin: 0.2rem 1.15rem 0.3rem; padding: 0.6rem 0.8rem; border-radius: 12px; background: #e9f3ec; color: #1f6b45; font: 500 0.88rem "DM Sans", system-ui, sans-serif; }
.lb-sp-undo { flex: none; padding: 0.35rem 0.8rem; border: 1px solid #b9dcc6; border-radius: 999px; background: #fff; color: #1f6b45; font: 600 0.8rem "DM Sans", system-ui, sans-serif; cursor: pointer; }
.lb-sp-body { overflow-y: auto; overscroll-behavior: contain; padding: 0.3rem 1.15rem 0.2rem; }
.lb-sp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.lb-sp-trip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  border: 1px solid #ebe1cd;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.lb-sp-trip:hover:not(:disabled) { border-color: #1f3d30; }
.lb-sp-trip:disabled { cursor: default; }
.lb-sp-trip.is-off { opacity: 0.5; }
.lb-sp-trip.is-here { border-color: #b9dcc6; background: #f3faf5; }
.lb-sp-cover { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 10px; background: #efe6d6 center / cover no-repeat; font-size: 1.3rem; }
.lb-sp-main { flex: 1; min-width: 0; display: grid; gap: 0.15rem; }
.lb-sp-main b { font: 600 0.95rem/1.2 "DM Sans", system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-sp-main small { font: 500 0.78rem "DM Sans", system-ui, sans-serif; color: #6f6a5f; }
.lb-sp-go { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #1f3d30; color: #fff; font: 700 1rem "DM Sans", system-ui, sans-serif; }
.lb-sp-trip.is-here .lb-sp-go { background: #1f6b45; }
.lb-sp-trip.is-off .lb-sp-go { background: #c9c3b6; }
.lb-sp-wait, .lb-sp-empty { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin: 0.6rem 0; padding: 1rem; border: 1px dashed #d9cbb0; border-radius: 14px; color: #6f6a5f; font: 500 0.88rem/1.45 "DM Sans", system-ui, sans-serif; text-align: center; }
.lb-sp-wait { flex-direction: row; justify-content: center; }
.lb-sp-empty p { margin: 0; }
.lb-sp-new { min-height: 2.6rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: #1f3d30; color: #fff; font: 700 0.9rem "DM Sans", system-ui, sans-serif; cursor: pointer; }
.lb-sp-fine { margin: 0.4rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px)); font: 500 0.76rem/1.4 "DM Sans", system-ui, sans-serif; color: #6f6a5f; }

/* in the place card's footer (Find on Google Maps · Save · Close): the same size as its neighbours (owner 2026-10-31) */
.pubp-idea-actions .lb-sp-btn {
  min-height: 2.5rem;
  height: auto;
  padding: 0 1rem;
  font-size: 0.86rem;
  align-self: center;
}

/* Every width (owner 2026-10-31 on phones: "ATTRACTI ON" wrapped beside Save; 2026-11-06 on wide: it sat in a different
   spot on each card): Save sits in the card's top-right corner, on the photo when there is one, and the tag keeps its row. */
.nu-ag-card:has(.nu-agc-tags.has-save) { position: relative; }
.nu-agc-body.is-journal .nu-agc-tags.has-save, .nu-agc-tags.has-save { display: block; }
.nu-agc-tags.has-save .lb-sp-btn { position: absolute; top: 8px; right: 8px; z-index: 3; margin: 0; }
/* no photo under it: the tag keeps clear of Save (bug hunt 2026-11-06: Save covered "FOOD | RESTAURANT"); a phone-width card
   has no room for the word beside the tag, so Save is its bookmark alone there (it keeps its label for screen readers) */
.nu-ag-card:not(:has(img)) .nu-agc-tags.has-save > .nu-agc-tagset { box-sizing: border-box; padding-right: 5rem; }
.nu-ag-card:not(:has(img)) .nu-agc-tags.has-save > .nu-agc-tagset > .nu-agc-tag { display: inline-block; }
@media (max-width: 430px) {
  .nu-ag-card:not(:has(img)) .nu-agc-tags.has-save > .nu-agc-tagset { padding-right: 2.6rem; }
  .nu-ag-card:not(:has(img)) .nu-agc-tags.has-save .lb-sp-btn { width: 2rem; height: 2rem; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .nu-ag-card:not(:has(img)) .nu-agc-tags.has-save .lb-sp-btn.is-saved::before { content: "✓"; font-size: 14px; }
}

/* "Guide checked Nov 2026. Places can close or change. Double-check before you go." (owner 2026-11-23) */
.lb-sp-checked {
  display: block;
  margin-top: 6px;
}
