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

/* "Rate this itinerary" card (shared/itinerary-ratings.js). Web + app. */
.lb-ir-host { margin: 0 0 1rem; }
.lb-ir-host[hidden] { display: none !important; }

.lb-ir {
  --lb-ir-ink: #1f3d30;
  --lb-ir-muted: #6f7a70;
  --lb-ir-line: #ece4d3;
  --lb-ir-gold: #d9a53a;
  --lb-ir-accent: #8a5a14;
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem 1rem 1rem;
  border: 1px solid var(--lb-ir-line);
  border-radius: 16px;
  background: #fffcf6;
  color: var(--lb-ir-ink);
  box-shadow: 0 1px 2px rgba(26, 20, 16, 0.04);
  min-width: 0;
}
.lb-ir-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem 1rem;
}
.lb-ir-kick {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a7a3a;
}
.lb-ir h3 {
  margin: 0.1rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
}
.lb-ir-score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.5rem; }
.lb-ir-score b {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}
.lb-ir-score small, .lb-ir-item-head small { font-size: 0.78rem; color: var(--lb-ir-muted); }
.lb-ir-stars-ro { color: var(--lb-ir-gold); font-size: 0.95rem; letter-spacing: 0.06em; white-space: nowrap; }
.lb-ir-stars-ro i { font-style: normal; color: #e3dccb; }
.lb-ir-stars-ro.is-big { font-size: 1.15rem; }

.lb-ir-action { display: grid; gap: 0.6rem; padding-top: 0.1rem; }
.lb-ir-form { display: grid; gap: 0.5rem; min-width: 0; }
.lb-ir-label { margin: 0; font-size: 0.8rem; font-weight: 700; color: var(--lb-ir-ink); }
.lb-ir-label span { font-weight: 400; color: var(--lb-ir-muted); }
.lb-ir-fine { margin: 0; font-size: 0.85rem; color: var(--lb-ir-muted); }

.lb-ir-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem; }
.lb-ir-star {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d8d0bd;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.12s ease, transform 0.12s ease;
}
.lb-ir-star.is-lit { color: var(--lb-ir-gold); }
.lb-ir-star:hover { transform: scale(1.08); }
.lb-ir-star:focus-visible { outline: 2px solid var(--lb-ir-accent); outline-offset: 1px; }
@media (hover: hover) {
  .lb-ir-picker:hover .lb-ir-star { color: var(--lb-ir-gold); }
  .lb-ir-picker .lb-ir-star:hover ~ .lb-ir-star { color: #d8d0bd; }
}
.lb-ir-word { margin-left: 0.4rem; font-size: 0.85rem; color: var(--lb-ir-muted); }

.lb-ir-note {
  width: 100%;
  box-sizing: border-box;
  min-height: 5.2rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2dac8;
  border-radius: 10px;
  background: #fff;
  color: var(--lb-ir-ink);
  font: inherit;
  font-size: 16px; /* no zoom-on-focus on iOS */
  line-height: 1.45;
  resize: vertical;
}
.lb-ir-note:focus { outline: 2px solid rgba(138, 90, 20, 0.35); outline-offset: 0; border-color: var(--lb-ir-accent); }
.lb-ir-form-foot { display: flex; justify-content: flex-end; margin-top: -0.25rem; }
.lb-ir-count { font-size: 0.75rem; color: var(--lb-ir-muted); font-variant-numeric: tabular-nums; }
.lb-ir-count.is-near { color: #a3321c; }
.lb-ir-msg { margin: 0; font-size: 0.85rem; color: #2f6b4a; }
.lb-ir-msg.is-bad { color: #a3321c; }
.lb-ir-msg[hidden] { display: none; }

.lb-ir-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lb-ir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.05rem;
  border: 1px solid #dcd3bf;
  border-radius: 999px;
  background: #fff;
  color: var(--lb-ir-ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.lb-ir-btn:hover { border-color: #c9bd9f; }
.lb-ir-btn.is-primary { border-color: var(--lb-ir-ink); background: var(--lb-ir-ink); color: #fffcf6; }
.lb-ir-btn.is-primary:hover { background: #173026; }
.lb-ir-btn.is-danger { color: #a3321c; }
.lb-ir-btn:disabled { opacity: 0.55; cursor: default; }
.lb-ir-btn:focus-visible { outline: 2px solid var(--lb-ir-accent); outline-offset: 2px; }
.lb-ir-signin { justify-self: start; }
.lb-ir-more { justify-self: center; }


.lb-ir-list { display: grid; gap: 0.85rem; margin: 0; padding: 0.85rem 0 0; border-top: 1px solid #efe8da; list-style: none; }
.lb-ir-item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; align-items: start; }
.lb-ir-item.has-report .lb-ir-item-head { padding-right: 1.6rem; }
.lb-ir-av {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8e1d0;
  color: #6f6754;
  font-weight: 700;
  font-size: 0.9rem;
}
.lb-ir-av img { width: 100%; height: 100%; object-fit: cover; }
.lb-ir-av.is-letter { background: #1f3d30; color: #fffcf6; }
.lb-ir-item-copy { min-width: 0; }
.lb-ir-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.5rem; }
.lb-ir-item-head b { font-size: 0.92rem; overflow-wrap: anywhere; }
.lb-ir-item-stars .lb-ir-stars-ro { font-size: 0.85rem; }
.lb-ir-item p { margin: 0.2rem 0 0; font-size: 0.92rem; line-height: 1.45; overflow-wrap: anywhere; }
.lb-ir-report {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  position: absolute;
  top: -0.7rem;
  right: -0.7rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a39c8b;
  font-size: 0.9rem;
  cursor: pointer;
}
.lb-ir-report:hover, .lb-ir-report:focus-visible { color: #a3321c; }


@media (max-width: 30rem) {
  .lb-ir { padding: 0.85rem 0.85rem 0.9rem; }
  .lb-ir-star { width: 44px; font-size: 1.6rem; }
  .lb-ir-word { flex-basis: 100%; margin: 0.1rem 0 0; }
  .lb-ir-actions .lb-ir-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-ir-star { transition: none; }
  .lb-ir-star:hover { transform: none; }
}

/* Reviewer labels: crew (from the Recap) · copied it · public */
.lb-ir-kind {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.12rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
}
.lb-ir-kind i { font-style: normal; font-size: 0.72rem; }
.lb-ir-kind.is-crew {
  border-color: rgba(31, 61, 48, 0.35);
  border-style: dashed;
  background: #eef4ee;
  color: #1f3d30;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
}
.lb-ir-kind.is-copied { border-color: #e7d3ad; background: #fbf2e1; color: #8a5a14; }
.lb-ir-kind.is-public { border-color: #e2ded4; background: #f5f3ee; color: #5f665f; }
.lb-ir-split { flex-basis: 100%; text-align: right; }
.lb-ir-form-foot { justify-content: space-between; gap: 0.75rem; align-items: flex-start; }
.lb-ir-hint { font-size: 0.78rem; color: #a3321c; line-height: 1.35; }
.lb-ir-hint[hidden] { display: none; }
.lb-ir-count { margin-left: auto; }
.lb-ir-note[aria-invalid="true"] { border-color: #d9a08f; }
@media (max-width: 30rem) {
  .lb-ir-split { text-align: left; }
}

/* ——— Compact card: score, one best review, "See all", a one-line way to rate ——— */
.lb-ir.is-compact { gap: 0.6rem; padding: 0.8rem 0.9rem 0.85rem; }
.lb-ir.is-compact h3 { font-size: 1.05rem; }
.lb-ir.is-compact .lb-ir-score b { font-size: 1.35rem; }
.lb-ir-list.is-best { padding-top: 0.65rem; }

/* Long comments fold (same fold as the recap's itinerary notes): start + See more / See less. */
.lb-ir-text { margin: 0.2rem 0 0; font-size: 0.9rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.lb-ir-fold > summary { display: block; list-style: none; cursor: pointer; }
.lb-ir-fold > summary::-webkit-details-marker { display: none; }
.lb-ir-fold > summary .lb-ir-text { display: inline; }
.lb-ir-fold[open] > summary { display: none; }
.lb-ir-toggle {
  display: inline;
  margin: 0;
  padding: 0.35rem 0.1rem;
  border: 0;
  background: none;
  color: #2d5a45;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.lb-ir-toggle:hover { text-decoration: underline; }
.lb-ir-toggle:focus-visible, .lb-ir-fold > summary:focus-visible { outline: 2px solid var(--lb-ir-accent, #8a5a14); outline-offset: 2px; border-radius: 4px; }

.lb-ir-all {
  justify-self: start;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid #dcd3bf;
  border-radius: 999px;
  background: #fff;
  color: #1f3d30;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.lb-ir-all:hover { border-color: #c9bd9f; }
.lb-ir-all:focus-visible { outline: 2px solid #8a5a14; outline-offset: 2px; }

.lb-ir-action { padding-top: 0.55rem; border-top: 1px solid #efe8da; }
.lb-ir-rate {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px dashed #d8cdb4;
  border-radius: 12px;
  background: #fffaf0;
  color: #1f3d30;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.lb-ir-rate:hover { border-color: #c9a55a; background: #fff6e2; }
.lb-ir-rate:focus-visible { outline: 2px solid #8a5a14; outline-offset: 2px; }
.lb-ir-rate-stars { color: #e0d6c0; letter-spacing: 0.05em; }
.lb-ir-rate:hover .lb-ir-rate-stars { color: #d9a53a; }
.lb-ir-rate-go { margin-left: auto; color: #8a8171; font-size: 1.2rem; }

.lb-ir-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.45rem; min-height: 44px; }
.lb-ir-mine-label { font-size: 0.85rem; font-weight: 700; color: #1f3d30; }
.lb-ir-mine.is-removed .lb-ir-mine-label { font-weight: 500; color: #a3321c; }
.lb-ir-mine-note { flex-basis: 100%; font-size: 0.88rem; color: #5c5a52; overflow-wrap: anywhere; }
.lb-ir-mine.is-in-modal { padding: 0.55rem 0.75rem; border-radius: 12px; background: #f6f0e2; margin-bottom: 0.6rem; }
.lb-ir-dot { color: #b3ab99; }
.lb-ir-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: #2d5a45;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.lb-ir-link.is-danger { color: #a3321c; }
.lb-ir-link:disabled { opacity: 0.55; cursor: default; }
.lb-ir-link:focus-visible { outline: 2px solid #8a5a14; outline-offset: 2px; border-radius: 4px; }
.lb-ir-note-muted { margin: 0; font-size: 0.76rem; color: #8a8f86; }

/* Inside the reviews window (web dialog / app sheet): no card chrome. */
.lb-ir.lb-ir-modal { display: block; padding: 0; border: 0; background: none; box-shadow: none; }
.lb-ir-modal-score { margin-bottom: 0.6rem; }
.lb-ir-modal .lb-ir-list { padding-top: 0.75rem; }
.lb-ir-modal .lb-ir-more { display: flex; margin: 0.9rem auto 0.2rem; }

/* Spacing rhythm for the compact card: one 12px step between blocks, the score
   aligned with the title block, and the 44px touch rows only on touch screens
   (with a mouse they made "Your rating · Edit" and the saved note float apart). */
.lb-ir.is-compact { gap: 0.75rem; padding: 1rem 1.1rem 0.95rem; }
.lb-ir.is-compact .lb-ir-head { align-items: flex-start; }
.lb-ir.is-compact .lb-ir-list.is-best { padding-top: 0.75rem; }
.lb-ir.is-compact .lb-ir-action { gap: 0.2rem; padding-top: 0.7rem; }
.lb-ir.is-compact .lb-ir-msg { font-size: 0.8rem; }
@media (hover: hover) and (pointer: fine) {
  .lb-ir-mine,
  .lb-ir-link { min-height: 0; }
  .lb-ir-link { padding: 0.15rem 0.25rem; }
  .lb-ir-all,
  .lb-ir-rate { min-height: 38px; }
}
/* "1 from the crew · 1 public" follows the count (wraps left under it when narrow),
   instead of a right-aligned line that looked detached under a left-aligned score. */
.lb-ir.is-compact .lb-ir-split { flex-basis: auto; text-align: left; }
.lb-ir.is-compact .lb-ir-split { margin-left: 0.35rem; }
/* "♥ Crew: 5.0 · the people who went" — the crew's own score, apart from the travellers' one. */
.lb-ir-crew-chip { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 999px; background: #f6efe6; color: #7a4b1e; font-weight: 600; white-space: normal; }
/* The reviews/ratings cards close the itinerary (after the days, before "Like this trip"). */
.itin-reviews-end { margin-top: 1.25rem; }
.itin-reviews-end:empty { display: none; }
.mw-panel > .lb-ir-host { margin-top: 1.25rem; }
/* A reviewer's name / face → their profile (profileLinkHtml; public profiles only). Same rules as recap.css. */
.lb-plink {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
}
.lb-plink:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.lb-plink:focus-visible { outline: 2px solid #2d5a45; outline-offset: 2px; }
.lb-plink--face { display: inline-flex; flex: none; align-self: flex-start; border-radius: 999px; }
.lb-plink--face:hover { text-decoration: none; filter: brightness(1.06); }
