[data-trip-history] {margin-block: 20px; min-width: 0}
[data-trip-history] .past-heading {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px}
[data-trip-history] .past-heading h2 {margin:0; font-size:1.4rem; color:#68258a}
[data-trip-history] .past-heading button {width:auto; margin:0; padding:7px 12px; min-height:44px; background:white; border:1px solid #ddcfe1; font-size:.875rem; color:#68258a}
[data-trip-history] input[data-trip-search] {display:block; width:100%; box-sizing:border-box; margin:0 0 14px; min-height:44px; padding:10px 14px; font:inherit; color:#493c4e; background:white; border:1px solid #d6c8da; border-radius:10px}
[data-trip-history] article[data-past-trip] {background:white; border:1px solid #e0d5e3; border-radius:14px; padding:0; margin:0 0 10px; box-shadow:none}
[data-past-trip] > details {margin:0; padding:0; border:0; background:transparent}
[data-past-trip] .past-summary {list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:48px; padding:14px 16px; border-radius:14px; text-align:left}
.past-summary::-webkit-details-marker {display:none}
.past-summary::marker {content:''}
[data-past-trip] .past-caption {min-width:0; display:grid; gap:3px; overflow-wrap:anywhere; line-height:1.35}
.past-caption strong {font-size:1.045rem; color:#622781}
.past-caption > span {font-size:.9375rem; color:#473d4b}
.past-caption small {font-size:.8125rem; color:#706576}
.past-chevron {display:block; width:9px; height:9px; margin-right:4px; flex:none; border-right:2px solid #763688; border-bottom:2px solid #763688; transform:rotate(45deg)}
[data-past-trip] details[open] > summary .past-chevron {transform:rotate(225deg)}
[data-past-trip] .past-body {border-top:1px solid #ebe3ed; padding:14px 16px; overflow-wrap:anywhere}
[data-past-trip] .past-body > :first-child {margin-top:0}
[data-past-trip] .past-body > :last-child {margin-bottom:0}
[data-trip-history] :focus-visible {outline:2px solid #763688; outline-offset:2px}
[data-trip-history] [hidden] {display:none!important}
