/* Personal controls live inside the destination, alongside the saved itinerary. */
.mv-destination-page #itinerario:focus{outline:none}
.mv-trip-organizer{margin-top:18px;min-width:0;scroll-margin-top:100px}
.mv-trip-organizer .mv-saved-plan{padding:0;border:0;box-shadow:none;background:transparent}
.mv-organizer-heading{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #cbe5dd;background:#edf7f5;border-radius:14px}
.mv-organizer-heading>div{min-width:0}
.mv-organizer-heading .mv-flow-icon{flex:0 0 auto}
.mv-organizer-kicker{margin:0 0 2px!important;font-size:.75rem!important;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#47726b!important}
.mv-organizer-heading h3{margin:0;font-size:1.125rem;line-height:1.3;color:#082855}
.mv-organizer-heading p{margin:4px 0 0;font-size:.875rem;line-height:1.5;color:#35625b;overflow-wrap:anywhere}
.mv-saved-plan.is-history .mv-organizer-heading{border-color:#cbdfe5;background:#f3f8fa}
.mv-saved-plan.is-history .mv-organizer-heading .mv-flow-icon{background:#dff2ef;color:#087d7f}
.mv-saved-plan.is-past .mv-organizer-heading{border-color:#eadfc8;background:#fffaf0}
.mv-trip-organizer .mv-trip-context{margin:10px 2px 0;font-size:.875rem;line-height:1.55;color:#526879}
.mv-trip-organizer .mv-trip-context.is-history-note{color:#466671}

.mv-organizer-tools{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;margin-top:14px}
.mv-organizer-tools .mv-plan-dates{flex:1 1 16rem;margin-top:0}
.mv-organizer-tools>.mv-trip-complete{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 14px;border:1px solid #bcdccc;border-radius:12px;background:#edf7f1;color:#245e4a;font-size:.875rem;font-weight:750;line-height:1.3}
.mv-organizer-tools>.mv-trip-complete:hover{background:#dfefe5;border-color:#85b69a}
.mv-organizer-tools>.mv-trip-complete:disabled{cursor:wait;opacity:.65}
.mv-organizer-tools .mv-icon,.mv-editor-label .mv-icon,.mv-plan-dates>summary>.mv-icon{flex-shrink:0}

.mv-trip-organizer .mv-plan-dates{border:1px solid #cbdfe5;border-radius:12px;background:#f7fbfc;overflow:hidden}
.mv-trip-organizer .mv-plan-dates>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:11px 14px;list-style:none;color:#08757a;font-weight:800}
.mv-trip-organizer .mv-plan-dates>summary::-webkit-details-marker{display:none}
.mv-trip-organizer .mv-plan-dates>summary>span{flex:1}
.mv-trip-organizer .mv-plan-dates>summary:hover{background:#eaf4f5}
.mv-trip-organizer .mv-plan-dates[open]>summary .mv-disclosure-chevron{transform:rotate(180deg)}
.mv-trip-organizer .mv-plan-dates>fieldset{padding:6px 14px 0}
.mv-trip-organizer .mv-plan-dates:focus-within{overflow:visible}

.mv-plan-feedback{display:inline-flex;margin:10px 2px 0;padding:0;background:transparent;color:#35625b;font-size:.875rem;font-weight:650;line-height:1.45}
.mv-trip-organizer .mv-trip-progress-block{margin-top:12px}

.mv-trip-organizer .mv-saved-itinerary{margin-top:18px;padding:0;border:0;background:transparent}
.mv-itinerary-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.mv-itinerary-section-heading h4{margin:0;color:#082855;font-size:1.0625rem;font-weight:800}
.mv-itinerary-section-heading>span{color:#536677;font-size:.8125rem}
.mv-trip-organizer .mv-saved-day{margin-top:12px;padding:0;border:1px solid #dce6ed;border-radius:14px;overflow:hidden}
.mv-trip-organizer .mv-day-number{flex:0 0 40px;width:40px;height:40px;border-radius:50%}
.mv-trip-organizer .mv-trip-accordion-body{padding:0;border:0}
.mv-trip-organizer .mv-itinerary-day-content{grid-template-columns:minmax(0,1fr)}
.mv-trip-organizer .mv-itinerary-main-list{list-style:none;padding:0}
.mv-trip-organizer .mv-itinerary-main-list li{margin:0}
.mv-trip-organizer .mv-itinerary-note{margin-top:16px}
.mv-trip-organizer .mv-itinerary-note p{margin:0 0 4px}
.mv-trip-organizer .mv-day-content{padding:18px}
.mv-trip-organizer .mv-day-note textarea{min-height:112px;padding:12px 14px;font-weight:400;line-height:1.6;resize:vertical}
.mv-trip-organizer .mv-day-editor{background:#edf7f5;border-color:#cbe5dd}
.mv-editor-label{display:inline-flex;align-items:center;gap:7px}

.mv-day-history-meta{display:grid;gap:10px;margin-top:16px;padding:14px;border:1px solid #d7e6e8;border-radius:12px;background:#f6fafb}
.mv-day-history-state{display:flex;align-items:center;gap:8px;margin:0;color:#2c6653;font-weight:750}
.mv-day-history-note{display:grid;gap:4px}
.mv-day-history-note strong{color:#082855;font-size:.875rem}
.mv-day-history-note p{margin:0;white-space:pre-wrap;color:#40576a;line-height:1.6}

.mv-organizer-footer-actions{display:flex;justify-content:flex-end;margin-top:18px;padding-top:12px;border-top:1px solid #e5ecef}
.mv-organizer-footer-actions .mv-trip-remove{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 10px;border:0;background:transparent;color:#9b4b45;font-size:.8125rem;font-weight:700;line-height:1.3}
.mv-organizer-footer-actions .mv-trip-remove:hover{background:#fff4f2;border-radius:9px;color:#843832}
.mv-organizer-footer-actions .mv-trip-remove:disabled{opacity:.6}

/* Collection cards keep their compact direct actions. */
.mv-my-trips-page .mv-trip-card-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding:0}
.mv-my-trips-page .mv-trip-card-tools>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #d5e3e9;border-radius:10px;background:#f5f8fa;font-size:.8125rem;font-weight:650;line-height:1.4;text-align:center}
.mv-my-trips-page .mv-trip-card-tools>.mv-trip-complete{color:#245e4a;background:#edf7f1;border-color:#cbe3d4}
.mv-my-trips-page .mv-trip-card-tools>.mv-trip-remove{color:#943d36;background:#fff;border-color:#e5d4d1;margin-left:auto}
.mv-my-trips-page .mv-trip-card-tools>.mv-trip-complete:hover{background:#dfefe5;border-color:#85b69a}
.mv-my-trips-page .mv-trip-card-tools>.mv-trip-remove:hover{background:#fff1ef;border-color:#c88980}
.mv-my-trips-page .mv-trip-card-content{padding-bottom:16px}

.mv-trip-organizer fieldset:disabled{opacity:.85}
.mv-trip-organizer :focus-visible{outline:3px solid #158c91;outline-offset:3px}
.mv-trip-organizer .mv-saved-plan:focus{outline:none}
.mv-trip-access{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.mv-trip-access p{flex-basis:100%}

@media(max-width:767px){
 .mv-organizer-heading{padding:12px}
 .mv-trip-organizer .mv-day-trigger{gap:10px}
 .mv-trip-organizer .mv-trip-accordion-body.has-image{grid-template-columns:minmax(0,1fr)}
 .mv-trip-organizer .mv-itinerary-image img{max-height:240px}
}
@media(max-width:540px){
 .mv-organizer-tools .mv-plan-dates{flex-basis:100%}
 .mv-organizer-tools>.mv-trip-complete{flex:1 1 auto}
 .mv-organizer-footer-actions{justify-content:flex-start}
 .mv-trip-organizer .mv-day-content{padding:14px}
 .mv-trip-organizer .mv-plan-dates>summary{padding:11px 12px}
 .mv-trip-organizer .mv-plan-dates>fieldset{padding:6px 12px 0}
 .mv-my-trips-page .mv-trip-card-tools>button{flex:1 1 100%}
}

/* Different surfaces express overview, reading, and personal edits. */
.mv-trip-organizer .mv-saved-plan .mv-organizer-heading{background:#122b55;border-color:#122b55;align-items:flex-start}
.mv-trip-organizer .mv-saved-plan .mv-organizer-heading h3{color:#fff}
.mv-trip-organizer .mv-saved-plan .mv-organizer-heading p{color:#e0eafa}
.mv-trip-organizer .mv-organizer-kicker{color:#bcd8ed!important}
.mv-trip-organizer .mv-saved-plan .mv-organizer-heading .mv-flow-icon{background:#284568;border-color:#496887;color:#fff}
.mv-trip-organizer .mv-plan-dates{background:#fff}
.mv-trip-organizer .mv-saved-day{background:#fff;box-shadow:0 2px 6px #122b5508}
.mv-trip-organizer .mv-day-trigger{background:#fff;color:#122b55}
.mv-trip-organizer .mv-saved-day.is-open{border-color:#649da3}
.mv-trip-organizer .mv-saved-day.is-open .mv-day-trigger{background:#f0f7f8;border-bottom:1px solid #d8e5e9}
.mv-trip-organizer .mv-day-heading small{font-weight:500;color:#536677}
.mv-trip-organizer .mv-day-heading small.is-pending,.mv-pending-indicator{color:#864b0b;font-weight:800}
.mv-personal-day{margin-top:18px;border-top:1px solid #dce6ed;padding-top:14px}
.mv-personal-note{padding:12px 14px;margin-bottom:10px;border-left:3px solid #ba8b44;background:#fff9ed;border-radius:0 10px 10px 0}
.mv-personal-note>strong{font-size:.875rem;color:#68420e}
.mv-personal-note>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;line-height:1.6}
.mv-personal-editor{border:1px solid #bdccd7;border-radius:12px;background:#fff}
.mv-personal-editor>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;list-style:none;color:#12656c;font-size:.875rem;font-weight:750;cursor:pointer}
.mv-personal-editor>summary::-webkit-details-marker{display:none}
.mv-personal-editor>summary>span:first-of-type{flex:1}
.mv-personal-editor>summary>.mv-icon{flex-shrink:0}
.mv-personal-editor[open]>summary{border-bottom:1px solid #dce6ed}
.mv-personal-editor[open]>summary>.mv-disclosure-chevron{transform:rotate(180deg)}
.mv-personal-editor .mv-pending-indicator{font-size:.75rem}
.mv-trip-organizer .mv-personal-editor .mv-day-editor{margin:0;border:0;background:#fff;padding:14px;border-radius:0 0 12px 12px}
.mv-trip-organizer .mv-personal-editor .mv-day-note{grid-column:1/-1}
.mv-trip-organizer .mv-day-history-meta{background:#fff9ed;border-color:#e8d9bf}

/* Keep the main card actions together without shrinking touch targets. */
.mv-my-trips-page .mv-trip-card-content>.mv-trip-primary-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:6px;margin:0}
.mv-my-trips-page .mv-trip-primary-actions>:is(a,button){display:inline-flex;align-items:center;justify-content:center;flex:1 1 auto;width:auto;min-width:44px;min-height:44px;padding:10px 9px;gap:6px;font-size:.875rem;line-height:1.35;white-space:normal;text-align:center}
.mv-my-trips-page .mv-trip-primary-actions>.mv-trip-remove{flex:0 0 44px;padding:10px;border:1px solid #e5d4d1;border-radius:10px;background:#fff;color:#943d36}
.mv-my-trips-page .mv-trip-primary-actions>.mv-trip-remove:hover{background:#fff1ef;border-color:#c88980}
.mv-my-trips-page .mv-trip-primary-actions>.mv-trip-remove:disabled{opacity:.6;cursor:wait}
.mv-my-trips-page .mv-trip-primary-actions>:focus-visible{outline:3px solid #158c91;outline-offset:3px}
.mv-my-trips-page .mv-trip-primary-actions .mv-icon{flex-shrink:0}
