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

/* Trip detail · the journey (shared/trip-journey.js) — web + app, one look (owner 2026-10-11 mock). */
.lbj {
  --lbj-forest: #1e3a2f;
  --lbj-deep: #13251e;
  --lbj-ink: #263b32;
  --lbj-soft: #66706a;
  --lbj-line: #e2ddd0;
  --lbj-paper: #fffdf8;
  --lbj-cream: #f6f1e6;
  --lbj-brick: #c0643f;
  --lbj-gold: #e6c98e;
  --lbj-gold-soft: #fbf3df;
  --lbj-green: #2f7d57;
  --lbj-serif: "Playfair Display", Georgia, serif;
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
  color: var(--lbj-ink);
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
}
.lbj button { font: inherit; color: inherit; cursor: pointer; }
.lbj-side, .lbj-main { display: grid; gap: 0.85rem; align-content: start; min-width: 0; }
.lbj-hero.is-today .lbj-count small { margin-top: -0.2rem; white-space: nowrap; }
@media (max-width: 959.98px) {
  .lbj .lbj-hero.is-today { display: none; }
}

/* Wide screens (the website; a tablet): the journey takes the room, the trip at a glance rides beside it
   (owner 2026-10-11: one narrow column on desktop left half the page empty). */
@media (min-width: 960px) {
  .lbj { grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem); gap: 1.5rem; max-width: 64rem; align-items: start; }
  .lbj-side { order: 2; position: sticky; top: 1rem; }
  .lbj-main { order: 1; }
  .lbj-side .lbj-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbj-side .lbj-stats > :nth-child(3) { border-left: 0; }
  .lbj-side .lbj-stats > :nth-child(n + 3) { border-top: 1px solid var(--lbj-line); }
  .lbj-side .lbj-stats > * { padding: 0.85rem 0.25rem; }
  .lbj { margin-top: 0.6rem; }
  .lbj-main .lbj-label { margin-top: 0.15rem; }
}

/* ——— top card: countdown before, Welcome home after ——— */
.lbj-hero.is-countdown {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lbj-forest), var(--lbj-deep));
  color: #fdf8ec;
  box-shadow: 0 10px 24px rgba(19, 37, 30, 0.18);
}
.lbj-count {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  line-height: 1;
}
.lbj-count b { font: 400 1.6rem/1 var(--lbj-serif); }
.lbj-count small { margin-top: -0.35rem; font-size: 0.7rem; opacity: 0.8; }
.lbj-hero.is-countdown strong { display: block; font-size: 1rem; font-weight: 700; }
.lbj-hero.is-countdown div > small { display: block; margin-top: 0.15rem; font-size: 0.8rem; opacity: 0.8; }

.lbj-hero.is-welcome {
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid #f0dfb5;
  border-radius: 16px;
  background: radial-gradient(90% 90% at 100% 0%, rgba(230, 201, 142, 0.35), transparent 60%), var(--lbj-gold-soft);
}
.lbj-kicker { color: var(--lbj-brick); font-size: 0.74rem; font-weight: 700; }
.lbj-hero.is-welcome h3 { margin: 0.2rem 0 0.3rem; font: 400 1.45rem/1.15 var(--lbj-serif); color: var(--lbj-ink); }
.lbj-hero.is-welcome p { margin: 0; color: var(--lbj-soft); font-size: 0.86rem; line-height: 1.45; }
.lbj-hero-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }

.lbj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--lbj-line);
  border-radius: 999px;
  background: var(--lbj-paper);
  font-size: 0.86rem !important;
  font-weight: 700 !important;
}
.lbj-btn.is-solid { border-color: var(--lbj-forest); background: var(--lbj-forest); color: #fdf8ec !important; }
.lbj-btn.is-gold { border-color: #e6c98e; background: linear-gradient(135deg, #fbf0d3, #f4dea1); color: #4a3208 !important; }
.lbj-btn:active, .lbj-flight:active, .lbj-stats button:active, .lbj-dest footer button:active { transform: scale(0.98); }
.lbj-link { padding: 0.35rem 0.2rem; border: 0; background: none; color: var(--lbj-soft) !important; font-size: 0.82rem !important; text-decoration: underline; text-underline-offset: 2px; }

/* ——— the trip in four numbers ——— */
.lbj-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--lbj-line);
  border-radius: 14px;
  background: var(--lbj-paper);
}
.lbj-stats > * {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.7rem 0.25rem;
  border: 0;
  background: none;
  text-align: center;
}
.lbj-stats > * + * { border-left: 1px solid var(--lbj-line); }
.lbj-stats b { font: 400 1.35rem/1.1 var(--lbj-serif); color: var(--lbj-ink); }
.lbj-stats small { color: var(--lbj-soft); font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lbj-zone { margin: -0.3rem 0 0; color: var(--lbj-soft); font-size: 0.8rem; }

.lbj-label {
  margin: 0.35rem 0 -0.15rem;
  color: var(--lbj-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ——— the steps on a dashed line ——— */
.lbj-steps { position: relative; display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.lbj-steps::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  border-left: 2px dashed #d9cfbb;
}
.lbj-step { position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.lbj-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid #cfc6b3;
  border-radius: 50%;
  background: var(--lbj-paper);
  color: var(--lbj-soft);
}
.lbj-node svg { width: 1rem; height: 1rem; }
.lbj-step.is-done .lbj-node { border-color: var(--lbj-forest); background: var(--lbj-forest); color: #fdf8ec; }
.lbj-step.is-flight .lbj-node { border-color: var(--lbj-forest); background: var(--lbj-forest); color: #fdf8ec; }
.lbj-node.is-missing { border-style: dashed; border-color: var(--lbj-brick); color: var(--lbj-brick); }
.lbj-node.is-small { width: 1.6rem; height: 1.6rem; margin-left: 0.2rem; }
.lbj-step.is-dest .lbj-node { border-color: var(--lbj-brick); color: var(--lbj-brick); }
.lbj-step.is-dest.is-here .lbj-node { border-color: var(--lbj-brick); background: var(--lbj-brick); color: #fff; box-shadow: 0 0 0 5px rgba(192, 100, 63, 0.16); }
.lbj-step.is-dest.is-done .lbj-node { border-color: var(--lbj-green); background: var(--lbj-green); color: #fff; }
.lbj-body { min-width: 0; }

.lbj-step.is-home .lbj-body { padding-top: 0.1rem; }
.lbj-step.is-home small { display: block; color: var(--lbj-soft); font-size: 0.78rem; }
.lbj-place { display: block; margin: 0.05rem 0 0; font: 400 1.25rem/1.2 var(--lbj-serif); color: var(--lbj-ink); }

/* a flight */
.lbj-flight {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--lbj-line);
  border-radius: 14px;
  background: var(--lbj-paper);
  text-align: left;
}
.lbj-air {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 10px;
  background: #fbefcd;
  color: #7a5c1c;
  font-size: 0.8rem;
  font-weight: 800;
}
.lbj-flight-main { display: grid; flex: 1 1 auto; min-width: 0; }
.lbj-flight-main b { font-size: 0.95rem; }
.lbj-flight-main small { overflow: hidden; color: var(--lbj-soft); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.lbj-chev { flex: none; color: #b4ab98; }
.lbj-chev svg { width: 1rem; height: 1rem; }

/* land / sea */
.lbj-leg { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0.25rem 0 0; padding: 0.2rem 0; border: 0; background: none; color: var(--lbj-soft); font-size: 0.86rem; }
.lbj-leg.is-pickable { text-decoration: underline dotted; text-underline-offset: 3px; }

/* a missing flight: a soft nudge, not an alarm */
.lbj-nudge { padding: 0.75rem 0.9rem 0.8rem; border: 1px solid #f0dfb5; border-radius: 14px; background: var(--lbj-gold-soft); }
.lbj-nudge strong { display: block; color: #8a4b20; font-size: 0.92rem; }
.lbj-nudge small { display: block; margin-top: 0.1rem; color: var(--lbj-soft); font-size: 0.8rem; }
.lbj-nudge-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.6rem; }
.lbj-step.is-nudge.is-done .lbj-nudge { background: var(--lbj-cream); border-color: var(--lbj-line); }
.lbj-step.is-nudge.is-done .lbj-nudge strong { color: var(--lbj-soft); }

/* chips */
.lbj-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: none;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.lbj-chip svg { width: 0.8rem; height: 0.8rem; }
.lbj-chip.is-next { background: #fbefcd; color: #7a5c1c; }
.lbj-chip.is-now { background: #fde4d8; color: #a2471f; }
.lbj-chip.is-here { background: #e3f1e8; color: #1f6a44; }
.lbj-chip.is-here i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #2f9d63; animation: lbj-pulse 1.8s ease-out infinite; }
.lbj-chip.is-done { background: #e8efe9; color: #2f6a4c; }
@keyframes lbj-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 157, 99, 0.5); }
  100% { box-shadow: 0 0 0 7px rgba(47, 157, 99, 0); }
}
@media (prefers-reduced-motion: reduce) { .lbj-chip.is-here i { animation: none; } }

/* a destination */
.lbj-dest { overflow: hidden; border: 1px solid var(--lbj-line); border-radius: 16px; background: var(--lbj-paper); }
.lbj-step.is-here .lbj-dest { border-color: #e9b9a3; box-shadow: 0 8px 22px rgba(192, 100, 63, 0.12); }
.lbj-dest header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.85rem 1rem 0; }
.lbj-role { color: var(--lbj-brick); font-size: 0.78rem; font-weight: 700; }
.lbj-dest .lbj-place { padding: 0.2rem 1rem 0; font-size: 1.45rem; }
.lbj-dates { margin: 0.2rem 0 0; padding: 0 1rem; color: var(--lbj-soft); font-size: 0.84rem; }
.lbj-progress { margin: 0.7rem 1rem 0; }
.lbj-progress p { display: flex; justify-content: space-between; margin: 0 0 0.35rem; color: var(--lbj-soft); font-size: 0.78rem; }
.lbj-bar { display: block; height: 6px; border-radius: 999px; background: #efe7d6; overflow: hidden; }
.lbj-bar i { display: block; height: 100%; border-radius: inherit; background: var(--lbj-brick); }
.lbj-stays { display: grid; gap: 0.3rem; margin: 0.75rem 0 0; padding: 0.7rem 1rem; border-top: 1px solid var(--lbj-line); list-style: none; cursor: pointer; }
.lbj-stays li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; }
.lbj-stays li i { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lbj-green); }
.lbj-stays li:nth-child(2n) i { background: var(--lbj-brick); }
.lbj-stays li span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbj-stays li small { flex: none; color: var(--lbj-soft); font-size: 0.78rem; }
.lbj-stays.is-empty { display: block; width: 100%; border: 0; border-top: 1px solid var(--lbj-line); background: none; color: var(--lbj-soft); font-size: 0.86rem; font-style: italic; text-align: left; }
.lbj-dest footer { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--lbj-line); }
.lbj-dest footer button { padding: 0.75rem 0.5rem; border: 0; background: none; font-size: 0.86rem; font-weight: 700; }
.lbj-dest footer button + button { border-left: 1px solid var(--lbj-line); }

.lbj-add {
  width: 100%;
  min-height: 2.9rem;
  border: 1.5px dashed #d9cfbb;
  border-radius: 14px;
  background: transparent;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
}

/* After the trip: the line and done stops go quiet */
.lbj-phase-after .lbj-step.is-home.is-done .lbj-node { border-color: var(--lbj-green); background: var(--lbj-green); }

/* The countdown card says it; the header pill doesn't repeat it on Trip detail (owner 2026-10-11) — app + web */
.stack.is-workbook:has(.lbj-hero.is-countdown:not(.is-today)) .mw-countdown-chip,
body:has(#panel-detail:not([hidden]) .lbj-hero.is-countdown:not(.is-today)) .mast-countdown-chip { display: none; }

/* ——— Travellers (same module): flight rows with a status, the crew card, No flight home yet ——— */
:is(.lbj-crew, .traveller-flights) {
  --lbj-ink: #263b32;
  --lbj-soft: #66706a;
  --lbj-line: #e2ddd0;
  --lbj-paper: #fffdf8;
  --lbj-forest: #1e3a2f;
}
.traveller-flights:has(.lbj-fl) { display: grid; gap: 0.45rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.lbj-fl {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: #f6f1e6;
  color: var(--lbj-ink);
}
.lbj-fl > div { flex: 1 1 auto; min-width: 0; }
.lbj-fl b { font-size: 0.92rem; }
.lbj-fl > div > span { margin-left: 0.35rem; color: var(--lbj-soft); font-size: 0.76rem; font-weight: 700; }
.lbj-fl small { display: block; overflow: hidden; color: var(--lbj-soft); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.lbj-fl.is-missing { justify-content: space-between; border: 1px dashed #e9b9a3; background: #fdf3ee; color: #8a4b20; font-size: 0.84rem; }

.lbj-crew {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--lbj-line);
  border-radius: 14px;
  background: var(--lbj-paper);
  color: var(--lbj-ink);
}
.lbj-crew-kicker { margin: 0 0 0.45rem; color: var(--lbj-soft); font-size: 0.78rem; font-weight: 700; }
.lbj-crew ul { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.lbj-crew li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; }
.lbj-crew li span:not(.lbj-face) { flex: 1 1 auto; min-width: 0; }
.lbj-crew li b { flex: none; font-weight: 700; }
.lbj-crew li b.is-none { color: var(--lbj-soft); font-weight: 500; font-style: italic; }
.lbj-face {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid var(--lbj-paper);
  border-radius: 50%;
  background: var(--lbj-forest);
  color: #fdf8ec;
  font-size: 0.72rem;
  font-weight: 800;
}
.lbj-faces { display: inline-flex; flex: none; }
.lbj-faces .lbj-face + .lbj-face { margin-left: -0.45rem; }
.lbj-crew.is-during { display: flex; align-items: center; gap: 0.75rem; border-color: #cfe5d6; background: #eef7f1; }
.lbj-crew.is-during strong, .lbj-crew.is-after strong { display: block; font-size: 1rem; }
.lbj-crew.is-during small, .lbj-crew.is-after small { display: block; color: var(--lbj-soft); font-size: 0.8rem; }
.lbj-crew.is-after { border-color: #f0dfb5; background: radial-gradient(90% 90% at 100% 0%, rgba(230, 201, 142, 0.3), transparent 60%), #fbf3df; }
.lbj-crew.is-after strong { font: 400 1.3rem/1.2 "Playfair Display", Georgia, serif; }
.lbj-crew-row { display: flex; align-items: center; gap: 0.75rem; }
.lbj-crew .lbj-btn { width: 100%; margin-top: 0.8rem; }
.lbj-crew .lbj-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.6rem; padding: 0 1rem;
  border: 1px solid var(--lbj-forest); border-radius: 999px; background: var(--lbj-forest); color: #fdf8ec;
  font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
}

/* Invite your crew, on the trip: one small line (web + app; the big card stays for before) */
.ss-invite-row.is-compact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.ss-invite-row.is-compact .ss-invite-btn {
  flex: none;
  width: auto;
  min-height: 2.3rem;
  padding: 0 0.95rem;
  border: 1px solid #1e3a2f;
  border-radius: 999px;
  background: #fffdf8;
  color: #1e3a2f;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.ss-invite-row.is-compact p { margin: 0; color: #66706a; font-size: 0.8rem; }

/* "Remind Sheshe" on "No flight home yet" (owner 2026-10-11) */
.lbj-fl.is-missing { gap: 0.6rem; }
.lbj-remind {
  flex: none;
  min-height: 2rem;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 999px;
  background: #c0643f;
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.lbj-remind.is-sent { background: #efe7d6; color: #7a6a52; cursor: default; }

/* Crew HQ's "for you" note (a crewmate asked you to add your flight home) — web + app */
.hq-foryou {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid #f0c9b6;
  border-radius: 14px;
  background: #fdf1ea;
  color: #263b32;
}
.hq-foryou-ico { flex: none; font-size: 1.3rem; }
.hq-foryou p { flex: 1 1 auto; min-width: 0; margin: 0; }
.hq-foryou strong { display: block; font-size: 0.92rem; }
.hq-foryou small { display: block; color: #66706a; font-size: 0.78rem; }
.hq-foryou-go {
  flex: none;
  min-height: 2.3rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #c0643f;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}
