/* Trips: cards on home, the trip header, tool tiles, people. Tokens only. */

.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.trip-card {
  display: flex; flex-direction: column; overflow: hidden; color: inherit;
  background: var(--card); border: var(--border-w) solid var(--line); border-radius: 14px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.trip-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 18px rgb(0 0 0 / 0.08); }
@media (prefers-reduced-motion: reduce) { .trip-card, .trip-card:hover { transition: none; transform: none; } }
.trip-card img { width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: 200px; object-fit: cover; display: block; }
.trip-card .body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.trip-card h2 { font-size: 22px; }
.trip-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faces { display: flex; }
.faces .av + .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--card); }

.trip-hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  background: var(--card); border: var(--border-w) solid var(--line); border-radius: 14px; overflow: hidden;
}
.trip-hero .text { padding: 32px 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.trip-hero h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.02; }
.trip-hero > img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.facts { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tool { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.tool h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.tool.soon { opacity: 0.72; }
.tool .when { font-size: 13px; font-weight: 600; color: var(--ink-2); }

.people { display: flex; flex-direction: column; }
.person { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; }
.person .who { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.person form { display: flex; gap: 8px; align-items: center; }
.person .input { min-height: 40px; padding-block: 6px; }

.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.split > .main { flex: 999 1 520px; min-width: 0; }
.split > .side { flex: 1 1 320px; min-width: 0; }

.roles-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.roles-table th { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding: 6px 4px; text-align: center; }
.roles-table td { padding: 9px 4px; border-top: 1px solid var(--line); text-align: center; }
.roles-table td:first-child { text-align: left; padding-right: 8px; }

.copy-link { display: flex; gap: 8px; }
.copy-link .input { flex: 1; min-width: 0; font-size: 14px; }

/* To-dos */
.todo-list { gap: 10px; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.list-head h2 { font-size: 24px; }
.trail-progress { display: flex; flex-wrap: wrap; gap: 3px; }
.todos { display: flex; flex-direction: column; }
.todo { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.todos .todo:first-child { border-top: 0; }
.todo form { margin: 0; }
.todo button.check { cursor: pointer; padding: 0; color: var(--on-ink); }
.todo button.check:hover { border-color: var(--pine); }
.todo .what { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.todo .title { color: var(--ink); font-weight: 500; }
.todo.done .title { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--line-2); }
.todo .meta { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.todo .meta .who { display: inline-flex; align-items: center; gap: 6px; }
.check.dashed { border-style: dashed; }
.add-todo { display: flex; align-items: center; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.input.bare { border: 0; background: transparent; padding-inline: 0; min-height: 40px; flex: 1; }
.finished summary { cursor: pointer; padding: 6px 0; }
.all-done { display: flex; align-items: center; gap: 8px; }
.wrap.narrow-wide { max-width: 820px; }
.todo-detail .todo { border-top: 0; padding-top: 0; font-size: 20px; }
.assignees { border: 0; padding: 0; margin: 0; }
.pick { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; min-height: 32px; }
.comment { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.comment-body, .notes { overflow-wrap: anywhere; }

/* Trail log */
.trail-log { display: flex; flex-direction: column; gap: 12px; }
.trail-log li { display: flex; gap: 12px; align-items: flex-start; }
.trail-log .when { display: block; }

/* Destination search */
.place { position: relative; }
.place-list {
  position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none;
  background: var(--card); border: var(--border-w) solid var(--line-2); border-radius: 10px; box-shadow: 0 10px 24px rgb(0 0 0 / 0.12);
}
.place-option { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.place-option:hover, .place-option[aria-selected="true"] { background: var(--paper); }

/* Map and weather */
.place-panel { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.place-panel .map { flex: 2 1 420px; min-height: 320px; overflow: hidden; padding: 0; }
.place-panel .weather { flex: 1 1 280px; }
.map-pin {
  width: 14px; height: 28px; background: var(--mark);
  -webkit-mask: url("/assets/marks/blaze-a7568329.png") center / 100% 100% no-repeat; mask: url("/assets/marks/blaze-a7568329.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.25));
}
.weather { gap: 14px; }
.forecast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px 8px; }
.forecast li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.typical { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.typical .big { font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 1; }
.weather .credit { margin-top: auto; font-size: 12px; }
.wicon { display: inline-block; width: 30px; height: 30px; flex: none; background: var(--ink);
  -webkit-mask: var(--w) center / contain no-repeat; mask: var(--w) center / contain no-repeat; }
.wicon.sun { --w: url("/assets/marks/weather-sun-9e6e252a.png"); background: var(--mark); }
.wicon.partly { --w: url("/assets/marks/weather-partly-0fcd14be.png"); }
.wicon.cloud { --w: url("/assets/marks/weather-cloud-2ab87bc9.png"); }
.wicon.rain { --w: url("/assets/marks/weather-rain-dcfe6804.png"); background: var(--lake); }
.wicon.storm { --w: url("/assets/marks/weather-storm-a8417e18.png"); }
.wicon.snow { --w: url("/assets/marks/weather-snow-38ff70dc.png"); background: var(--lake); }
.wicon.fog { --w: url("/assets/marks/weather-fog-69f3ed06.png"); background: var(--ink-2); }
.mapboxgl-ctrl-group { background: var(--card) !important; }

/* Schedule */
.month-scroll { overflow-x: auto; }
.month { width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; }
.month th { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); text-align: left; padding: 6px 8px; }
.month td { vertical-align: top; height: 96px; padding: 6px 6px 8px; border: 1px solid var(--line); background: var(--card); }
.month td.out { background: var(--paper); }
.month td.out .day { color: var(--ink-2); }
.month td.away { border-top: 3px dashed var(--blaze); background: var(--soft); }
.month td.selected { outline: 2px solid var(--ink); outline-offset: -2px; }
.month .day { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: 14px; color: var(--ink); }
.month td.today .day { background: var(--ink); color: var(--on-ink); }
.month .chip { display: block; font-size: 12.5px; line-height: 1.3; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend { display: flex; align-items: center; gap: 10px; }
.trail-line { display: inline-block; width: 40px; border-top: 3px dashed var(--blaze); }
.agenda { display: flex; flex-direction: column; }
.event { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.agenda .event:first-child { border-top: 0; }
.event .when { flex: none; width: 96px; font-weight: 700; font-size: 14px; }
.agenda .event { flex-direction: column; gap: 4px; }
.agenda .event .when { width: auto; color: var(--ink-2); }
.agenda .event .btn.link { align-self: flex-start; padding-inline: 0; }

/* Photos and files */
.folders { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.folder { padding: 8px 14px; border-radius: 10px; border: var(--border-w) solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px; }
.folder:hover { text-decoration: none; border-color: var(--line-2); }
.folder.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.new-folder .input { min-height: 40px; width: 180px; }
.dropzone { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px 22px; border-style: dashed; border-width: 2px; }
.dropzone.dragging { border-color: var(--blaze); background: var(--soft); }
.dropzone .stack { flex: 1 1 220px; }
.dropzone progress { flex-basis: 100%; height: 6px; accent-color: var(--pine); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); gap: 10px; }
.photo { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 160ms ease; }
.photo:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .photo img, .photo:hover img { transition: none; transform: none; } }
.video-tile { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; color: var(--ink-2); }
.play { width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: var(--border-w) solid var(--line-2); position: relative; }
.play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.files { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; }
.files th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding: 8px 0; }
.files td { padding: 12px 8px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.files .num { text-align: right; }
.viewer { margin: 0; overflow: hidden; padding: 0; }
.viewer img, .viewer video { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: var(--paper); }
.viewer figcaption { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 16px 20px; }
.file-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 20px; }
.file-card .ticon { width: 56px; height: 56px; color: var(--ink-2); }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.mini-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }

/* Ideas and polls */
.composer { gap: 12px; }
.input.big { font-size: 20px; font-weight: 600; }
.tabs { display: flex; gap: 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs a { color: var(--ink-2); font-weight: 600; padding: 8px 0; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); border-bottom: 2.5px solid var(--ink); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.ideas-board { columns: 3 300px; column-gap: 18px; }
.ideas-board > .board { break-inside: avoid; margin: 0 0 18px; overflow: hidden; display: block; }
.idea .preview { width: 100%; height: 170px; object-fit: cover; display: block; }
.idea .body, .poll .body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.idea h3, .poll h3 { font-size: 18px; line-height: 1.25; }
.idea h3 a { color: var(--ink); }
.idea.dropped { opacity: 0.7; }
.idea.dropped h3 a { text-decoration: line-through; text-decoration-color: var(--line-2); }
.idea .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.idea .meta form { margin: 0; }
.into { border: var(--border-w) solid var(--line-2); background: var(--card); color: var(--ink-2); border-radius: 8px; padding: 4px 10px; font: 600 13px/1.4 var(--body); cursor: pointer; min-height: 32px; }
.into.on { background: var(--soft); color: var(--ink); border-color: var(--blaze); }
.poll { border: 1.5px solid var(--ink); }
.poll-eyebrow { color: var(--blaze-ink); }
.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.results .bar { height: 6px; background: var(--paper); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.results .bar span { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.results .winner .bar span { background: var(--pine); }
.ballot fieldset { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.ballot .option { display: flex; gap: 12px; align-items: center; padding: 12px 14px; min-height: 48px; border: var(--border-w) solid var(--line); border-radius: 12px; cursor: pointer; }
.ballot .option:has(input:checked) { border: 2px solid var(--ink); }
.ballot input[type="radio"], .ballot input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.small-btn { min-height: 34px; padding: 6px 10px; font-size: 14px; }

/* Explore (Atlas) and plan my days */
.atlas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; align-items: stretch; }
.atlas-place { overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.atlas-place figure { margin: 0; position: relative; }
.atlas-place figure img { width: 100%; height: 180px; object-fit: cover; display: block; }
.atlas-place .credit { position: absolute; right: 6px; bottom: 6px; font-size: 10.5px; padding: 2px 6px; border-radius: 4px; background: rgb(0 0 0 / 0.55); color: #fff; max-width: 90%; }
.atlas-place .body { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.atlas-place .body > form:last-child, .experience > form:last-child { margin-top: auto; padding-top: 4px; }
.atlas-place figure.no-photo { height: 180px; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--ink-2); }
.atlas-place figure.no-photo .ticon { width: 44px; height: 44px; opacity: 0.5; }
.atlas-place .eyebrow, .experience .eyebrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.atlas-place h3 { font-size: 18px; line-height: 1.25; }
.scores { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px 12px; }
.score { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.score-marks { display: inline-flex; gap: 2px; }
.score-marks .blaze { width: 6px; height: 11px; }
.score-marks .blaze.ghost { border-width: 1.5px; }
.explore-map { min-height: 360px; padding: 0; overflow: hidden; }
.map-dot { width: 10px; height: 18px; background: var(--mark); cursor: pointer;
  -webkit-mask: url("/assets/marks/blaze-a7568329.png") center / 100% 100% no-repeat; mask: url("/assets/marks/blaze-a7568329.png") center / 100% 100% no-repeat; }
.weights { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px 16px; }
.weight { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.proposal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.stop { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.stop input { width: 20px; height: 20px; accent-color: var(--pine); margin: 2px 0 0; }
.stop .when { font-weight: 700; width: 48px; flex: none; }
.trail-log li.unread .title { font-weight: 700; }
.trail-log .title { color: var(--ink); }
.code { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font: 13px/1.6 ui-monospace, "SF Mono", Menlo, monospace; overflow-x: auto; white-space: pre; }

@media (max-width: 640px) {
  .month { min-width: 0; }
  .month th { padding: 4px 2px; text-align: center; font-size: 11px; letter-spacing: 0.02em; }
  .month td { height: 52px; padding: 4px 2px; text-align: center; }
  .month .chip { display: none; }
  .month td.has-events::after { content: ""; display: block; margin: 3px auto 0; width: 6px; height: 10px; background: var(--blaze);
    -webkit-mask: url("/assets/marks/blaze-a7568329.png") center / 100% 100% no-repeat; mask: url("/assets/marks/blaze-a7568329.png") center / 100% 100% no-repeat; }
}
.share-pick { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px; cursor: pointer; font: inherit; color: var(--ink); }
.share-pick:hover { border-color: var(--line-2); }

/* "Add anything": one line read into a to-do, plan or idea */
.quick-add { display: flex; gap: 8px; align-items: stretch; }
.quick-add .input { flex: 1; min-width: 0; }
.lede.quote { font-style: italic; }
.quick-alt { padding-top: 14px; border-top: var(--border-w) solid var(--line); }
details > summary { cursor: pointer; font-weight: 600; }

/* Experiences: things to do rather than see, a row above the places */
.experiences { display: flex; flex-direction: column; gap: 10px; }
.experience-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.experience { display: flex; flex-direction: column; gap: 6px; padding: 16px; scroll-snap-align: start; min-width: 0; }
.experience h3 { font-size: 18px; }
.experience .eyebrow { display: flex; align-items: center; gap: 6px; }
.experience .btn { align-self: flex-start; }
.experience-row { align-items: stretch; }
.experience.off-season { opacity: 0.72; }

/* Credit for a destination photo used as the cover (Commons licences need it) */
.trip-hero { position: relative; }
.cover-credit { position: absolute; right: 10px; bottom: 8px; padding: 2px 8px; border-radius: 6px; font-size: 11px; color: #FFFFFF; background: rgb(0 0 0 / 0.45); max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Explore: Things to do | Food */
.switch { display: inline-flex; gap: 4px; padding: 4px; border: var(--border-w) solid var(--line); border-radius: 12px; background: var(--card); align-self: flex-start; }
.switch a { padding: 8px 16px; border-radius: 8px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.switch a.on { background: var(--ink); color: var(--on-ink); }

/* People: invite someone already on the trip without an account */
.invite-inline { flex-basis: 100%; }
.invite-inline > summary { list-style: none; display: inline-flex; }
.invite-inline > summary::-webkit-details-marker { display: none; }
.invite-inline[open] > summary { display: none; }
.invite-inline form { margin-top: 8px; gap: 8px; flex-wrap: wrap; }
.invite-inline .input[type="email"] { flex: 1 1 220px; }
.invite-inline select.input { flex: 0 1 160px; }

/* Trip page: the trail log runs down the right; it follows you as you scroll */
.trip-body { margin-top: 24px; }
.trip-body > .main { flex: 999 1 560px; }
.trip-side, .trail-side { flex: 1 1 300px; max-width: 380px; }

@media (max-width: 959px) { .trail-side { max-width: none; } }
.trip-body .tools { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* "Add to ideas": clearly a button, with a plus */
.btn.add-idea { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.btn.add-idea::before { content: "+"; font-size: 17px; line-height: 1; margin-right: -2px; }
.btn.add-idea:hover { background: var(--ink); color: var(--on-ink); }
.btn.add-idea:focus-visible { outline: var(--focus-w) solid var(--lake); outline-offset: 2px; }

/* Trip map: numbered stops of each day's route */
.map-stop { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mark); color: #FFFFFF; font: 700 12px/1 var(--body); box-shadow: 0 0 0 2px var(--card); }

/* Trip page uses the width: content column plus the trail log on the right. */
.wrap.wide { max-width: 1440px; }
.trip-body { margin-top: 0; }
/* Three columns on wide screens: Add anything + forecast | the trip | trail log. */
.trip-body { display: flex; flex-direction: column; gap: 24px; }
.trip-body > .main { order: 1; }
.trip-body > .trip-left { order: 2; }
.trip-body > .trail-side { order: 3; max-width: none; }
@media (min-width: 1280px) {
  .trip-body { display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
  .trip-body > .main, .trip-body > .trip-left, .trip-body > .trail-side { order: 0; }
}
.trip-left .quick-add { flex-direction: column; }
.trip-left .quick-add .btn { align-self: flex-end; }
.trip-left .weather { padding: 18px 20px; gap: 10px; }
.trip-left .weather h2 { font-size: 17px; }
.trip-left .weather .forecast { display: flex; flex-direction: column; gap: 6px; }
.trip-left .weather .forecast li { display: grid; grid-template-columns: 4.5em 24px auto 1fr; align-items: center; gap: 8px; text-align: left; }
.trip-left .weather .forecast li .wicon { width: 22px; height: 22px; }
.trip-left .weather .typical .big { font-size: 30px; }
.place-panel .map { flex: 1 1 100%; }

/* Weather next to the map, compact: one line per day */
.place-panel .map { flex: 3 1 460px; min-height: 340px; }
.place-panel .weather { flex: 1 1 230px; padding: 18px 20px; gap: 10px; }
.place-panel .weather h2 { font-size: 17px; }
.place-panel .weather .forecast { display: flex; flex-direction: column; gap: 6px; }
.place-panel .weather .forecast li { display: grid; grid-template-columns: 4.5em 24px auto 1fr; align-items: center; gap: 8px; text-align: left; padding: 0; }
.place-panel .weather .forecast li .wicon { width: 22px; height: 22px; }
.place-panel .weather .typical .big { font-size: 30px; }

/* Plans: the map of solid plans, one numbered colour mark per day */
.plans-map { min-height: 360px; padding: 0; overflow: hidden; }
.route-legend { list-style: none; margin: -16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.route-legend li { display: inline-flex; align-items: center; gap: 6px; }

/* Typical food */
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; align-items: stretch; }
.dish { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.dish h3 { font-size: 18px; }
.dish .local { font-style: italic; margin-top: -4px; }
.dish .kids-line { margin-top: auto; padding-top: 4px; }
.dish.off-season { opacity: 0.72; }
.map-unavailable { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--ink-2); font-size: 14px; background: var(--soft); }
/* Hover cards on map markers */
.map-popup .mapboxgl-popup-content { padding: 10px 12px; border-radius: 10px; background: var(--card); color: var(--ink); box-shadow: 0 6px 20px rgb(0 0 0 / 0.18); border: var(--border-w) solid var(--line); }
.map-popup .mapboxgl-popup-tip { display: none; }
.map-card { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.3; }
.map-card .eyebrow { font-size: 11px; }
.map-stop { cursor: pointer; }
.map-stop:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Use wide screens: the trip page grows to 1920px and the side columns widen with it. */
.wrap.wide { max-width: min(2200px, 100%); padding-inline: max(24px, 2vw); }
@media (min-width: 1600px) {
  .trip-body { grid-template-columns: clamp(300px, 20vw, 380px) minmax(0, 1fr) clamp(340px, 22vw, 440px); gap: 32px; }
  .place-panel .map { min-height: 420px; }
}
/* Hero: the photo gets the larger share once there is room; actions are compact and stay on one line. */
@media (min-width: 900px) {
  .trip-hero { grid-template-columns: minmax(300px, 2fr) 3fr; }
  .trip-hero > img { min-height: 340px; }
}
.trip-hero .text .row:has(> .btn) { flex-wrap: wrap; gap: 8px; }
.trip-hero .text .btn { min-height: 34px; padding: 6px 14px; font-size: 14px; }
.trip-hero .text { padding: 28px 32px; }
/* Schedule: one week, seven columns, full titles */
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.week-day { display: flex; flex-direction: column; gap: 6px; min-height: 220px; padding: 8px; border-radius: 10px; background: var(--soft); min-width: 0; }
.week-day.away { background: color-mix(in oklab, var(--mark) 10%, var(--card)); border-top: 2px dashed var(--mark); }
.week-day.selected { outline: 2px solid var(--ink); outline-offset: -2px; }
.week-date { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--ink); }
.week-date .num { font-weight: 700; font-size: 18px; }
.week-day.today .week-date .num { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 0 7px; }
.week-event { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px; border-radius: 8px; background: var(--card); border: var(--border-w) solid var(--line); text-decoration: none; color: var(--ink); font-size: 13px; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
.week-event:hover { border-color: var(--ink-2); }
.week-event .time { font-size: 12px; color: var(--ink-2); }
@media (max-width: 900px) {
  .week { grid-template-columns: 1fr; }
  .week-day { min-height: 0; }
}
@media (min-width: 1100px) { .wrap.wide > .split > .main:has(.week) { flex: 4 1 0; } }
@media (min-width: 1100px) { .wrap.wide > .split > .side { flex: 0 1 380px; } .wrap.wide > .split > .main { flex: 1 1 0; max-width: none; } }

/* Idea -> plan flow strip */
.flow ol { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flow li a { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; border: var(--border-w) solid var(--line); background: var(--card); color: var(--ink-2); text-decoration: none; }
.flow li a:hover { border-color: var(--ink-2); }
.flow li.on a { border-color: var(--ink); color: var(--ink); }
.flow-n { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: var(--soft); font-weight: 700; font-size: 13px; }
.flow li.on .flow-n { background: var(--ink); color: var(--paper); }
.flow li + li::before { content: ""; }

/* Make it a plan */
.plan-it { position: relative; }
.plan-it > summary { list-style: none; cursor: pointer; display: inline-flex; }
.plan-it > summary::-webkit-details-marker { display: none; }
.plan-it-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 8px; padding: 12px; border-radius: 10px; background: var(--soft); }
.plan-it-form .field { min-width: 0; }
.card-actions { flex-wrap: wrap; align-items: flex-start; }

/* Day planner */
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin-top: 12px; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { flex: none; display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 76px; padding: 8px 12px; border-radius: 12px; border: var(--border-w) solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; }
.day-tab .num { font-size: 22px; font-weight: 800; line-height: 1.1; }
.day-tab.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.day-tab.on .muted, .day-tab.on .eyebrow { color: var(--paper); opacity: .8; }
.day-tab.today:not(.on) { border-color: var(--mark); }
.day-tab.other { justify-content: center; color: var(--ink-2); font-weight: 600; }
.planner { display: grid; gap: 24px; margin-top: 16px; }
@media (min-width: 1100px) {
  .planner { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); align-items: start; }
  .planner-side { position: sticky; top: 16px; }
}
.planner-map { min-height: 420px; }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.plan-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0; background: var(--card); border: var(--border-w) solid var(--line); border-radius: 14px; overflow: hidden; scroll-margin-top: 80px; }
.plan-card.booked { border-color: color-mix(in oklab, var(--pine) 50%, var(--line)); }
.plan-card:target { outline: 2px solid var(--mark); outline-offset: 2px; }
.plan-photo { position: relative; background: var(--soft); min-height: 140px; }
.plan-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan-photo .map-stop { position: absolute; top: 10px; left: 10px; }
.plan-body { padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.plan-body h3 { font-size: 19px; line-height: 1.25; margin: 0; }
.plan-body p { margin: 0; }
.plan-when { color: var(--ink-2); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.plan-flag { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 6px; border: var(--border-w) solid currentColor; }
.plan-flag.booked { color: var(--pine); }
.plan-flag.needs { color: var(--blaze-ink); }
.plan-actions { gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.plan-actions form { margin: 0; }
.small-input { min-height: 34px; padding: 4px 8px; font-size: 13px; width: auto; }
.leg { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 86px; min-height: 40px; }
.leg-line { width: 2px; align-self: stretch; background: repeating-linear-gradient(var(--ink-2) 0 4px, transparent 4px 8px); opacity: .5; }
.leg.tight .leg-warning { color: var(--blaze-ink); }
.leg.late .leg-warning { color: var(--blaze-ink); background: color-mix(in oklab, var(--mark) 14%, var(--card)); padding: 2px 8px; border-radius: 6px; }
.plan-list > .plan-card + .plan-card { margin-top: 12px; }
.pace-note { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: color-mix(in oklab, var(--mark) 10%, var(--card)); border: var(--border-w) solid color-mix(in oklab, var(--mark) 35%, var(--line)); }
.pace-note ul { margin: 6px 0 0; padding-left: 18px; }
.map-stop.booked { background: var(--pine); }
.map-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; display: block; }
@media (max-width: 640px) {
  .plan-card { grid-template-columns: 1fr; }
  .plan-photo { min-height: 160px; }
  .leg { padding-left: 24px; }
}
.take-me { margin-top: 6px; }
.due-today { margin-bottom: 14px; padding: 12px 16px; }
.due-today ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.add-todo .due { flex: none; width: 150px; }
.today-board { border-color: var(--mark); }
.today-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.today-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* Who's coming on a new trip */
.who-list { display: flex; flex-wrap: wrap; gap: 8px; }
.who-pick { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 12px; border: var(--border-w) solid var(--line); background: var(--card); cursor: pointer; }
.who-pick:has(input:checked) { border-color: var(--ink); background: var(--soft); box-shadow: inset 0 0 0 1px var(--ink); }
.who-pick input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.who-name { display: flex; flex-direction: column; line-height: 1.2; }
.icon-pick summary { cursor: pointer; color: var(--lake); }
.icon-pick .explorers { margin-top: 8px; max-height: 320px; overflow-y: auto; }
.fellows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fellows li { display: flex; align-items: center; gap: 10px; }
.fellows li .who-name { flex: 1; min-width: 0; }
.fellows li form { margin: 0; }
/* Trail log: never taller than the trip column beside it; the rest is one click away. */
@media (min-width: 1280px) {
  .trip-body > .trail-side { align-self: stretch; contain: size; overflow: hidden; display: flex; flex-direction: column; }
  .trip-body > .trail-side .trail-log { flex: 1 1 auto; min-height: 0; overflow: hidden; mask-image: linear-gradient(to bottom, #000 calc(100% - 60px), transparent); }
}
.trail-side .trail-log-all { align-self: flex-start; margin-top: 8px; }
@media (max-width: 1279px) { .trail-side .trail-log > li:nth-child(n+9) { display: none; } }
.plan-card.no-photo { grid-template-columns: 1fr; }
.plan-card.no-photo .plan-body { border-left: 4px solid var(--line); }
.plan-card.no-photo.booked .plan-body { border-left-color: var(--pine); }
.planner-map { min-height: 340px; margin-top: 16px; }
.add-plan .more-fields { gap: 14px; }
.add-plan lexxy-editor, .add-plan .lexxy-editor__content { min-height: 120px; }
.booked-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.booked-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--pine); }
@media (min-width: 1100px) { .planner { grid-template-columns: minmax(0, 1fr) 380px; } }
.pace-note { position: relative; padding-right: 44px; }
.note-close { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.note-close:hover { background: var(--card); color: var(--ink); }

/* Trip page: a slim banner instead of the big hero */
.trip-hero.compact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); max-height: 300px; }
.trip-hero.compact .text { padding: 20px 24px; gap: 12px; justify-content: flex-start; }
.trip-hero.compact h1 { font-size: clamp(26px, 2.6vw, 34px); }
.trip-hero.compact .lede { font-size: 15px; margin: 0; }
.trip-hero.compact .facts { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.trip-hero.compact > img { min-height: 0; height: 100%; max-height: 300px; }
@media (max-width: 899px) { .trip-hero.compact { grid-template-columns: 1fr; max-height: none; } .trip-hero.compact > img { max-height: 200px; } }

/* Ideas -> Plans */
.flow-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; }
.flow-card { display: flex; flex-direction: column; gap: 10px; }
.flow-card h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.flow-card h2 a { color: inherit; text-decoration: none; }
.flow-card p { margin: 0; }
.flow-actions { gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.flow-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--mark); font-weight: 700; text-align: center; }
.flow-arrow .flow-trail { width: 170px; height: auto; }
.flow-arrow .trail, .flow-arrow .head { stroke: var(--mark); }
.flow-arrow .steps { fill: var(--ink-2); opacity: .55; }
.flow-arrow .flag { stroke: var(--ink-2); }
@media (max-width: 899px) {
  .flow-pair { grid-template-columns: 1fr; }
  .flow-arrow .flow-trail { transform: rotate(90deg); width: 90px; margin: 20px 0; }
}
.side-tools .tool { padding: 16px 18px; }
.side-tools .tool h2 { font-size: 18px; }
.idea-photos { display: grid; gap: 2px; height: 160px; overflow: hidden; border-radius: 12px 12px 0 0; }
.idea-photos.count-2 { grid-template-columns: 1fr 1fr; }
.idea-photos.count-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.idea-photos.count-3 img:first-child { grid-row: span 2; }
.idea-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.add-photos { margin: 8px 0; }
/* Files with a preview (first page of a PDF) */
.file-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.file-card { display: flex; flex-direction: column; border: var(--border-w) solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); color: var(--ink); text-decoration: none; height: 100%; }
.file-card:hover { border-color: var(--ink-2); }
.file-preview { display: flex; align-items: flex-start; justify-content: center; height: 220px; background: var(--soft); overflow: hidden; }
.file-preview img { width: 100%; height: auto; object-fit: cover; object-position: top; }
.file-ext { align-self: center; font-weight: 800; font-size: 22px; letter-spacing: .08em; color: var(--ink-2); }
.file-meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0; }
.file-meta strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.3; }
.photo-more { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: 12px; font-weight: 700; }
/* Place picker */
.place-picker { display: flex; flex-direction: column; gap: 8px; }
.place-search { position: relative; }
.place-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--card); border: var(--border-w) solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / .14); }
.place-results li { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.place-results li:hover, .place-results li:focus { background: var(--soft); }
.place-picker-map { height: 260px; border-radius: 12px; overflow: hidden; border: var(--border-w) solid var(--line); }
.place-picker > .btn.link { align-self: flex-start; }

/* Ideas board: pinned cards on a board, suggestions alongside */
.compact-composer { padding: 14px 18px; }
.board-layout { display: grid; gap: 24px; margin-top: 16px; }
@media (min-width: 1100px) { .board-layout.with-lane { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.corkboard { columns: 3 280px; column-gap: 18px; padding: 22px; border-radius: 16px; background:
  radial-gradient(circle at 1px 1px, color-mix(in oklab, var(--ink-2) 18%, transparent) 1px, transparent 1.5px) 0 0 / 18px 18px,
  color-mix(in oklab, var(--mark) 6%, var(--paper)); border: var(--border-w) solid var(--line); min-height: 240px; }
.corkboard > * { break-inside: avoid; margin: 0 0 18px; position: relative; }
.corkboard > .idea::before, .corkboard > .poll::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--mark); box-shadow: 0 2px 3px rgb(0 0 0 / .25); z-index: 2; }
.corkboard > .idea { box-shadow: 0 2px 8px rgb(0 0 0 / .06); }
.corkboard > .idea:nth-child(3n+1) { transform: rotate(-0.6deg); }
.corkboard > .idea:nth-child(3n+2) { transform: rotate(0.5deg); }
.idea-dismiss-form { position: absolute; top: 8px; right: 8px; z-index: 3; margin: 0; }
.idea-dismiss, .suggestion-dismiss { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--card); color: var(--ink-2); font-size: 18px; line-height: 1; cursor: pointer; opacity: .7; }
.idea-dismiss:hover, .suggestion-dismiss:hover { opacity: 1; background: var(--soft); color: var(--ink); }
.suggest-lane { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; }
.suggest-lane h2 { font-size: 20px; margin: 0; }
.suggest-lane p { margin: 0; }
.suggestions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.suggestion { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--card); border: var(--border-w) solid var(--line); }
.suggestion img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.suggestion:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.suggestion-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.suggestion-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.suggestion-actions form { margin: 0; }
.flow-card { position: relative; cursor: pointer; }
.flow-card:hover { border-color: var(--ink-2); }
.flow-card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.flow-card a:not(.card-link) { position: relative; z-index: 1; }
.plan-thumb { width: 44px; height: 46px; object-fit: cover; border-radius: 8px; flex: none; }
html[data-mode="dark"] .flow-trail, html[data-mode="hc-dark"] .flow-trail { filter: invert(1) hue-rotate(180deg); }

/* Split day: a column per person */
.day-columns { margin-bottom: 16px; overflow-x: auto; }
.all-day-strip { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.all-day-strip a { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--soft); font-size: 13px; color: var(--ink); text-decoration: none; }
.cols-head, .cols-body { display: grid; grid-template-columns: 52px repeat(var(--cols), minmax(120px, 1fr)); column-gap: 8px; min-width: calc(52px + var(--cols) * 128px); }
.cols-head { padding-bottom: 8px; border-bottom: var(--border-w) solid var(--line); }
.col-person { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.cols-body { grid-template-rows: repeat(var(--rows), 14px); padding-top: 6px; background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 56px); background-position: 0 6px; }
.col-hour { grid-column: 1; font-size: 11px; color: var(--ink-2); transform: translateY(-6px); }
.col-block { margin: 1px 0; padding: 4px 8px; border-radius: 8px; background: color-mix(in oklab, var(--lake) 14%, var(--card)); border: var(--border-w) solid color-mix(in oklab, var(--lake) 40%, var(--line)); color: var(--ink); text-decoration: none; overflow: hidden; display: flex; flex-direction: column; gap: 1px; font-size: 13px; line-height: 1.25; min-height: 0; }
.col-block.everyone { background: color-mix(in oklab, var(--mark) 12%, var(--card)); border-color: color-mix(in oklab, var(--mark) 40%, var(--line)); }
.col-block.booked { box-shadow: inset 3px 0 0 var(--pine); }
.col-block:hover { border-color: var(--ink-2); }
.plan-who { color: var(--lake); font-weight: 600; }
.leg { flex-wrap: wrap; row-gap: 4px; }
.leg-modes { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: var(--soft); }
.leg-mode { width: 28px; height: 24px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.leg-mode[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .15); }
.leg-go { position: relative; }
.leg-go > summary { list-style: none; cursor: pointer; padding: 2px 6px; }
.leg-go > summary::-webkit-details-marker { display: none; }
.leg-go-menu { position: absolute; z-index: 10; top: 100%; left: 0; display: flex; flex-direction: column; min-width: 150px; padding: 4px; background: var(--card); border: var(--border-w) solid var(--line); border-radius: 10px; box-shadow: 0 8px 20px rgb(0 0 0 / .12); }
.leg-go-menu a { padding: 6px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 14px; }
.leg-go-menu a:hover { background: var(--soft); }

/* Getting there & back, stays */
.journey h2 { font-size: 20px; }
.journey-legs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.travel-leg { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; align-items: start; }
.travel-leg + .travel-leg { border-top: var(--border-w) dashed var(--line); }
.travel-icon { font-size: 22px; line-height: 1; text-align: center; padding-top: 2px; }
.travel-body p { margin: 2px 0 0; }
.travel-strip { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.travel-strip a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--soft); border: var(--border-w) solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.travel-strip a:hover { border-color: var(--ink-2); }
.stay-card h2 { font-size: 22px; margin: 0; }
.stay-card .facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 8px 0 0; }
.zone-select { max-width: 200px; }
.leg-label { font-weight: 700; color: var(--ink); }
.leg-start, .leg-home { background: color-mix(in oklab, var(--soft) 60%, transparent); border-radius: 10px; padding-right: 10px; }
.leg-start { margin-bottom: 10px; }
.leg-home { margin-top: 10px; }
.map-home { width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 2px 4px rgb(0 0 0 / .2); }
/* Idea page: what to do with it, aligned in one grid */
.idea-action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; align-items: start; margin-top: 8px; }
.idea-action { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin: 0; min-width: 0; }
.idea-action .plan-it-form { position: absolute; z-index: 5; min-width: 280px; box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.idea-quiet-actions { gap: 16px; margin-top: 14px; padding-top: 10px; border-top: var(--border-w) solid var(--line); }
.idea-quiet-actions form { margin: 0; }
/* Travel kit */
.kit-card { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.kit-cover { width: 150px; aspect-ratio: 210 / 297; border-radius: 6px; background: linear-gradient(180deg, #2a3a31, #1D2A23); color: #fff; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; box-shadow: 0 6px 18px rgb(0 0 0 / .18); flex: none; }
.kit-cover .eyebrow { color: #FFD9C7; font-size: 9px; }
.kit-cover strong { font-family: var(--display); font-size: 17px; line-height: 1.1; }
.kit-contents { margin: 4px 0 0; padding-left: 18px; }
