/* M06/M07: styles scoped to the results and saved-trip lists. */
.mv-results-page .mv-results-shell {padding-top:24px}
.mv-results-page .mv-results-header h1 {font-size:clamp(28px,4vw,42px);line-height:1.15}
.mv-preferences-line {display:flex;align-items:center;justify-content:space-between;gap:8px 20px;margin-top:12px;padding:8px 14px;background:var(--mv-teal-soft);border:1px solid #d5e7e7;border-radius:14px}
.mv-preferences-line p {margin:0;min-width:0;color:#405a6e;font-size:14px;overflow-wrap:anywhere}
.mv-list-text-action {display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--mv-primary-dark);font-size:14px;font-weight:750;flex-shrink:0}
.mv-list-help {margin:4px 0 8px;color:#405a6e;font-size:14px}
.mv-list-help>summary {min-height:44px;padding:12px 0;cursor:pointer;width:fit-content;color:var(--mv-primary-dark);font-weight:650}
.mv-list-help-body {padding:4px 0 14px;line-height:1.6}
.mv-list-help-body>p {margin:0 0 12px;max-width:80ch}
.mv-results-page .mv-results-completed-preferences {margin:0}
.mv-results-page .mv-results-completed-preferences button {min-height:48px;grid-template-columns:auto minmax(0,1fr) auto}
.mv-results-page .mv-results-search {padding:0;margin:8px 0 12px;background:none;border:0;border-radius:0}
.mv-results-page .mv-results-toolbar {margin-top:0;flex-wrap:wrap}
.mv-results-page .mv-results-filter-summary {margin:12px 0}
.mv-results-page .mv-results-filter-summary>p {margin-bottom:0}
.mv-results-page .mv-results-filter-summary ul {margin-top:8px}
.mv-results-page .mv-featured-section {margin-top:16px}
.mv-results-page .mv-results-section-heading {margin-bottom:14px;gap:10px}
.mv-results-page .mv-results-section-heading h2 {font-size:20px;line-height:1.3}
.mv-results-page .mv-results-filters button {min-height:44px}
.mv-results-page .mv-mobile-filter-trigger,.mv-results-page .mv-sort-control select {min-height:44px}
.mv-results-page .mv-results-filters {flex-wrap:wrap}
.mv-results-page .mv-results-toolbar :focus-visible {outline:3px solid var(--mv-primary);outline-offset:3px}
.mv-my-trips-page .mv-page-section {padding-top:24px}
.mv-my-trips-page .mv-page-header {margin-bottom:8px;gap:16px}
.mv-my-trips-page .mv-page-lead {margin-top:8px;font-size:15px}
.mv-my-trips-page .mv-saved-guidance {margin:0 0 12px}
.mv-list-booking-note {font-size:13px;line-height:1.5;color:#526a79;margin:0 0 12px}
.mv-my-trips-page .mv-saved-tabs {margin-top:12px}
.mv-trip-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.mv-trip-preview,.mv-my-trips-page .mv-saved-plan {min-width:0;padding:20px;border:1px solid #d5e4e8;border-radius:20px;background:#fff;box-shadow:0 6px 20px #08285507}
.mv-trip-preview-heading {display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center}
.mv-trip-thumb {height:72px;display:grid;place-items:center;background:var(--mv-teal-soft);border-radius:14px;overflow:hidden;color:var(--mv-primary-dark)}
.mv-trip-thumb img {width:100%;height:100%;object-fit:cover}
.mv-trip-eyebrow {margin:0 0 4px;font-size:12px;color:var(--mv-primary-dark);font-weight:750}
.mv-trip-preview h3,.mv-plan-heading h3 {font-size:22px;line-height:1.2;color:var(--mv-navy);font-weight:750;overflow-wrap:anywhere;margin:0}
.mv-trip-meta {font-size:14px;line-height:1.5;color:#526a79;margin:6px 0 0;overflow-wrap:anywhere}
.mv-trip-progress {font-size:13px;color:#405a6e;margin:12px 0 0}
.mv-trip-primary-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.mv-trip-primary-actions>a,.mv-trip-primary-actions>button {min-width:0;min-height:48px;padding:10px 12px;font-size:14px;line-height:1.4;white-space:normal;text-align:center;justify-content:center;gap:7px}
.mv-trip-primary-actions .mv-icon {flex-shrink:0}
.mv-trip-options {margin-top:10px}
.mv-trip-options>summary {min-height:44px;padding:12px 0;color:#405a6e;font-size:13px;font-weight:650;cursor:pointer;width:fit-content}
.mv-trip-option-actions {display:flex;flex-wrap:wrap;gap:4px 12px;border-top:1px solid #e3ebef;padding-top:4px}
.mv-trip-option-actions>button,.mv-trip-option-actions>a {min-height:44px;padding:10px 0;display:inline-flex;align-items:center;text-align:left;font-size:14px;line-height:1.5;color:var(--mv-primary-dark);text-decoration:underline;text-underline-offset:3px}
.mv-plan-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.mv-plan-heading>div {min-width:0}
.mv-plan-heading>.mv-chip {flex-shrink:0}
.mv-plan-feedback {margin:12px 0;padding:10px 12px;background:var(--mv-teal-soft);border-radius:10px;font-size:14px;line-height:1.5;color:var(--mv-navy)}
.mv-plan-dates {border-top:1px solid #d5e7e7;margin-top:8px}
.mv-plan-dates>summary {min-height:48px;padding:14px 0;font-size:14px;font-weight:700;color:var(--mv-primary-dark);cursor:pointer}
.mv-saved-plan fieldset {border:0;padding:0;margin:0;min-width:0}
.mv-plan-dates fieldset>p {font-size:13px;line-height:1.5;color:#526a79;margin:0 0 12px}
.mv-plan-date-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:16px}
.mv-plan-date-fields>button {grid-column:1/-1;justify-self:start;min-height:44px}
.mv-saved-plan label {min-width:0;font-size:14px;font-weight:650;color:var(--mv-navy)}
.mv-saved-plan .mv-form-field {display:block;width:100%;min-width:0;max-width:100%;min-height:48px;margin-top:6px;font-size:16px;box-sizing:border-box}
.mv-my-trips-page .mv-saved-itinerary {margin-top:8px}
.mv-saved-day h4 {color:var(--mv-navy);font-size:16px;font-weight:750;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}
.mv-saved-plan .mv-day-editor {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.mv-day-completed {display:flex;align-items:center;gap:10px;min-height:48px;align-self:end;cursor:pointer}
.mv-day-completed input {width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:var(--mv-primary)}
.mv-day-note {grid-column:1/-1}
.mv-my-trips-page .mv-day-note textarea.mv-form-field {min-height:112px;padding:12px 14px;resize:vertical;font-weight:400;line-height:1.6}
.mv-day-editor>button {grid-column:1/-1;justify-self:start;min-height:44px}
.mv-my-trips-page fieldset:disabled {opacity:.8}
.mv-list-help :focus-visible,.mv-preferences-line :focus-visible,.mv-trip-list :focus-visible {outline:3px solid var(--mv-primary);outline-offset:3px}
.mv-trip-list button:disabled {cursor:wait;opacity:.65}
@media(max-width:900px) {
  .mv-trip-list {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:767px) {
  .mv-results-page .mv-results-shell,.mv-my-trips-page .mv-page-section {padding-top:18px}
  .mv-results-page .mv-results-header h1 {font-size:28px}
  .mv-preferences-line {flex-wrap:wrap;padding:6px 12px;gap:0 12px}
  .mv-preferences-line p {flex-basis:100%;padding-top:6px;font-size:13px}
  .mv-list-text-action {font-size:13px}
  .mv-results-page .mv-results-toolbar {border:0;box-shadow:none;background:none;padding:0;gap:8px}
  .mv-results-page .mv-results-filters-desktop {display:none}
  .mv-results-page .mv-results-section-heading h2 {font-size:18px}
  .mv-results-page .mv-section-heading-icon {display:none}
  .mv-results-page .mv-featured-section {margin-top:12px}
  .mv-trip-preview,.mv-my-trips-page .mv-saved-plan {padding:16px;border-radius:16px}
  .mv-trip-preview-heading {grid-template-columns:64px minmax(0,1fr);gap:12px}
  .mv-trip-thumb {height:64px}
  .mv-trip-preview h3,.mv-plan-heading h3 {font-size:20px}
  .mv-plan-heading {flex-wrap:wrap}
}
@media(max-width:430px) {
  .mv-trip-primary-actions,.mv-plan-date-fields,.mv-saved-plan .mv-day-editor {grid-template-columns:minmax(0,1fr)}
  .mv-trip-primary-actions {gap:8px}
}

/* Visual hierarchy: browse categories, recognize trips, open one day at a time. */
.mv-results-page,.mv-my-trips-page {background:#f4f7fa}
.mv-results-page>div,.mv-my-trips-page>div {background:transparent}
.mv-results-page .mv-results-shell,.mv-my-trips-page .mv-page-section {padding-bottom:40px}
.mv-results-page .mv-results-kicker,.mv-journey-kicker {margin:0 0 7px;color:var(--mv-primary-dark);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.mv-journey-header {position:relative;padding:24px;border:1px solid #d8e6ec;border-radius:24px;background:linear-gradient(110deg,#edf7f6 0%,#fff 72%);overflow:hidden}
.mv-journey-header .mv-page-title {font-size:clamp(28px,4vw,40px);line-height:1.1}
.mv-journey-header .mv-page-lead {margin-top:8px;color:#526a79}
.mv-journey-header .mv-button-primary {min-height:48px;white-space:nowrap}
.mv-my-trips-page .mv-saved-tabs {display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;max-width:100%;padding:6px 3px 12px;margin-top:16px;scroll-padding-inline:12px;scrollbar-width:thin;scrollbar-color:#a5bfc7 transparent}
.mv-my-trips-page .mv-saved-tabs>[role=tab] {flex-shrink:0;display:inline-flex;gap:8px;min-height:48px;padding:12px 16px;border:1px solid transparent;border-radius:12px;background:transparent;color:#526a79;font-size:14px;font-weight:650}
.mv-my-trips-page .mv-saved-tabs>[aria-selected=true] {background:var(--mv-navy);color:#fff;box-shadow:0 5px 12px #08285516}
.mv-saved-tabs .mv-saved-tab-count {background:#e6eef2;color:#415c70;font-size:11px;min-width:20px;border-radius:6px;padding:2px 5px}
.mv-saved-tabs [aria-selected=true] .mv-saved-tab-count {background:#ffffff25;color:#fff}
.mv-my-trips-page [role=tabpanel] {margin-top:8px}
.mv-my-trips-page [role=tabpanel]:focus-visible {outline:3px solid var(--mv-primary);outline-offset:4px}
.mv-my-trips-page [role=tabpanel]~.mv-list-help {margin-top:22px}
.mv-trip-list {gap:24px}
.mv-my-trips-page .mv-trip-preview {padding:0;border-radius:22px;overflow:hidden;border-color:#dce7ed;box-shadow:0 8px 24px #08285508}
.mv-trip-cover {position:relative;isolation:isolate;min-height:180px;display:flex;align-items:flex-end;background:#133c5a;overflow:hidden}
.mv-trip-cover>img,.mv-trip-cover-shade,.mv-trip-art {position:absolute;inset:0;width:100%;height:100%}
.mv-trip-cover>img {object-fit:cover}
.mv-trip-art {background:radial-gradient(ellipse at 90% 0%,#349b9a66,transparent 60%),linear-gradient(135deg,#123b5b,#17646e)}
.mv-trip-art:after {content:"";position:absolute;width:200px;height:120px;right:-15px;top:30px;border:1px dashed #ffffff30;border-radius:50%;transform:rotate(-25deg)}
.mv-trip-art>.mv-icon {position:absolute;right:32px;top:26px;width:64px;height:64px;color:#ffffff28}
.mv-trip-cover-shade {background:linear-gradient(180deg,#08285522 5%,#051f3e00 20%,#051f3ee6 100%);pointer-events:none}
.mv-trip-state {position:absolute;top:14px;left:18px;max-width:calc(100% - 36px);padding:5px 10px;border:1px solid #ffffff45;border-radius:7px;background:#ffffffed;color:#153e56;font-size:11px;font-weight:750;line-height:1.4}
.mv-trip-cover-title {position:relative;padding:48px 20px 20px;min-width:0;color:white}
.mv-trip-preview .mv-trip-cover-title h3 {margin:0;color:#fff;font-size:29px;font-weight:750;line-height:1.15;overflow-wrap:anywhere}
.mv-trip-cover-title p {margin:7px 0 0;font-size:13px;line-height:1.5;color:#e4f0f6}
.mv-trip-card-content {padding:16px 20px 4px}
.mv-trip-progress-block {display:grid;grid-template-columns:1fr;gap:8px}
.mv-trip-progress-block .mv-trip-progress {margin:0;color:#5a6f7c;font-size:12px;font-weight:550}
.mv-trip-progress-block progress {appearance:none;display:block;width:100%;height:5px;overflow:hidden;border:0;border-radius:5px;background:#e9f0f4;color:var(--mv-primary)}
.mv-trip-progress-block progress::-webkit-progress-bar {background:#e9f0f4;border-radius:5px}
.mv-trip-progress-block progress::-webkit-progress-value {background:var(--mv-primary);border-radius:5px}
.mv-trip-progress-block progress::-moz-progress-bar {background:var(--mv-primary);border-radius:5px}
.mv-trip-primary-actions {margin-top:14px;gap:10px}
.mv-trip-primary-actions>.mv-button-primary,.mv-trip-primary-actions>.mv-button-accent {border-radius:12px}
.mv-trip-primary-actions>.mv-button-accent {background:#fff2e4;border:1px solid #f0d0ac;box-shadow:none;color:#91400c}
.mv-trip-primary-actions>.mv-button-accent:hover {background:#ffe5c9;border-color:#d49c63}
.mv-trip-options {margin-top:4px}
.mv-trip-options>summary {font-size:12px;min-height:44px}
.mv-trip-option-actions {gap:6px;padding:8px 0 12px}
.mv-trip-option-actions>button,.mv-trip-option-actions>a {text-decoration:none;padding:10px 12px;background:#f3f7f9;border-radius:8px;font-size:13px}
.mv-trip-option-actions>button:hover,.mv-trip-option-actions>a:hover {background:#e5eff3}
.mv-my-trips-page .mv-saved-plan {border-radius:22px;padding:22px;background:#fff}
.mv-plan-heading {align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:16px}
.mv-plan-thumbnail {position:relative;display:grid;place-items:center;flex:0 0 80px;height:80px;overflow:hidden;border-radius:16px;background:linear-gradient(135deg,#d7efed,#e7eef7);color:var(--mv-primary)}
.mv-plan-thumbnail img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mv-plan-thumbnail>.mv-icon {width:30px;height:30px}
.mv-plan-heading-copy {flex:1}
.mv-plan-heading-copy .mv-trip-eyebrow {display:block;font-size:11px;margin-bottom:5px}
.mv-plan-heading h3 {font-size:26px}
.mv-saved-plan>.mv-trip-progress-block {margin-top:16px}
.mv-my-trips-page .mv-saved-plan:has(.mv-saved-itinerary[open]) {grid-column:1/-1}
.mv-my-trips-page .mv-saved-itinerary {margin-top:12px;padding:0;border:0;background:transparent;border-radius:0}
.mv-my-trips-page .mv-saved-itinerary>summary {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;list-style:none;min-height:52px;font-size:17px}
.mv-saved-itinerary>summary::-webkit-details-marker {display:none}
.mv-saved-itinerary>summary>span {margin:0;padding:5px 10px;border-radius:7px;background:#e9f3f3;color:#35646b;white-space:nowrap}
.mv-saved-itinerary>p {max-width:65ch}
.mv-my-trips-page .mv-saved-day {padding:0;margin-top:10px;border:1px solid #dce6ed;border-radius:14px;overflow:hidden;background:#fff}
.mv-saved-day h4 {margin:0}
.mv-day-trigger {display:flex;width:100%;align-items:center;gap:14px;padding:16px;text-align:left;min-height:76px;border-radius:13px;background:#f8fafc;color:var(--mv-navy)}
.mv-day-trigger:hover {background:#edf5f5}
.mv-day-number {display:grid;place-items:center;flex:0 0 42px;height:46px;border:1px solid #d8e6eb;border-radius:10px;font-size:20px;font-weight:750;background:#fff;color:#547185}
.mv-day-heading {flex:1;min-width:0;display:grid;gap:4px}
.mv-day-heading strong {font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.mv-day-label {font-size:11px;font-weight:600;color:#577383}
.mv-day-heading small {font-size:11px;font-weight:650;color:#426c72}
.mv-day-heading .is-pending {color:#94531c}
.mv-disclosure-chevron {flex-shrink:0;transition:transform .18s ease}
.mv-day-trigger[aria-expanded=true] {background:#edf7f6}
.mv-day-trigger[aria-expanded=true] .mv-day-number {background:var(--mv-primary);color:#fff;border-color:var(--mv-primary)}
.mv-day-trigger[aria-expanded=true] .mv-disclosure-chevron,.mv-search-preferences[open]>summary .mv-disclosure-chevron {transform:rotate(180deg)}
.mv-day-content {padding:18px}
.mv-day-content>ul {list-style:none;padding:0;display:grid;gap:12px}
.mv-day-content>ul>li {position:relative;padding:0 0 0 18px;margin:0;line-height:1.65}
.mv-day-content>ul>li:before {content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:50%;background:#51a3a1}
.mv-day-content>.mv-day-editor {padding:16px;margin-top:20px;border:1px solid #dce7ed;background:#f6f9fb;border-radius:12px}
.mv-day-editor>button {border-radius:10px;background:var(--mv-primary);color:#fff;border-color:var(--mv-primary)}
.mv-day-editor>button:hover {background:var(--mv-primary-dark)}
.mv-results-page .mv-search-preferences {margin:12px 0 16px;border:1px solid #dce7ed;background:#fff;border-radius:12px}
.mv-search-preferences>summary {display:flex;align-items:center;gap:10px;width:100%;min-height:48px;list-style:none;padding:10px 14px}
.mv-search-preferences>summary::-webkit-details-marker {display:none}
.mv-search-preferences>summary>span {flex:1;min-width:0;font-weight:500;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.mv-search-preferences>summary>strong {font-size:12px}
.mv-search-preferences .mv-list-help-body {padding:4px 14px 16px;border-top:1px solid #edf1f4}
.mv-results-page .mv-results-search {margin:0 0 14px}
.mv-results-search>div {position:relative;display:flex;align-items:center;gap:0;border:1px solid #cbdce5;border-radius:14px;background:white;box-shadow:0 3px 10px #08285504}
.mv-results-search>div>.mv-icon {flex-shrink:0;margin-left:14px;color:#688196}
.mv-results-page .mv-results-search input {min-width:0;width:100%;border:0;background:transparent;box-shadow:none;min-height:52px;padding:12px;font-size:16px;border-radius:14px}
.mv-results-search>div:focus-within {outline:2px solid var(--mv-primary);outline-offset:2px}
.mv-results-page .mv-results-search button {position:static;flex-shrink:0;min-height:44px;padding:8px 12px;font-size:12px}
.mv-category-rail {display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:3px 3px 12px;scroll-padding-inline:8px;scrollbar-width:thin;scrollbar-color:#a5bfc7 transparent}
.mv-category-rail>button {display:flex;flex:1 0 85px;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:76px;padding:12px 10px;border:1px solid #dce7ed;border-radius:14px;background:#fff;color:#537082;font-size:12px;font-weight:650;line-height:1.35;white-space:nowrap;transition:background .15s,border-color .15s}
.mv-category-rail>button>.mv-icon {width:24px;height:24px;color:var(--mv-primary)}
.mv-category-rail>button.is-active {background:#e7f5f2;color:#075d60;border-color:var(--mv-primary);box-shadow:inset 0 -3px var(--mv-primary)}
.mv-category-rail>button:hover {background:#eff8f6}
.mv-category-rail>button:focus-visible {outline:3px solid var(--mv-primary);outline-offset:2px}
.mv-results-page .mv-results-toolbar {margin-top:0;padding:0;border:0;box-shadow:none;background:transparent}
.mv-desktop-filter-trigger {min-height:44px;padding:10px 14px;font-size:13px;border-radius:10px}
.mv-results-page .mv-sort-control {margin-left:auto;font-size:12px}
.mv-results-page .mv-sort-control select {background:#fff;border:1px solid #dce7ed;border-radius:10px;font-size:14px;padding:10px 30px 10px 12px}
.mv-results-page .mv-results-filter-summary {margin:12px 0 0}
.mv-results-page .mv-results-filter-summary>p {font-size:12px;color:#587184}
.mv-results-page .mv-featured-section {margin-top:16px}
.mv-results-page .mv-featured-results,.mv-results-page .mv-alternative-results {gap:20px}
.mv-results-page .mv-featured-card,.mv-results-page .mv-result-card {border-radius:20px;border-color:#dce7ed;box-shadow:0 7px 22px #08285508}
.mv-results-page .mv-result-image,.mv-results-page .mv-featured-card.is-first .mv-result-image,.mv-results-page .mv-result-card-image {height:220px}
.mv-results-page .mv-result-image-copy {right:18px;bottom:20px;left:20px}
.mv-results-page .mv-result-image-copy h3 {font-size:26px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.12}
.mv-result-image-copy h3 a {color:inherit;text-decoration:none}
.mv-result-image-copy h3 a:focus-visible {outline:3px solid #fff;outline-offset:3px}
.mv-results-page .mv-result-rank {width:28px;height:28px;font-size:12px;top:15px;left:16px;background:#ffffffef;color:#214660;box-shadow:none;border:0;border-radius:7px}
.mv-results-page .mv-affinity-badge {top:15px;left:52px;right:auto;bottom:auto;flex-direction:row;gap:5px;width:auto;height:28px;aspect-ratio:auto;padding:5px 8px;border:0;border-radius:7px;background:#ffffffef;box-shadow:none}
.mv-results-page .mv-affinity-badge strong {font-size:12px}
.mv-results-page .mv-affinity-badge span {font-size:10px;font-weight:600;max-width:none;margin:0}
.mv-results-page .mv-save-destination {width:46px;height:46px;right:12px;top:10px}
.mv-results-page .mv-featured-card-body,.mv-results-page .mv-result-card-body {padding:18px;min-height:0}
.mv-results-page .mv-result-summary {font-size:14px;line-height:1.6;-webkit-line-clamp:2}
.mv-results-page .mv-result-facts {gap:6px;margin-top:12px}
.mv-results-page .mv-result-facts>span {padding:5px 8px;background:#f1f6f8;border-radius:6px;font-size:11px}
.mv-results-page .mv-result-reasons {margin-top:10px;font-size:11px}
.mv-results-page .mv-result-cta,.mv-results-page .mv-result-card-link {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-top:16px;padding:12px 15px;border-radius:11px;background:var(--mv-primary);color:#fff;font-size:14px;text-decoration:none}
.mv-results-page .mv-results-reserve-link {justify-content:center;min-height:44px;margin-top:6px;color:#92410d;font-size:13px}
.mv-results-page .mv-result-type {font-size:11px;color:#4b6a7c}
@media(min-width:901px) {
  .mv-my-trips-page .mv-saved-plan:has(.mv-saved-itinerary[open]) .mv-day-content {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}
  .mv-my-trips-page .mv-saved-plan:has(.mv-saved-itinerary[open]) .mv-day-content>.mv-day-editor {grid-column:2;grid-row:1/3;margin-top:0}
  .mv-day-content>p {grid-column:1}
}
@media(max-width:767px) {
  .mv-journey-header {padding:18px;border-radius:18px;flex-direction:row;align-items:center;gap:10px}
  .mv-journey-header .mv-page-title {font-size:28px}
  .mv-journey-header .mv-page-lead {font-size:12px;max-width:23ch}
  .mv-journey-kicker {font-size:9px;letter-spacing:.09em}
  .mv-journey-header .mv-button-primary {font-size:12px;padding:10px 12px;border-radius:11px;gap:5px}
  .mv-my-trips-page .mv-saved-tabs {margin-top:12px;margin-bottom:0;padding-bottom:10px;gap:3px}
  .mv-my-trips-page .mv-saved-tabs>[role=tab] {font-size:12px;padding:10px 12px;gap:6px}
  .mv-trip-list {gap:18px}
  .mv-trip-cover {min-height:164px}
  .mv-trip-cover-title {padding:44px 18px 18px}
  .mv-trip-preview .mv-trip-cover-title h3 {font-size:26px}
  .mv-trip-card-content {padding:14px 16px 2px}
  .mv-my-trips-page .mv-saved-plan {padding:16px;border-radius:18px}
  .mv-plan-thumbnail {flex-basis:64px;height:64px;border-radius:12px}
  .mv-plan-heading h3 {font-size:22px}
  .mv-plan-heading {gap:12px;flex-wrap:nowrap}
  .mv-plan-heading .mv-trip-meta {font-size:12px}
  .mv-results-page .mv-search-preferences {margin:10px 0 12px}
  .mv-search-preferences>summary {padding:9px 11px;gap:7px}
  .mv-search-preferences>summary>span {font-size:12px}
  .mv-results-page .mv-results-search {margin-bottom:10px}
  .mv-category-rail {gap:7px;padding-bottom:10px}
  .mv-category-rail>button {flex:1 0 74px;min-height:70px;padding:9px 8px;font-size:11px;gap:6px}
  .mv-category-rail>button>.mv-icon {width:22px;height:22px}
  .mv-results-page .mv-desktop-filter-trigger {display:none}
  .mv-results-page .mv-mobile-filter-trigger {min-height:44px;width:auto;border:1px solid #d6e3eb;border-radius:10px;padding:10px 13px;background:#fff;font-size:12px}
  .mv-results-page .mv-results-header h1 {font-size:27px;max-width:24ch}
  .mv-results-page .mv-results-section-heading {margin-bottom:10px}
  .mv-results-page .mv-results-section-heading h2 {font-size:17px}
  .mv-results-page .mv-result-image,.mv-results-page .mv-featured-card.is-first .mv-result-image,.mv-results-page .mv-result-card-image {height:200px}
  .mv-results-page .mv-result-image-copy h3 {font-size:26px}
  .mv-results-page .mv-featured-card-body,.mv-results-page .mv-result-card-body {padding:15px}
  .mv-day-trigger {gap:10px;padding:12px}
  .mv-day-number {flex-basis:36px;height:42px;font-size:18px}
  .mv-day-heading strong {font-size:14px}
  .mv-day-content {padding:14px}
  .mv-day-content>.mv-day-editor {padding:12px}
}
@media(max-width:430px) {
  .mv-trip-primary-actions {grid-template-columns:minmax(0,1fr)}
  .mv-trip-primary-actions>a,.mv-trip-primary-actions>button {min-height:46px}
}
@media(prefers-reduced-motion:reduce) {
  .mv-disclosure-chevron,.mv-category-rail>button,.mv-results-page .mv-featured-card,.mv-results-page .mv-result-card,.mv-results-page img {transition:none;transform:none}
}
.mv-results-page .mv-featured-card.is-first {grid-column:auto}
@media(max-width:1099px) {.mv-results-page .mv-desktop-filter-trigger {display:none}}

/* Focus on one saved trip, with its next step before secondary actions. */
.mv-focused-trip {max-width:960px;margin:0 auto;min-width:0;scroll-margin-top:88px}
.mv-trip-back {margin-bottom:16px;min-height:44px;gap:8px}
.mv-focused-trip .mv-plan-title {margin:0;font-size:26px;line-height:1.2;font-weight:750;color:var(--mv-navy);overflow-wrap:anywhere}
.mv-focused-trip .mv-plan-lodging {grid-template-columns:minmax(0,1fr);margin-top:20px}
.mv-focused-trip .mv-plan-date-fields>button {justify-self:stretch}
@media (max-width:430px) {
  .mv-focused-trip .mv-saved-plan {padding:16px}
  .mv-focused-trip .mv-plan-thumbnail {flex-basis:56px;height:56px;border-radius:12px}
  .mv-focused-trip .mv-plan-heading {gap:12px}
  .mv-focused-trip .mv-plan-title {font-size:24px}
}

/* Trip status is separate from the shared Open trip action. */
.mv-my-trips-page .mv-trip-status {display:inline-flex;padding:5px 10px;border-radius:7px;font-size:11px;font-weight:750;line-height:1.4;background:#f0f5f8;color:#344c62}
.mv-my-trips-page .mv-trip-status[data-state="planned"] {background:#e9effa;color:#173966}
.mv-my-trips-page .mv-trip-status[data-state="in_progress"] {background:#e1f5ee;color:#12553f}
.mv-my-trips-page .mv-trip-status[data-state="completed"] {background:#e1f5ee;color:#12553f}
.mv-my-trips-page .mv-trip-status[data-state="past"],.mv-my-trips-page .mv-trip-status[data-state="archived"] {background:#f1f2f4;color:#4a5362}
.mv-my-trips-page .mv-trip-context {margin:12px 0;color:#526879;font-size:14px;line-height:1.6}


/* Direct completion and deletion share confirmations; controls wrap on narrow cards. */
.mv-my-trips-page .mv-trip-card-tools {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px;margin-top:8px;padding-bottom:4px}
.mv-my-trips-page .mv-trip-card-tools>a,.mv-my-trips-page .mv-trip-card-tools>button {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:10px 8px;border-radius:8px;font-size:13px;line-height:1.4;color:#405a6e}
.mv-my-trips-page .mv-trip-card-tools .mv-trip-remove {margin-left:auto;color:#9b3434}
.mv-my-trips-page .mv-trip-card-tools .mv-trip-complete {color:#12553f}
.mv-my-trips-page .mv-trip-card-tools .mv-trip-complete:hover {background:#e1f5ee}
.mv-my-trips-page .mv-trip-card-tools .mv-trip-remove:hover {background:#fff0ef}
.mv-my-trips-page .mv-trip-card-tools .mv-icon {flex-shrink:0}

