/* Trip comfort mode: prioritize the next real-world decision. */
.page:has(.trip-summary){max-width:1180px!important;margin-inline:auto}
.page:has(.trip-summary) .journey-next{display:none}
.page:has(.trip-summary) .trip-summary{grid-template-columns:minmax(240px,1.55fr) repeat(3,minmax(125px,1fr));gap:0;padding:0;overflow:hidden}
.page:has(.trip-summary) .trip-summary>div{min-width:0;padding:1.25rem 1.1rem}
.page:has(.trip-summary) .trip-summary>div+div{border-left:1px solid rgba(255,255,255,.14)}
.page:has(.trip-summary) .trip-summary>div:first-child{padding:1.35rem 1.4rem;background:rgba(0,0,0,.09)}
.page:has(.trip-summary) .trip-summary h1{font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.02;overflow-wrap:anywhere}
.page:has(.trip-summary) .metric small{color:#b9d5df;font-weight:800;letter-spacing:.04em}
.page:has(.trip-summary) .metric strong{color:#fff}
.page:has(.trip-summary) .metric div{color:#d7e7eb;font-size:.78rem;margin-top:.25rem}
.page:has(.trip-summary) .tabs{margin:1.25rem 0 .7rem}
.page:has(.trip-summary) .trip-layout{gap:1.1rem}
.page:has(.trip-summary) .day-card{box-shadow:0 8px 24px rgba(8,47,73,.05);padding:1.15rem 1.25rem}
.page:has(.trip-summary) .day-head{gap:1rem}
.page:has(.trip-summary) .day-head h3{font-size:1.3rem}
.page:has(.trip-summary) .activity{grid-template-columns:64px minmax(0,1fr) auto;gap:.85rem;padding:1rem 0}
.page:has(.trip-summary) .activity p{color:#49636f;font-size:.9rem;line-height:1.5}
.page:has(.trip-summary) .activity .place-meta span{color:#4f6c76;font-weight:700}
.page:has(.trip-summary) .budget-panel{box-shadow:0 10px 28px rgba(8,47,73,.06);top:94px}
.page:has(.trip-summary) .budget-panel .budget-line span{color:#49636f;font-weight:650}
.page:has(.trip-summary) .budget-panel .budget-line b{color:#082f49}
.page:has(.trip-summary) .trip-details-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;margin:.75rem 0;padding:.75rem .9rem;border:1px solid #c9e2dd;border-radius:13px;background:#f1faf8;color:#0f766e;font:inherit;font-size:.84rem;font-weight:850;cursor:pointer}
.page:has(.trip-summary) .trip-details-toggle span{font-size:1.1rem;line-height:1}
.page:has(.trip-summary) .v2-trip-actions,.page:has(.trip-summary) .v2-trip-weather,.page:has(.trip-summary) .trip-health,.page:has(.trip-summary) .trip-toolbar{display:none}
.page:has(.trip-summary).trip-tools-open .v2-trip-actions,.page:has(.trip-summary).trip-tools-open .v2-trip-weather,.page:has(.trip-summary).trip-tools-open .trip-health,.page:has(.trip-summary).trip-tools-open .trip-toolbar{display:flex}
.page:has(.trip-summary).trip-tools-open .v2-trip-weather{display:block}
.page:has(.trip-summary).trip-tools-open .trip-health{display:block}
.page:has(.trip-summary).trip-tools-open .trip-toolbar{display:flex}
.page:has(.trip-summary) .v2-trip-actions{margin-top:0}
.page:has(.trip-summary) .v2-trip-weather{margin-top:0}
@media(max-width:900px){
  .page:has(.trip-summary) .trip-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .page:has(.trip-summary) .trip-summary>div:first-child{grid-column:1/-1}
  .page:has(.trip-summary) .trip-summary>div:nth-child(3){border-left:1px solid rgba(255,255,255,.14)}
}
@media(max-width:680px){
  .page:has(.trip-summary) .trip-summary{grid-template-columns:1fr 1fr}
  .page:has(.trip-summary) .trip-summary>div:first-child{grid-column:1/-1}
  .page:has(.trip-summary) .trip-summary>div:nth-child(3){border-left:0}
  .page:has(.trip-summary) .trip-summary>div:nth-child(4){border-left:1px solid rgba(255,255,255,.14)}
  .page:has(.trip-summary) .trip-layout{display:block}
  .page:has(.trip-summary) .budget-panel{position:static;margin-top:1rem}
  .page:has(.trip-summary) .activity{grid-template-columns:54px minmax(0,1fr)}
  .page:has(.trip-summary) .activity-actions{grid-column:2;justify-content:flex-start}
  .page:has(.trip-summary) .day-head{align-items:flex-start}
  .page:has(.trip-summary) .day-head .tiny{font-size:.75rem;white-space:nowrap}
}
