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

/* Branded confirm dialog — shared/lb-confirm.js (web + app). */
.lb-cf-back {
  position: fixed;
  inset: 0;
  /* Above app sheets (.sheet-modal 12000) and the delete sheet (13000) when it isn't a top-layer <dialog>. */
  z-index: 13500;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, var(--safe-bot, env(safe-area-inset-bottom, 0px)));
  background: rgba(19, 37, 30, 0.55);
  animation: lbCfFade 0.16s ease-out;
}
.lb-cf-back.is-closing { opacity: 0; transition: opacity 0.16s ease; }
/* showModal() <dialog>: fill the viewport; the dim is the element itself, not ::backdrop. */
dialog.lb-cf-back {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  color: inherit;
}
dialog.lb-cf-back:not([open]) { display: none; }
dialog.lb-cf-back::backdrop { background: transparent; }
html.lb-cf-open, html.lb-cf-open body { overflow: hidden; }

.lb-cf-card {
  width: min(22rem, 100%);
  padding: 1.35rem 1.25rem 1.1rem;
  border-radius: 1.2rem;
  background: #fffdf8;
  color: #1b2a23;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
  font-family: "DM Sans", "Outfit", system-ui, sans-serif;
  text-align: center;
  animation: lbCfPop 0.2s cubic-bezier(0.2, 0.8, 0.3, 1.15);
}
.lb-cf-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: #f3ead6;
  font-size: 1.4rem;
}
.lb-cf-card h2 {
  margin: 0 0 0.4rem;
  font-family: "Playfair Display", "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #1f3d30;
}
.lb-cf-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #8a5a2b;
}
.lb-cf-body { margin: 0 0 0.35rem; font-size: 0.95rem; line-height: 1.45; color: #44544a; white-space: pre-line; overflow-wrap: anywhere; }
/* Multi-line bodies (a list of stops / names) read better left-aligned. */
.lb-cf-body.is-lines { text-align: left; }
.lb-cf-card { max-height: 100%; overflow: auto; box-sizing: border-box; }
.lb-cf-lines {
  margin: 0.5rem 0 0.35rem;
  padding: 0.6rem 0.8rem 0.6rem 1.6rem;
  border-radius: 0.8rem;
  background: #f6efe1;
  text-align: left;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #44544a;
}
.lb-cf-warn { margin: 0.5rem 0 0.35rem; font-size: 0.86rem; line-height: 1.4; font-weight: 700; color: #b3261e; }
.lb-cf-note { margin: 0 0 0.2rem; font-size: 0.8rem; line-height: 1.4; color: #7a8479; }
.lb-cf-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.55rem;
  margin-top: 1.05rem;
}
.lb-cf-btn {
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.lb-cf-btn.is-quiet { border: 1px solid #d8cfbd; background: transparent; color: #1f3d30; }
.lb-cf-btn.is-primary { border: 0; background: #1f3d30; color: #fbf6ec; }
.lb-cf-btn {
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
}
.lb-cf-btn.is-primary.is-danger { background: #b3261e; color: #fff; }
.lb-cf-btn.is-quiet.is-danger { border-color: #e8a898; color: #b3261e; }
.lb-cf-actions.is-single { grid-template-columns: 1fr; }
/* input(): one text field (was prompt()). */
.lb-cf-field { display: grid; gap: 0.35rem; margin-top: 0.8rem; text-align: left; font-size: 0.85rem; font-weight: 600; color: #44544a; }
.lb-cf-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.8rem;
  padding: 0 0.9rem;
  border: 1px solid #d8cfbd;
  border-radius: 0.8rem;
  background: #fff;
  color: #1b2a23;
  font: inherit;
  font-size: 1rem;
}
.lb-cf-field input:focus-visible { outline: 3px solid #e6c98e; outline-offset: 1px; }
/* choose(): stacked store links + a quiet dismiss */
.lb-cf-actions.is-stack { grid-template-columns: 1fr; }
a.lb-cf-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.lb-cf-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.lb-cf-btn.is-plain { border: 0; background: transparent; color: #5d6b63; font-weight: 600; min-height: 2.4rem; }
.lb-cf-btn:focus-visible { outline: 3px solid #e6c98e; outline-offset: 2px; }
/* choose() options with a second line (owner-approved "+ Day" mock, 2026-10-16): Day 7 · Sun 29 Nov · Tokyo /
   "Yanaka Ginza is 0.4 km away" / Best fit, the free time on the right. A long list scrolls inside the card. */
.lb-cf-actions.is-stack:has(.is-opt) { max-height: min(58vh, 30rem); overflow-y: auto; padding: 2px; }
.lb-cf-btn.is-opt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 1rem;
  text-align: left;
  font-weight: 600;
}
.lb-cf-opt { display: grid; gap: 0.1rem; min-width: 0; }
.lb-cf-opt b { font-size: 0.95rem; overflow-wrap: anywhere; }
.lb-cf-opt small { font-size: 0.78rem; font-weight: 500; color: #5d6b63; }
.lb-cf-opt em { justify-self: start; font-style: normal; font-size: 0.7rem; font-weight: 700; color: #a8781f; }
.lb-cf-btn.is-opt.is-primary .lb-cf-opt small { color: #d9e3dc; }
.lb-cf-btn.is-opt.is-primary .lb-cf-opt em { color: #f1d38c; }
.lb-cf-aside { font-size: 0.76rem; font-weight: 700; white-space: nowrap; }

@keyframes lbCfFade { from { opacity: 0; } }
@keyframes lbCfPop { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
@media (prefers-reduced-motion: reduce) {
  .lb-cf-back, .lb-cf-card { animation: none; }
}

/* Photo gate (shared/photo-gate.js, owner 2026-10-10): "Checking photo…" while a picture uploads, and the notes
   after ("Waiting for a quick review…"). Above dialogs and sheets; out of the way of the bottom bars. */
.lb-photo-busy,
.lb-photo-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + var(--safe-bot, env(safe-area-inset-bottom, 0px)));
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: min(92vw, 26rem);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #1f3d30;
  color: #fff;
  font: 600 0.88rem/1.3 inherit;
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
}
.lb-photo-busy[hidden] {
  display: none;
}
.lb-photo-toast {
  border-radius: 14px;
  animation: lb-photo-in 0.2s ease-out;
}
.lb-photo-toast.is-wait {
  background: #6b4c12;
}
.lb-photo-toast.is-warn {
  background: #8a2f22;
}
.lb-photo-busy-spin {
  width: 1rem;
  height: 1rem;
  flex: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lb-photo-spin 0.8s linear infinite;
}
@keyframes lb-photo-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes lb-photo-in {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lb-photo-busy-spin,
  .lb-photo-toast {
    animation: none;
  }
}
