:root {
  --free-ink: #123f2d;
  --free-ink-soft: #687a70;
  --free-green: #24764f;
  --free-green-dark: #16452f;
  --free-mint: #e5f4e8;
  --free-paper: #fffef9;
  --free-line: rgba(31, 91, 60, .14);
  --free-danger: #98564b;
  --free-shadow: 0 24px 65px rgba(25, 61, 42, .12);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #f5f5ed;
}

body.custom-roadmap-page {
  min-height: 100vh;
  margin: 0;
  color: var(--free-ink);
  background:
    radial-gradient(circle at 4% 5%, rgba(177, 229, 190, .43), transparent 28rem),
    radial-gradient(circle at 94% 10%, rgba(239, 209, 150, .24), transparent 30rem),
    linear-gradient(180deg, #f7f6ef, #eef5ee 70%, #f7f5ed);
  font-family: Manrope, system-ui, sans-serif;
}

button,
input,
textarea,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

.custom-roadmap-main {
  width: min(1480px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 76px;
}

.custom-roadmap-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  align-items: end;
  gap: 44px;
  padding: clamp(36px, 5vw, 72px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(148, 223, 164, .24), transparent 24rem),
    linear-gradient(135deg, #113c29, #216a46 68%, #33875c);
  box-shadow: 0 30px 80px rgba(18, 57, 37, .2);
}

.custom-roadmap-hero::after {
  position: absolute;
  top: 50%;
  right: 3%;
  width: 330px;
  height: 330px;
  content: "";
  pointer-events: none;
  background: url("../images/logo/Tra-V%20logo%20V%20beige.svg") center / contain no-repeat;
  opacity: .07;
  transform: translateY(-50%) rotate(7deg);
}

.custom-roadmap-hero-copy,
.custom-roadmap-hero-points { position: relative; z-index: 1; }

.custom-roadmap-kicker {
  display: inline-block;
  color: #77ad8f;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.custom-roadmap-hero .custom-roadmap-kicker { color: #a9e5b5; }

.custom-roadmap-hero h1 {
  max-width: 850px;
  margin: 12px 0 17px;
  font-family: Inika, Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.custom-roadmap-hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: rgba(247, 253, 248, .75);
  font-size: clamp(.88rem, 1.2vw, 1.02rem);
  line-height: 1.7;
}

.custom-roadmap-hero-points {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .19);
}

.custom-roadmap-hero-points span {
  display: grid;
  grid-template-columns: 33px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .19);
  color: rgba(255, 255, 255, .84);
  font-size: .78rem;
  font-weight: 700;
}

.custom-roadmap-hero-points b {
  color: #a9e5b5;
  font-size: .65rem;
  letter-spacing: .1em;
}

.roadmap-state-card,
.roadmap-auth-gate {
  width: min(850px, 100%);
  margin: 34px auto 0;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  background: rgba(255, 255, 251, .8);
  box-shadow: var(--free-shadow);
  text-align: center;
  backdrop-filter: blur(20px);
}

.roadmap-state-card h2,
.roadmap-auth-gate h2 {
  margin: 13px 0 8px;
  font-family: Inika, Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.roadmap-state-card p,
.roadmap-auth-gate p {
  margin: 0;
  color: var(--free-ink-soft);
  line-height: 1.7;
}

.roadmap-loader {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 3px solid #d7eadc;
  border-top-color: var(--free-green);
  border-radius: 50%;
  animation: free-roadmap-spin .75s linear infinite;
}

@keyframes free-roadmap-spin { to { transform: rotate(360deg); } }

.roadmap-auth-gate {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 38px;
  text-align: left;
}

.roadmap-auth-gate[hidden],
.roadmap-workspace[hidden],
.roadmap-editor[hidden],
.roadmap-empty-editor[hidden] { display: none !important; }

.roadmap-auth-visual {
  display: grid;
  height: 190px;
  place-items: center;
  border-radius: 27px;
  background: linear-gradient(145deg, #16452f, #2a8055);
}

.roadmap-auth-visual img { width: 85px; opacity: .88; }

.roadmap-auth-actions,
.roadmap-toolbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.roadmap-auth-actions { margin-top: 24px; }

.roadmap-primary-action,
.roadmap-secondary-action,
.roadmap-danger-button,
.roadmap-icon-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.roadmap-primary-action {
  color: #fff;
  background: linear-gradient(110deg, #174a33, #2f925c);
  box-shadow: 0 13px 25px rgba(30, 101, 65, .2);
}

.roadmap-primary-action:hover,
.roadmap-secondary-action:hover,
.roadmap-danger-button:hover,
.roadmap-icon-button:hover { transform: translateY(-1px); }

.roadmap-primary-action.is-compact { min-height: 42px; padding: 9px 16px; }
.roadmap-secondary-action.is-compact { min-height: 42px; padding: 9px 14px; }

.roadmap-secondary-action {
  color: var(--free-green-dark);
  border-color: var(--free-line);
  background: rgba(232, 245, 234, .78);
}

.roadmap-secondary-action.is-button { border-color: var(--free-line); }

.roadmap-danger-button {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--free-danger);
  border-color: rgba(152, 86, 75, .16);
  background: rgba(252, 242, 238, .8);
}

.roadmap-workspace {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 22px;
  margin-top: 30px;
  align-items: start;
}

.roadmap-library,
.roadmap-editor-shell {
  border: 1px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 251, .78);
  box-shadow: var(--free-shadow);
  backdrop-filter: blur(24px) saturate(125%);
}

.roadmap-library {
  position: sticky;
  top: 112px;
  overflow: hidden;
  padding: 21px;
  border-radius: 25px;
}

.roadmap-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.roadmap-library-head span {
  color: var(--free-green);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.roadmap-library h2 {
  margin: 4px 0 0;
  font-family: Inika, Georgia, serif;
  font-size: 1.4rem;
}

.roadmap-icon-button {
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--free-green);
  font-size: 1.35rem;
}

.roadmap-library-help {
  margin: 13px 0 18px;
  color: var(--free-ink-soft);
  font-size: .7rem;
  line-height: 1.55;
}

.roadmap-list { display: grid; gap: 9px; }

.roadmap-list-empty {
  padding: 22px 12px;
  border: 1px dashed var(--free-line);
  border-radius: 16px;
  color: var(--free-ink-soft);
  font-size: .72rem;
  line-height: 1.55;
  text-align: center;
}

.roadmap-list-card {
  width: 100%;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--free-ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.roadmap-list-card:hover,
.roadmap-list-card.is-active {
  border-color: var(--free-line);
  background: rgba(225, 242, 229, .76);
}

.roadmap-list-cover {
  display: grid;
  width: 45px;
  height: 45px;
  overflow: hidden;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #1c5a3d, #56a16f);
  font-family: Inika, serif;
}

.roadmap-list-cover img { width: 100%; height: 100%; object-fit: cover; }
.roadmap-list-card strong,
.roadmap-list-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roadmap-list-card strong { font-size: .76rem; }
.roadmap-list-card small { margin-top: 4px; color: var(--free-ink-soft); font-size: .62rem; }

.roadmap-editor-shell {
  min-width: 0;
  overflow: hidden;
  border-radius: 29px;
}

.roadmap-empty-editor {
  min-height: 470px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 50px;
  text-align: center;
}

.roadmap-empty-editor > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 20px;
  color: var(--free-green);
  background: var(--free-mint);
  font-size: 1.7rem;
}

.roadmap-empty-editor h2 {
  margin: 20px 0 8px;
  font-family: Inika, Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.roadmap-empty-editor p { max-width: 500px; margin: 0 0 24px; color: var(--free-ink-soft); line-height: 1.65; }

.roadmap-editor-toolbar {
  position: sticky;
  z-index: 8;
  top: 101px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(22px, 4vw, 48px);
  border-bottom: 1px solid var(--free-line);
  background: rgba(255, 255, 250, .91);
  backdrop-filter: blur(20px);
}

.roadmap-editor-toolbar h2 {
  max-width: 560px;
  overflow: hidden;
  margin: 4px 0 0;
  font-family: Inika, Georgia, serif;
  font-size: 1.3rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roadmap-save-status { color: #668074; font-size: .62rem; font-weight: 700; }
.roadmap-save-status.is-saving { color: #a07134; }
.roadmap-save-status.is-error { color: var(--free-danger); }

.roadmap-status-field { display: grid; gap: 3px; color: var(--free-ink-soft); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.roadmap-status-field select { min-height: 42px; padding: 8px 31px 8px 12px; border: 1px solid var(--free-line); border-radius: 13px; color: var(--free-ink); background: #fffef9; }

.roadmap-overview,
.roadmap-destinations-section { padding: clamp(30px, 5vw, 58px); }
.roadmap-destinations-section { padding-top: 0; }

.roadmap-section-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  margin-bottom: 28px;
}

.roadmap-section-heading.has-action { grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; }
.roadmap-section-number { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--free-line); border-radius: 50%; color: var(--free-green); font-size: .65rem; font-weight: 800; }
.roadmap-section-heading h3 { margin: 0 0 5px; font-family: Inika, Georgia, serif; font-size: 1.45rem; }
.roadmap-section-heading p { margin: 0; color: var(--free-ink-soft); font-size: .74rem; line-height: 1.55; }

.roadmap-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.roadmap-field { display: grid; gap: 7px; color: var(--free-ink); font-size: .7rem; font-weight: 800; }
.roadmap-field.is-wide { grid-column: 1 / -1; }
.roadmap-field input,
.roadmap-field textarea,
.roadmap-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--free-line);
  border-radius: 14px;
  outline: 0;
  color: var(--free-ink);
  background: rgba(255, 255, 252, .86);
  font-size: .8rem;
  font-weight: 600;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.roadmap-field textarea { min-height: 90px; resize: vertical; line-height: 1.55; }
.roadmap-field input:focus,
.roadmap-field textarea:focus,
.roadmap-field select:focus { border-color: rgba(41, 127, 82, .58); box-shadow: 0 0 0 4px rgba(61, 159, 100, .1); }

.roadmap-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -9px 0 22px 57px;
}
.roadmap-summary span { padding: 7px 10px; border-radius: 999px; color: #47705b; background: #e7f3e9; font-size: .66rem; font-weight: 700; }

.destination-list { display: grid; gap: 18px; }
.destination-empty {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px dashed rgba(35, 111, 73, .25);
  border-radius: 24px;
  color: var(--free-ink-soft);
  background:
    radial-gradient(circle at 92% 2%, rgba(110, 190, 132, .14), transparent 18rem),
    rgba(236, 246, 237, .45);
}
.destination-empty-intro { max-width: 730px; }
.destination-empty-intro > span { display: block; margin-bottom: 7px; color: var(--free-green); font-size: .61rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.destination-empty-intro strong { display: block; color: var(--free-ink); font-family: Inika, serif; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; }
.destination-empty-intro p { margin: 8px 0 0; font-size: .74rem; line-height: 1.65; }
.destination-empty-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.destination-empty-capabilities article { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 11px; padding: 15px; border: 1px solid rgba(35, 111, 73, .12); border-radius: 17px; background: rgba(255, 255, 252, .78); box-shadow: 0 10px 24px rgba(27, 70, 45, .05); }
.destination-empty-capabilities article > span:last-child { display: grid; gap: 4px; }
.destination-empty-capabilities b { color: var(--free-ink); font-size: .73rem; }
.destination-empty-capabilities small { color: var(--free-ink-soft); font-size: .62rem; line-height: 1.5; }
.destination-empty-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #23734d; background: #dff1e3; }
.destination-empty-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.destination-empty-icon.is-activity { color: #816a2c; background: #f3ebd2; }
.destination-empty-icon.is-restaurant { color: #8b4f40; background: #f4e4de; }
.destination-empty-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid rgba(35, 111, 73, .12); }
.destination-empty-footer > div { display: flex; flex-wrap: wrap; gap: 7px; }
.destination-empty-footer > div span { padding: 6px 9px; border-radius: 999px; color: #4e725e; background: rgba(224, 241, 228, .9); font-size: .58rem; font-weight: 700; }
.destination-empty-footer button { flex: 0 0 auto; min-height: 41px; padding: 10px 15px; border: 0; border-radius: 13px; color: #fff; background: var(--free-green); box-shadow: 0 10px 22px rgba(30, 103, 65, .16); cursor: pointer; font-size: .68rem; font-weight: 800; }
.destination-empty-footer button span { margin-left: 8px; }

.destination-card { overflow: hidden; border: 1px solid var(--free-line); border-radius: 24px; background: rgba(255, 255, 252, .78); box-shadow: 0 16px 38px rgba(27, 70, 45, .07); }
.destination-card-head { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 150px; }
.destination-photo { position: relative; overflow: hidden; display: grid; place-items: center; color: #eaf6ec; background: linear-gradient(145deg, #174b34, #3b8d5e); }
.destination-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.destination-photo-placeholder { position: relative; z-index: 1; font-family: Inika, serif; font-size: 2.2rem; }
.photo-actions { position: absolute; z-index: 2; right: 8px; bottom: 8px; left: 8px; display: flex; gap: 6px; }
.photo-action { flex: 1; min-height: 32px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.36); border-radius: 10px; color: #fff; background: rgba(13,47,31,.68); cursor: pointer; font-size: .59rem; font-weight: 800; backdrop-filter: blur(8px); }
.photo-action.is-delete { flex: 0 0 32px; padding: 0; }

.destination-card-copy { min-width: 0; padding: 20px 22px; }
.destination-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.destination-index { display: inline-block; margin-bottom: 6px; color: var(--free-green); font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.destination-card h4 { margin: 0; font-family: Inika, Georgia, serif; font-size: 1.42rem; }
.destination-card-location { margin: 6px 0 0; color: var(--free-ink-soft); font-size: .72rem; }
.destination-card-dates { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.destination-card-dates span { padding: 6px 9px; border-radius: 999px; color: #4a6d5a; background: var(--free-mint); font-size: .63rem; font-weight: 700; }
.destination-card-actions { display: flex; gap: 6px; }
.destination-card-actions button,
.item-actions button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--free-line); border-radius: 11px; color: var(--free-green-dark); background: #fbfcf7; cursor: pointer; }
.destination-card-actions button.is-danger,
.item-actions button.is-danger { color: var(--free-danger); }
.destination-notes { margin: 14px 0 0; color: #64766b; font-size: .7rem; line-height: 1.55; white-space: pre-line; }

.destination-items { padding: 0 20px 20px; }
.destination-items-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0 12px; border-top: 1px solid var(--free-line); }
.destination-items-head strong { font-family: Inika, serif; font-size: 1rem; }
.destination-items-head button { min-height: 36px; padding: 8px 12px; border: 0; border-radius: 12px; color: #fff; background: var(--free-green); cursor: pointer; font-size: .67rem; font-weight: 800; }
.destination-item-list { display: grid; gap: 9px; }
.destination-item-empty { padding: 17px; border: 1px dashed var(--free-line); border-radius: 14px; color: var(--free-ink-soft); font-size: .68rem; text-align: center; }

.roadmap-item { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 74px; padding: 8px; border: 1px solid rgba(31,91,60,.1); border-radius: 16px; background: rgba(247,250,244,.75); }
.roadmap-item-photo { display: grid; width: 66px; height: 58px; overflow: hidden; place-items: center; border-radius: 12px; color: var(--free-green); background: #e3f0e5; font-size: 1.1rem; font-weight: 800; }
.roadmap-item-photo img { width: 100%; height: 100%; object-fit: cover; }
.roadmap-item-copy { min-width: 0; }
.roadmap-item-type { color: var(--free-green); font-size: .57rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.roadmap-item h5 { overflow: hidden; margin: 3px 0; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.roadmap-item-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: var(--free-ink-soft); font-size: .62rem; }
.roadmap-item-price { color: var(--free-green-dark); font-weight: 800; }
.item-actions { display: flex; gap: 5px; padding-right: 5px; }
.item-photo-button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--free-line); border-radius: 11px; color: var(--free-green-dark); background: #fbfcf7; cursor: pointer; font-size: .72rem; }
.item-photo-input { display: none; }

.roadmap-dialog {
  width: min(650px, calc(100% - 24px));
  max-height: min(88vh, 850px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 25px;
  color: var(--free-ink);
  background: #fbfcf7;
  box-shadow: 0 35px 110px rgba(11, 43, 27, .32);
}
.roadmap-dialog.is-large { width: min(760px, calc(100% - 24px)); }
.roadmap-dialog::backdrop { background: rgba(11, 36, 24, .58); backdrop-filter: blur(12px); }
.roadmap-dialog form { padding: 26px; }
.roadmap-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.roadmap-dialog h2 { margin: 7px 0 0; font-family: Inika, serif; font-size: 1.8rem; }
.roadmap-dialog header > button { width: 38px; height: 38px; border: 1px solid var(--free-line); border-radius: 12px; color: var(--free-ink); background: #fff; cursor: pointer; font-size: 1.3rem; }
.roadmap-dialog footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--free-line); }

.roadmap-confirm-dialog {
  width: min(470px, calc(100% - 28px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 27px;
  color: var(--free-ink);
  background: #fffdf8;
  box-shadow: 0 35px 110px rgba(42, 20, 17, .34);
}
.roadmap-confirm-dialog::backdrop { background: rgba(14, 31, 22, .62); backdrop-filter: blur(10px); }
.roadmap-confirm-dialog[open] { animation: roadmap-confirm-in .2s ease both; }
.roadmap-confirm-card { position: relative; display: grid; justify-items: center; padding: 31px; overflow: hidden; border-radius: inherit; text-align: center; }
.roadmap-confirm-card::before { position: absolute; z-index: -1; top: -95px; left: 50%; width: 260px; height: 190px; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(191, 100, 84, .16), transparent 68%); transform: translateX(-50%); }
.roadmap-confirm-icon { display: grid; width: 58px; height: 58px; margin-bottom: 16px; place-items: center; border: 1px solid rgba(152, 86, 75, .16); border-radius: 18px; color: #9a5146; background: linear-gradient(145deg, #fff4ef, #f7dfd9); box-shadow: 0 12px 26px rgba(127, 63, 53, .14); }
.roadmap-confirm-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.roadmap-confirm-kicker { color: #9a5146; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.roadmap-confirm-dialog h2 { margin: 8px 0 9px; font-family: Inika, Georgia, serif; font-size: clamp(1.45rem, 4vw, 1.85rem); line-height: 1.18; text-wrap: balance; }
.roadmap-confirm-dialog > .roadmap-confirm-card > p { max-width: 390px; margin: 0; color: var(--free-ink-soft); font-size: .75rem; line-height: 1.65; }
.roadmap-confirm-warning { display: flex; width: 100%; align-items: center; gap: 10px; margin-top: 20px; padding: 11px 13px; border: 1px solid rgba(152, 86, 75, .13); border-radius: 14px; color: #805047; background: rgba(252, 241, 237, .72); font-size: .66rem; font-weight: 700; text-align: left; }
.roadmap-confirm-warning > span:first-child { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; color: #fff; background: #a45d51; font-size: .68rem; font-weight: 900; }
.roadmap-confirm-actions { display: grid; width: 100%; grid-template-columns: 1fr 1.18fr; gap: 9px; margin-top: 20px; }
.roadmap-confirm-actions button { min-height: 46px; padding: 11px 15px; border-radius: 14px; cursor: pointer; font-size: .72rem; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.roadmap-confirm-actions button:hover { transform: translateY(-1px); }
.roadmap-confirm-cancel { border: 1px solid var(--free-line); color: var(--free-green-dark); background: #f3f7f1; }
.roadmap-confirm-delete { border: 1px solid transparent; color: #fff; background: linear-gradient(115deg, #8e493f, #b76556); box-shadow: 0 12px 25px rgba(137, 67, 56, .22); }
.roadmap-confirm-cancel:focus-visible,
.roadmap-confirm-delete:focus-visible { outline: 3px solid rgba(48, 133, 86, .22); outline-offset: 2px; }

@keyframes roadmap-confirm-in {
  from { opacity: 0; transform: translateY(10px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.roadmap-toast { position: fixed; z-index: 3000; right: 22px; bottom: 22px; max-width: min(390px, calc(100% - 28px)); padding: 13px 17px; border-radius: 14px; color: #fff; background: #174b34; box-shadow: 0 20px 50px rgba(16,55,35,.25); font-size: .74rem; font-weight: 700; }
.roadmap-toast.is-error { background: #8e5047; }

/* Workspace refinement */
.custom-roadmap-main { padding-top: 18px; }
.custom-roadmap-hero {
  grid-template-columns: minmax(0, 1fr) minmax(390px, .68fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(23px, 2.7vw, 35px) clamp(30px, 4.2vw, 58px);
  border-radius: 29px;
}
.custom-roadmap-hero::after { width: 265px; height: 265px; }
.custom-roadmap-hero h1 {
  max-width: 760px;
  margin: 8px 0 11px;
  font-size: clamp(2.1rem, 3.25vw, 3.25rem);
  line-height: 1.01;
}
.custom-roadmap-hero-copy > p { max-width: 720px; font-size: .82rem; line-height: 1.52; }
.custom-roadmap-hero-points {
  gap: 3px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}
.custom-roadmap-hero-points span { grid-template-columns: 30px 1fr; padding: 9px 0; font-size: .7rem; }
.custom-roadmap-hero-points span:first-child { border-top: 0; }

.roadmap-workspace { grid-template-columns: 330px minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.roadmap-library { padding: 22px; border-color: rgba(31,91,60,.09); background: rgba(255,255,251,.86); box-shadow: 0 18px 50px rgba(25,61,42,.09); }
.roadmap-library-help { margin-bottom: 20px; font-size: .73rem; }
.roadmap-list { gap: 11px; }
.roadmap-list-card {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  min-height: 102px;
  padding: 11px;
  border-color: rgba(31,91,60,.08);
  border-radius: 19px;
  background: rgba(249,252,247,.72);
  box-shadow: 0 8px 22px rgba(25,61,42,.035);
}
.roadmap-list-card:hover,
.roadmap-list-card.is-active {
  border-color: rgba(36,118,79,.2);
  background: linear-gradient(135deg, rgba(229,244,232,.92), rgba(244,249,240,.96));
  box-shadow: 0 12px 28px rgba(25,61,42,.08);
}
.roadmap-list-cover {
  width: 78px;
  height: 78px;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.roadmap-list-card strong {
  overflow: hidden;
  display: -webkit-box;
  font-size: .82rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.roadmap-list-card small { margin-top: 6px; font-size: .65rem; line-height: 1.35; }
.roadmap-editor-shell { overflow: clip; border-color: rgba(31,91,60,.09); background: rgba(255,255,251,.9); box-shadow: 0 22px 60px rgba(25,61,42,.1); }
.roadmap-print-brand { display: none; }

.roadmap-editor-toolbar {
  align-items: flex-end;
  gap: 24px;
  padding: 16px clamp(22px, 3vw, 38px);
  background: rgba(252,253,248,.94);
  box-shadow: 0 10px 24px rgba(26,68,45,.04);
}
.roadmap-editor-toolbar h2 { font-size: 1.45rem; }
.roadmap-toolbar-actions { align-items: flex-end; justify-content: flex-end; gap: 8px; }
.roadmap-toolbar-actions > button,
.roadmap-status-field select { min-height: 44px; }
.roadmap-toolbar-actions button svg,
.destination-items-head button svg,
.destination-card-actions button svg,
.item-action-button svg,
.photo-action svg,
.destination-photo-remove svg,
.roadmap-item-photo-remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.roadmap-status-field { position: relative; min-width: 132px; gap: 4px; }
.roadmap-status-field select,
.roadmap-field select {
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2324764f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
}
.roadmap-status-field select { width: 100%; border-color: rgba(31,91,60,.17); background-color: #f8fbf6; font-size: .69rem; font-weight: 800; }
.roadmap-status-field select:hover,
.roadmap-field select:hover { border-color: rgba(41,127,82,.38); }
.roadmap-status-field select option,
.roadmap-field select option { color: var(--free-ink); background: #fffef9; font-weight: 600; }

.roadmap-select { position: relative; width: 100%; }
.roadmap-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.roadmap-select-trigger {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px 12px 15px;
  border: 1px solid rgba(31,91,60,.15);
  border-radius: 15px;
  color: var(--free-ink);
  background: rgba(255,255,252,.96);
  box-shadow: 0 6px 18px rgba(24,67,43,.035);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.roadmap-select-trigger:hover { border-color: rgba(41,127,82,.34); background: #fff; }
.roadmap-select-trigger:focus-visible,
.roadmap-select.is-open .roadmap-select-trigger {
  border-color: rgba(41,127,82,.56);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(61,159,100,.1), 0 9px 22px rgba(24,67,43,.06);
}
.roadmap-select-trigger svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--free-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.roadmap-select.is-open .roadmap-select-trigger svg { transform: rotate(180deg); }
.roadmap-select-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  display: grid;
  gap: 3px;
  min-width: 100%;
  padding: 7px;
  border: 1px solid rgba(31,91,60,.13);
  border-radius: 16px;
  background: #fffef9;
  box-shadow: 0 22px 55px rgba(18,57,37,.18);
}
.roadmap-select-menu[hidden] { display: none; }
.roadmap-select-option {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 0;
  border-radius: 11px;
  color: #395746;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 750;
  text-align: left;
}
.roadmap-select-option::after { color: var(--free-green); content: ""; font-size: .82rem; font-weight: 900; }
.roadmap-select-option:hover,
.roadmap-select-option:focus-visible { outline: 0; background: #edf6ed; }
.roadmap-select-option.is-selected { color: var(--free-green-dark); background: #e3f2e6; }
.roadmap-select-option.is-selected::after { content: "\2713"; }
.roadmap-status-field .roadmap-select { min-width: 145px; }
.roadmap-status-field .roadmap-select-trigger { min-height: 44px; background: #f8fbf6; font-size: .69rem; font-weight: 800; }

.roadmap-overview,
.roadmap-destinations-section { padding: clamp(28px, 4vw, 48px); }
.roadmap-destinations-section { padding-top: 4px; }
.roadmap-overview { background: linear-gradient(180deg, rgba(245,249,243,.54), transparent); }
.roadmap-section-heading { margin-bottom: 24px; }
.roadmap-section-number { border: 0; background: linear-gradient(145deg, #e5f3e8, #f4f7ee); box-shadow: inset 0 0 0 1px rgba(31,91,60,.12); }
.roadmap-section-heading h3 { font-size: 1.55rem; }

.roadmap-overview .roadmap-form-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 15px; }
.roadmap-overview .roadmap-field { grid-column: span 6; }
.roadmap-overview .roadmap-field.is-wide { grid-column: 1 / -1; }
.roadmap-overview .overview-travelers { grid-column: span 4; }
.roadmap-overview .overview-budget { grid-column: span 5; }
.roadmap-overview .overview-currency { grid-column: span 3; }
.roadmap-form-grid { gap: 15px; }
.roadmap-field { position: relative; gap: 8px; font-size: .67rem; letter-spacing: .01em; }
.roadmap-field > span { padding-left: 2px; }
.roadmap-field input,
.roadmap-field textarea,
.roadmap-field select,
.roadmap-calendar-input {
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(31,91,60,.15);
  border-radius: 15px;
  color: var(--free-ink);
  background-color: rgba(255,255,252,.95);
  box-shadow: 0 6px 18px rgba(24,67,43,.035);
  font-size: .78rem;
  font-weight: 650;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.roadmap-field input:hover,
.roadmap-field textarea:hover,
.roadmap-field select:hover,
.roadmap-calendar-input:hover { border-color: rgba(41,127,82,.3); background-color: #fff; }
.roadmap-field input:focus,
.roadmap-field textarea:focus,
.roadmap-field select:focus,
.roadmap-calendar-input:focus { border-color: rgba(41,127,82,.56); background: #fff; box-shadow: 0 0 0 4px rgba(61,159,100,.1), 0 9px 22px rgba(24,67,43,.06); outline: 0; }
.roadmap-field textarea { min-height: 105px; }
.roadmap-overview .roadmap-field textarea { min-height: 118px; }
.roadmap-calendar-input {
  width: 100%;
  padding-right: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2324764f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}
.roadmap-field input[type="time"] { padding-right: 12px; color-scheme: light; }

.roadmap-summary { gap: 7px; margin: -5px 0 22px 57px; }
.roadmap-summary span { padding: 7px 11px; border: 1px solid rgba(36,118,79,.07); background: #eaf5eb; }

.destination-card { border-color: rgba(31,91,60,.13); border-radius: 27px; background: rgba(255,255,252,.93); box-shadow: 0 20px 48px rgba(27,70,45,.09); }
.destination-card-head { grid-template-columns: minmax(230px, 28%) minmax(0, 1fr); min-height: 222px; }
.destination-photo { min-height: 222px; }
.destination-photo::after { position: absolute; inset: 48% 0 0; content: ""; pointer-events: none; background: linear-gradient(transparent, rgba(8,34,22,.66)); }
.destination-photo-placeholder { font-size: 3.2rem; opacity: .82; }
.photo-actions { z-index: 3; right: 13px; bottom: 13px; left: 13px; }
.photo-action {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-color: rgba(255,255,255,.42);
  border-radius: 13px;
  background: rgba(11,47,30,.74);
  box-shadow: 0 8px 20px rgba(8,29,19,.18);
  font-size: .62rem;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.destination-photo-remove,
.roadmap-item-photo-remove {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 12px;
  color: #fff;
  background: rgba(116,54,46,.76);
  box-shadow: 0 8px 18px rgba(32,13,10,.18);
  cursor: pointer;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.destination-card-copy { padding: 26px 28px; }
.destination-card-title-row { gap: 22px; }
.destination-card h4 { font-size: 1.72rem; }
.destination-card-location { font-size: .74rem; }
.destination-card-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.destination-order-actions { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--free-line); border-radius: 13px; background: #f2f7f1; }
.destination-card-actions button,
.destination-action-button {
  display: inline-flex;
  width: auto;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(31,91,60,.13);
  border-radius: 11px;
  color: var(--free-green-dark);
  background: #f8fbf6;
  cursor: pointer;
  font-size: .62rem;
  font-weight: 800;
}
.destination-order-actions button { width: 31px; min-width: 31px; height: 31px; padding: 0; border: 0; background: transparent; }
.destination-card-actions button:hover { border-color: rgba(36,118,79,.3); background: #ebf5ec; }
.destination-card-actions button:disabled { cursor: not-allowed; opacity: .28; }
.destination-card-actions .is-danger { color: #98564b; border-color: rgba(152,86,75,.14); background: #fcf3ef; }
.destination-card-dates span { padding: 7px 10px; }
.destination-notes { max-width: 760px; font-size: .72rem; }

.destination-items { padding: 0 26px 26px; }
.destination-items-head { padding: 20px 0 15px; }
.destination-items-head > div { display: grid; gap: 2px; }
.destination-items-head > div > span { color: var(--free-green); font-size: .56rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.destination-items-head strong { font-size: 1.12rem; }
.destination-items-head small { color: var(--free-ink-soft); font-size: .61rem; }
.destination-items-head button { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 13px; box-shadow: 0 10px 22px rgba(30,103,65,.14); }
.destination-items-head button svg { width: 16px; height: 16px; }
.destination-item-list { gap: 10px; }
.roadmap-item {
  grid-template-columns: 106px minmax(0, 1fr) minmax(250px, auto);
  gap: 17px;
  min-height: 108px;
  padding: 9px;
  border-color: rgba(31,91,60,.11);
  border-radius: 19px;
  background: linear-gradient(100deg, rgba(247,250,244,.94), rgba(255,255,252,.92));
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.roadmap-item:hover { border-color: rgba(36,118,79,.2); box-shadow: 0 12px 28px rgba(28,71,46,.07); transform: translateY(-1px); }
.roadmap-item-photo { position: relative; width: 106px; height: 90px; border-radius: 15px; font-size: 1.45rem; }
.roadmap-item-photo-remove { top: 7px; right: 7px; width: 30px; height: 30px; border-radius: 9px; }
.roadmap-item-photo-remove svg { width: 14px; height: 14px; }
.roadmap-item h5 { margin: 5px 0; font-size: .86rem; }
.roadmap-item-meta { gap: 5px 11px; font-size: .63rem; line-height: 1.45; }
.item-actions { display: grid; min-width: 250px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-right: 5px; }
.item-actions .item-action-button,
.item-action-button {
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(31,91,60,.13);
  border-radius: 11px;
  color: var(--free-green-dark);
  background: #f8fbf6;
  cursor: pointer;
  font-size: .6rem;
  font-weight: 800;
  white-space: nowrap;
}
.item-actions .item-action-button:hover,
.item-action-button:hover { border-color: rgba(36,118,79,.3); background: #eaf4eb; }
.item-actions .item-action-button.is-danger,
.item-action-button.is-danger { color: #98564b; border-color: rgba(152,86,75,.14); background: #fcf3ef; }
.item-photo-input { display: none; }

.roadmap-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: min(91vh, 900px);
  border-color: rgba(255,255,255,.94);
  border-radius: 28px;
  background: #f8faf5;
  box-shadow: 0 40px 120px rgba(9,37,24,.36);
  scrollbar-width: thin;
  scrollbar-color: rgba(36,118,79,.35) transparent;
}
.roadmap-dialog.is-large { width: min(900px, calc(100% - 24px)); }
.roadmap-dialog[open] { animation: roadmap-dialog-in .2s ease both; }
.roadmap-dialog form { padding: 0; }
.roadmap-dialog-header {
  position: sticky;
  z-index: 4;
  top: 0;
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) 40px;
  align-items: start !important;
  gap: 15px !important;
  margin: 0 !important;
  padding: 25px 27px 21px;
  border-bottom: 1px solid rgba(31,91,60,.1);
  background: linear-gradient(135deg, rgba(248,252,246,.97), rgba(239,247,239,.97));
  backdrop-filter: blur(20px);
}
.roadmap-dialog-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(36,118,79,.12); border-radius: 16px; color: var(--free-green); background: #e4f2e6; }
.roadmap-dialog-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.roadmap-dialog h2 { margin: 4px 0 3px; font-size: 1.65rem; line-height: 1.2; }
.roadmap-dialog-header p { margin: 0; color: var(--free-ink-soft); font-size: .68rem; line-height: 1.5; }
.roadmap-dialog header > button { width: 40px; height: 40px; border-radius: 13px; box-shadow: 0 7px 18px rgba(24,67,43,.05); }
.roadmap-dialog-body { display: grid; gap: 14px; padding: 22px 27px 26px; }
.roadmap-dialog-section { min-width: 0; margin: 0; padding: 18px; border: 1px solid rgba(31,91,60,.1); border-radius: 19px; background: rgba(255,255,252,.78); }
.roadmap-dialog-section legend { padding: 0 8px; color: var(--free-green); font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.roadmap-dialog footer {
  position: sticky;
  z-index: 4;
  bottom: 0;
  margin: 0;
  padding: 16px 27px 20px;
  border-top: 1px solid rgba(31,91,60,.1);
  background: rgba(250,252,247,.95);
  box-shadow: 0 -12px 28px rgba(24,67,43,.04);
  backdrop-filter: blur(18px);
}
.roadmap-dialog footer button { min-width: 150px; }

.flatpickr-calendar {
  z-index: 2147483647 !important;
  width: 330px;
  padding: 10px;
  border: 1px solid rgba(31,91,60,.13);
  border-radius: 20px;
  background: #fffef9;
  box-shadow: 0 24px 65px rgba(18,57,37,.2);
  font-family: Manrope, system-ui, sans-serif;
}
.flatpickr-calendar::before,
.flatpickr-calendar::after { display: none; }
.flatpickr-months { align-items: center; padding: 3px 3px 9px; }
.flatpickr-months .flatpickr-month { height: 36px; color: var(--free-ink); fill: var(--free-ink); }
.flatpickr-current-month { padding-top: 5px; font-size: .9rem; font-weight: 800; }
.flatpickr-current-month .flatpickr-monthDropdown-months { appearance: none; color: var(--free-ink); background: transparent; font-weight: 800; }
.flatpickr-current-month input.cur-year { font-weight: 800; }
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month { top: 10px; display: grid; width: 31px; height: 31px; padding: 0; place-items: center; border-radius: 10px; color: var(--free-green); background: #e8f3e9; font-size: .8rem; }
.flatpickr-weekdays { height: 31px; }
span.flatpickr-weekday { color: #738279; font-size: .62rem; font-weight: 800; }
.flatpickr-days,
.dayContainer { width: 310px; min-width: 310px; max-width: 310px; }
.flatpickr-day { width: 39px; max-width: 39px; height: 39px; line-height: 39px; border-radius: 12px; color: #395746; font-size: .72rem; }
.flatpickr-day:hover { border-color: #e2f0e4; background: #e2f0e4; }
.flatpickr-day.today { border-color: rgba(36,118,79,.35); color: var(--free-green); font-weight: 800; }
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover { border-color: var(--free-green); background: var(--free-green); box-shadow: none; color: #fff; }
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay { color: #acb7af; }
.numInputWrapper span { border-color: rgba(31,91,60,.12); }

.custom-roadmap-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 0 5px;
  color: var(--free-ink-soft);
  font-size: .72rem;
}
.custom-roadmap-breadcrumb a { color: var(--free-green-dark); font-weight: 800; text-decoration: none; }
.custom-roadmap-breadcrumb a:hover,
.custom-roadmap-breadcrumb a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.custom-roadmap-seo {
  display: grid;
  gap: 56px;
  margin-top: 24px;
  padding: clamp(42px, 6vw, 78px);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 32px;
  background:
    radial-gradient(circle at 95% 4%, rgba(178,225,188,.35), transparent 25rem),
    linear-gradient(145deg, rgba(255,255,252,.94), rgba(244,249,242,.9));
  box-shadow: 0 24px 65px rgba(25,61,42,.1);
}
.custom-roadmap-seo-intro { max-width: 960px; }
.custom-roadmap-seo h2 {
  max-width: 900px;
  margin: 8px 0 17px;
  font-family: Inika, Georgia, serif;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.custom-roadmap-seo-intro > p,
.custom-roadmap-faq > div:first-child > p {
  max-width: 850px;
  margin: 0;
  color: var(--free-ink-soft);
  font-size: .92rem;
  line-height: 1.75;
}

.custom-roadmap-use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.custom-roadmap-use-cases article {
  min-height: 220px;
  padding: 25px;
  border: 1px solid rgba(31,91,60,.11);
  border-radius: 23px;
  background: rgba(255,255,252,.8);
  box-shadow: 0 12px 34px rgba(25,61,42,.055);
}
.custom-roadmap-use-cases article > span,
.custom-roadmap-howto aside > span {
  color: var(--free-green);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.custom-roadmap-use-cases h3,
.custom-roadmap-howto aside h3 {
  margin: 18px 0 10px;
  font-family: Inika, Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.25;
}
.custom-roadmap-use-cases p {
  margin: 0;
  color: var(--free-ink-soft);
  font-size: .76rem;
  line-height: 1.65;
}

.custom-roadmap-howto {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  padding-top: 10px;
}
.custom-roadmap-howto h2 { font-size: clamp(2rem, 3.7vw, 3.5rem); }
.custom-roadmap-howto ol {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  counter-reset: roadmap-seo-step;
  list-style: none;
}
.custom-roadmap-howto ol li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 15px;
  padding: 18px 0;
  border-top: 1px solid rgba(31,91,60,.1);
  counter-increment: roadmap-seo-step;
}
.custom-roadmap-howto ol li::before {
  grid-row: 1 / span 2;
  color: var(--free-green);
  content: "0" counter(roadmap-seo-step);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.custom-roadmap-howto ol b { font-size: .87rem; }
.custom-roadmap-howto ol span { color: var(--free-ink-soft); font-size: .76rem; line-height: 1.6; }
.custom-roadmap-howto aside {
  padding: 29px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 5%, rgba(132,213,153,.24), transparent 14rem),
    linear-gradient(145deg, #123f2d, #23764e);
  box-shadow: 0 22px 55px rgba(18,63,45,.18);
}
.custom-roadmap-howto aside > span { color: #9ed9ae; }
.custom-roadmap-howto aside h3 { font-size: 1.55rem; }
.custom-roadmap-howto aside ul { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; }
.custom-roadmap-howto aside li {
  position: relative;
  padding: 11px 0 11px 27px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.84);
  font-size: .73rem;
  line-height: 1.45;
}
.custom-roadmap-howto aside li::before { position: absolute; top: 10px; left: 0; color: #9ed9ae; content: "✓"; font-weight: 900; }

.custom-roadmap-faq {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 5vw, 74px);
  padding-top: 52px;
  border-top: 1px solid rgba(31,91,60,.12);
}
.custom-roadmap-faq h2 { font-size: clamp(1.9rem, 3.4vw, 3.15rem); }
.custom-roadmap-faq-list { display: grid; gap: 9px; }
.custom-roadmap-faq details {
  overflow: hidden;
  border: 1px solid rgba(31,91,60,.11);
  border-radius: 17px;
  background: rgba(255,255,252,.82);
}
.custom-roadmap-faq summary {
  position: relative;
  padding: 18px 52px 18px 19px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}
.custom-roadmap-faq summary::-webkit-details-marker { display: none; }
.custom-roadmap-faq summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--free-green);
  content: "+";
  font-size: 1.15rem;
  transform: translateY(-50%);
}
.custom-roadmap-faq details[open] summary::after { content: "−"; }
.custom-roadmap-faq details p {
  margin: 0;
  padding: 0 19px 19px;
  color: var(--free-ink-soft);
  font-size: .74rem;
  line-height: 1.65;
}

.custom-roadmap-seo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: clamp(27px, 4vw, 45px);
  border: 1px solid rgba(31,91,60,.1);
  border-radius: 26px;
  background: rgba(229,244,232,.72);
}
.custom-roadmap-seo-cta h2 { margin-bottom: 9px; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.custom-roadmap-seo-cta p { max-width: 700px; margin: 0; color: var(--free-ink-soft); font-size: .78rem; line-height: 1.6; }
.custom-roadmap-seo-cta > div:last-child { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.custom-roadmap-seo-cta a { text-decoration: none; }

@keyframes roadmap-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1050px) {
  .custom-roadmap-hero { grid-template-columns: 1fr; }
  .custom-roadmap-hero-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .custom-roadmap-hero-points span { grid-template-columns: 26px 1fr; padding: 13px; border: 1px solid rgba(255,255,255,.16); }
  .roadmap-workspace { grid-template-columns: 285px minmax(0, 1fr); }
  .roadmap-editor-toolbar { align-items: flex-start; flex-direction: column; }
  .roadmap-toolbar-actions { width: 100%; align-items: flex-end; justify-content: flex-start; }
  .roadmap-item { grid-template-columns: 94px minmax(0, 1fr); }
  .roadmap-item-photo { width: 94px; height: 82px; grid-row: 1 / span 2; }
  .item-actions { width: 100%; min-width: 0; grid-column: 2; }
  .custom-roadmap-howto,
  .custom-roadmap-faq { grid-template-columns: 1fr; }
  .custom-roadmap-howto aside { max-width: 760px; }
  .custom-roadmap-seo-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 800px) {
  .custom-roadmap-main { width: min(100% - 16px, 720px); padding-top: 12px; }
  .custom-roadmap-hero { padding: 28px 23px; border-radius: 26px; }
  .custom-roadmap-hero h1 { font-size: clamp(2.15rem, 8vw, 3.25rem); }
  .custom-roadmap-hero-points { grid-template-columns: 1fr; }
  .roadmap-auth-gate { grid-template-columns: 1fr; padding: 26px; }
  .roadmap-auth-visual { height: 120px; }
  .roadmap-workspace { display: block; }
  .roadmap-library { position: static; margin-bottom: 14px; }
  .roadmap-list { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .roadmap-list-card { min-width: 292px; }
  .roadmap-editor-toolbar { position: static; }
  .roadmap-section-heading.has-action { grid-template-columns: 42px 1fr; }
  .roadmap-section-heading.has-action .roadmap-secondary-action { grid-column: 1 / -1; }
  .destination-card-head { grid-template-columns: 205px minmax(0, 1fr); }
  .destination-card-copy { padding: 22px; }
  .destination-card-title-row { flex-direction: column; }
  .destination-card-actions { justify-content: flex-start; }
  .custom-roadmap-breadcrumb { margin-bottom: 10px; }
  .custom-roadmap-seo { gap: 42px; padding: 38px 25px; border-radius: 27px; }
  .custom-roadmap-use-cases { grid-template-columns: 1fr; }
  .custom-roadmap-use-cases article { min-height: 0; }
}

@media (max-width: 560px) {
  .custom-roadmap-hero-points { display: none; }
  .roadmap-state-card { padding: 30px 20px; }
  .roadmap-auth-actions,
  .roadmap-toolbar-actions { align-items: stretch; flex-direction: column; }
  .roadmap-primary-action,
  .roadmap-secondary-action,
  .roadmap-danger-button { width: 100%; }
  .roadmap-editor-toolbar { padding: 17px; }
  .roadmap-status-field,
  .roadmap-status-field select,
  .roadmap-status-field .roadmap-select { width: 100%; }
  .roadmap-overview,
  .roadmap-destinations-section { padding: 28px 17px; }
  .roadmap-destinations-section { padding-top: 0; }
  .roadmap-form-grid,
  .roadmap-overview .roadmap-form-grid { grid-template-columns: 1fr; }
  .roadmap-field,
  .roadmap-field.is-wide,
  .roadmap-overview .roadmap-field,
  .roadmap-overview .roadmap-field.is-wide,
  .roadmap-overview .overview-travelers,
  .roadmap-overview .overview-budget,
  .roadmap-overview .overview-currency { grid-column: auto; }
  .roadmap-summary { margin-left: 0; }
  .destination-empty { gap: 18px; padding: 21px 16px; }
  .destination-empty-capabilities { grid-template-columns: 1fr; }
  .destination-empty-footer { align-items: stretch; flex-direction: column; }
  .destination-empty-footer button { width: 100%; }
  .destination-card-head { grid-template-columns: 1fr; }
  .destination-photo { min-height: 220px; }
  .destination-card-title-row { flex-direction: column; }
  .destination-card-actions { width: 100%; align-self: stretch; justify-content: flex-start; }
  .destination-action-button { flex: 1; }
  .destination-items { padding: 0 16px 18px; }
  .destination-items-head { align-items: flex-start; flex-direction: column; }
  .destination-items-head button { width: 100%; justify-content: center; }
  .roadmap-item { grid-template-columns: 72px minmax(0, 1fr); gap: 11px; }
  .roadmap-item-photo { width: 72px; height: 66px; }
  .item-actions { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .item-action-button { min-height: 41px; }
  .roadmap-dialog form { padding: 0; }
  .roadmap-dialog-header { grid-template-columns: 44px minmax(0, 1fr) 36px; gap: 11px !important; padding: 19px 16px 17px; }
  .roadmap-dialog-icon { width: 44px; height: 44px; border-radius: 14px; }
  .roadmap-dialog h2 { font-size: 1.35rem; }
  .roadmap-dialog-header p { display: none; }
  .roadmap-dialog-body { padding: 16px; }
  .roadmap-dialog-section { padding: 14px; }
  .roadmap-dialog footer { padding: 14px 16px 16px; }
  .roadmap-dialog footer { flex-direction: column-reverse; }
  .roadmap-dialog footer button { width: 100%; }
  .roadmap-confirm-card { padding: 26px 19px 19px; }
  .roadmap-confirm-actions { grid-template-columns: 1fr; }
  .roadmap-confirm-delete { grid-row: 1; }
  .custom-roadmap-seo { padding: 32px 18px; }
  .custom-roadmap-seo-cta > div:last-child { width: 100%; align-items: stretch; flex-direction: column; }
  .custom-roadmap-seo-cta a { width: 100%; }
  .custom-roadmap-faq { padding-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  @page { size: A4 portrait; margin: 12mm 13mm 14mm; }
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  html,
  body.custom-roadmap-page,
  body.custom-roadmap-page.has-shared-navbar { padding: 0 !important; background: #fff !important; }
  .navbar,
  .site-footer,
  .custom-roadmap-hero,
  .custom-roadmap-breadcrumb,
  .custom-roadmap-seo,
  .roadmap-library,
  .roadmap-editor-toolbar,
  .roadmap-section-heading .roadmap-secondary-action,
  .destination-card-actions,
  .photo-actions,
  .destination-photo-remove,
  .roadmap-item-photo-remove,
  .destination-items-head button,
  .item-actions,
  .roadmap-toast,
  .roadmap-confirm-dialog,
  .flatpickr-calendar,
  .roadmap-select-menu,
  #cookie-banner,
  .cookie-prefs-overlay { display: none !important; }
  .custom-roadmap-main { width: 100%; padding: 0; }
  .roadmap-workspace { display: block !important; margin: 0; }
  .roadmap-editor-shell { overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
  .roadmap-print-brand {
    display: flex !important;
    align-items: center;
    gap: 18px;
    margin: 0 0 6mm;
    padding: 0 0 4mm;
    border-bottom: 1px solid #d9e6dc;
  }
  .roadmap-print-brand img { width: 31mm; height: auto; clip-path: inset(1.2mm); }
  .roadmap-print-brand div { display: grid; gap: 1mm; min-width: 0; }
  .roadmap-print-brand span { color: #2f8058; font-size: 7pt; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
  .roadmap-print-brand strong { color: #123f2d; font-family: Inika, Georgia, serif; font-size: 16pt; line-height: 1.15; }
  .roadmap-print-brand small { color: #687b70; font-size: 7.5pt; }
  .roadmap-overview,
  .roadmap-destinations-section { padding: 0; background: #fff; }
  .roadmap-overview { margin-bottom: 5mm; }
  .roadmap-destinations-section { padding-top: 0; }
  .roadmap-section-heading { margin-bottom: 4mm; }
  .roadmap-section-number { width: 9mm; height: 9mm; font-size: 7pt; }
  .roadmap-section-heading h3 { font-size: 16pt; }
  .roadmap-section-heading p { font-size: 7.5pt; }
  .roadmap-overview .roadmap-form-grid { gap: 3mm 5mm; }
  .roadmap-field { gap: 1mm; font-size: 7pt; }
  .roadmap-field input,
  .roadmap-field textarea,
  .roadmap-field select,
  .roadmap-calendar-input,
  .roadmap-select-trigger {
    min-height: 9mm;
    padding: 2mm 3mm;
    border-color: #d9e6dc;
    border-radius: 3mm;
    background: #fff;
    box-shadow: none;
    font-size: 8pt;
  }
  .roadmap-field textarea,
  .roadmap-overview .roadmap-field textarea { min-height: 14mm; height: 14mm; }
  .roadmap-summary { margin: 0 0 4mm 12mm; }
  .roadmap-summary span { padding: 1.5mm 2.5mm; font-size: 6.5pt; }
  .destination-list { gap: 5mm; }
  .destination-card {
    overflow: hidden;
    break-inside: auto;
    margin-bottom: 5mm;
    border: 1px solid #d7e5da;
    border-radius: 5mm;
    background: #fff;
    box-shadow: none;
  }
  .destination-card-head {
    grid-template-columns: 54mm minmax(0, 1fr);
    min-height: 39mm;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .destination-photo { min-height: 39mm; height: 39mm; }
  .destination-photo::after { display: none; }
  .destination-photo img {
    position: static !important;
    inset: auto !important;
    display: block;
    width: 100% !important;
    height: 39mm !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  .destination-card-copy { padding: 5mm; }
  .destination-index { font-size: 6.5pt; }
  .destination-card h4 { margin-top: 1mm; font-size: 17pt; }
  .destination-card-location,
  .destination-notes { font-size: 7.5pt; }
  .destination-card-dates { gap: 2mm; margin-top: 4mm; }
  .destination-card-dates span { padding: 1.5mm 2.5mm; font-size: 6.5pt; }
  .destination-items { padding: 0 5mm 2.5mm; }
  .destination-items-head { padding: 4mm 0 3mm; }
  .destination-items-head > div > span { font-size: 6pt; }
  .destination-items-head strong { font-size: 12pt; }
  .destination-items-head small { font-size: 6.5pt; }
  .destination-item-list { display: block; }
  .roadmap-item {
    grid-template-columns: 26mm minmax(0, 1fr);
    gap: 4mm;
    min-height: 20mm;
    padding: 2mm;
    break-inside: avoid;
    page-break-inside: avoid;
    border-color: #dce8de;
    border-radius: 4mm;
    background: #fbfdf9;
    box-shadow: none;
    transform: none !important;
  }
  .roadmap-item + .roadmap-item { margin-top: 2.5mm; }
  .roadmap-item-photo { width: 26mm; height: 17mm; grid-row: auto; border-radius: 3mm; }
  .roadmap-item-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .roadmap-item h5 { margin: 1mm 0; font-size: 9pt; }
  .roadmap-item-type { font-size: 5.5pt; }
  .roadmap-item-meta { font-size: 6.5pt; }
}
