/* UI-04. Geometry/colors adapted from cf7649c; no console/output selectors. */
.ls-root .ls-jour-root {
  min-width: 0;
}
.ls-root .ls-jour-root :is(button, select) {
  font: inherit;
  color: inherit;
  border: 1px solid #dce3d2;
  border-radius: 9px;
  background: white;
  padding: 10px 13px;
  box-shadow: none;
}
.ls-root .ls-jour-root button {
  cursor: pointer;
}
.ls-root .ls-jour-root button:disabled {
  opacity: 0.48;
  cursor: default;
}
.ls-root .ls-jour-root :is(button, select):focus-visible {
  outline: 3px solid #799d46;
  outline-offset: 3px;
}
.ls-root .ls-jour-root :is(h1, h2, h3, h4, p, strong, small, option) {
  overflow-wrap: anywhere;
}
.ls-root .ls-jour-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 28px 0;
}
.ls-root .ls-jour-heading h1 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 660px;
  margin: 10px 0;
}
.ls-root .ls-jour-heading p:last-child {
  font-size: 12px;
  color: #667657;
}
.ls-root .ls-jour-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.ls-root .ls-jour-selector label {
  font-size: 12px;
  font-weight: 650;
}
.ls-root .ls-jour-selector select {
  min-width: 0;
  max-width: 100%;
  width: 360px;
}
.ls-root .ls-jour-selector span {
  font-size: 11px;
  color: #667657;
}
.ls-root .ls-jour-event-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0;
}
.ls-root .ls-jour-event-title h2 {
  font-size: 22px;
  margin: 0;
}
.ls-root .ls-jour-event-title span {
  font-size: 11px;
  color: #667657;
}
.ls-root .ls-jour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.ls-root :is(.ls-jour-config, .ls-jour-activity-editor) {
  padding: 26px;
  background: white;
  border: 1px solid #dce3d2;
  border-radius: 15px;
  min-width: 0;
}
.ls-root .ls-jour-config h3 {
  font-size: 13px;
  margin: 27px 0 17px;
}
.ls-root .ls-jour-config h3:first-child {
  margin-top: 0;
}
.ls-root .ls-jour-config h4 {
  font-size: 11px;
  margin: 16px 0 0;
}
.ls-root .ls-jour-config > p {
  font-size: 12px;
  white-space: pre-wrap;
}
.ls-root .ls-jour-fixed-step {
  border: 1px dashed #cfdbc2;
  background: #f6f9f0;
  border-radius: 11px;
  padding: 14px;
  display: flex;
  gap: 13px;
  margin: 12px 0;
}
.ls-root .ls-jour-fixed-step > span {
  font-size: 21px;
  color: #69854d;
}
.ls-root .ls-jour-fixed-step strong {
  font-size: 12px;
  display: block;
}
.ls-root .ls-jour-fixed-step small {
  font-size: 10px;
  color: #667657;
  display: block;
}
.ls-root .ls-jour-sequence-row {
  border: 1px solid #e0e6d7;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 9px 0;
}
.ls-root .ls-jour-sequence-row.ls-jour-selected {
  border-color: #749255;
  background: #f7faef;
}
.ls-root .ls-jour-root .ls-jour-sequence-name {
  border: 0;
  background: transparent;
  text-align: left;
  flex: 1;
  padding: 6px;
  min-width: 0;
}
.ls-root .ls-jour-sequence-name span {
  font-size: 10px;
  color: #667657;
  display: block;
}
.ls-root .ls-jour-sequence-name strong {
  font-size: 13px;
  display: block;
}
.ls-root .ls-jour-sequence-name small {
  font-size: 10px;
  color: #667657;
}
.ls-root .ls-jour-sequence-actions {
  display: flex;
  gap: 4px;
}
.ls-root .ls-jour-sequence-actions button {
  padding: 6px 9px;
  font-size: 13px;
}
.ls-root .ls-jour-add-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.ls-root .ls-jour-add-row button {
  font-size: 11px;
}
.ls-root .ls-jour-activity-editor h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 12px 0;
}
.ls-root .ls-jour-activity-editor h3 {
  font-size: 12px;
  margin-top: 22px;
}
.ls-root .ls-jour-metadata {
  font-size: 11px;
  color: #667657;
}
.ls-root .ls-jour-options {
  padding-left: 24px;
  font-size: 13px;
}
.ls-root .ls-jour-options li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e6d7;
}
.ls-root .ls-jour-options small {
  display: block;
  color: #58723a;
}
.ls-root .ls-jour-root .ls-jour-primary {
  display: block;
  width: 100%;
  margin: 24px 0 10px;
  background: #263322;
  color: #e3f5c9;
  border-color: #263322;
}
.ls-root .ls-jour-fine {
  font-size: 10px !important;
  line-height: 1.6;
  color: #6f665d;
}
.ls-root .ls-jour-empty {
  padding: 22px;
  background: white;
  border-radius: 12px;
  font-size: 12px;
}
.ls-root .ls-jour-root > .ls-simulated {
  margin-top: 42px;
  background: #f6f0e5;
  border-color: #c8ac8f;
}
.ls-root .ls-jour-passport-demo {
  color: #35251e;
  padding: 12px;
}
.ls-root .ls-jour-eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.4px;
}
.ls-root .ls-jour-passport-intro {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: end;
}
.ls-root .ls-jour-passport-intro h2 {
  font-size: clamp(32px, 4.5vw, 66px);
  line-height: 1.04;
  letter-spacing: -2.4px;
  margin: 17px 0 20px;
}
.ls-root .ls-jour-passport-intro h2 span {
  color: #bb4e28;
}
.ls-root .ls-jour-passport-intro > p {
  max-width: 330px;
  color: #7e6859;
  margin-bottom: 25px;
}
.ls-root .ls-jour-passport-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid #ded9d0;
  padding: 18px 22px;
  border-radius: 14px;
  margin: 24px 0;
}
.ls-root .ls-jour-passport-nav > div {
  margin-right: auto;
}
.ls-root .ls-jour-passport-nav p {
  margin: 4px 0 0;
  color: #82766c;
  font-size: 12px;
}
.ls-root .ls-jour-passport-nav button {
  font-size: 12px;
}
.ls-root .ls-jour-passport-layout {
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: start;
}
.ls-root .ls-jour-explorer {
  width: 380px;
  max-width: 100%;
  min-width: 0;
}
.ls-root .ls-jour-caption {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
  margin: 0 0 15px;
  gap: 10px;
}
.ls-root .ls-jour-caption span {
  color: #7e6859;
  font-weight: 400;
  letter-spacing: 0;
}
.ls-root .ls-jour-phone {
  border: 6px solid #3c2b22;
  border-radius: 37px;
  background: #fffaf0;
  min-height: 650px;
  padding: 14px 19px 24px;
  box-shadow: 0 16px 30px #25123212;
  max-width: 360px;
  margin: auto;
}
.ls-root .ls-jour-notch {
  height: 17px;
  width: 78px;
  border-radius: 15px;
  background: #272335;
  margin: 0 auto 25px;
}
.ls-root .ls-jour-mobile-brand {
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -1px;
}
.ls-root .ls-jour-mobile-brand span {
  color: #bb4e28;
}
.ls-root .ls-jour-mobile-brand small {
  font-size: 9px;
  letter-spacing: 1.1px;
  font-weight: 500;
  display: block;
  margin-top: 10px;
}
.ls-root .ls-jour-mobile h3 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.7px;
}
.ls-root .ls-jour-mobile p {
  font-size: 12px;
  color: #7e6859;
}
.ls-root .ls-jour-passport {
  margin: 25px 0 18px;
  background: #f1e5d2;
  border-radius: 12px;
  padding: 14px;
}
.ls-root .ls-jour-passport strong {
  font-size: 23px;
}
.ls-root .ls-jour-passport p {
  margin: 0;
  color: #886d59;
}
.ls-root .ls-jour-progress {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}
.ls-root .ls-jour-progress span {
  height: 5px;
  flex: 1;
  background: #dbcab4;
  border-radius: 5px;
}
.ls-root .ls-jour-progress .ls-jour-done {
  background: #bb4e28;
}
.ls-root .ls-jour-root .ls-jour-station {
  width: 100%;
  text-align: left;
  margin: 6px 0;
  padding: 14px 12px;
  background: #fffdf7;
  border-color: #e4d7c3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ls-root .ls-jour-num {
  width: 31px;
  height: 31px;
  background: #f1e5d2;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #bb4e28;
  font-weight: 800;
  flex-shrink: 0;
}
.ls-root .ls-jour-station strong {
  display: block;
  font-size: 13px;
}
.ls-root .ls-jour-station small {
  font-size: 10px;
  color: #7e6859;
}
.ls-root .ls-jour-root .ls-jour-complete {
  border-color: #b8c49a;
  background: #f0f3e5;
}
.ls-root .ls-jour-complete .ls-jour-num {
  background: #617949;
  color: white;
}
.ls-root .ls-jour-root .ls-jour-back {
  border: 0;
  background: none;
  color: #a74723;
  padding: 0;
  font-size: 11px;
  margin: 23px 0 6px;
}
.ls-root .ls-jour-root .ls-jour-option {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 12px;
  padding: 12px;
  margin: 7px 0;
  background: #fffdf7;
  border-color: #e1d3bd;
}
.ls-root .ls-jour-root .ls-jour-option[aria-pressed="true"] {
  background: #f2dfc6;
  border-color: #bb4e28;
}
.ls-root .ls-jour-root .ls-jour-passport-primary {
  background: #bb4e28;
  color: white;
  border: 0;
  width: 100%;
  margin-top: 16px;
  font-size: 12px;
}
.ls-root .ls-jour-stamp {
  height: 104px;
  width: 104px;
  border: 2px dashed #b45832;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #a7502c;
  transform: rotate(-9deg);
  margin: 25px auto;
}
.ls-root .ls-jour-certificate {
  background: #f1e5d2;
  border: 1px solid #dcc8aa;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  margin-top: 22px;
}
.ls-root .ls-jour-collective {
  flex: 1;
  min-width: 0;
}
.ls-root .ls-jour-collective[hidden] {
  display: none;
}
.ls-root .ls-jour-full .ls-jour-explorer {
  width: 280px;
  flex-shrink: 0;
}
.ls-root .ls-jour-map-stage {
  background: #35271f
    radial-gradient(ellipse at 100% 0, #b16b3c80, transparent 70%);
  color: white;
  border-radius: 16px;
  padding: 28px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ls-root .ls-jour-stage-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 1px;
}
.ls-root .ls-jour-stage-top span {
  color: #fbd89b;
}
.ls-root .ls-jour-map-stage h3 {
  font-size: clamp(25px, 2.5vw, 37px);
  line-height: 1.12;
  margin: 20px 0;
  letter-spacing: -0.7px;
}
.ls-root .ls-jour-map-stage p {
  color: #d7bba0;
  font-size: 11px;
}
.ls-root .ls-jour-map {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 28px 0;
}
.ls-root .ls-jour-map-node {
  flex: 1;
  min-width: 0;
  text-align: center;
  background: #ffffff0c;
  border: 1px solid #ffffff30;
  border-radius: 12px;
  padding: 15px 8px;
}
.ls-root .ls-jour-map-node > span {
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid #d5ac81;
  border-radius: 50%;
  margin: 0 auto 12px;
  line-height: 26px;
  color: #fbd89b;
  font-size: 12px;
}
.ls-root .ls-jour-map-node strong {
  display: block;
  font-size: clamp(10px, 1vw, 15px);
}
.ls-root .ls-jour-map-node small {
  display: block;
  font-size: 10px;
  color: #d7bba0;
  margin-top: 6px;
}
.ls-root .ls-jour-stage-bottom {
  border-top: 1px solid #ffffff22;
  padding-top: 13px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ls-root .ls-jour-sample-stats {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 10px;
}
.ls-root .ls-jour-sample-stats strong {
  font-size: 25px;
}
@media (max-width: 850px) {
  .ls-root .ls-jour-grid {
    grid-template-columns: 1fr;
  }
  .ls-root .ls-jour-passport-intro {
    display: block;
  }
  .ls-root .ls-jour-passport-intro > p {
    max-width: 480px;
  }
  .ls-root .ls-jour-full {
    flex-direction: column;
  }
  .ls-root .ls-jour-full .ls-jour-explorer {
    width: 380px;
    margin: auto;
  }
  .ls-root .ls-jour-collective {
    width: 100%;
  }
}
@media (max-width: 620px) {
  .ls-root :is(.ls-jour-config, .ls-jour-activity-editor) {
    padding: 20px;
  }
  .ls-root .ls-jour-heading h1 {
    font-size: 26px;
  }
  .ls-root .ls-jour-sequence-row {
    align-items: stretch;
    flex-direction: column;
  }
  .ls-root .ls-jour-sequence-actions {
    justify-content: flex-end;
  }
  .ls-root .ls-jour-passport-demo {
    padding: 0;
  }
  .ls-root .ls-jour-passport-intro h2 {
    font-size: 32px;
    letter-spacing: -1.3px;
  }
  .ls-root .ls-jour-passport-nav {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }
  .ls-root .ls-jour-passport-nav button {
    width: 100%;
  }
  .ls-root .ls-jour-phone {
    padding: 14px 13px 24px;
  }
  .ls-root .ls-jour-map-stage {
    min-height: 360px;
    padding: 20px;
  }
  .ls-root .ls-jour-map {
    gap: 7px;
  }
  .ls-root .ls-jour-map-node {
    padding: 14px 5px;
  }
  .ls-root .ls-jour-map-node strong {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ls-root .ls-jour-root * {
    transition: none !important;
    animation: none !important;
  }
}
/* Connected editing (016): the shared lead component stays scoped here. */
.ls-root .ls-jour-edit-form {
  margin: 22px 0;
}
.ls-root .ls-jour-edit-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #dce3d2;
  border-radius: 11px;
}
.ls-root .ls-jour-edit-form legend {
  font-size: 13px;
  font-weight: 700;
  padding: 0 6px;
}
.ls-root .ls-jour-edit-form label {
  display: block;
  font-size: 11px;
  margin: 13px 0;
}
.ls-root
  .ls-jour-edit-form
  :is(input:not([type="checkbox"]), textarea, select) {
  width: 100%;
  min-width: 0;
  font: inherit;
  color: inherit;
  background: #fff;
  padding: 10px;
  border: 1px solid #cbd5c0;
  border-radius: 8px;
  margin-top: 6px;
}
.ls-root .ls-jour-edit-form textarea {
  resize: vertical;
}
.ls-root .ls-jour-edit-form :is(input, textarea, select):focus-visible {
  outline: 3px solid #799d46;
  outline-offset: 3px;
}
.ls-root .ls-jour-edit-form .ls-jour-check,
.ls-root .ls-jour-edit-form .lead-consent {
  display: flex;
  align-items: start;
  gap: 8px;
}
.ls-root .ls-jour-edit-form input[type="checkbox"] {
  width: auto;
  margin: 3px 0 0;
  accent-color: #58743c;
}
.ls-root .ls-jour-edit-form fieldset:disabled {
  opacity: 0.65;
}
.ls-root .ls-jour-form-error {
  color: #8c2f1d;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ls-root .ls-jour-save-status {
  font-size: 12px;
  color: #49632e;
}
.ls-root .ls-jour-colors {
  padding: 10px;
  border: 1px dashed #dce3d2;
  border-radius: 8px;
}
.ls-root .ls-jour-root [hidden] {
  display: none;
}

.ls-root .ls-jour-real-passport {
  margin: 28px 0;
  padding: 28px;
  border: 1px solid var(--ls-line);
  border-radius: 24px;
  background: var(--ls-paper, #fff);
}
.ls-root .ls-jour-station-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.ls-root .ls-jour-station-sheet {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  border: 1px solid var(--ls-line);
  padding: 20px;
  border-radius: 20px;
  gap: 10px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.ls-root .ls-jour-station-sheet img {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.ls-root .ls-jour-station-key {
  font-size: 28px;
  letter-spacing: 0.15em;
  font-weight: 800;
}
.ls-root .ls-jour-station-sheet button {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}
.ls-root .ls-jour-rotation {
  background: #ffd3aa;
  padding: 15px;
  border-radius: 12px;
}
@media (max-width: 800px) {
  .ls-root .ls-jour-station-cards {
    grid-template-columns: 1fr;
  }
}
@media print {
  .ls-root:has(.ls-jour-real-passport) {
    display: block;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
  }
  .ls-root:has(.ls-jour-real-passport)
    *:not(:has(.ls-jour-station-cards)):not(.ls-jour-station-cards):not(
      .ls-jour-station-cards *
    ) {
    display: none !important;
  }
  .ls-root:has(.ls-jour-real-passport) *:has(.ls-jour-station-cards) {
    display: block;
    position: static;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
  }
  .ls-root:has(.ls-jour-real-passport) .ls-jour-station-cards {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .ls-root:has(.ls-jour-real-passport) .ls-jour-station-sheet {
    break-after: page;
    page-break-after: always;
    height: 240mm;
    box-sizing: border-box;
    justify-content: center;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 12mm;
  }
  .ls-root:has(.ls-jour-real-passport) .ls-jour-station-sheet:last-child {
    break-after: auto;
    page-break-after: auto;
  }
  .ls-root:has(.ls-jour-real-passport) .ls-jour-station-sheet img {
    width: 90mm;
    height: 90mm;
  }
  .ls-root:has(.ls-jour-real-passport) .ls-jour-no-print,
  .ls-root:has(.ls-jour-real-passport) .ls-jour-no-print * {
    display: none !important;
  }
}

.ls-root .ls-jour-scratch {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.ls-root .ls-jour-scratch-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.ls-root .ls-jour-scratch :is(input, textarea, select) {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}
.ls-root .ls-jour-scratch textarea {
  min-height: 110px;
}
