/* Expedition Control. Bootstrap owns layout utilities and standard controls;
   this existing stylesheet owns the application shell and visual tokens. */
:root {
  --vm-header: #213d33;
  --vm-forest: #294f40;
  --vm-ink: #22352f;
  --vm-muted: #52645b;
  --vm-field: #edf0ed;
  --vm-line: #c7d2ca;
  --vm-control-border: #788a7e;
  --vm-brass: #dcbd80;
  --vm-attention: #805112;
  --vm-attention-bg: #fff1d6;
  --vm-proposal: #4e4387;
  --vm-danger: #943c32;
  --bs-body-font-family: "Segoe UI", system-ui, sans-serif;
  --bs-body-color: var(--vm-ink);
  --bs-body-bg: var(--vm-field);
  --bs-secondary-color: var(--vm-muted);
  --bs-secondary-rgb: 82, 100, 91;
  --bs-primary: var(--vm-forest);
  --bs-primary-rgb: 41, 79, 64;
  --bs-link-color: var(--vm-forest);
  --bs-link-color-rgb: 41, 79, 64;
  --bs-link-hover-color: #19392b;
  --bs-link-hover-color-rgb: 25, 57, 43;
  --bs-border-color: var(--vm-line);
  --bs-border-radius: .2rem;
  --bs-border-radius-lg: .25rem;
  --bs-danger-rgb: 148, 60, 50;
  --bs-success-rgb: 41, 79, 64;
}

/* Approved TripDays Daily Briefing. Deliberately independent of shared day rows. */
.vm-trip-days { color: var(--vm-ink); font-size: 15px; }
.vm-trip-days__heading, .vm-trip-day__heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.vm-trip-days__heading { margin-bottom: 22px; }
.vm-trip-days__heading h2 { font-size: 1.35rem; font-weight: 650; margin-bottom: 7px; }
.vm-trip-days__heading p { font-size: 13px; color: var(--vm-muted); margin: 0; }
.vm-trip-days__toolbar, .vm-trip-day__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vm-trip-days .btn { font-size: 12px; border-radius: 3px; }
.vm-trip-days__metrics { display: flex; flex-wrap: wrap; gap: 26px; padding: 16px 20px; margin-bottom: 24px; background: #fff; border: 1px solid var(--vm-line); }
.vm-trip-days__metrics span { font-size: 11px; color: var(--vm-muted); }
.vm-trip-days__metrics strong { display: block; color: var(--vm-ink); font-size: 21px; font-weight: 600; margin-bottom: 3px; }
.vm-trip-days__stack { border-top: 2px solid var(--vm-forest); }
.vm-trip-members .vm-trip-member { display: grid; grid-template-columns: 72px minmax(0, 1fr) 220px auto; cursor: default; }
.vm-trip-members .vm-trip-member__initials { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 6px; margin-top: 6px; border-radius: 3px; background: var(--vm-field); font-size: 20px; font-weight: 600; }
.vm-trip-members .vm-trip-member__travel { display: block; }
.vm-trip-member__edit { min-width: 66px; }
@media (max-width: 767.98px) {
  .vm-trip-members .vm-trip-member { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .vm-trip-members .vm-trip-member__travel { grid-column: 2 / -1; grid-row: 2; }
  .vm-trip-member__edit { grid-column: 3; grid-row: 1; }
}
.vm-activity-tab .vm-eyebrow { margin-bottom: 6px; }
.vm-activity-tab:has(> .vm-activity-tab-item) { border-top: 2px solid var(--vm-forest); }
.vm-activity-tab .vm-activity-tab-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
.vm-activity-tab-summary .vm-trip-day__identity { overflow-wrap: anywhere; }
.vm-activity-tab-summary > .vm-trip-day__indicator { grid-column: 3; }
.vm-activity-tab-commands { display: flex; gap: 8px; }
@media (max-width: 575px) {
  .vm-activity-tab .vm-activity-tab-summary { grid-template-columns: minmax(0, 1fr) auto; }
  .vm-activity-tab-summary > .vm-trip-day__indicator { grid-column: 2; grid-row: 1; }
  .vm-activity-tab-commands { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; }
}
.vm-overnight-plans:not(:has(> li)) { border-top: 0; }
.vm-overnight-plans .vm-trip-day__summary { cursor: default; }
.vm-overnight-plans .vm-trip-day__identity { overflow-wrap: anywhere; }
.vm-overnight-tab-list { border-top: 2px solid var(--vm-forest); }
.vm-overnight-tab-item { display: grid; }
.vm-overnight-tab-item > details { grid-area: 1 / 1; min-width: 0; }
.vm-overnight-tab-fields { display: grid; grid-template-columns: 1.1fr 1.3fr .8fr .9fr; gap: 20px; flex: 1; min-width: 0; align-items: start; }
.vm-overnight-tab-fields > span { min-width: 0; overflow-wrap: anywhere; }
.vm-overnight-tab-fields small { display: block; color: var(--vm-muted); font-size: 12px; margin-bottom: 6px; }
.vm-overnight-tab-command-space { flex: 0 0 68px; }
.vm-overnight-tab-commands { grid-area: 1 / 1; align-self: start; justify-self: end; display: flex; gap: 4px; margin: 26px 64px 0 0; position: relative; }
.vm-overnight-tab-facts { display: grid; grid-template-columns: .7fr 1.3fr 1fr; gap: 24px; margin-bottom: 20px; }
.vm-overnight-tab-facts dt { font-weight: 400; color: var(--vm-muted); margin-bottom: 6px; }
.vm-overnight-tab-facts dd { margin: 0; overflow-wrap: anywhere; }
.vm-overnight-tab-notes { background: #faf8f0; padding: 15px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
  .vm-overnight-tab-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .vm-overnight-tab-list .vm-overnight-tab-summary { align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .vm-overnight-tab-facts { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 575px) {
  .vm-overnight-tab-commands { margin: 15px 43px 0 0; }
}
@media (max-width: 479.98px) {
  .vm-overnight-tab-fields { grid-template-columns: minmax(0, 1fr); }
}
.vm-trip-day { background: #fff; border: 1px solid var(--vm-line); border-top: 0; }
.vm-trip-day__summary { display: flex; align-items: center; gap: 25px; padding: 20px; cursor: pointer; list-style: none; }
.vm-trip-day__summary::-webkit-details-marker { display: none; }
.vm-trip-day[open] > .vm-trip-day__summary { background: #e9f0e4; box-shadow: inset 3px 0 var(--vm-forest); }
.vm-trip-day__date { flex: 0 0 72px; font-variant-numeric: tabular-nums; }
.vm-trip-day__date small { display: block; font-size: 10px; text-transform: uppercase; color: var(--vm-muted); }
.vm-trip-day__date b { display: block; font-size: 23px; font-weight: 500; }
.vm-trip-day__identity { flex: 1; min-width: 0; }
.vm-trip-day__location { display: block; font-size: 1.05rem; font-weight: 650; }
.vm-trip-day__location--unset { color: #66876b; }
.vm-trip-day__subtitle { display: block; font-size: 12px; color: var(--vm-muted); margin-top: 5px; }
.vm-trip-day__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.vm-trip-day__pill { display: inline-block; flex-shrink: 0; width: fit-content; padding: 4px 8px; border-radius: 3px; background: #e9f0e4; color: var(--vm-forest); font-size: 10px; font-weight: 650; }
.vm-trip-day__pill--neutral { background: #f0f3ee; color: var(--vm-muted); }
.vm-trip-day__pill--attention { background: var(--vm-attention-bg); color: var(--vm-attention); }
.vm-trip-day__synopsis { flex: 0 1 220px; font-size: 12px; }
.vm-trip-day__synopsis small { display: block; text-transform: uppercase; font-size: 10px; color: var(--vm-muted); }
.vm-trip-day__synopsis > span { display: block; margin-top: 5px; }
.vm-trip-day__indicator { flex: 0 0 18px; font-size: 24px; color: var(--vm-forest); }
.vm-trip-day__indicator::before { content: '+'; }
.vm-trip-day[open] > summary .vm-trip-day__indicator::before { content: '−'; }
.vm-trip-day__body { padding: 24px; border-top: 1px solid var(--vm-line); }
.vm-trip-day__heading { margin-bottom: 22px; }
.vm-trip-day__heading > div { min-width: 0; }
.vm-trip-day__heading > .btn { flex-shrink: 0; }
.vm-trip-day__title { display: flex; align-items: center; gap: 12px; margin: 5px 0 7px; }
.vm-trip-day__title img { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; }
.vm-trip-day__heading h3 { font-size: 1.35rem; font-weight: 650; margin: 5px 0 7px; }
.vm-trip-day__title h3 { margin: 0; }
.vm-trip-day__heading small { color: var(--vm-muted); font-size: 12px; }
.vm-trip-day__eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--vm-muted); margin-bottom: 0; }
.vm-trip-day__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.vm-trip-day__grid > div { min-width: 0; }
.vm-trip-day__section-title { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.vm-trip-day__section-title span { font-weight: 400; letter-spacing: 0; color: var(--vm-muted); text-transform: none; }
.vm-trip-day__activity { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--vm-line); }
.vm-trip-day__time { font-size: 11px; font-weight: 650; color: var(--vm-forest); }
.vm-trip-day__activity strong { font-size: 13px; }
.vm-trip-day__activity-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vm-trip-day__activity-heading strong { min-width: 0; }
.vm-trip-day__activity-heading .vm-trip-day__edit { flex-shrink: 0; }
.vm-trip-day__activity p { font-size: 12px; color: var(--vm-muted); margin: 5px 0 0; }
.vm-trip-day__stay { padding: 16px; margin-bottom: 18px; background: #f0f4ec; border-left: 3px solid #8aa17c; }
.vm-trip-day__stay h5 { font-size: 14px; font-weight: 650; margin: 10px 0 8px; }
.vm-trip-day__stay p { font-size: 12px; margin: 7px 0 0; color: var(--vm-muted); }
.vm-trip-day__reservation { padding: 13px; margin: 10px 0; border: 1px solid var(--vm-line); font-size: 12px; }
.vm-trip-day__reservation p { font-size: 11px; margin: 7px 0; color: var(--vm-muted); }
.vm-trip-day__reservation summary { font-size: 11px; min-height: 44px; align-content: center; cursor: pointer; }
.vm-trip-day__task { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 12px; }
.vm-trip-day__task form { flex-shrink: 0; }
.vm-trip-day__task-title { flex: 1; min-width: 0; }
.vm-trip-day__task--completed .vm-trip-day__task-title { text-decoration: line-through; color: var(--vm-muted); }
.vm-trip-day__check { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; }
.vm-trip-day__check input { width: 18px; height: 18px; accent-color: var(--vm-forest); }
.vm-trip-day__edit { display: inline-flex; align-items: center; min-height: 44px; padding: 4px; font-size: 11px; }
.vm-trip-day__notes { background: #faf8f0; padding: 15px; margin-top: 15px; font-size: 12px; }
.vm-trip-day__notes summary { font-weight: 600; cursor: pointer; min-height: 44px; align-content: center; }
.vm-trip-day__notes p { line-height: 1.7; margin: 8px 0 0; }
.vm-trip-day__actions { margin-top: 22px; }
.vm-trip-day__empty, .vm-trip-days__empty { font-size: 12px; color: var(--vm-muted); }
.vm-trip-days :is(p, a, small, strong, h3, h5, span) { overflow-wrap: anywhere; }
.vm-trip-days [hidden] { display: none !important; }
.vm-trip-days-modal .modal-dialog { max-width: 530px; }
.vm-trip-days-modal .modal-content { max-height: 90dvh; background: #fff; }
.vm-trip-days-modal .modal-header { justify-content: space-between; padding: 13px 20px; background: #f2f5ee; border-color: var(--vm-line); }
.vm-trip-days-modal .modal-title { font-size: 1.15rem; font-weight: 650; }
.vm-trip-days-modal .btn-close { min-width: 44px; min-height: 44px; padding: 0; margin: 0; }
.vm-trip-days-modal .modal-body { padding: 24px; }
.vm-trip-days-modal :is(.form-label, .btn) { font-size: 12px; }
.vm-trip-days-modal .form-control, .vm-trip-days-modal .form-select { font-size: 14px; min-height: 44px; }
.vm-trip-days-modal .form-text { font-size: 12px; }
.vm-trip-days-modal .row > [class*="col-md-"] { width: 100%; }
@media (min-width: 768px) {
  .vm-trip-days-modal--reservation .modal-dialog { max-width: 800px; }
  .vm-trip-days-modal--reservation .row > .col-md-6 { width: 50%; }
}
@media (max-width: 1100px) {
  .vm-trip-day__synopsis { display: none; }
}
@media (max-width: 800px) {
  .vm-trip-day__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vm-trip-day__body { padding: 20px; }
}
@media (max-width: 575px) {
  .vm-trip-days { font-size: 14px; }
  .vm-trip-days__heading { display: block; }
  .vm-trip-days__toolbar { margin-top: 13px; }
  .vm-trip-days__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .vm-trip-days__metrics strong { font-size: 18px; }
  .vm-trip-day__summary { padding: 15px 12px; gap: 12px; }
  .vm-trip-day__date { flex-basis: 48px; }
  .vm-trip-day__date b { font-size: 18px; }
  .vm-trip-day__location { font-size: 14px; }
  .vm-trip-day__subtitle { font-size: 11px; }
  .vm-trip-day__body { padding: 16px; }
  .vm-trip-day__heading { flex-wrap: wrap; }
  .vm-trip-day__heading h3 { font-size: 20px; }
  .vm-trip-day__title img { flex-basis: 44px; width: 44px; height: 44px; }
  .vm-trip-day__actions .btn { flex: 1 1 40%; }
  .vm-trip-days-modal .modal-dialog { width: calc(100% - 20px); margin: 10px auto; min-height: calc(100% - 20px); }
  .vm-trip-days-modal .modal-content { max-height: 95dvh; }
  .vm-trip-days-modal .modal-body { padding: 20px; }
}
html { font-size: 16px; }
.vm-app { min-height: 100vh; display: flex; flex-direction: column; }
.vm-app a { text-underline-offset: .2em; }
.vm-app :focus-visible { outline: 3px solid #a95b18; outline-offset: 3px; }
.vm-app .btn:focus-visible, .vm-app .form-control:focus, .vm-app .form-check-input:focus {
  box-shadow: 0 0 0 .2rem #b474303b;
  border-color: #805112;
}
.vm-app .btn { min-height: 2.75rem; padding: .6rem 1rem; font-weight: 600; }
.vm-app .btn-primary {
  --bs-btn-color: #fff; --bs-btn-bg: #294f40; --bs-btn-border-color: #294f40;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #1c3c2e; --bs-btn-hover-border-color: #1c3c2e;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #19392b; --bs-btn-active-border-color: #19392b;
  --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: #52645b; --bs-btn-disabled-border-color: #52645b;
}
.vm-app .btn-outline-primary, .vm-app .btn-outline-secondary {
  --bs-btn-color: #294f40; --bs-btn-border-color: #788a7e;
  --bs-btn-hover-color: #22352f; --bs-btn-hover-bg: #e4ebe5; --bs-btn-hover-border-color: #294f40;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #294f40; --bs-btn-active-border-color: #294f40;
  --bs-btn-disabled-color: #52645b; --bs-btn-disabled-border-color: #788a7e;
}
.vm-app .btn-secondary {
  --bs-btn-color: #22352f; --bs-btn-bg: #e4ebe5; --bs-btn-border-color: #788a7e;
  --bs-btn-hover-color: #22352f; --bs-btn-hover-bg: #d7e1d9; --bs-btn-hover-border-color: #52645b;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #52645b; --bs-btn-active-border-color: #52645b;
}
.vm-app .btn-danger {
  --bs-btn-bg: #943c32; --bs-btn-border-color: #943c32;
  --bs-btn-hover-bg: #762c24; --bs-btn-hover-border-color: #762c24;
  --bs-btn-active-bg: #762c24; --bs-btn-active-border-color: #762c24;
  --bs-btn-disabled-bg: #943c32; --bs-btn-disabled-border-color: #943c32;
}
.vm-app .btn-outline-danger {
  --bs-btn-color: #943c32; --bs-btn-border-color: #943c32;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #943c32; --bs-btn-hover-border-color: #943c32;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #762c24; --bs-btn-active-border-color: #762c24;
}
.vm-app .card { --bs-card-bg: #fff; --bs-card-border-color: var(--vm-line); --bs-card-spacer-x: 1.5rem; --bs-card-spacer-y: 1.5rem; box-shadow: none; }
.vm-app .form-control, .vm-app .form-select { background-color: #fff; border-color: var(--vm-control-border); min-height: 2.75rem; }
.vm-app .form-control::placeholder { color: #69796f; }
.vm-app .form-label, .vm-app .form-floating > label { font-weight: 600; }
.vm-app .form-check-input { border-color: var(--vm-control-border); }
.vm-app .form-check-input:checked { background-color: var(--vm-forest); border-color: var(--vm-forest); }
.vm-app .form-text, .vm-app .field-validation-error { font-size: .875rem; }
.vm-app .validation-summary-errors { background: #fbefec; border-left: 3px solid var(--vm-danger); padding: 1rem; margin-bottom: 1.5rem; }
.vm-app .validation-summary-errors ul { margin-bottom: 0; padding-left: 1.25rem; }
.vm-app .input-validation-error { border-color: var(--vm-danger); }
.vm-app .alert-success { --bs-alert-color: #294f40; --bs-alert-bg: #e4eee6; --bs-alert-border-color: #a9bfb0; }
.vm-app .alert-warning { --bs-alert-color: #805112; --bs-alert-bg: #fff1d6; --bs-alert-border-color: #d7b981; }
.vm-app .alert-danger { --bs-alert-color: #943c32; --bs-alert-bg: #fbefec; --bs-alert-border-color: #d6aaa3; }
.vm-app .alert-info { --bs-alert-color: #294f40; --bs-alert-bg: #eaf0eb; --bs-alert-border-color: #b9cbbb; }
.vm-skip { position: absolute; left: 1rem; top: -6rem; z-index: 1100; background: #fff; padding: .75rem 1rem; }
.vm-skip:focus { top: 1rem; }
.vm-header { color: #f4f4e9; background: var(--vm-header); border-bottom: 1px solid #567060; }
.vm-header-inner { min-height: 4.5rem; max-width: 100rem; margin: auto; padding: .75rem 2rem; display: flex; align-items: center; gap: 2rem; }
.vm-brand { display: inline-flex; align-items: center; gap: .5rem; color: #f4f4e9; font-size: 1.7rem; font-weight: 750; text-decoration: none; letter-spacing: -.05em; white-space: nowrap; }
.vm-brand:hover { color: #fff; }
.vm-brand-mark, .vm-brand-arrow { color: var(--vm-brass); font-weight: 400; }
.vm-brand-arrow { margin-left: .25rem; }
.vm-tagline { font-size: .875rem; color: #cedccc; }
.vm-account-nav { margin-left: auto; }
.vm-header-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem .75rem; color: #f4f4e9; border: 1px solid transparent; border-radius: .2rem; background: transparent; text-decoration: none; font: inherit; font-size: .875rem; }
.vm-header-link:hover { color: #fff; background: #355244; }
.vm-header-link--outline { border-color: #94aa96; }
.vm-header :focus-visible { outline-color: var(--vm-brass); }
.vm-shell { max-width: 100rem; width: 100%; margin: 0 auto; flex: 1; }
.vm-shell--workspace { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); }
.vm-rail { background: #e3e8e1; border-right: 1px solid var(--vm-line); padding: 1.75rem 1rem; }
.vm-nav-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--vm-muted); padding: 0 .65rem; margin-bottom: .7rem; font-weight: 600; }
.vm-nav-trip { margin-top: 2rem; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.vm-nav-link { display: block; border-left: 3px solid transparent; padding: .75rem .6rem; min-height: 2.75rem; text-decoration: none; margin-bottom: .3rem; font-size: .875rem; }
.vm-nav-link:hover { background: #dce3d9; }
.vm-nav-link[aria-current="page"] { background: #cfdacd; border-color: var(--vm-forest); font-weight: 650; }
.vm-rail-note { border-top: 1px solid #bac8bb; margin: 3rem .65rem 0; padding-top: 1rem; color: var(--vm-muted); font-size: .75rem; }
.vm-rail-note > span { font-size: 1.5rem; }
.vm-rail-note p { margin: .5rem 0; }
.vm-main { min-width: 0; padding: 2rem; }
.vm-main h1 { font-size: clamp(1.8rem, 3vw, 2.25rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.18; margin-bottom: 1rem; overflow-wrap: anywhere; }
.vm-main h2 { font-size: 1.25rem; font-weight: 650; line-height: 1.35; margin-bottom: 1rem; }
.vm-main h3 { font-weight: 600; }
.vm-main p, .vm-main dd, .vm-main li, .vm-main code { overflow-wrap: anywhere; }
.vm-eyebrow { font-size: .75rem; color: var(--vm-muted); text-transform: uppercase; letter-spacing: .11em; font-weight: 650; margin-bottom: .75rem; }
.vm-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.vm-page-heading > div { min-width: 0; }
.vm-page-heading > .btn { flex-shrink: 0; margin-top: .5rem; }
.vm-breadcrumb { display: flex; gap: .75rem; flex-wrap: wrap; font-size: .875rem; color: var(--vm-muted); margin-bottom: 1.5rem; }
.vm-date-range { color: var(--vm-muted); font-variant-numeric: tabular-nums; }
.vm-status-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.vm-status { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .3rem; padding: .2rem .5rem; border: 1px solid #c2cec3; background: #eef2ed; color: var(--vm-muted); font-size: .75rem; font-weight: 600; border-radius: .15rem; }
.vm-status[data-trip-status="Confirmed"], .vm-status[data-readiness="Ready"] { color: #294f40; background: #e0ecdf; }
.vm-status[data-trip-status="InProgress"] { color: #fff; background: #294f40; border-color: #294f40; }
.vm-status[data-trip-status="Cancelled"] { color: #943c32; background: #fbefec; border-color: #d6aaa3; }
.vm-status[data-trip-status="OnHold"], .vm-status[data-readiness="NotReady"], .vm-status--attention { color: #805112; background: #fff1d6; border-color: #d7b981; }
.vm-directory { border: 1px solid var(--vm-line); background: #fff; }
.vm-directory-heading { display: grid; grid-template-columns: 10.5rem 1fr; gap: 1.5rem; background: #e4ebe5; padding: .9rem 1.5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--vm-muted); }
.vm-trip-row { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: start; padding: 1.5rem; border-top: 1px solid var(--vm-line); }
.vm-trip-dates { display: flex; flex-direction: column; font-size: .875rem; font-variant-numeric: tabular-nums; }
.vm-trip-dates time { font-weight: 600; }
.vm-trip-dates > span { font-size: .75rem; margin: .15rem 0; }
.vm-trip-summary h2 { margin-bottom: .75rem; }
.vm-trip-summary h2 a { text-decoration: none; }
.vm-trip-summary h2 a:hover { text-decoration: underline; }
.vm-trip-description { margin: .75rem 0 0; font-size: .875rem; }
.vm-open-trip { font-size: .875rem; min-height: 2.75rem; display: inline-flex; align-items: center; gap: .5rem; }
.vm-day-row { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.5rem; border-top: 1px solid var(--vm-line); padding: 1.5rem; font-size: .875rem; }
.vm-day-date { display: flex; flex-direction: column; gap: .3rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.vm-caption { font-size: .75rem; color: var(--vm-muted); font-weight: 400; }
.vm-multiline { white-space: pre-wrap; }
.vm-itinerary-stop { display: flex; align-items: flex-start; gap: .5rem; }
.vm-itinerary-stop::before { flex-shrink: 0; }
.vm-itinerary-stop.vm-map-selected { background: #e4ebe5; box-shadow: inset 4px 0 0 var(--vm-forest); }
.vm-itinerary-map__stage { position: relative; height: clamp(19rem, 52vh, 34rem); background: var(--vm-field); }
.vm-itinerary-map__canvas { width: 100%; height: 100%; }
.vm-itinerary-map__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vm-itinerary-map [hidden], [data-map-stop][hidden], [data-map-stop-status][hidden] { display: none !important; }
.vm-map-marker { width: 2.25rem; height: 2.25rem; border: 2px solid #fff; border-radius: 50%; background: var(--vm-forest); color: #fff; font: 700 1rem "Segoe UI", sans-serif; box-shadow: 0 2px 6px #0005; cursor: pointer; }
.vm-map-marker[aria-pressed="true"] { background: var(--vm-attention); outline: 3px solid var(--vm-brass); z-index: 1; }
.vm-map-marker:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.vm-map-marker--search { background: #245a81; border-radius: .4rem; }
[data-campground].vm-map-selected { outline: 3px solid var(--vm-forest); outline-offset: -3px; }
@media (max-width: 575.98px) { .vm-itinerary-map__stage { height: 20rem; max-height: 60vh; min-height: 16rem; } }
.vm-itinerary-text { flex: 1; min-width: 0; }
.vm-itinerary-heading { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
/* Itinerary retains its existing controls and disclosure behavior, with Trip Day styling. */
.vm-itinerary-briefings { padding: 0; list-style: none; counter-reset: itinerary-stop; border-top: 2px solid var(--vm-forest); }
.vm-itinerary-briefings > .vm-itinerary-stop { counter-increment: itinerary-stop; gap: 0; background: #fff; border: 1px solid var(--vm-line); border-top: 0; }
.vm-itinerary-briefings .vm-itinerary-stop-number::before { content: 'Stop ' counter(itinerary-stop); }
.vm-itinerary-briefings .vm-itinerary-item-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; column-gap: 25px; padding: 20px; }
.vm-itinerary-briefings .vm-itinerary-item-heading:has([aria-expanded="true"]) { background: #e9f0e4; box-shadow: inset 3px 0 var(--vm-forest); }
.vm-itinerary-briefings .vm-itinerary-heading { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; grid-row: 1; align-items: center; padding: 0; }
.vm-itinerary-briefings .vm-itinerary-item-identity { display: flex; align-items: center; gap: 25px; min-width: 0; }
.vm-itinerary-briefings .vm-itinerary-heading .vm-trip-day__indicator { grid-column: 3; }
.vm-itinerary-briefings .vm-itinerary-heading[aria-expanded="true"] .vm-trip-day__indicator::before { content: '−'; }
.vm-itinerary-briefings [data-itinerary-details] { padding: 24px; border-top: 1px solid var(--vm-line); }
.vm-itinerary-briefings [data-itinerary-details] .vm-multiline { background: #faf8f0; padding: 15px; font-size: 12px; line-height: 1.7; }
.vm-itinerary-briefings .vm-itinerary-actions { grid-column: 2; grid-row: 1; position: relative; padding: 0; }
.vm-itinerary-briefings .vm-trip-day__location { overflow-wrap: anywhere; }
.vm-itinerary-briefings > .vm-map-selected { outline: 2px solid var(--vm-forest); outline-offset: -2px; }
@media (max-width: 575.98px) {
  .vm-itinerary-briefings .vm-itinerary-item-heading { padding: 15px 12px; column-gap: 12px; }
  .vm-itinerary-briefings .vm-itinerary-item-identity { gap: 12px; }
  .vm-itinerary-briefings [data-itinerary-details] { padding: 16px; }
}
.vm-itinerary-actions { display: flex; flex-shrink: 0; gap: .25rem; margin-left: auto; }
.vm-itinerary-drag { cursor: grab; touch-action: none; }
.vm-itinerary-drag[hidden] { display: none !important; }
.vm-itinerary-dragging { background: #e4ebe5; outline: 2px solid var(--vm-forest); outline-offset: -2px; }
.vm-itinerary-dragging .vm-itinerary-drag { cursor: grabbing; }
.vm-app .btn.vm-itinerary-icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; min-height: 2rem; padding: 0; }
@media (max-width: 575.98px) {
  .vm-itinerary-actions, .vm-itinerary-actions form { flex-direction: column; }
}
/* Vehicles use the itinerary's full-width rig briefings. */
.vm-vehicle-briefings { border-top: 2px solid var(--vm-forest); }
.vm-vehicle-rig { background: #fff; border: 1px solid var(--vm-line); border-top: 0; }
.vm-vehicle-heading { display: flex; align-items: center; gap: 14px; padding: 20px; }
.vm-vehicle-heading:has([aria-expanded="true"]) { background: #e9f0e4; box-shadow: inset 3px 0 var(--vm-forest); }
.vm-vehicle-identity { display: flex; align-items: center; gap: 25px; flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.vm-vehicle-identity .vm-trip-day__identity { min-width: 0; }
.vm-vehicle-identity .vm-trip-day__location { overflow-wrap: anywhere; }
.vm-vehicle-identity .vm-trip-day__date b { white-space: nowrap; }
.vm-vehicle-identity .vm-trip-day__badges { flex-wrap: wrap; }
.vm-vehicle-identity .vm-trip-day__pill { flex-shrink: 1; overflow-wrap: anywhere; }
.vm-vehicle-actions { display: flex; align-items: center; flex-shrink: 0; gap: .25rem; }
.vm-app .btn.vm-vehicle-icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; min-height: 2rem; padding: 0; }
.vm-vehicle-collapse { display: inline-flex; align-items: center; justify-content: center; width: 26px; min-height: 32px; padding: 0 0 0 9px; border: 0; background: transparent; color: inherit; font-size: 22px; }
.vm-vehicle-collapse span::before { content: '+'; }
.vm-vehicle-collapse[aria-expanded="true"] span::before { content: '−'; }
.vm-vehicle-details { padding: 24px; border-top: 1px solid var(--vm-line); }
#trip-vehicles-content [hidden] { display: none !important; }
@media (max-width: 575.98px) {
  .vm-vehicle-heading { padding: 15px 12px; gap: 12px; flex-wrap: wrap; }
  .vm-vehicle-identity { gap: 12px; flex-basis: 100%; }
  .vm-vehicle-heading > .vm-vehicle-actions { margin-left: auto; }
  .vm-vehicle-details { padding: 16px; }
}
@media (pointer: coarse) {
  .vm-app .btn.vm-vehicle-icon, .vm-vehicle-collapse { min-width: 44px; min-height: 44px; }
  .vm-vehicle-identity { min-height: 44px; }
}
.vm-form-frame { width: 100%; max-width: 40rem; margin-left: auto; margin-right: auto; }
.vm-form-frame--wide, .vm-reading-frame { width: 100%; max-width: 52rem; margin-left: auto; margin-right: auto; }
.vm-main > .vm-form-frame, .vm-main > .vm-reading-frame { margin-top: .5rem; }
.vm-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.vm-provider-row { padding-top: 1rem; border-top: 1px solid var(--vm-line); margin-top: 1rem; }
.vm-welcome { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); gap: 4rem; max-width: 72rem; margin: 3rem auto; align-items: center; }
.vm-welcome h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.vm-intro { max-width: 35rem; color: var(--vm-muted); font-size: 1.125rem; line-height: 1.75; }
.vm-welcome-note { border-top: 3px solid var(--vm-forest); background: #e2e8dc; padding: 2rem; }
.vm-welcome-note p:not(.vm-eyebrow) { color: var(--vm-muted); }
.vm-waypoint { display: block; font-size: 2.25rem; color: var(--vm-forest); margin-bottom: 1rem; }
.vm-empty { border-top: 3px solid var(--vm-forest); }
.vm-footer { border-top: 1px solid var(--vm-line); color: var(--vm-muted); font-size: .75rem; }
.vm-footer > div { max-width: 100rem; padding: 1rem 2rem; margin: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; }
.vm-footer a { margin-left: auto; min-height: 2.75rem; display: inline-flex; align-items: center; }
/* Date picker is a progressive enhancement, using the same status/action palette. */
.vm-app .flatpickr-day.selected, .vm-app .flatpickr-day.startRange, .vm-app .flatpickr-day.endRange { background: #294f40; border-color: #294f40; color: #fff; }
.vm-app .flatpickr-day.inRange { background: #e4ebe5; border-color: #e4ebe5; box-shadow: -5px 0 0 #e4ebe5, 5px 0 0 #e4ebe5; }
@media (max-width: 1199.98px) {
  .vm-trip-row { grid-template-columns: 9rem minmax(0, 1fr); }
  .vm-trip-row .vm-open-trip { grid-column: 2; }
  .vm-directory-heading { grid-template-columns: 9rem 1fr; }
  .vm-tagline { display: none; }
}
@media (max-width: 991.98px) {
  .vm-shell--workspace { display: block; }
  .vm-rail { border-right: 0; border-bottom: 1px solid var(--vm-line); padding: .75rem 1.5rem; }
  .vm-mobile-context { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .vm-mobile-context > span { overflow-wrap: anywhere; min-width: 0; font-size: .875rem; }
  .vm-mobile-context button { flex-shrink: 0; }
  .vm-rail nav { padding-top: 1rem; }
  .vm-rail-note { display: none; }
  .vm-nav-trip { margin-top: 1rem; }
  .vm-welcome { gap: 2rem; }
}
@media (max-width: 767.98px) {
  .vm-main { padding: 1.5rem 1rem; }
  .vm-header-inner { padding: .75rem 1rem; gap: .5rem; flex-wrap: wrap; }
  .vm-brand { font-size: 1.4rem; }
  .vm-header-link { font-size: .8125rem; padding: .4rem .5rem; }
  .vm-header .gap-2 { gap: .25rem !important; }
  .vm-brand-arrow { display: none; }
  .vm-rail { padding: .75rem 1rem; }
  .vm-page-heading { flex-direction: column; gap: .75rem; }
  .vm-directory-heading { display: none; }
  .vm-trip-row, .vm-day-row { display: block; padding: 1.25rem; }
  .vm-trip-row:first-of-type { border-top: 0; }
  .vm-trip-dates { flex-direction: row; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
  .vm-trip-dates > span { margin: 0; }
  .vm-day-date { margin-bottom: 1rem; }
  .vm-open-trip { margin-top: .75rem; }
  .vm-welcome { display: block; margin: 1rem auto; }
  .vm-welcome-note { margin-top: 2rem; padding: 1.5rem; }
  .vm-intro { font-size: 1rem; }
  .vm-main .card-body { padding: 1.25rem !important; }
  .vm-actions { align-items: stretch; }
  .vm-actions > .btn { flex-grow: 1; }
  .vm-footer > div { padding: 1rem; gap: .25rem 1rem; }
  .vm-footer > div > span:nth-child(2) { flex-basis: 100%; }
  .vm-footer a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .vm-app *, .vm-app *::before, .vm-app *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Trip planning uses normal document flow so the composer remains usable on mobile. */
.vm-planning { max-width: 52rem; margin-inline: auto; }
.vm-planning-question, .vm-planning-answer { padding: 1rem; border-radius: 1rem; overflow-wrap: anywhere; }
.vm-planning-question { background: var(--bs-tertiary-bg, #f1f3f2); margin-right: 8%; }
.vm-planning-answer { background: var(--bs-success-bg-subtle, #e3efe6); margin-left: 8%; }
.vm-planning textarea { resize: vertical; }
@media (max-width: 576px) { .vm-planning-question { margin-right: 3%; } .vm-planning-answer { margin-left: 3%; } }
/* Reservation summaries and expandable booking details share the Trip Days palette. */
.vm-reservations { container-type: inline-size; font-size: 13px; margin-bottom: 24px; }
.vm-reservations__heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.vm-reservations__heading:empty { display: none; }
.vm-reservations__heading h2 { margin: 0; }
.vm-reservations__toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.vm-reservations .btn { font-size: 12px; border-radius: 3px; }
.vm-reservations__filters { display: flex; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--vm-line); margin-bottom: 12px; }
.vm-reservations__filters a { padding: 10px 12px; text-decoration: none; border-bottom: 3px solid transparent; }
.vm-reservations__filters a[aria-current="page"] { border-bottom-color: var(--vm-forest); font-weight: 650; }
.vm-reservation__summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 25px; padding: 20px; }
.vm-reservations__stack { border-top: 2px solid var(--vm-forest); }
.vm-reservation { background: #fff; border: 1px solid var(--vm-line); border-top: 0; }
.vm-reservation__summary { min-height: 64px; cursor: pointer; list-style: none; }
.vm-reservation__summary::-webkit-details-marker { display: none; }
.vm-reservation__summary > span { min-width: 0; overflow-wrap: anywhere; }
.vm-reservation[open] > .vm-reservation__summary { background: #e9f0e4; box-shadow: inset 3px 0 var(--vm-forest); }
.vm-reservation__summary:focus-visible { outline: 2px solid var(--vm-forest); outline-offset: -2px; }
.vm-reservation__pill { display: inline-block; padding: 4px 8px; border-radius: 3px; background: #e9f0e4; color: var(--vm-forest); font-size: 10px; font-weight: 650; }
.vm-reservation__status[data-reservation-status="Booked"] { background: #d4e7d7; }
.vm-reservation__status[data-reservation-status="Cancelled"] { color: var(--vm-danger); background: #fbefec; }
.vm-reservation__status[data-reservation-status="Completed"] { color: var(--vm-muted); background: #f0f3ee; }
.vm-reservation__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.vm-reservation__actions .btn { white-space: nowrap; }
.vm-reservation__indicator { grid-column: 3; color: var(--vm-forest); font-size: 24px; text-align: center; }
.vm-reservation__indicator::before { content: '+'; }
.vm-reservation[open] > summary .vm-reservation__indicator::before { content: '−'; }
.vm-reservation__body { padding: 24px; border-top: 1px solid var(--vm-line); }
.vm-reservation__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.vm-reservation__grid > div { min-width: 0; }
.vm-reservation__body h3 { margin: 0 0 12px; color: var(--vm-forest); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .03em; }
.vm-reservation__fields { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 6px 16px; margin: 0 0 26px; }
.vm-reservation__fields:last-child { margin-bottom: 0; }
.vm-reservation__fields dt { color: var(--vm-muted); font-weight: 400; overflow-wrap: anywhere; }
.vm-reservation__fields dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.vm-reservation__instructions, .vm-reservation__notes { padding: 16px; border: 1px solid var(--vm-line); border-radius: 3px; }
.vm-reservation__notes { background: #faf8f0; }
.vm-reservation__footer { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; color: var(--vm-muted); font-size: 12px; }
@container (max-width: 600px) {
  .vm-reservations__toolbar { margin-left: 0; }
  .vm-reservation__summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 12px; padding: 15px 12px; }
  .vm-reservation__actions { grid-column: 1 / -1; grid-row: 2; }
  .vm-reservation__indicator { grid-column: 2; grid-row: 1; }
  .vm-reservation__body { padding: 16px; }
  .vm-reservation__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
/* Shared progressive-disclosure reservation form. */
.vm-reservation-extra { border-bottom: 1px solid var(--vm-line); }
.vm-reservation-extra > summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; font-size: .875rem; font-weight: 600; }
.vm-reservation-extra > summary::-webkit-details-marker { display: none; }
.vm-reservation-extra > summary::after { content: '+'; margin-left: auto; font-size: 1.25rem; }
.vm-reservation-extra[open] > summary::after { content: '−'; }
.vm-reservation-extra small { display: block; color: var(--vm-muted); font-weight: 400; margin-top: .25rem; }
.vm-reservation-extra .vm-reservation-extra { margin: 0 1rem 1rem; }
.vm-reservation-form .form-label { font-size: .875rem; }

/* Native disclosure keeps long provider descriptions keyboard accessible. */
.vm-campground-description > summary { list-style: none; cursor: pointer; }
.vm-campground-description > summary::-webkit-details-marker { display: none; }
.vm-campground-description-preview, .vm-campground-description-more { display: block; }
.vm-campground-description-more { margin-top: .5rem; }
.vm-campground-description-less { display: none; }
.vm-campground-description[open] .vm-campground-description-preview,
.vm-campground-description[open] .vm-campground-description-more { display: none; }
.vm-campground-description[open] .vm-campground-description-less { display: inline; }
